]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9c447cce90fb6877fdd6e01492e8dc942fe8f41c
[lyx.git] / src / ChangeLog
1 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2
3         * boost.C (assertion_failed): use lyx::support::abort instead of
4         assert.
5
6 2003-09-10  Angus Leeming  <leeming@lyx.org>
7
8         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
9         _fwd progeny.
10
11 2003-09-09  Angus Leeming  <leeming@lyx.org>
12
13         134 files throughtout the source tree: replace 'using namespace abc;'
14         directives with the appropriate 'using abc::xyz;' declarations.
15
16 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
17
18         * boost.C (emergencyCleanup): moved here from LAssert.c
19         (assertion_failed): new function, called by BOOST_ASSERT
20
21         * several files: change Assert to BOOST_ASSERT
22
23 2003-09-09  Angus Leeming  <leeming@lyx.org>
24
25         * buffer.[Ch]: Add an Impl class and move Buffer's member
26         variables into it. As a result move several header files out of
27         buffer.h.
28
29         Add header files to lots of .C files all over the tree as a result.
30
31 2003-09-09  Angus Leeming  <leeming@lyx.org>
32
33         * buffer.[Ch]: make Buffer's member variables private. Add
34         accessor functions.
35
36         Lots of changes all over the tree as a result.
37
38 2003-09-08  Angus Leeming  <leeming@lyx.org>
39
40         * graph.C: #include <config.h>.
41
42 2003-09-08  Angus Leeming  <leeming@lyx.org>
43
44         * BranchList.C:
45         * BufferView.C:
46         * BufferView_pimpl.C:
47         * CutAndPaste.C:
48         * DepTable.C:
49         * LaTeX.C:
50         * LaTeXFeatures.C:
51         * LyXAction.C:
52         * MenuBackend.C:
53         * TextCache.C:
54         * aspell.C:
55         * buffer.C:
56         * bufferlist.C:
57         * changes.C:
58         * chset.C:
59         * converter.C:
60         * counters.C:
61         * debug.C:
62         * graph.C:
63         * ispell.C:
64         * lyx_cb.C:
65         * lyxfind.C:
66         * lyxfunc.C:
67         * lyxlex_pimpl.C:
68         * lyxrc.C:
69         * lyxrow.C:
70         * paragraph.C:
71         * rowpainter.C:
72         * texrow.C:
73         * text.C:
74         * text2.C:
75         * toc.C: remove redundant using directives.
76
77 2003-09-07  Angus Leeming  <leeming@lyx.org>
78
79         * LaTeXFeatures.h: remove #include "support/types.h".
80         * ToolbarBackend.h: remove #include <algorithm>.
81         * changes.h: remove #include <ctime>.
82         * debug.h: remove #include <iosfwd>.
83         * graph.h: remove #include "support/std_string.h".
84         * lyx_main.h: remove #include <csignal>.
85         * lyxlex_pimpl.h: remove #include <fstream>.
86         * sgml.h: remove #include <algorithm>, <utility>.
87         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
88
89 2003-09-07  Angus Leeming  <leeming@lyx.org>
90
91         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
92
93         * converter.h: forward declare LatexRunParams.
94         * encoding.h: remove #include "lyxrc.h".
95         * lyxtext.h: remove #include "LColor.h".
96         * lyxtextclass.h: remove #include "support/types.h".
97         * trans.h: remove #include "tex-accent.h".
98         * trans_mgr.h: remove #include "tex-accent.h".
99         * insets/inset.h: remove #include "support/types.h", <vector>.
100         * insets/insetcollapsable.h: remove #include "LColor.h".
101         * insets/insetinclude.h: remove #include "dimension.h".
102         * insets/insetlatexaccent.h: remove #include "dimension.h".
103         * insets/insetoptarg.h:: remove #include "insettext.h".
104         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
105
106         * insets/renderers.h: add #include "dimension.h".
107         * insets/updatableinset.h: add #include "support/types.h".
108
109         * many .C files: Associated changes.
110
111 2003-09-06  Angus Leeming  <leeming@lyx.org>
112
113         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
114         inside testInvariant.
115
116         * PrinterParams.C: new file.
117         * PrinterParams.[Ch]: move the function bodies out of line.
118
119 2003-09-06  Angus Leeming  <leeming@lyx.org>
120
121         * ParagraphParameters.h: forward declare ParameterStruct rather than
122         including its header file.
123         (depth): moved out-of-line.
124
125 2003-09-06  Angus Leeming  <leeming@lyx.org>
126
127         * BufferView_pimpl.h:
128         * kbmap.h:
129         * kbsequence.h:
130         * lyxfunc.h: forward declare LyXKeySym rather than
131         #include "frontends/LyXKeySym.h".
132
133         * BufferView_pimpl.C:
134         * kbmap.C:
135         * kbsequence.C:
136         * lyxfunc.C: associated changes.
137
138 2003-09-06  Angus Leeming  <leeming@lyx.org>
139
140         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
141         As a result, can remove the #include "insets/inset.h" from BufferView.h
142
143 2003-09-06  Angus Leeming  <leeming@lyx.org>
144
145         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
146         As a result, can remove the #include "insets/inset.h" from BufferView.h
147
148 2003-09-06  Angus Leeming  <leeming@lyx.org>
149
150         * buffer_funcs.C:
151         * buffer.h:
152         * bufferlist.C:
153         * BufferView.C:
154         * bufferview_funcs.C:
155         * BufferView_pimpl.C:
156         * CutAndPaste.C:
157         * lyx_cb.C:
158         * lyxfunc.C:
159         * paragraph.h:
160         * ParagraphParameters.C:
161         * tabular.C:
162         * text3.C:
163         * toc.C:
164         * undo_funcs.C:
165         * frontends/controllers/ControlDocument.C:
166         * insets/insetcaption.C: rearrange the #includes into some sort of
167         coherent order.
168
169         * buffer.h: remove #includes ErrorList.h, undo.h
170
171 2003-09-06  Angus Leeming  <leeming@lyx.org>
172
173         * support/types.h: add a 'depth_type' typedef, used to store the
174         nesting depth of a paragraph.
175
176         * paragraph.h:
177         * ParameterStruct.h: use this lyx::depth_type typedef rather than
178         defining explicitly.
179
180         * buffer.h:
181         * paragraph_funcs.h:
182         * ParagraphParameters.h:
183         * sgml.h: use lyx::depth_type rather than Paragraph or
184         ParameterStruct's depth_type.
185
186         * buffer.h
187         * paragraph_funcs.h: no need to #include paragraph.h anymore.
188
189         * BufferView.C:
190         * BufferView_pimpl.C:
191         * CutAndPaste.C:
192         * ParagraphParameters.C:
193         * buffer_funcs.C:
194         * bufferlist.C:
195         * bufferview_funcs.C:
196         * lyx_cb.C:
197         * lyxfunc.C:
198         * tabular.C:
199         * text3.C:
200         * toc.C:
201         * undo_funcs.C:
202         * frontends/LyXView.C:
203         * frontends/controllers/ControlDocument.C:
204         * frontends/controllers/ControlErrorList.C:
205         * insets/insetbibitem.C:
206         * insets/insetbranch.C:
207         * insets/insetcaption.C:
208         * insets/insetcollapsable.C:
209         * insets/insetenv.C:
210         * insets/insetert.C:
211         * insets/insetfloat.C:
212         * insets/insetfoot.C:
213         * insets/insetfootlike.C:
214         * insets/insetnewline.C:
215         * insets/insetquotes.C:
216         * insets/insettabular.C:
217         * insets/insettext.C:
218         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
219
220         * frontends/controllers/ControlChanges.C: #include "changes.h".
221
222 2003-09-06  Angus Leeming  <leeming@lyx.org>
223
224         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
225         #including paragraph.h.
226
227         * ParagraphList.h:
228         * RowList.h: deleted. Superfluous.
229
230         * CutAndPaste.h:
231         * iterators.h:
232         * lyxcursor.h:
233         * lyxtext.h:
234         * text_funcs.h:
235         * undo.h:
236         * undo_funcs.h:
237         * insets/inset.h:
238         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
239
240         * paragraph.h: don't forward declare ParagraphList.
241
242         * buffer.h:
243         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
244         rather than ParagraphList.h. paragraph.h is still needed for the
245         Paragraph::depth_type parameters.
246
247         * textcursor.h: enable it to compile stand-alone in light of the
248         above changes.
249
250         * bufferview_funcs.C:
251         * iterators.C:
252         * lyxfunc.C:
253         * lyxrow_funcs.C:
254         * paragraph.C:
255         * rowpainter.C:
256         * text.C:
257         * text2.C:
258         * text3.C:
259         * text_funcs.C:
260         * textcursor.C:
261         * undo.C:
262         * frontends/controllers/ControlParagraph.C:
263         * frontends/controllers/ControlTabular.C:
264         * insets/insetmarginal.C:
265         * insets/insetminipage.C:
266         * insets/insetnote.C:
267         * insets/insetoptarg.C: add header files needed to compile again.
268
269 2003-09-06  Angus Leeming  <leeming@lyx.org>
270
271         * RowList_fwd.h: new file, forward-declaring Row rather than
272         #including lyxrow.h.
273
274         * lyxrow_funcs.h:
275         * lyxtext.h:
276         * paragraph.h:
277         * insets/insettext.h: use it instead of RowList.h
278
279         * bufferview_funcs.C:
280         * lyxfunc.C:
281         * lyxrow_funcs.C:
282         * paragraph.C:
283         * rowpainter.C:
284         * text.C:
285         * text2.C:
286         * text3.C: #include "RowList.h".
287
288 2003-09-05  Angus Leeming  <leeming@lyx.org>
289
290         * factory.C (createInset):
291         * vspace.C (c-tor): replace sscanf call with an istringstream.
292         * ispell.C: re-add missing HP/UX headers.
293         * lyxserver.C: re-add missing  os2 headers.
294
295 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
296
297         * BranchList.C:
298         * graph.C:
299         * ispell.C:
300         * lastfiles.C:
301         * lyx_cb.C:
302         * lyxserver.C:
303         * texrow.C:
304         * text3.C: re-add missing system headers, needed for 2.95.2.
305
306 2003-09-05  Angus Leeming  <leeming@lyx.org>
307
308         Changes most place everywhere due to the removal of using directives
309         from support/std_sstream.h.
310
311 2003-09-05  Angus Leeming  <leeming@lyx.org>
312
313         Replace LString.h with support/std_string.h,
314         Lsstream.h with support/std_sstream.h,
315         support/LIstream.h with support/std_istream.h,
316         support/LOstream.h with support/std_ostream.h.
317
318         Changes resulting throughout the tree.
319
320 2003-09-05  Angus Leeming  <leeming@lyx.org>
321
322         * sgml.h: ensure that the header file can be compiled stand-alone.
323         * *.C: strip out redundant #includes. (320 in total.)
324
325 2003-09-04  Angus Leeming  <leeming@lyx.org>
326
327         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
328         here (from getPackages).
329
330         * debug.[Ch]: add a new EXTERNAL tag.
331
332 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
333
334         * text2.C (cursorEnd): simplify
335         (setCursor): adjust
336         (getColumnNearX): adjust
337
338         * text.C (computeBidiTables): adjust
339         (fill): adjust
340
341         * rowpainter.C (paintChars): adjust
342         (paintSelection): adjust
343         (paintChangeBar): adjust
344         (paintText): adjust
345
346         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
347         lastPos instead.
348         (numberOfSeparators): adjust
349
350 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
351
352         * LyXAction.C:
353         * box.[Ch]:
354         * lfuns.h:
355         * lyxfunc.C:
356         * text3.C: Restricts the mouse click functionality
357         of insets like bibtex, include, toc and floatlist to the visible
358         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
359         up the dialogs. Cursor has to be in front of the inset (i.e.
360         start of row) for this to function.
361
362 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
363
364         * bufferview_funcs.C (currentState): output row information
365
366 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
367
368         * bufferview_funcs.C (currentState): output paragraph position
369
370 2003-09-04  Angus Leeming  <leeming@lyx.org>
371
372         * FloatList.h: move out #include "Floating.h".
373         * LaTeX.h: move out #include "DepTable.h".
374         * LyXAction.h: move out #include "funcrequest.h".
375         * buffer.h: move out #include "author.h", "iterators.h".
376         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
377         * lyx_main.h: move out #include "errorlist.h".
378         * lyxfunc.h: move out #include "FuncStatus.h".
379         * lyxtext: move out #include "lyxcursor.h".
380         * paragraph_pimpl.h: move out #include "counters.h".
381
382 2003-09-03  Angus Leeming  <leeming@lyx.org>
383
384         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
385         preamble_snippets list, enabling us to add snippets to the preamble only
386         if the snippet was not there already.
387
388 2003-09-04  Angus Leeming  <leeming@lyx.org>
389
390         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
391
392 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
393
394         * lyxfunc.C (dispatch): if fitCursor did something be sure to
395         update
396
397 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
398
399         * BranchList.C: point fix, earlier forgotten
400
401 2003-09-02  Angus Leeming  <leeming@lyx.org>
402
403         * box.C (contains): renamed from 'contained' after a fantastic
404         amount of hot air.
405
406 2003-09-02  John Levon  <levon@movementarian.org>
407
408         * BufferView.C:
409         * lyxcursor.h:
410         * lyxcursor.C:
411         * lyxfunc.C:
412         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
413
414 2003-09-02  John Levon  <levon@movementarian.org>
415
416         * text2.C: simplification of cursorEnd(), including partial
417         fix for bug 1376
418
419 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
420
421         * buffer.C (readFile): add a space
422
423 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
424
425         * BufferView_pimpl.C (update): remove bogus fitCursor() call
426
427 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
428
429         * buffer.C (readFile): new function, take a filename and a
430         ParagraphList::iterator
431         (readFile): adjust
432         (readFile): adjust, make it private. don't use setStream, make
433         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
434         always contain the filename.
435
436         * BufferView.C (insertLyXFile): simplify and make it work for
437         gzipped files.
438
439 2003-08-30  John Levon  <levon@movementarian.org>
440
441         * Makefile.am: fix dist (from Kayvan)
442
443 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
444
445         * most files: change to use const Buffer refs
446
447 2003-08-27  André Pönitz  <poenitz@gmx.net>
448
449         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
450         on top of ownerPar().
451
452 2003-08-27  John Levon  <levon@movementarian.org>
453
454         * funcrequest.C: properly initialise POD members
455
456 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
457
458         * lyxtext.h (top_y): move top_y from here
459         * text.C:
460         * text2.C:
461         * text3.C:
462         * BufferView.[Ch]:
463         * BufferView_pimpl.[Ch]: to here
464         * frontends/screen.C:
465         * insets/insettabular.C:
466         * insets/insettext.C: adjust
467         * rowpainter.[Ch] (paintRows): remove LyXText & argument
468
469 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
470
471         * BufferView.[Ch]:
472         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
473
474 2003-08-26  André Pönitz  <poenitz@gmx.net>
475
476         * paragraph_func.[Ch] (outerPar): new function
477
478         * paragraph.C:
479         * paragraph_funcs.C:
480         * paragraph_funcs.h:
481         * paragraph_pimpl.C:
482         * text2.C: remove Inset::par_owner
483
484 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * lyxrow_funcs.C:
487         * lyxtext.h:
488         * text.C:
489         * text2.C: eliminates the needFullRow/display() stuff
490         altogether, putting the logic in metrics/draw in the insets.
491
492 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
493
494         * text2.C (redoParagraphInternal, redoParagraphs):
495         * text.C (redoParagraph): add a call to updateRowPositions at the
496         end of each 'metrics-like' call. Remove all others.
497         (getRow): remove the 'y-computing' version.
498         (getRowNearY): do not compute nor return the real y. Solve the
499         'y < 0' problem and simplify.
500
501 2003-08-22  Angus Leeming  <leeming@lyx.org>
502
503         * *.[Ch]: clean-up of licence and author blurbs.
504         Also move config.h out of a few .h files and into a few .C files.
505
506 2003-08-22  André Pönitz  <poenitz@gmx.net>
507
508         * lyxrow.[Ch]: add x_ and *fill_ members
509
510         * lyxtext.h:
511         * text.C:
512         * rowpainter.C:
513         * text2.C: adjust/remove prepareToPrint() calls
514
515 2003-08-22  André Pönitz  <poenitz@gmx.net>
516
517         * lyxrow.[Ch]: add  end_ member
518
519         * lyxrow_funcs.C: use LyXRow::end_
520
521         * lyxtext.h (singleWidth): add LyXFont parameter
522
523         * rowpainter.C:
524         * text2.C: adjust LyXText::singleWidth() calls
525
526         * text.C (redoParagraph): simplify row breaking logic
527
528
529 2003-08-19  André Pönitz  <poenitz@gmx.net>
530
531         * funcrequest.C: initialize button_ member
532
533         * text3.C:
534         * rowpainter.[Ch]: interface consolidation
535
536 2003-08-18  André Pönitz  <poenitz@gmx.net>
537
538         * BufferView.C:
539         * BufferView_pimpl.C:
540         * lyxfind.C:
541         * paragraph_funcs.C:
542         * rowpainter.C:
543         * text3.C: remove LyXScreen::draw() and fitCursor calls
544
545         * BranchList.h: remove spurious semicolons
546
547         * MenuBackend.C: fix branchlist related crash
548
549 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
550
551         * BranchList.[Ch]:
552         * InsetList.[Ch]:
553         * LColor.[Ch]:
554         * LyXAction.C:
555         * Makefile.am:
556         * MenuBackend.[Ch]:
557         * bufferparams.[Ch]:
558         * factory.C:
559         * lfuns.h:
560         * lyxfunc.C:
561         * text3.C: implements the 'branch inset'
562         idea. This allows the output of various versions of a document
563         from a single source version, selectively outputing or suppressing
564         output of parts of the text.
565         This implementation contains a 'branch list editor' in a separate
566         tab of the document settings dialog. Branches are user definable
567         and have a "display colour" to distinguish them on-screen.
568
569         ColorHandler was somewhat cleaned up.
570         (1) make possible a dynamically growing LColor list by allowing
571         the graphic context cache to grow along (vector);
572         (2) eliminate an IMHO unnecessary step in colour allocation.
573
574 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
575
576         * BufferView_pimpl.C: compile fix
577
578 2003-08-15  André Pönitz  <poenitz@gmx.net>
579
580         * rowpainter.C: remove extra metrics calls
581
582         * lyxtext.h: merge the two constructors into a single one,
583           pass reference to owner's par list
584
585         * BufferView_pimpl.C:
586         * text.C:
587         * text2.C: adjust
588
589 2003-08-15  André Pönitz  <poenitz@gmx.net>
590
591         * lyxrow_funcs.[Ch]:
592         * lyxtext.h:
593         * paragraph.h:
594         * paragraph_funcs.C:
595         * rowpainter.C:
596         * text.C:
597         * text2.C:
598         * text3.C:
599         * text_funcs.C: split LyXText::rowlist_ into individual
600         Paragraph::rows_ chunks
601
602         * BufferView.[Ch]:
603         * BufferView_pimpl.[Ch]:
604         * lyxfind.C:
605         * lyxtext.h:
606         * text3.C: remove toggleSelection()
607
608 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
609
610         * bufferlist.C: beautify two alerts (shorter text of buttons)
611         * buffer.C: Remove redundant ' ' from message
612         * tabular.h:
613         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
614         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
615         rename VALIGN_CENTER to VALIGN_MIDDLE
616
617 2003-08-11  André Pönitz  <poenitz@gmx.net>
618
619         * lyxtext.h (getPar):
620         * text.C: new function
621
622 2003-08-11  André Pönitz  <poenitz@gmx.net>
623
624         * Makefile.am:
625         * tracer.[Ch]: remove unneeded files
626
627         * InsetList.[Ch]: remove resizeInsetsLyXText()
628
629         * lyxtext.h:
630         * text.C:
631         * text2.C:
632         * text3.C: merge insertParagraphs() and appendParagraph()
633         remove breakAgain(), update()
634
635         * BufferView_pimpl.[Ch]:
636         * bufferview_funcs.[Ch]:
637         * lyxfunc.C:
638         * paragraph.[Ch]:
639         * rowpainter.C:
640         * tabular.C: adjust after text & InsetList changes.
641
642 2003-08-08  André Pönitz  <poenitz@gmx.net>
643
644         * text.C (insertChar, backspace): replace rowlist fiddling
645         with rebreak of full par
646
647         * lyxtext.h:
648         * text.C (breakAgainOneRow, redoHeightOfParagraph,
649         checkParagraph, updateInset): removed
650
651 2003-08-07  André Pönitz  <poenitz@gmx.net>
652
653         * paragraph.C:
654         * text3.C: merge some LFUN handlers, remove dead code
655
656 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
659
660 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
661
662         * text2.C (DEPM): fix part of bug 1255 and 1256
663
664 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * BufferView_pimpl.C (workAreaDispatch): change to use
667         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
668         that are no mouse related.
669
670 2003-08-05  André Pönitz  <poenitz@gmx.net>
671
672         * BufferView.[Ch]:
673         * BufferView_pimpl.[Ch]:
674         * bufferview_funcs.C:
675         * text2.C:
676         * text3.C: rip out "deep update"
677
678         * textcursor.[Ch] (last_sel_cursor): remove unused member
679
680 2003-08-04  André Pönitz  <poenitz@gmx.net>
681
682         * BufferView.[Ch]:
683         * BufferView_pimpl.[Ch]:
684         * ParagraphParameters.C:
685         * bufferview_funcs.C:
686         * lyx_cb.C:
687         * lyxfind.C:
688         * lyxfunc.C:
689         * text.C:
690         * text2.C:
691         * text3.C: replace "complicated" BufferView::update(...) calls with
692         simpler ones.
693
694         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
695
696 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
697
698         * Makefile.am (lyx_SOURCES): add paper.h
699
700 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
701
702         * Makefile.am: move things around so that both lyx-qt and
703         lyx-xforms can be built (according to --with-frontend). Then lyx
704         is a symbolic link to lyx-[firstfrontend]
705
706 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
707
708         * Always use std::endl with lyxerr
709
710 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
711
712         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
713
714 2003-08-01  André Pönitz  <poenitz@gmx.net>
715
716         * BufferView.[Ch]:
717         * BufferView_pimpl.[Ch]:
718         * lyxfunc.C:
719         * text3.C: merge BufferView::repaint() and BufferView::update()
720
721 2003-08-01  José Matos  <jamatos@lyx.org>
722
723         * buffer.[Ch]: file_format is no longer a buffer data element.
724
725 2003-08-01  André Pönitz  <poenitz@gmx.net>
726
727         * BufferView.C:
728         * lyxtext.h:
729         * text.C:
730         * text2.C: make redoParagraph more independent of current cursor
731
732         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
733         * text.C:
734         * text2.C: remove unneeded members
735
736 2003-07-30  André Pönitz  <poenitz@gmx.net>
737
738         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
739
740         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
741           create a single function...
742
743         * paragraph_funcs.C (moveItem): ... here.
744
745         * text.C:
746           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
747
748 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * LColor.[Ch]: Add comment and greyedout logical colors.
751
752 2003-07-30  André Pönitz  <poenitz@gmx.net>
753
754         * tabular.C: don't use Assert too heavily. This crashes where it
755           shouldn't
756
757 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
758
759         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
760         is disabled (bug 1232)
761
762 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
763
764         * factory.C: limited 'arg' scope
765
766 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * factory.C: fixed Note submenu issues
769
770 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
771
772         * factory.C: submenu for Note/Comment/Greyedout
773
774 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
775
776         * lyx_main.C (LyX):
777         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
778
779 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
780
781         * LaTeXFeatures.C:
782         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
783         greyedout. Patch provided by Jürgen Spitzmüller.
784
785 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * kbmap.C (read): fix error message when reading bind files
788
789 2003-07-29  Angus Leeming  <leeming@lyx.org>
790
791         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
792         certainly does not do what it purports to do. I am doing it, and
793         us, a favour by killing it.
794
795 2003-07-28  José Matos  <jamatos@lyx.org>
796
797         * buffer.C (readBody, do_writeFile):
798         * paragraph.C(readParagraph): \end_document replaces \the_end.
799
800 2003-07-29  André Pönitz  <poenitz@gmx.net>
801
802         * BufferView.[Ch]:
803         * BufferView_pimpl.[Ch]:
804         * lyxfunc.C:
805         * text2.C:
806         * text3.C:
807         * textcursor.[Ch]: remove toggleToggle & Co
808
809 2003-07-28  José Matos  <jamatos@fep.up.pt>
810
811         * buffer.C (readParagraph):
812         * params_func (readParToken, readParagraph):
813         * paragraph.C (write): \layout -> \begin_layout.
814
815 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
816
817         * lyxlex_pimpl.C (setFile): clean up slightly.
818
819         * bufferparams.h: add compressed var
820
821         * buffer_funcs.C (readFile): adjust for LyXLex change
822         (newFile): ditto + simplify
823
824         * buffer.C (writeFile): handle writing of compressed files
825
826         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
827         Check if the file is compressed and set a bufferparm if so.
828
829         * Makefile.am (lyx_LDADD): remove explicit -lz
830
831 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
834         makeDocBookFile): put the real LyX version in the first line of
835         the file
836
837         * version.h:
838         * version.C.in: remove lyx_docversion
839
840         * tabular.C (write_attribute): add a template-based version to
841         write enums properly
842
843 2003-07-28  André Pönitz  <poenitz@gmx.net>
844
845         * lyxtext.h:
846         * text.C:
847         * text2.C:
848         * text3.C: use doubles again for x-coordinates. They are needed.
849
850 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
851
852         * messages.C (getLocaleDir): use lyx_localedir()
853
854         * lyxlex_pimpl.C (setFile): compress stuff
855
856         * buffer.C (writeFile): add some compression stuff
857         (do_writeFile): new func, dont call expliti close... will this
858         breake anything?
859
860         * Makefile.am (lyx_LDADD): add -lz
861
862 2003-07-28  José Matos  <jamatos@fep.up.pt>
863
864         * buffer.C: increment file format.
865         * paragraph_funcs (readParagraph, readParToken):
866         * paragraph.C (readParagraph): add \end_layout.
867
868 2003-07-27  Angus Leeming  <leeming@lyx.org>
869
870         * Makefile.am: remove special casing for configure-time setting of
871         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
872
873         * lyx_main.C (init): remove all Jean-Marc's magic setting of
874         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
875
876 2003-07-26  André Pönitz  <poenitz@gmx.net>
877
878         * paragraph_func.[Ch]:
879         * paragraph.C (realizeFont): inline it whereever it is used
880
881         * rowpainter.C:
882         * text.C:
883         * text2.C:
884         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
885
886
887 2003-07-26  André Pönitz  <poenitz@gmx.net>
888
889         *       lyxtext.h:
890         * text.C:
891         * text2.C: get rid of LyXText::need_break_row
892
893 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
894
895         * toc.[Ch]: put namespace toc inside namespace lyx
896
897         * MenuBackend.C (expandToc2): adjust for lyx::toc
898         (expandToc): ditto
899
900         * lyxfunc.C (dispatch): adjust for lyx::find
901
902         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
903         lyx::find instead. Reorganize a bit.
904         (LyXReplace): rename to replace
905         (LyXFind): rename to find
906
907         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
908         (dispatch): ditto
909
910 2003-07-26  André Pönitz  <poenitz@gmx.net>
911
912         * text.C (setHeightOfRow): restrict scope of temporary variable
913
914         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
915           code (never has been used?)
916
917 2003-07-27  Asger Alstrup  <alstrup@local>
918
919         * text.C (fill): Optimise algorithm to exploit that we can reuse
920         the LyXFont for many characters.
921         (setHeightOfRow): Same thing.
922         (rowBreakPoint): Same thing.
923
924 2003-07-26  Asger Alstrup  <alstrup@local>
925
926         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
927
928         * text.C (singleWidth): Spurious font copying in hot-spot
929         singleWidth avoided. Reorder tests for arabic for efficiency.
930
931         * text.C (fill): handle empty paragraphs better.
932
933 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * ispell.C:
936         * encoding.h: add includes
937
938         * lyxrc.C: remove reading of bind files
939
940         * lyx_main.C (init): setup bindings and menus only if we have a
941         gui.
942
943         * kbmap.C (read): new method. Do the actual reading of bind
944         files.
945
946         * converter.C (dvipdfm_options):
947         * bufferparams.C:
948         * lyxrc.C (read):
949         (output): adapt PAPER_* enums.
950
951         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
952
953         * bufferparams.h: remove paper-related enums from there
954
955         * paper.h: New file. A trivial header file to hold paper-related
956         enums. It should later expand to contain many paper-related
957         horrors access.
958
959         * lyxrc.C: declare extern displayTranslator
960
961 2003-07-27  José Matos  <jamatos@fep.up.pt>
962
963         * tabular.[Ch] (linuxdoc): add support for tables and figures
964         (linuxdoc).
965
966 2003-07-27  José Matos  <jamatos@fep.up.pt>
967
968         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
969         consistency in both functions.
970         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
971
972 2003-07-26  Asger Alstrup  <alstrup@local>
973
974         * rowpainter.C (paintRows): Change algorithm to work directly on
975         the insets rather than asking every character in the document
976         whether its an inset.
977
978 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
979
980         * buffer.C (openFileWrite): factorize some code
981
982 2003-07-26  Angus Leeming  <leeming@lyx.org>
983
984         * lyx_cb.C:
985         * lyx_main.[Ch]: replace occurances of system_tempdir with
986         os::getTmpDir().
987
988 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
989
990         * rename Inset to InsetOld
991
992 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
993
994         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
995         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
996         which I think is a bit clearer. EDIT is gone, since it was
997         premature optimisation, and broken for mathed anyway.
998         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
999         with cursor positioning in insets as well (math insets still do not
1000         work, but that's a different story anyway.) It mysteriously
1001         crashes sometimes with undo in the first paragraph, but I'm fairly
1002         confident that this is a compiler bug.
1003
1004 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1005
1006         * paragraph.C (Paragraph): adjust for new clone return type
1007         (operator==): ditto
1008         (copyIntoMinibuffer): ditto
1009
1010 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1011
1012         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1013         by not having a special case, and always doing a full rebreak of
1014         the document after undo.
1015
1016 2003-07-23  Angus Leeming  <leeming@lyx.org>
1017
1018         * factory.C (createInset): InsetExternal::setParams now takes a
1019         Buffer const * arg.
1020
1021 2003-07-23  Angus Leeming  <leeming@lyx.org>
1022
1023         * factory.C (createInset): changed interface to the external and
1024         graphics mailers' string2params functions.
1025
1026 2003-07-23  Angus Leeming  <leeming@lyx.org>
1027
1028         * factory.C (createInset): pass a
1029         Buffer const * parameter to InsetExternalMailer's string2params.
1030
1031 2003-07-22  John Levon  <levon@movementarian.org>
1032
1033         * Thesaurus.h: include the right aiksaurus header
1034
1035 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1036
1037         * MenuBackend.C (expand): check menu shortcuts unconditionally
1038
1039 2003-07-21  Angus Leeming  <leeming@lyx.org>
1040
1041         * factory.C (createInset): pass a
1042         buffer_path parameter to InsetGraphicsMailer's string2params.
1043
1044 2003-07-21  Angus Leeming  <leeming@lyx.org>
1045
1046         * BufferView_pimpl.C (buffer):
1047         * buffer.C (d-tor):
1048         * lyx_main.C (LyX):
1049         * lyxfunc.C (dispatch):
1050         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1051         rather than the grfx shortcut.
1052
1053 2003-07-21  André Pönitz  <poenitz@gmx.net>
1054
1055         * rowpainter.C: remove unused variables
1056
1057         * tabular_funcs.C:
1058         * tabular_funcs.h: move to tabular.C
1059         * Makefile.am: adjust
1060
1061         * tabular.[Ch]: basic optical cleaning
1062
1063         * author.h: pass references, not values
1064
1065 2003-07-18  André Pönitz  <poenitz@gmx.net>
1066
1067         * lyxtext.h:
1068         * metricsinfo.C:
1069         * metricsinfo.h:
1070         * rowpainter.C:
1071         * text.C:
1072         * text2.C:
1073         * text3.C: two-phase drawing for InsetText and InsetTabular
1074         some float -> int changes.
1075
1076 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1077
1078         * lyx_main.C: fix the fix
1079
1080 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1081
1082         * lyx_main.C: fix a crash in batch mode if no files specified
1083         * converter.C: ws
1084
1085 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1086
1087         * format.[Ch] (papersize): moved to BufferParams
1088         * converter.[Ch] (dvips_options): moved to BufferParams
1089         (dvipdfm_options): moved to anon namespace
1090         * bufferparams.[Ch]: added above functions.
1091
1092 2003-07-17  André Pönitz  <poenitz@gmx.net>
1093
1094         * lyxtext.h:
1095         * rowpainter.C:
1096         * text2.C: don't call inset->update() anymore
1097
1098         * metricsinfo.[Ch]: add convenience constructor
1099
1100 2003-07-16  André Pönitz  <poenitz@gmx.net>
1101
1102         * lyxcursor.[Ch]:
1103         * lyxfunc.[Ch]:
1104         * text.C:
1105         * text2.C: replace the LyXCursor::irow_ member with
1106          on-demand computation of the value
1107
1108 2003-07-16  John Levon  <levon@movementarian.org>
1109
1110         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1111
1112 2003-07-15  André Pönitz  <poenitz@gmx.net>
1113
1114         * text.C:
1115         * text2.C: remove no more needed refresh_row
1116
1117 2003-07-15  André Pönitz  <poenitz@gmx.net>
1118
1119         * lyxtext.h:
1120         * rowpainter.C:
1121         * text2.C:
1122         * text3.C: refresh_status tristate -> need_update bool
1123
1124 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1125
1126         * lyxtext.h (init): remove reinit argument (act as if always true)
1127         * text2.C: adjust to that
1128
1129 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1130
1131         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1132         * text3.C: use it to delete selections in some cases
1133         (bugs 441, 673, 702, 954).
1134
1135 2003-07-14  André Pönitz  <poenitz@gmx.net>
1136
1137         * rowpainter.[Ch]: reduce interface
1138
1139 2003-07-14  André Pönitz  <poenitz@gmx.net>
1140
1141         * BufferView_pimpl.C:
1142         * text2.C: adjust after removing unused BufferView * argument
1143
1144 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1145
1146         * text2.C (init): fix a crash fired on resize
1147
1148 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1149
1150         * buffer.[Ch]: added new closing signal
1151         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1152         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1153         BufferView::Pimpl via the closing the signal
1154
1155 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1156
1157         * buffer.[Ch]: take out all bv-related from buffer
1158         * BufferView.C:
1159         * BufferView_pimpl.[Ch]: connect to new signals
1160         * CutAndPaste.C: removed useless asserts
1161         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1162         * lyxvc.[Ch]:
1163         * vc-backend.[Ch]:
1164         * lyxfunc.C: moved view-related funciontality from vc here
1165         * paragraph.C: removed outdated comments
1166         * text.C: ws
1167
1168 2003-07-10  André Pönitz  <poenitz@gmx.net>
1169
1170         * BufferView_pimpl.C:
1171         * tabular.h:
1172         * tabular_funcs.C:
1173         * text.C:
1174         * text2.C: remove InsetText::InnerCache, clean up consequences
1175
1176 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1177
1178         * ispell.C: fix two typos in error messages
1179
1180 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1181
1182         * Extend Note inset to other forms of annotation like Comment
1183         and Greyedout. Right button click gives dialog.
1184
1185         Files modified or added (+):
1186
1187         * insetnote.[Ch]
1188         * FormNote.[Ch]      +
1189         * ControlNote.[Ch]   +
1190         * form_note.fd       +
1191         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1192         frontends/controllers
1193         * xforms/Dialogs.C
1194         * factory.C
1195
1196 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1197
1198         * aspell.C: add missing namespace lyx::support
1199
1200 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1201
1202         * BufferView.[Ch] (newFile): Add
1203         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1204         * LaTeX.[Ch] (message): added this signal and use it
1205         * buffer.[Ch] (busy, message): added these signals and use them
1206         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1207         * converter.C:
1208         * exporter.C:
1209         * format.C:
1210         * importer.C: use buffer signals instead of direct bv calling
1211         * lyx_cb.[Ch] (ShowMessage): removed
1212         * lyx_main.C:
1213         * lyxfunc.C:
1214         * paragraph_funcs.C:
1215         * text2.C: use buffer signals
1216
1217 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1218
1219         * introduce namespace lyx::graphics
1220
1221 2003-07-02  André Pönitz  <poenitz@gmx.net>
1222
1223         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1224
1225 2003-07-01  André Pönitz  <poenitz@gmx.net>
1226
1227         * text.C:
1228         * text2.C:
1229         * text3.C:
1230         * text_funcs.[Ch]:
1231         * textcursor.h:
1232         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1233           text*.C to text_func.C
1234
1235 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1236
1237         * introduce namespace lyx::support
1238
1239 2003-06-30  André Pönitz  <poenitz@gmx.net>
1240
1241         * Chktex.C:
1242         * funcrequest.C:
1243         * lyxtext.h:
1244         * text.C: re-enable --with-included-string
1245
1246 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1247
1248         * textcursor.C: add <config.h>
1249
1250         * text.C (getWord): remove const from word_location arg
1251
1252         * lyxvc.C (getLogFile): fix const type order
1253
1254         * lyxtext.h: remove const from word_location arg, add arg name
1255
1256         * lyxlayout.h: currect type on labeltype.
1257
1258         * importer.C: correct \file
1259
1260         * converter.C (intToFormat): use std:: on ret val, ws changes
1261
1262         * bufferlist.h: correct \file
1263
1264         * buffer.C (makeLinuxDocFile): fix const type order
1265         (makeDocBookFile): ditto
1266         (fillWithBibKeys): use std:: on stdlib args.
1267
1268         * CutAndPaste.C: fix authors.
1269         (availableSelections): use std:: on return vector
1270
1271 2003-06-27  André Pönitz  <poenitz@gmx.net>
1272
1273         * BufferView_pimpl.C:
1274         * bufferview_funcs.C:
1275         * lyxcursor.C:
1276         * lyxcursor.h:
1277         * lyxfunc.C:
1278         * lyxtext.h:
1279         * rowpainter.C:
1280         * text.C:
1281         * text2.C:
1282         * text3.C: remove LyXCursor::row_ member
1283
1284         * lyxtext.h:
1285         * text.C: rename fullRebreak() to partialRebreak() and implement
1286           a fullRebreak() that really bereks fully
1287
1288         * textcursor.h: new struct for cursor-related data
1289
1290 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1291
1292         * lyx_main.C (LyX): get full path of document loaded on the
1293         command line
1294
1295 2003-06-26  André Pönitz  <poenitz@gmx.net>
1296
1297         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1298           remove unused/broken operator>,<,>=.
1299
1300         *       text.C: remove only use of broken operator<= in an Assert().
1301
1302 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1303
1304         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1305         moved errorlist_.clear to showErrorList
1306
1307 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1308
1309         * converter.C (scanLog, runLaTeX):
1310         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1311         move the bv->showErrorList call to the callers
1312         * lyxfunc.C: i.e. here...
1313         * text2.C: and here
1314         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1315         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1316         namespace, the second to...
1317         * buffer_funcs (BufferFormat, parseErrors): added
1318         * errorlist.C (ErrorList(TeXErrors const &)): removed
1319
1320 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1323
1324 2003-06-24  "Garst R. Reese" <reese@isn.net>
1325
1326         * debug.C: fix typo
1327
1328 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1329
1330         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1331
1332         * version.C.in: change docversion to 1.4
1333
1334 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1335
1336         * buffer.C: fix a bug just introduced
1337
1338 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1339
1340         * buffer.[Ch]: added the parseError signal and use it, removed
1341         sgmlError
1342         * BufferView.[Ch] (addError): moved to ...
1343         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1344         to the Buffer::parseError signal to catch (guess what) parse errors
1345         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1346
1347 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1348
1349         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1350         ability to create a buffer and to return an existing one from
1351         the list. Moved these functions to...
1352         * buffer_funcs.[Ch]: added
1353         * BufferView.[Ch] (loadLyXFile): added
1354         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1355         job removed from bufferlist::loadLyXFile.
1356         * buffer.C (setReadOnly): make it work without view
1357         (i.e added an if (users))
1358
1359 2003-06-19  Angus Leeming  <leeming@lyx.org>
1360
1361         * lfuns.h:
1362         * LyXAction.C (init):
1363         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1364         with LFUN_DIALOG_SHOW <name> <data>.
1365
1366 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * CutAndPaste.C (availableSelections): small compilation fix for
1369         ancient (gcc 2.9x) compilers
1370
1371 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1372
1373         * text3.C (cursorNext): add tmp var
1374
1375         * text2.C (updateCounters): for function calling out of for clause
1376         (replaceSelectionWithString): ditto
1377         (insertStringAsParagraphs): ditto
1378         (getColumnNearX): add tmp var
1379         (setCursorFromCoordinates): add tmp var
1380         (cursorDownParagraph): add tmp var
1381         (deleteEmptyParagraphMechanism): add tmp var
1382
1383         * text.C (insertChar): add tmp var
1384
1385         * rowpainter.C (paintDepthBar): add tmp var
1386
1387         * CutAndPaste.C (availableSelections): potentially check all
1388         paragraphs in a cut to fill the shown strings.
1389
1390 2003-06-18  André Pönitz  <poenitz@gmx.net>
1391
1392         * kbmap.[Ch]: use vector<> instead of list<>
1393
1394 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1395
1396         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1397         pasteSelection with index
1398
1399         * text2.C (pasteSelection): modify, call pasteSelection with index
1400
1401         * paragraph.C (asString): reimplement version with no interval to
1402         call the one with interval.
1403
1404         * lyxtext.h: add index arg to pasteSelection
1405
1406         * MenuBackend.C (MenuItem): handle PasteRecent
1407         (Menu::read::Menutags): add md_pasterecent
1408         (read): handle it
1409         (expandPasteRecent): new function
1410         (expand): use it
1411
1412         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1413
1414         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1415         the limited stack
1416         (availableSelections): new function
1417
1418 2003-06-17  Angus Leeming  <leeming@lyx.org>
1419
1420         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1421
1422 2003-06-17  Angus Leeming  <leeming@lyx.org>
1423
1424         * lfuns.h:
1425         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1426
1427         * lyxfunc.C (dispatch): invoke it.
1428
1429 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * iterators.C (operator++, ParPosition): reintroduce some
1432         const_cast for the benefit of older compilers.
1433
1434 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * text3.C (dispatch): do not modify clipboard when doing
1437         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1438         LFUN_DELETE_SKIP on a selection selection
1439
1440 2003-06-16  André Pönitz  <poenitz@gmx.net>
1441
1442         * BufferView.C:
1443         * buffer.C:
1444         * buffer.h:
1445         * paragraph.C:
1446         * tabular.[Ch]: IU of clone() and getLabelList();
1447
1448 2003-06-13  André Pönitz  <poenitz@gmx.net>
1449
1450         * tabular.h: compactification
1451
1452 2003-06-12  André Pönitz  <poenitz@gmx.net>
1453
1454         * tabular.C:
1455         * tabular.h:
1456         * tabular_funcs.h: some renaming plus whitespace
1457
1458 2003-06-12  André Pönitz  <poenitz@gmx.net>
1459
1460         * BufferView.C:
1461         * BufferView_pimpl.C:
1462         * CutAndPaste.C:
1463         * buffer.C:
1464         * iterators.[Ch]:
1465         * lyxfunc.C:
1466         * text.C:
1467         * toc.C: Return a Paragraph & for ParIterator::operator*()
1468
1469 2003-06-11  John Levon  <levon@movementarian.org>
1470
1471         * lyx_main.C:
1472         * ToolbarBackend.h:
1473         * ToolbarBackend.C: add "Toolbars" section and
1474         put the flags there
1475
1476 2003-06-10  Angus Leeming  <leeming@lyx.org>
1477
1478         * lfuns.h:
1479         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1480
1481         * lyxfunc.C (dispatch): invoke it.
1482
1483 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1484
1485         * main.C: protect <ios> with HAVE_IOS
1486         (main): protect sync_with_stdio with HAVE_IOS
1487
1488 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1489
1490         * text2.C (cutSelection): adjust
1491         (pasteSelection): adjust
1492
1493         * messages.C: handle get of empty string
1494
1495         * main.C (main): use sync_with_stdio(false)
1496
1497         * lyxfunc.C (dispatch): adjust
1498
1499         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1500         (WriteAs): remove unneeded BufferView arg.
1501
1502         * bufferparams.h: use correct types on papersize, papersize2 and
1503         paperpackage.
1504
1505         * bufferparams.C (readToken): adjust for type
1506         (writeLaTeX): add missing cases to switch.
1507
1508         * bufferlist.C (quitWriteBuffer): adjust
1509         (close): adjust
1510
1511         * buffer.C (asciiParagraph): remove some commented code.
1512
1513         * CutAndPaste.C: remove current_view extern variable.
1514         (cutSelection): add BufferParams arg.
1515         (eraseSelection): add BufferParams arg.
1516         (pasteSelection): add Buffer const & arg
1517
1518 2003-06-07  John Levon  <levon@movementarian.org>
1519
1520         * buffer.C:
1521         * paragraph_funcs.C:
1522         * paragraph_pimpl.C:
1523         * text.C:
1524         * text2.C:
1525         * paragraph.h:
1526         * paragraph.C: allow InsetERT to freely space lines,
1527         and some consolidation of code
1528
1529 2003-06-06  José Matos  <jamatos@fep.up.pt>
1530
1531         * buffer.C (makeDocBookFile): fix bug #821
1532
1533 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1534
1535         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1536
1537 2003-06-04  Angus Leeming  <leeming@lyx.org>
1538
1539         * buffer.C: bump format to 224.
1540
1541 2003-06-05  André Pönitz  <poenitz@gmx.net>
1542
1543         * text2.C (redoParagraphs): remove two const_cast<>
1544
1545 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1546
1547         * ParagraphList.h: remove last remnants of NO_STD_LIST
1548
1549 2003-06-03  Angus Leeming  <leeming@lyx.org>
1550
1551         * factory.C (createInset): small change to the way InsetExternal's params
1552         are set.
1553
1554 2003-06-04  André Pönitz  <poenitz@gmx.net>
1555
1556         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1557
1558         * paragraph_pimpl.h:
1559         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1560
1561         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1562
1563         * undo_funcs.C: make some simple cases of undo work again
1564
1565 2003-06-03  John Levon  <levon@movementarian.org>
1566
1567         * ispell.C: HPUX doesn't have sys/select.h
1568         (from Albert Chin)
1569
1570 2003-06-03  John Levon  <levon@movementarian.org>
1571
1572         * CutAndPaste.C: update tabular and include inset
1573         buffer references
1574
1575         * buffer.h:
1576         * paragraph.h:
1577         * paragraph.C: remove owningBuffer(), don't pass Buffer
1578         to clone()
1579
1580         * factory.C: insetGraphicsParams changed
1581
1582 2003-06-02  John Levon  <levon@movementarian.org>
1583
1584         * LyXAction.C:
1585         * factory.C:
1586         * lfuns.h:
1587         * lyxfunc.C:
1588         * text3.C: remove insetparent
1589
1590 2003-06-02  John Levon  <levon@movementarian.org>
1591
1592         * buffer.h:
1593         * buffer.C: fix inset_iterator.end(), move out of line
1594         (bug 1149)
1595
1596 2003-06-01  John Levon  <levon@movementarian.org>
1597
1598         * text3.C: use a proper cut/paste when doing inset
1599         insert (from Jürgen Spitzmüller)
1600
1601 2003-06-01  John Levon  <levon@movementarian.org>
1602
1603         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1604
1605 2003-05-30  André Pönitz  <poenitz@gmx.net>
1606
1607         * rowpainter.C: unify second drawing phase
1608
1609 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1610
1611         * trans_mgr.C: remove one case of current_view
1612
1613         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1614
1615         * paragraph_funcs.h: remove paragraph.h include
1616
1617         * paragraph.h: delete NO_STD_LIST stuff
1618
1619         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1620
1621         * buffer.h: remove paragraph.h include
1622
1623         * ParagraphList.C: delete file
1624
1625         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1626
1627         * toc.C (getTocList): adjust
1628
1629         * paragraph_pimpl.C (validate): adjust
1630
1631         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1632
1633         * paragraph.C (Paragraph): adjust
1634         (getPositionOfInset): use const_iterator, adjust
1635         (bibitem): use const_iterator, adjust
1636         (setInsetOwner): adjust
1637
1638         * iterators.C (operator++): adjust
1639
1640         * InsetList.[Ch]: Replace selfmade iterator with standard
1641         vector::iterator also introduce const_iterator. Remove getPos,
1642         getInset and setInset from InsetTable. Adjust accordingly.
1643
1644         * BufferView.C (lockInset): adjust
1645         (ChangeInsets): adjust
1646
1647         * tabular.[Ch]: delete commented same_id functions
1648
1649 2003-05-28  John Levon  <levon@movementarian.org>
1650
1651         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1652
1653 2003-05-28  André Pönitz  <poenitz@gmx.net>
1654
1655         * metricsinfo.[Ch]: remove 'fullredraw' member
1656
1657 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1658
1659         * lyxtextclass.C (operator): remove caching.
1660
1661 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1662
1663         * text3.C: adjust
1664
1665         * text2.C (cursorBottom): adjust
1666         (setCounter): use ParagraphList::find, adjust
1667
1668         * text.C (workWidth): use ParagraphList::find, adjust
1669
1670         * lyxcursor.C (LyXCursor): adjust
1671
1672         * buffer.C (inset_iterator): adjust
1673
1674         * ParagraphList.h: make iterator(value_type) private, make
1675         ParagraphList a friend of iterator.
1676
1677         * ParagraphList.C (find): new function
1678
1679         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1680
1681 2003-05-27  André Pönitz  <poenitz@gmx.net>
1682
1683         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1684
1685 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1686
1687         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1688
1689 2003-05-26  John Levon  <levon@movementarian.org>
1690
1691         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1692
1693 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1694
1695         * remove same_id from function signatures, adjust.
1696
1697 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1698
1699         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1700
1701         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1702
1703         * paragraph.C (Paragraph): get rid of same_ids parameter
1704
1705         * ParagraphList.C (insert): adjust
1706         (push_back): adjust
1707
1708 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1709
1710         * paragraph_funcs.C (breakParagraph): adjust
1711         (breakParagraphConservative): adjust
1712
1713         * buffer.C (readParagraph): adjust
1714
1715         * ParagraphList.C (insert): take a reference instead of a pointer
1716         (insert): adjust
1717
1718         * paragraph.[Ch] (id): new function
1719
1720         * bufferlist.C (newFile): adjust
1721
1722         * ParagraphList.C (ParagraphList): adjust
1723         (assign): adjust
1724         (push_back): take a reference instead of a pointer.
1725
1726         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1727
1728         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1729         instead.
1730
1731         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1732         set else use old code.
1733
1734         * ParagraphList.C: remove all NO_NEXT code and only compile this
1735         code of NO_STD_LIST is set.
1736
1737 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1738
1739         * BufferView_pimpl.C:
1740         * TextCache.C:
1741         * TextCache.h:
1742         * bufferlist.C:
1743         * errorlist.h:
1744         * format.C:
1745         * format.h:
1746         * graph.C:
1747         * lyxfunc.C:
1748         * lyxrc.C:
1749         * graphics/GraphicsConverter.C:
1750         * graphics/PreviewLoader.C: header adjustment
1751
1752 2003-05-23  Angus Leeming  <leeming@lyx.org>
1753
1754         * LaTeXFeatures.[Ch] (useBabel): new method.
1755         * bufferparams.C (writeLaTeX): use it.
1756
1757 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1758
1759         * ParagraphList.h (set): remove unused function.
1760
1761 2003-05-23  André Pönitz  <poenitz@gmx.net>
1762
1763         * BufferView.C:
1764         * BufferView_pimpl.C:
1765         * buffer.C:
1766         * buffer.h:
1767         * lyxfunc.C:
1768         * undo_funcs.C: setUndo reworked
1769
1770         * iterators.[Ch]: add access to topmost ParagraphList
1771
1772         * lyxtext.[Ch] (workWidth): add a const
1773
1774 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1775
1776         * texrow.[Ch] (increasePos): remove function
1777         * exporter.C (export): removed unused var and outdated comment
1778
1779 2003-05-23  Angus Leeming  <leeming@lyx.org>
1780
1781         * latexrunparams.h: rename fragile as moving_arg.
1782         * paragraph.C (simpleTeXOnePar): ditto.
1783         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1784
1785 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1786
1787         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1788         (createUndo): ditto
1789         (textUndoOrRedo): comment out a currently unused var.
1790
1791         * paragraph.h (NO_NEXT): enable NO_NEXT
1792
1793         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1794
1795         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1796
1797         * exporter.C (Export): adjust for removeAutoInsets removal.
1798
1799         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1800
1801         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1802
1803         * BufferView.[Ch] (removeAutoInsets): delete function
1804
1805 2003-05-22  Angus Leeming  <leeming@lyx.org>
1806
1807         * latexrunparams.h: add a free_spacing variable.
1808
1809         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1810         to pass moving_arg, as the data is stored in runparams.fragile.
1811
1812         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1813         to Inset::latexOptional or to simpleTeXOnePar.
1814
1815         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1816         free_spacing arg to Inset::latexOptional.
1817
1818         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1819         free_spacing arg.
1820
1821 2003-05-22  Angus Leeming  <leeming@lyx.org>
1822
1823         * latexrunparams.h: add fragile and use_babel variables.
1824
1825         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1826         * buffer.C (makeLaTeXFile): store this returned value in
1827         runparams.use_babel, thus passing it to the inset::latex methods.
1828
1829         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1830         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1831
1832         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1833         longer has a fragile arg, as it is stored in runparams.fragile.
1834
1835         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1836         moving_arg parameter as the data is stored in runparams.fragile.
1837
1838         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1839         a fragile parameter as the data is stored in runparams.fragile.
1840
1841 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1844
1845 2003-05-22  Angus Leeming  <leeming@lyx.org>
1846
1847         * latexrunparams.h: add a 'bool nice' which defaults to false.
1848
1849         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1850         now encapsulated within runparams.
1851
1852         * bufferlist.C (updateIncludedTeXfiles):
1853         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1854
1855 2003-05-22  Angus Leeming  <leeming@lyx.org>
1856
1857         * latexrunparams.h: new file containing struct LatexRunParams.
1858         * Makefile.am: add new file.
1859
1860         * LaTeX.[Ch] (c-tor, run):
1861         * buffer.[Ch] (makeLaTeXFile):
1862         * bufferlist.[Ch] (updateIncludedTeXfiles):
1863         * converter.C (convert, scanLog):
1864         * converter.[Ch] (runLaTeX):
1865         * exporter.C (Export):
1866         * paragraph.[Ch] (simpleTeXOnePar):
1867         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1868         * paragraph_funcs.[Ch] (latexParagraphs):
1869         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1870         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1871         pass around a LatexRunParams parameter.
1872
1873 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * paragraph.[Ch]: remove unused constructor
1876
1877         * ParagraphList.C (erase): new function, taking two iterators
1878
1879 2003-05-22  André Pönitz  <poenitz@gmx.net>
1880
1881         * undo_funcs.C: remove duplicated code
1882
1883         * iterator.[Ch]: operator=
1884
1885 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1886
1887         * tabular.C (SetMultiColumn): ws changes
1888
1889         * rowpainter.C (paintFirst): get rid of a ->previous
1890
1891         * lyx_cb.C (getPossibleLabel): parlist simplification
1892
1893         * BufferView.C (ChangeInsets): simplify slightly.
1894
1895 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1896
1897         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1898         * lfuns.h: new LFUN_SPACE
1899         * lyxfunc.C: protected space has a new lfun
1900         * paragraph_funcs.C: read new space insets
1901         * text3.C:
1902         * factory.C: handle new space insets
1903
1904 2003-05-22  André Pönitz  <poenitz@gmx.net>
1905
1906         * BufferView.C:
1907         * BufferView_pimpl.C:
1908         * buffer.[Ch]:
1909         * lyxfunc.C:
1910         * undo_funcs.C: return a ParIterator from getParFromID.
1911
1912         * iterators.[Ch]: add two const's
1913
1914 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1915
1916         * toc.C (getTocList): adjust
1917
1918         * iterators.[Ch]: rework for parlist
1919
1920         * buffer.C (par_iterator_begin): adjust
1921         (par_iterator_end): adjust
1922
1923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1924
1925         * BufferView.C (removeAutoInsets): adjust
1926         (ChangeInsets): adjust
1927
1928 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1929
1930         * text.C (top_y): fix bug 1110
1931
1932 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1933
1934         * errorlist.[Ch]: added
1935         * buffer.C:
1936         * BufferView.[Ch]:
1937         * BufferView_pimpl.C:
1938         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1939         instead
1940
1941 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1942
1943         * Makefile.am: ensure that lyx is relinked upon changes to the
1944         various "convenience" libs.
1945
1946 2003-05-20  Angus Leeming  <leeming@lyx.org>
1947
1948         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1949         files are compiled in alphabetical order again.
1950
1951         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1952
1953 2003-05-19  Angus Leeming  <leeming@lyx.org>
1954
1955         * gettext.[Ch]: remove "char const * _(char const *)".
1956
1957 2003-05-19  André Pönitz  <poenitz@gmx.net>
1958
1959         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1960
1961         * Makefile.am:
1962         * BufferView.C:
1963         * DepTable.h:
1964         * LaTeXFeatures.C:
1965         * buffer.C:
1966         * lyxfont.C:
1967         * lyxlex.h:
1968         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1969
1970 2003-05-19  André Pönitz  <poenitz@gmx.net>
1971
1972         * buffer.C:
1973         * lyxlayout.[Ch]:
1974         * lyxtextclass.[Ch]:
1975         * paragraph.C:
1976         * paragraph_funcs.[Ch]:
1977         * text2.C:
1978         * text3.C: more insetenv work
1979
1980 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1981
1982         * ParagraphParameters.C (params2string): small bug fixed
1983
1984 2003-05-16  André Pönitz  <poenitz@gmx.net>
1985
1986         * debug.C:
1987         * bufferview_funcs.C: patch from Kornel Benko to prevent
1988           crash when _(...) is called twice in a statement
1989
1990 2003-05-16  André Pönitz  <poenitz@gmx.net>
1991
1992         * BufferView.C:
1993         * lyxfunc.C:
1994         * text.C:
1995         * text2.C:
1996         * text3.C:
1997         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1998
1999 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2000
2001         * lyx_main.C (init): remove spurious static_cast
2002
2003 2003-05-14  André Pönitz  <poenitz@gmx.net>
2004
2005         * BufferView.C: fix format string
2006
2007 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2008
2009         * BufferView.[Ch] (insertErrors): removed
2010         * BufferView.[Ch] (showErrorList): added
2011         * buffer.C (runChkTeX):
2012         * converter.C (scanLog): call showErrorList instead of inserterrors
2013
2014 2003-05-13  André Pönitz  <poenitz@gmx.net>
2015
2016         * BufferView_pimpl.C:
2017         * buffer.C:
2018         * bufferview_func.C:
2019         * MenuBackend.C:
2020         * lyxfunc.C:
2021         * lyxrc.C:
2022         * tex-accent.C:
2023         * text3.C:
2024         * toc.C:
2025         * tabular_funcs.h: tostr() from its own header
2026
2027         * ParagraphParameters.C:
2028         * ToolbarBackend.C:
2029         * bufferparams.C:
2030         * format.C:
2031         * lyxlex_pimpl.C:
2032         * text3.C: STRCONV()
2033
2034 2003-05-12  André Pönitz  <poenitz@gmx.net>
2035
2036         * BufferView.C:
2037         * BufferView_pimpl.C:
2038         * CutAndPaste.C:
2039         * LaTeX.C:
2040         * LaTeXFeatures.C:
2041         * ParagraphParameters.C:
2042         * buffer.C:
2043         * bufferlist.C:
2044         * bufferparams.C:
2045         * bufferview_funcs.C:
2046         * converter.C:
2047         * counters.C:
2048         * debug.C:
2049         * exporter.C:
2050         * format.C:
2051         * importer.C:
2052         * lyx_cb.C:
2053         * lyx_main.C:
2054         * lyxfont.C:
2055         * lyxfunc.C:
2056         * lyxvc.C:
2057         * paragraph.C:
2058         * paragraph_funcs.C:
2059         * tabular.C:
2060         * tabular_funcs.C:
2061         * text2.C:
2062         * text3.C:  boost::format -> bformat  all over the place
2063
2064
2065 2003-05-09  André Pönitz  <poenitz@gmx.net>
2066
2067         * LColor.[Ch]: Pimpl the #include <map> away
2068
2069 2003-05-09  John Levon  <levon@movementarian.org>
2070
2071         * bufferlist.C: never remove emergency saves
2072
2073 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * Makefile.am: better lib building
2076
2077 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2080         instead.
2081         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2082         (simpleTeXSpecialChars): adjust
2083         (simpleTeXSpecialChars): adjust
2084         * paragraph.C (simpleTeXOnePar): adjust
2085         * buffer.C (makeLaTeXFile): adjust
2086
2087         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2088
2089         * text2.C (changeDepth): parlist cleanup
2090         (getColumnNearX): ditto
2091
2092         * rowpainter.C (getLabelFont): parlist cleanup
2093
2094         * bufferlist.C (newFile): parlist cleanup
2095
2096         * CutAndPaste.C (eraseSelection): parlist cleanup
2097
2098         * BufferView_pimpl.C (trackChanges): parlist cleanup
2099         (dispatch): ditto
2100
2101         * BufferView.C (lockInset): parlist cleanup.
2102         (ChangeInsets): ditto
2103
2104 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2105
2106         * CutAndPaste.h: Update file header.
2107
2108         * CutAndPaste.C: Update file header.
2109         Store the parts cut out of the Document in a limited_stack.
2110         (copySelection): adjust
2111         (pasteSelection): new function, takes the index in the limited stack.
2112         (nrOfParagraphs): adjust
2113         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2114         simplify error inset insertion.
2115         (checkPastePossible): adjust
2116
2117 2003-05-06  John Levon  <levon@movementarian.org>
2118
2119         * text2.C: don't cast wrap inset to float
2120
2121 2003-05-05  André Pönitz  <poenitz@gmx.net>
2122
2123         * iterator.C:
2124         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2125
2126         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2127           few naked Paragraph *.
2128
2129 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2130
2131         * bufferparams.C: Output warning if a document with missing
2132         TeX document class is loaded
2133         * exporter.C: Disable TeX exports if the document class is missing
2134         * lyxtextclass.C:
2135         * lyxtextclass.h:
2136         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2137         isTeXClassAvailable()
2138
2139 2003-05-03  John Levon  <levon@movementarian.org>
2140
2141         * BufferView.h:
2142         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2143         explicit cursor show/hide
2144
2145         * BufferView_pimpl.h:
2146         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2147         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2148
2149         * lyxfunc.C: hide cursor before dispatching.
2150
2151         * lyx_cb.C:
2152         * lyxfind.C:
2153         * text.C:
2154         * text3.C: remove explicit cursor hides
2155
2156 2003-05-02  André Pönitz  <poenitz@gmx.net>
2157
2158         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2159
2160         * undo_funcs.C:
2161         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2162           linked lists
2163
2164         * text2.C: tiny whitespace
2165
2166 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2167
2168         * undo_funcs.C: almost only ws changes.
2169
2170         * ParagraphList.C (splice): just return if pl is empty.
2171
2172 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * ParagraphList.C (splice): new function.
2175
2176         * CutAndPaste.C (pasteSelection): use it
2177
2178 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2179
2180         * CutAndPaste.C (pasteSelection): remove the last next and
2181         previous from this file.
2182
2183 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2184
2185         * CutAndPaste.C (pasteSelection): more clean up, user proper
2186         ParagraphList functions for pasteing.
2187
2188         * ParagraphList.C (insert): new function, three arg insert
2189
2190 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2191
2192         * ParagraphList.C (insert): new function, three arg insert
2193
2194         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2195         not on paragraphs.
2196
2197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2198
2199         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2200
2201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2204
2205 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2208         (copySelection): clean up a bit.
2209         (pasteSelection): use make_pair
2210
2211         * ParagraphList.C (ParagraphList): implement copy constructor
2212         (operator=): implement, base on copy constructor.
2213         (assign): new func
2214
2215         * paragraph.C (erase): return a bool
2216
2217         * paragraph_pimpl.C (erasePos): remove function, move contents...
2218         (erase): ... here. Return a bool.
2219         (erase): call erase instead of erasePos.
2220
2221 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2222
2223         * ParagraphList.h: define PitPosPair
2224         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2225         ParagraphList, fix a bug on pasting multiple pars
2226         * text2.C: change interface to C&P
2227
2228 2003-04-30  André Pönitz  <poenitz@gmx.net>
2229
2230         * undo_func.C: revert part of yesterday's patch 2
2231
2232 2003-04-30  John Levon  <levon@movementarian.org>
2233
2234         * LColor.C: s/tabular/table/
2235
2236 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * text3.C (dispatch): do not convert iterator -> pointer
2239         * undo_funcs.C (setCursorParUndo): ditto
2240         * text_funcs.C (transposeChars): ditto
2241
2242         * text2.C (setLayout): ws changes only
2243
2244         * text.C (breakParagraph): do not convert iterator -> pointer
2245         (insertChar): ditto
2246         (acceptChange): ditto
2247         (rejectChange): ditto
2248         (changeCase): ditto
2249         (Delete): ditto
2250         (backspace): ditto
2251
2252         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2253         pointer
2254
2255 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2256
2257         * text3.C (gotoInset): YABG (yet another bad getChar)
2258
2259 2003-04-29  André Pönitz  <poenitz@gmx.net>
2260
2261         * paragraph.h: make operator= private unimplemented as long as
2262           it is unusable
2263
2264         * ParagraphList.C: whitespace
2265
2266         * paragraph.[Ch]:
2267         * paragraph_pimpl.[Ch]:
2268         * paragraph_funcs.C:
2269         * CutAndPaste.C:
2270         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2271
2272         * text2.C:
2273           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2274
2275 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2278         * paragraph.[Ch] (erase):
2279         * paragraph_pimpl.[Ch] (erase): change return type and value
2280         * text2.C (cutSelection): some rework
2281
2282 2003-04-28  John Levon  <levon@movementarian.org>
2283
2284         * bufferlist.C: changes for unsaved changes dialog
2285
2286 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2287
2288         * bufferlist.C (newFile): set language (messages_) for new
2289         documents also.
2290
2291         * buffer.C (readFile): ws changes only.
2292
2293 2003-04-28  André Pönitz  <poenitz@gmx.net>
2294
2295         * undo_funcs.C:
2296         * lyxfunc.C:
2297         * buffer.[Ch]:
2298         * BufferView_pimpl.C:
2299         * BufferView.C: getParFromID related ParagraphList::iterator changes
2300
2301 2003-04-28  André Pönitz  <poenitz@gmx.net>
2302
2303         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2304           Changes
2305
2306 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2307
2308         * messages.C: remove one more localedir class variable.
2309
2310 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * messages.C (getLocaleDir): singleton generation function
2313         (Pimpl): use it.
2314         (Messages): add a default constructor.
2315
2316         * main.C (main): do not setup localedir here, do not call
2317         gettext_init.
2318
2319         * gettext.C (_): use it.
2320         (gettext_init): delete funciton
2321
2322 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2323
2324         * gettext.C (getLyXMessages): new singleton generating function.
2325
2326         * buffer.C (updateDocLang): adjust
2327
2328         * Makefile.am (messages.o): add target
2329         (main.o): remove target
2330
2331 2003-04-27  John Levon  <levon@movementarian.org>
2332
2333         * bufferlist.C:
2334         * lyx_cb.C:
2335         * lyxfunc.C:
2336         * lyxvc.C: specify cancel button in Alert::prompt
2337
2338 2003-04-26  John Levon  <levon@movementarian.org>
2339
2340         * text3.C:
2341         * lyxfunc.C:
2342         * lfuns.h:
2343         * LyXAction.C: add LFUN_INSET_SETTINGS
2344
2345         * lyxfunc.C: don't enable tabular-feature when there's
2346         just any locking inset
2347
2348 2003-04-26  John Levon  <levon@movementarian.org>
2349
2350         * bufferlist.C: re-add Cancel to buffer close question
2351
2352         * lyxfunc.C: fix import UI a bit
2353
2354 2003-04-25  John Levon  <levon@movementarian.org>
2355
2356         * gettext.C: remove the broken asserts for now
2357
2358 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * messages.C: make case where setlocale cannot comply work better.
2361
2362         * buffer.C (updateDocLang): new function
2363         (changeLanguage): use it
2364         (readFile): use it
2365
2366         * text2.C (setCounter): use B_ a bit.
2367
2368         * lyxlayout.C (Read): be sure to trim the label strings.
2369
2370         * messages.C (Messages): fix typo in comment
2371
2372         * buffer.C (readFile): set message_ after file is loaded.
2373         (makeDocBookFile): remove double return
2374         (changeLanguage): reset message_ upon language change.
2375         (B_): new func, use this to get translated buffer strings.
2376
2377         * main.C: add myself and Jean Marc as authors.
2378
2379 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * messages.[hC]: pimplify Messages, and three different pimpls to be
2382         used in different circumstances.
2383
2384         * gettext.[Ch]: change for use with new message code.
2385
2386 2003-04-24 André Pönitz <poenitz@gmx.net>
2387
2388         * factory.C: support for eqref
2389
2390 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * messages.[Ch]: add missing char
2393
2394         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2395
2396         * messages.[Ch]: New files
2397
2398 2003-04-18  John Levon  <levon@movementarian.org>
2399
2400         * BufferView.h:
2401         * BufferView.C:
2402         * BufferView_pimpl.C:
2403         * lfuns.h:
2404         * LyXAction.C:
2405         * lyxtext.h:
2406         * text2.C: remove layout-copy/paste (bug 778)
2407
2408 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2409
2410         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2411
2412 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2413
2414         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2415         if they succeed. Act accordingly.
2416
2417 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2418
2419         * text2.C (setCharFont): adjust
2420         (setCounter): adjust
2421         (insertStringAsLines): adjust
2422
2423         * text.C (leftMargin): adjust
2424         (setHeightOfRow): adjust
2425
2426         * rowpainter.C (paintFirst): adjust
2427         (paintLast): adjust
2428
2429         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2430         (outerHook): ditto
2431         (isFirstInSequence): ditto
2432         (getEndLabel): ditto
2433         (outerFont): adjust
2434
2435         * paragraph.C (getParLanguage): comment out some hard stuff.
2436
2437         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2438         (sgmlError): ditto
2439         (simpleDocBookOnePar): ditto
2440         (makeDocBookFile): use ParagraphList::iterator
2441
2442         * CutAndPaste.C (pasteSelection): adjust
2443
2444 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2445
2446         * text2.C (getFont): adjust
2447         (getLayoutFont): adjust
2448         (getLabelFont): adjust
2449
2450         * paragraph_funcs.C (TeXOnePar): adjust
2451
2452         * buffer.C (simpleLinuxDocOnePar): adjust
2453         (simpleDocBookOnePar): adjust
2454
2455         * CutAndPaste.C (pasteSelection): adjust
2456
2457         * BufferView.C (getEncoding): adjust
2458
2459         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2460
2461 2003-04-16  John Levon  <levon@movementarian.org>
2462
2463         * lyxfind.C: use parlist stuff for search/changes
2464
2465 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2466
2467         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2468
2469         * text2.C (deleteEmptyParagraphMechanism): adjust
2470
2471         * text2.[Ch] (ownerParagraph): delete func (both of them
2472
2473 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2474
2475         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2476
2477 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2478
2479         * ParagraphList.C: prepare for NO_NEXT
2480
2481 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * text2.C (getFont): adjust
2484         (getLayoutFont): adjust
2485         (getLabelFont): adjust
2486
2487         * paragraph.C (getFont): adjust
2488         (getLabelFont): adjust
2489         (getLayoutFont): adjust
2490
2491         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2492
2493 2003-04-15  John Levon  <levon@movementarian.org>
2494
2495         From Angus Leeming
2496
2497         * lyx_main.C: handle Include in .ui files
2498
2499 2003-04-15  John Levon  <levon@movementarian.org>
2500
2501         * MenuBackend.C: make the doc files length shorter
2502
2503         * ToolbarBackend.h:
2504         * ToolbarBackend.C: handle toolbar placement flags,
2505         Minibuffer
2506
2507 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2508
2509         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2510         adjust
2511
2512         * paragraph_funcs.C (TeXOnePar): adjust
2513
2514         * paragraph.C (getLabelFont): add outerfont arg, adjust
2515         (getLayoutFont): ditto
2516         (simpleTeXOnePar): adjust
2517
2518         * paragraph_pimpl.C (realizeFont): delete func
2519
2520 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2521
2522         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2523         row argument, constify cur argument.
2524
2525 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * text2.C (getFont): adjust
2528         (getLayoutFont): adjust
2529         (getLabelFont): adjust
2530
2531         * paragraph_funcs.C (TeXOnePar): adjust
2532         (outerFont): new func...
2533         (realizeFont): ...moved out from here, changed this to facilitate
2534         transition
2535
2536         * paragraph.C (getFont): take outerfont as arg, adjust
2537         (simpleTeXOnePar): add outerfont arg, adjust
2538
2539         * buffer.C (simpleLinuxDocOnePar): adjust
2540         (simpleDocBookOnePar): adjust
2541
2542         * CutAndPaste.C (pasteSelection): adjust
2543
2544         * BufferView.C (getEncoding): adjust
2545
2546 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2547
2548         * text2.C (setCharFont): adjust
2549         (setCounter): adjust
2550
2551         * text.C (leftMargin): adjust
2552         (setHeightOfRow): adjust
2553
2554         * rowpainter.C (paintFirst): adjust
2555         (paintLast): adjust
2556
2557         * paragraph_pimpl.C (realizeFont): adjust
2558
2559         * paragraph.C (isFirstInSequence): move from here...
2560         * paragraph_funcs.C (isFirstInSequence): ...to here
2561
2562         * paragraph.C (outerHook): move from here...
2563         * paragraph_funcs.C (outerHook): ...to here
2564
2565         * paragraph.C (depthHook): move from here...
2566         * paragraph_funcs.C (depthHook): ...to here
2567
2568         * paragraph.C (getEndLabel): move from here...
2569         * paragraph_funcs.C (getEndLabel): ...to here
2570
2571         * text2.C (realizeFont): move from here...
2572         * paragraph_funcs.C (realizeFont): ...to here
2573
2574 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2577
2578 2003-04-14  Angus Leeming  <leeming@lyx.org>
2579
2580         * LColor.[Ch]: scrap LColor mathcursor.
2581
2582 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * lyxlex.[Ch] (text): delete function
2585         * trans.C (Load): adjust
2586         * paragraph_funcs.C (readParToken): adjust
2587
2588 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2591         vector<char> instead of a char[].
2592
2593         * lyxlex_pimpl.C (getString): adjust
2594         (next): adjust
2595         (lex): use getString
2596         (eatLine): adjust
2597         (nextToken): adjust
2598
2599         * lyxlex.C (text): use pimpl_->getString()
2600         (getBool): ditto
2601         (findToken): ditto
2602
2603 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2604
2605         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2606         (makeFontEntriesLayoutSpecific): temp var for par.size()
2607         (setLayout): temp var for ownerParagraphs().end()
2608         (fullRebreak): temp var for rows().end()
2609         (selectionAsString): temp var for boost::next(startpit), realize
2610         that the while really is a regular for loop.
2611         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2612         setCursor in one place.
2613         (setParagraph): temp vr for ownerParagraphs().end()
2614         (updateCounters): make the while loop a for loop
2615         (cutSelection): temp var for ownerParagraphs().end()
2616         (updateInset): make the do {} while() a regular for loop
2617         (getCursorX): use temp vars
2618         (setCurrentFont): use temp vars
2619         (getColumnNearX): use temp vars
2620
2621 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * text.C (transformChar): use temp var for getChar
2624         (computeBidiTables): use temp var for row->par()
2625         (fill): move temp vars for row->par() and pit->layout() earlier in
2626         the function.
2627         (labelFill): use temp var for row->par()
2628         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2629         asc and desc, realize that pit never changes and that firstpit is
2630         just a duplicate and not needed. Exchange rit->par() with pit in a
2631         lot of places.
2632         (breakAgain): use a temp var for boost::next(rit)
2633         (breakAgainOneRow): ditto
2634         (breakParagraph): use a temp var for rows().begin()
2635         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2636         (cursorRightOneWord): use temp var for cursor.par() and
2637         cursor.pos(), remove usage of tmpcursor.
2638         (cursorLeftOneWord): use temp var for cursor.par() and
2639         cursor.pos() only set cur at end of function.
2640
2641 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * text.C, text2.C: exchange all usage of Paragraph::next with
2644         boost::next(ParagraphList::iterator)
2645
2646         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2647
2648         * text2.C (cursorTop): simplify implementation
2649         (cursorBottom): ditto
2650         (setParagraph): use ParagraphList::iterator
2651         (setCurrentFont): adjust
2652         (getColumnNearX): adjust
2653         (cursorRight): adjust
2654         (cursorLeft): remove usage of Paragraph::previous
2655         (cursorUpParagraph): ditto
2656         (deleteEmptyParagraphMechanism): slight cleanup
2657
2658         * text.C (isBoundary): take a Paragraph const & instead of a
2659         pointer as arg.
2660         (addressBreakPoint): ditto
2661         (leftMargin): remove usage of Paragraph::previous.
2662         (setHeightOfRow): ditto
2663         (cursorLeftOneWord): ditto
2664         (selectNextWordToSpellcheck): ditto
2665         (Delete): ditto
2666         (backspace): ditto
2667         (breakParagraph): remove one usage of Paragraph::next
2668         (redoParagraph): ditto
2669         (acceptChange): ditto
2670         (insertChar): adjust
2671         (rowBreakPoint): adjust
2672
2673         * bufferview_funcs.C (toggleAndShow): adjust
2674
2675 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2678         methods to access it.
2679         * lyxtext.h:
2680         * text.C: Added updateRowPositions to compute all row positions.
2681         Make top_y and getRowNearY() to use the cached y position
2682
2683 2003-04-11  John Levon  <levon@movementarian.org>
2684
2685         * text.C (rowBreakPoint): reintroduce the labelEnd
2686         checks, code copied from the row fill stuff. Deep voodoo.
2687
2688         * text.C (fill): add a comment and debugging for the
2689         next poor soul.
2690
2691 2003-04-11  John Levon  <levon@movementarian.org>
2692
2693         * text.C: make sure fullrow insets get wrapped to the next line,
2694         even when they're in a manual label
2695
2696 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2697
2698         * text2.C (insertParagraph): make it take ParagraphList::iterator
2699         as arg.
2700         (setLayout): make it return ParagraphList::iterator
2701         (redoParagraphs): ditto
2702         (setCounter): ditto
2703         (checkParagraph): ditto
2704
2705         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2706
2707         * text2.C: adjust several funcs.
2708         (realizeFont): take a ParagraphList::iterator as arg.
2709         (getLayoutFont): ditto
2710         (getLabelFont): ditto
2711         (setCharFont): ditto
2712
2713         * text.C: adjust several funcs.
2714
2715 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2716
2717         * text.C (selectNextWordToSpellcheck): don't accidentally
2718         skip insets
2719
2720 2003-04-10  John Levon  <levon@movementarian.org>
2721
2722         * ToolbarBackend.C (getIcon): special handling for
2723         LFUN_MATH_DELIM
2724
2725 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2726
2727         * text2.C (cursorRight): a getChar assert fixed
2728
2729 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * text2.C (getFont): change to take a ParagraphList::iterator
2732         instead of Paragraph*
2733         Adjust several functions.
2734
2735         * text.C (transformChar): change to take a ParagraphList::iterator
2736         instead of Paragraph*
2737         (singleWidth): ditto
2738         Adjust several functions.
2739
2740         * rowpainter.C: adjust several functions
2741         * rowpainter.h:store a ParagraphList::iterator and not a
2742         Paragraph&.
2743
2744
2745 2003-04-09  John Levon  <levon@movementarian.org>
2746
2747         * lyxfunc.C:
2748         * lfuns.h:
2749         * LyXAction.h:
2750         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2751         and the "help" bits as well
2752
2753 2003-04-09  John Levon  <levon@movementarian.org>
2754
2755         * ToolbarBackend.h:
2756         * ToolbarBackend.C: allow multiple toolbars
2757
2758 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2759
2760         * undo_funcs.C (setCursorParUndo): adjust
2761
2762         * text_funcs.C (transposeChars): adjust
2763
2764         * text3.C (gotoNextInset): adjust
2765         (dispatch): adjust
2766
2767         * text2.C (setLayout): adjust
2768         (changeDepth): adjust
2769         (setFont): adjust
2770         (redoParagraphs): adjust
2771         (selectionAsString): adjust
2772         (setParagraph): adjust
2773         (insertInset): adjust
2774         (cutSelection): adjust
2775         (copySelection): adjust
2776         (pasteSelection): adjust
2777         (insertStringAsLines): adjust
2778         (updateInset): adjust
2779         (setCursor): change to take a ParagraphList::iterator parameter
2780         (setCursorIntern): change to take a ParagraphList::iterator parameter
2781         (setCurrentFont): adjust
2782         (cursorLeft): adjust
2783         (cursorRight): adjust
2784         (deleteEmptyParagraphMechanism): adjust
2785
2786         * text.C (breakParagraph): adjust
2787         (insertChar): adjust
2788         (acceptChange): adjust
2789         (rejectChange): adjust
2790         (selectNextWordToSpellcheck): adjust
2791         (changeCase): adjust
2792         (Delete): adjust
2793         (backspace): adjust
2794
2795         * lyxfind.C (SearchForward): adjust
2796         (SearchBackward): adjust
2797         (nextChange): adjust
2798
2799         * lyxcursor.C (par): adjust
2800
2801         * lyxcursor.h: store a ParagraphList::iterator instead of a
2802         Paragraph*
2803
2804         * lyx_cb.C (getPossibleLabel): adjust
2805
2806         * bufferview_funcs.C (toggleAndShow): adjust
2807
2808         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2809         (dispatch): adjust
2810
2811         * BufferView.C (removeAutoInsets): adjust
2812         (lockedInsetStoreUndo): adjust
2813
2814 2003-04-09  John Levon  <levon@movementarian.org>
2815
2816         * ToolbarBackend.C: try icon without argument
2817         if with argument fails
2818
2819 2003-04-08  John Levon  <levon@movementarian.org>
2820
2821         * ToolbarBackend.h:
2822         * ToolbarBackend.C: add getIcon(), handle tooltip,
2823         and change from "Icon" to "Item".
2824
2825 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2826
2827         * BufferView.C (lockInset): another bad getchar crunched
2828
2829 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2830
2831         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2832         again)
2833
2834 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2835
2836         * lyxfind.C (searchForward, searchBackwards): bug 782
2837
2838 2003-04-07  John Levon  <levon@movementarian.org>
2839
2840         * paragraph.C: remove dead comment
2841
2842         * text.C: remove troublesome depth-fiddling code
2843         in leftMargin() and rightMargin() (bug 1017)
2844
2845         * text.C: fix breaking of rows in nested lists
2846         (bug 1004)
2847
2848         * text2.C (updateCounters): fix up depth values
2849         (bug 1013)
2850
2851 2003-04-07  John Levon  <levon@movementarian.org>
2852
2853         * BufferView_pimpl.C: clear message when doc finishes resizing,
2854         and after a mouse event
2855
2856         * lyxfunc.C: clear message after exiting inset
2857
2858 2003-04-07  John Levon  <levon@movementarian.org>
2859
2860         * bufferview_funcs.C: show math status not outside
2861         status in the statusbar
2862
2863 2003-04-07  John Levon  <levon@movementarian.org>
2864
2865         * lyxfunc.C: note status changed after a depth change
2866
2867 2003-04-04  Angus Leeming  <leeming@lyx.org>
2868
2869         * LaTeX.h: move AuxInfo operator==, != out of line.
2870         Remove LaTeX virtual destructor; nothing derives from it.
2871         Move operator()() out of public area and rename it startscript().
2872         Change protected for private.
2873
2874 2003-04-04  Angus Leeming  <leeming@lyx.org>
2875
2876         * lyxfunc.C:
2877         * text2.C: remove unneeded #includes.
2878
2879 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * text2.C (dEPM): fix the heigth of the next row
2882
2883 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2884
2885         * text.C: squashed an invalid getChar requester + some ws changes
2886
2887 2003-04-03  John Levon  <levon@movementarian.org>
2888
2889         * bufferview_funcs.h:
2890         * bufferview_funcs.C:
2891         * lyxfunc.C:
2892         * lyxtext.h:
2893         * text2.C: make getStatus work for the env depth lfuns
2894
2895 2003-04-03  John Levon  <levon@movementarian.org>
2896
2897         * bufferview_funcs.h:
2898         * bufferview_funcs.C:
2899         * lyxfunc.C:
2900         * lyxtext.h:
2901         * text2.C: parlistize decDepth(), by merging it with incDepth()
2902
2903 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * lyxrow.h: store a ParagraphList::iterator instead of a
2906         Paragraph* and adjust other class functions to suit.
2907
2908         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2909         above.
2910
2911 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * text2.C (setCursor): do not anchor to cursor row for the time being
2914
2915 2003-04-02  John Levon  <levon@movementarian.org>
2916
2917         * LyXAction.C:
2918         * lfuns.h:
2919         * lyx_main.C:
2920         * lyxtext.h:
2921         * text.C:
2922         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2923
2924 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * paragraph.h: make ParagraphList and ParagraphList::iterator
2927         friends of Paragraph.
2928
2929         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2930
2931         * ParagraphList.C: Use the private next_ and previous_ from
2932         Paragraph.
2933
2934 2003-04-01  John Levon  <levon@movementarian.org>
2935
2936         * ToolbarBackend.h:
2937         * ToolbarBackend.C:
2938         * Makefile.am: rename, remove defaults gunk
2939
2940         * MenuBackend.h:
2941         * MenuBackend.C: remove defaults gunk
2942
2943         * Languages.h:
2944         * Languages.C: remove defaults gunk
2945
2946         * lyx_main.h:
2947         * lyx_main.C: error out if files couldn't be found.
2948
2949 2003-04-02  John Levon  <levon@movementarian.org>
2950
2951         * text2.C: make incDepth() use parlist
2952
2953 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * undo_funcs.C (firstUndoParagraph): adjust
2956
2957         * text3.C (gotoInset): adjust
2958         (dispatch): adjust, and rewrite loop.
2959
2960         * text2.C (init): adjust, and rewrite loop.
2961         (redoParagraphs): adjust
2962         (updateInset): adjust, and rewrite loop.
2963         (deleteEmptyParagraphMechanism): adjust
2964
2965         * tabular.C (LyXTabular): adjust
2966         (SetMultiColumn): adjust
2967         (TeXRow): adjust
2968
2969         * lyxtext.[Ch] (ownerParagraph): delete function
2970         (ownerParagraphs): new function returns a ParagraphList.
2971
2972         * BufferView.C (removeAutoInsets): adjust
2973         (insertErrors): adjust
2974         (setCursorFromRow): adjust
2975
2976 2003-04-01  Angus Leeming  <leeming@lyx.org>
2977
2978         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2979         in the frontends.
2980
2981 2003-04-02  John Levon  <levon@movementarian.org>
2982
2983         * lyxtext.h:
2984         * text.C:
2985         * Makefile.am:
2986         * text_funcs.h:
2987         * text_funcs.C: make transposeChars a free function
2988
2989         * lyxrow_funcs.C: remove wrong comment
2990
2991 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * lyxtext.h: adjust
2994         * rowpainter.C: adjust
2995         * text.C: adjust
2996         * text2.C: adjust
2997         * text3.C: adjust
2998
2999         * lyxrow_funcs. [Ch]: new files
3000
3001         * lyxrow.[Ch]: remove next and previous pointers
3002         (next,previous): remove accessor functions
3003         (isParEnd): move to lyxrow_funcs
3004         (lastPos): move to lyxrow_funcs
3005         (nextRowIsAllInset): move to lyxrow_funcs
3006         (lastPrintablePos): move to lyxrow_funcs
3007         (numberOfSeparators): move to lyxrow_funcs
3008         (numberOfHfills): move to lyxrow_funcs
3009         (numberOfLabelHfills): move to lyxrow_funcs
3010         (hfillExpansion): move to lyxrow_funcs
3011
3012         * lyxfunc.C: adjust
3013
3014         * bufferview_funcs.C (toggleAndShow): adjust
3015
3016         * RowList.h: Remove class RowList from file leave just a
3017         std::list<Row>.
3018
3019         * RowList.C: delete file
3020
3021         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3022         and lyxrow_funcs.h
3023
3024 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * text3.C (cursorPrevious): adjust
3027         (cursorNext): adjust
3028         (dispatch): adjust
3029
3030         * text2.C (redoHeightOfParagraph): adjust
3031         (redoDrawingOfParagraph): adjust
3032         (setCursor): adjust
3033
3034         * text.C (breakParagraph): adjust
3035         (insertChar): adjust
3036         (backspace): adjust
3037
3038         * rowpainter.C (RowPainter): adjust
3039         (leftMargin): simplify and adjust
3040         (most rowpainter functions): adjust.
3041
3042         * rowpainter.h: store the row as RowList::iterator not as Row*
3043
3044         * lyxcursor.C (row): taka RowList::iterator as arg
3045         (irow): ditto
3046
3047         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3048         of Row*.
3049
3050 2003-04-01  Angus Leeming  <leeming@lyx.org>
3051
3052         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3053         stuff like bool Bool.
3054
3055 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3056
3057         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3058         rewrite a loop
3059
3060 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3063         RowList::iterator.
3064
3065         * lyxtext.h (rows): drop one version and leve a const variant that
3066         returns a RowList::iterator.
3067
3068 2003-03-31  Angus Leeming  <leeming@lyx.org>
3069
3070         * text.C (fill): ensure that the signature is the same as that in the
3071         header file.
3072
3073 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3074
3075         * text2.C (redoParagraphs): adjust
3076         (updateCounters): adjust
3077         (checkParagraph): adjust
3078         (getColumnNearX): adjust and reformat a bit.
3079
3080         * text.C (top_y): adjust
3081         (workWidth): adjust
3082         (leftMargin): adjust
3083         (prepareToPrint): adjust
3084         (getRow): adjust
3085         (getRowNearY): adjust
3086
3087         * lyxtext.h: make rowlist_ mutable.
3088
3089         * RowList.h: add const_iterator
3090         * RowList.C: adjust for RowList::const_iterator.
3091
3092         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3093         adjust.
3094
3095 2003-03-31  John Levon  <levon@movementarian.org>
3096
3097         * lyxrc.h:
3098         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3099
3100         * lyx_main.C: set default fonts from using lyx_gui funcs
3101
3102         * exporter.C: pdf_mode moved from lyxrc
3103
3104         * lyx_cb.C:
3105         * lyxfunc.C: changes from above
3106
3107 2003-03-31  John Levon  <levon@movementarian.org>
3108
3109         * lyx_main.C: fix to the last fix
3110
3111 2003-03-31  John Levon  <levon@movementarian.org>
3112
3113         * bufferlist.C: "Load original" -> "Load Original"
3114
3115         * converter.C:
3116         * exporter.C:
3117         * importer.C:
3118         * lyx_main.C:
3119         * format.C: more Alert cleanups
3120
3121 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * text2.C (removeParagraph): make it take a RowList::iterator as
3124         arg, adjust.
3125         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3126         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3127
3128         * text.C (anchor_row): make it take a RowList::iterator as arg,
3129         adjust.
3130         (computeBidiTables): make it take a const reference to Row instead
3131         of Row pointer, adjust.
3132         (leftMargin): make it take a RowList::iterator as arg, adjust.
3133         (rowBreakPoint): adjust
3134         (breakAgainOneRow): make it take a RowList::iterator as arg,
3135         adjust.
3136         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3137
3138         * bufferview_funcs.C (toggleAndShow): adjust
3139
3140 2003-03-30  John Levon  <levon@movementarian.org>
3141
3142         * Makefile.am:
3143         * BoostFormat.h:
3144         * boost-inst.C: moved to support
3145
3146         * several files: changes as a result
3147
3148 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * text2.C (LyXText): adjust.
3151         (init): adjust
3152         (removeRow): make it take a RowList::iterator as arg, adjust.
3153         (fullRebreak): adjust
3154         (deleteEmptyParagraphMechanism): adjust
3155         (clearPaint): adjust
3156         (postPaint): adjust
3157
3158         * text.C (top_y): adjust
3159         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3160         (breakAgain): make it take a RowList::iterator as arg, adjust.
3161         (breakParagraph): adjust
3162         (insertChar): adjust
3163         (backspace): adjust
3164
3165         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3166         need_break_row, and refresh_row.
3167
3168         * text3.C (dispatch): adjust
3169
3170         * text2.C (checkParagraph): adjust
3171         (setCursor): adjust
3172         (setCursorFromCoordinates): adjust
3173
3174         * text.C (top_y): adjust
3175         (workWidth): adjust
3176         (getRow): make it return a RowList::iterator, adjust
3177         (getRowNearY): make it return a RowList::iterator, adjust
3178
3179         * text2.C (init): adjust
3180         (insertRow): remove function
3181         (insertParagraph): adjust
3182         (redoParagraphs): adjust
3183         (fullRebreak): adjust
3184         (updateCounters): adjust
3185
3186         * text.C (top_y): rewrite to use RowList iterators.
3187         (top_y): adjust
3188         (setHeightOfRow): rewrite to sue RowList iterators.
3189         (appendParagraph): adjust
3190         (breakAgain): adjust
3191         (breakAgainOneRow): adjust
3192         (breakParagraph): adjust
3193         (getRow): adjust
3194         (getRowNearY): adjust, and remove commented code.
3195
3196         * lyxtext.h (firstRow): delete function
3197         (lastRow): delete function
3198         (rows): new function (const and non-const versions.)
3199         (insertRow): delete function
3200
3201         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3202
3203 2003-03-29  John Levon  <levon@movementarian.org>
3204
3205         * BufferView_pimpl.C: always update scrollbar top
3206         because pasting text when we're anchored could mean we
3207         miss an update altogether
3208
3209 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * text2.C (init): use rowlist_.end() and not 0.
3212         (insertRow): change to take a RowList::iterator as arg, adjust
3213         for this.
3214         (insertParagraph): change to take a RowList::iterator as arg,
3215         adjust for this.
3216         (redoParagraphs): remove some debug msgs.
3217
3218         * text.C (appendParagraph): change to take a RowList::iterator
3219         arg, adjust for this.
3220         (breakAgain): add an assert
3221         (breakAgainOneRow): ditto
3222
3223 2003-03-29  John Levon  <levon@movementarian.org>
3224
3225         * text2.C: do not clear selection after inc/decDepth
3226         (bug 550)
3227
3228 2003-03-29  John Levon  <levon@movementarian.org>
3229
3230         * BufferView.C:
3231         * buffer.C: fix broken strerrors according to Lars
3232
3233 2003-03-29  John Levon  <levon@movementarian.org>
3234
3235         * converters.C: more Alert cleanups
3236
3237 2003-03-29  John Levon  <levon@movementarian.org>
3238
3239         * bufferview_funcs.C: remove pointless Alert
3240
3241         * buffer.C: fix confusing error message when
3242         a template is chmoded 000
3243
3244 2003-03-29  John Levon  <levon@movementarian.org>
3245
3246         * BufferView.C:
3247         * BufferView.h:
3248         * BufferView_pimpl.C: Alert fixes
3249
3250         * Makefile.am:
3251         * tabular.C:
3252         * tabular-old.C: remove unused table compat reading
3253
3254 2003-03-29  John Levon  <levon@movementarian.org>
3255
3256         * BufferView.C:
3257         * buffer.C:
3258         * lyx_cb.h:
3259         * lyx_cb.C: more Alert cleanups
3260
3261         * lyxfunc.C: don't allow chktex if not latex document
3262
3263 2003-03-29  John Levon  <levon@movementarian.org>
3264
3265         * lyx_cb.C:
3266         * BufferView.C:
3267         * buffer.C: warnings pushed down from support/,
3268         kill err_alert
3269
3270 2003-03-29  John Levon  <levon@movementarian.org>
3271
3272         * lyxfunc.C: safety check for C-r (revert)
3273
3274 2003-03-29  John Levon  <levon@movementarian.org>
3275
3276         * bufferlist.h:
3277         * bufferlist.C: several UI fixes using Alert::prompt.
3278         Fix the pointless looping quit code. Fix stupid revert
3279         behaviour (bug 938)
3280
3281         * lyxvc.h:
3282         * lyxvc.C:
3283         * lyx_cb.C: use Alert::prompt
3284
3285         * lyx_main.C: remove a silly question
3286
3287         * lyxfunc.C: remove a couple of silly questions,
3288         use Alert::prompt
3289
3290 2003-03-28  John Levon  <levon@movementarian.org>
3291
3292         * text2.C: fix bug 974 (End on empty par)
3293
3294 2003-03-28  John Levon  <levon@movementarian.org>
3295
3296         * BufferView_pimpl.C:
3297         * LyXAction.C:
3298         * lfuns.h: remove do-nothing math greek lfuns
3299
3300 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3301
3302         * lyxgluelength.h (isValidGlueLength): add default arg on
3303         parameter 2. Remove default arg from friend in class.
3304
3305         * lyxlength.h (isValidLength): add default arg on parameter 2.
3306         Remove default arg from friend in class.
3307
3308         * text2.C (LyXText): adjust, initialize refresh_row.
3309         (init): adjust
3310         (removeRow): adjust
3311         (insertRow): adjust
3312         (insertParagraph): adjst
3313         (redoParagraphs): adjust
3314         (fullRebreak): adjust
3315         (updateCounters): adjust
3316         (deleteEmptyParagraphMechanism): first attempt at fixing a
3317         crashing bug.
3318
3319         * text.C (top_y): adjust
3320         (setHeightOfRow): adjust
3321         (getRow): adjust
3322         (getRowNearY): adjust
3323
3324         * lyxtext.h: include RowList.h
3325         (~LyXText): not needed anymore, deleted.
3326         (firstRow): modify for RowList
3327         (lastRow): new function
3328         Delete firstrow and lastrow class variables, add a Rowlist
3329         rowlist_ class variable.
3330
3331         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3332         paragraph is empty.
3333
3334         * RowList.C (insert): fix case where it == begin().
3335
3336 2003-03-26  Angus Leeming  <leeming@lyx.org>
3337
3338         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3339         the thesaurus dialog.
3340
3341 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3342
3343         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3344
3345         * RowList.[Ch]: new files
3346
3347         * ParagraphList.C (erase): handle the case where it == begin
3348         correctly.
3349
3350 2003-03-25  John Levon  <levon@movementarian.org>
3351
3352         * Makefile.am:
3353         * aspell_local.h:
3354         * aspell.C: add new aspell support
3355
3356         * lyxrc.h:
3357         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3358         have it accessible.
3359
3360 2003-03-25  Angus Leeming  <leeming@lyx.org>
3361
3362         * lfuns.h:
3363         * LyXAction.C (init): new LFUN_INSET_INSERT.
3364
3365         * BufferView_pimpl.C (dispatch): split out part of the
3366         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3367
3368         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3369         LFUN_INSET_APPLY.
3370
3371 2003-03-25  Angus Leeming  <leeming@lyx.org>
3372
3373         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3374
3375 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3376
3377         * text2.C:
3378         * text3.C: remove useless row->height(0)
3379
3380 2003-03-25  John Levon  <levon@movementarian.org>
3381
3382         * lyxtext.h:
3383         * text2.C:
3384         * text3.C: rename the refreshing stuff to better names
3385
3386 2003-03-24  John Levon  <levon@movementarian.org>
3387
3388         * BufferView_pimpl.h:
3389         * BufferView_pimpl.C: update layout choice on a mouse
3390         press/release
3391
3392 2003-03-23  John Levon  <levon@movementarian.org>
3393
3394         * Makefile.am: fix commandtags.h reference
3395
3396 2003-03-22  John Levon  <levon@movementarian.org>
3397
3398         * BufferView_pimpl.C:
3399         * lyxtext.h:
3400         * rowpainter.C:
3401         * rowpainter.h:
3402         * text.C:
3403         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3404
3405 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3406
3407         * lyxtext.h:
3408         * text.C: take the rtl methods out of line
3409
3410 2003-03-21 André Pönitz <poenitz@gmx.net>
3411
3412         * metricsinfo.[Ch]: new files containing structures to be passed around
3413         during the two-phase-drawing...
3414
3415 2003-03-21 André Pönitz <poenitz@gmx.net>
3416
3417         * lyxtextclass.C: read 'environment' tag.
3418
3419 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * text2.C (removeRow): fix bug 964
3422
3423 2003-03-20  John Levon  <levon@movementarian.org>
3424
3425         * rowpainter.C:
3426         * text.C:
3427         * text2.C: paint cleanups. Inset::update() dropped font
3428         parameter
3429
3430 2003-03-19  John Levon  <levon@movementarian.org>
3431
3432         * lyxfunc.C: only fitcursor/markDirty if available()
3433
3434 2003-03-19  John Levon  <levon@movementarian.org>
3435
3436         * commandtags.h: rename to ...
3437
3438         * lfuns.h: ... this, and renumber / cleanup
3439
3440 2003-03-19  John Levon  <levon@movementarian.org>
3441
3442         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3443         fit the cursor after an lfun
3444
3445         * BufferView.h:
3446         * BufferView.C:
3447         * BufferView_pimpl.h:
3448         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3449
3450         * LyXAction.C: layout-character should have ReadOnly
3451
3452         * ParagraphParameters.C:
3453         * buffer.C:
3454         * bufferview_funcs.C:
3455         * lyx_cb.C:
3456         * lyxfind.C:
3457         * lyxtext.h:
3458         * text.C:
3459         * text2.C:
3460         * text3.C:
3461         * undo_funcs.C: changes from above
3462
3463 2003-03-18  John Levon  <levon@movementarian.org>
3464
3465         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3466         remove it from update()
3467
3468         * lyxfunc.C: update layout choice after an lfun
3469
3470         * text3.C: remove extra updateLayoutChoice()s
3471
3472 2003-03-18  John Levon  <levon@movementarian.org>
3473
3474         * text.C: top_y change means full repaint, fix
3475         a drawing bug with cursor movement
3476
3477 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * lyxtext.h:
3480         * text.C:
3481         * text2.C: anchor row on setCursor
3482
3483 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * lyxtext.h: remove almost all mutable keywords
3486         * text.C:
3487         * text2.C:
3488         * text3.C: remove const keywords accordingly
3489
3490 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3493         anon namespace
3494         (TeXEnvironment): ditto
3495         (TeXOnePar): ditto
3496
3497 2003-03-17  John Levon  <levon@movementarian.org>
3498
3499         * text.C (rowBreakPoint): remove attempt to fix displayed
3500         math insets inside a manual label
3501
3502 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * lyxtext.h: remove BufferView* as first arg from almost all class
3505         functions.
3506         * other files: adjust.
3507
3508 2003-03-17  John Levon  <levon@movementarian.org>
3509
3510         * lyxtext.h:
3511         * undo_funcs.C:
3512         * text2.C: more paint cleanups
3513
3514         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3515
3516         * rowpainter.h:
3517         * rowpainter.C: remove "smart" background painting code
3518
3519 2003-03-16  John Levon  <levon@movementarian.org>
3520
3521         * lyxtext.h:
3522         * text.C:
3523         * text2.C:
3524         * text3.C: add helper functions for setting refresh_row/y
3525
3526 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3527
3528         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3529         newline inset which *can* get inserted in the pass_thru layouts.
3530         This is primarily for literate documents.
3531
3532 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3533
3534         * buffer.C: increment LYX_FORMAT to 223
3535
3536 2003-03-14 André Pönitz <poenitz@gmx.net>
3537
3538         * textclass.h: prepare for environment handling, ws changes
3539         * lyxlayout.C: read latexheader and latexfooter tags
3540
3541 2003-03-14  John Levon  <levon@movementarian.org>
3542
3543         * text2.C: rewrite ::status() a bit
3544
3545 2003-03-13  John Levon  <levon@movementarian.org>
3546
3547         * lyxtext.h: add some docs
3548
3549 2003-03-13  John Levon  <levon@movementarian.org>
3550
3551         * lyxtext.h:
3552         * text.C:
3553         * text2.C:
3554         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3555
3556 2003-03-13  John Levon  <levon@movementarian.org>
3557
3558         * text3.C: fix appendix redrawing
3559
3560 2003-03-13  John Levon  <levon@movementarian.org>
3561
3562         * text.C (setHeightOfRow):
3563         * rowpainter.h:
3564         * rowpainter.C: make appendix mark have the text
3565           "Appendix" so the user knows what it is
3566
3567         * LColor.h:
3568         * LColor.C: s/appendixline/appendix/ from above
3569
3570 2003-03-13  John Levon  <levon@movementarian.org>
3571
3572         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3573
3574         * text.C: fix a getChar(pos) bug properly
3575
3576 2003-03-13  Angus Leeming  <leeming@lyx.org>
3577
3578         * commandtags.h:
3579         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3580         Probably only temporary. Let's see how things pan out.
3581
3582         * BufferView.C (unlockInset):
3583         * BufferView_pimpl.C (fitCursor):
3584         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3585
3586         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3587         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3588
3589         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3590         new functions that convert ParagraphParameters to and from a string.
3591
3592         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3593         BufferView::Pimpl's dispatch.
3594         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3595
3596 2003-03-13 André Pönitz <poenitz@gmx.net>
3597
3598         * lyxfunc.C:
3599         * text3.C:
3600         * factory.C: make it aware of InsetEnv
3601
3602 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3603
3604         * text2.C (setCursor): never ask for one past last
3605         (setCursor): add some debugging messages.
3606
3607         * text.C (singleWidth): never ask for one past last
3608         (singleWidth): ditto
3609         (leftMargin): ditto
3610         (rightMargin): ditto
3611         (rowBreakPoint): ditto
3612         (setHeightOfRow): ditto
3613         (prepareToPrint): ditto
3614
3615         * rowpainter.C (paintBackground): never ask for one past last
3616         (paintText): never ask for one past last
3617
3618         * paragraph_pimpl.C (getChar): make the assert stricter, never
3619         allow the one past last pos to be taken
3620
3621         * paragraph.C (getChar): ws changes only
3622
3623         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3624         (numberOfSeparators): ditto
3625         (numberOfHfills): ditto
3626
3627 2003-03-12  John Levon  <levon@movementarian.org>
3628
3629         * author.h:
3630         * author.C:
3631         * bufferparams.h:
3632         * bufferparams.C:
3633         * paragraph_funcs.C: fix per-buffer authorlists
3634
3635 2003-03-12  John Levon  <levon@movementarian.org>
3636
3637         * text.C: fix newline in right address
3638
3639 2003-03-12  Angus Leeming  <leeming@lyx.org>
3640
3641         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3642         duplicate those in LyXFunc::dispatch.
3643
3644         * commandtags.h:
3645         * LyXAction.C:
3646         * ToolbarDefaults.C:
3647         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3648         Add LFUN_FONTFREE_UPDATE.
3649
3650         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3651         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3652
3653         * bufferview_func.[Ch]: several new functions to facilliate
3654         transfer of data to and from the character dialog.
3655
3656 2003-03-12  John Levon  <levon@movementarian.org>
3657
3658         * buffer.C:
3659         * paragraph.h:
3660         * paragraph.C:
3661         * paragraph_funcs.C:
3662         * paragraph_pimpl.C:
3663         * sgml.C:
3664         * tabular.C:
3665         * text.C:
3666         * text3.C: remove META_NEWLINE in favour of an inset
3667
3668         * rowpainter.h:
3669         * rowpainter.C: remove paintNewline (done by inset)
3670
3671 2003-03-12  John Levon  <levon@movementarian.org>
3672
3673         * paragraph_pimpl.C: complain about bad getChar()s
3674         for a while at least
3675
3676 2003-03-12  John Levon  <levon@movementarian.org>
3677
3678         * buffer.h:
3679         * buffer.C: move paragraph read into a separate function,
3680         a little renaming to reflect that.
3681
3682         * bufferparams.h:
3683         * bufferparams.C: remove the author_ids map, not necessary now
3684
3685         * factory.h:
3686         * factory.C: moved Buffer::readInset to here
3687
3688         * paragraph_funcs.h:
3689         * paragraph_funcs.C: readParagraph free function moved from
3690         buffer.C
3691
3692         * tabular.C: name change
3693
3694 2003-03-12  John Levon  <levon@movementarian.org>
3695
3696         * buffer.C:
3697         * ParagraphParameters.C: move par params input to
3698         a read() method
3699
3700         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3701         behave like a normal read from the stream wrt reading
3702         a line vs. a \\token
3703
3704 2003-03-12  John Levon  <levon@movementarian.org>
3705
3706         * paragraph.C:
3707         * ParagraphParameters.h:
3708         * ParagraphParameters.C: move output code to a
3709         ::write() method
3710
3711 2003-03-12  John Levon  <levon@movementarian.org>
3712
3713         * BufferView.C (insertLyXFile):
3714         * buffer.h:
3715         * buffer.C:
3716         * tabular.C: use a parlist iterator for creating the
3717           document.
3718
3719 2003-03-12  John Levon  <levon@movementarian.org>
3720
3721         * buffer.C: make current_change static local not
3722           static file-scope
3723
3724 2003-03-12  John Levon  <levon@movementarian.org>
3725
3726         * buffer.C: fix insertStringAsLines for change tracking
3727
3728 2003-03-12  John Levon  <levon@movementarian.org>
3729
3730         * BufferView.C:
3731         * tabular.C:
3732         * buffer.h:
3733         * buffer.C:
3734         * bufferparams.h:
3735         * bufferparams.C: move author list into params. Rename some
3736           functions. Move the header reading into a separate token
3737           loop. Move the header token reading into BufferParams.
3738
3739 2003-03-12  John Levon  <levon@movementarian.org>
3740
3741         * changes.C: put debug inside lyxerr.debugging() checks
3742
3743 2003-03-11 André Pönitz <poenitz@gmx.net>
3744
3745         * factory.C: make it aware of InsetHFill
3746
3747 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3748
3749         * buffer.C (latexParagraphs): move function from here...
3750         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3751         args.
3752
3753 2003-03-10  Angus Leeming  <leeming@lyx.org>
3754
3755         * LyXAction.C (init): fix bug in poplating array with multiple entries
3756         with the same LFUN (spotted by JMarc).
3757
3758 2003-03-10  John Levon  <levon@movementarian.org>
3759
3760         * text.C:
3761         * text2.C: move getColumnNearX() near its
3762         only call site
3763
3764 2003-03-10  John Levon  <levon@movementarian.org>
3765
3766         * text.C: fix break before a minipage
3767
3768 2003-03-10  John Levon  <levon@movementarian.org>
3769
3770         * text.C: fix the last commit
3771
3772 2003-03-09  John Levon  <levon@movementarian.org>
3773
3774         * lyxtext.h:
3775         * text.C:
3776         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3777         bug 365 (don't break before insets unless needed). Don't
3778         return a value > last under any circumstances.
3779
3780 2003-03-09  Angus Leeming  <leeming@lyx.org>
3781
3782         * BufferView_pimpl.C (trackChanges, dispatch): call
3783         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3784
3785 2003-03-09  Angus Leeming  <leeming@lyx.org>
3786
3787         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3788         than Dialogs::showAboutlyx().
3789
3790 2003-03-09  Angus Leeming  <leeming@lyx.org>
3791
3792         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3793         than Dialogs::showTabularCreate().
3794
3795 2003-03-09  John Levon  <levon@movementarian.org>
3796
3797         * lyxtext.h:
3798         * text.C:
3799         * text2.C: 3rd arg to nextBreakPoint was always the same.
3800           Use references.
3801
3802 2003-03-08  John Levon  <levon@movementarian.org>
3803
3804         * lyxrow.C:
3805         * paragraph.C:
3806         * paragraph.h:
3807         * rowpainter.C:
3808         * text.C:
3809         * text2.C: Remove the "main" bit from the "main body"
3810           notion.
3811
3812 2003-03-08  John Levon  <levon@movementarian.org>
3813
3814         * text.C (leftMargin): The left margin of an empty
3815         manual label paragraph should not include the label width
3816         string length.
3817
3818         * text.C (prepareToPrint): don't attempt to measure hfills
3819         for empty manual label paragraphs - the answer should be 0
3820
3821 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3822
3823         * CutAndPaste.C: remove commented code and reindent.
3824
3825 2003-03-08  John Levon  <levon@movementarian.org>
3826
3827         * lyxfunc.h:
3828         * lyxfunc.C: move reloadBuffer()
3829
3830         * BufferView.h:
3831         * BufferView.C: to here
3832
3833         * lyxvc.C: add comment
3834
3835         * vc-backend.h:
3836         * vc-backend.C: call bv->reload() to avoid
3837           getStatus() check on MENURELOAD
3838
3839 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3840
3841         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3842         to an old format .dep file.
3843
3844 2003-03-07  Angus Leeming  <leeming@lyx.org>
3845
3846         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3847         when the LFUN_MOUSE_RELEASE should have been handled by
3848         inset->localDispatch.
3849
3850 2003-03-07  Angus Leeming  <leeming@lyx.org>
3851
3852         * BufferView_pimpl.C (dispatch):
3853         * LyXAction.C (init):
3854         * ToolbarDefaults.C (init):
3855         * commandtags.h:
3856         * lyxfunc.C (getStatus):
3857         remove LFUN_INSET_GRAPHICS.
3858
3859         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3860
3861 2003-03-07  Angus Leeming  <leeming@lyx.org>
3862
3863         * commandtags.h:
3864         * LyXAction.C (init):
3865         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3866
3867         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3868
3869         * commandtags.h:
3870         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3871
3872         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3873         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3874
3875 2003-03-07  Angus Leeming  <leeming@lyx.org>
3876
3877         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3878         remove "ert".
3879
3880 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * ParagraphList.C (front): new function
3883         (back): implement
3884
3885 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3888         and top_row_offset_. removed var first_y.
3889         * text.C (top_y):
3890         * text2.C (LyXText, removeRow):
3891         * text3.C:
3892         * BufferView_pimpl.C:
3893         use these methods instead of using first_y
3894
3895 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * text2.C (pasteSelection): adjust for checkPastePossible
3898
3899         * CutAndPaste.C: remove Paragraph * buf and replace with
3900         ParagraphList paragraphs.
3901         (DeleteBuffer): delete
3902         (cutSelection): change the tc type to textclass_type
3903         (copySelection): change the tc type to textclass_type
3904         (copySelection): adjust for ParagraphList
3905         (pasteSelection): change the tc type to textclass_type
3906         (pasteSelection): adjust for Paragraphlist
3907         (nrOfParagraphs): simplify for ParagraphList
3908         (checkPastePossible): simplify for ParagraphList
3909         (checkPastePossible): remove unused arg
3910
3911         * ParagraphList.C (insert): handle the case where there are no
3912         paragraphs yet.
3913
3914         * CutAndPaste.h: make CutAndPaste a namespace.
3915
3916         * text3.C (dispatch): adjust
3917
3918         * text.C (breakParagraph): add a ParagraphList as arg
3919
3920         * paragraph_funcs.C (breakParagraph): change to take a
3921         BufferParams and a ParagraphList as args.
3922         (breakParagraphConservative): ditto
3923         (mergeParagraph): ditto
3924         (TeXDeeper): add a ParagraphList arg
3925         (TeXEnvironment): ditto
3926         (TeXOnePar): ditto
3927
3928         * buffer.C (readLyXformat2): adjust
3929         (insertStringAsLines): adjust
3930         (latexParagraphs): adjust
3931
3932         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3933         (cutSelection): adjust
3934         (pasteSelection): adjust
3935
3936         * BufferView_pimpl.C (insertInset): adjust
3937
3938 2003-03-05  Angus Leeming  <leeming@lyx.org>
3939
3940         * commandtags.h:
3941         * LyXAction.C (init):
3942         * BufferView_pimpl.C (dispatch):
3943         * lyxfunc.C (getStatus):
3944         remove LFUN_CHILD_INSERT.
3945
3946         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3947
3948 2003-03-05  Angus Leeming  <leeming@lyx.org>
3949
3950         * commandtags.h:
3951         * LyXAction.C (init):
3952         * src/factory.C (createInset):
3953         * lyxfunc.C (getStatus):
3954         * text3.C (dispatch):
3955         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3956
3957         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3958
3959 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * ParagraphList.C (insert): handle insert right before end()
3962         (erase): fix cases where it can be first or last paragraph.
3963
3964 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3967         Paragraph::next and Paragraph::previous
3968         (TeXOnePar): ditto
3969
3970         * text.C (breakParagraph): adjust
3971
3972         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3973         BufferParams& as arg.
3974         (breakParagraph): use ParagraphList::insert
3975         (breakParagraphConservative): take a Buffer* instead of a
3976         BufferParams& as arg.
3977         (breakParagraphConservative): use ParagraphList::insert.
3978
3979         * buffer.C (insertStringAsLines): un-const it
3980         (insertStringAsLines): adjust
3981
3982         * ParagraphList.C (insert): new function
3983
3984         * CutAndPaste.C (pasteSelection): adjust
3985
3986         * text.C (backspace): adjust
3987
3988         * tabular.C (SetMultiColumn): adjust
3989
3990         * CutAndPaste.C (cutSelection): adjust
3991         (pasteSelection): adjust
3992
3993         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3994         Buffer const * as arg
3995
3996         * ParagraphList.C (erase): new function
3997         * paragraph_funcs.C (mergeParagraph): use it
3998         (mergeParagraph): make it take a Buffer* instead of a
3999         BufferParams* as arg
4000
4001         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4002         as arg
4003         (breakParagraphConservative): ditto
4004
4005         * paragraph.h: remove the breakParagraph friend
4006
4007         * paragraph.C (eraseIntern): new function
4008         (setChange): new function
4009
4010         * paragraph_funcs.C (mergeParagraph): make it take a
4011         ParagraphList::iterator instead of a Paragraph *, adjust
4012         accordingly.
4013
4014         * paragraph.h: move an #endif so that the change tracking stuff
4015         also works in the NO_NEXT case.
4016
4017 2003-03-04  Angus Leeming  <leeming@lyx.org>
4018
4019         * commandtags.h:
4020         * LyXAction.C: new LFUN_INSET_MODIFY.
4021
4022         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4023         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4024
4025 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * several files: ws changes only
4028
4029         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4030         (TeXEnvironment): ditto
4031         (TeXDeeper): ditto
4032
4033         * buffer.C (makeLaTeXFile): adjust
4034         (latexParagraphs): make it take ParagraphList::iterator as args
4035
4036 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4037
4038         * buffer.C (latexParagraphs): adjust
4039
4040         * paragraph.C (TeXOnePar): move function...
4041         (optArgInset): move function...
4042         (TeXEnvironment): move function...
4043         * paragraph_pimpl.C (TeXDeeper): move function...
4044         * paragraph_funcs.C: ...here
4045
4046         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4047
4048 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * buffer.C (readInset): remove compability code for old Figure and
4051         InsetInfo insets
4052
4053 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4054
4055         * buffer.C: ws changes
4056         (readInset):
4057
4058         * BufferView_pimpl.C: ditto
4059         * author.C: ditto
4060         * buffer.h: ditto
4061         * bufferlist.h: ditto
4062         * changes.h: ditto
4063         * lyxfunc.C: ditto
4064
4065 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4066
4067         * converter.[Ch]: split into itself +
4068         * graph.[Ch]
4069         * format.[Ch]
4070         * Makefile.am: += graph.[Ch] + format.[Ch]
4071         * MenuBackend.C
4072         * buffer.C
4073         * exporter.C
4074         * importer.C
4075         * lyx_main.C
4076         * lyxfunc.C
4077         * lyxrc.C: added #include "format.h"
4078
4079 2003-02-27  Angus Leeming  <leeming@lyx.org>
4080
4081         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4082           a label.
4083
4084         * factory.C (createInset): add "label" to the factory.
4085
4086         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4087           string and do no more.
4088
4089 2003-02-27  Angus Leeming  <leeming@lyx.org>
4090
4091         * commandtags.h:
4092         * LyXAction.C (init):
4093         * factory.C (createInset):
4094         * BufferView_pimpl.C (dispatch):
4095           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4096
4097         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4098
4099         * lyxfunc.C (dispatch):
4100         * text3.C (dispatch): pass name to params2string.
4101
4102 2003-02-26  Angus Leeming  <leeming@lyx.org>
4103
4104         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4105           blocks together.
4106           Rearrange the ~includes. Strip out the unnecessary ones.
4107
4108         * factory.C (createInset): reformat.
4109           create new insets for the various LFUN_XYZ_APPLY lfuns.
4110
4111 2003-02-26  John Levon  <levon@movementarian.org>
4112
4113         * lyxrow.h:
4114         * lyxrow.C: add isParStart,isParEnd helpers
4115
4116         * paragraph.h: make isInserted/DeletedText take refs
4117
4118         * paragraph_funcs.h:
4119         * paragraph_funcs.C: remove #if 0'd code
4120
4121         * lyxtext.h:
4122         * text3.C:
4123         * text2.C:
4124         * text.C: use lyxrow helpers above.
4125           Move draw and paint routines to RowPainter.
4126           Make several methods use refs not pointers.
4127           Make backgroundColor() const.
4128           Add markChangeInDraw(), isInInset().
4129           Merge changeRegionCase into changeCase.
4130           Make workWidth() shouldn't-happen code into an Assert.
4131
4132         * rowpainter.h:
4133         * rowpainter.C: new class for painting a row.
4134
4135         * vspace.h:
4136         * vspace.C: make inPixels take a ref
4137
4138 2003-02-26  Angus Leeming  <leeming@lyx.org>
4139
4140         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4141         LFUN_REF_APPLY.
4142
4143 2003-02-25  John Levon  <levon@movementarian.org>
4144
4145         * ispell.C: give the forked command a more accurate name
4146
4147 2003-02-22  John Levon  <levon@movementarian.org>
4148
4149         * toc.h:
4150         * toc.C: make TocItem store an id not a Paragraph *
4151           (bug #913)
4152
4153 2003-02-21  Angus Leeming  <leeming@lyx.org>
4154
4155         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4156           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4157           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4158           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4159           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4160           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4161
4162         * BufferView_pimpl.C (dispatch):
4163         * LyXAction.C (init):
4164         * factory.C (createInset):
4165         * lyxfunc.C (getStatus, dispatch):
4166         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4167
4168 2003-02-21  Angus Leeming  <leeming@lyx.org>
4169
4170         * BufferView_pimpl.C (MenuInsertLyXFile):
4171         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4172         * lyxfunc.C (menuNew, open, doImport):
4173           no longer pass a LyXView & to fileDlg.
4174
4175 2003-02-21  Angus Leeming  <leeming@lyx.org>
4176
4177         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4178         * LyXAction.C: change, BIBKEY to BIBITEM.
4179         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4180         Change InsetBibKey to InsetBibitem.
4181         Change BIBKEY_CODE to BIBITEM_CODE.
4182         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4183         * factory.C: replace insetbib.h with insetbibitem.h.
4184         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4185         * paragraph.C: replace insetbib.h with insetbibitem.h.
4186         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4187         Change bibkey() to bibitem().
4188         * text.C: remove insetbib.h.
4189         * text2.C: replace insetbib.h with insetbibitem.h.
4190         change bibkey() to bibitem().
4191         * text3.C: remove insetbib.h.
4192         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4193
4194 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4195
4196         * lyxrc.C (output): enclose user email in quotes (in case there are
4197         several words)
4198
4199 2003-02-18  John Levon  <levon@movementarian.org>
4200
4201         * buffer.h: add std::
4202
4203 2003-02-17  John Levon  <levon@movementarian.org>
4204
4205         * SpellBase.h:
4206         * ispell.h:
4207         * ispell.C:
4208         * pspell.h:
4209         * pspell.C: reworking. Especially in ispell, a large
4210           number of clean ups and bug fixes.
4211
4212         * lyxfunc.C: fix revert to behave sensibly
4213
4214 2003-02-17 André Pönitz <poenitz@gmx.net>
4215
4216         * LyXAction.C:
4217         * commandtags.h: new LFUN_INSERT_BIBKEY
4218
4219         * layout.h:
4220         * lyxlayout.C:
4221         * buffer.C:
4222         * factory.C:
4223         * text.C:
4224         * text2.C:
4225         * text3.C:
4226         * paragraph.[Ch]:
4227         * paragraph_func.C: remove special bibkey handling
4228
4229 2003-02-17  John Levon  <levon@movementarian.org>
4230
4231         * text.C (Delete): fix case where delete at the end of
4232           the very first paragraph would not merge the pars
4233
4234 2003-02-17  John Levon  <levon@movementarian.org>
4235
4236         * lyxrow.C: fix lastPrintablePos()
4237
4238 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4239
4240         * bufferparams.C (writeLaTeX): add a std:here
4241
4242         * buffer.C: and remove a using directive there
4243
4244 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4245
4246         * buffer.C (makeLaTeXFile): move the code that generates the
4247           preamble...
4248
4249         * bufferparams.C (writeLaTeX): ... in this new method
4250
4251         * LaTeXFeatures.C (getEncodingSet): make const
4252           (getLanguages): make const
4253
4254         * MenuBackend.C (binding): returns the binding associated to this
4255           action
4256           (add): sets the status of each item by calling getStatus. Adds
4257           some intelligence.
4258           (read): add support for OptSubMenu
4259           (expand): remove extra separator at the end of expanded menu
4260
4261 2003-02-15  John Levon  <levon@movementarian.org>
4262
4263         * BufferView.C:
4264         * BufferView_pimpl.C:
4265         * bufferlist.h:
4266         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4267           inset code that had no actual effect. Remove unneeded status
4268           code.
4269
4270 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4271
4272         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4273           in preamble
4274
4275 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4276
4277         * text.C (drawLengthMarker): also draw an arrow marker for
4278           symbolic lengths (medskip...)
4279
4280 2003-02-14  John Levon  <levon@movementarian.org>
4281
4282         * tabular.h:
4283         * tabular.C: better method names
4284
4285 2003-02-14  John Levon  <levon@movementarian.org>
4286
4287         * BufferView_pimpl.C:
4288         * bufferlist.C:
4289         * buffer.C:
4290         * converter.C:
4291         * lyx_cb.C:
4292         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4293           it's a more accurate name. Remove some pointless uses.
4294
4295 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4296
4297         * text2.C (LyXText): change order of initilizers to shut off
4298           warnings
4299
4300 2003-02-14  John Levon  <levon@movementarian.org>
4301
4302         * buffer.C: use ParIterator for getParFromID()
4303
4304         * paragraph.h:
4305         * paragraph.C:
4306         * paragraph_pimpl.h:
4307         * paragraph_pimpl.C: remove unused getParFromID()
4308
4309 2003-02-14  John Levon  <levon@movementarian.org>
4310
4311         * buffer.C: remove some very old #if 0'd parse code
4312
4313 2003-02-13  John Levon  <levon@movementarian.org>
4314
4315         * text.h:
4316         * text.C:
4317         * text2.C: move hfillExpansion(), numberOfSeparators(),
4318           rowLast(), rowLastPrintable(), numberofHfills(),
4319           numberOfLabelHfills() ...
4320
4321         * lyxrow.h:
4322         * lyxrow.C: ... to member functions here.
4323
4324         * paragraph.h:
4325         * paragraph.C:
4326         * lyxtext.h:
4327         * text.C: remove LyXText::beginningOfMainBody(), and call
4328           p->beginningOfMainBody() directly. Move the check for
4329           LABEL_MANUAL into the latter.
4330
4331         * text.h:
4332         * text.C:
4333         * text2.C:
4334         * vspace.C:
4335         * BufferView.h:
4336         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4337
4338         * text.h:
4339         * text.C:
4340         * text2.C:
4341         * text3.C:
4342         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4343           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4344
4345 2003-02-13  John Levon  <levon@movementarian.org>
4346
4347         * CutAndPaste.C: remove debug
4348
4349 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4350
4351         * paragraph.C (asString): remove two unused variables
4352
4353         * lyxtextclass.C (readTitleType):
4354           (Read):
4355           (LyXTextClass): handle new members titletype_ and titlename_
4356
4357         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4358
4359 2003-02-09  John Levon  <levon@movementarian.org>
4360
4361         * buffer.h:
4362         * buffer.C: replace hand-coded list with a map for the dep clean
4363
4364 2003-02-08  John Levon  <levon@movementarian.org>
4365
4366         * LaTeX.C: consolidate code into showRunMessage() helper
4367
4368 2003-02-08  John Levon  <levon@movementarian.org>
4369
4370         * lyxfind.C:
4371         * lyxtext.h:
4372         * text2.C:
4373         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4374           and pass the size in explicitly
4375
4376         * BufferView_pimpl.h:
4377         * BufferView_pimpl.C:
4378         * BufferView.h:
4379         * BufferView.C: add getCurrentChange()
4380
4381         * BufferView_pimpl.h:
4382         * BufferView_pimpl.C: handle change lfuns
4383
4384         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4385           for changes. Mark pasted paragraphs as new.
4386
4387         * support/lyxtime.h:
4388         * support/lyxtime.C:
4389         * DepTable.C: abstract time_t as lyx::time_type
4390
4391         * LColor.h:
4392         * LColor.C: add colours for new text, deleted text, changebars
4393
4394         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4395           package use "usenames" option.
4396
4397         * commandtags.h:
4398         * lyxfunc.C:
4399         * LyXAction.C: add change lfuns
4400
4401         * Makefile.am:
4402         * author.h:
4403         * author.C: author handling
4404
4405         * buffer.h:
4406         * buffer.C: add a per-buffer author list, with first entry as
4407           current author. Handle new .lyx tokens for change tracking. Output
4408           author list to .lyx file. Output dvipost stuff to .tex preamble.
4409           Bump lyx format to 222.
4410
4411         * bufferlist.h:
4412         * bufferlist.C: add setCurrentAuthor() to reset current author details
4413           in all buffers.
4414
4415         * bufferparams.h:
4416         * bufferparams.C: add param for tracking
4417
4418         * bufferview_funcs.C: output change info in minibuffer
4419
4420         * Makefile.am:
4421         * changes.h:
4422         * changes.C: add change-tracking structure
4423
4424         * debug.h:
4425         * debug.C: add CHANGES debug flag
4426
4427         * lyxfind.h:
4428         * lyxfind.C: add code for finding the next change piece
4429
4430         * lyxrc.h:
4431         * lyxrc.C: add user_name and user_email
4432
4433         * lyxrow.h:
4434         * lyxrow.C: add a metric for the top of the text line
4435
4436         * lyxtext.h:
4437         * text.C: implement accept/rejectChange()
4438
4439         * lyxtext.h:
4440         * text.C: paint changebars. Paint new/deleted text in the chosen
4441         colours. Strike through deleted text.
4442
4443         * paragraph.h:
4444         * paragraph.C:
4445         * paragraph_pimpl.h:
4446         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4447           in the current change to the insert functions. Rework erase to
4448           mark text as deleted, adding an eraseIntern() and a range-based
4449           erase(). Implement per-paragraph change lookup and
4450           accept/reject.
4451
4452         * paragraph_funcs.C: Fixup paste for change tracking.
4453
4454         * tabular.C: mark added row/columns as new.
4455
4456         * text.C: fix rowLast() to never return -1. Don't allow
4457           spellchecking of deleted text. Track transpose changes. Don't
4458           allow paragraph break or merge where appropriate.
4459
4460         * text2.C: leave cursor at end of selection after a cut.
4461
4462 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4463
4464         * text.C (getLengthMarkerHeight):
4465         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4466         visible on screen too.
4467
4468 2003-02-07  John Levon  <levon@movementarian.org>
4469
4470         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4471
4472 2003-02-05  Angus Leeming  <leeming@lyx.org>
4473
4474         * lyxserver.C (read_ready): revert my patch of 11 September last year
4475         as it sends PC cpu through the roof. Presumably this means that
4476         the lyxserver will no longer run on an Alpha...
4477
4478 2003-01-30  Angus Leeming  <leeming@lyx.org>
4479
4480         * factory.C (createInset): create an InsetCommandParam of type "index"
4481         and use it to 'do the right thing'.
4482
4483         * text2.C (getStringToIndex): ensure that cursor position is always
4484         reset to the reset_cursor position.
4485
4486 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4487
4488         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4489         disabled.
4490
4491 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4492
4493         * bufferview.C:
4494         * lyxcb.C:
4495         * lyxfunc.C: Output messages with identical spelling, punctuation,
4496         and spaces
4497
4498 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4499
4500         * MenuBackend.C (expandFormats): List only viewable export formats
4501         in "View" menu
4502
4503         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4504         message
4505
4506         * lyxfunc.C (getStatus): Make sure that formats other than
4507         "fax" can also be disabled
4508
4509 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4510
4511         * text3.C (dispatch): put the lfuns that insert insets in 3
4512         groups, and call doInsertInset with appropriate arguments.
4513         (doInsertInset): new function, that creates an inset and inserts
4514         it according to some boolean parameters.
4515
4516 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * buffer.C (readFile): remember to pass on 'par' when calling
4519         readFile recursively.
4520
4521 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4522
4523         * MenuBackend.C (expandFormats): add "..." to import formats.
4524
4525 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4526
4527         * paragraph.C (asString): Remove XForms RTL hacks.
4528
4529 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4530         * buffer.C: fix typo
4531
4532 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * Makefile.am (LIBS): delete var
4535         (lyx_LDADD): add @LIBS@ here instead.
4536
4537 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4538
4539         * Clarify the meaning of "wheel mouse jump"
4540
4541 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4542
4543         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4544         tabular in a float
4545
4546 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4547
4548         * importer.C (Loaders): do not preallocate 3 elements in the
4549         vector, since one ends up with 6 elements otherwise
4550
4551 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4552
4553         * DepTable.C (write): write the file name as last element of the
4554         .dep file (because it may contain spaces)
4555         (read): read info in the right order
4556
4557 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4558
4559         * paragraph_pimpl.C (simpleTeXBlanks):
4560         (simpleTeXSpecialChars):
4561         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4562
4563         * tabular.C (latex): add some missing case statements. Reindent.
4564
4565         * MenuBackend.C (expandToc): remove unused variable.
4566
4567 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4568
4569         * LColor.C:
4570         * LaTeX.C:
4571         * LyXAction.C:
4572         * MenuBackend.C:
4573         * buffer.C:
4574         * exporter.C:
4575         * lyxfunc.C:
4576         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4577         and the like.
4578
4579 2003-01-05  John Levon  <levon@movementarian.org>
4580
4581         * BufferView.h:
4582         * BufferView.C: add getEncoding()
4583
4584         * kbsequence.h:
4585         * kbsequence.C: do not store last keypress
4586
4587         * lyxfunc.h:
4588         * lyxfunc.C: store last keypress here instead. Pass encoding
4589           to getISOEncoded()
4590
4591 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4592
4593         * lyx_main.C (init): remove annoying error message when following
4594         symbolic links (bug #780)
4595
4596 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4597
4598         * text.C (insertChar):
4599         * lyxrc.C (getDescription): remove extra spaces
4600
4601 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4602
4603         * lyxrc.C (getDescription): remove extra spaces
4604
4605 2002-12-20  John Levon  <levon@movementarian.org>
4606
4607         * text3.C: hack fix for page up/down across tall rows
4608
4609 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4610
4611         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4612         not been invoked
4613
4614 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4615
4616         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4617         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4618         thesaurus is not compiled in
4619
4620 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4621
4622         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4623
4624 2002-12-16  Angus Leeming  <leeming@lyx.org>
4625
4626         * lyxrc.[Ch]:
4627         * lyx_main.C (init): remove override_x_deadkeys stuff.
4628
4629 2002-12-12  John Levon  <levon@movementarian.org>
4630
4631         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4632           insert. Only remove shift modifier under strict
4633           circumstances.
4634
4635 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * MenuBackend.C (expandToc): fix crash.
4638
4639 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * MenuBackend.C (expandToc): gettext on float names.
4642
4643 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4644
4645         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4646         implement bool empty() [bug 490]
4647
4648 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4651
4652 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * several files: ws changes
4655
4656 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * text2.C (setCounter): clean up a bit, use boost.format.
4659         (updateCounters): initialize par upon declaration.
4660
4661         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4662         if the layout exists. We do not just store the layout any more.
4663         (SwitchLayoutsBetweenClasses): use boost.format
4664
4665 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4666
4667         * converter.C (convert): if from and to files are the same, use a
4668         temporary files as intermediary
4669
4670 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4671
4672         * commandtags.h:
4673         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4674
4675 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4676
4677         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4678
4679 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * tabular.C (asciiPrintCell): use string(size, char) instead of
4682         explicit loop.
4683
4684         * sgml.C (openTag): fix order of arguments to string constructor
4685         (closeTag): ditto
4686
4687         * lyxfunc.C (dispatch): use boost.format
4688
4689         * lots of files: change "c" -> 'c'
4690
4691 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4692
4693         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4694
4695 2002-11-25  Angus Leeming  <leeming@lyx.org>
4696
4697         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4698
4699         * lyx_main.C (init): compile fix.
4700
4701 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * lyx_cb.C (start): boost.formatify
4704         do not include <iostream>
4705
4706         * lengthcommon.C: ws only
4707
4708         * boost-inst.C,BoostFormat.h: add more explict instantations
4709
4710 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * lots of files: handle USE_BOOST_FORMAT
4713
4714 2002-11-21  John Levon  <levon@movementarian.org>
4715
4716         * pspell.C: fix compile
4717
4718 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4719
4720         * lyxfunc.C (dispatch): use boost::format
4721         (open): ditto
4722         (doImport): ditto
4723
4724         * lyxfont.C (stateText): use boost::format
4725
4726         * lyx_main.C (LyX): use boost::format
4727         (init): ditto
4728         (queryUserLyXDir): ditto
4729         (readRcFile): ditto
4730         (parse_dbg): ditto
4731         (typedef boost::function): use the recommened syntax.
4732
4733         * importer.C (Import): use boost::format
4734
4735         * debug.C (showLevel): use boost::format
4736
4737         * converter.C (view): use boost::format
4738         (convert): ditto
4739         (move): ditto
4740         (scanLog): ditto
4741
4742         * bufferview_funcs.C (currentState): use boost::format
4743
4744         * bufferlist.C (emergencyWrite): use boost::format
4745
4746         * buffer.C (readLyXformat2): use boost::format
4747         (parseSingleLyXformat2Token): ditto
4748
4749         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4750
4751         * LaTeX.C (run): use boost::format
4752
4753         * Chktex.C (scanLogFile): use boost::format
4754
4755         * BufferView_pimpl.C (savePosition): use boost::format
4756         (restorePosition): ditto
4757         (MenuInsertLyXFile): ditto
4758
4759         * BoostFormat.h: help file for explicit instation.
4760
4761 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4762
4763         * tabular.C (latex): Support for block alignment in fixed width
4764         columns.
4765
4766 2002-11-17  John Levon  <levon@movementarian.org>
4767
4768         * BufferView_pimpl.C:
4769         * lyx_cb.C:
4770         * lyxfunc.C: split filedialog into open/save
4771
4772 2002-11-08  Juergen Vigna  <jug@sad.it>
4773
4774         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4775         by my last patch (hopefully).
4776
4777 2002-11-08  John Levon  <levon@movementarian.org>
4778
4779         * iterators.h:
4780         * iterators.C:
4781         * buffer.h:
4782         * buffer.C:
4783         * paragraph.h:
4784         * paragraph.C:
4785         * toc.h:
4786         * toc.C: ParConstIterator, and use it (from Lars)
4787
4788 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4789
4790         * lyxtextclass.[Ch]: revise and add doxygen comments
4791
4792 2002-11-07  John Levon  <levon@movementarian.org>
4793
4794         * text.C: fix progress value for spellchecker
4795
4796         * toc.C: fix navigate menu for insetwrap inside minipage
4797
4798         * paragraph_funcs.C: added FIXME for suspect code
4799
4800 2002-11-07  John Levon  <levon@movementarian.org>
4801
4802         * BufferView_pimpl.C: fix redrawing of insets
4803           on buffer switch
4804
4805 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4806
4807         * text2.C (updateCounters): fix bug 668
4808
4809 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4810
4811         * text3.C (dispatch): Do not make the buffer dirty when moving the
4812         cursor.
4813
4814 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * vc-backend.C: STRCONV
4817         (scanMaster): ditto
4818
4819         * text2.C (setCounter): STRCONV
4820
4821         * paragraph.C (asString): STRCONV
4822
4823         * lyxlength.C (asString): STRCONV
4824         (asLatexString): ditto
4825
4826         * lyxgluelength.C (asString): STRCONV
4827         (asLatexString): ditto
4828
4829         * lyxfunc.C (dispatch): STRCONV
4830         (open): ditto
4831
4832         * lyxfont.C (stateText): STRCONV
4833
4834         * importer.C (Import): STRCONV
4835
4836         * counters.C (labelItem): STRCONV
4837         (numberLabel): ditto
4838         (numberLabel): remove unused ostringstream o
4839
4840         * chset.C: STRCONV
4841         (loadFile): ditto
4842
4843         * bufferview_funcs.C (currentState): STRCONV
4844
4845         * buffer.C (readFile): STRCONV
4846         (asciiParagraph): ditto
4847         (makeLaTeXFile): ditto
4848
4849         * Spacing.C (writeEnvirBegin): STRCONV
4850
4851         * LaTeXFeatures.C (getLanguages): STRCONV
4852         (getPackages): ditto
4853         (getMacros): ditto
4854         (getBabelOptions): ditto
4855         (getTClassPreamble): ditto
4856         (getLyXSGMLEntities): ditto
4857         (getIncludedFiles): ditto
4858
4859         * LaTeX.C: STRCONV
4860         (run): ditto
4861         (scanAuxFile): ditto
4862         (deplog): ditto
4863
4864         * LString.h: add the STRCONV macros
4865
4866         * BufferView_pimpl.C (savePosition): STRCONV
4867         (restorePosition): ditto
4868         (MenuInsertLyXFile): ditto
4869
4870         * vc-backend.C (scanMaster): change from submatch[...] to
4871         submatch.str(...)
4872
4873         * funcrequest.C: include config.h
4874
4875         * factory.C: include config.h
4876
4877         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4878
4879         * box.C: include config.h
4880
4881         * LaTeX.C (scanAuxFile): change from submatch[...] to
4882         submatch.str(...)
4883         (deplog): ditto
4884
4885 2002-10-25  Angus Leeming  <leeming@lyx.org>
4886
4887         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4888
4889         * ispell.[Ch] (setError): new method.
4890         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4891         Use setError() insetead of goto END.
4892
4893         * lyx_cb.C (AutoSave): move out child process into new class
4894         AutoSaveBuffer.
4895
4896 2002-10-30  John Levon  <levon@movementarian.org>
4897
4898         * text3.C: make start appendix undoable
4899
4900 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4901
4902         * lyxlength.C (inPixels): Fix returned value.
4903
4904         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4905         environment.
4906
4907 2002-10-24  Angus Leeming  <leeming@lyx.org>
4908
4909         * lyxgluelength.h: no need to forward declare BufferParams
4910         or BufferView, so don't.
4911
4912 2002-10-21  John Levon  <levon@movementarian.org>
4913
4914         * BufferView.C: menuUndo ->undo, redo
4915
4916         * BufferView.h: document, remove dead, make some methods private
4917
4918         * paragraph_funcs.h:
4919         * paragraph_funcs.C:
4920         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4921
4922         * buffer.h:
4923         * buffer.C:
4924         * sgml.h:
4925         * sgml.C: move sgml open/close tag into sgml.C
4926
4927         * bufferview_funcs.h: unused prototype
4928
4929         * lyxfunc.h:
4930         * lyxfunc.C: remove unused
4931
4932         * lyxtext.h:
4933         * text.C: remove unused
4934
4935 2002-10-21  John Levon  <levon@movementarian.org>
4936
4937         * BufferView.h:
4938         * BufferView.C:
4939         * BufferView_pimpl.h:
4940         * BufferView_pimpl.C: fix mouse wheel handling based on
4941           patch from Darren Freeman
4942
4943 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4944
4945         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4946
4947 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4948
4949         * lyxlength.C (inPixels): Fix hanfling of negative length.
4950         Fix LyXLength::MU case.
4951
4952 2002-10-16  John Levon  <levon@movementarian.org>
4953
4954         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4955
4956 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4957
4958         * converter.C (view): add support for $$i (file name) and $$p
4959         (file path) for the viewer command. If $$i is not specified, then
4960         it is appended to the command (for compatibility with old syntax)
4961
4962 2002-10-14  Juergen Vigna  <jug@sad.it>
4963
4964         * undo_funcs.C (textHandleUndo): alter the order in which the
4965         new undopar is added to the LyXText, as we have to set first
4966         the right prev/next and then add it as otherwise the rebuild of
4967         LyXText is not correct. Also reset the cursor to the right paragraph,
4968         with this IMO we could remove the hack in "redoParagraphs()".
4969
4970 2002-10-09  Angus Leeming  <leeming@lyx.org>
4971
4972         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4973         to turn off an optimisation if a new inset is to be inserted.
4974
4975 2002-10-11 André Pönitz <poenitz@gmx.net>
4976
4977         * lyxtext.h: make some functions public to allow access
4978         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4979
4980 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4981
4982         * text3.C (dispatch): when changing layout, avoid an infinite loop
4983         [bug #652]
4984
4985 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4986
4987         * lyxrc.C (read): treat a viewer or converter command of "none" as
4988         if it were empty.
4989
4990         * MenuBackend.C (expandFormats): for an update, also allow the
4991         formats that are not viewable
4992
4993         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4994         script if it is newer than the lyxrc.defaults in user directory
4995
4996 2002-10-07 André Pönitz <poenitz@gmx.net>
4997
4998         * text.C: Vitaly Lipatov's small i18n fix
4999
5000 2002-09-25  Angus Leeming  <leeming@lyx.org>
5001
5002         * ispell.h: doxygen fix.
5003
5004 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5005
5006         * buffer.h (readFile): Add a new argument to the method, to allow
5007         reading of old-format templates.
5008
5009 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5010
5011         * toc.C (getTocList): Get TOC from InsetWrap.
5012
5013 2002-09-16  John Levon  <levon@movementarian.org>
5014
5015         * lyxfunc.C: check tabular for cut/copy too
5016
5017 2002-09-12  John Levon  <levon@movementarian.org>
5018
5019         * LyXAction.C: tidy
5020
5021         * factory.h:
5022         * factory.C: add header
5023
5024         * paragraph_funcs.h:
5025         * paragraph_funcs.C: cleanup
5026
5027 2002-09-11  John Levon  <levon@movementarian.org>
5028
5029         * PrinterParams.h: odd/even default to true
5030
5031 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5032
5033         * PrinterParams.h: update printer parameters for new xforms dialog
5034
5035 2002-09-11  Angus Leeming  <leeming@lyx.org>
5036
5037         * lyxserver.C (read_ready): re-write to make it more transparent
5038         and to make it work in coherent fashion under Tru64 Unix.
5039
5040 2002-09-11  André Pönitz <poenitz@gmx.net>
5041
5042         * commandtags.h:
5043         * LyXAction.C:
5044         * text3.C: implement LFUN_WORDSEL
5045
5046 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5049         make floatlist_ a boost::shared_ptr<FloatList>
5050
5051         * lyxtextclass.C: include FloatList.h
5052         (LyXTextClass): initialize floatlist_
5053         (TextClassTags): add TC_NOFLOAT
5054         (Read): match "nofloat" to TC_NOFLOAT and use it.
5055         (readFloat): modify call to floatlist_
5056         (floats): ditto
5057         (floats): ditto
5058
5059         * FloatList.[Ch] (FloatList): remove commented out float
5060         initialization.
5061         (erase): new function
5062
5063 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5064
5065         * MenuBackend.C (expandToc): fix crash when there is no document
5066         open
5067
5068 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5069
5070         * many files: Add insetwrap.
5071
5072 2002-09-09  John Levon  <levon@movementarian.org>
5073
5074         * text2.C: remove confusing and awkward depth wraparound
5075
5076 2002-09-09  John Levon  <levon@movementarian.org>
5077
5078         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5079
5080         * buffer.h:
5081         * buffer.C: remove getIncludeonlyList()
5082
5083         * paragraph.C:
5084         * lyxfunc.C: remove headers
5085
5086 2002-09-09  Juergen Vigna  <jug@sad.it>
5087
5088         * text.C (getColumnNearX): fix form Michael this is most
5089         probably a cut&paste bug.
5090
5091 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5092
5093         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5094
5095         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5096         references, ws changes.
5097
5098         * text2.C (init): update counters after init
5099         (insertParagraph): no need to set counter on idividual paragraphs.
5100         (setCounter): access the counters object in the textclass object
5101         on in the buffer object.
5102         (updateCounters): ditto
5103
5104         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5105         shared_ptr<Counters> to avoid loading counters.h in all
5106         compilation units.
5107         (LyXTextClass): initialize ctrs_
5108         (TextClassTags): add TC_COUNTER, and ...
5109         (Read): use it here.
5110         (CounterTags): new tags
5111         (readCounter): new function
5112         (counters): new funtion
5113         (defaultLayoutName): return a const reference
5114
5115         * counters.C (Counters): remove contructor
5116         (newCounter): remove a couple of unneeded statements.
5117         (newCounter): simplify a bit.
5118         (numberLabel): some small formatting changes.
5119
5120         * buffer.[Ch]: remove all traces of counters, move the Counters
5121         object to the LyXTextClass.
5122
5123 2002-09-06  Alain Castera  <castera@in2p3.fr>
5124
5125         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5126         package to set the horizontal alignment on fixed width columns.
5127
5128         * lyx_sty.C:
5129         * lyx_sty.h: added tabularnewline macro def.
5130
5131         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5132
5133 2002-09-06  John Levon  <levon@movementarian.org>
5134
5135         * LyXAction.C: tooltips for sub/superscript
5136
5137         * MenuBackend.C: a bit more verbose
5138
5139         * lyxfunc.C: tiny clean
5140
5141         * undo_funcs.C: document undo_frozen
5142
5143 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * counters.C (Counters): add missing algorithm counter.
5146
5147         * text2.C (setCounter): lookup the counter with layouts latexname
5148         instead of by section number.
5149         (setCounter): use a hackish way to lookup the correct enum
5150         counter.
5151         a float name->type change
5152         reset enum couners with counter name directly instead of depth value.
5153
5154         * counters.C (Counters): remove the push_backs, change to use the
5155         float type not the float name.
5156         (labelItem): remove unused string, float name->type change
5157
5158         * counters.h: don't include vector, loose the enums and sects vectors
5159
5160 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5163         (Read): add float->TC_FLOAT to textclassTags
5164         (Read): and handle it in the switch
5165         (readFloat): new function
5166
5167         * FloatList.C (FloatList): comment out the hardcoded float
5168         definitions.
5169
5170         * lyxlayout.h: ws change.
5171
5172 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5173
5174         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5175
5176 2002-09-03  Angus Leeming  <leeming@lyx.org>
5177
5178         * BufferView_pimpl.h: qualified name is not allowed in member
5179         declaration: WorkArea & Pimpl::workarea() const;
5180
5181         * factory.C: added using std::endl directive.
5182
5183         * text3.C: added using std::find and std::vector directives.
5184
5185 2002-08-29  André Pönitz <poenitz@gmx.net>
5186
5187         * lyxtext.h:
5188         * text2.C: remove unused member number_of_rows
5189
5190         * Makefile.am:
5191         * BufferView2.C: remove file, move contents to...
5192         * BufferView.C: ... here
5193
5194         * BufferView_pimpl.C:
5195         * factory.C: move more inset creation to factory
5196
5197         * vspace.C: avoid direct usage of LyXText, ws changes
5198
5199         * BufferView.[Ch]:
5200                 don't provide direct access to WorkArea, use two simple
5201                 acessors haveSelction() and workHeight() instead
5202
5203
5204 2002-08-29  John Levon  <levon@movementarian.org>
5205
5206         * BufferView_pimpl.C (dispatch): do not continue when
5207           no buffer
5208
5209 2002-08-28  André Pönitz <poenitz@gmx.net>
5210
5211         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5212
5213         * BufferView.h:
5214         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5215
5216 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5217
5218         * buffer.C: increment LYX_FORMAT to 221
5219
5220         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5221         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5222
5223         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5224
5225         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5226
5227 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5228
5229         * factory.C (createInset): use LyXTextClass::floats
5230
5231         * MenuBackend.C (expandFloatListInsert):
5232         (expandFloatInsert):
5233         (expandToc):
5234
5235         * text2.C (setCounter):
5236
5237         * LaTeXFeatures.C (useFloat):
5238         (getFloatDefinitions):
5239
5240         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5241
5242         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5243         floatlist_, with accessor floats().
5244
5245         * FloatList.h: remove global FloatList
5246
5247 2002-08-26  André Pönitz <poenitz@gmx.net>
5248
5249         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5250
5251         * BufferView.h:
5252         * BufferView2.C:
5253         * BufferView_pimpl.C:
5254         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5255
5256 2002-08-25  John Levon  <levon@movementarian.org>
5257
5258         * LyXAction.C: fix margin note description
5259
5260 2002-08-24  John Levon  <levon@movementarian.org>
5261
5262         * buffer.C:
5263         * bufferlist.C:
5264         * bufferview_funcs.C:
5265         * lyxfont.C:
5266         * undo_funcs.C: cleanups
5267
5268         * lyxfunc.C: disable CUT/COPY when no selection
5269
5270 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5271
5272         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5273         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5274
5275         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5276         Add backward compatibility to "mono", "gray" and "no".
5277
5278 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5279
5280         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5281         (and file_format >= 200).
5282
5283 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5284
5285         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5286
5287 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5288
5289         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5290
5291 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5292
5293         * BufferView_pimpl.C:
5294         * LyXAction.C:
5295         * buffer.C:
5296         * commandtags.h:
5297         * lyxfunc.C:
5298         * paragraph.[Ch]:
5299         * text2.C:
5300         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5301         inset and code to make it  work with the paragraph code. The inset
5302         can be anywhere in the paragraph, but will only do the expected
5303         thing in LaTeX if the layout file contains the parameter line
5304                         OptionalArgs    1
5305         (or more generally, a nonzero value) for that layout.
5306
5307 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * paragraph.h: remove the declaration of undefined counters class
5310         function.
5311
5312 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5313
5314         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5315         Dr. Richard Hawkins.
5316
5317 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5318
5319         * paragraph_funcs.h: remove some unneeded includes
5320
5321         * text.C (backspace): pasteParagraph now in global scipe
5322
5323         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5324         (pasteSelection): ditto
5325
5326         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5327         * paragraph_funcs.C (pasteParagraph): ... here
5328
5329 2002-08-20  André Pönitz <poenitz@gmx.net>
5330
5331         * commandtags.h: new LFUNs for swapping/copying table row/colums
5332
5333         * LyXAction.C:
5334         * lyxfunc.C: support for new lfuns
5335
5336 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * tabular.C:
5339         * buffer.[Ch]: remove NO_COMPABILITY stuff
5340
5341 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * boost.C (throw_exception): new file, with helper function for
5344         boost compiled without exceptions.
5345
5346         * paragraph.h:
5347         * lyxlength.C:
5348         * buffer.C:
5349         * ParameterStruct.h:
5350         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5351
5352         * bufferlist.C (emergencyWriteAll): use boost bind
5353
5354         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5355
5356         * text.C: include paragraph_funcs.h
5357         (breakParagraph): breakParagraph is now in global scope
5358
5359         * paragraph_funcs.[Ch]: new files
5360
5361         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5362         global scope
5363
5364         * buffer.C: include paragraph_funcs.h
5365         (insertStringAsLines): breakParagraph is now in global scope
5366
5367         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5368         paragraph_funcs.C
5369
5370         * CutAndPaste.C: include paragraph_funcs.h
5371         (cutSelection): breakParagraphConservative is now in global scope
5372         (pasteSelection): ditto
5373
5374         * buffer.h: declare oprator== and operator!= for
5375         Buffer::inset_iterator
5376
5377         * bufferlist.C (emergencyWrite): don't use fmt(...)
5378
5379         * text3.C: add using std::endl
5380
5381         * BufferView.C (moveCursorUpdate): remove default arg
5382
5383 2002-08-20  André Pönitz <poenitz@gmx.net>
5384
5385         * buffer.[Ch]: move inline functions to .C
5386
5387         * BufferView2.C:
5388         * BufferView_pimpl.C:
5389         * text.C:
5390         * buffer.[Ch]: use improved inset_iterator
5391
5392         * buffer.C:
5393         * paragraph.[Ch]: write one paragraph at a time
5394
5395 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5396
5397         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5398         style if style is not specified.
5399
5400 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5401
5402         * text2.C (setCounter): when searching for right label for a
5403         caption, make sure to recurse to parent insets (so that a caption
5404         in a minipage in a figure float works) (bug #568)
5405
5406 2002-08-20  André Pönitz <poenitz@gmx.net>
5407
5408         * text3.C: new file for LyXText::dispatch() and helpers
5409
5410         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5411
5412         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5413
5414 2002-08-19  André Pönitz <poenitz@gmx.net>
5415
5416         * lyxtext.h:
5417         * text.C: new LyXText::dispatch()
5418
5419         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5420
5421 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5422
5423         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5424
5425         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5426         Hebrew text.
5427
5428 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5429
5430         * Makefile.am: use $(variables) instead of @substitutions@
5431
5432 2002-08-15  André Pönitz <poenitz@gmx.net>
5433
5434         * lyxfunc.C:
5435         * BufferView_pimpl.C: streamlining mathed <-> outer world
5436         interaction
5437
5438         * commandtags.h:
5439         * LyXAction.C: remove unused LFUN_MATH
5440
5441 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5444
5445 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * paragraph.C (Paragraph): reformat a bit
5448         (cutIntoMinibuffer): use builtin InsetList function instad of
5449         doing it manually.
5450         (getInset): ditto
5451
5452         * buffer.C: include boost/bind.hpp, add using std::for_each
5453         (writeFileAscii): use ParagraphList iterators
5454         (validate): use for_each for validate traversal of paragraphs
5455         (getBibkeyList): use ParagraphList iterators
5456         (resizeInsets): use for_each to resizeInsetsLyXText for all
5457         paragraphs.
5458         (getParFromID): use ParagraphList iterators
5459
5460         * BufferView2.C (lockInset): use paragraph list and iterators
5461
5462 2002-08-14  John Levon  <levon@movementarian.org>
5463
5464         * lyxserver.C: remove spurious xforms include
5465
5466 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5467
5468         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5469
5470 2002-08-13  André Pönitz <poenitz@gmx.net>
5471
5472         * LyXAction.[Ch]:
5473         * lyxfunc.C: further cleaning
5474
5475 2002-08-13  André Pönitz <poenitz@gmx.net>
5476
5477         * funcrequest.h: new constructor
5478
5479         * funcrequest.C: move stuff here from .h
5480
5481         * Makefile.am:
5482         * BufferView_pimpl.C:
5483         * LyXAction.C:
5484         * toc.C:
5485         * lyxfunc.C: subsequent changes
5486
5487         * lyxfunc.h: new view() member function
5488
5489         * lyxfunc.C: subsequent changes
5490
5491 2002-08-13  Angus Leeming  <leeming@lyx.org>
5492
5493         * BufferView2.C:
5494         * BufferView_pimpl.C:
5495         * buffer.C:
5496         * converter.C:
5497         * importer.C:
5498         * lyxfunc.C:
5499         * lyxvc.C:
5500         * toc.C:
5501         * vc-backend.C:
5502         changes due to the changed LyXView interface that now returns references
5503         to member variables not pointers.
5504
5505 2002-08-13  Angus Leeming  <leeming@lyx.org>
5506
5507         * WordLangTuple (word, lang_code): return references to strings,
5508         not strings.
5509
5510         * BufferView.h:
5511         * SpellBase.h:
5512         * lyxtext.h: forward-declare WordLangTuple.
5513
5514         * BufferView2.C:
5515         * ispell.C:
5516         * pspell.C:
5517         * text.C: #include "WordLangTuple.h".
5518
5519         * lyxtext.h:
5520         * text.C: (selectNextWordToSpellcheck): constify return type.
5521
5522 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5523
5524         * buffer.C:
5525         * buffer.h:
5526         * lyxtext.h:
5527         * paragraph.C:
5528         * paragraph_pimpl.h:
5529         * text.C:
5530         * text2.C:
5531         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5532         suggested by Angus.
5533         Made updateCounter always count from start of buffer, and removed
5534         second argument (par).
5535         Reverted floats number display to '#'. Perhaps I'll try again when the
5536         code base is sanitized a bit.
5537
5538 2002-08-12  Angus Leeming  <leeming@lyx.org>
5539
5540         * buffer.[Ch] (getLabelList): constify.
5541
5542 2002-08-07  André Pönitz <poenitz@gmx.net>
5543
5544         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5545
5546         * funcrequest.h: extension to keep mouse (x,y) position
5547
5548 2002-08-12  Juergen Vigna  <jug@sad.it>
5549
5550         * BufferView2.C (insertErrors): forbid undo when inserting error
5551         insets.
5552
5553         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5554
5555 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * ParagraphList.[Ch]: new files
5558
5559         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5560
5561         * BufferView2.C (lockInset): ParagraphList changes
5562         * toc.C: ditto
5563         * text2.C: ditto
5564         * bufferlist.C: ditto
5565         * buffer.h: ditto
5566         * buffer.C: ditto
5567
5568 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5571         unused class variable counter_,
5572
5573         * paragraph.[Ch] (getFirstCounter): delete unused function
5574
5575         * counters.C: include LAssert.h
5576         (reset): add a new function with no arg, change other version to
5577         not have def. arg and to not allow empty arg.
5578
5579         * text2.C (setCounter): remove empty arg from call to Counters::reset
5580
5581 2002-08-11  John Levon  <levon@movementarian.org>
5582
5583         * Makefile.am: add WordLangTuple.h
5584
5585 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5588         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5589
5590         * insets/insettext.C: InsetList changes
5591
5592         * graphics/GraphicsSupport.C (operator()): InsetList changes
5593
5594         * toc.C (getTocList): InsetList changes
5595
5596         * paragraph_pimpl.[Ch]: InsetList changes
5597
5598         * paragraph.[Ch]: InsetList changes
5599
5600         * buffer.C (inset_iterator): InsetList changes
5601         (setParagraph): ditto
5602         * buffer.h (inset_iterator): ditto
5603         * iterators.C (operator++): ditto
5604         * iterators.h: ditto
5605
5606         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5607
5608         * InsetList.[Ch]: new files, most InsetList handling moved out of
5609         paragraph.C.
5610
5611         * BufferView2.C (removeAutoInsets): InsetList changes
5612         (lockInset): ditto
5613         (ChangeInsets): ditto
5614
5615 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * paragraph_pimpl.h (empty): new function
5618
5619         * paragraph.[Ch] (empty): new function
5620
5621         * other files: use the new Paragraph::empty function
5622
5623 2002-08-09  John Levon  <levon@movementarian.org>
5624
5625         * lyxtext.h: remove unused refresh_height
5626
5627 2002-08-09  John Levon  <levon@movementarian.org>
5628
5629         * Makefile.am:
5630         * sgml.h:
5631         * sgml.C:
5632         * buffer.C:
5633         * paragraph.h:
5634         * paragraph.C: move sgml char escaping out of paragraph
5635
5636         * paragraph.h:
5637         * paragraph.C: remove id setter
5638
5639         * buffer.C:
5640         * paragraph.C:
5641         * paragraph_pimpl.C: remove dead tex_code_break_column
5642
5643         * bufferview_funcs.C: small cleanup
5644
5645         * lyxfunc.C: remove dead proto
5646
5647         * lyxtext.h: make some stuff private. Remove some dead stuff.
5648
5649         * lyxgluelength.C: make as[LyX]String() readable
5650
5651 2002-08-08  John Levon  <levon@movementarian.org>
5652
5653         * LyXAction.h:
5654         * LyXAction.C:
5655         * MenuBackend.C:
5656         * ToolbarDefaults.C:
5657         * lyxfunc.C:
5658         * lyxrc.C:
5659         * toc.C: lyxaction cleanup
5660
5661 2002-08-08  John Levon  <levon@movementarian.org>
5662
5663         * BufferView2.C: small cleanup
5664
5665         * lyxfind.h:
5666         * lyxfind.C: move unnecessary header into the .C
5667
5668 2002-08-08  John Levon  <levon@movementarian.org>
5669
5670         * funcrequest.h: just tedious nonsense
5671
5672         * lyx_main.h:
5673         * lyx_main.C: cleanups
5674
5675         * buffer.C:
5676         * vspace.C: remove dead header lyx_main.h
5677
5678 2002-08-07  Angus Leeming  <leeming@lyx.org>
5679
5680         * Paragraph.[Ch]:
5681         * paragraph_pimpl.h:
5682         Forward declare class Counters in paragraph.h by moving the ctrs member
5683         variable into Paragraph::Pimpl.
5684         (counters): new method, returning a reference to pimpl_->ctrs.
5685
5686         * text2.C: ensuing changes.
5687
5688 2002-08-07  John Levon  <levon@movementarian.org>
5689
5690         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5691
5692         * BufferView_pimpl.C: announce X selection on double/triple
5693           click
5694
5695         * lyx_main.C: use correct bool in batch dispatch
5696
5697         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5698
5699 2002-08-07  André Pönitz <poenitz@gmx.net>
5700
5701         * funcrequest.h: new class to wrap a kb_action and its argument
5702
5703         * BufferView.[Ch]:
5704         * BufferView_pimpl[Ch]:
5705         * LaTeX.C:
5706         * LyXAction.[Ch]:
5707         * lyxfunc.[Ch]:
5708         * lyxrc.C: subsequent changes
5709
5710
5711 2002-08-07  John Levon  <levon@movementarian.org>
5712
5713         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5714           document options change.
5715
5716 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5717
5718         * counters.[Ch]
5719         * text2.C
5720         * paragraph.[Ch]
5721         * makefile.am: move counters functionality over from
5722         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5723
5724 2002-08-06  John Levon  <levon@movementarian.org>
5725
5726         * WordLangTuple.h: new file for word + language code tuple
5727
5728         * SpellBase.h:
5729         * pspell.h:
5730         * pspell.C:
5731         * ispell.h:
5732         * ispell.C:
5733         * lyxtext.h:
5734         * text.C:
5735         * text2.C:
5736         * BufferView.h:
5737         * BufferView2.C: use WordLangTuple
5738
5739         * layout.h:
5740         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5741
5742 2002-08-06  John Levon  <levon@movementarian.org>
5743
5744         * lyx_main.C: fix cmdline batch handling
5745
5746 2002-08-06  André Pönitz <poenitz@gmx.net>
5747
5748         * lyxrc.C: set default for show_banner to true
5749
5750 2002-08-06  John Levon  <levon@movementarian.org>
5751
5752         * pspell.C: fix a crash, and allow new aspell to work
5753
5754 2002-08-06  John Levon  <levon@movementarian.org>
5755
5756         * lyxfunc.C:
5757         * kbmap.C: small cleanup
5758
5759         * vspace.h:
5760         * vspace.C: add const
5761
5762 2002-08-05  John Levon  <levon@movementarian.org>
5763
5764         * LyXAction.C: back to tabular-insert
5765
5766 2002-08-04  John Levon  <levon@movementarian.org>
5767
5768         * BufferView.h:
5769         * BufferView.C: cosmetic change
5770
5771         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5772
5773         * bufferlist.C:
5774         * buffer.h:
5775         * buffer.C:
5776         * lyxcb.h:
5777         * lyxcb.C:
5778         * lyxserver.C:
5779         * lyxvc.C:
5780         * vc-backend.C:
5781         * BufferView2.C: purge all "Lyx" not "LyX" strings
5782
5783         * lyxcursor.h:
5784         * lyxcursor.C: attempt to add some documentation
5785
5786         * lyxfunc.C:
5787         * commandtags.h:
5788         * LyXAction.C:
5789         * ToolbarDefaults.C:
5790         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5791           merge with LFUN_TABULAR_INSERT
5792
5793         * Makefile.am:
5794         * SpellBase.h:
5795         * ispell.h:
5796         * ispell.C:
5797         * pspell.h:
5798         * pspell.C: split up i/pspell implementations into separate
5799           files, many cleanups
5800
5801         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5802
5803         * text2.C: some cleanup
5804
5805         * lyxfunc.C: don't check for isp_command == "none" any more, it
5806           didn't make any sense
5807
5808 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5809
5810         * counters.[Ch]
5811         * text2.C
5812         * paragraph.[Ch]
5813         * makefile.am: move counters functionality over
5814         from text2.C/paragraph.[Ch] to counters.[Ch], and
5815         make proper C++.
5816 2002-08-02  John Levon  <levon@movementarian.org>
5817
5818         * buffer.C: s/lyxconvert/lyx2lyx/
5819
5820 2002-08-02  Angus Leeming  <leeming@lyx.org>
5821
5822         * lyxlex.C: revert John's change as it breaks reading of the user
5823         preamble.
5824
5825 2002-08-02  Angus Leeming  <leeming@lyx.org>
5826
5827         * importer.C (Import):
5828         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5829         changes due to LyXView::view() now returning a boost::shared_ptr.
5830
5831 2002-08-02  John Levon  <levon@movementarian.org>
5832
5833         * lyxlex.C: small cleanup
5834
5835 2002-08-02  John Levon  <levon@movementarian.org>
5836
5837         * text2.C (status): small cleanup, no logic change
5838
5839 2002-08-01  John Levon  <levon@movementarian.org>
5840
5841         * buffer.h:
5842         * buffer.C (writeFile): don't output alerts, caller
5843           handles this
5844
5845         * bufferlist.C:
5846         * lyx_cb.C: from above
5847
5848         * lyxfunc.C: allow to open non-existent files
5849
5850 2002-07-31  John Levon  <levon@movementarian.org>
5851
5852         * lyxserver.C: don't let incidental errors get
5853           in the way (errno)
5854
5855 2002-07-30  John Levon  <levon@movementarian.org>
5856
5857         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5858
5859 2002-07-30  John Levon  <levon@movementarian.org>
5860
5861         * lyxserver.h:
5862         * lyxserver.C: remove I/O callback too
5863
5864 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5865
5866         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5867         log.
5868
5869 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * many files: strip,frontStrip -> trim,ltrim,rtrim
5872
5873 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * PrinterParams.h: remove extern containsOnly, and include
5876         support/lstrings.h instead.
5877
5878         * LaTeX.C (scanAuxFile): modify because of strip changes
5879         (deplog): ditto
5880         * buffer.C (makeLaTeXFile): ditto
5881         * bufferparams.C (writeFile): ditt
5882         * lyxfont.C (stateText): ditto
5883         * lyxserver.C (read_ready): ditto
5884         * vc-backend.C (scanMaster): ditto
5885
5886         * BufferView_pimpl.h: ws changes
5887
5888         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5889
5890 2002-07-26  André Pönitz <poenitz@gmx.net>
5891
5892         * kb_sequence.C: remove unnedred usings
5893
5894 2002-07-26  Juergen Vigna  <jug@sad.it>
5895
5896         * lyxfind.C (LyXReplace): we have to check better if the returned
5897         text is not of theLockingInset()->getLockingInset().
5898
5899 2002-07-25  Juergen Vigna  <jug@sad.it>
5900
5901         * lyxfind.C (LyXReplace): don't replace if we don't get the
5902         right LyXText.
5903
5904         * undo_funcs.C (createUndo): remove debugging code.
5905
5906 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5907
5908         * buffer.C (parseSingleLyXformat2Token): Use default placement
5909         when reading old floats.
5910
5911         * FloatList.C (FloatList): Change the default placement of figure
5912         and tables to "tbp".
5913
5914 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5915
5916         * MenuBackend.C: using std::max
5917
5918 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5919
5920         * MenuBackend.C (expandToc):
5921         (expandToc2): code moved from xforms menu frontend. It is now
5922         generic and TOCs are transparent to menu frontends.
5923
5924 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5925
5926         * toc.C (getTocList): protect against buf=0
5927
5928         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5929         Menu as first parameter. Now, this calls itself recursively to
5930         expand a whole tree (this will be useful for TOC handling)
5931         (expandFloatInsert): remove 'wide' version of floats
5932
5933         * MenuBackend.h (submenuname): returns the name of the submenu.
5934         (submenu): returns the submenu itself, provided it has been
5935         created by MenuBackend::expand
5936
5937 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5938
5939         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5940         insets which have noFontChange == true. (bug #172)
5941
5942 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5943
5944         * BufferView_pimpl.C: add connection objects and use them...
5945         (Pimpl): here.
5946
5947 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5948
5949         * MenuBackend.C (expandLastfiles):
5950         (expandDocuments):
5951         (expandFormats):
5952         (expandFloatListInsert):
5953         (expandFloatInsert):
5954         (expand): split expand in parts
5955
5956 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5957
5958         * lyx_gui.C: use lyx_gui::exit()
5959
5960 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5961
5962         * LyXAction.C: show the failing pseudo action
5963
5964 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5965
5966         * buffer.C (readFile): Run the lyxconvert script in order to read
5967         old files.
5968
5969 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5970
5971         * LyXAction.C:
5972         * commandtags.h:
5973         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5974
5975 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5976
5977         * LyXAction.C:
5978         * commandtags.h:
5979         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5980
5981 2002-07-22  Herbert Voss  <voss@lyx.org>
5982
5983         * lengthcommon.C:
5984         * lyxlength.[Ch]: add support for the vertical lengths
5985
5986 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5987
5988         * toc.[Ch]: std:: fixes
5989
5990 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5991
5992         * lyxrc.C: do not include lyx_main.h
5993
5994         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5995         for layouts
5996
5997         * lyxrc.C:
5998         * encoding.C:
5999         * bufferlist.C:
6000         * BufferView2.C: include "lyxlex.h"
6001
6002         * tabular.h:
6003         * bufferparams.h: do not #include "lyxlex.h"
6004
6005         * lyxtextclasslist.C (Add): remove method
6006         (classlist): renamed to classlist_
6007
6008         * paragraph_pimpl.C:
6009         * paragraph.C:
6010         * text2.C:
6011         * CutAndPaste.C:
6012         * bufferview_funcs.C:
6013         * bufferlist.C:
6014         * text.C:
6015         * LaTeXFeatures.C:
6016         * buffer.C:
6017         * toc.C (getTocList): use BufferParams::getLyXTextClass
6018
6019         * toc.C (getTocList): use InsetFloat::addToToc
6020
6021         * toc.[Ch]: new files, containing helper functions to handle table
6022         of contents
6023
6024         * lyxfunc.C (dispatch): no need to remove spaces around command
6025         given as a string
6026         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6027         first command of the sequence; it is not very clever, but I do not
6028         have a better idea, actually
6029
6030         * LyXAction.C (LookupFunc): make sure to remove space at the
6031         beginning and end of the command
6032
6033 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6034
6035         * MenuBackend.C (getMenubar): new method: return the menubar of
6036         this menu set
6037         (read): treat differently reading of menu and menubar (in
6038         particular, the menubar has no name now)
6039         (Menu::menubar): remove
6040
6041         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6042         saving is finished
6043
6044 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6045
6046         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6047         a bibitem inset in a RTL paragraph.
6048
6049 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6050
6051         * paragraph_pimpl.C: constify
6052
6053         * BufferView_pimpl.C:
6054         * LaTeX.C:
6055         * lyxfunc.C: fix dispatch in a nicer way
6056
6057 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6058
6059         * lyxfunc.C (dispatch):
6060         * BufferView_pimpl.C:
6061         * BufferView_pimpl.h:
6062         * BufferView.C:
6063         * BufferView.h: rename Dispatch() to dispatch()
6064
6065         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6066
6067         * lyxlayout.C (Read): honor DependsOn tag
6068
6069         * lyxlayout.[Ch] (depends_on): new method
6070
6071         * version.C.in: update lyx_docversion
6072
6073         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6074
6075         * paragraph.C (validate): remove from here...
6076         * paragraph_pimpl.C (validate): ... and move here
6077         (isTextAt): make it const
6078
6079         * buffer.C (getLists): ws cleanup
6080
6081 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6082
6083         * language.C (read): Use iso8859-1 encoding in latex_lang
6084         (this prevents LyX from crashing when using iso10646-1 encoding).
6085
6086 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6087
6088         * text2.C (toggleInset): if cursor is inside an inset, close the
6089         inset and leave cursor _after_ it
6090
6091 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6092
6093         * lyxfunc.C: move minibuffer completion handling out of here
6094
6095 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6096
6097         * BufferView_pimpl.C:
6098         * LaTeX.C: fix dispatch calls
6099
6100 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6101
6102         * text.C (drawChars): Fix Arabic text rendering.
6103
6104 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6105
6106         * LyXAction.C:
6107         * commandtags.h:
6108         * lyxfunc.C: remove message-push/pop
6109
6110         * lyxserver.C:
6111         * lyxfunc.h:
6112         * lyxfunc.C: rationalise some code by removing verboseDispatch
6113           in favour of a bool argument to dispatch()
6114
6115 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6116
6117         * lyx_main.C (init): make sure to read symlinks as absolute paths
6118
6119 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6120
6121         * lyxfunc.h:
6122         * lyxfunc.C: no need for commandshortcut to be a member
6123
6124 2002-07-15  André Pönitz <poenitz@gmx.net>
6125
6126         * converter.C: add support for $$s (scripts from lib/scripts dir)
6127         * lyx_main.C: white space
6128
6129 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6130
6131         * bufferlist.C:
6132         * lyxrc.h:
6133         * lyxrc.C: remove second exit confirmation
6134
6135 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6136
6137         * BufferView.h:
6138         * BufferView.C:
6139         * BufferView2.C:
6140         * BufferView_pimpl.h:
6141         * BufferView_pimpl.C:
6142         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6143
6144 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6145
6146         * MenuBackend.C (expand): add numeric shortcuts to document menu
6147
6148         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6149
6150 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6151
6152         * lyxfont.C (setLyXFamily):
6153         (setLyXSeries):
6154         (setLyXShape):
6155         (setLyXSize):
6156         (setLyXMisc):
6157         (lyxRead):
6158         * debug.C (value):
6159         * buffer.C (asciiParagraph): use ascii_lowercase
6160
6161 2002-07-15  Mike Fabian  <mfabian@suse.de>
6162
6163         * lyxlex_pimpl.C (search_kw):
6164         * lyxlex.C (getLongString):
6165         * converter.h (operator<):
6166         * converter.C (operator<):
6167         * buffer.C (parseSingleLyXformat2Token):
6168         (asciiParagraph):
6169         * ToolbarDefaults.C (read):
6170         * MenuBackend.C (checkShortcuts):
6171         (read):
6172         * LColor.C (getFromGUIName):
6173         (getFromLyXName): use the compare_ascii_no_case instead of
6174         compare_no_case, because in turkish, 'i' is not the lowercase
6175         version of 'I', and thus turkish locale breaks parsing of tags.
6176
6177 2002-07-16  Angus Leeming  <leeming@lyx.org>
6178
6179         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6180         now takes a Buffer const & argument.
6181
6182 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6183
6184         * BufferView.C (resize): check there's a buffer to resize
6185
6186 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6187
6188         * lyxfunc.C: remove dead code
6189
6190         * lyxserver.h:
6191         * lyxserver.C: use lyx_guii::set_read_callback
6192
6193 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6194
6195         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6196         an inset in a RTL paragraph.
6197
6198 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6199
6200         * lyxfunc.C: repaint after a font size update
6201
6202 2002-07-15  André Pönitz <poenitz@gmx.net>
6203
6204         * lyxlength.C: inBP should be able to return negative values
6205
6206 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6207
6208         * lyxfunc.C: use lyx_gui::update_fonts()
6209
6210 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6211
6212         * lyxfunc.C: use lyx_gui::update_color()
6213
6214 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6215
6216         * bufferlist.C:
6217         * lyxfunc.h:
6218         * lyxfunc.C:
6219         * lyxrc.h:
6220         * lyxrc.C: remove file->new asks for name option, and let
6221           buffer-new take an argument
6222
6223 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6224
6225         * BufferView_pimpl.C: remove unneeded extra repaint()
6226
6227 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6228
6229         * LyXAction.C: allow command-sequence with NoBuffer
6230
6231         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6232
6233 2002-07-10  Angus Leeming  <leeming@lyx.org>
6234
6235         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6236
6237 2002-07-09  Angus Leeming  <leeming@lyx.org>
6238
6239         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6240
6241 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6242
6243         * lengthcommon.h: whitespace
6244
6245         * lyxfunc.C: update scrollbar after goto paragraph
6246
6247         * lyxtext.h: factor out page break drawing, and fix it so
6248           page break/added space paints as selected nicely
6249
6250 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6251
6252         * BufferView_pimpl.C: add FIXMEs, clean up a little
6253
6254 2002-07-09  André Pönitz <poenitz@gmx.net>
6255
6256         * lyxfont.[Ch]: support for wasy symbols
6257
6258 2002-07-08  André Pönitz <poenitz@gmx.net>
6259
6260         * BufferView_pimpl.C: apply John's patch for #93.
6261
6262 2002-07-05  Angus Leeming  <leeming@lyx.org>
6263
6264         * BufferView_pimpl.C (buffer): generate previews if desired.
6265
6266         * LColor.h: add "preview" to the color enum.
6267
6268         * LColor.C (LColor): add a corresponding entry to the items array.
6269
6270         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6271         with this buffer.
6272
6273 2002-07-05  Angus Leeming  <leeming@lyx.org>
6274
6275         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6276         The body of the code is now in the method that is passed an ostream &
6277         rather than a file name.
6278         Pass an additional only_preamble parameter, useful for the forthcoming
6279         preview stuff.
6280
6281 2002-07-03  André Pönitz <poenitz@gmx.net>
6282
6283         * lyxfunc.C: simplify getStatus() a bit for math stuff
6284
6285 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6286
6287         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6288
6289 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6290
6291         * text.C (changeRegionCase): do not change case of all the
6292         document when region ends at paragraph end (bug #461)
6293
6294 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6295
6296         * paragraph.C (startTeXParParams):
6297         (endTeXParParams): add \protect when necessary
6298
6299 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6300
6301         * BufferView_pimpl.C (workAreaExpose): remove warning
6302
6303 2002-06-27  Angus Leeming  <leeming@lyx.org>
6304
6305         * Makefile.am: add lyxlayout_ptr_fwd.h.
6306
6307 2002-06-26  André Pönitz <poenitz@gmx.net>
6308
6309         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6310
6311 2002-06-25  Angus Leeming  <leeming@lyx.org>
6312
6313         * lyxfunc.C (dispatch): Comment out the call to
6314         grfx::GCache::changeDisplay. The method no longer exists now that the
6315         pixmap generation part of the graphics loader has been moved into
6316         InsetGraphics.
6317
6318 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6319
6320         * text2.C: layout as layout
6321
6322         * text.C: layout as layout
6323
6324         * tabular.C (OldFormatRead): layout as layout
6325
6326         * paragraph_pimpl.C (TeXDeeper): layout as layout
6327         (realizeFont): layout as layout
6328
6329         * paragraph.C (writeFile): layout as layout
6330         (validate): layout as layout
6331         (getFont): layout as layout
6332         (getLabelFont): layout as layout
6333         (getLayoutFont): layout as layout
6334         (breakParagraph): layout as layout
6335         (stripLeadingSpaces): layout as layout
6336         (getEndLabel): layout as layout
6337         (getMaxDepthAfter): layout as layout
6338         (applyLayout): layout as layout
6339         (TeXOnePar): layout as layout
6340         (simpleTeXOnePar): layout as layout
6341         (TeXEnvironment): layout as layout
6342         (layout): layout as layout
6343         (layout): layout as layout
6344
6345         * lyxtextclass.C (compare_name): new functor to work with
6346         shared_ptr, layout as layout
6347         (Read): layout as layout
6348         (hasLayout): layout as layout
6349         (operator): layout as layout
6350         (delete_layout): layout as layout
6351         (defaultLayout): layout as layout
6352
6353         * lyxlayout_ptr_fwd.h: new file
6354
6355         * lyxlayout.C (Read): layout as layout
6356
6357         * lyx_cb.C (MenuInsertLabel): layout as layout
6358
6359         * bufferlist.C (newFile): layout as layout
6360
6361         * buffer.C (readLyXformat2): layout as layout
6362         (parseSingleLyXformat2Token): layout as layout
6363         (insertStringAsLines): layout as layout
6364         (asciiParagraph): layout as layout
6365         (latexParagraphs): layout as layout
6366         (makeLinuxDocFile): layout as layout
6367         (simpleLinuxDocOnePar): layout as layout
6368         (makeDocBookFile): layout as layout
6369         (simpleDocBookOnePar): layout as layout
6370         (getLists): layout as layout
6371
6372         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6373
6374         * CutAndPaste.C (cutSelection): layout as layout
6375         (pasteSelection): layout as layout
6376         (SwitchLayoutsBetweenClasses): layout as layout
6377
6378         * BufferView_pimpl.C (Dispatch): layout as layout
6379         (smartQuote): layout as layout
6380
6381         * BufferView2.C (unlockInset): layout as layout
6382
6383 2002-06-24  André Pönitz <poenitz@gmx.net>
6384
6385         * lyxfunc.C: fix #487
6386
6387 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6388
6389         * lyxrc.h:
6390         * lyxrc.C:
6391         * lyxfunc.C: remove display_shortcuts, show_banner
6392
6393 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6394
6395         * Buffer_pimpl.C: oops, update on resize
6396
6397 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6398
6399         * buffer.C:
6400         * converter.C:
6401         * exporter.C:
6402         * lyxfunc.C:
6403         * BufferView.h:
6404         * BufferView.C: use repaint()
6405
6406         * BufferView_pimpl.h:
6407         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6408           as it's a clearer description. Remove superfluous
6409           redraws.
6410
6411 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6412
6413         * text.C: fix bug 488. Not ideal, but getting
6414           getWord() to work properly for the insets that
6415           matter is more difficult ...
6416
6417 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6418
6419         * BufferView_pimpl.C:
6420         * LyXAction.C:
6421         * commandtags.h:
6422         * lyxfunc.C: remove the six million index lyxfuncs to just
6423           one, and DTRT (bug 458)
6424
6425 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6426
6427         * BufferView.h:
6428         * BufferView.C:
6429         * BufferView_pimpl.h:
6430         * BufferView_pimpl.C: clean up resize() stuff,
6431           and unnecessary updateScreen()s
6432
6433 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6434
6435         * BufferView.h:
6436         * BufferView.C:
6437         * BufferView_pimpl.h:
6438         * BufferView_pimpl.C:
6439         * lyxfind.h:
6440         * lyxfind.C:
6441         * minibuffer.C: remove focus management of workarea,
6442           not needed. Use screen's greyOut()
6443
6444 2002-06-17  Herbert Voss  <voss@lyx.org>
6445
6446         * converter.C: (convert) do not post a message, when converting
6447         fails, let the calling function decide what to do in this case
6448
6449 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6450
6451         * lyxfunc.C: tidy up a little
6452
6453 2002-06-16    <alstrup@diku.dk>
6454
6455         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6456         Got rid of FORMS_H_LOCATION include. Now we are
6457         GUII.
6458
6459 2002-06-15  LyX Development team  <lyx@rilke>
6460
6461         * buffer.[Ch] (sgmlOpenTag):
6462         (sgmlCloseTag): Added support for avoiding pernicious mixed
6463         content. Return number of lines written.
6464
6465         (makeLinuxDocFile):
6466         (makeDocBookFile): Fixed calls to sgml*Tag.
6467         Simple white space clean.
6468
6469         (simpleDocBookOnePar): Simple white space clean.
6470
6471         * tabular.[Ch] (docBook): Renamed to docbook and got another
6472         argument to related with the pernicious mixed content.
6473
6474         (docbookRow): Fixed calls for docbook inset method.
6475
6476 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6477
6478         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6479         so it's X11 independent.
6480
6481         * kb*.[Ch]: ditto.
6482
6483         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6484
6485 2002-06-15  Lyx Development team  <lyx@electronia>
6486
6487         * intl.h: Renamed getTrans to getTransManager.
6488
6489 2002-06-14  Angus Leeming  <leeming@lyx.org>
6490
6491         * Makefile.am: nuke forgotten stl_string_fwd.h.
6492
6493 2002-06-12  Angus Leeming  <leeming@lyx.org>
6494
6495         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6496
6497 2002-06-13  Angus Leeming  <leeming@lyx.org>
6498
6499         * LaTeX.C:
6500         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6501
6502 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6503
6504         * kbmap.C (getiso): add support for cyrillic and greek
6505
6506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6507
6508         * BufferView.h:
6509         * BufferView.C:
6510         * BufferView_pimpl.h:
6511         * BufferView_pimpl.C: move bogus scrolling logic
6512           to xforms
6513
6514 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6515
6516         * lyxfunc.C:
6517         * BufferView_pimpl.C: view->resize() change
6518
6519 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6520
6521         * BufferView_pimpl.C: topCursorVisible
6522           prototype change
6523
6524 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6525
6526         * Makefile.am:
6527         * lyx_gui.h:
6528         * lyx_gui.C: move to frontends/
6529
6530         * main.C:
6531         * lyx_main.h:
6532         * lyx_main.C: changes from above
6533
6534 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6535
6536         * intl.C:
6537         * intl.h:
6538         * kbmap.C:
6539         * kbsequence.C:
6540         * lyx_cb.C:
6541         * lyx_main.C: minor tidy
6542
6543 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6544
6545         * BufferView_pimpl.h:
6546         * BufferView_pimpl.C:
6547         * BufferView.h:
6548         * BufferView.C: make painter() const,
6549           remove dead code
6550
6551         * BufferView2.C: use screen() accessor
6552
6553         * lyx_main.h:
6554         * lyx_main.C: some minor cleanup
6555
6556 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6557
6558         * BufferView_pimpl.h:
6559         * BufferView_pimpl.C: remove enter/leaveView,
6560           use workHeight()
6561
6562 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6563
6564         * BufferView.h:
6565         * BufferView.C:
6566         * BufferView2.C:
6567         * BufferView_pimpl.h:
6568         * BufferView_pimpl.C: only construct screen once,
6569           rename
6570
6571         * lyxrc.C: remove pointless comment
6572
6573 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6574
6575         * BufferView.h:
6576         * BufferView.C: remove active() and belowMouse()
6577
6578         * BufferView_pimpl.h:
6579         * BufferView_pimpl.C: use workarea() not workarea_,
6580           and make it use a scoped_ptr instead
6581
6582 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6583
6584         * lyx_gui.C: add debug message on BadWindow
6585
6586 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6587
6588         * sp_spell.C: fdopen is not part of the C++ standard.
6589
6590         * paragraph.C (InsetIterator): use >= instead of ==
6591
6592 2002-06-07  Angus Leeming  <leeming@lyx.org>
6593
6594         Fixes needed to compile with Compaq cxx 6.5.
6595         * BufferView_pimpl.C:
6596         * DepTable.C:
6597         * buffer.C:
6598         * converter.C:
6599         * encoding.C:
6600         * lyx_gui.C:
6601         * lyx_main.C:
6602         * lyxtextclasslist.C:
6603         * minibuffer.C:
6604         * sp_spell.C:
6605         * tabular_funcs.C:
6606         * vc-backend.C:
6607         all c-library variables have been moved into namespace std. Wrap
6608         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6609
6610         * lyxlength.C:
6611         * tabular-old.C:
6612         * tabular.C:
6613         Add a using std::abs declaration.
6614
6615         * kbmap.h (modifier_pair):
6616         * paragraph.h (InsetTable, InsetList):
6617         * lyxfont.h (FontBits):
6618         type definition made public.
6619
6620         * bufferlist.C (emergencyWriteAll): the compiler complains that
6621         there is more than one possible lyx::class_fun template to choose from.
6622         I re-named the void specialisation as lyx::void_class_fun.
6623
6624         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6625
6626         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6627         the compiler is is unable to find tostr in write_attribute.
6628
6629 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6630
6631         * buffer.C (sgmlError): hide #warning
6632
6633 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6634
6635         * xtl/*: get rid of xtl, which is not in use anyway
6636
6637         * LyXAction.C (init):
6638         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6639         were unimplemented xtl experimentation
6640
6641 2002-06-04  André Pönitz <poenitz@gmx.net>
6642
6643         * lyxfunc.C: disable array operation on simple formulae
6644
6645 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6646
6647         * converter.C: constify a bit
6648
6649 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6650
6651         * lyx_gui.C: check xforms version correctly
6652
6653 2002-04-30  Herbert Voss  <voss@lyx.org>
6654
6655         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6656         "keep" option
6657
6658 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6659
6660         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6661           attempt to register it with a VCS)
6662
6663 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6664
6665         * lyx_main.C (init): honor variables LYX_DIR_13x and
6666         LYX_USERDIR_13x
6667
6668 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6669
6670         * buffer.h:
6671         * buffer.C:
6672         * lyx_main.C: fix a crash on bad command line,
6673           and give a useful exit status on error
6674
6675         * lyxfunc.C (doImport): allow -i lyx to work
6676
6677 2002-03-30  André Pönitz <poenitz@gmx.net>
6678
6679         * lyxfunc.C: mathed font changes
6680
6681 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6682
6683         * LaTeX.C:
6684         * importer.h:
6685         * importer.C:
6686         * lyx_sty.h:
6687         * lyx_sty.C:
6688         * lyxlex.C:
6689         * lyxrow.h:
6690         * lyxtext.h:
6691         * paragraph.h:
6692         * paragraph.C:
6693         * texrow.h:
6694         * texrow.C:
6695         * text.C:
6696         * trans_mgr.h: srcdocs, and some minor cleanups
6697
6698 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6699
6700         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6701         call getFont all the time)
6702
6703 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6704
6705         * switch from SigC signals to boost::signals
6706
6707 2002-05-29  André Pönitz <poenitz@gmx.net>
6708
6709         * paragraph_pimpl.C (getChar): don't call size() too often...
6710
6711 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6712
6713         * paragraph_pimpl.C (insertChar): do not try to update tables when
6714         appending (pos == size())
6715
6716         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6717         in order to reduce drastically the number of comparisons needed to
6718         parse a large document
6719
6720 2002-05-29  André Pönitz <poenitz@gmx.net>
6721
6722         * text.C:
6723         * text2.C:
6724         * lyxtextclass.C:
6725         * sp_pspell.h:
6726         * textclasslist.[Ch]:
6727         * sp_ispell.h: whitespace change
6728
6729 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6730
6731         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6732         lyxaction directly now.
6733
6734 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6735
6736         * trans.C:
6737         * lyxfont.C:
6738         * lyxvc.C: remove unused headers
6739
6740 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6741
6742         * Makefile.am:
6743         * buffer.h:
6744         * undostack.h:
6745         * undostack.C:
6746         * undo_funcs.h:
6747         * undo_funcs.C: some cleanups. Use shared_ptr
6748           and a template for the undo stacks.
6749
6750 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6751
6752         * BufferView_pimpl.h:
6753         * BufferView_pimpl.C:
6754         * kbmap.h:
6755         * kbmap.C:
6756         * kbsequence.h:
6757         * kbsequence.C:
6758         * lyxfunc.h:
6759         * lyxfunc.C:
6760         * text2.C: use key_state/mouse_state
6761
6762 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6763
6764         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6765         and LSubstring
6766
6767         * chset.C: change include order
6768         (loadFile): use boost regex and get rid of LRegex and LSubstring
6769
6770         * Makefile.am (BOOST_LIBS): new variable
6771         (lyx_LDADD): use it
6772
6773         * LaTeX.C: change include order.
6774         (scanAuxFile): use boost regex and get rid of LRegex and
6775         LSubstring
6776         (deplog): ditto
6777
6778 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6779
6780         * ColorHandler.h:
6781         * ColorHandler.C:
6782         * FontInfo.h:
6783         * FontInfo.C: moved to frontends/xforms/
6784
6785         * FontLoader.h:
6786         * FontLoader.C: moved into frontends for GUIIzation
6787
6788         * Makefile.am:
6789         * lyx_gui.C:
6790         * lyxfont.C:
6791         * lyxfunc.C: changes from above
6792
6793 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6794
6795         * LColor.C: remove spurious X include
6796
6797         * BufferView_pimpl.C:
6798         * Makefile.am:
6799         * font.h:
6800         * font.C:
6801         * text.C:
6802         * text2.C: move font metrics to frontends/
6803
6804 2002-05-24  Juergen Vigna  <jug@sad.it>
6805
6806         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6807         setting the undo_cursor.
6808
6809         * ParagraphParameters.h: include local includes first.
6810
6811 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6812
6813         * BufferView_pimpl.C:
6814         * BufferView_pimpl.h:
6815         * Makefile.am:
6816         * WorkArea.h:
6817         * WorkArea.C:
6818         * screen.C: move WorkArea into frontends/
6819
6820         * lyxscreen.h:
6821         * screen.C:
6822         * text.C:
6823         * BufferView.C:
6824         * BufferView2.C: move LyXScreen into frontends/
6825
6826         * lyxlookup.h:
6827         * lyxlookup.C:
6828         * lyx_gui.C: move lyxlookup into frontends/xforms/
6829
6830 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6831
6832         * BufferView2.C:
6833         * BufferView_pimpl.C:
6834         * FontLoader.C:
6835         * LyXView.h:
6836         * LyXView.C:
6837         * Makefile.am:
6838         * WorkArea.C:
6839         * XFormsView.h:
6840         * XFormsView.C:
6841         * buffer.C:
6842         * bufferlist.C:
6843         * bufferview_funcs.C:
6844         * converter.C:
6845         * importer.C:
6846         * lyx_cb.C:
6847         * lyx_gui.C:
6848         * lyx_main.C:
6849         * lyx_find.C:
6850         * lyxfunc.C:
6851         * lyxvc.C:
6852         * minibuffer.C:
6853         * text.C:
6854         * text2.C:
6855         * trans.C:
6856         * vc-backend.C: move LyX/XFormsView into frontends/
6857
6858 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6859
6860         * Makefile.am:
6861         * PainterBase.C:
6862         * PainterBase.h:
6863         * Painter.C:
6864         * Painter.h:
6865         * WorkArea.C:
6866         * WorkArea.h:
6867         * screen.C:
6868         * tabular.C:
6869         * text.C:
6870         * text2.C: move Painter to frontends/
6871
6872 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6873
6874         * buffer.C: comment out some some code that depend upon lyx_format
6875         < 220
6876
6877         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6878         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6879
6880         * buffer.h (NO_COMPABILITY): turn off compability
6881
6882         * ColorHandler.C: include scoped_array.hpp
6883
6884         * font.C: Use more specific smart_ptr header.
6885         * Painter.C: ditto
6886         * gettext.C: ditto
6887         * ShareContainer.h: ditto
6888         * lyx_main.h: ditto
6889         * kbmap.h: ditto
6890         * FontInfo.h: ditto
6891         * BufferView_pimpl.h: ditto
6892         * ColorHandler.h: ditto
6893
6894         * kbmap.C (defkey): change call to shared_ptr::reset
6895
6896 2002-05-21  Juergen Vigna  <jug@sad.it>
6897
6898         * buffer.C (insertErtContents): fix to insert ert asis if it is
6899         non empty. Skip it completely if it contains only whitespaces.
6900
6901 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6902
6903         * BufferView_pimpl.C:
6904         * BufferView2.C: clear selection on paste (bug 393)
6905
6906 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6907
6908         * DepTable.C: include ctime
6909
6910 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6911
6912         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6913
6914 2002-05-14  Juergen Vigna  <jug@sad.it>
6915
6916         * text.C (breakParagraph): fixed function to honor the keepempty
6917         layout in the right maner and also to permit the right breaking
6918         algorithm on empty or non empyt keepempty paragraphs.
6919
6920         * paragraph.C (breakParagraph): we have to check also if the par
6921         is really empty (!size()) for isempty otherwise we do the wrong
6922         paragraph break.
6923
6924 2002-05-10  Juergen Vigna  <jug@sad.it>
6925
6926         * buffer.[Ch] : The following are only changes to the ert
6927         compatibility read reading old LaTeX layout and font stuff and
6928         convert it to ERTInsets.
6929
6930         * buffer.h: added isErtInset().
6931
6932         * buffer.C (struct ErtComp): add a fromlayout bool to check
6933         if we're inside a LaTeX layout.
6934         (isErtInset): new helper function.
6935         (insertErtContents): look for other ert insets before this one
6936         and insert the contents there, so that we don't have subsequent
6937         ERT insets with nothing between them. This way we create only one
6938         inset with multiple paragraphs. Also check if we don't insert only
6939         spaces ' ' as they are ignored anyway afterwards in the .tex file
6940         so if we have only spaces we will ignore this latex part in the
6941         new file.
6942         (parseSingleLyXformat2Token \\layout): better compatibility when
6943         reading layout-latex stuff.
6944         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6945         language tag.
6946         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6947         stuff after reading the inset only get the information back from
6948         the stack.
6949
6950 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6951
6952         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6953
6954         * LaTeXFeatures.C (getBabelOptions): New method.
6955
6956 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6957
6958         * BufferView_pimpl.C (Dispatch): work around missing argument for
6959         'layout'
6960
6961 2002-05-08  Juergen Vigna  <jug@sad.it>
6962
6963         * text.C (leftMargin): handle paragraph leftindent.
6964
6965         * paragraph.C (writeFile): write the new \\leftindent tag.
6966         (validate): handle leftindent code.
6967         (TeXEnvironment): handle paragraphleftindent code again.
6968
6969         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6970
6971         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6972         for paragrap_extra indent code and new token \\leftindent.
6973         (latexParagraphs): handle the leftindent as environment.
6974
6975         * ParameterStruct.h: added leftindent support.
6976
6977         * ParagraphParameters.C (leftIndent): added support functions for
6978         the paragraph left indent.
6979
6980         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6981         more appropriate.
6982
6983 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6984
6985         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6986         inside insetERT.
6987
6988         * text.C (computeBidiTables): No bidi in insetERT.
6989
6990         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6991         in RTL documents.
6992
6993 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6994
6995         * version.C.in: pre 5
6996
6997 2002-05-02  José Matos  <jamatos@fep.up.pt>
6998         * buffer.C (makeDocBookFile): white space changes, add newline to
6999         command styles.
7000         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7001
7002         * tabular.C (docBook): fix typo.
7003
7004 2002-05-03  Juergen Vigna  <jug@sad.it>
7005
7006         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7007         change in LyXText as we can not be sure it was not freed.
7008         (drawOneRow): remove unused code.
7009
7010         * text.C (drawInset): redo the calculation of the need_break_row as
7011         it could have a row which was already freed.
7012         (draw): look at the return value of drawInset and return false if
7013         it also returned false.
7014         (paintRowText): look at the return value of draw and return false if
7015         it also returned false.
7016
7017         * lyxtext.h: added bool return type to drawInset() and draw() so that
7018         if we have a change in the row so that the rowbreak has to be redone
7019         we abort drawing as it will be called again.
7020
7021 2002-05-02  Juergen Vigna  <jug@sad.it>
7022
7023         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7024         a change in the maintext also if we're inside an inset.
7025         (Dispatch): set the cursor again after a break line and after the
7026         screen has been updated as it could be we're in a different row.
7027
7028         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7029         to set the cursor behind the pargraph with > size().
7030         (setCursor): check also for the same paragraph when checking where
7031         to put the cursor if we have a NFR inset.
7032
7033         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7034         parts of layout read further up as it still was in the wrong
7035         position.
7036
7037 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7038
7039         * screen.C (drawFromTo): change sine fullRebreak always return
7040         true.
7041
7042         * buffer.C (parseSingleLyXformat2Token): reindent some
7043
7044         * BufferView_pimpl.C (update): change since fullRebreak always
7045         return true.
7046         (Dispatch): git rid of the last hardcoded "Standard"s.
7047
7048 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7049
7050         * text2.[Ch] (fullRebreak): make it return void now that we always
7051         returned true.
7052
7053 2002-04-30  Juergen Vigna  <jug@sad.it>
7054
7055         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7056         ert compatibility check for "latex" layout.
7057
7058 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7059
7060         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7061         minipages: use col% instead of p%, and also use the current font.
7062         (makeLaTeXFile): Fix use babel condition.
7063         (parseSingleLyXformat2Token): Correct font when reading old floats.
7064
7065 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7066
7067         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7068         inserting list of floats.
7069
7070 2002-04-25  Herbert Voss  <voss@lyx.org>
7071
7072         * MenuBackend.C (expand): don't add the graphics extensions to the
7073         export menu
7074
7075 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7076
7077         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7078         non-existing layout, do not complain if it was the default layout
7079         of the original class (bug #342)
7080
7081 2002-04-24  Juergen Vigna  <jug@sad.it>
7082
7083         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7084         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7085
7086 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7087
7088         * buffer.C (getBibkeyList): If using \bibliography, return the
7089         option field with the reference itself. Enables us to provide natbib
7090         support when using \bibliography.
7091
7092 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7093
7094         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7095
7096         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7097         natbib is provided by the LaTeX class.
7098
7099 2002-04-23  Juergen Vigna  <jug@sad.it>
7100
7101         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7102         Wakeup functions.
7103
7104         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7105
7106 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7107
7108         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7109
7110         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7111         ensuremath around textordmasculine, textordfeminine and
7112         textdegree.
7113
7114 2002-04-19  Juergen Vigna  <jug@sad.it>
7115
7116         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7117         reinitializing the buffer otherwise row-dimensions may be wrong.
7118         (update): reset also the selection cursors if they do exits otherwise
7119         their x/y positions may be wrong.
7120
7121         * text2.C (cursorDown): don't enter the inset if we came from a row
7122         above and are one row over the inset.
7123
7124         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7125         really leaving an inset.
7126
7127 2002-04-18  Juergen Vigna  <jug@sad.it>
7128
7129         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7130         of the selected paragraph does not have the selected layout also if
7131         the last one had!
7132
7133         * text2.C (setLayout): fixed bug which did not change last selected
7134         paragraph.
7135
7136         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7137         changed the read and substituted \\end_float with \\end_inset!
7138
7139         * BufferView_pimpl.C (cursorPrevious):
7140         (cursorNext): fixed to make it work with rows heigher than the work
7141         area without moving the cursor only the draw of the row.
7142         (workAreaMotionNotify): fix jumping over high rows.
7143
7144 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7145
7146         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7147         Ressler.
7148
7149 2002-04-16  Juergen Vigna  <jug@sad.it>
7150
7151         * text2.C (setCursor): set also the irow().
7152         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7153         (cursorUp):
7154         (cursorDown): support for locking an inset if the x_fix value goes
7155         inside it. That way I can transverse insets too with cursor up/down.
7156
7157         * lyxrow.h: added irow helper function same as other (i) functions.
7158
7159         * BufferView_pimpl.C (cursorPrevious):
7160         (cursorNext): fixed for insets!
7161
7162 2002-04-15  Juergen Vigna  <jug@sad.it>
7163
7164         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7165         position otherwise it is wrong in some cases.
7166
7167         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7168         inside the inset before the call.
7169
7170 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7171
7172         * buffer.[Ch] (getBibkeyList): make it const.
7173
7174 2002-04-12  Juergen Vigna  <jug@sad.it>
7175
7176         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7177
7178         * text2.C (getCursorX): new helper function
7179         (setCursor): compute also ix_
7180         (setCursorFromCoordinates): set also ix.
7181
7182         * lyxcursor.h: added ix_ and helper functions.
7183
7184         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7185
7186         * buffer.C (insertStringAsLines): dont break paragraph if the this
7187         paragraph is inside an inset which does not permit it!
7188
7189         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7190         also with no chars on this paragraph.
7191         (paintRowText): only paint stuff if it's inside the workarea!
7192
7193         * paragraph.C (breakParagraph): honor keepempty flag and break the
7194         paragraph always below not above.
7195
7196         * BufferView2.C (unlockInset): update the paragraph layout on inset
7197         unlock as we changed paragraph in such a case.
7198
7199         * lyxfind.C (LyXFind): clear the former selection if not found!
7200
7201         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7202         again called in insertChar().
7203
7204         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7205         an inset which uses the whole row!
7206         (rightMargin): ditto.
7207         (insertChar): force a rebreak if we inserted an inset!
7208
7209 2002-03-28  Herbert Voss  <voss@lyx.org>
7210
7211         * lyxlength.[Ch]: add inBP() to get the right PS-point
7212         units (BigPoint). With inPixels we have rounding errors
7213
7214 2002-04-11  Juergen Vigna  <jug@sad.it>
7215
7216         * text2.C (setCursorFromCoordinates): set iy to the right value.
7217         (setCursor): add check if row->previous exists!
7218
7219         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7220         an old float_type as this was the case in the old code!
7221
7222         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7223
7224         * BufferView2.C (showLockedInsetCursor): use iy
7225         (fitLockedInsetCursor): ditto
7226
7227         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7228         locked insets as there we have the right value now.
7229
7230         * lyxcursor.C: added iy_ variable and iy functions to set to the
7231         baseline of cursor-y of the locked inset.
7232
7233         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7234         (setCursor): fixed for insets which need a full row.
7235
7236         * text.C (rowLastPrintable): don't ignore the last space when before
7237         an inset which needs a full row.
7238         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7239         as last character of a row when before a inset which needs a full row.
7240
7241 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7242
7243         * version.C.in: update date
7244
7245         * text2.C (fullRebreak): try to always return true and see what
7246         happens...
7247
7248 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7249
7250         * MenuBackend.C (expand): use Floating::listName
7251
7252         * FloatList.C (FloatList): add listName argument to the built-in
7253         floats
7254
7255         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7256         text associated with the float.
7257
7258 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7259
7260         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7261
7262 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7263
7264         * ShareContainer.h: add a couple of missing typenames.
7265
7266 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7267
7268         * lyxrc.C (getDescription): use _() correctly rather than N_().
7269
7270 2002-03-28  Herbert Voss  <voss@lyx.org>
7271
7272         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7273         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7274
7275 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7276
7277         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7278         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7279
7280 2002-03-29  Juergen Vigna  <jug@sad.it>
7281
7282         * lyxfunc.C (dispatch): add a missing fitCursor call.
7283
7284         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7285         it was scrolled by a cursor move, so return the bool status.
7286
7287         * BufferView.C (fitCursor): return the bool flag also to the outside
7288         world as this is needed.
7289
7290         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7291
7292         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7293         call the edit() as it is not needed (and wrong) IMO.
7294         (workAreaButtonPress): set the screen_first variable before evt.
7295         unlock the inset as this may change screen_first and then we have
7296         a wrong y position for the click!
7297
7298 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7299
7300         * MenuBackend.C (expand): another translation that I missed
7301
7302 2002-03-28  Juergen Vigna  <jug@sad.it>
7303
7304         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7305
7306         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7307
7308 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7309
7310         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7311
7312         * MenuBackend.C (expand): fix export/view/update when there is no
7313         document open.
7314
7315 2002-03-27  Herbert Voss  <voss@lyx.org>
7316
7317         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7318         and text%
7319
7320 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7321
7322         * bufferview_funcs.C (currentState): only show paragraph number
7323         for is DEVEL_VERSION is set.
7324
7325         * lyxfunc.C (dispatch): put warning in INFO channel
7326
7327         * MenuBackend.C (expand): translate the name of floats
7328
7329         * FloatList.C (FloatList): mark the float names for translation
7330
7331         * converter.C (convert): use LibScriptSearch
7332
7333 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7334
7335         * MenuBackend.C (defaults): fix default menu (we might as well get
7336         rid of it...)
7337
7338 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7339
7340         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7341         directory.
7342
7343 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7344
7345         * lyxvc.C: reorder includes.
7346
7347 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7348
7349         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7350           properly
7351
7352 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7353
7354         * CutAndPaste.C: change layouts earlier on paste
7355           to avoid crashing when calling getFont()
7356
7357 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7358
7359         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7360         irritating #error.
7361
7362 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7363
7364         * WorkArea.C: remove 'Pending' debug message.
7365
7366         * most files: ws cleanup
7367
7368         * buffer.[Ch]: ws changes
7369
7370         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7371
7372 2002-03-21  Juergen Vigna  <jug@sad.it>
7373
7374         * tabular.C (SetMultiColumn): collapse also the contents of the
7375         cells and set the last border right. Added a Buffer const * param.
7376
7377 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7378
7379         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7380         linking or not.
7381
7382 2002-03-19  Juergen Vigna  <jug@sad.it>
7383
7384         * text2.C (clearSelection): reset also xsel_cache.
7385
7386         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7387         where it needs to be called (John tells us to do so too :)
7388         (selectionLost): reset sel_cache.
7389
7390         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7391
7392 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7393
7394         * text2.C (setCursorIntern): put debuging code in INSETS channel
7395
7396 2002-03-19  André Pönitz <poenitz@gmx.net>
7397
7398         * lyxfunc.C: tiny whitespace change
7399
7400 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7401
7402         * ToolbarDefaults.C (init):
7403         * LyXAction.C (init):
7404         * commandtags.h:
7405         * BufferView_pimpl.C (Dispatch):
7406         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7407
7408 2002-03-19  Allan Rae  <rae@lyx.org>
7409
7410         * exporter.C (Export): removeAutoInsets before doing anything else.
7411         While I've just introduced a dependency on BufferView this really is
7412         the best place to clean the buffer otherwise you need to cleanup in
7413         a dozen places before calling export or cleanup in a dozen functions
7414         that export calls.
7415
7416         * converter.C (runLaTeX):
7417         (scanLog): Better handling of removeAutoInsets and screen updates.
7418
7419         * lyxfunc.C (dispatch): small whitespace changes
7420
7421 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7422
7423         * WorkArea.C (C_WorkAreaEvent): return a value.
7424         (event_cb): return 1 if we handled the event, 0 otherwise.
7425
7426         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7427
7428 2002-03-18  Juergen Vigna  <jug@sad.it>
7429
7430         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7431         (GetAdditionalWidth): ditto.
7432         (RightLine): ditto.
7433         (LeftLine): ditto.
7434
7435         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7436         inset if we're there actually (probably not used right now but this
7437         is the direction to go for unifying code).
7438         (paste): disable code to clear the selection.
7439
7440         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7441         inside an InsetText and move the check further up as it is in the
7442         wrong place.
7443
7444         * text2.C (pasteSelection): set a selection over the pasted text.
7445
7446 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7447
7448         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7449         and libgraphics to build on Cygwin.
7450
7451 2002-03-15  Juergen Vigna  <jug@sad.it>
7452
7453         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7454         inserting an Inset into the paragraph. I know this is not the best
7455         fix but we already use current_view in CutAndPaste so we will remove
7456         all of it's using at the same time.
7457
7458         * buffer.C (sgmlError): deactivated function till it is rewritten in
7459         the right mode, now it can create problems.
7460
7461         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7462         before accessing it.
7463
7464 2002-03-14  Juergen Vigna  <jug@sad.it>
7465
7466         * undo_funcs.C (textHandleUndo): do the right thing when updating
7467         the inset after the undo/redo.
7468
7469         * text2.C (setCursor): just some testcode for #44 not ready yet.
7470
7471         * undo_funcs.C (textHandleUndo): set the next() and previous()
7472         pointers of the paragraph to 0 before deleting otherwise we have
7473         problems with the Paragraph::[destructor].
7474
7475         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7476         on a paragraph insertion.
7477
7478 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7479
7480         * buffer.C (asciiParagraph): use += operator for char append to
7481         string.
7482
7483         * paragraph.C (getFontSettings): compare >= not just >
7484         (highestFontInRange): ditto
7485         (setFont): ditto
7486
7487 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7488
7489         * paragraph.C: change several algorithm to be more appripriate for
7490         the problem domain. This is lookip in FontList and in the InsetList.
7491
7492 2002-03-13  André Pönitz <poenitz@gmx.net>
7493
7494         * commandtags.h:
7495         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7496
7497 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7498
7499         * commandtags.h:
7500         * LyXAction.C:
7501         * lyxfunc.C:
7502         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7503
7504 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7505
7506         * Painter.C (display): anon helper function, adjust code for this
7507         change.
7508         (pixmap): remove function.
7509
7510         * Painter.h: remove private display variable.
7511
7512         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7513
7514 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7515
7516         * WorkArea.[Ch]: remove figinset_canvas cruft.
7517
7518 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7519
7520         * lyxtextclass.C (operator): add one item cache optimization.
7521
7522         * bufferlist.h: doxy changes
7523
7524         * bufferlist.C: ws changes
7525
7526         * DepTable.[Ch] (ext_exist): place const in the right spot.
7527
7528         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7529         call resizeInsets.
7530         (workAreaExpose): call resizeInsets when the with BufferView changes.
7531         (Dispatch): adjust for protectedBlank removal
7532         (specialChar): call updateInset if the insert went ok.
7533
7534         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7535         specialChar instead.
7536
7537         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7538
7539         * BufferView.h: doxy change
7540
7541         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7542
7543         * lyxtextclass.C (operator[]): remove non-const version
7544         (defaultLayout): remove non-const version
7545
7546 2002-03-12  Juergen Vigna  <jug@sad.it>
7547
7548         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7549         did resize the LyXText too.
7550
7551         * buffer.C (readLyXformat2): set layout information on newly allocated
7552         paragraphs.
7553
7554         * tabular.C (OldFormatRead): set layout information on the paragraph.
7555
7556 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7557
7558         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7559
7560 2002-03-11  Juergen Vigna  <jug@sad.it>
7561
7562         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7563         plainly wrong.
7564         (resizeCurrentBuffer): force also the insets to resize themselfes.
7565         (moveCursorUpdate): fixed up for InsetText.
7566
7567 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7568
7569         * commandtags.h:
7570         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7571         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7572         value of Dialogs::tooltipsEnabled().
7573         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7574
7575 2002-03-08  Juergen Vigna  <jug@sad.it>
7576
7577         * BufferView_pimpl.C (updateInset): update inset inside inset also
7578         if it isn't inside theLockingInset().
7579
7580 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7581
7582         * buffer.C (asciiParagraph): redo some of the word and line length
7583         handling.
7584         (getLists): look for Caption instead of caption.
7585
7586 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7587
7588         * buffer.C (Buffer): initialize niceFile to true
7589         (makeLaTeXFile):
7590         (makeLinuxDocFile):
7591         (makeDocBookFile): make sure niceFile is true on exit
7592
7593 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7594
7595         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7596
7597 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7598
7599         * LyXSendto.C: remove.
7600         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7601         * lyx_gui.C: remove now-redundant comment.
7602         * ColorHandler.h: remove forward declaration of class WorkArea.
7603         * lyxfunc.C: remove #include "WorkArea.h".
7604
7605 2002-03-07  Juergen Vigna  <jug@sad.it>
7606
7607         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7608         got moved away with the DEPM and also set the inset_owner always
7609         right which before could have been omitted.
7610
7611 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7612
7613         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7614         wanted layout is not found.
7615
7616 2002-03-07  Juergen Vigna  <jug@sad.it>
7617
7618         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7619
7620 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7621
7622         * paragraph.C (breakParagraph): use default layout not layout of
7623         prev paragraph.
7624         (Paragraph): clear ParagraphParameters.
7625
7626 2002-03-06  Juergen Vigna  <jug@sad.it>
7627
7628         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7629         otherwise it would not be a valid lenght. Fixed a special case in
7630         the minipage compatibility read where we end the document with a
7631         minipage.
7632
7633         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7634         was set as it could be 0 for InsetTexts first entry.
7635
7636 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7637
7638         * paragraph.C (writeFile): if layout is empty write out
7639         defaultLayoutName().
7640
7641         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7642         file without named layout we set layout to defaultLayoutName().
7643
7644 2002-03-06  Juergen Vigna  <jug@sad.it>
7645
7646         * CutAndPaste.C (copySelection): set layout for new paragraph.
7647
7648         * text.C (prepareToPrint): leave ERT inset left aligned
7649         (leftMargin): don't indent paragraphs inside ERT insets
7650
7651 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7652
7653         * paragraph.C (breakParagraph): dont call clear do the work manually
7654
7655         * paragraph.[Ch] (clear): remove function
7656
7657 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7658
7659         * paragraph.C (Paragraph): dont call clear, the work has already
7660         been done.
7661
7662         * lyxtextclass.C (operator): assert if n is empty
7663
7664         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7665         work manually instead.
7666
7667 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7668
7669         * BufferView_pimpl.C: protect selectionLost against text == 0
7670
7671 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7672
7673         * text.C (breakParagraph): fix a setting layout to '0' problem.
7674
7675 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7676
7677         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7678         final location of file, for the included files, and graphics.
7679
7680 2002-03-05  Juergen Vigna  <jug@sad.it>
7681
7682         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7683
7684 2002-03-04  Juergen Vigna  <jug@sad.it>
7685
7686         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7687
7688         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7689         last column of multicolumn cells.
7690         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7691
7692 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7693
7694         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7695         file if it doesn't go to a temporary file.
7696
7697         * buffer.C (sgmlOpenTag):
7698         (sgmlCloseTag):  remove extra newline insertion.
7699
7700 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7701
7702         * text.C (getRowNearY): comment out debug msg
7703
7704 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7705
7706         * text2.C: first -> first_y
7707
7708         * text.C (getRowNearY): add some attemts at a possible
7709         optimization, not working.
7710
7711         * tabular.[Ch]: add BufferParams to several function so that newly
7712         created paragraph can be initialized to he default layotu for the
7713         buffers textclass.
7714
7715         * tabular-old.C (ReadOld): add buf->params to call of Init
7716
7717         * screen.C: rename text->first to text->first_y
7718
7719         * paragraph.C (breakParagraph): always set layout in the broken
7720         paragraph
7721
7722         * lyxtextclass.C (Read): remove lowercase
7723         (hasLayout): ditto
7724         (operator): ditto
7725         (delete_layout): ditto
7726
7727         * lyxtext.h: rename first -> first_y
7728
7729         * lyxlayout.C (Read): remove lowercase
7730         (name): ditto
7731         (setName): ditto
7732         (obsoleted_by): ditto
7733
7734         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7735
7736         * buffer.C (insertErtContents): add params are to InsetERT
7737         (parseSingleLyXformat2Token): add code to check if a paragraphs
7738         layout really exist.
7739         (parseSingleLyXformat2Token): add params to several inset
7740         constructors
7741         (asciiParagraph): remove lowercase, do the layout comparisons with
7742         no_case
7743
7744         * BufferView_pimpl.C (cursorNext): first -> first_y
7745         (resizeCurrentBuffer): first -> first_y
7746         (updateScrollbar): first -> first_y
7747         (scrollCB): first -> first_y
7748         (workAreaMotionNotify): first -> first_y
7749         (workAreaButtonPress): first -> first_y
7750         (checkInsetHit): first -> first_y
7751         (cursorPrevious): first -> first_y
7752         (cursorNext): first -> first_y
7753         (Dispatch): add buffer_->params to severl inset contructors
7754
7755 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7756
7757         * lyxlayout.C (Read): remove some debug info that I forgot.
7758
7759         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7760         clean up the code slightly.
7761         (makeLinuxDocFile): ditto
7762         (makeDocBookFile): ditto
7763
7764         * text2.C: layout as string
7765
7766         * text.C: layout as string
7767
7768         * paragraph_pimpl.C: layout as string
7769
7770         * paragraph.[Ch]: layout as string
7771
7772         * lyxtextclasslist.[Ch]: layout as string
7773
7774         * lyxtextclass.[Ch]: layout as string
7775
7776         * lyxtext.h: layout as string
7777
7778         * lyxlayout.[Ch]: layout as string
7779
7780         * lyx_cb.C: layout as string
7781
7782         * bufferview_funcs.C: layout as string
7783
7784         * bufferparams.C: layout as string
7785
7786         * buffer.C: layout as string
7787
7788         * LyXView.[Ch]: layout as string
7789
7790         * LaTeXFeatures.[Ch]: layout as string
7791
7792         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7793
7794         * BufferView_pimpl.C: change current_layout to string, remove
7795         lyx::layout_type.
7796         (Dispatch):
7797         (smartQuote):
7798         (insertInset):
7799         (workAreaButtonRelease): layout as string
7800
7801         * BufferView2.C (unlockInset): adjust
7802
7803         * vspace.C (asLatexCommand): use an explict temp variable.
7804
7805 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7806
7807         * Makefile.am: use FRONTEND_*
7808
7809 2002-03-01  Juergen Vigna  <jug@sad.it>
7810
7811         * tabular.C (SetWidthOfMulticolCell): changed to something better
7812         I hope but still work in progress.
7813         (recalculateMulticolumnsOfColumn): renamed function from
7814         recalculateMulticolCells as it is more appropriate now.
7815         (SetWidthOfCell): calculate multicols better.
7816
7817 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7818
7819         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7820
7821         * lyxfunc.C (processKeySym): print sequence also if it is
7822         `deleted' (complete)
7823
7824         * kbsequence.C (print): print sequence even if it is deleted
7825         (complete would be a better word, actually).
7826
7827         * lyxfunc.C (dispatch): print complete options after a prefix key
7828
7829         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7830
7831 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7832
7833         * text2.C (setCharFont): eliminate setCharFont code duplication.
7834
7835 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7836
7837         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7838         LFUN_TABULAR_FEATURE (bug #177)
7839
7840 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7841
7842         * Makefile.am: remove figure.h
7843
7844 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7845
7846         * Bufferview_pimpl.C:
7847         * CutAndPasteC:
7848         * LaTeX.C:
7849         * LyXSendto.C:
7850         * buffer.C:
7851         * bufferlist.C:
7852         * converter.C:
7853         * language.C:
7854         * lyxfunc.C:
7855         * lyxvc.C:
7856         * paragraph.C:
7857         * text.C:
7858         * text2.C: remove #include "lyx_gui_misc.h".
7859
7860         * LaTeX.C: added #include <cstdio>
7861
7862 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7863
7864         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7865         that the paragraph following this one can have.
7866
7867         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7868
7869         * vspace.C (asLatexCommand): fix bogus gcc warning
7870
7871         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7872
7873 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7874
7875         * text2.C (setLayout): get rid of redundant code
7876
7877 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7878
7879         * text2.C (incDepth): make sure depth cannot be increased beyond
7880         reasonable values.
7881
7882 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7883
7884         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7885         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7886
7887         * PainterBase.h (image):
7888         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7889         a LyXImage const *.
7890
7891 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7892
7893         * BufferView.C:
7894         * BufferView.h:
7895         * BufferView_pimpl.C:
7896         * BufferView_pimpl.h:
7897         * LaTeXFeatures.C:
7898         * LyXAction.C:
7899         * LyXView.C:
7900         * Makefile.am:
7901         * UpdateList.h:
7902         * UpdateList.C:
7903         * buffer.C:
7904         * figure.h:
7905         * figureForm.C:
7906         * figureForm.h:
7907         * figure_form.C:
7908         * figure_form.h:
7909         * lyx_cb.C:
7910         * lyx_gui.C:
7911         * lyx_gui_misc.C:
7912         * lyxfunc.C:
7913         * sp_base.h:
7914         * sp_ispell.h:
7915         * sp_pspell.h:
7916         * sp_spell.C: remove fig inset, and the crap house of
7917           cards that follows it
7918
7919 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7920
7921         * Makefile.am:
7922         * lyxserver.C:
7923         * os2_defines.h:
7924         * os2_errortable.h:
7925         * nt_defines.h: move .h into support/
7926
7927         * vms_defines.h: remove
7928
7929         * WorkArea.C: add space in debug output
7930
7931         * text2.C:
7932         * paragraph.C:
7933         * buffer.C: add WITH_WARNINGS
7934
7935         * vc-backend.h:
7936         * vc-backend.C:
7937         * bufferlist.C: s/retrive/retrieve/, add docs
7938
7939         * vspace.h:
7940         * vspace.C:
7941         * kbmap.h:
7942         * lyxlength.h:
7943         * lyxgluelength.h:
7944         * length_common.h:
7945         * chset.h:
7946         * chset.C: add docs
7947
7948         * lyxgui.C: add ID to X error handler
7949
7950         * lyxtestclass.c: fix typo
7951
7952 2002-02-26  Juergen Vigna  <jug@sad.it>
7953
7954         * tabular_funcs.C (write_attribute): changed so that some default
7955         attributes are not written at all.
7956         (getTokenValue): set default values before trying to read the
7957         value so we have the return value always set as default if we don't
7958         find the token we search for.
7959
7960         * tabular.C (Write): write bools as bools not as strings!
7961
7962 2002-02-22  Juergen Vigna  <jug@sad.it>
7963
7964         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7965         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7966
7967         * text.C (leftMargin): don't add an indent for paragraphs inside
7968         tabular cells (fix #208).
7969
7970 2002-02-21  José Matos  <jamatos@fep.up.pt>
7971
7972         * tabular.C (docBook): fixed support for long tables.
7973
7974 2002-02-20  Juergen Vigna  <jug@sad.it>
7975
7976         * text2.C (getFont): get the drawing font of the Inset if this
7977         paragraph is inside an inset (only important for InsetERT for now).
7978
7979         * buffer.C (insertErtContents): use new lanugage params in ERT
7980         constructor.
7981
7982         * CutAndPaste.C: commenting out seemingly uneeded code.
7983
7984 2002-02-19  Allan Rae  <rae@lyx.org>
7985
7986         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7987         Iterators might be simple to use but they also get invalidated.
7988         (removeAutoInsets): renamed saved cursor tracking variables and added
7989         some comments to clarify what everything does.
7990
7991 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7992
7993         * Chktex.C:
7994         * LaTeX.C:
7995         * LyXSendto.C:
7996         * converter.C:
7997         * lyx_cb.C:
7998         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7999         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8000
8001         * lyxfunc.C:
8002         * vc-backend.h: remove #include "support/syscall.h"
8003
8004         * LaTeX.C:
8005         * LyXSendto.C:
8006         * converter.C: rearrange #includes in Lars' approved fashion.
8007
8008         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8009         forward declare class Timeout in the header file.
8010
8011         * XFormsView.C: changes due to the above.
8012
8013         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8014         similar to LyXView.
8015
8016         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8017         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8018
8019 2002-02-18  José Matos  <jamatos@fep.up.pt>
8020
8021         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8022         insets contents.
8023
8024 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8025
8026         * a lot of small ws changes
8027         * add a lot of using std::XXX
8028         * use std construcs some places where approp.
8029         * use some exisint stuff from lyxfunctional where approp.
8030         * Make file changes to use partial linking (lets test this now...)
8031
8032 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8033
8034         * Chktex.C:
8035         * buffer.C:
8036         remove #include "support/syscontr.h" as it's redundant. Always has been.
8037
8038         * Chktex.C:
8039         * LaTeX.C:
8040         * LyXSendto.C:
8041         * converter.C:
8042         * lyx_cb.C:
8043         * vc-backend.C:
8044         change Systemcalls::System to Systemcalls::Wait and
8045         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8046         No change of functionality, just reflects the stripped down Systemcalls
8047         class.
8048
8049 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8050
8051         * debug.[Ch]: add a GRAPHICS type to the enum.
8052
8053 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8054
8055         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8056
8057         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8058         there is an inset.
8059
8060 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8061
8062         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8063         match the changes below.
8064
8065         * text2.C (toggleInset): if there is not editable inset at cursor
8066         position, try to see if cursor is _inside_ a collapsable inset
8067         and close it.
8068
8069 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8070
8071         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8072         document menu has a nice checkbox
8073
8074 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8075
8076         * lyxlength.C (asLatexString): change PW to output as percent of
8077         \textwidth.
8078
8079         * lengthcommon.C: change '%' to 't%'
8080
8081         * lyxfunc.C (dispatch): a few comments from Martin
8082
8083 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8084
8085         * WorkArea.h:
8086         * WorkArea.C:
8087         * BufferView_pimpl.h:
8088         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8089           the X selection.
8090
8091 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8092
8093         * vspace.C (inPixels): fix compiler warning
8094
8095 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8096
8097         * lyxfunc.C (getStatus): fix status message for disabled commands.
8098
8099 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8100
8101         * BufferView_pimpl.C: fix crash on close buffer
8102         during selection (#227)
8103
8104 2002-01-27  Herbert Voss  <voss@lyx.org>
8105
8106         * buffer.C: link old Figure to new graphic inset
8107
8108 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8109
8110         * FontLoader.C (getFontinfo): Change the latex font names in order
8111         to match the names of type1inst.
8112
8113 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8116
8117         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8118         (extchanged): ditto
8119         (ext_exist): ditto
8120         (remove_files_with_extension): ditto
8121         (remove_file): ditto
8122         (write): ditto
8123
8124         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8125         document is smaller than the work area height. Do not initialize
8126         static variables to 0.
8127
8128 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8129
8130         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8131
8132         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8133         LFUN_LAYOUT_PARAGRAPHS.
8134
8135         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8136         tabular. It is possible to provide a possible cell, which will
8137         typically be the actcell from the corresponding insettabular
8138
8139         * lyxfunc.C (getStatus): small cleanup; disable
8140         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8141         true
8142
8143 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8144
8145         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8146
8147         * paragraph.C (startTeXParParams):
8148         (endTeXParParams): new methods. The LaTeX code to
8149         start/end paragraph formatting
8150         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8151         empty (fixes bug #200)
8152
8153         * vspace.C (inPixels): adapt to the change below
8154         (inPixels): [later] more cleanups (remove unused variables)
8155
8156         * lyxlength.C (inPixels): change to use a width and a height as
8157         parameter.
8158
8159 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8160
8161         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8162         Replaced with \paperwidth
8163
8164         * DepTable.C (insert): add std:: qualifier
8165
8166 2002-01-18  Allan Rae  <rae@lyx.org>
8167
8168         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8169         updated also?
8170
8171         * text.C (drawInset): Turned out I didn't know enough about how
8172         rebreaking worked.  This fixes most of the redraw problems.  I see
8173         an occasional cursor trail when a line is broken now and the cursor
8174         placement can seem out by a few pixels also after a rebreak.
8175
8176 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8177
8178         * buffer.C (parseSingleLyXformat2Token): update because minipage
8179         width is now a LyXLength
8180
8181         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8182
8183         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8184         math insets
8185
8186 2002-01-17  Juergen Vigna  <jug@sad.it>
8187
8188         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8189
8190         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8191         is set correctly and the inset is updated correctly.
8192
8193 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8194
8195         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8196         the beginning of the loop.
8197
8198 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8199
8200         * lyxrc.C: improve help for use_scalable_fonts
8201
8202 2002-01-17  Allan Rae  <rae@lyx.org>
8203
8204         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8205
8206 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8207
8208         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8209         make sure to set their inset_owner to the right value (bug #171)
8210
8211 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8212
8213         * DepTable.h
8214         * DepTable.C: Implement mtime checking to reduce time spent doing
8215         CRCs.
8216
8217 2002-01-16  Juergen Vigna  <jug@sad.it>
8218
8219         * tabular.C (GetAdditionalHeight): one of error fixed.
8220
8221         * lyxrc.C (output): small fix in writing use_pspell.
8222
8223 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8224
8225         * sp_base.h: #include LString.h
8226
8227 2002-01-16  Allan Rae  <rae@lyx.org>
8228
8229         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8230         Can someone check this please?
8231
8232         * text.C (drawInset): It was possible that p.row would be removed by
8233         breakAgainOneRow upsetting a few other settings.  There may be another
8234         small tweak possible by setting need_break_row = 0 when p.row has been
8235         removed but I don't know enough about the logic here.
8236
8237 2002-01-15  Allan Rae  <rae@lyx.org>
8238
8239         * text.C (insertChar): removed conditional truism.
8240
8241         * BufferView2.C (removeAutoInsets): More tweaks.
8242         cur_par_prev could be a stray pointer.  Check for trailing empty line
8243         in case last line was cur_par and only had an error inset on it.
8244
8245 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8246
8247         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8248         absolute
8249
8250         * vc-backend.C (most methods):
8251         * exporter.C (Export):
8252         * converter.C (convert):
8253         (runLaTeX):
8254         * LyXSendto.C (SendtoApplyCB):
8255         * lyxfunc.C (dispatch):
8256         (menuNew):
8257         (open):
8258         (doImport):
8259         * lyx_cb.C (AutoSave):
8260         (InsertAsciiFile):
8261         * BufferView_pimpl.C (MenuInsertLyXFile):
8262         * buffer.C (runChktex): use Buffer::filePath().
8263
8264         * buffer.h: rename filename to filename_; rename filepath to
8265         filepath_ and make it private
8266         (filePath): new method
8267
8268         * buffer.C (writeFile): use fileName()
8269         (getLatexName):
8270
8271         * lyx_main.C (init): fix starting  of LyX when the binary is a
8272         link from so,ewhere else.
8273
8274         * minibuffer.C: include <cctype> for isprint
8275
8276 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8277
8278         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8279         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8280         name clash with InsetCollapsable's width function.
8281
8282 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8283
8284         * lastfiles.C: include <iterator>
8285
8286 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8287
8288         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8289         std::count.
8290
8291         * buffer.C (makeLaTeXFile): ditto.
8292         Also make loop operation more transparent.
8293
8294 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8295
8296         * ToolbarDefaults.C: remove trailing comma closing namespace.
8297
8298         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8299
8300         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8301         as in WorkArea.
8302
8303         * trans.C (Load): comment out unused variable, allowed.
8304
8305 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8306
8307         * minibuffer.[Ch] (append_char): new method to recieve input from the
8308         drop-down completion browser. If a key was pressed, then recieve this
8309         char and append it to the existing string.
8310         (peek_event): modify the positioning data passed to the completion
8311         browser so that it can be placed above the minibuffer rather than below.
8312 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8313
8314         * LyXAction.C (init): alloe error-next for readonly documents.
8315
8316         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8317         count.
8318
8319 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8320
8321         * bufferlist.C (readFile): create the buffer _after_ checking that
8322         the file exists.
8323
8324         * lyxfunc.C (verboseDispatch): fix handling of arguments
8325
8326         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8327
8328         * lyxrc.C: use string::erase() instead of initializing to "".
8329
8330
8331 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8332
8333         * BufferView_pimpl.h:
8334         * BufferView_pimpl.C:
8335         * WorkArea.h:
8336         * WorkArea.C:
8337         * text2.C: tell X when we have made a selection for copying
8338
8339 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8340
8341         * BufferView_pimpl.C (MenuInsertLyXFile):
8342         * lyxfunc.C (menuNew):
8343         (open):
8344         (doImport): add shortcuts to directory buttons
8345
8346         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8347         open a float)
8348
8349         * lyxfunc.C (setStatusMessage):
8350         (getStatusMessage): new methods
8351         (getStatus):use setStatusMessage instead of setErrorMessage
8352         (dispatch): when function is disabled, set error message here
8353         [instead of in getStatus previously]
8354
8355         * BufferView_pimpl.C (workAreaButtonRelease): update
8356         toolbar/menubar here too.
8357
8358 2002-01-13  Allan Rae  <rae@lyx.org>
8359
8360         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8361         Now seems indestructible.  Remaining task is to audit all other
8362         code affected by deleteEmptyParagraphMechanism.  One small quirk
8363         left is that an empty document with an error in the preamble can
8364         be made to report an error but no error box appears.  I don't know
8365         where it goes.
8366         (removeAutoInsets): Improved comments.
8367
8368 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8369
8370         * Thesaurus.h:
8371         * Thesaurus.C: update for Aiksaurus 0.14
8372
8373 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8374
8375         * text2.C (firstParagraph): removed member function, all uses
8376         replaces with ownerParagraph
8377         (redoParagraphs): here
8378         (updateInset): here
8379         (toggleAppendix): here
8380         * BufferView2.C (insertErrors): here
8381         (setCursorFromRow): here
8382
8383 2002-01-13  Allan Rae  <rae@lyx.org>
8384
8385         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8386         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8387         There is still a way to segfault this although you may have to do this
8388         multiple times: Have an InsetERT with an unknown command in it.
8389         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8390         <down-arrow>, <Enter> again, View->DVI, BANG!
8391
8392         * text2.C (setCursor):
8393         (deleteEmptyParagraphMechanism):
8394         * lyxtext.h (setCursor):
8395         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8396         Making use of the return value may help fix other bugs.
8397
8398 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8399
8400         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8401
8402         * LyXView.C (updateMenubar): call MenuBar::update here
8403         (updateToolbar): but not here
8404         (showState): do not update toolbar/menubar
8405
8406         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8407         should need to care about that.
8408
8409         * lyxfunc.C (verboseDispatch): simplify a bit
8410         (getStatus): have a version which takes a pseudoaction, and
8411         another which requires a (kb_action,string).
8412
8413         * LyXAction.C (retrieveActionArg): make it work also when action
8414         is not a pseudo-action.
8415         (getActionName): simplify a bit
8416         (helpText):
8417
8418 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8419
8420         * lyxfunc.C (verboseDispatch): new families of methods with
8421         several ways to specify a command and a bool to indicate whether
8422         the command name and shortcut should be displayed in minibuffer
8423         (eventually, we could extend that to a finer bitmask like
8424         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8425         (dispatch): the pristine dispatch command which just, well,
8426         dispatchs! Note it still sets its result to minibuffer; I'm not
8427         sure we want that.
8428
8429         * lyxfunc.h: remove setHintMessage
8430
8431         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8432
8433 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8434
8435         * BufferView_pimpl.C (specialChar): delete new inset if we have
8436         not been able to insert it.
8437
8438         * kbmap.C: revert to using int instead of kb_action, since all we
8439         are dealing with is pseudo-actions.
8440
8441         * LyXAction.C (searchActionArg): change to return int instead of
8442         kb_action, since the result is a pseudoaction.
8443
8444 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8445
8446         * buffer.C (insertErtContents): Fix (partially) the font bug.
8447
8448 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8449
8450         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8451         as the other one is broken on my machine!
8452
8453 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8454
8455         * commandtags.h:
8456         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8457
8458 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8459
8460         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8461         reflect their actual use. Provide compatibility code for older lyxrc
8462         files.
8463
8464         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8465         FL_NORMAL_STYLE.
8466         change names of popup font variables in line with the changes to lyxrc.C
8467
8468 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8469
8470         * buffer.C (asciiParagraph): avoid outputing a word twice after
8471         an inset.
8472
8473         * lyxrc.C (getDescription): document that document_path and
8474         template_path can be empty.
8475
8476 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8477
8478         * LaTeXFeatures.C (getMacros):
8479         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8480
8481         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8482
8483         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8484         getPackages.
8485         (getPackages): rename feature "floats" to "float". Use an array to
8486         iterate over 'simple' features (i.e. just a \usepackage). Add
8487         handling of "amsmath" (renamed from "amsstyle").
8488
8489 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8490
8491         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8492         features list.
8493
8494 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8495
8496         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8497         FuncStaus::FuncStatus & FuncStaus::some_method().
8498
8499 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8500
8501         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8502         of the func_satus stuff. Edited and massaged in various ways by
8503         JMarc.
8504
8505         * lyxfunc.C (getStatus): use FuncStatus
8506
8507 2002-01-08  Juergen Vigna  <jug@sad.it>
8508
8509         * text.C (nextBreakPoint): use function Inset::isChar().
8510
8511         * paragraph.C (TeXOnePar): use function
8512         Inset::forceDefaultParagraphs.
8513
8514         * buffer.C (latexParagraphs): use function
8515         Inset::forceDefaultParagraphs.
8516
8517 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8518
8519         * lyx_gui.C (init): set the style of the menu popups to
8520         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8521
8522 2002-01-07  Juergen Vigna  <jug@sad.it>
8523
8524         * text.C (setHeightOfRow): small fix
8525         (prepareToPrint): don't look at alignment if we don't have the place
8526         for doing it.
8527
8528 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8529
8530         * box.C: New file. Move the Box methods and functions out of box.h,
8531         following Lars' suggestion.
8532
8533 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8534
8535         * box.h: #include "support/LOstream.h", needed for inlined function.
8536
8537         * lyxtextclass.C:
8538         * lyxtextclasslist.C: added some using std declarations.
8539
8540 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * box.h: make signed dimensions to allow insets wider than
8543           the screen (bug #162)
8544
8545         * BufferView_pimpl.C: add some insetHit debug
8546
8547 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * vc-backend.C: add FIXME
8550
8551 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8552
8553         * lyxfunc.C (getStatus): enable code for showing math font status
8554         in toolbar/menu.
8555
8556 2002-01-07  Juergen Vigna  <jug@sad.it>
8557
8558         * text.C (nextBreakPoint): removed debug output not needed anymore.
8559
8560 2002-01-06  Juergen Vigna  <jug@sad.it>
8561
8562         * text.C (nextBreakPoint): fixed up this function we had this bug
8563         since ever but now hopefully we break row better.
8564         (insertChar): we have to check if an inset is the next char as it
8565         could now happen that a large inset is causing a break.
8566
8567 2002-01-05  Juergen Vigna  <jug@sad.it>
8568
8569         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8570         if it doesn't like to be drawed.
8571
8572 2002-01-04  Juergen Vigna  <jug@sad.it>
8573
8574         * BufferView2.C (lockInset): forgot to set a cursor.
8575
8576         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8577
8578 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8579
8580         * FormMathsPanel.C:
8581         * FormMathsPanel.h
8582         * MathsSymbols.C:
8583         * form_maths_panel.C:
8584         * form_maths_panel.h:
8585         * form_maths_panel.fd: implemented sub- and super- buttons in math
8586         panel.
8587
8588         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8589         (or ^ space) to be used as in TeX (req'd by André).
8590
8591         * lyxfunc.C: Allow ^ and _ again to be used both as
8592         super/subscript (mathed) and as themselves (in text).
8593
8594 2002-01-03  Allan Rae  <rae@lyx.org>
8595
8596         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8597         "LyX" or the filename of the current buffer if it has one.  This is a
8598         modified form of John Levon's patch.
8599
8600         * XFormsView.C (setWindowTitle): also set icon title.
8601
8602         * LyXView.h (setWindowTitle): signature changed.
8603         * XFormsView.h (setWindowTitle): ditto.
8604
8605 2002-01-02  Juergen Vigna  <jug@sad.it>
8606
8607         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8608
8609 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8610
8611         * screen.C (topCursorVisible): introduce a temp var for
8612         text->cursor.row(), handle the case where this row is null. (kindo
8613         hachish)
8614
8615         * text2.C (setCursor): add a couple of asserts.
8616
8617         * paragraph.h (inset_iterator): add -> operator
8618
8619         * paragraph.[Ch] (autoDeleteInsets): remove member function
8620
8621         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8622         cursor pos correctly and handle inset deletion by itself.
8623         (insertErrors): move iterator declaration out of for expression
8624
8625         * lyxtextclass.C: add <algorithm>
8626
8627         * Makefile.am: added the new files to sources, removed layout.C
8628
8629         * layout.C: removed file
8630
8631         * layout.h: remove LYX_DUMMY_LAYOUT
8632
8633         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8634         layout.
8635
8636         * lyxlayout.[Ch]:
8637         * lyxtextclass.[Ch]:
8638         * lyxtextclasslist.[Ch]: new files
8639
8640         * include order changes to a lot of files, also changes because of
8641         the six new files.
8642
8643 2001-12-27  Juergen Vigna  <jug@sad.it>
8644
8645         * buffer.C (asciiParagraph): more fixes.
8646
8647         * tabular.C (ascii): make ascii export support export of only the
8648         data separated by a column-delimiter.
8649         (ascii): better support for ascii export.
8650
8651         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8652
8653 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8654
8655         * tabular_funcs.C: use a "using std::getline" instead of the
8656         previous fix from Angus (necessary for cxx + lyxstring)
8657
8658 2001-12-24  Juergen Vigna  <jug@sad.it>
8659
8660         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8661
8662         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8663         problems. First check a minipage also if we have some ert-contents
8664         (not only on par->size(), second set the right depth of the paragraph
8665         on the relink to the root-paragraph-list!
8666
8667         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8668         which then did not anymore update the main paragraphs on undo/redo!
8669
8670 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8671
8672         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8673         code. Support all font-changing funcs (even those which are not in
8674         menu currently). Support for reporting font settings in
8675         mathed (disabled until Andre provides a function on mathed's side).
8676
8677         * func_status.h (toggle): small helper function to set toggle
8678         state on a flag.
8679
8680 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8681
8682         * tabular_funcs.C: getline -> std::getline
8683
8684 2001-12-21  Juergen Vigna  <jug@sad.it>
8685
8686         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8687         accessed and could be 0 (I couldn't generate this but it seems
8688         Michael could!).
8689
8690 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8691
8692         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8693         * tabular_funcs.h: here and include iosfwd
8694
8695 2001-12-20  Juergen Vigna  <jug@sad.it>
8696
8697         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8698         inside inset but undo_par was.
8699
8700 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8701
8702         * Thesaurus.C: always include <config.h> in sources.
8703
8704         * Painter.h:
8705         * lyxlookup.h:
8706         * box.h: do not include <config.h> in header files
8707
8708         * text.C (paintLastRow): remove unused variable
8709
8710         * text.C (transformChar):
8711         (insertChar):
8712         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8713
8714         * Painter.C (text):
8715         * font.C (width): rewrite to use uppercase() instead of
8716         islower/toupper.
8717
8718         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8719
8720 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8721
8722         * lyxfind.C: clean up of find failure position change
8723
8724 2001-12-20  Juergen Vigna  <jug@sad.it>
8725
8726         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8727
8728         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8729         (TeXRow): added to LaTeX a single tabular row.
8730         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8731         (Latex): simplified and finally good LT-h/f support.
8732         (various_functions): just small adaptions for LT-h/f support.
8733
8734         * tabular_funcs.[hC]: added and moved here all not classfunctions
8735         of LyXTabular.
8736
8737 2001-12-19  Juergen Vigna  <jug@sad.it>
8738
8739         * tabular.[Ch]: better support for longtabular options (not finished
8740         yet!)
8741
8742 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8743
8744         * text.C (paintLastRow): use the label font instead of the font of
8745         the last character to compute the size of *_BOX. This makes more
8746         sense and avoids a crash with empty paragraphs.
8747         Use Painter::rectangle to draw EMPTY_BOX.
8748
8749 2001-12-19  Juergen Vigna  <jug@sad.it>
8750
8751         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8752         the paragraphs if the replaced paragraph is not the first one!
8753         Tried to delete not used paragraphs but does not work yet so for
8754         now it's inside #ifdef's and by default off!
8755
8756 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8757
8758         * MenuBackend.C: include "lyx_main.h" instead of declaring
8759         lastfiles (actually was declared as LastFiles* instead of a
8760         scoped_ptr).
8761
8762 2001-12-17  Juergen Vigna  <jug@sad.it>
8763
8764         * tabular.C (AppendColumn): applied John's fix
8765
8766 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * BufferView.h:
8769         * BufferView.C:
8770         * BufferView_pimpl.h:
8771         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8772
8773         * Makefile.am:
8774         * box.h: new start of class for above
8775
8776         * lyxfunc.C: ignore space-only minibuffer dispatches.
8777           Show the command name when it doesn't exist
8778
8779         * minibuffer.C: don't add empty lines to the history
8780
8781         * minibuffer.C: add a space on dropdown completion
8782
8783 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8784
8785         * text.C: fix line above/below drawing in insets
8786
8787 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8788
8789         * lyxlength.C (LyXLength): Initialize private variables.
8790
8791 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8792
8793         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8794         when inserting error insets.
8795
8796 2001-12-13  Juergen Vigna  <jug@sad.it>
8797
8798         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8799         actually sometimes the before-paragraph.
8800         (setUndo): don't clear the redostack if we're not actually undoing!
8801
8802 2001-12-06  Juergen Vigna  <jug@sad.it>
8803
8804         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8805         and fixed redoing of main paragraph, so we can use it now ;)
8806
8807         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8808
8809 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8810
8811         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8812         Juergen's request
8813
8814 2001-12-13  André Pönitz <poenitz@gmx.net>
8815
8816         * undostack.[Ch]:
8817         * undo_func.C: minor cleanup
8818
8819 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8820
8821         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8822         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8823         font in urw-fonts package which is marked as -urw-fontspecific and
8824         does not work (incidentally, changing the encoding in the
8825         fonts.dir of this package to -adobe-fontspecific fixes the
8826         problem).
8827
8828         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8829         is a crash when undoing first paragraph (Juergen, please take a
8830         look). THis does not mean the undo fix is wrong, just that it
8831         uncovers problems.
8832
8833         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8834         the (Paragraph*) version when needed instead of duplicating the
8835         code.
8836
8837         * text.C (workWidth): use Inset::parOwner to find out where the
8838         inset has been inserted. This is a huge performance gain for large
8839         documents with lots of insets. If Inset::parOwner is not set, fall
8840         back on the brute force method
8841
8842         * paragraph_pimpl.C (insertInset):
8843         * paragraph.C (Paragraph):
8844         (cutIntoMinibuffer): set parOwner of insets when
8845         inserting/removing them
8846
8847         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8848
8849 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8850
8851         * commandtags.h:
8852         * LyXAction.C:
8853         * lyx_main.C:
8854         * lyxfunc.C:
8855         * mathed/formulabase.C:
8856         * mathed/math_cursor.[Ch]:
8857         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8858
8859
8860 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8861
8862         * lyxlength.[Ch] (operator!=): new function
8863
8864 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8865
8866         * text.C (workWidth): use Inset::parOwner to find out where the
8867         inset has been inserted. This is a huge performance gain for large
8868         documents with lots of insets. If Inset::parOwner is not set, fall
8869         back on the brute force method
8870
8871         * paragraph_pimpl.C (insertInset):
8872         * paragraph.C (Paragraph):
8873         (cutIntoMinibuffer): set parOwner of insets when
8874         inserting/removing them
8875
8876         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8877
8878 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * tabular-old.C (getTokenValue):
8881         * tabular.C (getTokenValue):
8882         (write_attribute): new versions for LyXLength
8883         (everywhere): adjust the use of widths
8884
8885         * tabular.h: change the type of widths from string to LyXLength
8886
8887 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8888
8889         * paragraph.C: fixed missing line number count when exporting
8890         Environments to LaTeX file
8891
8892         * buffer.C: added informational message for checking line numbers.
8893
8894 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8895
8896         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8897         paragraph, do the 'double space' part, but not the 'empty
8898         paragraph' one.
8899
8900         * text.C (workWidth): small optimization
8901         (getLengthMarkerHeight): use minimal size for negative lengths.
8902
8903 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8904
8905         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8906
8907         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8908
8909 2001-12-11  André Pönitz <poenitz@gmx.net>
8910
8911         * FontLoader.C:
8912         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8913
8914 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8915
8916         * text2.C: keep selection on a setFont()
8917
8918 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8919
8920         * lyx_cb.C: another bv->text misuse, from insert label
8921
8922 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8923
8924         * kbsequence.h:
8925         * kbsequence.C: re-instate nmodifier mask
8926
8927 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8928
8929         * lyx_main.h: make lyxGUI private.
8930
8931 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * lyxfind.C: place the cursor correctly on failed search
8934
8935 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8936
8937         * text.C (getLengthMarkerHeight): for small heights, the arrows
8938         are not always on top/bottom of the text
8939         (drawLengthMarker): smaller arrows; take the left margin in
8940         account; draw also vfills.
8941         (paintFirstRow):
8942         (paintLastRow): remove special code for vfill and standard spaces,
8943         since everything is handled in drawLengthMarker now.
8944
8945 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8946
8947         * buffer.C (insertErtContents): try to handle font and language
8948         interaction a bit better.g
8949
8950         * ColorHandler.C (updateColor): change the hash to cover the whole
8951         LColor enum, ws cleanup
8952         (getGCLinepars): ditto
8953         (getGCLinepars): only lookup in the linecache once.
8954
8955 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8956
8957         * iterators.C (operator++): Make the iterator more robust
8958
8959         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8960         (John's patch)
8961         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8962
8963 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8964
8965         * lyxtext.h:
8966         * text.C: better added space drawing
8967
8968 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8969
8970         * LyXView.C:
8971         * BufferView2.C: fix layout combo update on inset unlock
8972
8973 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8974
8975         * Makefile.am: don't compile unused files
8976
8977 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * lyxfunc.C:
8980         * commandtags.h:
8981         * LyXAction.C: remove old LFUN_LAYOUTNO
8982
8983 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8984
8985         * paragraph_pimpl.h:
8986         * paragraph_pimpl.C: isTextAt() doesn't need font param
8987
8988 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8989
8990         * lyxlex.h:
8991         * lyxlex.C: little cleanup
8992
8993 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8994
8995         * BufferView_pimpl.C: fix insertAscii for insets
8996
8997 2001-12-05  Juergen Vigna  <jug@sad.it>
8998
8999         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9000         set the right font on the "multi" paragraph paste!
9001
9002 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9003
9004         * trans_decl.h:
9005         * trans_mgr.[Ch]:
9006         * trans.[Ch]:
9007         * lyxgluelength.C:
9008         * lyxlength.C: remove out-commented code.
9009
9010         * BufferView_pimpl:
9011         * CutAndPaste.C:
9012         * DepTable.C:
9013         * buffer.C:
9014         * chset.C:
9015         * lastfiles.C:
9016         * lyxlex.C:
9017         * lyxlex_pimpl.C:
9018         * lyxserver.C:
9019         * screen.C:
9020         * tabular-old.C:
9021         * tabular.C:
9022         * text.C:
9023         * trans_mgr.C:
9024         * vc-backend.C: change "while(" to "while ("
9025
9026         * lyxlength.[Ch]: add zero function to check if length is zero or
9027         not
9028         * lyxgluelength.C: use it
9029
9030 2001-12-05  Allan Rae  <rae@lyx.org>
9031
9032         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9033         Works for 2.95.3, from what I understand of Garst's reports this should
9034         work for other g++ versions.  We're screwed if the abs(int) definition
9035         changed between bugfix releases of gcc.
9036
9037 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * text.C: fix chapter label offset !
9040
9041 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9042
9043         * lyxtext.h:
9044         * text.C: fix hfill at end of line, clean up
9045
9046 2001-12-04  Juergen Vigna  <jug@sad.it>
9047
9048         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9049         that we force an update of the inset and it's owners if neccessary.
9050
9051 2001-12-03  Juergen Vigna  <jug@sad.it>
9052
9053         * text.C (rowLast): simplified code
9054
9055 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9056
9057         * lyxfunc.C: fix show options on timeout
9058
9059 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9060
9061         * screen.C (topCursorVisible): scroll half a page when the cursor
9062         reached top of bottom of screen
9063
9064 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * minibuffer.C: deactivate on loss of focus
9067
9068 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9069
9070         * vspace.[Ch] (operator!=): add operator.
9071
9072 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9073
9074         * BufferView_pimpl.C: refuse to open an inset when
9075         there's a selection.
9076
9077 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * BufferView_pimpl.C: allow to click on RHS of full row insets
9080
9081 2001-11-30  Juergen Vigna  <jug@sad.it>
9082
9083         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9084         insets for undo reasons.
9085
9086 2001-11-28  André Pönitz <poenitz@gmx.net>
9087
9088         * vspace.[Ch]: cosmetical changes
9089
9090 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9091
9092         * LyXAction.h:
9093         * LyXAction.C:
9094         * lyxfunc.h:
9095         * lyxfunc.C:
9096         * kbmap.h:
9097         * kbmap.C:
9098         * lyxrc.C:
9099         * kbsequence.h:
9100         * kbsequence.C: part re-write of old kb code
9101
9102         * Painter.C:
9103         * WorkArea.C: remove Lgb_bug_find_hack
9104
9105 2001-11-30  José Matos <jamatos@fep.up.pt>
9106
9107         * buffer.C (makeDocBookFile): add a comment to point a hack.
9108         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9109         Fixed a double write of labels.
9110
9111 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9112
9113         * LaTeX.C:
9114         * LaTeX.h Fixed bug in LaTeX class where it would not
9115         re-run latex if no depfiles were changed, but the .dvi was removed.
9116
9117 2001-11-28  André Pönitz <poenitz@gmx.net>
9118
9119         * all the files from the change on 2001/11/26:
9120         use lyx::layout_type instead of LyXTextClass::size_type
9121         use lyx::textclass_type instead of LyXTextClassList::size_type
9122
9123 2001-11-29  Juergen Vigna  <jug@sad.it>
9124
9125         * text.C: added support for paragraph::isFreeSpacing()
9126
9127         * buffer.C: same as above
9128
9129         * paragraph.h: inserted isFreeSpacing() function to enable
9130         FreeSpacing inside InsetERT.
9131
9132         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9133         of the paragraph's in the cut/copy buffer to 0!
9134
9135         * text2.C (removeRow): remove the assert as it can!
9136
9137         * lyxtext.h: added helper function firstRow returning firstrow and
9138         made firstrow private again.
9139
9140         * BufferView2.C (lockInset): don't relock if we're already locked!
9141
9142         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9143         the only paragraph.
9144         (removeRow): added Assert::(firstrow)
9145
9146         * debug.C: forgot to add INSETTEXT here.
9147
9148 2001-11-28  Juergen Vigna  <jug@sad.it>
9149
9150         * sp_spell.C (initialize): changed error text to more general
9151         spellchecker command use (not only ispell!)
9152
9153         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9154
9155         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9156
9157 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9158
9159         * vspace.C: initialise lyxgluelength on failure
9160
9161 2001-11-28  Allan Rae  <rae@lyx.org>
9162
9163         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9164         declaration & definition that looks like a function declaration.
9165
9166 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9167
9168         * BufferView2.C (copy):
9169         (copyEnvironment): do not clear the selection when doing a copy.
9170
9171         * text.C (paintFirstRow): compilation fix
9172
9173 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9174
9175         * tabular.C (Latex): correct line count when writing latex.
9176
9177 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * paragraph_pimpl.h:
9180         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9181           bug a bit
9182
9183 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * text.C:
9186         * LColor.h:
9187         * LColor.C: change vfillline->added_space
9188
9189         * text.C: add markers and text for added space
9190
9191         * vspace.C: fix comment
9192
9193 2001-11-28  André Pönitz <poenitz@gmx.net>
9194
9195         * paragraph.C: whitespace changes
9196         * all the other files from the change on 2001/11/26:
9197         change *::pos_type into lyx::pos_type
9198
9199 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9200
9201         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9202         language of the document when inserting error insets.
9203
9204 2001-11-26  André Pönitz <poenitz@gmx.net>
9205
9206         * BufferView_pimpl.[Ch]:
9207         *       CutAndPaste.C:
9208         * buffer.[Ch]:
9209         * lyxcursor.[Ch]:
9210         * lyxfind.C:
9211         * lyxfunc.C:
9212         * lyxrow.[Ch]:
9213         * paragraph.[Ch]:
9214         * paragraph_pimpl.[Ch]:
9215         * sp_spell.C:
9216         * text.C:
9217         * text2.C: reduce header dependencies, introduce type for positions
9218
9219 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * <various>: change to use Alert.h
9222
9223 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9224
9225         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9226         when encountering an unknown token.
9227         (readLyXformat2): Show an error message if there were unknown tokens.
9228
9229 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * BufferView2.C:
9232         * BufferView_pimpl.C:
9233         * buffer.C:
9234         * paragraph.h:
9235         * text.C:
9236         * text2.C: use par->isInset()
9237
9238 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * paragraph_pimpl.h:
9241         * paragraph_pimpl.C: cleanup
9242
9243 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9244
9245         * text2.C (removeRow):
9246         * text.C (setHeightOfRow): remove useless (and costly) call to
9247         getRow.
9248
9249 2001-11-20  Allan Rae  <rae@lyx.org>
9250
9251         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9252         Now need Inset*::checkInsertChar() to return true for appropriate
9253         cases so that the characters in the minibuffer will actually be
9254         inserted.
9255
9256 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9257
9258         * text.C: change the order of the includes.
9259         (workWidth): initialize it at once.
9260         (workWidth): make maxw unsigned
9261         (setHeightOfRow): remove unused variable (inset)
9262         (selectSelectedWord): remove unused variable (inset)
9263         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9264
9265 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9266
9267         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9268         server is not running.
9269         (openConnection):
9270         (closeConnection): add debug info when server is disabled.
9271
9272         * ColorHandler.C (getGCForeground): send debug message to GUI
9273         channel.
9274
9275         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9276
9277         * kbmap.C (bind): modify because return conventions of
9278         kb_sequence::parse have changed.
9279
9280         * kbsequence.C (parse): only ignore spaces and not any stupid
9281         control character. This avoids tests like s[i] <= ' ', which are
9282         guaranteed to fail with 8bit characters and signed chars.
9283         Change return code to string::npos when there have been no error
9284         (0 was a bad idea when error is at first character)
9285
9286 2001-11-14  José Matos  <jamatos@fep.up.pt>
9287
9288         * buffer.h:
9289         * buffer.C (simpleDocBookOnePar): removed unused argument.
9290
9291 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9292
9293         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9294         insets which are part of a word. Paragraph::isLetter takes care of
9295         that now. Use Paragraph::isInset to identify insets.
9296         (selectSelectedWord): do not test for hyphenation break.
9297
9298         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9299         that protected spaces are considered as spaces.
9300
9301         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9302         Inset::isLetter.
9303
9304 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * lyxserver.h:
9307         * lyxserver.C: fix it. and small cleanup.
9308
9309 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9310
9311         * BufferView_pimpl.C: use inline helpers
9312
9313         * LaTeXFeatures.h:
9314         * LaTeXFeatures.C: fix typos
9315
9316         * Spacing.h:
9317         * Spacing.C: move spacing_string into class
9318
9319         * ToolbarDefaults.C: move stuff into namespace anon
9320
9321         * layout.h: update enum
9322
9323         * lyxfunc.C: use better debug
9324
9325         * minibuffer.h: fix typo
9326
9327         * debug.h:
9328         * debug.C:
9329         * WorkArea.C: add and use Debug::WORKAREA
9330
9331         * lyxtext.h:
9332         * text.C:
9333         * text2.C: code re-organisation, inline helpers
9334
9335 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9336
9337         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9338         std::vector.empty().
9339
9340 2001-11-09  Allan Rae  <rae@lyx.org>
9341
9342         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9343         '\n's after tables.  Tabular and ERT inset work now makes this no
9344         longer necessary.
9345
9346 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9347
9348         * minibuffer.h:
9349         * minibuffer.C: fix crash, improve drop-down completion
9350
9351 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * lyxserver.h:
9354         * lyxserver.C: invalidate fd's when doing endPipe()
9355
9356 2001-11-08  José Matos  <jamatos@fep.up.pt>
9357
9358         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9359         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9360
9361         * paragraph.h:
9362         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9363
9364 2001-11-07  José Matos  <jamatos@fep.up.pt>
9365
9366         * buffer.h:
9367         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9368         const qualifier.
9369
9370         * buffer.C (sgmlOpenTag):
9371         * buffer.C (sgmlCloseTag): removed debug info.
9372
9373         * buffer.h (sgmlOpenTag):
9374         * buffer.h (sgmlCloseTag): made public.
9375
9376 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9377
9378         * buffer.C (saveParamsAsDefaults):
9379         * lyx_cb.C (MenuLayoutSave): remove
9380
9381         * LyXAction.C (init):
9382         * commandtags.h:
9383         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9384
9385 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9386
9387         * buffer.C (setPaperStuff): removed from here...
9388
9389         * bufferparams.C (setPaperStuff): ... and moved there.
9390
9391 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * minibuffer.h:
9394         * minibuffer.C:
9395         * XFormsView.C: add support for drop-down completion
9396
9397 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9398
9399         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9400         commands.
9401
9402 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9403
9404         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9405         disabled.
9406
9407 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9408
9409         * lyx_main.C: change ref to known bugs
9410
9411 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9412
9413         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9414         to work around older babel problems.
9415
9416 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9417
9418         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9419
9420 2001-10-24  Juergen Vigna  <jug@sad.it>
9421
9422         * tabular-old.C (ReadOld): below variable changes reflected.
9423
9424         * tabular.[Ch]: added ltType struct for longtable header/footer
9425         defines and changed all instances where they are used. Added
9426         future support for double top/bottom rows.
9427
9428 2001-10-24  José Matos  <jamatos@fep.up.pt>
9429
9430         * buffer.h (docbookHandleCaption):
9431         * buffer.C (docbookHandleCaption): removed unused function.
9432         (makeDocBookFile): moved docbook supported version to v4.1.
9433
9434 2001-10-24  José Matos  <jamatos@fep.up.pt>
9435
9436         * tabular.h:
9437         * tabular.C (docbookRow): new function to export docbook code of a row.
9438         (DocBook): now honors the longtable flags.
9439
9440 2001-10-23  José Matos  <jamatos@fep.up.pt>
9441
9442         * LaTeXFeatures.h:
9443         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9444         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9445
9446         * buffer.C (makeLinuxDocFile):
9447         (makeDocBookFile): reworked the preamble, more clean, and with
9448         support for lyx defined entities. Changed the document declaration
9449         to be more XML friendly.
9450
9451         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9452         if we need to output XML that should be done with a filter.
9453
9454 2001-10-22  Juergen Vigna  <jug@sad.it>
9455
9456         * sp_pspell.h (class PSpell): add alive function needed in the
9457         controller to see if the spellchecker could be started.
9458
9459 2001-10-22  Juergen Vigna  <jug@sad.it>
9460
9461         * buffer.C (insertStringAsLines): modify the font for inserting
9462         chars in certain conditions by calling checkInsertChar(font).
9463
9464 2001-10-19  Juergen Vigna  <jug@sad.it>
9465
9466         * text.C (workWidth): use getRow instead of wrong algorithm.
9467         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9468
9469 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9470
9471         * lyxserver.h:
9472         * lyxserver.C:
9473         * lyx_main.h:
9474         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9475
9476 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9477
9478         * text.C (workWidth): do not search for the exact row when
9479         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9480         optimization for big documents.
9481
9482 2001-10-18  Juergen Vigna  <jug@sad.it>
9483
9484         * text.C (workWidth): new function with added Inset * parameter.
9485
9486 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9487
9488         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9489
9490         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9491         change return type of getColumnNearX.
9492
9493
9494         * text.C (changeRegionCase): use uppercase/lowercase instead of
9495         toupper/tolower.
9496         (leftMargin):
9497         (rightMargin): simplify code by factoring out the uses of
9498         textclasslist.
9499         (labelFill):
9500         (numberOfHfills):
9501         (setHeightOfRow):
9502         (appendParagraph): use Paragraph::size_type
9503
9504 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9505
9506         * vspace.C (asLatexString): add a missing break
9507
9508 2001-10-15  Herbert Voss  <voss@perce.de>
9509
9510         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9511
9512 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9513
9514         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9515         is not available.
9516
9517 2001-10-10  André Pönitz <poenitz@gmx.net>
9518
9519         * lyxfunc.C: removed greek_kb_flag.
9520
9521 2001-10-10  Herbert Voss  <voss@perce.de>
9522
9523         * lyx_main.C: delete global string help_lyxdir.
9524
9525 2001-10-09  Herbert Voss  <voss@perce.de>
9526
9527         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9528
9529         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9530
9531         * lyx_main.C: added global string help_lyxdir.
9532
9533         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9534
9535 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9536
9537         * lyxrc.C (set_font_norm_type): support iso8859-4
9538
9539 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9540
9541         * LaTeX.C (deplog): add another regex for MikTeX
9542
9543 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9544
9545         * lyxrc.C (set_font_norm_type): support iso8859-3
9546
9547 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9548
9549         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9550
9551         * LaTeXFeatures.C: remove special case of french and index
9552
9553         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9554         before \begin{document}). This solves several incompatibilities.
9555
9556 2001-10-03  Garst Reese  <reese@isn.net>
9557
9558         * lyx_cb.C: change CheckTex error msg.
9559
9560 2001-10-03  José Matos  <jamatos@fep.up.pt>
9561
9562         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9563
9564 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9565
9566         * .cvsignore: update
9567
9568         * lyx_main.C (commandLineVersionInfo): use new style version info.
9569
9570         * buffer.C (writeFile):
9571         (makeLaTeXFile):
9572         (makeLinuxDocFile):
9573         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9574
9575         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9576
9577         * version.h: update to use stuff in version.C
9578
9579         * version.C.in: new file. Contains version information determined
9580         at compile time. This is a merging of version.h and
9581         version_info.h.in.
9582
9583 2001-10-03  Juergen Vigna  <jug@sad.it>
9584
9585         * BufferView_pimpl.C (update): don't change "dirty" status in
9586         updateInset call.
9587
9588 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9589
9590         * WorkArea.C (c-tor): re-position version string slightly.
9591
9592 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9593
9594         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9595         revert to previous code.
9596
9597         WorkArea.[Ch]: (show, destroySplash): methods removed.
9598
9599         WorkArea.C: rework code so that it's an amalgam of the codes before and
9600         after the splash screen was moved to WorkArea.
9601
9602 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9603
9604         * lyxrc.C (read):
9605         * vspace.C (inPixels):
9606         (lyx_advance):
9607         * kbmap.C (bind):
9608         * buffer.C (insertStringAsLines):
9609         (asciiParagraph): fix types to be large enough
9610
9611         * lyxlex_pimpl.h: change member status from short to int
9612
9613         * layout.h: fix type of endlabeltype
9614
9615         * kbmap.C (bind):
9616         * kbsequence.C (parse): change return type to string::size_type
9617
9618         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9619         variable
9620
9621         * Bullet.C (bulletSize):
9622         (bulletEntry): do not use short ints as parameters
9623
9624         * BufferView2.C (insertLyXFile): change a char to an int.
9625
9626         * WorkArea.C (WorkArea): remove unneeded floats in computation
9627
9628 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9629
9630         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9631
9632         * paragraph.C (asString): Do not ignore newline/hfill chars when
9633         copying to the clipboard.
9634
9635 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9636
9637         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9638         after a multi-line inset.
9639
9640 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9641
9642         * paragraph.C (validate): Set NeedLyXFootnoteCode
9643
9644 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9645
9646         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9647         and decrease-error to decrease.
9648
9649 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9650
9651         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9652         it more readable (should be equivalent)
9653
9654 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9655
9656         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9657
9658 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9659
9660         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9661         of a cursor (row, etc.) after a character has been deleted
9662         (deleteEmptyParagraphMechanism): call the method above on _all_
9663         cursors held by the LyXText when a double space has been
9664         detected/deleted.
9665
9666 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9667
9668         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9669         pixmap.
9670         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9671
9672         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9673         background. Use greyOut() and the new show() methods to toggle between
9674         the foreground and background. Add code to remove the splash after
9675         its initial showing.
9676
9677         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9678         (create_forms): no longer call Dialogs::showSplash.
9679
9680 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9681
9682         * .cvsignore: add version_info.h
9683
9684 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9685
9686         * version_info.h.in: new file
9687
9688         * Makefile.am: add version_info.h.in
9689
9690         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9691         version_info.h instead of VERSION_INFO
9692
9693 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9694
9695         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9696         The ERT inset now returns string().
9697
9698 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9699
9700         * lyxtext.h, text.C (selectNextWord): renamed as
9701         selectNextWordToSpellcheck.
9702
9703         * text.C (selectNextWordToSpellcheck): Modified to not select
9704         words inside an ERT inset.
9705
9706 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9707
9708         * lyx_cb.C (MenuLayoutSave): change a bit the question
9709
9710         * sp_base.h: include <sys/types.h>
9711
9712 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9713
9714         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9715
9716 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9717
9718         * several files: fix typos in user-visible strings
9719
9720 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9721
9722         * text2.C (pasteSelection): do not set the selection, since it
9723         will be cleared later. Actually, the intent was to fix the way the
9724         selection was set, but I figured rmoving the code was just as good.
9725
9726 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9727
9728         * FontLoader.C (available): Check if font is available without
9729         loading the font.
9730
9731 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9732
9733         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9734
9735 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9736
9737         * lyxrc.[Ch]: added display_graphics variable and associated code.
9738
9739 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9740
9741         * bufferparams.C (hasClassDefaults): new method. Returns true if
9742         the buffer parameters correspond to known class defaults
9743
9744 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9745
9746         * XFormsView.C (show): set minimum size to the main window.
9747
9748 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9749
9750         * text2.C (copySelection):
9751         (cutSelection):
9752         * lyxfind.C (LyXReplace):
9753         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9754         LyXText::selectionAsString.
9755
9756         * paragraph.C (asString): add "label" argument to the second form
9757
9758         * text2.C (selectionAsString): add "label" argument and pass it to
9759         Paragraph::asString.
9760
9761 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9762
9763         * lyx_main.C (commandLineHelp): remove version information
9764
9765 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9766
9767         * lyx_main.C: add -version commandline option
9768
9769 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9770
9771         * paragraph.h: make the optional constructor arg required instead.
9772         some modifications to other files because of this.
9773
9774         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9775
9776         * lyxserver.C (C_LyXComm_callback): make it static
9777
9778         * lyx_main.C (error_handler): make it static
9779
9780         * lyx_gui.C (LyX_XErrHandler): make it static
9781
9782         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9783
9784         * WorkArea.C: make the extern "C" methods static.
9785
9786         * Makefile.am (lyx_LDADD): simplify
9787
9788 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9789
9790         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9791         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9792
9793         * LyXAction.C (init):
9794         * lyxfunc.C (dispatch): associated code removal.
9795
9796 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9797
9798         * lyxfont.h (isSymbolFont): shut off warning
9799
9800         * text.C (setHeightOfRow):
9801         (getVisibleRow): fix crash with empty paragraphs which have a
9802         bottom line
9803
9804 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9805
9806         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9807         code.
9808
9809 2001-09-04  José Matos  <jamatos@fep.up.pt>
9810         * buffer.C
9811         * buffer.h
9812         * tabular.C (docbook): rename docBook method to docbook.
9813
9814 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9815
9816         * Makefile.am: add dependencies to main.o.
9817
9818 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9819
9820         * FontLoader.C (available): Return false if !lyxrc.use_gui
9821
9822 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9823
9824         * FontInfo.C (query):
9825         * converter.C (view):
9826         * importer.C (Import):
9827         * exporter.C (Export): Can not -> cannot.
9828
9829 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * BufferView_pimpl.C: allow to create index inset even if
9832           string is empty
9833
9834 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9835
9836         * buffer.C (getLists): replace boost::tie code with an explicit pair
9837         as boost::tie can break some compilers.
9838
9839         * iterators.h: Added a std:: declaration to the return type of
9840         ParIterator::size.
9841
9842 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9845           case.
9846
9847 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9848
9849         * iterators.[Ch]: New files. Provide paragraph iterators.
9850
9851         * buffer.C (changeLanguage): Use paragraph iterators.
9852         (isMultiLingual): ditto
9853
9854         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9855
9856 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9857
9858         * FontLoader.C: Support for cmr font.
9859
9860 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9861
9862         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9863         (available): New method.
9864
9865         * FontInfo.C (getFontname): Use scalable fonts even when
9866         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9867         found.
9868
9869 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9870
9871         * converter.C (Formats::view): reverted! Incorrect fix.
9872
9873 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9874
9875         * converter.C (Formats::view): only output the -paper option
9876         if the dvi viewer is xdvi, thereby fixing bug #233429.
9877
9878 2001-08-23  Herbert Voss  <voss@perce>
9879
9880         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9881
9882 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9883
9884         * Spacing.h (Spacing): Set space to Default on in the default
9885         constructor.
9886
9887 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * vc-backend.h (RCS::versionString): add RCS to version
9890         (CVS::versionString): add CVS to version
9891
9892         * vc-backend.C (scanMaster): do not add CVS to version.
9893         (scanMaster): do not add RCS to version
9894
9895         * lyxvc.C (versionString): new method
9896
9897         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9898
9899 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9900
9901         * Spacing.C (set): initialize fval
9902
9903 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9904
9905         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9906         " or \.
9907
9908 2001-08-16  Juergen Vigna  <jug@sad.it>
9909
9910         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9911
9912 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9913
9914         * BufferView_pimpl.C:
9915         * figureForm.C:
9916         * lyxtext.h:
9917         * text2.C: setParagraph takes linespacing now
9918
9919 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9920
9921         * LyxAction.C: add internal LFUN_CITATION_INSERT
9922
9923         * LyXView.C: actually apply fix
9924
9925         * bufferlist.C: fix open non-existent file
9926
9927         * lyxfind.C: fix indentation
9928
9929         * lyxfunc.C: remove unneeded assert, fix typo
9930
9931 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * MenuBackend.C: use "Floatname List"
9934
9935 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9936
9937         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9938         when converting LaTeX layout to insetERT.
9939         Generate a non-collapsed float when reading old float
9940
9941 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9942
9943         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9944         ERT insets.
9945
9946 2001-08-13  Juergen Vigna  <jug@sad.it>
9947
9948         * text.C (fill): return 0 instead of 20 as this seems to be the more
9949         correct value.
9950
9951 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9952
9953         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9954         lyxrc.font_norm.
9955
9956 2001-08-13  Juergen Vigna  <jug@sad.it>
9957
9958         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9959         casesensitive off.
9960         (SearchBackward): comment out the unlocking of the inset_owner this
9961         should not be needed!
9962
9963 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9964
9965         * Many files: Remove inherit_language, and add latex_language
9966
9967         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9968         collapsible insets.
9969
9970 2001-08-10  Juergen Vigna  <jug@sad.it>
9971
9972         * text.C (prepareToPrint): fixed hfill-width in draw!
9973
9974         * BufferView2.C (selectLastWord): save the selection cursor as this
9975         now is cleared in the function LyXText::clearSelection!
9976
9977 2001-08-08  Juergen Vigna  <jug@sad.it>
9978
9979         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9980         BACKSPACE type functions.
9981
9982         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9983         is only cutted from the document but not put in the cut-buffer, where
9984         still the old stuff should be.
9985
9986         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9987
9988         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9989
9990         * tabular.C (SetWidthOfCell): fixed special case where the width
9991         was not updated!
9992         (LeftLine): handle '|' in align_special.
9993         (RightLine): ditto
9994         (LeftAlreadyDrawed): ditto
9995         (SetWidthOfCell): ditto
9996
9997 2001-08-07  Juergen Vigna  <jug@sad.it>
9998
9999         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10000
10001 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10002
10003         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10004         * lyxlex.[hC]: ditto
10005
10006 2001-08-06  Juergen Vigna  <jug@sad.it>
10007
10008         * text.C (getVisibleRow): fix up row clearing a bit.
10009
10010 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10011
10012         * minibuffer.C: make sure the X server sees the changes in the input.
10013
10014 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * paragraph.C (getFont): split into...
10017         (getLabelFont): this
10018         (getLayoutFont): and this
10019         * paragraph_pimpl.C (realizeFont): calling this
10020
10021         * text2.C (getFont): split into...
10022         (getLayoutFont): this
10023         (getLabelFont): and this
10024         (realizeFont): all three calling this
10025
10026         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10027         files where used.
10028
10029 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10030
10031         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10032
10033 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10034
10035         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10036         layouts from the Quote inset insertion.
10037
10038 2001-08-03  Juergen Vigna  <jug@sad.it>
10039
10040         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10041
10042         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10043         only if status not is already CHANGED_IN_DRAW (second level).
10044
10045         * text.C (draw): don't set the need_break_row when inside an
10046         InsetText LyXText.
10047
10048 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10049
10050         * buffer.C (parseSingleLyXformat2Token): handle more latex
10051         conversion cases.
10052
10053         * bufferview_funcs.[hC]: change function names to
10054         begin with small char, adjust other files.
10055
10056 2001-08-02  André Pönitz <poenitz@gmx.net>
10057
10058         * lyxfunc.C:
10059         BufferView_pimpl.C: remove broken special code for math-greek
10060
10061 2001-08-02  Juergen Vigna  <jug@sad.it>
10062
10063         * BufferView_pimpl.C (update): redone this function so that we
10064         update the text again if there was a CHANGE_IN_DRAW.
10065
10066         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10067         (drawFromTo): added a new internal bool which is used by draw() and
10068         redraw() function.
10069         (general): some cursor drawing problems fixed.
10070
10071 2001-08-01  Juergen Vigna  <jug@sad.it>
10072
10073         * lyxfind.C (LyXFind): fixed
10074         (SearchForward): ditto
10075         (SearchBackward): ditto
10076
10077         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10078         spurius drawing of the cursor in the main area.
10079
10080         * text2.C (status): small fix which could lead to a segfault!
10081         (clearSelection): remove unneeded BufferView param.
10082
10083 2001-08-01  André Pönitz <poenitz@gmx.net>
10084
10085         * lyxfunc.C: small change due to changed mathed interface
10086
10087 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10088
10089         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10090
10091 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10092
10093         * lyxfunc.c: fail gracefully if file doesn't exist
10094
10095         * LyXSendto.C:
10096         * buffer.C:
10097         * lyxfunc.C:
10098         * BufferView_pimpl.C: IsDirWriteable() proto changed
10099
10100         * LyXView.C: fix updateWindowTitle() to store the last title
10101
10102 2001-07-31  Juergen Vigna  <jug@sad.it>
10103
10104         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10105         the font (wrong since using of Paragraph::highestFontInRange).
10106
10107         * paragraph.C (highestFontInRange): added a default_size parameter.
10108
10109         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10110         (setHeightOfRow): reformat
10111
10112 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10113
10114         * converter.[hC] + affected files: move to (inital-char)lowercase
10115         function names.
10116
10117         * ParagraphParameters.C (ParagraphParameters): remove commented code
10118
10119         * PainterBase.[Ch]: remove commented code
10120
10121         * LaTeXFeatures.h: add "bool floats" for float.sty
10122
10123         * LaTeXFeatures.C (LaTeXFeatures): init floats
10124         (require): handle float
10125         (getPackages): do it with floats
10126
10127 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10128
10129         * BufferView_pimpl.C (Dispatch): improve handling of
10130         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10131
10132         * commandtags.h: #include lyxfont.h here temporarily to avoid
10133         keybinding bug.
10134
10135         * bufferlist.h: include LString.h here.
10136
10137 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10138
10139         * text2.C (getStringToIndex): new method.
10140
10141 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10142
10143         * *: Reduced header file dependencies all over.
10144
10145 2001-07-30  Baruch Even  <baruch@lyx.org>
10146
10147         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10148
10149 2001-07-29  Baruch Even  <baruch@lyx.org>
10150
10151         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10152
10153 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10154
10155         * ParameterStruct.h (endif): add a default constructor to make
10156         sure that all variables is initialized.
10157
10158         * ParagraphParameters.C (ParagraphParameters): adjust
10159
10160 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10161
10162         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10163         index; also, check that there is something to index, and that it
10164         does not span over several paragraphs.
10165         (doubleClick): use WHOLE_WORD_STRICT for double click.
10166
10167         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10168
10169         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10170         scheme.
10171
10172 2001-07-26  Baruch Even  <baruch@lyx.org>
10173
10174         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10175         an InsetFig figure, backwards compatible reading of old figure code.
10176
10177 2001-07-27  Juergen Vigna  <jug@sad.it>
10178
10179         * text2.C: font.realize function adaption.
10180
10181         * text.C (draw): add a warnings lyxerr text if needed.
10182
10183         * layout.C: font.realize function adaption.
10184
10185         * language.C: add inherit_language and implement it's handlings
10186
10187         * bufferview_funcs.C (StyleReset): remove language parameter from
10188         font creation (should be language_inherit now).
10189
10190         * bufferparams.C (writeFile): handle ignore_language.
10191
10192         * paragraph.C (getFontSettings): the language has to be resolved
10193         otherwise we have problems in LyXFont!
10194
10195         * lyxfont.C (lyxWriteChanges): added document_language parameter
10196         (update): removed unneeded language parameter
10197
10198         * paragraph.C (validate): fixed wrong output of color-package when
10199         using interface colors for certain fonts in certain environments,
10200         which should not seen as that on the final output.
10201
10202 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * BufferView_pimpl.C:
10205         * Thesaurus.h:
10206         * Thesaurus.C:
10207         * Makefile.am:
10208         * commandtags.h:
10209         * LyXAction.C: add thesaurus support
10210
10211         * lyxfind.h:
10212         * lyxfind.C: add "once" parameter, for thesaurus, to not
10213           move to the next match
10214
10215 2001-07-26  Juergen Vigna  <jug@sad.it>
10216
10217         * lyxfont.C (realize): honor ignore_language too!
10218         (resolved): ditto.
10219
10220         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10221
10222         * text.C (draw): one place more for ignore_language to not draw
10223         itself!
10224
10225 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10226
10227         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10228
10229 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10230
10231         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10232         the minipage conversion problem.
10233
10234 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10235
10236         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10237         insert an inset.
10238
10239 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10240
10241         * BufferView.h: don't forward declare WorkArea
10242
10243         * BufferView.C: don't include WorkArea.h
10244
10245 2001-07-25  André Pönitz <poenitz@gmx.net>
10246
10247         * commandtags.h:
10248         * LyXAction.C:
10249         * lyxfunc.C:  new LFUN 'math-space'
10250
10251         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10252
10253 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10254
10255         * text2.C (toggleInset): call open/close
10256
10257 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * lyxfunc.C (dispatch): add debug for the disabled case
10260
10261         * font.C (buttonText): make similar to rectText
10262
10263         * buffer.C (readInset): comment out parsing of insetlist and
10264         insttheorem
10265
10266         * PainterBase.C (rectText): small correction
10267
10268         * BufferView_pimpl.C: comment out insettheorem and insetlist
10269         * LyXAction.C: ditto
10270         * commandtags.h: ditto
10271
10272 2001-07-24  Juergen Vigna  <jug@sad.it>
10273
10274         * text.C (draw): honor the ignore_language.
10275
10276         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10277
10278 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10279
10280         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10281         char inset.
10282
10283 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10284
10285         * lyxtext.h: remove unused (and unimplemented) methods
10286
10287 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10288
10289         * text.C (getVisibleRow): honor background color
10290
10291         * PainterBase.h:
10292         * Painter.h: remove default color argument for fillRectangle
10293
10294         * text.C (backgroundColor): new method
10295
10296 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10297
10298         * text.C (getVisibleRow): adjust
10299
10300         * font.[Ch] (rectText): new method, metrics
10301         (buttonText): new method, metrics
10302
10303         * PainterBase.[hC]: make rectText and buttonText always draw and take
10304         fewer paramteres.
10305
10306 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10307
10308         * ToolbarDefaults.C (read):
10309         * MenuBackend.C (read): allow escaping in all strings
10310
10311         * BufferView_pimpl.C (insertAndEditInset): new method.
10312         (Dispatch): use insertAndEditInset whenever appropriate.
10313
10314         * BufferView_pimpl.C (insertNote): removed
10315
10316         * BufferView_pimpl.C (smartQuote): new method, moved from
10317         BufferView; if an insetquote cannot be inserted, insert a '"'
10318         character instead.
10319
10320         * BufferView2.C: remove insertCorrectQuote();
10321
10322         * lyxfunc.C (getStatus): Add support for all remaingin
10323         inset-insert lfuns.
10324
10325         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10326
10327         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10328         command (necessary to pass " as parameter of self-insert.
10329
10330         * text.C (selectWordWhenUnderCursor):
10331         (selectWord): add word_location parameter
10332         (selectWordWhenUnderCursor): same + remove special code for word
10333         boundary.
10334         (selectNextWord): use kind() to guess type of insetspecialchar,
10335         not latex().
10336
10337         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10338         (insertErtContents): create ert insets as collapsed.
10339         (readInset): better compatibility code for Info inset.
10340
10341 2001-07-20  Juergen Vigna  <jug@sad.it>
10342
10343         * lyxfunc.C (dispatch): use always LyXFind now!
10344
10345         * text2.C (init): add a reinit flag so that the LyXText can be
10346         reinited instead of deleted and reallocated (used in InsetText).
10347
10348         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10349
10350         * text.C: ditto
10351
10352         * text2.C: ditto
10353
10354 2001-07-18  Juergen Vigna  <jug@sad.it>
10355
10356         * text.C (selectNextWord): handle insets inside inset by calling
10357         always the bv->text functions so that we can go up the_locking_inset!
10358
10359         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10360         in strange locations when inside an inset!
10361
10362         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10363         handling to include insets.
10364
10365         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10366
10367 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10368
10369         * LyXAction.C (init):
10370         * commandtags.h:
10371         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10372         LIGATURE_BREAK, since the name is so stupid.
10373
10374 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10375
10376         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10377         InsetInfos.
10378
10379         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10380
10381         * sp_form.[Ch]: remove.
10382
10383         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10384
10385         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10386         InsetInfo.
10387
10388         * src/buffer.C (readInset): ditto.
10389
10390 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10391
10392         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10393         menuSeparator(), endOfSentenceDot(), ldots() and
10394         hyphenationPoint(), which are therefore removed.
10395         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10396
10397         * LyXAction.C (init):
10398         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10399
10400         * paragraph.C (getWord): removed.
10401
10402         * BufferView_pimpl.C (Dispatch): use last word or selection for
10403         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10404
10405         * lyx_main.C (queryUserLyXDir): do not ask before creating
10406         user_dir, except if it has been named explicitely.
10407
10408 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10409
10410         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10411         a document of zero size.
10412
10413 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10414
10415         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10416         approriately in the c-tor and in require().
10417         (getPackages): output the appropriate LaTeX for natbib support.
10418
10419         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10420         variables "use_natbib" and "use_numerical_citations" when reading the
10421         LyX file.
10422         (readInset): read the various natbib cite commands.
10423         (validate): white-space change.
10424
10425         * bufferparams.[Ch]: new variables "bool use_natbib" and
10426         "bool use_numerical_citations".
10427         (writeFile): output them in the LyX file.
10428
10429 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10430
10431         * lyxfunc.C (getStatus): add support for all the inset insertion
10432         commands.
10433
10434         * text2.C (insertInset):
10435         * paragraph.C (insetAllowed):
10436         * BufferView_pimpl.C (insertInset): update to take in account the
10437         renaming of insertInsetAllowed
10438
10439         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10440
10441         * text2.C (getInset): new method. returns inset at cursor position.
10442
10443         * BufferView_pimpl.C (Dispatch): changes because of this.
10444
10445         * LyXAction.C (init): rename open-stuff to inset-toggle.
10446
10447         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10448
10449         * text2.C (toggleInset): renamed from openStuff; use
10450         Inset::open().
10451
10452 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10453
10454         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10455
10456         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10457
10458 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10459
10460         * buffer.C (readLyXformat2): Add filename to the error dialog
10461
10462 2001-07-18  Juergen Vigna  <jug@sad.it>
10463
10464         * tabular.C (GetCellNumber): put an assert here instead of the check!
10465
10466 2001-07-17  Juergen Vigna  <jug@sad.it>
10467
10468         * BufferView_pimpl.C (toggleSelection): adapted too.
10469
10470         * text.C (selectNextWord): adapted for use with insets.
10471         (selectSelectedWord): ditto
10472
10473 2001-07-17  Juergen Vigna  <jug@sad.it>
10474
10475         * sp_spell.C (PSpell): fix initialitation order.
10476
10477 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10478
10479         * paragraph.C: spacing
10480
10481 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10482
10483         * sp_spell.C: repair language selection for pspell
10484
10485 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * lyxfunc.h: change more methods to begin with lower char.
10488
10489 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10490
10491         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10492         for unknown layouts.
10493
10494 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10495
10496         * buffer.C (readLyXformat2): Generate an error dialog if there are
10497         unknown layouts.
10498
10499 2001-07-16  Juergen Vigna  <jug@sad.it>
10500
10501         * sp_spell.C: always compile ISpell part.
10502
10503         * lyxrc.C: added use_pspell entry and it's handling.
10504
10505 2001-07-13  Juergen Vigna  <jug@sad.it>
10506
10507         * sp_spell.C: removed double includes.
10508
10509 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10510
10511         Consistent use of Lsstream.h:
10512         * Lsstream.h: added using std::stringstream for consistencies sake.
10513
10514         * buffer.C: removed using std::stringstream
10515
10516         * lyxfont.C (stateText):
10517         * paragraph.C (asString):
10518         * text.C (selectNextWord, selectSelectedWord):
10519         * text2.C (setCounter):
10520         * vspace.C (asString, asLatexString):
10521         std::ostringstream -> ostringstream.
10522
10523 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10524
10525         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10526         * commandtags.h: add LFUN_HELP_ABOUTLYX
10527         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10528
10529 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10530
10531         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10532         cursorToggle()
10533         * lyx_gui_misc.C: remove spellchecker
10534         * lyxfunc.C: showSpellchecker
10535         * sp_base.h: added
10536         * sp_ispell.h: added
10537         * sp_pspell.h: added
10538         * sp_spell.C: added
10539         * sp_form.[Ch]: removed
10540         * spellchecker.[Ch]: removed
10541
10542 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10543
10544         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10545         is set.
10546         (simpleTeXSpecialChars): Simply print the input character without
10547         any special translation if pass_thru is set.
10548
10549         * layout.h: Added bool pass_thru to layout class for being able to
10550         implement pass through of a paragraph for Literate Programming.
10551
10552         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10553         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10554         * layout.C (Read): add "passthru" to list of layout tags and add
10555         code to set the pass_thru boolean when it is read.
10556
10557 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10558
10559         * trans_decl.h: remove allowed from KmodInfo
10560
10561         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10562         remove allowed code
10563         (Load): adjust
10564
10565         * paragraph_pimpl.C (erase): use boost::prior
10566
10567         * Painter.C (text): use data() instead of c_str() when length is
10568         also provided.
10569         * WorkArea.C (putClipboard): ditto
10570         * font.h (width): ditto
10571
10572         * BufferView2.C: use it-> instead of (*it). for iterators
10573         * texrow.C: ditto
10574         * paragraph_pimpl.C: ditto
10575         * paragraph.C: ditto
10576         * minibuffer.C: ditto
10577         * language.C: ditto
10578         * kbmap.C: ditto
10579         * encoding.C: ditto
10580         * counters.C: ditto
10581         * converter.C: ditto
10582         * chset.C: ditto
10583         * Variables.C: ditto
10584         * TextCache.C: ditto
10585         * MenuBackend.C: ditto
10586         * LyXAction.C: ditto
10587         * LColor.C: ditto
10588         * FloatList.C: ditto
10589         * DepTable.C: ditto
10590         * ColorHandler.C (LyXColorHandler): ditto
10591
10592 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10593
10594         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10595
10596         * text2.C (openStuff): reintroduce this method (which had been
10597         nuked in NEW_INSETS frenzy).
10598
10599         * lyxfunc.C (Dispatch): when an action has not been handled, use
10600         its name in the error message, not its number.
10601
10602         * paragraph.C (inInset): change method name to begin with lowercase.
10603
10604         * undo_funcs.C:
10605         * text2.C: updates because of this.
10606
10607 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10608
10609         * ToolbarDefaults.C (add): add spaces in error message
10610
10611 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10612
10613         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10614         (readLyXformat2): rename return_par to first_par, use lyxlex's
10615         pushToken and remove the manual push handling.
10616         (parseSingleLyXformat2Token): add another ert comp. variable:
10617         in_tabular, rename return_par to first_par. handle newlines better
10618
10619 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10622
10623 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10624
10625         * text2.C (getParFromID): removed
10626
10627         * buffer.C (getParFromID): new method moved form lyxtext.
10628         * BufferView2.C (insertErrors): adjust
10629         (setCursorFromRow): adjust
10630         * BufferView_pimpl.C (restorePosition): adjust
10631         * lyxfunc.C (Dispatch): adjust
10632         * undo_funcs.C (textUndo): adjust
10633         (textRedo): adjust
10634         (textHandleUndo): adjust
10635         (textHandleUndo): adjust
10636
10637 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10638
10639         * buffer.C: up' the LYX_FORMAT
10640
10641         * lyxfont.h: turn NO_LATEX on as default
10642
10643         * buffer.C (insertErtContents): new methods of tex style compability.
10644         (parseSingleLyXformat2Token): use it several places.
10645         * tabular.C (OldFormatRead): and here
10646
10647 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10648
10649         * text2.C: remove some commented code.
10650         reindent file.
10651
10652         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10653         * trans.C: changes because of the above.
10654
10655 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10656
10657         * text2.C (setCounter): Fix counters bug with bibliography layout.
10658
10659 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10660
10661         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10662         own member functions
10663         (simpleTeXSpecialChars): ditto
10664
10665 2001-07-06  Juergen Vigna  <jug@sad.it>
10666
10667         * a lot of files: changed the access to LyXText::status and the
10668         call of undo-functions.
10669
10670         * undo.[Ch]: added a inset_id to the undo informations.
10671
10672         * undo_funcs.[Ch]: added and moved here all undo functions.
10673
10674         * lyxtext.h: give the status enum a weight, made status_ a private
10675         variable and made accessor functions for it, removed the whole bunch
10676         of undo-functions as they are now in their own file, make some
10677         functions publically available. Added function ownerParagraph with
10678         int parameter.
10679
10680         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10681         made InInset() a const function, added getParFromID() function.
10682
10683         * buffer.[Ch]: added const version for inset_iterator functions,
10684         added getInsetFromID() function.
10685
10686         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10687         changed undo functions for new version.
10688
10689 2001-07-05  Juergen Vigna  <jug@sad.it>
10690
10691         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10692         unknow mechanism does not call the proper constructor but only this
10693         one also if I request the other!?
10694
10695 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10696
10697         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10698
10699         * text2.C (LyXText): use initialization lists.
10700
10701         * lyxtext.h (Selection): initialize set_ and mark_
10702         (init): remove method
10703
10704 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10705
10706         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10707
10708 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10709
10710         * screen.[Ch]: change method names to begin with lowercase
10711
10712         * BufferView_pimpl.C (updateScrollbar): simplify further and
10713         hopefully make it a bit faster.
10714
10715 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10716
10717         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10718         calling directly xforms functions.
10719
10720         * Painter.C (Painter):
10721         * lyx_cb.C (MenuWrite):
10722         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10723         fl_display.
10724
10725         * lyx_gui.C: remove bogus guiruntime extern declaration.
10726
10727 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10730         in NEW_INSETS
10731         (redoDrawingOfParagraph): ditto
10732         (redoParagraphs): ditto
10733         (cutSelection): don't create a object for CutAndPaste use the
10734         static method directly
10735         (pasteSelection): ditto
10736
10737         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10738         LyXview (+ rename)
10739
10740 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10741
10742         * modifications to some other files because of this.
10743
10744         * Makefile.am (lyx_SOURCES): add XFormsView
10745
10746         * XFormsView.[Ch]: new files
10747
10748         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10749         the main window. Move the gui dependent stuff to XFormsView
10750
10751 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * tabular.C (GetCellInset): update cur_cell also in the row/col
10754         version of this function.
10755
10756         * lyxfunc.C: no need to include figure_form.h here.
10757
10758         * FontLoader.h:
10759         * lyxfunc.h:
10760         * lyxscreen.h:
10761         * text2.C:
10762         * lyxvc.C: no need to include forms.h here.
10763
10764 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10765
10766         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10767
10768         * lyxfunc.C (Dispatch):
10769         * Spacing.C (set):
10770         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10771         constructor argument.
10772
10773 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10774
10775         * paragraph.C (Paragraph): dont't clear, and just set layout.
10776         (makeSameLayout): use params's copy contructor.
10777
10778         * ParagraphParameters.[Ch] (makeSame): delete method
10779
10780 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * Variables.[Ch]: fix indentation, rename set to isSet
10783
10784 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10785
10786         * lyxfunc.C (Dispatch): fix typo
10787
10788 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10789
10790         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10791         upper_bound.
10792
10793         * bufferlist.C: include assert.h for emergencyWrite().
10794
10795 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10798           give up at last (bug #425202) !
10799
10800 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * lyx_gui_misc.C:
10803         * sp_form.h:
10804         * sp_form.C:
10805         * spellchecker.h:
10806         * spellchecker.C: strip spellchecker options and bring up
10807           preferences tab instead
10808
10809 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10810
10811         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10812         the istringstream constructor
10813
10814 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10815
10816         * paragraph.C (getLayout): fix return value
10817
10818         * paragraph.h: do not declare getLayout as inline.
10819
10820         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10821
10822 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * lyxcursor.h (operator<): new func
10825         (operator>): new func
10826         (operator>=): new func
10827         (operator<=): new func
10828
10829         * text.C (changeCase): use selection.start and selection.end
10830         (changeRegionCase): require from to be <= to. Require par to be a
10831         valid paragraph.
10832
10833         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10834
10835 2001-06-27  Juergen Vigna  <jug@sad.it>
10836
10837         * text.C (cursorLeftOneWord): changed to return the cursor and added
10838         overlay with BufferView * parameter which calls this one.
10839         (getWord): added
10840         (selectWord): use new getWord function.
10841         (changeCase): renamed from changeWordCase as and extended to work
10842         also on selections.
10843
10844         * lyxtext.h: added enum word_location
10845
10846         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10847         changeCase as this operates now also on selections.
10848
10849 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10850
10851         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10852
10853         * many files: send debug output to Debug::INFO instead of
10854         Debug::ANY.
10855
10856         * converter.C (View):
10857         (Convert):
10858         (Move): send debug output to Debug::FILES instead of console.
10859
10860 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10861
10862         * lyxfunc.C (getStatus): use func_status
10863
10864         * func_status.h: new header, describing the results of
10865         LyXFunc::getStatus;
10866
10867         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10868         LFUN_MATH_HALIGN.
10869
10870 2001-06-25  The LyX Project  <jug@sad.it>
10871
10872         * buffer.C (sgmlOpenTag):
10873         (sgmlCloseTag):
10874         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10875
10876 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10877
10878         * text2.C: remove some dead code
10879
10880         * tabular.C (GetCellInset): store the last cell checked (gotten)
10881
10882         * tabular.h: add the helper for the speedup
10883
10884         * lyxtext.h: remove some dead code
10885
10886 2001-06-26  The LyX Project  <Asger>
10887
10888         * paragraph.C: Change export to LaTeX of alignment to
10889         \begin{center} and family for better roundtrip work with reLyX.
10890
10891         * Tune the math drawing a bit.
10892
10893 2001-06-25  The LyX Project  <Asger>
10894
10895         * LColor.C (LColor): New color for math background. New color
10896         for buttons.
10897
10898 2001-06-25  The LyX Project  <jug@sad.it>
10899
10900         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10901
10902         * lyxfunc.C (Open):
10903         * bufferlist.C (newFile): do not restrict to files ending with
10904         .lyx
10905
10906         * BufferView_pimpl.C (MenuInsertLyXFile):
10907
10908 2001-06-24  The LyX Project  <jug@sad.it>
10909
10910         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10911         of compare_no_case
10912
10913 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * lyxtext.h: rename most methods to begin with a small char.
10916         Lots of changes because of this.
10917
10918         * paragraph.C (Paragraph): do not call fitToSize
10919         (erase): call Pimpl::erase
10920         (insertChar): call Pimpl::insertChar
10921         (insertInset): call Pipl::insertInset
10922         (breakParagraph): do not call fitToSize
10923         (breakParagraphConservative): do not call fitToSize
10924         (fitToSize): remove method
10925
10926         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10927
10928 2001-06-24  The LyX Project  <Asger>
10929
10930         * Fix Qt compilation^2
10931
10932 2001-06-24  The LyX Project  <jug@sad.it>
10933
10934         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10935         depthHook(getDepth()-1).
10936
10937         * paragraph.h:
10938         * ParagraphParameters.h:
10939         * ParameterStruct.h: change type of depth to unsigned int ==
10940         depth_type. Many adaptations to other files before of that.
10941
10942 2001-06-24  The LyX Project  <Asger>
10943
10944         * Fix Qt compilation.
10945
10946 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10947
10948         * paragraph.h: renamed several methods to begin with small letter.
10949         several changes to many parts of the code because of this.
10950
10951 2001-06-23  The LyX Project  <jug@sad.it>
10952
10953         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10954         rewritten to discard all double spaces when KeepEmpty is off
10955         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10956         to only handle newlines but not fiddle with spaces and friends.
10957
10958         * lyxfunc.C (MenuNew): when doing 'new from template', use
10959         template_path as default directory
10960
10961 2001-06-23  The LyX Project  <Asger>
10962
10963         * Clean-up of header file includes all over
10964         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10965
10966 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10967
10968         * paragraph.h: renamed from lyxparagraph.h
10969
10970 2001-06-23  Asger  <lyx@violet.home.sad.it>
10971
10972         * Buffer.h: Removed Buffer::resize
10973         * BufferList.h: Removed BufferList::resize
10974         * LyXView.h: Added LyXView::resize. This way, we will only reflow
10975         the document lazily when we change the width, or the font settings.
10976
10977 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10980
10981 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10982
10983         * buffer.h: remove out of date comment
10984
10985 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * lyxscreen.h:
10988         * screen.C: fix "theoretical" GC leak
10989
10990 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10991
10992         * LaTeX.C (scanAuxFile):
10993         (deplog): remove trailing \r when reading stream (useful under
10994         win32)
10995
10996 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10997
10998         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10999         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11000         and BufferView::theLockingInset(Inset*), so should use them and not
11001         access bv_->text->the_locking_inset directly.
11002
11003         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11004
11005 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * Makefile.am:
11008         * tex-defs.h: remove old unused file
11009
11010 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11011
11012         * BufferView_pimpl.C: fix typo, remove minibuffer message
11013           when buffer has loaded
11014
11015 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11016
11017         * lyxfunc.C (Dispatch): use stringstream
11018         (MenuNew): use stringstream
11019         (Open): use stringstream
11020
11021         * importer.C (Import): use stringstream
11022
11023         * bufferview_funcs.C (CurrentState): use stringstream
11024
11025         * LaTeX.C (run): use stringstream
11026
11027         * BufferView_pimpl.C (savePosition): use stringstream
11028         (restorePosition): use stringstream
11029         (MenuInsertLyXFile): use stringstream
11030
11031 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11032
11033         * BufferView.C:
11034         * Bullet.C:
11035         * ColorHandler.C:
11036         * FontInfo.C:
11037         * FontLoader.C:
11038         * LColor.C:
11039         * LaTeXFeatures.C:
11040         * Painter.C:
11041         * gettext.C:
11042         * lyx_gui_misc.C:
11043         * lyxserver.C:
11044         * vspace.C: removed // -*- C++ -*- as first line.
11045
11046         * lyxfind.h:
11047         * version.h: added // -*- C++ -*- as first line.
11048
11049 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11050
11051         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11052
11053         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11054         of string
11055
11056 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11057
11058         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11059         of floats.
11060
11061 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11062
11063         * gettext.C: include LString.h even when --disable-nls is on.
11064
11065 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11066
11067         * converter.h (Get): changed argument type from int to
11068         FormatList::size_type to avoid unnecessary conversion.
11069
11070         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11071         before using it.
11072
11073 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11074
11075         * gettext.h: include LString.h even when --disable-nls is on.
11076
11077 2001-06-07  Juergen Vigna  <jug@sad.it>
11078
11079         * text.C (BreakAgain): subst spaces with tabs.
11080
11081         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11082         (resizeInsetsLyXText): set force on resizeLyXText.
11083
11084 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11085
11086         * gettext.h (gettext_init):
11087         (locale_init): use a real definition instead of a macro
11088
11089 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * Bufferview_pimpl.C:
11092         * LColor.h:
11093         * LColor.C: further lcolor tidies
11094
11095 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11096
11097         * BufferView_pimpl.C (updateScrollbar): simplify.
11098
11099         * BufferView2.C: don't include insets/insetinfo.h, change
11100         prototype for insertInset and call the Pimpl version. let
11101         updateInset call Pimpl version.
11102
11103         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11104         gotoInset to BufferView::Pimpl
11105
11106 2001-06-01  Juergen Vigna  <jug@sad.it>
11107
11108         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11109         inside a LockingInset (is the update needed at all?).
11110
11111 2001-05-31  Juergen Vigna  <jug@sad.it>
11112
11113         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11114         here not the old one otherwise how should we compare it afterwards
11115         if it's the same!
11116
11117 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11118
11119         * lyxfont.C:
11120         * tabular.C:
11121         * tabular-old.C:
11122         * FontInfo.C: bring C functions into global namespace when
11123         necessary
11124
11125 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11126
11127         * LString.h: make sure config.h has been loaded before LString.h.
11128
11129         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11130         (one for each char read by EatLine!).
11131
11132         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11133         variables.
11134
11135 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11138         to the same as the par we break from
11139
11140 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11141
11142         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11143
11144         * MenuBackend.C (expand): also create menu entries for wide
11145         versions of the floats.
11146
11147         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11148
11149         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11150
11151         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11152         frontends/Makefile.am
11153
11154         * text2.C: adjust
11155         * text.C: adjust
11156
11157
11158         * tabular.C (getTokenValue): add std::
11159
11160         * tabular-old.C (getTokenValue): add std::
11161         (getTokenValue): ditto
11162         (getTokenValue): ditto
11163
11164         * screen.C (ToggleSelection): adjust
11165
11166         * lyxtext.h: put selection cursors inside a Selection struct.
11167
11168         * lyxfunc.C (moveCursorUpdate): adjust
11169
11170         * lyxfont.C (latexWriteStartChanges): add std::
11171
11172         * lyxfind.C: adjust
11173
11174         * font.h: delete with(char const *, LyXFont const &)
11175
11176         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11177
11178         * FontInfo.C (getFontname): add std::
11179
11180         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11181         (workAreaButtonPress): adjust
11182         (tripleClick): adjust
11183         (update): adjust
11184         (moveCursorUpdate): adjust
11185         (Dispatch): adjust
11186
11187         * BufferView2.C (gotoInset): adjust
11188
11189 2001-05-30  Juergen Vigna  <jug@sad.it>
11190
11191         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11192         to check pspell I add this as default as I now have new pspell
11193         libraries and they seem to use this.
11194
11195 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11196
11197         * text2.C (CutSelection): make the cursor valid before the call to
11198         ClearSelection.
11199
11200 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11203         relied on 0 terminated strings and other horrors. Bug found due to
11204         the new assert in lyxstring!
11205
11206         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11207         KP_ keys.
11208
11209 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11210
11211         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11212         to latinkeys.bind.
11213
11214         * lyxfunc.C (processKeySym): change method of getting to the
11215         self-insert char.
11216
11217         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11218         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11219         * BufferView_pimpl.[Ch]: here as private methods.
11220
11221 2001-05-28  Juergen Vigna  <jug@sad.it>
11222
11223         * text.C (SetHeightOfRow): added the update() call again as it is
11224         needed to initialize inset dimensions!
11225
11226 2001-05-16  Juergen Vigna  <jug@sad.it>
11227
11228         * text2.C (SetCharFont): Add new function with BufferView * and
11229         bool toggleall parameters for setting insets internal fonts.
11230         (SetFont): Freeze the undo as we may change fonts in Insets and
11231         all this change should be inside only one Undo!
11232
11233         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11234         setting font's in insets as for them we have the SetFont function!
11235
11236 2001-05-15  Juergen Vigna  <jug@sad.it>
11237
11238         * text2.C (ClearSelection): to be sure we REALLY don't have any
11239         selection anymore!
11240
11241         * tabular.C (TeXCellPreamble): fixed the left border problem for
11242         multicolumn cells.
11243
11244 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11245
11246         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11247         dependancy file
11248
11249 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11252         LFUN_BREAKPARAGRAPH.
11253
11254         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11255         help test to "internal only", similar for LFUN_INSERT_URL
11256
11257         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11258         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11259         auto_region_delete and deadkeys.
11260
11261 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * LColor.h:
11264         * LColor.C: remove some dead entries, tidy a little
11265
11266 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11267
11268         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11269         commented code.
11270         (Dispatch): implement LFUN_ESCAPE
11271
11272         * commandtags.h: add LFUN_ESCAPE
11273
11274         * LyXAction.C (init): add entry for LFUN_ESCAPE
11275
11276         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11277         Remove commented code.
11278         (insertNote): moved here
11279         (open_new_inset): moved here
11280
11281         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11282         BufferView_pimpl
11283
11284 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11285
11286         * kbmap.C (findbinding): clean it up and make it work correctly.
11287
11288         * lyx_main.C (init): do not pass argc and argv as parameters
11289
11290 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11291
11292         * buffer.C: fix path for OS/2 & Win32
11293
11294         * lyx_gui.C:
11295         * lyx_main:
11296         * lyx_main.C: Added os:: class.
11297
11298         * os2_defines.h: update
11299
11300 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11303         better by trying again with reduced state.
11304
11305 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11306
11307         * lyxrc.C (read): print error about invalid key sequence only when
11308         debugging (because not all latinX keysyms are known to some X
11309         servers)
11310
11311         * kbsequence.C (getiso): add a few std:: qualifiers
11312         (getiso): comment out extra return statement.
11313
11314 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11315
11316         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11317         handling.
11318         (Dispatch): enhance the accent inset a bit. (not perfect)
11319
11320 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11321
11322         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11323
11324 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11325
11326         * bufferlist.C (emergencyWrite): fix assert() call
11327
11328 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11329
11330         * text.C (InsertChar): Added trivial patch to only send the "you
11331         can not do multiple spaces this way" message once during a
11332         session.
11333
11334 2001-05-08  Baruch Even  <baruch@lyx.org>
11335
11336         * Makefile.am: Changed order of libraries to get LyX to link properly
11337         with the gnome frontend.
11338
11339 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11340
11341         * LaTeXFeatures.h: add a std:: qualifier
11342
11343 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * paragraph.C (String): use stringstream
11346
11347 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * paragraph.C (writeFile): remove footflag arg
11350
11351         * buffer.C (makeLaTeXFile): use stringstream
11352         (latexParagraphs): remove footnot gurba
11353
11354         * LaTeXFeatures.C (getPackages): use stringstream
11355         (getMacros): likewise
11356         (getTClassPreamble): likewise
11357         (getFloatDefinitions): new method
11358
11359         * paragraph.C (writeFile): reindent
11360         (Erase): reindent
11361
11362         * WorkArea.h: revert the xpos + etc changes.
11363
11364         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11365
11366         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11367
11368         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11369         (pasteSelection): likewise
11370         * text2.C (CreateUndo): likewise
11371
11372 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11373
11374         * minibuffer.C (peek_event): temporarily reduce the functionality
11375         of the minibuffer (to allow args on lfuns)
11376
11377         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11378         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11379
11380         * buffer.C (readInset): add compability reading of old float
11381         lists, add reading of new style float list.
11382         (readInset): avoid reevaluation of inscmd.getCmdName()
11383         (getLists): reindent
11384
11385         * MenuBackend.C (MenuItem): implement parsing of
11386         md_floatlistinsert and md_floatinsert.
11387         (expand::LastFiles): move initalizaton of iterators out of loop,
11388         avoid reevaluation.
11389         (expand::Documents): introduce typdedef vector<string> Strings,
11390         and use it.
11391         (expand::ExportFormats): introduce typedef vector<Format const *>
11392         Formats, and use it.
11393         (expand): implement FloatListInsert and FloatInsert.
11394
11395         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11396         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11397         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11398
11399         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11400         handling.
11401         (Dispatch::LFUN_FLOAT_LIST): implement
11402
11403 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11404
11405         * LaTeX.C (run): Fix problem with --export code.
11406
11407 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11408
11409         * BufferView.[Ch] (workarea): removed.
11410         (getClipboard) new method; wrapper for workarea()->getClipboard()
11411
11412         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11413         bug.
11414
11415         * WorkArea.h (width, height, xpos, ypos): These methods all
11416         returned the dimensions of the work_area sub-area of WorkArea,
11417         resulting in a position error if the WorkArea were resized. Now
11418         return the dimensions of the entire WorkArea.
11419
11420         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11421
11422 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11423
11424         * LaTeX.C (deplog): correct the syntax of regex reg1
11425
11426 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * undo.C: remove !NEW_INSETS cruft
11429
11430 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * text2.C: remove !NEW_INSETS cruft
11433
11434         * text.C: remove !NEW_INSETS cruft
11435
11436         * tabular.C: remove !NEW_INSETS cruft
11437
11438         * spellchecker.C: remove !NEW_INSETS cruft
11439
11440         * lyxtext.h: remove !NEW_INSETS cruft
11441
11442         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11443
11444         * lyxfunc.C: remove !NEW_INSETS cruft
11445
11446         * lyxfind.C: remove !NEW_INSETS cruft
11447
11448         * lyx_cb.C: remove !NEW_INSETS cruft
11449
11450         * figureForm.C: remove  !NEW_INSETS cruft
11451
11452         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11453
11454         * buffer.[Ch]: remove !NEW_INSETS cruft
11455
11456         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11457
11458         * CutAndPaste.C: remove !NEW_INSETS cruft
11459
11460         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11461
11462         * BufferView2.C: remove !NEW_INSETS cruft
11463
11464         * BufferView.h: remove !NEW_INSETS cruft
11465
11466 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11467
11468         * Lsstream.h: include LString.h before the sstream headers to
11469         fix problem with gcc 2.95.3 and lyxstring
11470
11471 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11472
11473         * lyx_main.C: add using directives when needed for C functions
11474         declared in std:: namespace.
11475
11476 2001-04-27  Juergen Vigna  <jug@sad.it>
11477
11478         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11479         (SetHeightOfRow): comment out the update call should not be needed!
11480
11481 2001-04-13  Juergen Vigna  <jug@sad.it>
11482
11483         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11484         (LyXTabular): tried to minimize operator= operations (and realized
11485         hopfully Lars wish).
11486
11487 2001-04-27  Juergen Vigna  <jug@sad.it>
11488
11489         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11490
11491 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11492
11493         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11494
11495         * buffer.C (readInset): hack to make listof algorithm work
11496
11497         * BufferView_pimpl.C: hack to make listof algorithm work
11498
11499 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11500
11501         * LyXAction.C: removed all !NEW_INSETS cruft
11502         (init): moved lfun_item in method
11503
11504         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11505
11506 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11507
11508         * BufferView2.C (theLockingInset): white space.
11509
11510 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11511
11512         * minibuffer.C: include <iostream>
11513
11514         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11515
11516         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11517
11518         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11519
11520         * text.[Ch] (TransposeChars): new method
11521
11522 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11523
11524         * call message directly through LyXView instead of through LyXFunc
11525         * BufferView2.C: adjust
11526         * BufferView_pimpl.C: adjust
11527         * FontLoader.C: adjust
11528         * buffer.C: adjust
11529         * bufferview_funcs.C: adjust
11530         * converter.C: adjust
11531         * figureForm.C: adjust
11532         * importer.C: adjust
11533         * lyx_cb.C: adjust
11534         * lyx_gui_misc.C: adjust
11535         * lyxfunc.C: adjust
11536         * lyxvc.C: adjust
11537         * text2.C: adjust
11538         + more files in subdirs
11539
11540         * lyxparagraph.h (size): move up int file
11541         (GetLayout): ditto
11542
11543         * adjust all uses of Assert to lyx::Assert.
11544
11545         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11546         lyxfunctional in namespace lyx
11547         * layout.C (hasLayout): ditto
11548         (GetLayout): ditto
11549         (GetLayout): ditto
11550         (delete_layout): ditto
11551         (NumberOfClass): ditto
11552         * converter.C (GetFormat): ditto
11553         (GetNumber): ditto
11554         (Add): ditto
11555         (Delete): ditto
11556         (SetViewer): ditto
11557         * bufferlist.C (getFileNames): ditto
11558         (emergencyWriteAll): ditto
11559         (exists): ditto
11560         (getBuffer): ditto
11561         * MenuBackend.C (hasSubmenu): ditto
11562         (hasMenu): ditto
11563         (getMenu): ditto
11564         * BufferView_pimpl.C (getInsetByCode): ditto
11565
11566 2001-04-18  Juergen Vigna  <jug@sad.it>
11567
11568         * vspace.C (asLatexString): fixed the 100% problem.
11569
11570 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11571
11572         * lyxfunc.C (Dispatch):
11573         * minibuffer.C:
11574         * minibuffer.h: add a few std:: qualifiers
11575
11576 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * minibuffer.[Ch]: reimplement so that commands is initiated and
11579         run from lyxfunc, simplified som handling, and made the completion
11580         and history code for complete. wip.
11581
11582         * lyxfunc.C (processKeySym): call message
11583         (miniDispatch): new temporary method
11584         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11585         (LFUN_MESSAGE): implement
11586         (LFUN_MESSAGE_PUSH): implement
11587         (LFUN_MESSAGE_POP): implement
11588         (initMiniBuffer): the initial/defualt minibuffer message.
11589
11590         * lyxfont.[Ch]: inline some more getters
11591
11592         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11593
11594         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11595
11596         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11597         (AutoSave): use LFUN_MESSAGE
11598         (Reconfigure): ditto
11599
11600         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11601
11602         * figureForm.C: use LFUN_MESSAGE
11603
11604         * converter.C (runLaTeX): use LFUN_MESSAGE
11605
11606         * bufferview_funcs.C: use LFUN_MESSAGE
11607         (Melt): ditto
11608         (changeDepth): ditto
11609
11610         * bufferparams.h: use boost::
11611
11612         * bufferlist.h: inherit privately from noncopyable
11613
11614         * bufferlist.C (loadLyXFile): remove some commented code.
11615
11616         * buffer.C (runChktex): use LFUN_MESSAGE
11617
11618         * ShareContainer.h: inherit privately from noncopyable
11619
11620         * ParagraphParameters.[hC] (depth): inline it.
11621
11622         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11623         methods.
11624         (message): new method
11625         (messagePush): ditto
11626         (messagePop): ditto
11627         (show): init minibuffer
11628         (showState): direct call
11629
11630         * LaTeX.[Ch]: inherit privately from noncopyable
11631         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11632         instead of WriteStatus.
11633
11634         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11635
11636         * BufferView_pimpl.C (buffer): don't init minibuffer
11637         (workAreaButtonPress): use LFUN_MESSAGE
11638         (workAreaButtonRelease): ditto
11639         (savePosition): ditto
11640         (restorePosition): ditto
11641         (MenuInsertLyXFile): ditto
11642         (workAreaExpose): don't init minibuffer
11643         (update): remove commented code, simplify
11644
11645         * BufferView2.C (openStuff): use LFUN_MESSAGE
11646         (toggleFloat): ditto
11647         (menuUndo): ditto
11648         (menuRedo): ditto
11649         (copyEnvironment): ditto
11650         (pasteEnvironment): ditto
11651         (copy): ditto
11652         (cut): ditto
11653         (paste): ditto
11654         (gotoInset): ditto
11655         (updateInset): remove some commented code
11656
11657         * lastfiles.h: inherit privately from noncopyable
11658         * layout.h: ditto
11659         * lyx_gui.h: ditto
11660         * lyx_main.h: ditto
11661         * lyxlex.h: ditto
11662         * lyxlex_pimpl.h: ditto
11663
11664         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11665         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11666         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11667
11668         * LyXAction.h: inherit privately from noncopyable, add methods
11669         func_begin, func_end, returning iterators to the func map.
11670
11671         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11672         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11673         (func_begin): new method
11674         (func_end): new method
11675
11676         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11677         and not)
11678         (copySelection): ditto
11679         (pasteSelection): ditto
11680
11681         * BufferView.C: whitespace change
11682         * BufferView.h: inherit privately from noncopyable
11683
11684 2001-04-16  Allan Rae  <rae@lyx.org>
11685
11686         * tabular-old.C (l_getline):
11687         * spellchecker.C (sc_check_word):
11688         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11689         an unrecognised preprocessor directive.  So ensure they're wrapped.
11690
11691 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11692
11693         * src/exporter.C (Export): Give an error message when path to file
11694         contains spaces.
11695
11696 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11697
11698         * LaTeX.C (deplog): Always check that foundfile exists.
11699
11700 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11701
11702         * lyx_main.h:
11703         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11704
11705 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * tabular.[Ch] (getLabelList): implement new method
11708
11709         * minibuffer.h: comment ouf setTiimer
11710
11711         * minibuffer.C (ExecutingCB): constify res
11712         (peek_event): constify s
11713         (Set): constify ntext
11714         (Init): constify nicename
11715
11716         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11717
11718         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11719         (savePosition): use two params to Minibuffer::Set
11720         (restorePosition): ditto
11721
11722 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11723
11724         * lyx_main.C: include language.h
11725
11726         * Makefile.am (lyx_main.o): add language.h
11727
11728 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11729
11730         * exporter.C:
11731         * paragraph.C:
11732         * screen.C:
11733         * tabular.C:
11734         * CutAndPaste.C: include gettext.h
11735
11736         * lyxfont.h: remove old hack with ON and OFF.
11737
11738         * lyxparagraph.h:
11739         * lyxfont.h: do not include language.h...
11740
11741         * BufferView2.C:
11742         * LaTeXFeatures.C:
11743         * Painter.C:
11744         * bufferview_funcs.C:
11745         * font.C:
11746         * lyxfont.C:
11747         * text.C:
11748         * text2.C:
11749         * trans_mgr.C:
11750         * paragraph.C: ... but do it here instead
11751
11752 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11753
11754         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11755
11756         * tabular.C: small reformat
11757
11758         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11759         NEW_INSETS version
11760         (GetChar): ditto
11761         (BreakParagraph): ditto
11762         (SetOnlyLayout): ditto
11763         (SetLayout): ditto
11764
11765         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11766         with one arg less.
11767
11768         * lastfiles.C: removed most using decl, add std:: where needed
11769
11770         * buffer.C: ws changes
11771
11772         * MenuBackend.C (class compare_format): put into anon namespace
11773         (expand): constify label, names, action, action2
11774         (expand):
11775
11776         * text.C (SingleWidth): constify font
11777         (IsBoundary): constify rtl2
11778         (GetVisibleRow): constify ww
11779
11780         * LaTeX.C (deplog): constify logfile
11781
11782         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11783         start_x, end_x
11784         (workAreaExpose): constify widthChange, heightChange
11785
11786         * lyxrow.C (par): moved
11787         (height): moved
11788         (next): moved
11789         * lyxrow.h: as inlines here
11790
11791         * lyxfont.h (shape): moved from lyxfont.C
11792         (emph): moved from lyxfont.C
11793
11794         * lyxfont.C (LyXFont): use initialization list for all
11795         constructors
11796         (shape): move to lyxfont.h as inline
11797         (emph): move to lyxfont.h as inline
11798
11799
11800 2001-04-04  Juergen Vigna  <jug@sad.it>
11801
11802         * vspace.C: had to include stdio.h for use of sscanf
11803
11804 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11805
11806         * BufferView.h:
11807         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11808         independent of xforms.
11809
11810 2001-04-02  Juergen Vigna  <jug@sad.it>
11811
11812         * spellchecker.C: fixed namespace placing!
11813
11814 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11815
11816         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11817         the LyXParagraph * is 0.
11818
11819 2001-03-29  Juergen Vigna  <jug@sad.it>
11820
11821         * vspace.C: added support for %, c%, p%, l%.
11822         (stringFromUnit): added helper function.
11823         (asLatexString): changed to give right results for the %-values.
11824
11825         * buffer.C: convert the widthp in a width%.
11826
11827 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11828
11829         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11830         figureForm.[Ch].
11831
11832         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11833         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11834
11835         * lyx_cb.[Ch]: see above.
11836
11837         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11838         form1.[Ch].
11839
11840         * form1.[Ch]:
11841         * lyx.[Ch]: replaced by figure_form.[Ch].
11842
11843         * lyx_gui.C:
11844         * lyx_gui_misc.C:
11845         * lyxfunc.C: changed headers associated with above changes.
11846
11847 2001-03-27  Juergen Vigna  <jug@sad.it>
11848
11849         * BufferView_pimpl.C: set the temporary cursor right!
11850
11851 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11852
11853         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11854
11855 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11856
11857         * LString.h: removed "using std::getline"!
11858
11859         * BufferView_pimpl.C (Dispatch): changes due to changes in
11860         InsetInclude::Params.
11861
11862         * buffer.C (tag_name): removed redundant break statements as they were
11863         producing lots of warnings with my compiler.
11864
11865 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11866
11867         * LString.h: add "using std::getline" when using the real <string>.
11868
11869 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11870
11871         * buffer.C: removed bitset usage.
11872         PAR_TAG moved to an anonymous name space.
11873         (tag_name): new funtion, also in the anonymous namespace.
11874         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11875         (makeDocBookFile): clean code. Completed transition from string arrays
11876         to string vectors.
11877         (SimpleDocBookOnePar): code clean.
11878
11879 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11880
11881         * tabular.C: add some comments.
11882
11883 2001-03-22  Juergen Vigna  <jug@sad.it>
11884
11885         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11886         compatibility read a bit and fixed bug with minipage in different
11887         depth.
11888
11889 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11890
11891         * buffer.C (pop_tag): removed.
11892         (push_tag): removed.
11893         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11894         array replaced with vector. Added support for CDATA sections.
11895         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11896         at any nest level.
11897         (makeDocBookFile): XML conformant declaration of CDATA section,
11898         fixed bug related to <emphasis> in the first paragraph char.
11899         (sgmlOpenTag): exclude empty tags.
11900         (sgmlCloseTag): ditto.
11901
11902         * buffer.h (pop_tag): removed.
11903         (push_tag): removed.
11904
11905 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * language.h (Languages): added size_type and size().
11908
11909 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11910
11911         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11912         response on compability reading of minipages. One probliem is that
11913         the old usage of minipages was «flertydig»
11914
11915         * several files here and in subdirs: don't use static at file
11916         scope use anon namespaces instead.
11917
11918 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11919
11920         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11921         LaTeX output. This is necessary for Literate document
11922         processing.
11923
11924 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11925
11926         * buffer.C: insert hfill when needed.
11927
11928         * tabular.C (l_getline): use string::erase, small whitespace change.
11929
11930         * BufferView_pimpl.C: try the anon namespace.
11931         * WorkArea.C: ditto
11932
11933 2001-03-16  Juergen Vigna  <jug@sad.it>
11934
11935         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11936         otherwise it won't open options-dialogs.
11937
11938         * buffer.C: honor pextraWidth(p) on converting minipages.
11939
11940         * tabular.C (l_getline): changed the functions to strip trailing \r.
11941
11942 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11943
11944         * BufferView_pimpl.C:
11945         * minibuffer..C: added "using SigC::slot" declaration.
11946
11947 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11948
11949         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11950
11951         * text2.C: ditto
11952
11953         * text.C: ditto
11954
11955         * paragraph.C: ditto
11956
11957         * lyxtext.h: NO_PEXTRA
11958
11959         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11960
11961         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11962         * ParameterStruct.h: ditto
11963         * ParagraphParameters.h: ditto
11964         * lyxparagraph.h: ditto
11965
11966 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11967
11968         * buffer.C: add compability for minipage alignment.
11969         (latexParagraphs): remove unwanted pextra check.
11970
11971         * several files: remove CXX_WORKING_NAMESPACES
11972
11973         * buffer.C (pop_tag): tie is in namespace boost
11974
11975         * BufferView.h: noncopyable is in namespace boost
11976         * lyxlex.h: ditto
11977         * lyx_main.h: ditto
11978         * lyx_gui.h: ditto
11979         * layout.h: ditto
11980         * lastfiles.h: ditto
11981         * bufferlist.h: ditto
11982         * ShareContainer.h: ditto
11983         * LyXView.h: ditto
11984         * LyXAction.h: ditto
11985         * LaTeX.h: ditto
11986
11987 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11988
11989         * Merging changes from BRANCH_MVC back into HEAD.
11990
11991         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11992
11993 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * BufferView_pimpl.C: change from intl.C
11996
11997         * combox.h:
11998         * combox.C:
11999         * Makefile.am: move combox.*
12000
12001         * form1.h:
12002         * form1.C:
12003         * lyx_gui.C:
12004         * intl.h:
12005         * intl.C: remove dialog (covered by prefs)
12006
12007 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12008
12009         * lyxfunc.C (Dispatch): removed redundant break statement.
12010
12011 2001-03-14  Juergen Vigna  <jug@sad.it>
12012
12013         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12014
12015 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12016
12017         * buffer.C: add hack to fix compability reading of minipages.
12018
12019 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12020
12021         * buffer.C (getLists): Cleanup.
12022
12023 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12024
12025         * lyxfont.C (update): don't honor toggleall on font size.
12026
12027 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * bmtable.c:
12030         * bmtable.h:
12031         * Makefile.am: moved to frontends/xforms/
12032
12033         * lyx_gui_misc.C:
12034         * lyxfunc.C:
12035         * BufferView_pimpl.C: changes for moved mathpanel
12036
12037 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * gettext.h: fix gettext_init() in --disable-nls
12040
12041 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12042
12043         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12044
12045 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * lyx.C:
12048         * lyx.h: strip external form
12049
12050 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * BufferView_pimpl.C: add comment, destroySplash()
12053
12054 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * BufferView_pimpl.C:
12057         * LyXAction.C:
12058         * buffer.C:
12059         * commandtags.h:
12060         * lyxfunc.C: use re-worked insetinclude
12061
12062 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12063
12064         * buffer.C: add using std::stringstream.
12065
12066         * lyx_cb.C: readd using std::ios.
12067
12068         * buffer.C: add using std::map.
12069
12070         * BufferView_pimpl.C: add using std::vector.
12071
12072         * ShareContainer.h: add std:: to swap.
12073
12074         * buffer.h: add some typedefs
12075         * buffer.C (getLists): use them
12076         (getLists): renamed from getTocList.
12077         add a counter for the different float types and use it in the
12078         generated string.
12079         (getLists): use the same counter for the NEW_INSETS and the "non"
12080         NEW_INSETS
12081
12082         * lyx_cb.h: remove unused items, includes, using etc.
12083
12084         * ShareContainer.h: remove some commented code, add more comments
12085         and "documentation".
12086
12087 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12088
12089         * buffer.C (getTocList): make the list also when NEW_INSETS is
12090         defined.
12091
12092         * buffer.h: remove TocType
12093
12094         * buffer.C (getTocList): change to return a map<string,
12095         vector<TocItem> >, implement for dynamic number of list.
12096
12097         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12098         * text2.C (PasteSelection): adjust
12099         * CutAndPaste.C (pasteSelection): adjust
12100
12101         * FloatList.C (FloatList): update from the new_insets branch.
12102         * Floating.[Ch]: ditto
12103         * LaTeXFeatures.C: ditto
12104         * buffer.C: ditto
12105         * lyxlex_pimpl.C: ditto
12106
12107         * paragraph.C (Last): remove when NEW_INSETS is defined.
12108
12109         * other file: changes because of the above.
12110
12111 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12112
12113         * lyxparagraph.h: rename next to next_, previous to previous_,
12114         make them private for NEW_INSETS. Rename Next() to next(),
12115         Previous() to previous().
12116
12117         * other files: changes because of the above.
12118
12119 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12120
12121         * BufferView.h:
12122         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12123         problem.
12124
12125 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12126
12127         * main.C (main): pass lyx_localedir to gettext_init().
12128
12129         * gettext.h: remove locale_init and gettext_init macros
12130
12131         * gettext.C (locale_init): new function
12132         (gettext_init): new function
12133
12134         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12135         setlocale().
12136
12137 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12138
12139         * Moved credits to frontends:
12140         * credits.[Ch]: removed
12141         * credits_form.[Ch]: removed
12142         * lyx_gui_misc.C: remove credits stuff
12143         * Makefile.am:
12144
12145 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12146
12147         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12148
12149         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12150         unneeded destructor.
12151
12152         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12153         a standalone pointer again.
12154
12155         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12156
12157 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * Makefile.am:
12160         * filedlg.h:
12161         * filedlg.C:
12162         * LyXAction.C:
12163         * ToolbarDefaults.C:
12164         * bufferlist.C:
12165         * commandtags.h:
12166         * form1.C:
12167         * form1.h:
12168         * lyx_cb.C:
12169         * lyx_cb.h:
12170         * lyxfunc.h:
12171         * lyxfunc.C:
12172         * BufferView_pimpl.C: use new file dialog in GUII
12173
12174         * lyx_cb.h:
12175         * lyx_cb.C: remove LayoutsCB to Toolbar
12176
12177 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12178
12179         * ShareContainer.h (get): add std:: qualifier
12180
12181 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12182
12183         * ShareContainer.h: define a proper ShareContainer::value_type
12184         type (and use typename to please compaq cxx)
12185
12186 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12187
12188         * lyxparagraph.h: move serveral local vars to
12189         ParameterStruct/ParagraphParameters., use ShareContainer in
12190         FontTable., make vars in FontTable private and add getter and
12191         setter.
12192
12193         * paragraph.C: changes because of the above.
12194
12195         * lyxfont.h: remove copy constructor and copy assignment. (the
12196         default ones is ok), move number inside FontBits. move inlines to
12197         lyxfont.C
12198
12199         * lyxfont.C: add number to initializaton of statics, move several
12200         inlines here. constify several local vars. some whitespace
12201         cleanup. Dont hide outerscope variables.
12202
12203         * Spacing.h: add two new constructors to match the set methods.
12204
12205         * ShareContainer.h: new file, will perhaps be moved to support
12206
12207         * ParameterStruct.h: new file
12208
12209         * ParagraphParameters.h: new file
12210
12211         * ParagraphParameters.C: new file
12212
12213         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12214         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12215
12216         * BufferView_pimpl.C: ParagraphParameter changes.
12217         * buffer.C: Likewise.
12218         * bufferview_funcs.C: Likewise.
12219         * text.C: Likewise.
12220         * text2.C: Likewise.
12221
12222 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * lyxfind.C (LyXReplace): do not redefine default argument in
12225         implementation.
12226         (IsStringInText): ditto
12227         (SearchForward): ditto
12228         (SearchBackward): ditto
12229
12230 2001-03-06  Juergen Vigna  <jug@sad.it>
12231
12232         * lyxfind.C (IsStringInText): put parentes around expressions.
12233
12234 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12235
12236         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12237
12238 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12241
12242         * stl_string_fwd.h: add comment
12243
12244         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12245
12246         * tabular.h:
12247         * tabular.C: remove unused DocBook methods
12248
12249         * intl.C:
12250         * language.C:
12251         * paragraph.C:
12252         * buffer.C:
12253         killed DO_USE_DEFAULT_LANGUAGE
12254
12255 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * lyx_gui.C: do not include language.h.
12258
12259         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12260         arguments in function implementation.
12261
12262 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12263
12264         * BufferView_pimpl.C: add <ctime>
12265
12266 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12267
12268         * BufferView_pimpl.C: add using std::find_if
12269
12270 2001-02-27  José Matos  <jamatos@fep.up.pt>
12271
12272         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12273         by OnlyPath.
12274
12275 2001-02-11  José Matos  <jamatos@fep.up.pt>
12276
12277         * buffer.C (makeDocBookFile): command styles now have a parameter as
12278         "title" by default.
12279
12280 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12281
12282         * layout_forms.[Ch]: removed
12283         * lyx_cb.[Ch]: out character
12284         * lyx_gui.C: out character
12285         * lyx_gui_misc.C: out character
12286         * bufferview_funcs.C: : out character,
12287         added toggleall as parameter in ToggleAndShow
12288
12289 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12290
12291         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12292
12293         * text2.C (SetCurrentFont): Disable number property at boundary.
12294
12295 2001-02-26  Juergen Vigna  <jug@sad.it>
12296
12297         * lyxfunc.C (getStatus): added a string argument override function so
12298         that this is correctly called from LyXFunc::Dispatch if it contains a
12299         do_not_use_argument which is used!
12300         (Dispatch): added check for "custom" export and call appropriate func.
12301
12302 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12303
12304         * lyxrc.C: Add language_command_local, language_use_babel and
12305         language_global_options.
12306
12307         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12308
12309         * buffer.C (makeLaTeXFile): Use language_use_babel and
12310         language_global_options.
12311
12312 2001-02-23  Juergen Vigna  <jug@sad.it>
12313
12314         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12315         which works with LyXText and putted it inside BufferView. Here now we
12316         only call for that part the BufferView::Dispatch() function.
12317
12318         * BufferView.C (Dispatch): added.
12319
12320         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12321         functions which needs to use a LyXText over from LyXFunc.
12322         (MenuInsertLyXFile): added
12323         (getInsetByCode): added
12324         (moveCursorUpdate): added
12325         (static TEXT): added
12326
12327 2001-02-22  Juergen Vigna  <jug@sad.it>
12328
12329         * BufferView_pimpl.C (update): call a status update to see if LyXText
12330         needs it.
12331
12332 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12333
12334         * vc-backend.C (revert): implement for CVS
12335         (getLog): implement for CVS
12336
12337 2001-02-20  Juergen Vigna  <jug@sad.it>
12338
12339         * text2.C (ClearSelection): added BufferView param for inset_owner call
12340
12341         * lyxfunc.C (TEXT): added this function and use it instead of
12342         directly owner->view()-text of getLyXText().
12343
12344 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12345
12346         * src/layout_forms.C: out preamble
12347         * src/layout_forms.h: out preamble
12348         * src/lyx_cb.C: out preamble
12349         * src/lyx_cb.h: out preamble
12350         * src/lyx_gui.C: out preamble
12351         * src/lyx_gui_misc.C: out preamble
12352         * src/lyxfunc.C: connect with guii preamble
12353
12354 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12355
12356         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12357
12358 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12359
12360         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12361         whether to run bibtex.
12362
12363 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12364
12365         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12366
12367 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12368
12369         * Makefile.am (lyx_SOURCES): removed bibforms.h
12370
12371         * vspace.h: doxygen
12372
12373         * text.C (GetVisibleRow): make several local vars const
12374
12375         * tabular.C: small cleanup.
12376
12377         * lyxserver.C (callback): use compare instead of strncmp
12378
12379         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12380         inlines to after class or to paragraph.C
12381
12382         * lyxfont.h: remove friend operator!=
12383
12384         * converter.h: move friend bool operator< to non friend and after
12385         class def.
12386
12387         * combox.h: small cleanup
12388
12389         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12390         to inlines after class def.
12391
12392         * buffer.C (pop_tag): use string operations instead of strcmp
12393
12394         * bmtable.c: doxygen, small cleanup
12395
12396         * LaTeX.h: remove friend operator==
12397
12398 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12399
12400         * screen.C:
12401         * lyxrc.[Ch]:
12402         * lyxfunc.C:
12403         * lyxfont.[Ch]:
12404         * lyx_cb.C:
12405         * intl.[Ch]:
12406         * commandtags.h:
12407         * buffer.C:
12408         * WorkArea.[Ch]:
12409         * LyXAction.C:
12410         * BufferView_pimpl.C:
12411         * BufferView.[Ch]: remove cruft
12412
12413 2001-02-14  Juergen Vigna  <jug@sad.it>
12414
12415         * lyxfunc.C: removed #if 0 unused code
12416
12417         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12418
12419         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12420
12421         * text2.C (SetSelection): added a BufferView * parameter
12422
12423 2001-02-13  Juergen Vigna  <jug@sad.it>
12424
12425         * lyxfunc.C (Dispatch): fixed protected blank problem.
12426         * BufferView2.C (protectedBlank): added LyxText * parameter.
12427
12428         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12429         (AppendColumn): same as above for column_info.
12430
12431         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12432         (moveCursorUpdate): use a LyXText param for support of InsetText.
12433
12434         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12435         (tripleClick): ditto
12436
12437         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12438
12439         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12440
12441         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12442
12443         * text2.C (SetSelection): set correct update status if inset_owner
12444         (ToggleFree): ditto
12445
12446 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12447
12448         * tabular.C: remove some commented code.
12449
12450 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * BufferView_pimpl.C: call hideSplash()
12453
12454         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12455
12456         * include_form.h:
12457         * bibforms.h: remove
12458
12459         * lyxfunc.C:
12460         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12461           add LFUN_CHILD_CREATE
12462
12463         * counters.h: fix tiny typo
12464
12465         * lyx_cb.C:
12466         * lyx.h:
12467         * lyx_gui.C:
12468         * lyx.C: move splash to frontends/xforms/
12469
12470         * lyx_gui_misc.C: move Include and Bibform to frontends
12471
12472         * lyxvc.h: clarify comment
12473
12474         * vspace.C: tiny housekeeping
12475
12476 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12477
12478         * text.C (PrepareToPrint): RTL Fix.
12479
12480         * paragraph.C (GetUChar): New method.
12481         (String):  Use GetUChar.
12482
12483         * buffer.C (asciiParagraph): Use GetUChar.
12484
12485 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12486
12487         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12488
12489 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * buffer.h:
12492         * buffer.C: rename to getLogName(), handle
12493           build log / latex log nicely
12494
12495 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12496
12497         * MenuBackend.C:
12498         * MenuBackend.h: remove support for reference menuitem type.
12499
12500 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * BufferView_pimpl.C: housekeeping
12503         * BufferView_pimpl.h:
12504         * LyXView.h:
12505         * Makefile.am:
12506         * Timeout.C:
12507         * Timeout.h:
12508         * minibuffer.h: move Timeout GUI-I
12509
12510 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * lyxrc.C (read): Update converters data-structures.
12513
12514 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12515
12516         * LaTeX.h (operator!=): add operator != for Aux_Info
12517
12518 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12519
12520         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12521
12522         * LaTeXLog.C: deleted, useful code moved to Buffer
12523
12524         * buffer.h:
12525         * buffer.C: new function getLatexLogName()
12526
12527         * lyx_gui_misc.C:
12528         * lyx_gui.C:
12529         * lyxvc.C:
12530         * lyxvc.h:
12531         * lyxfunc.C: use frontends for LaTeX and VC logs
12532
12533 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * LaTeX.h: yet another std:: that Allan forgot.
12536
12537         * Variables.C (set): renamed from isset(), because this clashes
12538         with some HP-UX macros (grr).
12539
12540 2001-02-06  Allan Rae  <rae@lyx.org>
12541
12542         * LaTeX.h: Another bug fix.  Missing std:: this time.
12543
12544 2001-02-04  Allan Rae  <rae@lyx.org>
12545
12546         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12547         floats problem. I've left it commented out because it's not quite
12548         correct.  It should also test that the current object is a table or
12549         figure inset.  But I haven't gotten around to figuring out how to do
12550         that.  I *think* it'll be something like: "table" == inset.type()
12551
12552         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12553         bool.
12554
12555 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12558         all the citation/databases/styles in the auxilary file.
12559         (run): Rerun latex if there was a babel language error.
12560
12561 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12562
12563         * text.C (Backspace): Preserve the font when changing newline char
12564         with a space.
12565         (BreakParagraph): If the cursor is before a space, delete the space.
12566
12567         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12568
12569 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12570
12571         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12572         new argument (code).
12573         (ChangeCitationsIfUnique): New method.
12574
12575         * paragraph.C (GetPositionOfInset): Handle bibkey.
12576
12577 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * BufferView_pimpl.h: change type of Position::par_pos to
12580         LyXParagraph::size_type.
12581
12582 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12583
12584         * BufferView_pimpl.C (savePosition, restorePosition): Write
12585         messages to minibuffer.
12586
12587 2001-01-28  José Matos  <jamatos@fep.up.pt>
12588
12589         * buffer.C (makeDocBookFile): adds support for document language.
12590         A silly restriction on the name of LatexCommand types where removed.
12591         Added support for CDATA sections, allows to chars unescaped, used
12592         among others in code, to avoid escape < and >.
12593
12594 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12595
12596         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12597         saved positions instrad of a stack. Furthermore, a position is
12598         stored using paragraph id/paragraph position.
12599
12600         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12601         Remove LFUN_REF_BACK.
12602
12603 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12604
12605         * converter.C (dvipdfm_options): New method.
12606
12607 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12608
12609         * vspace.C (isValidLength): Fix for empty input string.
12610
12611 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12612
12613         * LyXAction.C (init): change description of LFUN_FIGURE to
12614         "Insert Graphics"
12615
12616 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12617
12618         * LaTeX.C: add using directive
12619
12620 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12621
12622         * MenuBackend.C (expand): Fix the sorting of the formats.
12623
12624 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12625
12626         * lyx_main.C: tiny error message fix
12627
12628 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12629
12630         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12631         calling fl_initialize(). This fixes the problem with ',' as
12632         decimal separator in text files.
12633
12634 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12635
12636         * trans.C (process): Fix the keymap bug.
12637
12638 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12639
12640         * LaTeX.C (scanAuxFiles): New method. Provides support for
12641         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12642         (scanLogFile) Scan for "run BibTeX" messages.
12643
12644         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12645         OT1 font encoding. Also, load the aecompl package if the ae
12646         package is loaded.
12647
12648         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12649
12650 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12651
12652         * texrow.C (increasePos): turn two error messages into debug
12653         messages.
12654
12655 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12656
12657         * LaTeX.C (scanAux): Handle the \@input macro.
12658         (runBibTeX): Use scanAux().
12659
12660         * language.C (latex_options_): New field.
12661
12662         * LaTeXFeatures.C (getMacros): Add language macros.
12663
12664         * buffer.C (makeLaTeXFile): Small fix.
12665
12666 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12667
12668         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12669
12670         * text2.C: add a using directive.
12671
12672 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * BufferView2.C:
12675         * lyx_gui_misc.h:
12676         * lyxfr1.C:
12677         * lyxfunc.C: kill LyXBell.
12678
12679 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12680
12681         * text.C (IsBoundary): Remove the error message
12682
12683         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12684
12685         * lyxrc.C (setDefaults): Correct initialization value for
12686         font_norm_type.
12687
12688 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12689
12690         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12691         gotoError().
12692
12693         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12694         and GotoNextNote().
12695
12696         * src/LyXAction.C: Added reference-next.
12697
12698         * text.C (InsertChar): Use contains instead of strchr.
12699
12700         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12701
12702 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12703
12704         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12705         alignment commands (when needed).
12706
12707         * text.C (InsertChar): Add ':' to number separator chars.