]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix some dispatch calls
[lyx.git] / src / ChangeLog
1 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
2
3         * BufferView_pimpl.C:
4         * LaTeX.C: fix dispatch calls
5  
6 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7
8         * text.C (drawChars): Fix Arabic text rendering.
9
10 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11
12         * LyXAction.C:
13         * commandtags.h:
14         * lyxfunc.C: remove message-push/pop
15  
16         * lyxserver.C:
17         * lyxfunc.h:
18         * lyxfunc.C: rationalise some code by removing verboseDispatch
19           in favour of a bool argument to dispatch()
20  
21 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
22
23         * lyx_main.C (init): make sure to read symlinks as absolute paths
24
25 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
26
27         * lyxfunc.h:
28         * lyxfunc.C: no need for commandshortcut to be a member
29
30 2002-07-15  André Pönitz <poenitz@gmx.net>
31         
32         * converter.C: add support for $$s (scripts from lib/scripts dir)
33         * lyx_main.C: white space
34
35
36 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
37
38         * bufferlist.C:
39         * lyxrc.h:
40         * lyxrc.C: remove second exit confirmation
41  
42 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
43
44         * BufferView.h:
45         * BufferView.C: 
46         * BufferView2.C: 
47         * BufferView_pimpl.h:
48         * BufferView_pimpl.C:
49         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/ 
50  
51 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
52
53         * MenuBackend.C (expand): add numeric shortcuts to document menu
54
55         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
56
57 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
58
59         * lyxfont.C (setLyXFamily): 
60         (setLyXSeries): 
61         (setLyXShape): 
62         (setLyXSize): 
63         (setLyXMisc): 
64         (lyxRead): 
65         * debug.C (value): 
66         * buffer.C (asciiParagraph): use ascii_lowercase
67
68 2002-07-15  Mike Fabian  <mfabian@suse.de>
69
70         * lyxlex_pimpl.C (search_kw): 
71         * lyxlex.C (getLongString): 
72         * converter.h (operator<): 
73         * converter.C (operator<): 
74         * buffer.C (parseSingleLyXformat2Token): 
75         (asciiParagraph): 
76         * ToolbarDefaults.C (read): 
77         * MenuBackend.C (checkShortcuts): 
78         (read): 
79         * LColor.C (getFromGUIName):
80         (getFromLyXName): use the compare_ascii_no_case instead of
81         compare_no_case, because in turkish, 'i' is not the lowercase
82         version of 'I', and thus turkish locale breaks parsing of tags.
83
84 2002-07-16  Angus Leeming  <leeming@lyx.org>
85
86         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
87         now takes a Buffer const & argument.
88
89 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
90
91         * BufferView.C (resize): check there's a buffer to resize
92  
93 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
94
95         * lyxfunc.C: remove dead code
96
97         * lyxserver.h:
98         * lyxserver.C: use lyx_guii::set_read_callback
99  
100 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
101
102         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
103         an inset in a RTL paragraph.
104
105 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
106
107         * lyxfunc.C: repaint after a font size update
108
109 2002-07-15  André Pönitz <poenitz@gmx.net>
110
111         * lyxlength.C: inBP should be able to return negative values
112
113 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
114
115         * lyxfunc.C: use lyx_gui::update_fonts()
116  
117 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
118
119         * lyxfunc.C: use lyx_gui::update_color()
120  
121 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
122
123         * bufferlist.C:
124         * lyxfunc.h: 
125         * lyxfunc.C:
126         * lyxrc.h:
127         * lyxrc.C: remove file->new asks for name option, and let
128           buffer-new take an argument
129  
130 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
131
132         * BufferView_pimpl.C: remove unneeded extra repaint()
133  
134 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
135
136         * LyXAction.C: allow command-sequence with NoBuffer
137
138         * lyxfunc.C: don't insist on trailing ';' for command-sequence
139  
140 2002-07-10  Angus Leeming  <leeming@lyx.org>
141
142         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
143
144 2002-07-09  Angus Leeming  <leeming@lyx.org>
145
146         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
147
148 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
149
150         * lengthcommon.h: whitespace
151  
152         * lyxfunc.C: update scrollbar after goto paragraph 
153
154         * lyxtext.h: factor out page break drawing, and fix it so
155           page break/added space paints as selected nicely
156  
157 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
158
159         * BufferView_pimpl.C: add FIXMEs, clean up a little
160
161 2002-07-09  André Pönitz <poenitz@gmx.net>
162
163         * lyxfont.[Ch]: support for wasy symbols
164
165 2002-07-08  André Pönitz <poenitz@gmx.net>
166
167         * BufferView_pimpl.C: apply John's patch for #93. 
168
169 2002-07-05  Angus Leeming  <leeming@lyx.org>
170
171         * BufferView_pimpl.C (buffer): generate previews if desired.
172
173         * LColor.h: add "preview" to the color enum.
174
175         * LColor.C (LColor): add a corresponding entry to the items array.
176
177         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
178         with this buffer.
179
180 2002-07-05  Angus Leeming  <leeming@lyx.org>
181
182         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
183         The body of the code is now in the method that is passed an ostream &
184         rather than a file name.
185         Pass an additional only_preamble parameter, useful for the forthcoming
186         preview stuff.
187
188 2002-07-03  André Pönitz <poenitz@gmx.net>
189
190         * lyxfunc.C: simplify getStatus() a bit for math stuff
191
192 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
193
194         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
195
196 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
197
198         * text.C (changeRegionCase): do not change case of all the
199         document when region ends at paragraph end (bug #461)
200
201 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
202
203         * paragraph.C (startTeXParParams):
204         (endTeXParParams): add \protect when necessary
205
206 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
207
208         * BufferView_pimpl.C (workAreaExpose): remove warning
209
210 2002-06-27  Angus Leeming  <leeming@lyx.org>
211
212         * Makefile.am: add lyxlayout_ptr_fwd.h.
213
214 2002-06-26  André Pönitz <poenitz@gmx.net>
215
216         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
217
218 2002-06-25  Angus Leeming  <leeming@lyx.org>
219
220         * lyxfunc.C (dispatch): Comment out the call to
221         grfx::GCache::changeDisplay. The method no longer exists now that the
222         pixmap generation part of the graphics loader has been moved into
223         InsetGraphics.
224
225 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
226
227         * text2.C: layout as layout
228
229         * text.C: layout as layout
230
231         * tabular.C (OldFormatRead): layout as layout
232
233         * paragraph_pimpl.C (TeXDeeper): layout as layout
234         (realizeFont): layout as layout
235
236         * paragraph.C (writeFile): layout as layout
237         (validate): layout as layout
238         (getFont): layout as layout
239         (getLabelFont): layout as layout
240         (getLayoutFont): layout as layout
241         (breakParagraph): layout as layout
242         (stripLeadingSpaces): layout as layout
243         (getEndLabel): layout as layout
244         (getMaxDepthAfter): layout as layout
245         (applyLayout): layout as layout
246         (TeXOnePar): layout as layout
247         (simpleTeXOnePar): layout as layout
248         (TeXEnvironment): layout as layout
249         (layout): layout as layout
250         (layout): layout as layout
251
252         * lyxtextclass.C (compare_name): new functor to work with
253         shared_ptr, layout as layout
254         (Read): layout as layout
255         (hasLayout): layout as layout
256         (operator): layout as layout
257         (delete_layout): layout as layout
258         (defaultLayout): layout as layout
259
260         * lyxlayout_ptr_fwd.h: new file
261
262         * lyxlayout.C (Read): layout as layout
263
264         * lyx_cb.C (MenuInsertLabel): layout as layout
265
266         * bufferlist.C (newFile): layout as layout
267
268         * buffer.C (readLyXformat2): layout as layout
269         (parseSingleLyXformat2Token): layout as layout
270         (insertStringAsLines): layout as layout
271         (asciiParagraph): layout as layout
272         (latexParagraphs): layout as layout
273         (makeLinuxDocFile): layout as layout
274         (simpleLinuxDocOnePar): layout as layout
275         (makeDocBookFile): layout as layout
276         (simpleDocBookOnePar): layout as layout
277         (getLists): layout as layout
278
279         * LaTeXFeatures.C (getTClassPreamble): layout as layout
280
281         * CutAndPaste.C (cutSelection): layout as layout
282         (pasteSelection): layout as layout
283         (SwitchLayoutsBetweenClasses): layout as layout
284
285         * BufferView_pimpl.C (Dispatch): layout as layout
286         (smartQuote): layout as layout
287
288         * BufferView2.C (unlockInset): layout as layout
289
290 2002-06-24  André Pönitz <poenitz@gmx.net>
291
292         * lyxfunc.C: fix #487
293
294 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
295
296         * lyxrc.h:
297         * lyxrc.C:
298         * lyxfunc.C: remove display_shortcuts, show_banner
299
300 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
301
302         * Buffer_pimpl.C: oops, update on resize
303
304 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
305
306         * buffer.C:
307         * converter.C:
308         * exporter.C:
309         * lyxfunc.C:
310         * BufferView.h:
311         * BufferView.C: use repaint()
312
313         * BufferView_pimpl.h:
314         * BufferView_pimpl.C: s/updateScreen()/repaint()/
315           as it's a clearer description. Remove superfluous
316           redraws.
317
318 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
319
320         * text.C: fix bug 488. Not ideal, but getting
321           getWord() to work properly for the insets that
322           matter is more difficult ...
323
324 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
325
326         * BufferView_pimpl.C:
327         * LyXAction.C:
328         * commandtags.h:
329         * lyxfunc.C: remove the six million index lyxfuncs to just
330           one, and DTRT (bug 458)
331
332 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
333
334         * BufferView.h:
335         * BufferView.C:
336         * BufferView_pimpl.h:
337         * BufferView_pimpl.C: clean up resize() stuff,
338           and unnecessary updateScreen()s
339
340 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
341
342         * BufferView.h:
343         * BufferView.C:
344         * BufferView_pimpl.h:
345         * BufferView_pimpl.C:
346         * lyxfind.h:
347         * lyxfind.C:
348         * minibuffer.C: remove focus management of workarea,
349           not needed. Use screen's greyOut()
350
351 2002-06-17  Herbert Voss  <voss@lyx.org>
352
353         * converter.C: (convert) do not post a message, when converting
354         fails, let the calling function decide what to do in this case
355
356 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
357
358         * lyxfunc.C: tidy up a little
359
360 2002-06-16    <alstrup@diku.dk>
361
362         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
363         Got rid of FORMS_H_LOCATION include. Now we are
364         GUII.
365
366 2002-06-15  LyX Development team  <lyx@rilke>
367
368         * buffer.[Ch] (sgmlOpenTag):
369         (sgmlCloseTag): Added support for avoiding pernicious mixed
370         content. Return number of lines written.
371
372         (makeLinuxDocFile):
373         (makeDocBookFile): Fixed calls to sgml*Tag.
374         Simple white space clean.
375
376         (simpleDocBookOnePar): Simple white space clean.
377
378         * tabular.[Ch] (docBook): Renamed to docbook and got another
379         argument to related with the pernicious mixed content.
380
381         (docbookRow): Fixed calls for docbook inset method.
382
383 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
384
385         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
386         so it's X11 independent.
387
388         * kb*.[Ch]: ditto.
389
390         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
391
392 2002-06-15  Lyx Development team  <lyx@electronia>
393
394         * intl.h: Renamed getTrans to getTransManager.
395
396 2002-06-14  Angus Leeming  <leeming@lyx.org>
397
398         * Makefile.am: nuke forgotten stl_string_fwd.h.
399
400 2002-06-12  Angus Leeming  <leeming@lyx.org>
401
402         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
403
404 2002-06-13  Angus Leeming  <leeming@lyx.org>
405
406         * LaTeX.C:
407         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
408
409 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
410
411         * kbmap.C (getiso): add support for cyrillic and greek
412
413 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
414
415         * BufferView.h:
416         * BufferView.C:
417         * BufferView_pimpl.h:
418         * BufferView_pimpl.C: move bogus scrolling logic
419           to xforms
420
421 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
422
423         * lyxfunc.C:
424         * BufferView_pimpl.C: view->resize() change
425
426 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
427
428         * BufferView_pimpl.C: topCursorVisible
429           prototype change
430
431 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
432
433         * Makefile.am:
434         * lyx_gui.h:
435         * lyx_gui.C: move to frontends/
436
437         * main.C:
438         * lyx_main.h:
439         * lyx_main.C: changes from above
440
441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
442
443         * intl.C:
444         * intl.h:
445         * kbmap.C:
446         * kbsequence.C:
447         * lyx_cb.C:
448         * lyx_main.C: minor tidy
449
450 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
451
452         * BufferView_pimpl.h:
453         * BufferView_pimpl.C:
454         * BufferView.h:
455         * BufferView.C: make painter() const,
456           remove dead code
457
458         * BufferView2.C: use screen() accessor
459
460         * lyx_main.h:
461         * lyx_main.C: some minor cleanup
462
463 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
464
465         * BufferView_pimpl.h:
466         * BufferView_pimpl.C: remove enter/leaveView,
467           use workHeight()
468
469 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
470
471         * BufferView.h:
472         * BufferView.C:
473         * BufferView2.C:
474         * BufferView_pimpl.h:
475         * BufferView_pimpl.C: only construct screen once,
476           rename
477
478         * lyxrc.C: remove pointless comment
479
480 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
481
482         * BufferView.h:
483         * BufferView.C: remove active() and belowMouse()
484
485         * BufferView_pimpl.h:
486         * BufferView_pimpl.C: use workarea() not workarea_,
487           and make it use a scoped_ptr instead
488
489 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
490
491         * lyx_gui.C: add debug message on BadWindow
492
493 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
494
495         * sp_spell.C: fdopen is not part of the C++ standard.
496
497         * paragraph.C (InsetIterator): use >= instead of ==
498
499 2002-06-07  Angus Leeming  <leeming@lyx.org>
500
501         Fixes needed to compile with Compaq cxx 6.5.
502         * BufferView_pimpl.C:
503         * DepTable.C:
504         * buffer.C:
505         * converter.C:
506         * encoding.C:
507         * lyx_gui.C:
508         * lyx_main.C:
509         * lyxtextclasslist.C:
510         * minibuffer.C:
511         * sp_spell.C:
512         * tabular_funcs.C:
513         * vc-backend.C:
514         all c-library variables have been moved into namespace std. Wrap
515         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
516
517         * lyxlength.C:
518         * tabular-old.C:
519         * tabular.C:
520         Add a using std::abs declaration.
521
522         * kbmap.h (modifier_pair):
523         * paragraph.h (InsetTable, InsetList):
524         * lyxfont.h (FontBits):
525         type definition made public.
526
527         * bufferlist.C (emergencyWriteAll): the compiler complains that
528         there is more than one possible lyx::class_fun template to choose from.
529         I re-named the void specialisation as lyx::void_class_fun.
530
531         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
532
533         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
534         the compiler is is unable to find tostr in write_attribute.
535
536 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
537
538         * buffer.C (sgmlError): hide #warning
539
540 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
541
542         * xtl/*: get rid of xtl, which is not in use anyway
543
544         * LyXAction.C (init):
545         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
546         were unimplemented xtl experimentation
547
548 2002-06-04  André Pönitz <poenitz@gmx.net>
549
550         * lyxfunc.C: disable array operation on simple formulae
551
552 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
553
554         * converter.C: constify a bit
555
556 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
557
558         * lyx_gui.C: check xforms version correctly
559
560 2002-04-30  Herbert Voss  <voss@lyx.org>
561
562         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
563         "keep" option
564
565 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
566
567         * lyxvc.C: fix bug 416 (make sure buffer is saved before
568           attempt to register it with a VCS)
569
570 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
571
572         * lyx_main.C (init): honor variables LYX_DIR_13x and
573         LYX_USERDIR_13x
574
575 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
576
577         * buffer.h:
578         * buffer.C:
579         * lyx_main.C: fix a crash on bad command line,
580           and give a useful exit status on error
581
582         * lyxfunc.C (doImport): allow -i lyx to work
583
584 2002-03-30  André Pönitz <poenitz@gmx.net>
585
586         * lyxfunc.C: mathed font changes
587
588 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
589
590         * LaTeX.C:
591         * importer.h:
592         * importer.C:
593         * lyx_sty.h:
594         * lyx_sty.C:
595         * lyxlex.C:
596         * lyxrow.h:
597         * lyxtext.h:
598         * paragraph.h:
599         * paragraph.C:
600         * texrow.h:
601         * texrow.C:
602         * text.C:
603         * trans_mgr.h: srcdocs, and some minor cleanups
604
605 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
606
607         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
608         call getFont all the time)
609
610 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
611
612         * switch from SigC signals to boost::signals
613
614 2002-05-29  André Pönitz <poenitz@gmx.net>
615
616         * paragraph_pimpl.C (getChar): don't call size() too often...
617
618 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
619
620         * paragraph_pimpl.C (insertChar): do not try to update tables when
621         appending (pos == size())
622
623         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
624         in order to reduce drastically the number of comparisons needed to
625         parse a large document
626
627 2002-05-29  André Pönitz <poenitz@gmx.net>
628
629         * text.C:
630         * text2.C:
631         * lyxtextclass.C:
632         * sp_pspell.h:
633         * textclasslist.[Ch]:
634         * sp_ispell.h: whitespace change
635
636 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
637
638         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
639         lyxaction directly now.
640
641 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
642
643         * trans.C:
644         * lyxfont.C:
645         * lyxvc.C: remove unused headers
646
647 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
648
649         * Makefile.am:
650         * buffer.h:
651         * undostack.h:
652         * undostack.C:
653         * undo_funcs.h:
654         * undo_funcs.C: some cleanups. Use shared_ptr
655           and a template for the undo stacks.
656
657 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
658
659         * BufferView_pimpl.h:
660         * BufferView_pimpl.C:
661         * kbmap.h:
662         * kbmap.C:
663         * kbsequence.h:
664         * kbsequence.C:
665         * lyxfunc.h:
666         * lyxfunc.C:
667         * text2.C: use key_state/mouse_state
668
669 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
670
671         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
672         and LSubstring
673
674         * chset.C: change include order
675         (loadFile): use boost regex and get rid of LRegex and LSubstring
676
677         * Makefile.am (BOOST_LIBS): new variable
678         (lyx_LDADD): use it
679
680         * LaTeX.C: change include order.
681         (scanAuxFile): use boost regex and get rid of LRegex and
682         LSubstring
683         (deplog): ditto
684
685 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
686
687         * ColorHandler.h:
688         * ColorHandler.C:
689         * FontInfo.h:
690         * FontInfo.C: moved to frontends/xforms/
691
692         * FontLoader.h:
693         * FontLoader.C: moved into frontends for GUIIzation
694
695         * Makefile.am:
696         * lyx_gui.C:
697         * lyxfont.C:
698         * lyxfunc.C: changes from above
699
700 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
701
702         * LColor.C: remove spurious X include
703
704         * BufferView_pimpl.C:
705         * Makefile.am:
706         * font.h:
707         * font.C:
708         * text.C:
709         * text2.C: move font metrics to frontends/
710
711 2002-05-24  Juergen Vigna  <jug@sad.it>
712
713         * undo_funcs.C (textHandleUndo): fix the cursor selection after
714         setting the undo_cursor.
715
716         * ParagraphParameters.h: include local includes first.
717
718 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
719
720         * BufferView_pimpl.C:
721         * BufferView_pimpl.h:
722         * Makefile.am:
723         * WorkArea.h:
724         * WorkArea.C:
725         * screen.C: move WorkArea into frontends/
726
727         * lyxscreen.h:
728         * screen.C:
729         * text.C:
730         * BufferView.C:
731         * BufferView2.C: move LyXScreen into frontends/
732
733         * lyxlookup.h:
734         * lyxlookup.C:
735         * lyx_gui.C: move lyxlookup into frontends/xforms/
736
737 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
738
739         * BufferView2.C:
740         * BufferView_pimpl.C:
741         * FontLoader.C:
742         * LyXView.h:
743         * LyXView.C:
744         * Makefile.am:
745         * WorkArea.C:
746         * XFormsView.h:
747         * XFormsView.C:
748         * buffer.C:
749         * bufferlist.C:
750         * bufferview_funcs.C:
751         * converter.C:
752         * importer.C:
753         * lyx_cb.C:
754         * lyx_gui.C:
755         * lyx_main.C:
756         * lyx_find.C:
757         * lyxfunc.C:
758         * lyxvc.C:
759         * minibuffer.C:
760         * text.C:
761         * text2.C:
762         * trans.C:
763         * vc-backend.C: move LyX/XFormsView into frontends/
764
765 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
766
767         * Makefile.am:
768         * PainterBase.C:
769         * PainterBase.h:
770         * Painter.C:
771         * Painter.h:
772         * WorkArea.C:
773         * WorkArea.h:
774         * screen.C:
775         * tabular.C:
776         * text.C:
777         * text2.C: move Painter to frontends/
778
779 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
780
781         * buffer.C: comment out some some code that depend upon lyx_format
782         < 220
783
784         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
785         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
786
787         * buffer.h (NO_COMPABILITY): turn off compability
788
789         * ColorHandler.C: include scoped_array.hpp
790
791         * font.C: Use more specific smart_ptr header.
792         * Painter.C: ditto
793         * gettext.C: ditto
794         * ShareContainer.h: ditto
795         * lyx_main.h: ditto
796         * kbmap.h: ditto
797         * FontInfo.h: ditto
798         * BufferView_pimpl.h: ditto
799         * ColorHandler.h: ditto
800
801         * kbmap.C (defkey): change call to shared_ptr::reset
802
803 2002-05-21  Juergen Vigna  <jug@sad.it>
804
805         * buffer.C (insertErtContents): fix to insert ert asis if it is
806         non empty. Skip it completely if it contains only whitespaces.
807
808 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
809
810         * BufferView_pimpl.C:
811         * BufferView2.C: clear selection on paste (bug 393)
812
813 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
814
815         * DepTable.C: include ctime
816
817 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
818
819         * buffer.C (latexParagraphs): Add new argument (moving_arg).
820
821 2002-05-14  Juergen Vigna  <jug@sad.it>
822
823         * text.C (breakParagraph): fixed function to honor the keepempty
824         layout in the right maner and also to permit the right breaking
825         algorithm on empty or non empyt keepempty paragraphs.
826
827         * paragraph.C (breakParagraph): we have to check also if the par
828         is really empty (!size()) for isempty otherwise we do the wrong
829         paragraph break.
830
831 2002-05-10  Juergen Vigna  <jug@sad.it>
832
833         * buffer.[Ch] : The following are only changes to the ert
834         compatibility read reading old LaTeX layout and font stuff and
835         convert it to ERTInsets.
836
837         * buffer.h: added isErtInset().
838
839         * buffer.C (struct ErtComp): add a fromlayout bool to check
840         if we're inside a LaTeX layout.
841         (isErtInset): new helper function.
842         (insertErtContents): look for other ert insets before this one
843         and insert the contents there, so that we don't have subsequent
844         ERT insets with nothing between them. This way we create only one
845         inset with multiple paragraphs. Also check if we don't insert only
846         spaces ' ' as they are ignored anyway afterwards in the .tex file
847         so if we have only spaces we will ignore this latex part in the
848         new file.
849         (parseSingleLyXformat2Token \\layout): better compatibility when
850         reading layout-latex stuff.
851         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
852         language tag.
853         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
854         stuff after reading the inset only get the information back from
855         the stack.
856
857 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
858
859         * buffer.C (makeLaTeXFile): Put language options after loading babel.
860
861         * LaTeXFeatures.C (getBabelOptions): New method.
862
863 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
864
865         * BufferView_pimpl.C (Dispatch): work around missing argument for
866         'layout'
867
868 2002-05-08  Juergen Vigna  <jug@sad.it>
869
870         * text.C (leftMargin): handle paragraph leftindent.
871
872         * paragraph.C (writeFile): write the new \\leftindent tag.
873         (validate): handle leftindent code.
874         (TeXEnvironment): handle paragraphleftindent code again.
875
876         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
877
878         * buffer.C (parseSingleLyXformat2Token): added compatibility code
879         for paragrap_extra indent code and new token \\leftindent.
880         (latexParagraphs): handle the leftindent as environment.
881
882         * ParameterStruct.h: added leftindent support.
883
884         * ParagraphParameters.C (leftIndent): added support functions for
885         the paragraph left indent.
886
887         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
888         more appropriate.
889
890 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
891
892         * paragraph.C (isRightToLeftPar): Return false for a paragraph
893         inside insetERT.
894
895         * text.C (computeBidiTables): No bidi in insetERT.
896
897         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
898         in RTL documents.
899
900 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
901
902         * version.C.in: pre 5
903
904 2002-05-02  José Matos  <jamatos@fep.up.pt>
905         * buffer.C (makeDocBookFile): white space changes, add newline to
906         command styles.
907         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
908
909         * tabular.C (docBook): fix typo.
910
911 2002-05-03  Juergen Vigna  <jug@sad.it>
912
913         * screen.C (drawFromTo): recalculate the rowpointer if we had a
914         change in LyXText as we can not be sure it was not freed.
915         (drawOneRow): remove unused code.
916
917         * text.C (drawInset): redo the calculation of the need_break_row as
918         it could have a row which was already freed.
919         (draw): look at the return value of drawInset and return false if
920         it also returned false.
921         (paintRowText): look at the return value of draw and return false if
922         it also returned false.
923
924         * lyxtext.h: added bool return type to drawInset() and draw() so that
925         if we have a change in the row so that the rowbreak has to be redone
926         we abort drawing as it will be called again.
927
928 2002-05-02  Juergen Vigna  <jug@sad.it>
929
930         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
931         a change in the maintext also if we're inside an inset.
932         (Dispatch): set the cursor again after a break line and after the
933         screen has been updated as it could be we're in a different row.
934
935         * text2.C (fixCursorAfterDelete): check to make sure we don't request
936         to set the cursor behind the pargraph with > size().
937         (setCursor): check also for the same paragraph when checking where
938         to put the cursor if we have a NFR inset.
939
940         * buffer.C (parseSingleLyXformat2Token): move the compatibility
941         parts of layout read further up as it still was in the wrong
942         position.
943
944 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
945
946         * screen.C (drawFromTo): change sine fullRebreak always return
947         true.
948
949         * buffer.C (parseSingleLyXformat2Token): reindent some
950
951         * BufferView_pimpl.C (update): change since fullRebreak always
952         return true.
953         (Dispatch): git rid of the last hardcoded "Standard"s.
954
955 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
956
957         * text2.[Ch] (fullRebreak): make it return void now that we always
958         returned true.
959
960 2002-04-30  Juergen Vigna  <jug@sad.it>
961
962         * buffer.C (parseSingleLyXformat2Token): reset the font before the
963         ert compatibility check for "latex" layout.
964
965 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
966
967         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
968         minipages: use col% instead of p%, and also use the current font.
969         (makeLaTeXFile): Fix use babel condition.
970         (parseSingleLyXformat2Token): Correct font when reading old floats.
971
972 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
973
974         * BufferView_pimpl.C (Dispatch): Check that float type exists when
975         inserting list of floats.
976
977 2002-04-25  Herbert Voss  <voss@lyx.org>
978
979         * MenuBackend.C (expand): don't add the graphics extensions to the
980         export menu
981
982 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
983
984         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
985         non-existing layout, do not complain if it was the default layout
986         of the original class (bug #342)
987
988 2002-04-24  Juergen Vigna  <jug@sad.it>
989
990         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
991         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
992
993 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
994
995         * buffer.C (getBibkeyList): If using \bibliography, return the
996         option field with the reference itself. Enables us to provide natbib
997         support when using \bibliography.
998
999 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
1000
1001         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
1002
1003         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
1004         natbib is provided by the LaTeX class.
1005
1006 2002-04-23  Juergen Vigna  <jug@sad.it>
1007
1008         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
1009         Wakeup functions.
1010
1011         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
1012
1013 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1014
1015         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
1016
1017         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
1018         ensuremath around textordmasculine, textordfeminine and
1019         textdegree.
1020
1021 2002-04-19  Juergen Vigna  <jug@sad.it>
1022
1023         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
1024         reinitializing the buffer otherwise row-dimensions may be wrong.
1025         (update): reset also the selection cursors if they do exits otherwise
1026         their x/y positions may be wrong.
1027
1028         * text2.C (cursorDown): don't enter the inset if we came from a row
1029         above and are one row over the inset.
1030
1031         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
1032         really leaving an inset.
1033
1034 2002-04-18  Juergen Vigna  <jug@sad.it>
1035
1036         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
1037         of the selected paragraph does not have the selected layout also if
1038         the last one had!
1039
1040         * text2.C (setLayout): fixed bug which did not change last selected
1041         paragraph.
1042
1043         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
1044         changed the read and substituted \\end_float with \\end_inset!
1045
1046         * BufferView_pimpl.C (cursorPrevious):
1047         (cursorNext): fixed to make it work with rows heigher than the work
1048         area without moving the cursor only the draw of the row.
1049         (workAreaMotionNotify): fix jumping over high rows.
1050
1051 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1052
1053         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
1054         Ressler.
1055
1056 2002-04-16  Juergen Vigna  <jug@sad.it>
1057
1058         * text2.C (setCursor): set also the irow().
1059         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
1060         (cursorUp):
1061         (cursorDown): support for locking an inset if the x_fix value goes
1062         inside it. That way I can transverse insets too with cursor up/down.
1063
1064         * lyxrow.h: added irow helper function same as other (i) functions.
1065
1066         * BufferView_pimpl.C (cursorPrevious):
1067         (cursorNext): fixed for insets!
1068
1069 2002-04-15  Juergen Vigna  <jug@sad.it>
1070
1071         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
1072         position otherwise it is wrong in some cases.
1073
1074         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
1075         inside the inset before the call.
1076
1077 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
1078
1079         * buffer.[Ch] (getBibkeyList): make it const.
1080
1081 2002-04-12  Juergen Vigna  <jug@sad.it>
1082
1083         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
1084
1085         * text2.C (getCursorX): new helper function
1086         (setCursor): compute also ix_
1087         (setCursorFromCoordinates): set also ix.
1088
1089         * lyxcursor.h: added ix_ and helper functions.
1090
1091         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
1092
1093         * buffer.C (insertStringAsLines): dont break paragraph if the this
1094         paragraph is inside an inset which does not permit it!
1095
1096         * text.C (breakParagraph): honor keepempty flag and break the paragraph
1097         also with no chars on this paragraph.
1098         (paintRowText): only paint stuff if it's inside the workarea!
1099
1100         * paragraph.C (breakParagraph): honor keepempty flag and break the
1101         paragraph always below not above.
1102
1103         * BufferView2.C (unlockInset): update the paragraph layout on inset
1104         unlock as we changed paragraph in such a case.
1105
1106         * lyxfind.C (LyXFind): clear the former selection if not found!
1107
1108         * text2.C (insertInset): freeze Undo after setUndo so that it is not
1109         again called in insertChar().
1110
1111         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
1112         an inset which uses the whole row!
1113         (rightMargin): ditto.
1114         (insertChar): force a rebreak if we inserted an inset!
1115
1116 2002-03-28  Herbert Voss  <voss@lyx.org>
1117
1118         * lyxlength.[Ch]: add inBP() to get the right PS-point
1119         units (BigPoint). With inPixels we have rounding errors
1120
1121 2002-04-11  Juergen Vigna  <jug@sad.it>
1122
1123         * text2.C (setCursorFromCoordinates): set iy to the right value.
1124         (setCursor): add check if row->previous exists!
1125
1126         * buffer.C (parseSingleLyXformat2Token): reset font after read of
1127         an old float_type as this was the case in the old code!
1128
1129         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
1130
1131         * BufferView2.C (showLockedInsetCursor): use iy
1132         (fitLockedInsetCursor): ditto
1133
1134         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
1135         locked insets as there we have the right value now.
1136
1137         * lyxcursor.C: added iy_ variable and iy functions to set to the
1138         baseline of cursor-y of the locked inset.
1139
1140         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
1141         (setCursor): fixed for insets which need a full row.
1142
1143         * text.C (rowLastPrintable): don't ignore the last space when before
1144         an inset which needs a full row.
1145         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
1146         as last character of a row when before a inset which needs a full row.
1147
1148 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1149
1150         * version.C.in: update date
1151
1152         * text2.C (fullRebreak): try to always return true and see what
1153         happens...
1154
1155 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1156
1157         * MenuBackend.C (expand): use Floating::listName
1158
1159         * FloatList.C (FloatList): add listName argument to the built-in
1160         floats
1161
1162         * Floating.[Ch]: add listName member, which is the 'List of XXX'
1163         text associated with the float.
1164
1165 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1166
1167         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
1168
1169 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1170
1171         * ShareContainer.h: add a couple of missing typenames.
1172
1173 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
1174
1175         * lyxrc.C (getDescription): use _() correctly rather than N_().
1176
1177 2002-03-28  Herbert Voss  <voss@lyx.org>
1178
1179         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
1180         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
1181
1182 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1183
1184         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
1185         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
1186
1187 2002-03-29  Juergen Vigna  <jug@sad.it>
1188
1189         * lyxfunc.C (dispatch): add a missing fitCursor call.
1190
1191         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
1192         it was scrolled by a cursor move, so return the bool status.
1193
1194         * BufferView.C (fitCursor): return the bool flag also to the outside
1195         world as this is needed.
1196
1197         * screen.C (toggleToggle): don't subtract the offset if it's positive.
1198
1199         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
1200         call the edit() as it is not needed (and wrong) IMO.
1201         (workAreaButtonPress): set the screen_first variable before evt.
1202         unlock the inset as this may change screen_first and then we have
1203         a wrong y position for the click!
1204
1205 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1206
1207         * MenuBackend.C (expand): another translation that I missed
1208
1209 2002-03-28  Juergen Vigna  <jug@sad.it>
1210
1211         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
1212
1213         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
1214
1215 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1216
1217         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
1218
1219         * MenuBackend.C (expand): fix export/view/update when there is no
1220         document open.
1221
1222 2002-03-27  Herbert Voss  <voss@lyx.org>
1223
1224         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
1225         and text%
1226
1227 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1228
1229         * bufferview_funcs.C (currentState): only show paragraph number
1230         for is DEVEL_VERSION is set.
1231
1232         * lyxfunc.C (dispatch): put warning in INFO channel
1233
1234         * MenuBackend.C (expand): translate the name of floats
1235
1236         * FloatList.C (FloatList): mark the float names for translation
1237
1238         * converter.C (convert): use LibScriptSearch
1239
1240 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1241
1242         * MenuBackend.C (defaults): fix default menu (we might as well get
1243         rid of it...)
1244
1245 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1246
1247         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
1248         directory.
1249
1250 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1251
1252         * lyxvc.C: reorder includes.
1253
1254 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
1255
1256         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
1257           properly
1258
1259 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
1260
1261         * CutAndPaste.C: change layouts earlier on paste
1262           to avoid crashing when calling getFont()
1263
1264 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
1265
1266         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
1267         irritating #error.
1268
1269 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1270
1271         * WorkArea.C: remove 'Pending' debug message.
1272
1273         * most files: ws cleanup
1274
1275         * buffer.[Ch]: ws changes
1276
1277         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
1278
1279 2002-03-21  Juergen Vigna  <jug@sad.it>
1280
1281         * tabular.C (SetMultiColumn): collapse also the contents of the
1282         cells and set the last border right. Added a Buffer const * param.
1283
1284 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1285
1286         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
1287         linking or not.
1288
1289 2002-03-19  Juergen Vigna  <jug@sad.it>
1290
1291         * text2.C (clearSelection): reset also xsel_cache.
1292
1293         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
1294         where it needs to be called (John tells us to do so too :)
1295         (selectionLost): reset sel_cache.
1296
1297         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
1298
1299 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1300
1301         * text2.C (setCursorIntern): put debuging code in INSETS channel
1302
1303 2002-03-19  André Pönitz <poenitz@gmx.net>
1304
1305         * lyxfunc.C: tiny whitespace change
1306
1307 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1308
1309         * ToolbarDefaults.C (init):
1310         * LyXAction.C (init):
1311         * commandtags.h:
1312         * BufferView_pimpl.C (Dispatch):
1313         * lyxfunc.C (dispatch): remove LFUN_DEPTH
1314
1315 2002-03-19  Allan Rae  <rae@lyx.org>
1316
1317         * exporter.C (Export): removeAutoInsets before doing anything else.
1318         While I've just introduced a dependency on BufferView this really is
1319         the best place to clean the buffer otherwise you need to cleanup in
1320         a dozen places before calling export or cleanup in a dozen functions
1321         that export calls.
1322
1323         * converter.C (runLaTeX):
1324         (scanLog): Better handling of removeAutoInsets and screen updates.
1325
1326         * lyxfunc.C (dispatch): small whitespace changes
1327
1328 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1329
1330         * WorkArea.C (C_WorkAreaEvent): return a value.
1331         (event_cb): return 1 if we handled the event, 0 otherwise.
1332
1333         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
1334
1335 2002-03-18  Juergen Vigna  <jug@sad.it>
1336
1337         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
1338         (GetAdditionalWidth): ditto.
1339         (RightLine): ditto.
1340         (LeftLine): ditto.
1341
1342         * BufferView2.C (copy): use getLyXText() so that we do it inside an
1343         inset if we're there actually (probably not used right now but this
1344         is the direction to go for unifying code).
1345         (paste): disable code to clear the selection.
1346
1347         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
1348         inside an InsetText and move the check further up as it is in the
1349         wrong place.
1350
1351         * text2.C (pasteSelection): set a selection over the pasted text.
1352
1353 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
1354
1355         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
1356         and libgraphics to build on Cygwin.
1357
1358 2002-03-15  Juergen Vigna  <jug@sad.it>
1359
1360         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
1361         inserting an Inset into the paragraph. I know this is not the best
1362         fix but we already use current_view in CutAndPaste so we will remove
1363         all of it's using at the same time.
1364
1365         * buffer.C (sgmlError): deactivated function till it is rewritten in
1366         the right mode, now it can create problems.
1367
1368         * paragraph.C (isLineSeparator): check if getInset returns != 0,
1369         before accessing it.
1370
1371 2002-03-14  Juergen Vigna  <jug@sad.it>
1372
1373         * undo_funcs.C (textHandleUndo): do the right thing when updating
1374         the inset after the undo/redo.
1375
1376         * text2.C (setCursor): just some testcode for #44 not ready yet.
1377
1378         * undo_funcs.C (textHandleUndo): set the next() and previous()
1379         pointers of the paragraph to 0 before deleting otherwise we have
1380         problems with the Paragraph::[destructor].
1381
1382         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
1383         on a paragraph insertion.
1384
1385 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1386
1387         * buffer.C (asciiParagraph): use += operator for char append to
1388         string.
1389
1390         * paragraph.C (getFontSettings): compare >= not just >
1391         (highestFontInRange): ditto
1392         (setFont): ditto
1393
1394 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1395
1396         * paragraph.C: change several algorithm to be more appripriate for
1397         the problem domain. This is lookip in FontList and in the InsetList.
1398
1399 2002-03-13  André Pönitz <poenitz@gmx.net>
1400
1401         * commandtags.h:
1402         * LyXAction.C: remove unused LFUN_MATH_MACROARG
1403
1404 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
1405
1406         * commandtags.h:
1407         * LyXAction.C:
1408         * lyxfunc.C:
1409         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
1410
1411 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1412
1413         * Painter.C (display): anon helper function, adjust code for this
1414         change.
1415         (pixmap): remove function.
1416
1417         * Painter.h: remove private display variable.
1418
1419         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
1420
1421 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
1422
1423         * WorkArea.[Ch]: remove figinset_canvas cruft.
1424
1425 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1426
1427         * lyxtextclass.C (operator): add one item cache optimization.
1428
1429         * bufferlist.h: doxy changes
1430
1431         * bufferlist.C: ws changes
1432
1433         * DepTable.[Ch] (ext_exist): place const in the right spot.
1434
1435         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
1436         call resizeInsets.
1437         (workAreaExpose): call resizeInsets when the with BufferView changes.
1438         (Dispatch): adjust for protectedBlank removal
1439         (specialChar): call updateInset if the insert went ok.
1440
1441         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
1442         specialChar instead.
1443
1444         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
1445
1446         * BufferView.h: doxy change
1447
1448         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
1449
1450         * lyxtextclass.C (operator[]): remove non-const version
1451         (defaultLayout): remove non-const version
1452
1453 2002-03-12  Juergen Vigna  <jug@sad.it>
1454
1455         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
1456         did resize the LyXText too.
1457
1458         * buffer.C (readLyXformat2): set layout information on newly allocated
1459         paragraphs.
1460
1461         * tabular.C (OldFormatRead): set layout information on the paragraph.
1462
1463 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1464
1465         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
1466
1467 2002-03-11  Juergen Vigna  <jug@sad.it>
1468
1469         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
1470         plainly wrong.
1471         (resizeCurrentBuffer): force also the insets to resize themselfes.
1472         (moveCursorUpdate): fixed up for InsetText.
1473
1474 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
1475
1476         * commandtags.h:
1477         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
1478         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
1479         value of Dialogs::tooltipsEnabled().
1480         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
1481
1482 2002-03-08  Juergen Vigna  <jug@sad.it>
1483
1484         * BufferView_pimpl.C (updateInset): update inset inside inset also
1485         if it isn't inside theLockingInset().
1486
1487 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1488
1489         * buffer.C (asciiParagraph): redo some of the word and line length
1490         handling.
1491         (getLists): look for Caption instead of caption.
1492
1493 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1494
1495         * buffer.C (Buffer): initialize niceFile to true
1496         (makeLaTeXFile):
1497         (makeLinuxDocFile):
1498         (makeDocBookFile): make sure niceFile is true on exit
1499
1500 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1501
1502         * buffer.C (makeLaTeXFile): escape ~ in \input@path
1503
1504 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
1505
1506         * LyXSendto.C: remove.
1507         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
1508         * lyx_gui.C: remove now-redundant comment.
1509         * ColorHandler.h: remove forward declaration of class WorkArea.
1510         * lyxfunc.C: remove #include "WorkArea.h".
1511
1512 2002-03-07  Juergen Vigna  <jug@sad.it>
1513
1514         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
1515         got moved away with the DEPM and also set the inset_owner always
1516         right which before could have been omitted.
1517
1518 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1519
1520         * buffer.C (parseSingleLyXformat2Token): use default layout is the
1521         wanted layout is not found.
1522
1523 2002-03-07  Juergen Vigna  <jug@sad.it>
1524
1525         * CutAndPaste.C (cutSelection): another layout settings forgotten.
1526
1527 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1528
1529         * paragraph.C (breakParagraph): use default layout not layout of
1530         prev paragraph.
1531         (Paragraph): clear ParagraphParameters.
1532
1533 2002-03-06  Juergen Vigna  <jug@sad.it>
1534
1535         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
1536         otherwise it would not be a valid lenght. Fixed a special case in
1537         the minipage compatibility read where we end the document with a
1538         minipage.
1539
1540         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
1541         was set as it could be 0 for InsetTexts first entry.
1542
1543 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1544
1545         * paragraph.C (writeFile): if layout is empty write out
1546         defaultLayoutName().
1547
1548         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
1549         file without named layout we set layout to defaultLayoutName().
1550
1551 2002-03-06  Juergen Vigna  <jug@sad.it>
1552
1553         * CutAndPaste.C (copySelection): set layout for new paragraph.
1554
1555         * text.C (prepareToPrint): leave ERT inset left aligned
1556         (leftMargin): don't indent paragraphs inside ERT insets
1557
1558 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1559
1560         * paragraph.C (breakParagraph): dont call clear do the work manually
1561
1562         * paragraph.[Ch] (clear): remove function
1563
1564 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1565
1566         * paragraph.C (Paragraph): dont call clear, the work has already
1567         been done.
1568
1569         * lyxtextclass.C (operator): assert if n is empty
1570
1571         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
1572         work manually instead.
1573
1574 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
1575
1576         * BufferView_pimpl.C: protect selectionLost against text == 0
1577
1578 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1579
1580         * text.C (breakParagraph): fix a setting layout to '0' problem.
1581
1582 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1583
1584         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
1585         final location of file, for the included files, and graphics.
1586
1587 2002-03-05  Juergen Vigna  <jug@sad.it>
1588
1589         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
1590
1591 2002-03-04  Juergen Vigna  <jug@sad.it>
1592
1593         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
1594
1595         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
1596         last column of multicolumn cells.
1597         (SetWidthOfMulticolCell): recalculate NMC and real columns.
1598
1599 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
1600
1601         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
1602         file if it doesn't go to a temporary file.
1603
1604         * buffer.C (sgmlOpenTag):
1605         (sgmlCloseTag):  remove extra newline insertion.
1606
1607 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1608
1609         * text.C (getRowNearY): comment out debug msg
1610
1611 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1612
1613         * text2.C: first -> first_y
1614
1615         * text.C (getRowNearY): add some attemts at a possible
1616         optimization, not working.
1617
1618         * tabular.[Ch]: add BufferParams to several function so that newly
1619         created paragraph can be initialized to he default layotu for the
1620         buffers textclass.
1621
1622         * tabular-old.C (ReadOld): add buf->params to call of Init
1623
1624         * screen.C: rename text->first to text->first_y
1625
1626         * paragraph.C (breakParagraph): always set layout in the broken
1627         paragraph
1628
1629         * lyxtextclass.C (Read): remove lowercase
1630         (hasLayout): ditto
1631         (operator): ditto
1632         (delete_layout): ditto
1633
1634         * lyxtext.h: rename first -> first_y
1635
1636         * lyxlayout.C (Read): remove lowercase
1637         (name): ditto
1638         (setName): ditto
1639         (obsoleted_by): ditto
1640
1641         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
1642
1643         * buffer.C (insertErtContents): add params are to InsetERT
1644         (parseSingleLyXformat2Token): add code to check if a paragraphs
1645         layout really exist.
1646         (parseSingleLyXformat2Token): add params to several inset
1647         constructors
1648         (asciiParagraph): remove lowercase, do the layout comparisons with
1649         no_case
1650
1651         * BufferView_pimpl.C (cursorNext): first -> first_y
1652         (resizeCurrentBuffer): first -> first_y
1653         (updateScrollbar): first -> first_y
1654         (scrollCB): first -> first_y
1655         (workAreaMotionNotify): first -> first_y
1656         (workAreaButtonPress): first -> first_y
1657         (checkInsetHit): first -> first_y
1658         (cursorPrevious): first -> first_y
1659         (cursorNext): first -> first_y
1660         (Dispatch): add buffer_->params to severl inset contructors
1661
1662 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1663
1664         * lyxlayout.C (Read): remove some debug info that I forgot.
1665
1666         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
1667         clean up the code slightly.
1668         (makeLinuxDocFile): ditto
1669         (makeDocBookFile): ditto
1670
1671         * text2.C: layout as string
1672
1673         * text.C: layout as string
1674
1675         * paragraph_pimpl.C: layout as string
1676
1677         * paragraph.[Ch]: layout as string
1678
1679         * lyxtextclasslist.[Ch]: layout as string
1680
1681         * lyxtextclass.[Ch]: layout as string
1682
1683         * lyxtext.h: layout as string
1684
1685         * lyxlayout.[Ch]: layout as string
1686
1687         * lyx_cb.C: layout as string
1688
1689         * bufferview_funcs.C: layout as string
1690
1691         * bufferparams.C: layout as string
1692
1693         * buffer.C: layout as string
1694
1695         * LyXView.[Ch]: layout as string
1696
1697         * LaTeXFeatures.[Ch]: layout as string
1698
1699         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
1700
1701         * BufferView_pimpl.C: change current_layout to string, remove
1702         lyx::layout_type.
1703         (Dispatch):
1704         (smartQuote):
1705         (insertInset):
1706         (workAreaButtonRelease): layout as string
1707
1708         * BufferView2.C (unlockInset): adjust
1709
1710         * vspace.C (asLatexCommand): use an explict temp variable.
1711
1712 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
1713
1714         * Makefile.am: use FRONTEND_*
1715
1716 2002-03-01  Juergen Vigna  <jug@sad.it>
1717
1718         * tabular.C (SetWidthOfMulticolCell): changed to something better
1719         I hope but still work in progress.
1720         (recalculateMulticolumnsOfColumn): renamed function from
1721         recalculateMulticolCells as it is more appropriate now.
1722         (SetWidthOfCell): calculate multicols better.
1723
1724 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1725
1726         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
1727
1728         * lyxfunc.C (processKeySym): print sequence also if it is
1729         `deleted' (complete)
1730
1731         * kbsequence.C (print): print sequence even if it is deleted
1732         (complete would be a better word, actually).
1733
1734         * lyxfunc.C (dispatch): print complete options after a prefix key
1735
1736         * vspace.C (asLatexCommand): rewrite in a slightly different form.
1737
1738 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
1739
1740         * text2.C (setCharFont): eliminate setCharFont code duplication.
1741
1742 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1743
1744         * BufferView_pimpl.C (Dispatch): remove bogus handling of
1745         LFUN_TABULAR_FEATURE (bug #177)
1746
1747 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
1748
1749         * Makefile.am: remove figure.h
1750
1751 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1752
1753         * Bufferview_pimpl.C:
1754         * CutAndPasteC:
1755         * LaTeX.C:
1756         * LyXSendto.C:
1757         * buffer.C:
1758         * bufferlist.C:
1759         * converter.C:
1760         * language.C:
1761         * lyxfunc.C:
1762         * lyxvc.C:
1763         * paragraph.C:
1764         * text.C:
1765         * text2.C: remove #include "lyx_gui_misc.h".
1766
1767         * LaTeX.C: added #include <cstdio>
1768
1769 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1770
1771         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
1772         that the paragraph following this one can have.
1773
1774         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
1775
1776         * vspace.C (asLatexCommand): fix bogus gcc warning
1777
1778         * Makefile.am (lyx_SOURCES): remove vms_defines.h
1779
1780 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
1781
1782         * text2.C (setLayout): get rid of redundant code
1783
1784 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
1785
1786         * text2.C (incDepth): make sure depth cannot be increased beyond
1787         reasonable values.
1788
1789 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
1790
1791         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
1792         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
1793
1794         * PainterBase.h (image):
1795         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
1796         a LyXImage const *.
1797
1798 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1799
1800         * BufferView.C:
1801         * BufferView.h:
1802         * BufferView_pimpl.C:
1803         * BufferView_pimpl.h:
1804         * LaTeXFeatures.C:
1805         * LyXAction.C:
1806         * LyXView.C:
1807         * Makefile.am:
1808         * UpdateList.h:
1809         * UpdateList.C:
1810         * buffer.C:
1811         * figure.h:
1812         * figureForm.C:
1813         * figureForm.h:
1814         * figure_form.C:
1815         * figure_form.h:
1816         * lyx_cb.C:
1817         * lyx_gui.C:
1818         * lyx_gui_misc.C:
1819         * lyxfunc.C:
1820         * sp_base.h:
1821         * sp_ispell.h:
1822         * sp_pspell.h:
1823         * sp_spell.C: remove fig inset, and the crap house of
1824           cards that follows it
1825
1826 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
1827
1828         * Makefile.am:
1829         * lyxserver.C:
1830         * os2_defines.h:
1831         * os2_errortable.h:
1832         * nt_defines.h: move .h into support/
1833
1834         * vms_defines.h: remove
1835
1836         * WorkArea.C: add space in debug output
1837
1838         * text2.C:
1839         * paragraph.C:
1840         * buffer.C: add WITH_WARNINGS
1841
1842         * vc-backend.h:
1843         * vc-backend.C:
1844         * bufferlist.C: s/retrive/retrieve/, add docs
1845
1846         * vspace.h:
1847         * vspace.C:
1848         * kbmap.h:
1849         * lyxlength.h:
1850         * lyxgluelength.h:
1851         * length_common.h:
1852         * chset.h:
1853         * chset.C: add docs
1854
1855         * lyxgui.C: add ID to X error handler
1856
1857         * lyxtestclass.c: fix typo
1858
1859 2002-02-26  Juergen Vigna  <jug@sad.it>
1860
1861         * tabular_funcs.C (write_attribute): changed so that some default
1862         attributes are not written at all.
1863         (getTokenValue): set default values before trying to read the
1864         value so we have the return value always set as default if we don't
1865         find the token we search for.
1866
1867         * tabular.C (Write): write bools as bools not as strings!
1868
1869 2002-02-22  Juergen Vigna  <jug@sad.it>
1870
1871         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
1872         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
1873
1874         * text.C (leftMargin): don't add an indent for paragraphs inside
1875         tabular cells (fix #208).
1876
1877 2002-02-21  José Matos  <jamatos@fep.up.pt>
1878
1879         * tabular.C (docBook): fixed support for long tables.
1880
1881 2002-02-20  Juergen Vigna  <jug@sad.it>
1882
1883         * text2.C (getFont): get the drawing font of the Inset if this
1884         paragraph is inside an inset (only important for InsetERT for now).
1885
1886         * buffer.C (insertErtContents): use new lanugage params in ERT
1887         constructor.
1888
1889         * CutAndPaste.C: commenting out seemingly uneeded code.
1890
1891 2002-02-19  Allan Rae  <rae@lyx.org>
1892
1893         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
1894         Iterators might be simple to use but they also get invalidated.
1895         (removeAutoInsets): renamed saved cursor tracking variables and added
1896         some comments to clarify what everything does.
1897
1898 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
1899
1900         * Chktex.C:
1901         * LaTeX.C:
1902         * LyXSendto.C:
1903         * converter.C:
1904         * lyx_cb.C:
1905         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
1906         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
1907
1908         * lyxfunc.C:
1909         * vc-backend.h: remove #include "support/syscall.h"
1910
1911         * LaTeX.C:
1912         * LyXSendto.C:
1913         * converter.C: rearrange #includes in Lars' approved fashion.
1914
1915         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
1916         forward declare class Timeout in the header file.
1917
1918         * XFormsView.C: changes due to the above.
1919
1920         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
1921         similar to LyXView.
1922
1923         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
1924         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
1925
1926 2002-02-18  José Matos  <jamatos@fep.up.pt>
1927
1928         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
1929         insets contents.
1930
1931 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
1932
1933         * a lot of small ws changes
1934         * add a lot of using std::XXX
1935         * use std construcs some places where approp.
1936         * use some exisint stuff from lyxfunctional where approp.
1937         * Make file changes to use partial linking (lets test this now...)
1938
1939 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
1940
1941         * Chktex.C:
1942         * buffer.C:
1943         remove #include "support/syscontr.h" as it's redundant. Always has been.
1944
1945         * Chktex.C:
1946         * LaTeX.C:
1947         * LyXSendto.C:
1948         * converter.C:
1949         * lyx_cb.C:
1950         * vc-backend.C:
1951         change Systemcalls::System to Systemcalls::Wait and
1952         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
1953         No change of functionality, just reflects the stripped down Systemcalls
1954         class.
1955
1956 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
1957
1958         * debug.[Ch]: add a GRAPHICS type to the enum.
1959
1960 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1961
1962         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
1963
1964         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
1965         there is an inset.
1966
1967 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1968
1969         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
1970         match the changes below.
1971
1972         * text2.C (toggleInset): if there is not editable inset at cursor
1973         position, try to see if cursor is _inside_ a collapsable inset
1974         and close it.
1975
1976 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1977
1978         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
1979         document menu has a nice checkbox
1980
1981 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1982
1983         * lyxlength.C (asLatexString): change PW to output as percent of
1984         \textwidth.
1985
1986         * lengthcommon.C: change '%' to 't%'
1987
1988         * lyxfunc.C (dispatch): a few comments from Martin
1989
1990 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
1991
1992         * WorkArea.h:
1993         * WorkArea.C:
1994         * BufferView_pimpl.h:
1995         * BufferView_pimpl.C: clear our selection when X tells us we've lost
1996           the X selection.
1997
1998 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1999
2000         * vspace.C (inPixels): fix compiler warning
2001
2002 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2003
2004         * lyxfunc.C (getStatus): fix status message for disabled commands.
2005
2006 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
2007
2008         * BufferView_pimpl.C: fix crash on close buffer
2009         during selection (#227)
2010
2011 2002-01-27  Herbert Voss  <voss@lyx.org>
2012
2013         * buffer.C: link old Figure to new graphic inset
2014
2015 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
2016
2017         * FontLoader.C (getFontinfo): Change the latex font names in order
2018         to match the names of type1inst.
2019
2020 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2021
2022         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
2023
2024         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
2025         (extchanged): ditto
2026         (ext_exist): ditto
2027         (remove_files_with_extension): ditto
2028         (remove_file): ditto
2029         (write): ditto
2030
2031         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
2032         document is smaller than the work area height. Do not initialize
2033         static variables to 0.
2034
2035 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2036
2037         * lyx_gui.C (init): give the toolbar tooltips a normal font.
2038
2039         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
2040         LFUN_LAYOUT_PARAGRAPHS.
2041
2042         * tabular.C (GetCellFromInset): new method. Finds an inset in a
2043         tabular. It is possible to provide a possible cell, which will
2044         typically be the actcell from the corresponding insettabular
2045
2046         * lyxfunc.C (getStatus): small cleanup; disable
2047         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
2048         true
2049
2050 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2051
2052         * tabular.C (Validate): remove broken optimization (fixes bug #201)
2053
2054         * paragraph.C (startTeXParParams):
2055         (endTeXParParams): new methods. The LaTeX code to
2056         start/end paragraph formatting
2057         (simpleTeXOnePar): call startTeXParParams also when paragraph is
2058         empty (fixes bug #200)
2059
2060         * vspace.C (inPixels): adapt to the change below
2061         (inPixels): [later] more cleanups (remove unused variables)
2062
2063         * lyxlength.C (inPixels): change to use a width and a height as
2064         parameter.
2065
2066 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2067
2068         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
2069         Replaced with \paperwidth
2070
2071         * DepTable.C (insert): add std:: qualifier
2072
2073 2002-01-18  Allan Rae  <rae@lyx.org>
2074
2075         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
2076         updated also?
2077
2078         * text.C (drawInset): Turned out I didn't know enough about how
2079         rebreaking worked.  This fixes most of the redraw problems.  I see
2080         an occasional cursor trail when a line is broken now and the cursor
2081         placement can seem out by a few pixels also after a rebreak.
2082
2083 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2084
2085         * buffer.C (parseSingleLyXformat2Token): update because minipage
2086         width is now a LyXLength
2087
2088         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
2089
2090         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
2091         math insets
2092
2093 2002-01-17  Juergen Vigna  <jug@sad.it>
2094
2095         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
2096
2097         * BufferView2.C (lockInset): call edit() so that theLockingInset()
2098         is set correctly and the inset is updated correctly.
2099
2100 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2101
2102         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
2103         the beginning of the loop.
2104
2105 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
2106
2107         * lyxrc.C: improve help for use_scalable_fonts
2108
2109 2002-01-17  Allan Rae  <rae@lyx.org>
2110
2111         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
2112
2113 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2114
2115         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
2116         make sure to set their inset_owner to the right value (bug #171)
2117
2118 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
2119
2120         * DepTable.h
2121         * DepTable.C: Implement mtime checking to reduce time spent doing
2122         CRCs.
2123
2124 2002-01-16  Juergen Vigna  <jug@sad.it>
2125
2126         * tabular.C (GetAdditionalHeight): one of error fixed.
2127
2128         * lyxrc.C (output): small fix in writing use_pspell.
2129
2130 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
2131
2132         * sp_base.h: #include LString.h
2133
2134 2002-01-16  Allan Rae  <rae@lyx.org>
2135
2136         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
2137         Can someone check this please?
2138
2139         * text.C (drawInset): It was possible that p.row would be removed by
2140         breakAgainOneRow upsetting a few other settings.  There may be another
2141         small tweak possible by setting need_break_row = 0 when p.row has been
2142         removed but I don't know enough about the logic here.
2143
2144 2002-01-15  Allan Rae  <rae@lyx.org>
2145
2146         * text.C (insertChar): removed conditional truism.
2147
2148         * BufferView2.C (removeAutoInsets): More tweaks.
2149         cur_par_prev could be a stray pointer.  Check for trailing empty line
2150         in case last line was cur_par and only had an error inset on it.
2151
2152 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2153
2154         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
2155         absolute
2156
2157         * vc-backend.C (most methods):
2158         * exporter.C (Export):
2159         * converter.C (convert):
2160         (runLaTeX):
2161         * LyXSendto.C (SendtoApplyCB):
2162         * lyxfunc.C (dispatch):
2163         (menuNew):
2164         (open):
2165         (doImport):
2166         * lyx_cb.C (AutoSave):
2167         (InsertAsciiFile):
2168         * BufferView_pimpl.C (MenuInsertLyXFile):
2169         * buffer.C (runChktex): use Buffer::filePath().
2170
2171         * buffer.h: rename filename to filename_; rename filepath to
2172         filepath_ and make it private
2173         (filePath): new method
2174
2175         * buffer.C (writeFile): use fileName()
2176         (getLatexName):
2177
2178         * lyx_main.C (init): fix starting  of LyX when the binary is a
2179         link from so,ewhere else.
2180
2181         * minibuffer.C: include <cctype> for isprint
2182
2183 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2184
2185         * buffer.C (parseSingleLyXformat2Token): changes associated with the
2186         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
2187         name clash with InsetCollapsable's width function.
2188
2189 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2190
2191         * lastfiles.C: include <iterator>
2192
2193 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2194
2195         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
2196         std::count.
2197
2198         * buffer.C (makeLaTeXFile): ditto.
2199         Also make loop operation more transparent.
2200
2201 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
2202
2203         * ToolbarDefaults.C: remove trailing comma closing namespace.
2204
2205         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
2206
2207         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
2208         as in WorkArea.
2209
2210         * trans.C (Load): comment out unused variable, allowed.
2211
2212 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
2213
2214         * minibuffer.[Ch] (append_char): new method to recieve input from the
2215         drop-down completion browser. If a key was pressed, then recieve this
2216         char and append it to the existing string.
2217         (peek_event): modify the positioning data passed to the completion
2218         browser so that it can be placed above the minibuffer rather than below.
2219 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2220
2221         * LyXAction.C (init): alloe error-next for readonly documents.
2222
2223         * BufferView2.C (ChangeRefsIfUnique): use standard version of
2224         count.
2225
2226 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2227
2228         * bufferlist.C (readFile): create the buffer _after_ checking that
2229         the file exists.
2230
2231         * lyxfunc.C (verboseDispatch): fix handling of arguments
2232
2233         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
2234
2235         * lyxrc.C: use string::erase() instead of initializing to "".
2236
2237
2238 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
2239
2240         * BufferView_pimpl.h:
2241         * BufferView_pimpl.C:
2242         * WorkArea.h:
2243         * WorkArea.C:
2244         * text2.C: tell X when we have made a selection for copying
2245
2246 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2247
2248         * BufferView_pimpl.C (MenuInsertLyXFile):
2249         * lyxfunc.C (menuNew):
2250         (open):
2251         (doImport): add shortcuts to directory buttons
2252
2253         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
2254         open a float)
2255
2256         * lyxfunc.C (setStatusMessage):
2257         (getStatusMessage): new methods
2258         (getStatus):use setStatusMessage instead of setErrorMessage
2259         (dispatch): when function is disabled, set error message here
2260         [instead of in getStatus previously]
2261
2262         * BufferView_pimpl.C (workAreaButtonRelease): update
2263         toolbar/menubar here too.
2264
2265 2002-01-13  Allan Rae  <rae@lyx.org>
2266
2267         * BufferView2.C (removeAutoInsets): finished off earlier fix.
2268         Now seems indestructible.  Remaining task is to audit all other
2269         code affected by deleteEmptyParagraphMechanism.  One small quirk
2270         left is that an empty document with an error in the preamble can
2271         be made to report an error but no error box appears.  I don't know
2272         where it goes.
2273         (removeAutoInsets): Improved comments.
2274
2275 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
2276
2277         * Thesaurus.h:
2278         * Thesaurus.C: update for Aiksaurus 0.14
2279
2280 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2281
2282         * text2.C (firstParagraph): removed member function, all uses
2283         replaces with ownerParagraph
2284         (redoParagraphs): here
2285         (updateInset): here
2286         (toggleAppendix): here
2287         * BufferView2.C (insertErrors): here
2288         (setCursorFromRow): here
2289
2290 2002-01-13  Allan Rae  <rae@lyx.org>
2291
2292         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
2293         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
2294         There is still a way to segfault this although you may have to do this
2295         multiple times: Have an InsetERT with an unknown command in it.
2296         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
2297         <down-arrow>, <Enter> again, View->DVI, BANG!
2298
2299         * text2.C (setCursor):
2300         (deleteEmptyParagraphMechanism):
2301         * lyxtext.h (setCursor):
2302         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
2303         Making use of the return value may help fix other bugs.
2304
2305 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2306
2307         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
2308
2309         * LyXView.C (updateMenubar): call MenuBar::update here
2310         (updateToolbar): but not here
2311         (showState): do not update toolbar/menubar
2312
2313         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
2314         should need to care about that.
2315
2316         * lyxfunc.C (verboseDispatch): simplify a bit
2317         (getStatus): have a version which takes a pseudoaction, and
2318         another which requires a (kb_action,string).
2319
2320         * LyXAction.C (retrieveActionArg): make it work also when action
2321         is not a pseudo-action.
2322         (getActionName): simplify a bit
2323         (helpText):
2324
2325 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2326
2327         * lyxfunc.C (verboseDispatch): new families of methods with
2328         several ways to specify a command and a bool to indicate whether
2329         the command name and shortcut should be displayed in minibuffer
2330         (eventually, we could extend that to a finer bitmask like
2331         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
2332         (dispatch): the pristine dispatch command which just, well,
2333         dispatchs! Note it still sets its result to minibuffer; I'm not
2334         sure we want that.
2335
2336         * lyxfunc.h: remove setHintMessage
2337
2338         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
2339
2340 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2341
2342         * BufferView_pimpl.C (specialChar): delete new inset if we have
2343         not been able to insert it.
2344
2345         * kbmap.C: revert to using int instead of kb_action, since all we
2346         are dealing with is pseudo-actions.
2347
2348         * LyXAction.C (searchActionArg): change to return int instead of
2349         kb_action, since the result is a pseudoaction.
2350
2351 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
2352
2353         * buffer.C (insertErtContents): Fix (partially) the font bug.
2354
2355 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
2356
2357         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
2358         as the other one is broken on my machine!
2359
2360 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
2361
2362         * commandtags.h:
2363         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
2364
2365 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
2366
2367         * lyxrc.[Ch]: change names and descriptions of popup font variables to
2368         reflect their actual use. Provide compatibility code for older lyxrc
2369         files.
2370
2371         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
2372         FL_NORMAL_STYLE.
2373         change names of popup font variables in line with the changes to lyxrc.C
2374
2375 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2376
2377         * buffer.C (asciiParagraph): avoid outputing a word twice after
2378         an inset.
2379
2380         * lyxrc.C (getDescription): document that document_path and
2381         template_path can be empty.
2382
2383 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2384
2385         * LaTeXFeatures.C (getMacros):
2386         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
2387
2388         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
2389
2390         * LaTeXFeatures.C (useFloat): require "float" here instead of in
2391         getPackages.
2392         (getPackages): rename feature "floats" to "float". Use an array to
2393         iterate over 'simple' features (i.e. just a \usepackage). Add
2394         handling of "amsmath" (renamed from "amsstyle").
2395
2396 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
2397
2398         * LaTeXFeatures.C (require): Prevent duplicate entries in the
2399         features list.
2400
2401 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
2402
2403         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
2404         FuncStaus::FuncStatus & FuncStaus::some_method().
2405
2406 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
2407
2408         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
2409         of the func_satus stuff. Edited and massaged in various ways by
2410         JMarc.
2411
2412         * lyxfunc.C (getStatus): use FuncStatus
2413
2414 2002-01-08  Juergen Vigna  <jug@sad.it>
2415
2416         * text.C (nextBreakPoint): use function Inset::isChar().
2417
2418         * paragraph.C (TeXOnePar): use function
2419         Inset::forceDefaultParagraphs.
2420
2421         * buffer.C (latexParagraphs): use function
2422         Inset::forceDefaultParagraphs.
2423
2424 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
2425
2426         * lyx_gui.C (init): set the style of the menu popups to
2427         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
2428
2429 2002-01-07  Juergen Vigna  <jug@sad.it>
2430
2431         * text.C (setHeightOfRow): small fix
2432         (prepareToPrint): don't look at alignment if we don't have the place
2433         for doing it.
2434
2435 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
2436
2437         * box.C: New file. Move the Box methods and functions out of box.h,
2438         following Lars' suggestion.
2439
2440 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
2441
2442         * box.h: #include "support/LOstream.h", needed for inlined function.
2443
2444         * lyxtextclass.C:
2445         * lyxtextclasslist.C: added some using std declarations.
2446
2447 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
2448
2449         * box.h: make signed dimensions to allow insets wider than
2450           the screen (bug #162)
2451
2452         * BufferView_pimpl.C: add some insetHit debug
2453
2454 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
2455
2456         * vc-backend.C: add FIXME
2457
2458 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2459
2460         * lyxfunc.C (getStatus): enable code for showing math font status
2461         in toolbar/menu.
2462
2463 2002-01-07  Juergen Vigna  <jug@sad.it>
2464
2465         * text.C (nextBreakPoint): removed debug output not needed anymore.
2466
2467 2002-01-06  Juergen Vigna  <jug@sad.it>
2468
2469         * text.C (nextBreakPoint): fixed up this function we had this bug
2470         since ever but now hopefully we break row better.
2471         (insertChar): we have to check if an inset is the next char as it
2472         could now happen that a large inset is causing a break.
2473
2474 2002-01-05  Juergen Vigna  <jug@sad.it>
2475
2476         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
2477         if it doesn't like to be drawed.
2478
2479 2002-01-04  Juergen Vigna  <jug@sad.it>
2480
2481         * BufferView2.C (lockInset): forgot to set a cursor.
2482
2483         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
2484
2485 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
2486
2487         * FormMathsPanel.C:
2488         * FormMathsPanel.h
2489         * MathsSymbols.C:
2490         * form_maths_panel.C:
2491         * form_maths_panel.h:
2492         * form_maths_panel.fd: implemented sub- and super- buttons in math
2493         panel.
2494
2495         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
2496         (or ^ space) to be used as in TeX (req'd by André).
2497
2498         * lyxfunc.C: Allow ^ and _ again to be used both as
2499         super/subscript (mathed) and as themselves (in text).
2500
2501 2002-01-03  Allan Rae  <rae@lyx.org>
2502
2503         * LyXView.C (updateWindowTitle): Setup a short icon title of either
2504         "LyX" or the filename of the current buffer if it has one.  This is a
2505         modified form of John Levon's patch.
2506
2507         * XFormsView.C (setWindowTitle): also set icon title.
2508
2509         * LyXView.h (setWindowTitle): signature changed.
2510         * XFormsView.h (setWindowTitle): ditto.
2511
2512 2002-01-02  Juergen Vigna  <jug@sad.it>
2513
2514         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
2515
2516 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2517
2518         * screen.C (topCursorVisible): introduce a temp var for
2519         text->cursor.row(), handle the case where this row is null. (kindo
2520         hachish)
2521
2522         * text2.C (setCursor): add a couple of asserts.
2523
2524         * paragraph.h (inset_iterator): add -> operator
2525
2526         * paragraph.[Ch] (autoDeleteInsets): remove member function
2527
2528         * BufferView2.C (removeAutoInsets): rewrite to handle the old
2529         cursor pos correctly and handle inset deletion by itself.
2530         (insertErrors): move iterator declaration out of for expression
2531
2532         * lyxtextclass.C: add <algorithm>
2533
2534         * Makefile.am: added the new files to sources, removed layout.C
2535
2536         * layout.C: removed file
2537
2538         * layout.h: remove LYX_DUMMY_LAYOUT
2539
2540         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
2541         layout.
2542
2543         * lyxlayout.[Ch]:
2544         * lyxtextclass.[Ch]:
2545         * lyxtextclasslist.[Ch]: new files
2546
2547         * include order changes to a lot of files, also changes because of
2548         the six new files.
2549
2550 2001-12-27  Juergen Vigna  <jug@sad.it>
2551
2552         * buffer.C (asciiParagraph): more fixes.
2553
2554         * tabular.C (ascii): make ascii export support export of only the
2555         data separated by a column-delimiter.
2556         (ascii): better support for ascii export.
2557
2558         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
2559
2560 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2561
2562         * tabular_funcs.C: use a "using std::getline" instead of the
2563         previous fix from Angus (necessary for cxx + lyxstring)
2564
2565 2001-12-24  Juergen Vigna  <jug@sad.it>
2566
2567         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
2568
2569         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
2570         problems. First check a minipage also if we have some ert-contents
2571         (not only on par->size(), second set the right depth of the paragraph
2572         on the relink to the root-paragraph-list!
2573
2574         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
2575         which then did not anymore update the main paragraphs on undo/redo!
2576
2577 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2578
2579         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
2580         code. Support all font-changing funcs (even those which are not in
2581         menu currently). Support for reporting font settings in
2582         mathed (disabled until Andre provides a function on mathed's side).
2583
2584         * func_status.h (toggle): small helper function to set toggle
2585         state on a flag.
2586
2587 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
2588
2589         * tabular_funcs.C: getline -> std::getline
2590
2591 2001-12-21  Juergen Vigna  <jug@sad.it>
2592
2593         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
2594         accessed and could be 0 (I couldn't generate this but it seems
2595         Michael could!).
2596
2597 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2598
2599         * tabular_funcs.C: add LIstream.h, move write_attribute to..
2600         * tabular_funcs.h: here and include iosfwd
2601
2602 2001-12-20  Juergen Vigna  <jug@sad.it>
2603
2604         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
2605         inside inset but undo_par was.
2606
2607 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2608
2609         * Thesaurus.C: always include <config.h> in sources.
2610
2611         * Painter.h:
2612         * lyxlookup.h:
2613         * box.h: do not include <config.h> in header files
2614
2615         * text.C (paintLastRow): remove unused variable
2616
2617         * text.C (transformChar):
2618         (insertChar):
2619         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
2620
2621         * Painter.C (text):
2622         * font.C (width): rewrite to use uppercase() instead of
2623         islower/toupper.
2624
2625         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
2626
2627 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
2628
2629         * lyxfind.C: clean up of find failure position change
2630
2631 2001-12-20  Juergen Vigna  <jug@sad.it>
2632
2633         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
2634
2635         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
2636         (TeXRow): added to LaTeX a single tabular row.
2637         (TeXLongtableHeaderFooter): added to output LT-h/f data.
2638         (Latex): simplified and finally good LT-h/f support.
2639         (various_functions): just small adaptions for LT-h/f support.
2640
2641         * tabular_funcs.[hC]: added and moved here all not classfunctions
2642         of LyXTabular.
2643
2644 2001-12-19  Juergen Vigna  <jug@sad.it>
2645
2646         * tabular.[Ch]: better support for longtabular options (not finished
2647         yet!)
2648
2649 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2650
2651         * text.C (paintLastRow): use the label font instead of the font of
2652         the last character to compute the size of *_BOX. This makes more
2653         sense and avoids a crash with empty paragraphs.
2654         Use Painter::rectangle to draw EMPTY_BOX.
2655
2656 2001-12-19  Juergen Vigna  <jug@sad.it>
2657
2658         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
2659         the paragraphs if the replaced paragraph is not the first one!
2660         Tried to delete not used paragraphs but does not work yet so for
2661         now it's inside #ifdef's and by default off!
2662
2663 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2664
2665         * MenuBackend.C: include "lyx_main.h" instead of declaring
2666         lastfiles (actually was declared as LastFiles* instead of a
2667         scoped_ptr).
2668
2669 2001-12-17  Juergen Vigna  <jug@sad.it>
2670
2671         * tabular.C (AppendColumn): applied John's fix
2672
2673 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
2674
2675         * BufferView.h:
2676         * BufferView.C:
2677         * BufferView_pimpl.h:
2678         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
2679
2680         * Makefile.am:
2681         * box.h: new start of class for above
2682
2683         * lyxfunc.C: ignore space-only minibuffer dispatches.
2684           Show the command name when it doesn't exist
2685
2686         * minibuffer.C: don't add empty lines to the history
2687
2688         * minibuffer.C: add a space on dropdown completion
2689
2690 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
2691
2692         * text.C: fix line above/below drawing in insets
2693
2694 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2695
2696         * lyxlength.C (LyXLength): Initialize private variables.
2697
2698 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
2699
2700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
2701         when inserting error insets.
2702
2703 2001-12-13  Juergen Vigna  <jug@sad.it>
2704
2705         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
2706         actually sometimes the before-paragraph.
2707         (setUndo): don't clear the redostack if we're not actually undoing!
2708
2709 2001-12-06  Juergen Vigna  <jug@sad.it>
2710
2711         * undo_funcs.C (textHandleUndo): well after John's hint I got here
2712         and fixed redoing of main paragraph, so we can use it now ;)
2713
2714         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
2715
2716 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2717
2718         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
2719         Juergen's request
2720
2721 2001-12-13  André Pönitz <poenitz@gmx.net>
2722
2723         * undostack.[Ch]:
2724         * undo_func.C: minor cleanup
2725
2726 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2727
2728         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
2729         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
2730         font in urw-fonts package which is marked as -urw-fontspecific and
2731         does not work (incidentally, changing the encoding in the
2732         fonts.dir of this package to -adobe-fontspecific fixes the
2733         problem).
2734
2735         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
2736         is a crash when undoing first paragraph (Juergen, please take a
2737         look). THis does not mean the undo fix is wrong, just that it
2738         uncovers problems.
2739
2740         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
2741         the (Paragraph*) version when needed instead of duplicating the
2742         code.
2743
2744         * text.C (workWidth): use Inset::parOwner to find out where the
2745         inset has been inserted. This is a huge performance gain for large
2746         documents with lots of insets. If Inset::parOwner is not set, fall
2747         back on the brute force method
2748
2749         * paragraph_pimpl.C (insertInset):
2750         * paragraph.C (Paragraph):
2751         (cutIntoMinibuffer): set parOwner of insets when
2752         inserting/removing them
2753
2754         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2755
2756 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
2757
2758         * commandtags.h:
2759         * LyXAction.C:
2760         * lyx_main.C:
2761         * lyxfunc.C:
2762         * mathed/formulabase.C:
2763         * mathed/math_cursor.[Ch]:
2764         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
2765
2766
2767 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2768
2769         * lyxlength.[Ch] (operator!=): new function
2770
2771 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2772
2773         * text.C (workWidth): use Inset::parOwner to find out where the
2774         inset has been inserted. This is a huge performance gain for large
2775         documents with lots of insets. If Inset::parOwner is not set, fall
2776         back on the brute force method
2777
2778         * paragraph_pimpl.C (insertInset):
2779         * paragraph.C (Paragraph):
2780         (cutIntoMinibuffer): set parOwner of insets when
2781         inserting/removing them
2782
2783         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
2784
2785 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2786
2787         * tabular-old.C (getTokenValue):
2788         * tabular.C (getTokenValue):
2789         (write_attribute): new versions for LyXLength
2790         (everywhere): adjust the use of widths
2791
2792         * tabular.h: change the type of widths from string to LyXLength
2793
2794 2001-12-11  Ben Stanley <bds02@uow.edu.au>
2795
2796         * paragraph.C: fixed missing line number count when exporting
2797         Environments to LaTeX file
2798
2799         * buffer.C: added informational message for checking line numbers.
2800
2801 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2802
2803         * text2.C (deleteEmptyParagraphMechanism): if there is only one
2804         paragraph, do the 'double space' part, but not the 'empty
2805         paragraph' one.
2806
2807         * text.C (workWidth): small optimization
2808         (getLengthMarkerHeight): use minimal size for negative lengths.
2809
2810 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
2811
2812         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
2813
2814         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
2815
2816 2001-12-11  André Pönitz <poenitz@gmx.net>
2817
2818         * FontLoader.C:
2819         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
2820
2821 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2822
2823         * text2.C: keep selection on a setFont()
2824
2825 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2826
2827         * lyx_cb.C: another bv->text misuse, from insert label
2828
2829 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
2830
2831         * kbsequence.h:
2832         * kbsequence.C: re-instate nmodifier mask
2833
2834 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
2835
2836         * lyx_main.h: make lyxGUI private.
2837
2838 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
2839
2840         * lyxfind.C: place the cursor correctly on failed search
2841
2842 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2843
2844         * text.C (getLengthMarkerHeight): for small heights, the arrows
2845         are not always on top/bottom of the text
2846         (drawLengthMarker): smaller arrows; take the left margin in
2847         account; draw also vfills.
2848         (paintFirstRow):
2849         (paintLastRow): remove special code for vfill and standard spaces,
2850         since everything is handled in drawLengthMarker now.
2851
2852 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2853
2854         * buffer.C (insertErtContents): try to handle font and language
2855         interaction a bit better.g
2856
2857         * ColorHandler.C (updateColor): change the hash to cover the whole
2858         LColor enum, ws cleanup
2859         (getGCLinepars): ditto
2860         (getGCLinepars): only lookup in the linecache once.
2861
2862 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
2863
2864         * iterators.C (operator++): Make the iterator more robust
2865
2866         * BufferView2.C (removeAutoInsets): Use paragraph iterators
2867         (John's patch)
2868         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
2869
2870 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2871
2872         * lyxtext.h:
2873         * text.C: better added space drawing
2874
2875 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2876
2877         * LyXView.C:
2878         * BufferView2.C: fix layout combo update on inset unlock
2879
2880 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2881
2882         * Makefile.am: don't compile unused files
2883
2884 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2885
2886         * lyxfunc.C:
2887         * commandtags.h:
2888         * LyXAction.C: remove old LFUN_LAYOUTNO
2889
2890 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2891
2892         * paragraph_pimpl.h:
2893         * paragraph_pimpl.C: isTextAt() doesn't need font param
2894
2895 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2896
2897         * lyxlex.h:
2898         * lyxlex.C: little cleanup
2899
2900 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
2901
2902         * BufferView_pimpl.C: fix insertAscii for insets
2903
2904 2001-12-05  Juergen Vigna  <jug@sad.it>
2905
2906         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
2907         set the right font on the "multi" paragraph paste!
2908
2909 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2910
2911         * trans_decl.h:
2912         * trans_mgr.[Ch]:
2913         * trans.[Ch]:
2914         * lyxgluelength.C:
2915         * lyxlength.C: remove out-commented code.
2916
2917         * BufferView_pimpl:
2918         * CutAndPaste.C:
2919         * DepTable.C:
2920         * buffer.C:
2921         * chset.C:
2922         * lastfiles.C:
2923         * lyxlex.C:
2924         * lyxlex_pimpl.C:
2925         * lyxserver.C:
2926         * screen.C:
2927         * tabular-old.C:
2928         * tabular.C:
2929         * text.C:
2930         * trans_mgr.C:
2931         * vc-backend.C: change "while(" to "while ("
2932
2933         * lyxlength.[Ch]: add zero function to check if length is zero or
2934         not
2935         * lyxgluelength.C: use it
2936
2937 2001-12-05  Allan Rae  <rae@lyx.org>
2938
2939         * lyxlength.C: Attempted a fix for the abs(int) header selection.
2940         Works for 2.95.3, from what I understand of Garst's reports this should
2941         work for other g++ versions.  We're screwed if the abs(int) definition
2942         changed between bugfix releases of gcc.
2943
2944 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
2945
2946         * text.C: fix chapter label offset !
2947
2948 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
2949
2950         * lyxtext.h:
2951         * text.C: fix hfill at end of line, clean up
2952
2953 2001-12-04  Juergen Vigna  <jug@sad.it>
2954
2955         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
2956         that we force an update of the inset and it's owners if neccessary.
2957
2958 2001-12-03  Juergen Vigna  <jug@sad.it>
2959
2960         * text.C (rowLast): simplified code
2961
2962 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
2963
2964         * lyxfunc.C: fix show options on timeout
2965
2966 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2967
2968         * screen.C (topCursorVisible): scroll half a page when the cursor
2969         reached top of bottom of screen
2970
2971 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
2972
2973         * minibuffer.C: deactivate on loss of focus
2974
2975 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2976
2977         * vspace.[Ch] (operator!=): add operator.
2978
2979 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
2980
2981         * BufferView_pimpl.C: refuse to open an inset when
2982         there's a selection.
2983
2984 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
2985
2986         * BufferView_pimpl.C: allow to click on RHS of full row insets
2987
2988 2001-11-30  Juergen Vigna  <jug@sad.it>
2989
2990         * tabular.C (LyXTabular): add a same_id to set the same id's in the
2991         insets for undo reasons.
2992
2993 2001-11-28  André Pönitz <poenitz@gmx.net>
2994
2995         * vspace.[Ch]: cosmetical changes
2996
2997 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
2998
2999         * LyXAction.h:
3000         * LyXAction.C:
3001         * lyxfunc.h:
3002         * lyxfunc.C:
3003         * kbmap.h:
3004         * kbmap.C:
3005         * lyxrc.C:
3006         * kbsequence.h:
3007         * kbsequence.C: part re-write of old kb code
3008
3009         * Painter.C:
3010         * WorkArea.C: remove Lgb_bug_find_hack
3011
3012 2001-11-30  José Matos <jamatos@fep.up.pt>
3013
3014         * buffer.C (makeDocBookFile): add a comment to point a hack.
3015         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
3016         Fixed a double write of labels.
3017
3018 2001-11-29 Ben Stanley <bds02@uow.edu.au>
3019
3020         * LaTeX.C:
3021         * LaTeX.h Fixed bug in LaTeX class where it would not
3022         re-run latex if no depfiles were changed, but the .dvi was removed.
3023
3024 2001-11-28  André Pönitz <poenitz@gmx.net>
3025
3026         * all the files from the change on 2001/11/26:
3027         use lyx::layout_type instead of LyXTextClass::size_type
3028         use lyx::textclass_type instead of LyXTextClassList::size_type
3029
3030 2001-11-29  Juergen Vigna  <jug@sad.it>
3031
3032         * text.C: added support for paragraph::isFreeSpacing()
3033
3034         * buffer.C: same as above
3035
3036         * paragraph.h: inserted isFreeSpacing() function to enable
3037         FreeSpacing inside InsetERT.
3038
3039         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
3040         of the paragraph's in the cut/copy buffer to 0!
3041
3042         * text2.C (removeRow): remove the assert as it can!
3043
3044         * lyxtext.h: added helper function firstRow returning firstrow and
3045         made firstrow private again.
3046
3047         * BufferView2.C (lockInset): don't relock if we're already locked!
3048
3049         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
3050         the only paragraph.
3051         (removeRow): added Assert::(firstrow)
3052
3053         * debug.C: forgot to add INSETTEXT here.
3054
3055 2001-11-28  Juergen Vigna  <jug@sad.it>
3056
3057         * sp_spell.C (initialize): changed error text to more general
3058         spellchecker command use (not only ispell!)
3059
3060         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
3061
3062         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
3063
3064 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
3065
3066         * vspace.C: initialise lyxgluelength on failure
3067
3068 2001-11-28  Allan Rae  <rae@lyx.org>
3069
3070         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
3071         declaration & definition that looks like a function declaration.
3072
3073 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3074
3075         * BufferView2.C (copy):
3076         (copyEnvironment): do not clear the selection when doing a copy.
3077
3078         * text.C (paintFirstRow): compilation fix
3079
3080 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
3081
3082         * tabular.C (Latex): correct line count when writing latex.
3083
3084 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
3085
3086         * paragraph_pimpl.h:
3087         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
3088           bug a bit
3089
3090 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
3091
3092         * text.C:
3093         * LColor.h:
3094         * LColor.C: change vfillline->added_space
3095
3096         * text.C: add markers and text for added space
3097
3098         * vspace.C: fix comment
3099
3100 2001-11-28  André Pönitz <poenitz@gmx.net>
3101
3102         * paragraph.C: whitespace changes
3103         * all the other files from the change on 2001/11/26:
3104         change *::pos_type into lyx::pos_type
3105
3106 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3107
3108         * buffer.C (parseSingleLyXformat2Token): Set the language to the
3109         language of the document when inserting error insets.
3110
3111 2001-11-26  André Pönitz <poenitz@gmx.net>
3112
3113         * BufferView_pimpl.[Ch]:
3114         *       CutAndPaste.C:
3115         * buffer.[Ch]:
3116         * lyxcursor.[Ch]:
3117         * lyxfind.C:
3118         * lyxfunc.C:
3119         * lyxrow.[Ch]:
3120         * paragraph.[Ch]:
3121         * paragraph_pimpl.[Ch]:
3122         * sp_spell.C:
3123         * text.C:
3124         * text2.C: reduce header dependencies, introduce type for positions
3125
3126 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
3127
3128         * <various>: change to use Alert.h
3129
3130 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3131
3132         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
3133         when encountering an unknown token.
3134         (readLyXformat2): Show an error message if there were unknown tokens.
3135
3136 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
3137
3138         * BufferView2.C:
3139         * BufferView_pimpl.C:
3140         * buffer.C:
3141         * paragraph.h:
3142         * text.C:
3143         * text2.C: use par->isInset()
3144
3145 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
3146
3147         * paragraph_pimpl.h:
3148         * paragraph_pimpl.C: cleanup
3149
3150 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3151
3152         * text2.C (removeRow):
3153         * text.C (setHeightOfRow): remove useless (and costly) call to
3154         getRow.
3155
3156 2001-11-20  Allan Rae  <rae@lyx.org>
3157
3158         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
3159         Now need Inset*::checkInsertChar() to return true for appropriate
3160         cases so that the characters in the minibuffer will actually be
3161         inserted.
3162
3163 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3164
3165         * text.C: change the order of the includes.
3166         (workWidth): initialize it at once.
3167         (workWidth): make maxw unsigned
3168         (setHeightOfRow): remove unused variable (inset)
3169         (selectSelectedWord): remove unused variable (inset)
3170         (paintRowText): fix drawing of hfill characters, and clean up a bit.
3171
3172 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3173
3174         * lyxserver.C (emergencyCleanup): do not try to close pipes if
3175         server is not running.
3176         (openConnection):
3177         (closeConnection): add debug info when server is disabled.
3178
3179         * ColorHandler.C (getGCForeground): send debug message to GUI
3180         channel.
3181
3182         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
3183
3184         * kbmap.C (bind): modify because return conventions of
3185         kb_sequence::parse have changed.
3186
3187         * kbsequence.C (parse): only ignore spaces and not any stupid
3188         control character. This avoids tests like s[i] <= ' ', which are
3189         guaranteed to fail with 8bit characters and signed chars.
3190         Change return code to string::npos when there have been no error
3191         (0 was a bad idea when error is at first character)
3192
3193 2001-11-14  José Matos  <jamatos@fep.up.pt>
3194
3195         * buffer.h:
3196         * buffer.C (simpleDocBookOnePar): removed unused argument.
3197
3198 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3199
3200         * text.C (selectNextWordToSpellcheck): do not test explicitely for
3201         insets which are part of a word. Paragraph::isLetter takes care of
3202         that now. Use Paragraph::isInset to identify insets.
3203         (selectSelectedWord): do not test for hyphenation break.
3204
3205         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
3206         that protected spaces are considered as spaces.
3207
3208         * paragraph.C (isLetter): cleanup the code for ispell extras; use
3209         Inset::isLetter.
3210
3211 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
3212
3213         * lyxserver.h:
3214         * lyxserver.C: fix it. and small cleanup.
3215
3216 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
3217
3218         * BufferView_pimpl.C: use inline helpers
3219
3220         * LaTeXFeatures.h:
3221         * LaTeXFeatures.C: fix typos
3222
3223         * Spacing.h:
3224         * Spacing.C: move spacing_string into class
3225
3226         * ToolbarDefaults.C: move stuff into namespace anon
3227
3228         * layout.h: update enum
3229
3230         * lyxfunc.C: use better debug
3231
3232         * minibuffer.h: fix typo
3233
3234         * debug.h:
3235         * debug.C:
3236         * WorkArea.C: add and use Debug::WORKAREA
3237
3238         * lyxtext.h:
3239         * text.C:
3240         * text2.C: code re-organisation, inline helpers
3241
3242 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
3243
3244         * Layout.C: replaced a few cases of std::vector.size() == 0 with
3245         std::vector.empty().
3246
3247 2001-11-09  Allan Rae  <rae@lyx.org>
3248
3249         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
3250         '\n's after tables.  Tabular and ERT inset work now makes this no
3251         longer necessary.
3252
3253 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
3254
3255         * minibuffer.h:
3256         * minibuffer.C: fix crash, improve drop-down completion
3257
3258 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
3259
3260         * lyxserver.h:
3261         * lyxserver.C: invalidate fd's when doing endPipe()
3262
3263 2001-11-08  José Matos  <jamatos@fep.up.pt>
3264
3265         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
3266         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
3267
3268         * paragraph.h:
3269         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
3270
3271 2001-11-07  José Matos  <jamatos@fep.up.pt>
3272
3273         * buffer.h:
3274         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
3275         const qualifier.
3276
3277         * buffer.C (sgmlOpenTag):
3278         * buffer.C (sgmlCloseTag): removed debug info.
3279
3280         * buffer.h (sgmlOpenTag):
3281         * buffer.h (sgmlCloseTag): made public.
3282
3283 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3284
3285         * buffer.C (saveParamsAsDefaults):
3286         * lyx_cb.C (MenuLayoutSave): remove
3287
3288         * LyXAction.C (init):
3289         * commandtags.h:
3290         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
3291
3292 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3293
3294         * buffer.C (setPaperStuff): removed from here...
3295
3296         * bufferparams.C (setPaperStuff): ... and moved there.
3297
3298 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
3299
3300         * minibuffer.h:
3301         * minibuffer.C:
3302         * XFormsView.C: add support for drop-down completion
3303
3304 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
3305
3306         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
3307         commands.
3308
3309 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3310
3311         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
3312         disabled.
3313
3314 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
3315
3316         * lyx_main.C: change ref to known bugs
3317
3318 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
3319
3320         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
3321         to work around older babel problems.
3322
3323 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
3324
3325         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
3326
3327 2001-10-24  Juergen Vigna  <jug@sad.it>
3328
3329         * tabular-old.C (ReadOld): below variable changes reflected.
3330
3331         * tabular.[Ch]: added ltType struct for longtable header/footer
3332         defines and changed all instances where they are used. Added
3333         future support for double top/bottom rows.
3334
3335 2001-10-24  José Matos  <jamatos@fep.up.pt>
3336
3337         * buffer.h (docbookHandleCaption):
3338         * buffer.C (docbookHandleCaption): removed unused function.
3339         (makeDocBookFile): moved docbook supported version to v4.1.
3340
3341 2001-10-24  José Matos  <jamatos@fep.up.pt>
3342
3343         * tabular.h:
3344         * tabular.C (docbookRow): new function to export docbook code of a row.
3345         (DocBook): now honors the longtable flags.
3346
3347 2001-10-23  José Matos  <jamatos@fep.up.pt>
3348
3349         * LaTeXFeatures.h:
3350         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
3351         of the lyx defined sgml entities used in a docbook/linuxdoc document.
3352
3353         * buffer.C (makeLinuxDocFile):
3354         (makeDocBookFile): reworked the preamble, more clean, and with
3355         support for lyx defined entities. Changed the document declaration
3356         to be more XML friendly.
3357
3358         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
3359         if we need to output XML that should be done with a filter.
3360
3361 2001-10-22  Juergen Vigna  <jug@sad.it>
3362
3363         * sp_pspell.h (class PSpell): add alive function needed in the
3364         controller to see if the spellchecker could be started.
3365
3366 2001-10-22  Juergen Vigna  <jug@sad.it>
3367
3368         * buffer.C (insertStringAsLines): modify the font for inserting
3369         chars in certain conditions by calling checkInsertChar(font).
3370
3371 2001-10-19  Juergen Vigna  <jug@sad.it>
3372
3373         * text.C (workWidth): use getRow instead of wrong algorithm.
3374         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
3375
3376 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
3377
3378         * lyxserver.h:
3379         * lyxserver.C:
3380         * lyx_main.h:
3381         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
3382
3383 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3384
3385         * text.C (workWidth): do not search for the exact row when
3386         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
3387         optimization for big documents.
3388
3389 2001-10-18  Juergen Vigna  <jug@sad.it>
3390
3391         * text.C (workWidth): new function with added Inset * parameter.
3392
3393 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3394
3395         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
3396
3397         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
3398         change return type of getColumnNearX.
3399
3400
3401         * text.C (changeRegionCase): use uppercase/lowercase instead of
3402         toupper/tolower.
3403         (leftMargin):
3404         (rightMargin): simplify code by factoring out the uses of
3405         textclasslist.
3406         (labelFill):
3407         (numberOfHfills):
3408         (setHeightOfRow):
3409         (appendParagraph): use Paragraph::size_type
3410
3411 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3412
3413         * vspace.C (asLatexString): add a missing break
3414
3415 2001-10-15  Herbert Voss  <voss@perce.de>
3416
3417         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
3418
3419 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3420
3421         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
3422         is not available.
3423
3424 2001-10-10  André Pönitz <poenitz@gmx.net>
3425
3426         * lyxfunc.C: removed greek_kb_flag.
3427
3428 2001-10-10  Herbert Voss  <voss@perce.de>
3429
3430         * lyx_main.C: delete global string help_lyxdir.
3431
3432 2001-10-09  Herbert Voss  <voss@perce.de>
3433
3434         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
3435
3436         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
3437
3438         * lyx_main.C: added global string help_lyxdir.
3439
3440         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
3441
3442 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3443
3444         * lyxrc.C (set_font_norm_type): support iso8859-4
3445
3446 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
3447
3448         * LaTeX.C (deplog): add another regex for MikTeX
3449
3450 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3451
3452         * lyxrc.C (set_font_norm_type): support iso8859-3
3453
3454 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3455
3456         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
3457
3458         * LaTeXFeatures.C: remove special case of french and index
3459
3460         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
3461         before \begin{document}). This solves several incompatibilities.
3462
3463 2001-10-03  Garst Reese  <reese@isn.net>
3464
3465         * lyx_cb.C: change CheckTex error msg.
3466
3467 2001-10-03  José Matos  <jamatos@fep.up.pt>
3468
3469         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
3470
3471 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3472
3473         * .cvsignore: update
3474
3475         * lyx_main.C (commandLineVersionInfo): use new style version info.
3476
3477         * buffer.C (writeFile):
3478         (makeLaTeXFile):
3479         (makeLinuxDocFile):
3480         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
3481
3482         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
3483
3484         * version.h: update to use stuff in version.C
3485
3486         * version.C.in: new file. Contains version information determined
3487         at compile time. This is a merging of version.h and
3488         version_info.h.in.
3489
3490 2001-10-03  Juergen Vigna  <jug@sad.it>
3491
3492         * BufferView_pimpl.C (update): don't change "dirty" status in
3493         updateInset call.
3494
3495 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
3496
3497         * WorkArea.C (c-tor): re-position version string slightly.
3498
3499 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
3500
3501         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
3502         revert to previous code.
3503
3504         WorkArea.[Ch]: (show, destroySplash): methods removed.
3505
3506         WorkArea.C: rework code so that it's an amalgam of the codes before and
3507         after the splash screen was moved to WorkArea.
3508
3509 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3510
3511         * lyxrc.C (read):
3512         * vspace.C (inPixels):
3513         (lyx_advance):
3514         * kbmap.C (bind):
3515         * buffer.C (insertStringAsLines):
3516         (asciiParagraph): fix types to be large enough
3517
3518         * lyxlex_pimpl.h: change member status from short to int
3519
3520         * layout.h: fix type of endlabeltype
3521
3522         * kbmap.C (bind):
3523         * kbsequence.C (parse): change return type to string::size_type
3524
3525         * LaTeX.C (updateBibtexDependencies): comment out unneeded
3526         variable
3527
3528         * Bullet.C (bulletSize):
3529         (bulletEntry): do not use short ints as parameters
3530
3531         * BufferView2.C (insertLyXFile): change a char to an int.
3532
3533         * WorkArea.C (WorkArea): remove unneeded floats in computation
3534
3535 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
3536
3537         * buffer.C (asciiParagraph): Treat '\\' as other chars.
3538
3539         * paragraph.C (asString): Do not ignore newline/hfill chars when
3540         copying to the clipboard.
3541
3542 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
3543
3544         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
3545         after a multi-line inset.
3546
3547 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
3548
3549         * paragraph.C (validate): Set NeedLyXFootnoteCode
3550
3551 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
3552
3553         * lyxfont.C (LyXSizeNames): changed increase-error to increase
3554         and decrease-error to decrease.
3555
3556 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3557
3558         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
3559         it more readable (should be equivalent)
3560
3561 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3562
3563         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
3564
3565 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3566
3567         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
3568         of a cursor (row, etc.) after a character has been deleted
3569         (deleteEmptyParagraphMechanism): call the method above on _all_
3570         cursors held by the LyXText when a double space has been
3571         detected/deleted.
3572
3573 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
3574
3575         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
3576         pixmap.
3577         (resizeCurrentBuff): remove code to destroy the old splash dialog.
3578
3579         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
3580         background. Use greyOut() and the new show() methods to toggle between
3581         the foreground and background. Add code to remove the splash after
3582         its initial showing.
3583
3584         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
3585         (create_forms): no longer call Dialogs::showSplash.
3586
3587 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3588
3589         * .cvsignore: add version_info.h
3590
3591 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3592
3593         * version_info.h.in: new file
3594
3595         * Makefile.am: add version_info.h.in
3596
3597         * lyx_main.C (commandLineVersionInfo): use version_info defined in
3598         version_info.h instead of VERSION_INFO
3599
3600 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
3601
3602         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
3603         The ERT inset now returns string().
3604
3605 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
3606
3607         * lyxtext.h, text.C (selectNextWord): renamed as
3608         selectNextWordToSpellcheck.
3609
3610         * text.C (selectNextWordToSpellcheck): Modified to not select
3611         words inside an ERT inset.
3612
3613 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3614
3615         * lyx_cb.C (MenuLayoutSave): change a bit the question
3616
3617         * sp_base.h: include <sys/types.h>
3618
3619 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
3620
3621         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
3622
3623 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
3624
3625         * several files: fix typos in user-visible strings
3626
3627 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3628
3629         * text2.C (pasteSelection): do not set the selection, since it
3630         will be cleared later. Actually, the intent was to fix the way the
3631         selection was set, but I figured rmoving the code was just as good.
3632
3633 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
3634
3635         * FontLoader.C (available): Check if font is available without
3636         loading the font.
3637
3638 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3639
3640         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
3641
3642 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
3643
3644         * lyxrc.[Ch]: added display_graphics variable and associated code.
3645
3646 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3647
3648         * bufferparams.C (hasClassDefaults): new method. Returns true if
3649         the buffer parameters correspond to known class defaults
3650
3651 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
3652
3653         * XFormsView.C (show): set minimum size to the main window.
3654
3655 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3656
3657         * text2.C (copySelection):
3658         (cutSelection):
3659         * lyxfind.C (LyXReplace):
3660         * BufferView_pimpl.C (Dispatch): pass the correct flag to
3661         LyXText::selectionAsString.
3662
3663         * paragraph.C (asString): add "label" argument to the second form
3664
3665         * text2.C (selectionAsString): add "label" argument and pass it to
3666         Paragraph::asString.
3667
3668 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3669
3670         * lyx_main.C (commandLineHelp): remove version information
3671
3672 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
3673
3674         * lyx_main.C: add -version commandline option
3675
3676 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3677
3678         * paragraph.h: make the optional constructor arg required instead.
3679         some modifications to other files because of this.
3680
3681         * minibuffer.C (C_MiniBuffer_peek_event): make it static
3682
3683         * lyxserver.C (C_LyXComm_callback): make it static
3684
3685         * lyx_main.C (error_handler): make it static
3686
3687         * lyx_gui.C (LyX_XErrHandler): make it static
3688
3689         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
3690
3691         * WorkArea.C: make the extern "C" methods static.
3692
3693         * Makefile.am (lyx_LDADD): simplify
3694
3695 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
3696
3697         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
3698         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
3699
3700         * LyXAction.C (init):
3701         * lyxfunc.C (dispatch): associated code removal.
3702
3703 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3704
3705         * lyxfont.h (isSymbolFont): shut off warning
3706
3707         * text.C (setHeightOfRow):
3708         (getVisibleRow): fix crash with empty paragraphs which have a
3709         bottom line
3710
3711 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
3712
3713         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
3714         code.
3715
3716 2001-09-04  José Matos  <jamatos@fep.up.pt>
3717         * buffer.C
3718         * buffer.h
3719         * tabular.C (docbook): rename docBook method to docbook.
3720
3721 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
3722
3723         * Makefile.am: add dependencies to main.o.
3724
3725 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
3726
3727         * FontLoader.C (available): Return false if !lyxrc.use_gui
3728
3729 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
3730
3731         * FontInfo.C (query):
3732         * converter.C (view):
3733         * importer.C (Import):
3734         * exporter.C (Export): Can not -> cannot.
3735
3736 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
3737
3738         * BufferView_pimpl.C: allow to create index inset even if
3739           string is empty
3740
3741 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
3742
3743         * buffer.C (getLists): replace boost::tie code with an explicit pair
3744         as boost::tie can break some compilers.
3745
3746         * iterators.h: Added a std:: declaration to the return type of
3747         ParIterator::size.
3748
3749 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
3750
3751         * lyxrc.C: add help for view_dvi_paper_option, default to safe
3752           case.
3753
3754 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
3755
3756         * iterators.[Ch]: New files. Provide paragraph iterators.
3757
3758         * buffer.C (changeLanguage): Use paragraph iterators.
3759         (isMultiLingual): ditto
3760
3761         * BufferView2.C (ChangeInsets): Use paragraph iterators.
3762
3763 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
3764
3765         * FontLoader.C: Support for cmr font.
3766
3767 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
3768
3769         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
3770         (available): New method.
3771
3772         * FontInfo.C (getFontname): Use scalable fonts even when
3773         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
3774         found.
3775
3776 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
3777
3778         * converter.C (Formats::view): reverted! Incorrect fix.
3779
3780 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
3781
3782         * converter.C (Formats::view): only output the -paper option
3783         if the dvi viewer is xdvi, thereby fixing bug #233429.
3784
3785 2001-08-23  Herbert Voss  <voss@perce>
3786
3787         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
3788
3789 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
3790
3791         * Spacing.h (Spacing): Set space to Default on in the default
3792         constructor.
3793
3794 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3795
3796         * vc-backend.h (RCS::versionString): add RCS to version
3797         (CVS::versionString): add CVS to version
3798
3799         * vc-backend.C (scanMaster): do not add CVS to version.
3800         (scanMaster): do not add RCS to version
3801
3802         * lyxvc.C (versionString): new method
3803
3804         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
3805
3806 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3807
3808         * Spacing.C (set): initialize fval
3809
3810 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
3811
3812         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
3813         " or \.
3814
3815 2001-08-16  Juergen Vigna  <jug@sad.it>
3816
3817         * lyxfunc.C (dispatch): implemented the new FINISHED states.
3818
3819 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
3820
3821         * BufferView_pimpl.C:
3822         * figureForm.C:
3823         * lyxtext.h:
3824         * text2.C: setParagraph takes linespacing now
3825
3826 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
3827
3828         * LyxAction.C: add internal LFUN_CITATION_INSERT
3829
3830         * LyXView.C: actually apply fix
3831
3832         * bufferlist.C: fix open non-existent file
3833
3834         * lyxfind.C: fix indentation
3835
3836         * lyxfunc.C: remove unneeded assert, fix typo
3837
3838 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
3839
3840         * MenuBackend.C: use "Floatname List"
3841
3842 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
3843
3844         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
3845         when converting LaTeX layout to insetERT.
3846         Generate a non-collapsed float when reading old float
3847
3848 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
3849
3850         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
3851         ERT insets.
3852
3853 2001-08-13  Juergen Vigna  <jug@sad.it>
3854
3855         * text.C (fill): return 0 instead of 20 as this seems to be the more
3856         correct value.
3857
3858 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
3859
3860         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
3861         lyxrc.font_norm.
3862
3863 2001-08-13  Juergen Vigna  <jug@sad.it>
3864
3865         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
3866         casesensitive off.
3867         (SearchBackward): comment out the unlocking of the inset_owner this
3868         should not be needed!
3869
3870 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
3871
3872         * Many files: Remove inherit_language, and add latex_language
3873
3874         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
3875         collapsible insets.
3876
3877 2001-08-10  Juergen Vigna  <jug@sad.it>
3878
3879         * text.C (prepareToPrint): fixed hfill-width in draw!
3880
3881         * BufferView2.C (selectLastWord): save the selection cursor as this
3882         now is cleared in the function LyXText::clearSelection!
3883
3884 2001-08-08  Juergen Vigna  <jug@sad.it>
3885
3886         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
3887         BACKSPACE type functions.
3888
3889         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
3890         is only cutted from the document but not put in the cut-buffer, where
3891         still the old stuff should be.
3892
3893         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
3894
3895         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
3896
3897         * tabular.C (SetWidthOfCell): fixed special case where the width
3898         was not updated!
3899         (LeftLine): handle '|' in align_special.
3900         (RightLine): ditto
3901         (LeftAlreadyDrawed): ditto
3902         (SetWidthOfCell): ditto
3903
3904 2001-08-07  Juergen Vigna  <jug@sad.it>
3905
3906         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
3907
3908 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3909
3910         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
3911         * lyxlex.[hC]: ditto
3912
3913 2001-08-06  Juergen Vigna  <jug@sad.it>
3914
3915         * text.C (getVisibleRow): fix up row clearing a bit.
3916
3917 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3918
3919         * minibuffer.C: make sure the X server sees the changes in the input.
3920
3921 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3922
3923         * paragraph.C (getFont): split into...
3924         (getLabelFont): this
3925         (getLayoutFont): and this
3926         * paragraph_pimpl.C (realizeFont): calling this
3927
3928         * text2.C (getFont): split into...
3929         (getLayoutFont): this
3930         (getLabelFont): and this
3931         (realizeFont): all three calling this
3932
3933         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
3934         files where used.
3935
3936 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3937
3938         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
3939
3940 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
3941
3942         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
3943         layouts from the Quote inset insertion.
3944
3945 2001-08-03  Juergen Vigna  <jug@sad.it>
3946
3947         * BufferView_pimpl.C (update): do the fitCursor only at the end!
3948
3949         * screen.C (drawFromTo): don't call fitcursor here and do the loop
3950         only if status not is already CHANGED_IN_DRAW (second level).
3951
3952         * text.C (draw): don't set the need_break_row when inside an
3953         InsetText LyXText.
3954
3955 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3956
3957         * buffer.C (parseSingleLyXformat2Token): handle more latex
3958         conversion cases.
3959
3960         * bufferview_funcs.[hC]: change function names to
3961         begin with small char, adjust other files.
3962
3963 2001-08-02  André Pönitz <poenitz@gmx.net>
3964
3965         * lyxfunc.C:
3966         BufferView_pimpl.C: remove broken special code for math-greek
3967
3968 2001-08-02  Juergen Vigna  <jug@sad.it>
3969
3970         * BufferView_pimpl.C (update): redone this function so that we
3971         update the text again if there was a CHANGE_IN_DRAW.
3972
3973         * screen.C (cursorToggle): removed LyXText parameter and recoded.
3974         (drawFromTo): added a new internal bool which is used by draw() and
3975         redraw() function.
3976         (general): some cursor drawing problems fixed.
3977
3978 2001-08-01  Juergen Vigna  <jug@sad.it>
3979
3980         * lyxfind.C (LyXFind): fixed
3981         (SearchForward): ditto
3982         (SearchBackward): ditto
3983
3984         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
3985         spurius drawing of the cursor in the main area.
3986
3987         * text2.C (status): small fix which could lead to a segfault!
3988         (clearSelection): remove unneeded BufferView param.
3989
3990 2001-08-01  André Pönitz <poenitz@gmx.net>
3991
3992         * lyxfunc.C: small change due to changed mathed interface
3993
3994 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3995
3996         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
3997
3998 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
3999
4000         * lyxfunc.c: fail gracefully if file doesn't exist
4001
4002         * LyXSendto.C:
4003         * buffer.C:
4004         * lyxfunc.C:
4005         * BufferView_pimpl.C: IsDirWriteable() proto changed
4006
4007         * LyXView.C: fix updateWindowTitle() to store the last title
4008
4009 2001-07-31  Juergen Vigna  <jug@sad.it>
4010
4011         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
4012         the font (wrong since using of Paragraph::highestFontInRange).
4013
4014         * paragraph.C (highestFontInRange): added a default_size parameter.
4015
4016         * text.C (getVisibleRow): minor clear row changes (still not perfect).
4017         (setHeightOfRow): reformat
4018
4019 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4020
4021         * converter.[hC] + affected files: move to (inital-char)lowercase
4022         function names.
4023
4024         * ParagraphParameters.C (ParagraphParameters): remove commented code
4025
4026         * PainterBase.[Ch]: remove commented code
4027
4028         * LaTeXFeatures.h: add "bool floats" for float.sty
4029
4030         * LaTeXFeatures.C (LaTeXFeatures): init floats
4031         (require): handle float
4032         (getPackages): do it with floats
4033
4034 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4035
4036         * BufferView_pimpl.C (Dispatch): improve handling of
4037         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
4038
4039         * commandtags.h: #include lyxfont.h here temporarily to avoid
4040         keybinding bug.
4041
4042         * bufferlist.h: include LString.h here.
4043
4044 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4045
4046         * text2.C (getStringToIndex): new method.
4047
4048 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
4049
4050         * *: Reduced header file dependencies all over.
4051
4052 2001-07-30  Baruch Even  <baruch@lyx.org>
4053
4054         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
4055
4056 2001-07-29  Baruch Even  <baruch@lyx.org>
4057
4058         * buffer.C (readInset): Changed GRAPHICS to Graphics.
4059
4060 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4061
4062         * ParameterStruct.h (endif): add a default constructor to make
4063         sure that all variables is initialized.
4064
4065         * ParagraphParameters.C (ParagraphParameters): adjust
4066
4067 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4068
4069         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
4070         index; also, check that there is something to index, and that it
4071         does not span over several paragraphs.
4072         (doubleClick): use WHOLE_WORD_STRICT for double click.
4073
4074         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
4075
4076         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
4077         scheme.
4078
4079 2001-07-26  Baruch Even  <baruch@lyx.org>
4080
4081         * buffer.C (readInset): Changed to call up InsetGraphics when reading
4082         an InsetFig figure, backwards compatible reading of old figure code.
4083
4084 2001-07-27  Juergen Vigna  <jug@sad.it>
4085
4086         * text2.C: font.realize function adaption.
4087
4088         * text.C (draw): add a warnings lyxerr text if needed.
4089
4090         * layout.C: font.realize function adaption.
4091
4092         * language.C: add inherit_language and implement it's handlings
4093
4094         * bufferview_funcs.C (StyleReset): remove language parameter from
4095         font creation (should be language_inherit now).
4096
4097         * bufferparams.C (writeFile): handle ignore_language.
4098
4099         * paragraph.C (getFontSettings): the language has to be resolved
4100         otherwise we have problems in LyXFont!
4101
4102         * lyxfont.C (lyxWriteChanges): added document_language parameter
4103         (update): removed unneeded language parameter
4104
4105         * paragraph.C (validate): fixed wrong output of color-package when
4106         using interface colors for certain fonts in certain environments,
4107         which should not seen as that on the final output.
4108
4109 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
4110
4111         * BufferView_pimpl.C:
4112         * Thesaurus.h:
4113         * Thesaurus.C:
4114         * Makefile.am:
4115         * commandtags.h:
4116         * LyXAction.C: add thesaurus support
4117
4118         * lyxfind.h:
4119         * lyxfind.C: add "once" parameter, for thesaurus, to not
4120           move to the next match
4121
4122 2001-07-26  Juergen Vigna  <jug@sad.it>
4123
4124         * lyxfont.C (realize): honor ignore_language too!
4125         (resolved): ditto.
4126
4127         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
4128
4129         * text.C (draw): one place more for ignore_language to not draw
4130         itself!
4131
4132 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
4133
4134         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
4135
4136 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4137
4138         * buffer.C (parseSingleLyXformat2Token): a more general fix for
4139         the minipage conversion problem.
4140
4141 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4142
4143         * buffer.C (parseSingleLyXformat2Token): check minipage if we
4144         insert an inset.
4145
4146 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4147
4148         * BufferView.h: don't forward declare WorkArea
4149
4150         * BufferView.C: don't include WorkArea.h
4151
4152 2001-07-25  André Pönitz <poenitz@gmx.net>
4153
4154         * commandtags.h:
4155         * LyXAction.C:
4156         * lyxfunc.C:  new LFUN 'math-space'
4157
4158         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
4159
4160 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4161
4162         * text2.C (toggleInset): call open/close
4163
4164 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4165
4166         * lyxfunc.C (dispatch): add debug for the disabled case
4167
4168         * font.C (buttonText): make similar to rectText
4169
4170         * buffer.C (readInset): comment out parsing of insetlist and
4171         insttheorem
4172
4173         * PainterBase.C (rectText): small correction
4174
4175         * BufferView_pimpl.C: comment out insettheorem and insetlist
4176         * LyXAction.C: ditto
4177         * commandtags.h: ditto
4178
4179 2001-07-24  Juergen Vigna  <jug@sad.it>
4180
4181         * text.C (draw): honor the ignore_language.
4182
4183         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
4184
4185 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4186
4187         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
4188         char inset.
4189
4190 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4191
4192         * lyxtext.h: remove unused (and unimplemented) methods
4193
4194 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4195
4196         * text.C (getVisibleRow): honor background color
4197
4198         * PainterBase.h:
4199         * Painter.h: remove default color argument for fillRectangle
4200
4201         * text.C (backgroundColor): new method
4202
4203 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4204
4205         * text.C (getVisibleRow): adjust
4206
4207         * font.[Ch] (rectText): new method, metrics
4208         (buttonText): new method, metrics
4209
4210         * PainterBase.[hC]: make rectText and buttonText always draw and take
4211         fewer paramteres.
4212
4213 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4214
4215         * ToolbarDefaults.C (read):
4216         * MenuBackend.C (read): allow escaping in all strings
4217
4218         * BufferView_pimpl.C (insertAndEditInset): new method.
4219         (Dispatch): use insertAndEditInset whenever appropriate.
4220
4221         * BufferView_pimpl.C (insertNote): removed
4222
4223         * BufferView_pimpl.C (smartQuote): new method, moved from
4224         BufferView; if an insetquote cannot be inserted, insert a '"'
4225         character instead.
4226
4227         * BufferView2.C: remove insertCorrectQuote();
4228
4229         * lyxfunc.C (getStatus): Add support for all remaingin
4230         inset-insert lfuns.
4231
4232         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
4233
4234         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
4235         command (necessary to pass " as parameter of self-insert.
4236
4237         * text.C (selectWordWhenUnderCursor):
4238         (selectWord): add word_location parameter
4239         (selectWordWhenUnderCursor): same + remove special code for word
4240         boundary.
4241         (selectNextWord): use kind() to guess type of insetspecialchar,
4242         not latex().
4243
4244         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
4245         (insertErtContents): create ert insets as collapsed.
4246         (readInset): better compatibility code for Info inset.
4247
4248 2001-07-20  Juergen Vigna  <jug@sad.it>
4249
4250         * lyxfunc.C (dispatch): use always LyXFind now!
4251
4252         * text2.C (init): add a reinit flag so that the LyXText can be
4253         reinited instead of deleted and reallocated (used in InsetText).
4254
4255         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
4256
4257         * text.C: ditto
4258
4259         * text2.C: ditto
4260
4261 2001-07-18  Juergen Vigna  <jug@sad.it>
4262
4263         * text.C (selectNextWord): handle insets inside inset by calling
4264         always the bv->text functions so that we can go up the_locking_inset!
4265
4266         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
4267         in strange locations when inside an inset!
4268
4269         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
4270         handling to include insets.
4271
4272         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
4273
4274 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4275
4276         * LyXAction.C (init):
4277         * commandtags.h:
4278         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
4279         LIGATURE_BREAK, since the name is so stupid.
4280
4281 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
4282
4283         * buffer.C (readInset): enable reading of new InsetNotes as well as old
4284         InsetInfos.
4285
4286         * FontLoader.C: remove FORMS_H_LOCATION cruft.
4287
4288         * sp_form.[Ch]: remove.
4289
4290         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
4291
4292         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
4293         InsetInfo.
4294
4295         * src/buffer.C (readInset): ditto.
4296
4297 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4298
4299         * BufferView_pimpl.C (specialChar): new method. Obsoletes
4300         menuSeparator(), endOfSentenceDot(), ldots() and
4301         hyphenationPoint(), which are therefore removed.
4302         (Dispatch): handle LFUN_HYPHENATION_BREAK.
4303
4304         * LyXAction.C (init):
4305         * commandtags.h: add LFUN_HYPHENATION_BREAK.
4306
4307         * paragraph.C (getWord): removed.
4308
4309         * BufferView_pimpl.C (Dispatch): use last word or selection for
4310         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
4311
4312         * lyx_main.C (queryUserLyXDir): do not ask before creating
4313         user_dir, except if it has been named explicitely.
4314
4315 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
4316
4317         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
4318         a document of zero size.
4319
4320 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
4321
4322         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
4323         approriately in the c-tor and in require().
4324         (getPackages): output the appropriate LaTeX for natbib support.
4325
4326         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
4327         variables "use_natbib" and "use_numerical_citations" when reading the
4328         LyX file.
4329         (readInset): read the various natbib cite commands.
4330         (validate): white-space change.
4331
4332         * bufferparams.[Ch]: new variables "bool use_natbib" and
4333         "bool use_numerical_citations".
4334         (writeFile): output them in the LyX file.
4335
4336 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4337
4338         * lyxfunc.C (getStatus): add support for all the inset insertion
4339         commands.
4340
4341         * text2.C (insertInset):
4342         * paragraph.C (insetAllowed):
4343         * BufferView_pimpl.C (insertInset): update to take in account the
4344         renaming of insertInsetAllowed
4345
4346         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
4347
4348         * text2.C (getInset): new method. returns inset at cursor position.
4349
4350         * BufferView_pimpl.C (Dispatch): changes because of this.
4351
4352         * LyXAction.C (init): rename open-stuff to inset-toggle.
4353
4354         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
4355
4356         * text2.C (toggleInset): renamed from openStuff; use
4357         Inset::open().
4358
4359 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
4360
4361         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
4362
4363         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
4364
4365 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
4366
4367         * buffer.C (readLyXformat2): Add filename to the error dialog
4368
4369 2001-07-18  Juergen Vigna  <jug@sad.it>
4370
4371         * tabular.C (GetCellNumber): put an assert here instead of the check!
4372
4373 2001-07-17  Juergen Vigna  <jug@sad.it>
4374
4375         * BufferView_pimpl.C (toggleSelection): adapted too.
4376
4377         * text.C (selectNextWord): adapted for use with insets.
4378         (selectSelectedWord): ditto
4379
4380 2001-07-17  Juergen Vigna  <jug@sad.it>
4381
4382         * sp_spell.C (PSpell): fix initialitation order.
4383
4384 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4385
4386         * paragraph.C: spacing
4387
4388 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
4389
4390         * sp_spell.C: repair language selection for pspell
4391
4392 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4393
4394         * lyxfunc.h: change more methods to begin with lower char.
4395
4396 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
4397
4398         * buffer.C (parseSingleLyXformat2Token): Generate error insets
4399         for unknown layouts.
4400
4401 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
4402
4403         * buffer.C (readLyXformat2): Generate an error dialog if there are
4404         unknown layouts.
4405
4406 2001-07-16  Juergen Vigna  <jug@sad.it>
4407
4408         * sp_spell.C: always compile ISpell part.
4409
4410         * lyxrc.C: added use_pspell entry and it's handling.
4411
4412 2001-07-13  Juergen Vigna  <jug@sad.it>
4413
4414         * sp_spell.C: removed double includes.
4415
4416 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
4417
4418         Consistent use of Lsstream.h:
4419         * Lsstream.h: added using std::stringstream for consistencies sake.
4420
4421         * buffer.C: removed using std::stringstream
4422
4423         * lyxfont.C (stateText):
4424         * paragraph.C (asString):
4425         * text.C (selectNextWord, selectSelectedWord):
4426         * text2.C (setCounter):
4427         * vspace.C (asString, asLatexString):
4428         std::ostringstream -> ostringstream.
4429
4430 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
4431
4432         * LyXAction.C: add LFUN_HELP_ABOUTLYX
4433         * commandtags.h: add LFUN_HELP_ABOUTLYX
4434         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
4435
4436 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
4437
4438         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
4439         cursorToggle()
4440         * lyx_gui_misc.C: remove spellchecker
4441         * lyxfunc.C: showSpellchecker
4442         * sp_base.h: added
4443         * sp_ispell.h: added
4444         * sp_pspell.h: added
4445         * sp_spell.C: added
4446         * sp_form.[Ch]: removed
4447         * spellchecker.[Ch]: removed
4448
4449 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
4450
4451         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
4452         is set.
4453         (simpleTeXSpecialChars): Simply print the input character without
4454         any special translation if pass_thru is set.
4455
4456         * layout.h: Added bool pass_thru to layout class for being able to
4457         implement pass through of a paragraph for Literate Programming.
4458
4459         * layout.C: add LT_PASS_THRU to LayoutTags enum.
4460         * layout.C (LyXLayout): set pass_thru to flase in constructor.
4461         * layout.C (Read): add "passthru" to list of layout tags and add
4462         code to set the pass_thru boolean when it is read.
4463
4464 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4465
4466         * trans_decl.h: remove allowed from KmodInfo
4467
4468         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
4469         remove allowed code
4470         (Load): adjust
4471
4472         * paragraph_pimpl.C (erase): use boost::prior
4473
4474         * Painter.C (text): use data() instead of c_str() when length is
4475         also provided.
4476         * WorkArea.C (putClipboard): ditto
4477         * font.h (width): ditto
4478
4479         * BufferView2.C: use it-> instead of (*it). for iterators
4480         * texrow.C: ditto
4481         * paragraph_pimpl.C: ditto
4482         * paragraph.C: ditto
4483         * minibuffer.C: ditto
4484         * language.C: ditto
4485         * kbmap.C: ditto
4486         * encoding.C: ditto
4487         * counters.C: ditto
4488         * converter.C: ditto
4489         * chset.C: ditto
4490         * Variables.C: ditto
4491         * TextCache.C: ditto
4492         * MenuBackend.C: ditto
4493         * LyXAction.C: ditto
4494         * LColor.C: ditto
4495         * FloatList.C: ditto
4496         * DepTable.C: ditto
4497         * ColorHandler.C (LyXColorHandler): ditto
4498
4499 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4500
4501         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
4502
4503         * text2.C (openStuff): reintroduce this method (which had been
4504         nuked in NEW_INSETS frenzy).
4505
4506         * lyxfunc.C (Dispatch): when an action has not been handled, use
4507         its name in the error message, not its number.
4508
4509         * paragraph.C (inInset): change method name to begin with lowercase.
4510
4511         * undo_funcs.C:
4512         * text2.C: updates because of this.
4513
4514 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4515
4516         * ToolbarDefaults.C (add): add spaces in error message
4517
4518 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4519
4520         * buffer.C (readLyXformat2): initialize the ert comp. variables.
4521         (readLyXformat2): rename return_par to first_par, use lyxlex's
4522         pushToken and remove the manual push handling.
4523         (parseSingleLyXformat2Token): add another ert comp. variable:
4524         in_tabular, rename return_par to first_par. handle newlines better
4525
4526 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4527
4528         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
4529
4530 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4531
4532         * text2.C (getParFromID): removed
4533
4534         * buffer.C (getParFromID): new method moved form lyxtext.
4535         * BufferView2.C (insertErrors): adjust
4536         (setCursorFromRow): adjust
4537         * BufferView_pimpl.C (restorePosition): adjust
4538         * lyxfunc.C (Dispatch): adjust
4539         * undo_funcs.C (textUndo): adjust
4540         (textRedo): adjust
4541         (textHandleUndo): adjust
4542         (textHandleUndo): adjust
4543
4544 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4545
4546         * buffer.C: up' the LYX_FORMAT
4547
4548         * lyxfont.h: turn NO_LATEX on as default
4549
4550         * buffer.C (insertErtContents): new methods of tex style compability.
4551         (parseSingleLyXformat2Token): use it several places.
4552         * tabular.C (OldFormatRead): and here
4553
4554 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4555
4556         * text2.C: remove some commented code.
4557         reindent file.
4558
4559         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
4560         * trans.C: changes because of the above.
4561
4562 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
4563
4564         * text2.C (setCounter): Fix counters bug with bibliography layout.
4565
4566 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4567
4568         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
4569         own member functions
4570         (simpleTeXSpecialChars): ditto
4571
4572 2001-07-06  Juergen Vigna  <jug@sad.it>
4573
4574         * a lot of files: changed the access to LyXText::status and the
4575         call of undo-functions.
4576
4577         * undo.[Ch]: added a inset_id to the undo informations.
4578
4579         * undo_funcs.[Ch]: added and moved here all undo functions.
4580
4581         * lyxtext.h: give the status enum a weight, made status_ a private
4582         variable and made accessor functions for it, removed the whole bunch
4583         of undo-functions as they are now in their own file, make some
4584         functions publically available. Added function ownerParagraph with
4585         int parameter.
4586
4587         * paragraph.[Ch]: added "bool same_ids" to the constructor,
4588         made InInset() a const function, added getParFromID() function.
4589
4590         * buffer.[Ch]: added const version for inset_iterator functions,
4591         added getInsetFromID() function.
4592
4593         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
4594         changed undo functions for new version.
4595
4596 2001-07-05  Juergen Vigna  <jug@sad.it>
4597
4598         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
4599         unknow mechanism does not call the proper constructor but only this
4600         one also if I request the other!?
4601
4602 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4603
4604         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
4605
4606         * text2.C (LyXText): use initialization lists.
4607
4608         * lyxtext.h (Selection): initialize set_ and mark_
4609         (init): remove method
4610
4611 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
4612
4613         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
4614
4615 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4616
4617         * screen.[Ch]: change method names to begin with lowercase
4618
4619         * BufferView_pimpl.C (updateScrollbar): simplify further and
4620         hopefully make it a bit faster.
4621
4622 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4623
4624         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
4625         calling directly xforms functions.
4626
4627         * Painter.C (Painter):
4628         * lyx_cb.C (MenuWrite):
4629         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
4630         fl_display.
4631
4632         * lyx_gui.C: remove bogus guiruntime extern declaration.
4633
4634 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4635
4636         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
4637         in NEW_INSETS
4638         (redoDrawingOfParagraph): ditto
4639         (redoParagraphs): ditto
4640         (cutSelection): don't create a object for CutAndPaste use the
4641         static method directly
4642         (pasteSelection): ditto
4643
4644         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
4645         LyXview (+ rename)
4646
4647 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4648
4649         * modifications to some other files because of this.
4650
4651         * Makefile.am (lyx_SOURCES): add XFormsView
4652
4653         * XFormsView.[Ch]: new files
4654
4655         * LyXView.[Ch]: make LyXView a base class for the gui handling for
4656         the main window. Move the gui dependent stuff to XFormsView
4657
4658 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4659
4660         * tabular.C (GetCellInset): update cur_cell also in the row/col
4661         version of this function.
4662
4663         * lyxfunc.C: no need to include figure_form.h here.
4664
4665         * FontLoader.h:
4666         * lyxfunc.h:
4667         * lyxscreen.h:
4668         * text2.C:
4669         * lyxvc.C: no need to include forms.h here.
4670
4671 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4672
4673         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
4674
4675         * lyxfunc.C (Dispatch):
4676         * Spacing.C (set):
4677         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
4678         constructor argument.
4679
4680 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4681
4682         * paragraph.C (Paragraph): dont't clear, and just set layout.
4683         (makeSameLayout): use params's copy contructor.
4684
4685         * ParagraphParameters.[Ch] (makeSame): delete method
4686
4687 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
4688
4689         * Variables.[Ch]: fix indentation, rename set to isSet
4690
4691 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4692
4693         * lyxfunc.C (Dispatch): fix typo
4694
4695 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4696
4697         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
4698         upper_bound.
4699
4700         * bufferlist.C: include assert.h for emergencyWrite().
4701
4702 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4703
4704         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
4705           give up at last (bug #425202) !
4706
4707 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
4708
4709         * lyx_gui_misc.C:
4710         * sp_form.h:
4711         * sp_form.C:
4712         * spellchecker.h:
4713         * spellchecker.C: strip spellchecker options and bring up
4714           preferences tab instead
4715
4716 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4717
4718         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
4719         the istringstream constructor
4720
4721 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4722
4723         * paragraph.C (getLayout): fix return value
4724
4725         * paragraph.h: do not declare getLayout as inline.
4726
4727         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
4728
4729 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4730
4731         * lyxcursor.h (operator<): new func
4732         (operator>): new func
4733         (operator>=): new func
4734         (operator<=): new func
4735
4736         * text.C (changeCase): use selection.start and selection.end
4737         (changeRegionCase): require from to be <= to. Require par to be a
4738         valid paragraph.
4739
4740         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
4741
4742 2001-06-27  Juergen Vigna  <jug@sad.it>
4743
4744         * text.C (cursorLeftOneWord): changed to return the cursor and added
4745         overlay with BufferView * parameter which calls this one.
4746         (getWord): added
4747         (selectWord): use new getWord function.
4748         (changeCase): renamed from changeWordCase as and extended to work
4749         also on selections.
4750
4751         * lyxtext.h: added enum word_location
4752
4753         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
4754         changeCase as this operates now also on selections.
4755
4756 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
4757
4758         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
4759
4760         * many files: send debug output to Debug::INFO instead of
4761         Debug::ANY.
4762
4763         * converter.C (View):
4764         (Convert):
4765         (Move): send debug output to Debug::FILES instead of console.
4766
4767 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
4768
4769         * lyxfunc.C (getStatus): use func_status
4770
4771         * func_status.h: new header, describing the results of
4772         LyXFunc::getStatus;
4773
4774         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
4775         LFUN_MATH_HALIGN.
4776
4777 2001-06-25  The LyX Project  <jug@sad.it>
4778
4779         * buffer.C (sgmlOpenTag):
4780         (sgmlCloseTag):
4781         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
4782
4783 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4784
4785         * text2.C: remove some dead code
4786
4787         * tabular.C (GetCellInset): store the last cell checked (gotten)
4788
4789         * tabular.h: add the helper for the speedup
4790
4791         * lyxtext.h: remove some dead code
4792
4793 2001-06-26  The LyX Project  <Asger>
4794
4795         * paragraph.C: Change export to LaTeX of alignment to
4796         \begin{center} and family for better roundtrip work with reLyX.
4797
4798         * Tune the math drawing a bit.
4799
4800 2001-06-25  The LyX Project  <Asger>
4801
4802         * LColor.C (LColor): New color for math background. New color
4803         for buttons.
4804
4805 2001-06-25  The LyX Project  <jug@sad.it>
4806
4807         * lyxfunc.C (MenuNew): remove extra check for .lyx file
4808
4809         * lyxfunc.C (Open):
4810         * bufferlist.C (newFile): do not restrict to files ending with
4811         .lyx
4812
4813         * BufferView_pimpl.C (MenuInsertLyXFile):
4814
4815 2001-06-24  The LyX Project  <jug@sad.it>
4816
4817         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
4818         of compare_no_case
4819
4820 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4821
4822         * lyxtext.h: rename most methods to begin with a small char.
4823         Lots of changes because of this.
4824
4825         * paragraph.C (Paragraph): do not call fitToSize
4826         (erase): call Pimpl::erase
4827         (insertChar): call Pimpl::insertChar
4828         (insertInset): call Pipl::insertInset
4829         (breakParagraph): do not call fitToSize
4830         (breakParagraphConservative): do not call fitToSize
4831         (fitToSize): remove method
4832
4833         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
4834
4835 2001-06-24  The LyX Project  <Asger>
4836
4837         * Fix Qt compilation^2
4838
4839 2001-06-24  The LyX Project  <jug@sad.it>
4840
4841         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
4842         depthHook(getDepth()-1).
4843
4844         * paragraph.h:
4845         * ParagraphParameters.h:
4846         * ParameterStruct.h: change type of depth to unsigned int ==
4847         depth_type. Many adaptations to other files before of that.
4848
4849 2001-06-24  The LyX Project  <Asger>
4850
4851         * Fix Qt compilation.
4852
4853 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4854
4855         * paragraph.h: renamed several methods to begin with small letter.
4856         several changes to many parts of the code because of this.
4857
4858 2001-06-23  The LyX Project  <jug@sad.it>
4859
4860         * text2.C (InsertStringAsLines): renamed from InsertStringA;
4861         rewritten to discard all double spaces when KeepEmpty is off
4862         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
4863         to only handle newlines but not fiddle with spaces and friends.
4864
4865         * lyxfunc.C (MenuNew): when doing 'new from template', use
4866         template_path as default directory
4867
4868 2001-06-23  The LyX Project  <Asger>
4869
4870         * Clean-up of header file includes all over
4871         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
4872
4873 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4874
4875         * paragraph.h: renamed from lyxparagraph.h
4876
4877 2001-06-23  Asger  <lyx@violet.home.sad.it>
4878
4879         * Buffer.h: Removed Buffer::resize
4880         * BufferList.h: Removed BufferList::resize
4881         * LyXView.h: Added LyXView::resize. This way, we will only reflow
4882         the document lazily when we change the width, or the font settings.
4883
4884 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4885
4886         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
4887
4888 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4889
4890         * buffer.h: remove out of date comment
4891
4892 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
4893
4894         * lyxscreen.h:
4895         * screen.C: fix "theoretical" GC leak
4896
4897 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4898
4899         * LaTeX.C (scanAuxFile):
4900         (deplog): remove trailing \r when reading stream (useful under
4901         win32)
4902
4903 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
4904
4905         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
4906         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
4907         and BufferView::theLockingInset(Inset*), so should use them and not
4908         access bv_->text->the_locking_inset directly.
4909
4910         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
4911
4912 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
4913
4914         * Makefile.am:
4915         * tex-defs.h: remove old unused file
4916
4917 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
4918
4919         * BufferView_pimpl.C: fix typo, remove minibuffer message
4920           when buffer has loaded
4921
4922 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4923
4924         * lyxfunc.C (Dispatch): use stringstream
4925         (MenuNew): use stringstream
4926         (Open): use stringstream
4927
4928         * importer.C (Import): use stringstream
4929
4930         * bufferview_funcs.C (CurrentState): use stringstream
4931
4932         * LaTeX.C (run): use stringstream
4933
4934         * BufferView_pimpl.C (savePosition): use stringstream
4935         (restorePosition): use stringstream
4936         (MenuInsertLyXFile): use stringstream
4937
4938 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
4939
4940         * BufferView.C:
4941         * Bullet.C:
4942         * ColorHandler.C:
4943         * FontInfo.C:
4944         * FontLoader.C:
4945         * LColor.C:
4946         * LaTeXFeatures.C:
4947         * Painter.C:
4948         * gettext.C:
4949         * lyx_gui_misc.C:
4950         * lyxserver.C:
4951         * vspace.C: removed // -*- C++ -*- as first line.
4952
4953         * lyxfind.h:
4954         * version.h: added // -*- C++ -*- as first line.
4955
4956 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4957
4958         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
4959
4960         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
4961         of string
4962
4963 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4964
4965         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
4966         of floats.
4967
4968 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4969
4970         * gettext.C: include LString.h even when --disable-nls is on.
4971
4972 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
4973
4974         * converter.h (Get): changed argument type from int to
4975         FormatList::size_type to avoid unnecessary conversion.
4976
4977         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
4978         before using it.
4979
4980 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4981
4982         * gettext.h: include LString.h even when --disable-nls is on.
4983
4984 2001-06-07  Juergen Vigna  <jug@sad.it>
4985
4986         * text.C (BreakAgain): subst spaces with tabs.
4987
4988         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
4989         (resizeInsetsLyXText): set force on resizeLyXText.
4990
4991 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4992
4993         * gettext.h (gettext_init):
4994         (locale_init): use a real definition instead of a macro
4995
4996 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
4997
4998         * Bufferview_pimpl.C:
4999         * LColor.h:
5000         * LColor.C: further lcolor tidies
5001
5002 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5003
5004         * BufferView_pimpl.C (updateScrollbar): simplify.
5005
5006         * BufferView2.C: don't include insets/insetinfo.h, change
5007         prototype for insertInset and call the Pimpl version. let
5008         updateInset call Pimpl version.
5009
5010         * BufferView.h: move inset_slept to BufferView::Pimpl, move
5011         gotoInset to BufferView::Pimpl
5012
5013 2001-06-01  Juergen Vigna  <jug@sad.it>
5014
5015         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
5016         inside a LockingInset (is the update needed at all?).
5017
5018 2001-05-31  Juergen Vigna  <jug@sad.it>
5019
5020         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
5021         here not the old one otherwise how should we compare it afterwards
5022         if it's the same!
5023
5024 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5025
5026         * lyxfont.C:
5027         * tabular.C:
5028         * tabular-old.C:
5029         * FontInfo.C: bring C functions into global namespace when
5030         necessary
5031
5032 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5033
5034         * LString.h: make sure config.h has been loaded before LString.h.
5035
5036         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
5037         (one for each char read by EatLine!).
5038
5039         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
5040         variables.
5041
5042 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5043
5044         * paragraph.C (BreakParagraph): set the inset_owner in the new par
5045         to the same as the par we break from
5046
5047 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5048
5049         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
5050
5051         * MenuBackend.C (expand): also create menu entries for wide
5052         versions of the floats.
5053
5054         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
5055
5056         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
5057
5058         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
5059         frontends/Makefile.am
5060
5061         * text2.C: adjust
5062         * text.C: adjust
5063
5064
5065         * tabular.C (getTokenValue): add std::
5066
5067         * tabular-old.C (getTokenValue): add std::
5068         (getTokenValue): ditto
5069         (getTokenValue): ditto
5070
5071         * screen.C (ToggleSelection): adjust
5072
5073         * lyxtext.h: put selection cursors inside a Selection struct.
5074
5075         * lyxfunc.C (moveCursorUpdate): adjust
5076
5077         * lyxfont.C (latexWriteStartChanges): add std::
5078
5079         * lyxfind.C: adjust
5080
5081         * font.h: delete with(char const *, LyXFont const &)
5082
5083         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
5084
5085         * FontInfo.C (getFontname): add std::
5086
5087         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5088         (workAreaButtonPress): adjust
5089         (tripleClick): adjust
5090         (update): adjust
5091         (moveCursorUpdate): adjust
5092         (Dispatch): adjust
5093
5094         * BufferView2.C (gotoInset): adjust
5095
5096 2001-05-30  Juergen Vigna  <jug@sad.it>
5097
5098         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
5099         to check pspell I add this as default as I now have new pspell
5100         libraries and they seem to use this.
5101
5102 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5103
5104         * text2.C (CutSelection): make the cursor valid before the call to
5105         ClearSelection.
5106
5107 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5108
5109         * kbsequence.C (parse): de-uglify a bit the parsing code, which
5110         relied on 0 terminated strings and other horrors. Bug found due to
5111         the new assert in lyxstring!
5112
5113         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
5114         KP_ keys.
5115
5116 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5117
5118         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
5119         to latinkeys.bind.
5120
5121         * lyxfunc.C (processKeySym): change method of getting to the
5122         self-insert char.
5123
5124         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
5125         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
5126         * BufferView_pimpl.[Ch]: here as private methods.
5127
5128 2001-05-28  Juergen Vigna  <jug@sad.it>
5129
5130         * text.C (SetHeightOfRow): added the update() call again as it is
5131         needed to initialize inset dimensions!
5132
5133 2001-05-16  Juergen Vigna  <jug@sad.it>
5134
5135         * text2.C (SetCharFont): Add new function with BufferView * and
5136         bool toggleall parameters for setting insets internal fonts.
5137         (SetFont): Freeze the undo as we may change fonts in Insets and
5138         all this change should be inside only one Undo!
5139
5140         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
5141         setting font's in insets as for them we have the SetFont function!
5142
5143 2001-05-15  Juergen Vigna  <jug@sad.it>
5144
5145         * text2.C (ClearSelection): to be sure we REALLY don't have any
5146         selection anymore!
5147
5148         * tabular.C (TeXCellPreamble): fixed the left border problem for
5149         multicolumn cells.
5150
5151 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
5152
5153         * LaTeX.C (deplog): Make sure that the main .tex file is in the
5154         dependancy file
5155
5156 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5157
5158         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
5159         LFUN_BREAKPARAGRAPH.
5160
5161         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
5162         help test to "internal only", similar for LFUN_INSERT_URL
5163
5164         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
5165         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
5166         auto_region_delete and deadkeys.
5167
5168 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
5169
5170         * LColor.h:
5171         * LColor.C: remove some dead entries, tidy a little
5172
5173 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5174
5175         * lyxfunc.C (processKeySym): comment the Escape handling, remove
5176         commented code.
5177         (Dispatch): implement LFUN_ESCAPE
5178
5179         * commandtags.h: add LFUN_ESCAPE
5180
5181         * LyXAction.C (init): add entry for LFUN_ESCAPE
5182
5183         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
5184         Remove commented code.
5185         (insertNote): moved here
5186         (open_new_inset): moved here
5187
5188         * BufferView[2].[Ch]: move insertNote and open_new_inset to
5189         BufferView_pimpl
5190
5191 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5192
5193         * kbmap.C (findbinding): clean it up and make it work correctly.
5194
5195         * lyx_main.C (init): do not pass argc and argv as parameters
5196
5197 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
5198
5199         * buffer.C: fix path for OS/2 & Win32
5200
5201         * lyx_gui.C:
5202         * lyx_main:
5203         * lyx_main.C: Added os:: class.
5204
5205         * os2_defines.h: update
5206
5207 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5208
5209         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
5210         better by trying again with reduced state.
5211
5212 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5213
5214         * lyxrc.C (read): print error about invalid key sequence only when
5215         debugging (because not all latinX keysyms are known to some X
5216         servers)
5217
5218         * kbsequence.C (getiso): add a few std:: qualifiers
5219         (getiso): comment out extra return statement.
5220
5221 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5222
5223         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
5224         handling.
5225         (Dispatch): enhance the accent inset a bit. (not perfect)
5226
5227 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5228
5229         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
5230
5231 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5232
5233         * bufferlist.C (emergencyWrite): fix assert() call
5234
5235 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
5236
5237         * text.C (InsertChar): Added trivial patch to only send the "you
5238         can not do multiple spaces this way" message once during a
5239         session.
5240
5241 2001-05-08  Baruch Even  <baruch@lyx.org>
5242
5243         * Makefile.am: Changed order of libraries to get LyX to link properly
5244         with the gnome frontend.
5245
5246 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5247
5248         * LaTeXFeatures.h: add a std:: qualifier
5249
5250 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5251
5252         * paragraph.C (String): use stringstream
5253
5254 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5255
5256         * paragraph.C (writeFile): remove footflag arg
5257
5258         * buffer.C (makeLaTeXFile): use stringstream
5259         (latexParagraphs): remove footnot gurba
5260
5261         * LaTeXFeatures.C (getPackages): use stringstream
5262         (getMacros): likewise
5263         (getTClassPreamble): likewise
5264         (getFloatDefinitions): new method
5265
5266         * paragraph.C (writeFile): reindent
5267         (Erase): reindent
5268
5269         * WorkArea.h: revert the xpos + etc changes.
5270
5271         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
5272
5273         * lyxparagraph.[Ch]: add copy constructor, remove Clone
5274
5275         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
5276         (pasteSelection): likewise
5277         * text2.C (CreateUndo): likewise
5278
5279 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5280
5281         * minibuffer.C (peek_event): temporarily reduce the functionality
5282         of the minibuffer (to allow args on lfuns)
5283
5284         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
5285         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
5286
5287         * buffer.C (readInset): add compability reading of old float
5288         lists, add reading of new style float list.
5289         (readInset): avoid reevaluation of inscmd.getCmdName()
5290         (getLists): reindent
5291
5292         * MenuBackend.C (MenuItem): implement parsing of
5293         md_floatlistinsert and md_floatinsert.
5294         (expand::LastFiles): move initalizaton of iterators out of loop,
5295         avoid reevaluation.
5296         (expand::Documents): introduce typdedef vector<string> Strings,
5297         and use it.
5298         (expand::ExportFormats): introduce typedef vector<Format const *>
5299         Formats, and use it.
5300         (expand): implement FloatListInsert and FloatInsert.
5301
5302         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
5303         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
5304         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
5305
5306         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
5307         handling.
5308         (Dispatch::LFUN_FLOAT_LIST): implement
5309
5310 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
5311
5312         * LaTeX.C (run): Fix problem with --export code.
5313
5314 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
5315
5316         * BufferView.[Ch] (workarea): removed.
5317         (getClipboard) new method; wrapper for workarea()->getClipboard()
5318
5319         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
5320         bug.
5321
5322         * WorkArea.h (width, height, xpos, ypos): These methods all
5323         returned the dimensions of the work_area sub-area of WorkArea,
5324         resulting in a position error if the WorkArea were resized. Now
5325         return the dimensions of the entire WorkArea.
5326
5327         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
5328
5329 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5330
5331         * LaTeX.C (deplog): correct the syntax of regex reg1
5332
5333 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5334
5335         * undo.C: remove !NEW_INSETS cruft
5336
5337 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5338
5339         * text2.C: remove !NEW_INSETS cruft
5340
5341         * text.C: remove !NEW_INSETS cruft
5342
5343         * tabular.C: remove !NEW_INSETS cruft
5344
5345         * spellchecker.C: remove !NEW_INSETS cruft
5346
5347         * lyxtext.h: remove !NEW_INSETS cruft
5348
5349         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
5350
5351         * lyxfunc.C: remove !NEW_INSETS cruft
5352
5353         * lyxfind.C: remove !NEW_INSETS cruft
5354
5355         * lyx_cb.C: remove !NEW_INSETS cruft
5356
5357         * figureForm.C: remove  !NEW_INSETS cruft
5358
5359         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
5360
5361         * buffer.[Ch]: remove !NEW_INSETS cruft
5362
5363         * ToolbarDefaults.C: remove !NEW_INSETS cruft
5364
5365         * CutAndPaste.C: remove !NEW_INSETS cruft
5366
5367         * BufferView_pimpl.C: remove !NEW_INSETS cruft
5368
5369         * BufferView2.C: remove !NEW_INSETS cruft
5370
5371         * BufferView.h: remove !NEW_INSETS cruft
5372
5373 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5374
5375         * Lsstream.h: include LString.h before the sstream headers to
5376         fix problem with gcc 2.95.3 and lyxstring
5377
5378 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5379
5380         * lyx_main.C: add using directives when needed for C functions
5381         declared in std:: namespace.
5382
5383 2001-04-27  Juergen Vigna  <jug@sad.it>
5384
5385         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
5386         (SetHeightOfRow): comment out the update call should not be needed!
5387
5388 2001-04-13  Juergen Vigna  <jug@sad.it>
5389
5390         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
5391         (LyXTabular): tried to minimize operator= operations (and realized
5392         hopfully Lars wish).
5393
5394 2001-04-27  Juergen Vigna  <jug@sad.it>
5395
5396         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
5397
5398 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5399
5400         * lyxfunc.C (Dispatch): hack to make listof algorithm work
5401
5402         * buffer.C (readInset): hack to make listof algorithm work
5403
5404         * BufferView_pimpl.C: hack to make listof algorithm work
5405
5406 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5407
5408         * LyXAction.C: removed all !NEW_INSETS cruft
5409         (init): moved lfun_item in method
5410
5411         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
5412
5413 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
5414
5415         * BufferView2.C (theLockingInset): white space.
5416
5417 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5418
5419         * minibuffer.C: include <iostream>
5420
5421         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
5422
5423         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
5424
5425         * commandtags.h: add LFUN_TRANSPOSE_CHARS
5426
5427         * text.[Ch] (TransposeChars): new method
5428
5429 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5430
5431         * call message directly through LyXView instead of through LyXFunc
5432         * BufferView2.C: adjust
5433         * BufferView_pimpl.C: adjust
5434         * FontLoader.C: adjust
5435         * buffer.C: adjust
5436         * bufferview_funcs.C: adjust
5437         * converter.C: adjust
5438         * figureForm.C: adjust
5439         * importer.C: adjust
5440         * lyx_cb.C: adjust
5441         * lyx_gui_misc.C: adjust
5442         * lyxfunc.C: adjust
5443         * lyxvc.C: adjust
5444         * text2.C: adjust
5445         + more files in subdirs
5446
5447         * lyxparagraph.h (size): move up int file
5448         (GetLayout): ditto
5449
5450         * adjust all uses of Assert to lyx::Assert.
5451
5452         * BufferView2.C (ChangeCitationsIfUnique): adjust for
5453         lyxfunctional in namespace lyx
5454         * layout.C (hasLayout): ditto
5455         (GetLayout): ditto
5456         (GetLayout): ditto
5457         (delete_layout): ditto
5458         (NumberOfClass): ditto
5459         * converter.C (GetFormat): ditto
5460         (GetNumber): ditto
5461         (Add): ditto
5462         (Delete): ditto
5463         (SetViewer): ditto
5464         * bufferlist.C (getFileNames): ditto
5465         (emergencyWriteAll): ditto
5466         (exists): ditto
5467         (getBuffer): ditto
5468         * MenuBackend.C (hasSubmenu): ditto
5469         (hasMenu): ditto
5470         (getMenu): ditto
5471         * BufferView_pimpl.C (getInsetByCode): ditto
5472
5473 2001-04-18  Juergen Vigna  <jug@sad.it>
5474
5475         * vspace.C (asLatexString): fixed the 100% problem.
5476
5477 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5478
5479         * lyxfunc.C (Dispatch):
5480         * minibuffer.C:
5481         * minibuffer.h: add a few std:: qualifiers
5482
5483 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5484
5485         * minibuffer.[Ch]: reimplement so that commands is initiated and
5486         run from lyxfunc, simplified som handling, and made the completion
5487         and history code for complete. wip.
5488
5489         * lyxfunc.C (processKeySym): call message
5490         (miniDispatch): new temporary method
5491         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
5492         (LFUN_MESSAGE): implement
5493         (LFUN_MESSAGE_PUSH): implement
5494         (LFUN_MESSAGE_POP): implement
5495         (initMiniBuffer): the initial/defualt minibuffer message.
5496
5497         * lyxfont.[Ch]: inline some more getters
5498
5499         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
5500
5501         * lyx_gui_misc.[Ch] (WriteStatus): remove method
5502
5503         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
5504         (AutoSave): use LFUN_MESSAGE
5505         (Reconfigure): ditto
5506
5507         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
5508
5509         * figureForm.C: use LFUN_MESSAGE
5510
5511         * converter.C (runLaTeX): use LFUN_MESSAGE
5512
5513         * bufferview_funcs.C: use LFUN_MESSAGE
5514         (Melt): ditto
5515         (changeDepth): ditto
5516
5517         * bufferparams.h: use boost::
5518
5519         * bufferlist.h: inherit privately from noncopyable
5520
5521         * bufferlist.C (loadLyXFile): remove some commented code.
5522
5523         * buffer.C (runChktex): use LFUN_MESSAGE
5524
5525         * ShareContainer.h: inherit privately from noncopyable
5526
5527         * ParagraphParameters.[hC] (depth): inline it.
5528
5529         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
5530         methods.
5531         (message): new method
5532         (messagePush): ditto
5533         (messagePop): ditto
5534         (show): init minibuffer
5535         (showState): direct call
5536
5537         * LaTeX.[Ch]: inherit privately from noncopyable
5538         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
5539         instead of WriteStatus.
5540
5541         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
5542
5543         * BufferView_pimpl.C (buffer): don't init minibuffer
5544         (workAreaButtonPress): use LFUN_MESSAGE
5545         (workAreaButtonRelease): ditto
5546         (savePosition): ditto
5547         (restorePosition): ditto
5548         (MenuInsertLyXFile): ditto
5549         (workAreaExpose): don't init minibuffer
5550         (update): remove commented code, simplify
5551
5552         * BufferView2.C (openStuff): use LFUN_MESSAGE
5553         (toggleFloat): ditto
5554         (menuUndo): ditto
5555         (menuRedo): ditto
5556         (copyEnvironment): ditto
5557         (pasteEnvironment): ditto
5558         (copy): ditto
5559         (cut): ditto
5560         (paste): ditto
5561         (gotoInset): ditto
5562         (updateInset): remove some commented code
5563
5564         * lastfiles.h: inherit privately from noncopyable
5565         * layout.h: ditto
5566         * lyx_gui.h: ditto
5567         * lyx_main.h: ditto
5568         * lyxlex.h: ditto
5569         * lyxlex_pimpl.h: ditto
5570
5571         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
5572         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
5573         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
5574
5575         * LyXAction.h: inherit privately from noncopyable, add methods
5576         func_begin, func_end, returning iterators to the func map.
5577
5578         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
5579         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
5580         (func_begin): new method
5581         (func_end): new method
5582
5583         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
5584         and not)
5585         (copySelection): ditto
5586         (pasteSelection): ditto
5587
5588         * BufferView.C: whitespace change
5589         * BufferView.h: inherit privately from noncopyable
5590
5591 2001-04-16  Allan Rae  <rae@lyx.org>
5592
5593         * tabular-old.C (l_getline):
5594         * spellchecker.C (sc_check_word):
5595         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
5596         an unrecognised preprocessor directive.  So ensure they're wrapped.
5597
5598 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
5599
5600         * src/exporter.C (Export): Give an error message when path to file
5601         contains spaces.
5602
5603 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
5604
5605         * LaTeX.C (deplog): Always check that foundfile exists.
5606
5607 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5608
5609         * lyx_main.h:
5610         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
5611
5612 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5613
5614         * tabular.[Ch] (getLabelList): implement new method
5615
5616         * minibuffer.h: comment ouf setTiimer
5617
5618         * minibuffer.C (ExecutingCB): constify res
5619         (peek_event): constify s
5620         (Set): constify ntext
5621         (Init): constify nicename
5622
5623         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
5624
5625         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
5626         (savePosition): use two params to Minibuffer::Set
5627         (restorePosition): ditto
5628
5629 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5630
5631         * lyx_main.C: include language.h
5632
5633         * Makefile.am (lyx_main.o): add language.h
5634
5635 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5636
5637         * exporter.C:
5638         * paragraph.C:
5639         * screen.C:
5640         * tabular.C:
5641         * CutAndPaste.C: include gettext.h
5642
5643         * lyxfont.h: remove old hack with ON and OFF.
5644
5645         * lyxparagraph.h:
5646         * lyxfont.h: do not include language.h...
5647
5648         * BufferView2.C:
5649         * LaTeXFeatures.C:
5650         * Painter.C:
5651         * bufferview_funcs.C:
5652         * font.C:
5653         * lyxfont.C:
5654         * text.C:
5655         * text2.C:
5656         * trans_mgr.C:
5657         * paragraph.C: ... but do it here instead
5658
5659 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5660
5661         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
5662
5663         * tabular.C: small reformat
5664
5665         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
5666         NEW_INSETS version
5667         (GetChar): ditto
5668         (BreakParagraph): ditto
5669         (SetOnlyLayout): ditto
5670         (SetLayout): ditto
5671
5672         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
5673         with one arg less.
5674
5675         * lastfiles.C: removed most using decl, add std:: where needed
5676
5677         * buffer.C: ws changes
5678
5679         * MenuBackend.C (class compare_format): put into anon namespace
5680         (expand): constify label, names, action, action2
5681         (expand):
5682
5683         * text.C (SingleWidth): constify font
5684         (IsBoundary): constify rtl2
5685         (GetVisibleRow): constify ww
5686
5687         * LaTeX.C (deplog): constify logfile
5688
5689         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
5690         start_x, end_x
5691         (workAreaExpose): constify widthChange, heightChange
5692
5693         * lyxrow.C (par): moved
5694         (height): moved
5695         (next): moved
5696         * lyxrow.h: as inlines here
5697
5698         * lyxfont.h (shape): moved from lyxfont.C
5699         (emph): moved from lyxfont.C
5700
5701         * lyxfont.C (LyXFont): use initialization list for all
5702         constructors
5703         (shape): move to lyxfont.h as inline
5704         (emph): move to lyxfont.h as inline
5705
5706
5707 2001-04-04  Juergen Vigna  <jug@sad.it>
5708
5709         * vspace.C: had to include stdio.h for use of sscanf
5710
5711 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
5712
5713         * BufferView.h:
5714         * BufferView_pimpl.h: remove xforms cruft. Both classes are
5715         independent of xforms.
5716
5717 2001-04-02  Juergen Vigna  <jug@sad.it>
5718
5719         * spellchecker.C: fixed namespace placing!
5720
5721 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
5722
5723         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
5724         the LyXParagraph * is 0.
5725
5726 2001-03-29  Juergen Vigna  <jug@sad.it>
5727
5728         * vspace.C: added support for %, c%, p%, l%.
5729         (stringFromUnit): added helper function.
5730         (asLatexString): changed to give right results for the %-values.
5731
5732         * buffer.C: convert the widthp in a width%.
5733
5734 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
5735
5736         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
5737         figureForm.[Ch].
5738
5739         * figureForm.[Ch]: stripped the FD_from_figure manipulation
5740         code out of lux_cb.[Ch], ready for its (imminent?) removal.
5741
5742         * lyx_cb.[Ch]: see above.
5743
5744         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
5745         form1.[Ch].
5746
5747         * form1.[Ch]:
5748         * lyx.[Ch]: replaced by figure_form.[Ch].
5749
5750         * lyx_gui.C:
5751         * lyx_gui_misc.C:
5752         * lyxfunc.C: changed headers associated with above changes.
5753
5754 2001-03-27  Juergen Vigna  <jug@sad.it>
5755
5756         * BufferView_pimpl.C: set the temporary cursor right!
5757
5758 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
5759
5760         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
5761
5762 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
5763
5764         * LString.h: removed "using std::getline"!
5765
5766         * BufferView_pimpl.C (Dispatch): changes due to changes in
5767         InsetInclude::Params.
5768
5769         * buffer.C (tag_name): removed redundant break statements as they were
5770         producing lots of warnings with my compiler.
5771
5772 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5773
5774         * LString.h: add "using std::getline" when using the real <string>.
5775
5776 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
5777
5778         * buffer.C: removed bitset usage.
5779         PAR_TAG moved to an anonymous name space.
5780         (tag_name): new funtion, also in the anonymous namespace.
5781         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
5782         (makeDocBookFile): clean code. Completed transition from string arrays
5783         to string vectors.
5784         (SimpleDocBookOnePar): code clean.
5785
5786 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5787
5788         * tabular.C: add some comments.
5789
5790 2001-03-22  Juergen Vigna  <jug@sad.it>
5791
5792         * buffer.C (parseSingleLyXformat2Token): redone the minipage
5793         compatibility read a bit and fixed bug with minipage in different
5794         depth.
5795
5796 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
5797
5798         * buffer.C (pop_tag): removed.
5799         (push_tag): removed.
5800         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
5801         array replaced with vector. Added support for CDATA sections.
5802         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
5803         at any nest level.
5804         (makeDocBookFile): XML conformant declaration of CDATA section,
5805         fixed bug related to <emphasis> in the first paragraph char.
5806         (sgmlOpenTag): exclude empty tags.
5807         (sgmlCloseTag): ditto.
5808
5809         * buffer.h (pop_tag): removed.
5810         (push_tag): removed.
5811
5812 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
5813
5814         * language.h (Languages): added size_type and size().
5815
5816 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5817
5818         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
5819         response on compability reading of minipages. One probliem is that
5820         the old usage of minipages was «flertydig»
5821
5822         * several files here and in subdirs: don't use static at file
5823         scope use anon namespaces instead.
5824
5825 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
5826
5827         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
5828         LaTeX output. This is necessary for Literate document
5829         processing.
5830
5831 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5832
5833         * buffer.C: insert hfill when needed.
5834
5835         * tabular.C (l_getline): use string::erase, small whitespace change.
5836
5837         * BufferView_pimpl.C: try the anon namespace.
5838         * WorkArea.C: ditto
5839
5840 2001-03-16  Juergen Vigna  <jug@sad.it>
5841
5842         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
5843         otherwise it won't open options-dialogs.
5844
5845         * buffer.C: honor pextraWidth(p) on converting minipages.
5846
5847         * tabular.C (l_getline): changed the functions to strip trailing \r.
5848
5849 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
5850
5851         * BufferView_pimpl.C:
5852         * minibuffer..C: added "using SigC::slot" declaration.
5853
5854 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5855
5856         * lyxlex_pimpl.h: noncopyable is in namespace boost.
5857
5858         * text2.C: ditto
5859
5860         * text.C: ditto
5861
5862         * paragraph.C: ditto
5863
5864         * lyxtext.h: NO_PEXTRA
5865
5866         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
5867
5868         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
5869         * ParameterStruct.h: ditto
5870         * ParagraphParameters.h: ditto
5871         * lyxparagraph.h: ditto
5872
5873 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5874
5875         * buffer.C: add compability for minipage alignment.
5876         (latexParagraphs): remove unwanted pextra check.
5877
5878         * several files: remove CXX_WORKING_NAMESPACES
5879
5880         * buffer.C (pop_tag): tie is in namespace boost
5881
5882         * BufferView.h: noncopyable is in namespace boost
5883         * lyxlex.h: ditto
5884         * lyx_main.h: ditto
5885         * lyx_gui.h: ditto
5886         * layout.h: ditto
5887         * lastfiles.h: ditto
5888         * bufferlist.h: ditto
5889         * ShareContainer.h: ditto
5890         * LyXView.h: ditto
5891         * LyXAction.h: ditto
5892         * LaTeX.h: ditto
5893
5894 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
5895
5896         * Merging changes from BRANCH_MVC back into HEAD.
5897
5898         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
5899
5900 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
5901
5902         * BufferView_pimpl.C: change from intl.C
5903
5904         * combox.h:
5905         * combox.C:
5906         * Makefile.am: move combox.*
5907
5908         * form1.h:
5909         * form1.C:
5910         * lyx_gui.C:
5911         * intl.h:
5912         * intl.C: remove dialog (covered by prefs)
5913
5914 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
5915
5916         * lyxfunc.C (Dispatch): removed redundant break statement.
5917
5918 2001-03-14  Juergen Vigna  <jug@sad.it>
5919
5920         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
5921
5922 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5923
5924         * buffer.C: add hack to fix compability reading of minipages.
5925
5926 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
5927
5928         * buffer.C (getLists): Cleanup.
5929
5930 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5931
5932         * lyxfont.C (update): don't honor toggleall on font size.
5933
5934 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
5935
5936         * bmtable.c:
5937         * bmtable.h:
5938         * Makefile.am: moved to frontends/xforms/
5939
5940         * lyx_gui_misc.C:
5941         * lyxfunc.C:
5942         * BufferView_pimpl.C: changes for moved mathpanel
5943
5944 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5945
5946         * gettext.h: fix gettext_init() in --disable-nls
5947
5948 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5949
5950         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
5951
5952 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
5953
5954         * lyx.C:
5955         * lyx.h: strip external form
5956
5957 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5958
5959         * BufferView_pimpl.C: add comment, destroySplash()
5960
5961 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
5962
5963         * BufferView_pimpl.C:
5964         * LyXAction.C:
5965         * buffer.C:
5966         * commandtags.h:
5967         * lyxfunc.C: use re-worked insetinclude
5968
5969 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5970
5971         * buffer.C: add using std::stringstream.
5972
5973         * lyx_cb.C: readd using std::ios.
5974
5975         * buffer.C: add using std::map.
5976
5977         * BufferView_pimpl.C: add using std::vector.
5978
5979         * ShareContainer.h: add std:: to swap.
5980
5981         * buffer.h: add some typedefs
5982         * buffer.C (getLists): use them
5983         (getLists): renamed from getTocList.
5984         add a counter for the different float types and use it in the
5985         generated string.
5986         (getLists): use the same counter for the NEW_INSETS and the "non"
5987         NEW_INSETS
5988
5989         * lyx_cb.h: remove unused items, includes, using etc.
5990
5991         * ShareContainer.h: remove some commented code, add more comments
5992         and "documentation".
5993
5994 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
5995
5996         * buffer.C (getTocList): make the list also when NEW_INSETS is
5997         defined.
5998
5999         * buffer.h: remove TocType
6000
6001         * buffer.C (getTocList): change to return a map<string,
6002         vector<TocItem> >, implement for dynamic number of list.
6003
6004         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
6005         * text2.C (PasteSelection): adjust
6006         * CutAndPaste.C (pasteSelection): adjust
6007
6008         * FloatList.C (FloatList): update from the new_insets branch.
6009         * Floating.[Ch]: ditto
6010         * LaTeXFeatures.C: ditto
6011         * buffer.C: ditto
6012         * lyxlex_pimpl.C: ditto
6013
6014         * paragraph.C (Last): remove when NEW_INSETS is defined.
6015
6016         * other file: changes because of the above.
6017
6018 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6019
6020         * lyxparagraph.h: rename next to next_, previous to previous_,
6021         make them private for NEW_INSETS. Rename Next() to next(),
6022         Previous() to previous().
6023
6024         * other files: changes because of the above.
6025
6026 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
6027
6028         * BufferView.h:
6029         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
6030         problem.
6031
6032 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6033
6034         * main.C (main): pass lyx_localedir to gettext_init().
6035
6036         * gettext.h: remove locale_init and gettext_init macros
6037
6038         * gettext.C (locale_init): new function
6039         (gettext_init): new function
6040
6041         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
6042         setlocale().
6043
6044 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
6045
6046         * Moved credits to frontends:
6047         * credits.[Ch]: removed
6048         * credits_form.[Ch]: removed
6049         * lyx_gui_misc.C: remove credits stuff
6050         * Makefile.am:
6051
6052 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6053
6054         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
6055
6056         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
6057         unneeded destructor.
6058
6059         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
6060         a standalone pointer again.
6061
6062         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
6063
6064 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
6065
6066         * Makefile.am:
6067         * filedlg.h:
6068         * filedlg.C:
6069         * LyXAction.C:
6070         * ToolbarDefaults.C:
6071         * bufferlist.C:
6072         * commandtags.h:
6073         * form1.C:
6074         * form1.h:
6075         * lyx_cb.C:
6076         * lyx_cb.h:
6077         * lyxfunc.h:
6078         * lyxfunc.C:
6079         * BufferView_pimpl.C: use new file dialog in GUII
6080
6081         * lyx_cb.h:
6082         * lyx_cb.C: remove LayoutsCB to Toolbar
6083
6084 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6085
6086         * ShareContainer.h (get): add std:: qualifier
6087
6088 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6089
6090         * ShareContainer.h: define a proper ShareContainer::value_type
6091         type (and use typename to please compaq cxx)
6092
6093 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6094
6095         * lyxparagraph.h: move serveral local vars to
6096         ParameterStruct/ParagraphParameters., use ShareContainer in
6097         FontTable., make vars in FontTable private and add getter and
6098         setter.
6099
6100         * paragraph.C: changes because of the above.
6101
6102         * lyxfont.h: remove copy constructor and copy assignment. (the
6103         default ones is ok), move number inside FontBits. move inlines to
6104         lyxfont.C
6105
6106         * lyxfont.C: add number to initializaton of statics, move several
6107         inlines here. constify several local vars. some whitespace
6108         cleanup. Dont hide outerscope variables.
6109
6110         * Spacing.h: add two new constructors to match the set methods.
6111
6112         * ShareContainer.h: new file, will perhaps be moved to support
6113
6114         * ParameterStruct.h: new file
6115
6116         * ParagraphParameters.h: new file
6117
6118         * ParagraphParameters.C: new file
6119
6120         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
6121         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
6122
6123         * BufferView_pimpl.C: ParagraphParameter changes.
6124         * buffer.C: Likewise.
6125         * bufferview_funcs.C: Likewise.
6126         * text.C: Likewise.
6127         * text2.C: Likewise.
6128
6129 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6130
6131         * lyxfind.C (LyXReplace): do not redefine default argument in
6132         implementation.
6133         (IsStringInText): ditto
6134         (SearchForward): ditto
6135         (SearchBackward): ditto
6136
6137 2001-03-06  Juergen Vigna  <jug@sad.it>
6138
6139         * lyxfind.C (IsStringInText): put parentes around expressions.
6140
6141 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
6142
6143         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
6144
6145 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
6146
6147         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
6148
6149         * stl_string_fwd.h: add comment
6150
6151         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
6152
6153         * tabular.h:
6154         * tabular.C: remove unused DocBook methods
6155
6156         * intl.C:
6157         * language.C:
6158         * paragraph.C:
6159         * buffer.C:
6160         killed DO_USE_DEFAULT_LANGUAGE
6161
6162 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6163
6164         * lyx_gui.C: do not include language.h.
6165
6166         * bufferview_funcs.C (ToggleAndShow): do not provide optional
6167         arguments in function implementation.
6168
6169 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6170
6171         * BufferView_pimpl.C: add <ctime>
6172
6173 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6174
6175         * BufferView_pimpl.C: add using std::find_if
6176
6177 2001-02-27  José Matos  <jamatos@fep.up.pt>
6178
6179         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
6180         by OnlyPath.
6181
6182 2001-02-11  José Matos  <jamatos@fep.up.pt>
6183
6184         * buffer.C (makeDocBookFile): command styles now have a parameter as
6185         "title" by default.
6186
6187 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
6188
6189         * layout_forms.[Ch]: removed
6190         * lyx_cb.[Ch]: out character
6191         * lyx_gui.C: out character
6192         * lyx_gui_misc.C: out character
6193         * bufferview_funcs.C: : out character,
6194         added toggleall as parameter in ToggleAndShow
6195
6196 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
6197
6198         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
6199
6200         * text2.C (SetCurrentFont): Disable number property at boundary.
6201
6202 2001-02-26  Juergen Vigna  <jug@sad.it>
6203
6204         * lyxfunc.C (getStatus): added a string argument override function so
6205         that this is correctly called from LyXFunc::Dispatch if it contains a
6206         do_not_use_argument which is used!
6207         (Dispatch): added check for "custom" export and call appropriate func.
6208
6209 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
6210
6211         * lyxrc.C: Add language_command_local, language_use_babel and
6212         language_global_options.
6213
6214         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
6215
6216         * buffer.C (makeLaTeXFile): Use language_use_babel and
6217         language_global_options.
6218
6219 2001-02-23  Juergen Vigna  <jug@sad.it>
6220
6221         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
6222         which works with LyXText and putted it inside BufferView. Here now we
6223         only call for that part the BufferView::Dispatch() function.
6224
6225         * BufferView.C (Dispatch): added.
6226
6227         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
6228         functions which needs to use a LyXText over from LyXFunc.
6229         (MenuInsertLyXFile): added
6230         (getInsetByCode): added
6231         (moveCursorUpdate): added
6232         (static TEXT): added
6233
6234 2001-02-22  Juergen Vigna  <jug@sad.it>
6235
6236         * BufferView_pimpl.C (update): call a status update to see if LyXText
6237         needs it.
6238
6239 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
6240
6241         * vc-backend.C (revert): implement for CVS
6242         (getLog): implement for CVS
6243
6244 2001-02-20  Juergen Vigna  <jug@sad.it>
6245
6246         * text2.C (ClearSelection): added BufferView param for inset_owner call
6247
6248         * lyxfunc.C (TEXT): added this function and use it instead of
6249         directly owner->view()-text of getLyXText().
6250
6251 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
6252
6253         * src/layout_forms.C: out preamble
6254         * src/layout_forms.h: out preamble
6255         * src/lyx_cb.C: out preamble
6256         * src/lyx_cb.h: out preamble
6257         * src/lyx_gui.C: out preamble
6258         * src/lyx_gui_misc.C: out preamble
6259         * src/lyxfunc.C: connect with guii preamble
6260
6261 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
6262
6263         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
6264
6265 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
6266
6267         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
6268         whether to run bibtex.
6269
6270 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
6271
6272         * Makefile.am (lyx_SOURCES): Remove BackStack.h
6273
6274 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6275
6276         * Makefile.am (lyx_SOURCES): removed bibforms.h
6277
6278         * vspace.h: doxygen
6279
6280         * text.C (GetVisibleRow): make several local vars const
6281
6282         * tabular.C: small cleanup.
6283
6284         * lyxserver.C (callback): use compare instead of strncmp
6285
6286         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
6287         inlines to after class or to paragraph.C
6288
6289         * lyxfont.h: remove friend operator!=
6290
6291         * converter.h: move friend bool operator< to non friend and after
6292         class def.
6293
6294         * combox.h: small cleanup
6295
6296         * buffer.h: doxygen, remove unused constructor, move inclas inlies
6297         to inlines after class def.
6298
6299         * buffer.C (pop_tag): use string operations instead of strcmp
6300
6301         * bmtable.c: doxygen, small cleanup
6302
6303         * LaTeX.h: remove friend operator==
6304
6305 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
6306
6307         * screen.C:
6308         * lyxrc.[Ch]:
6309         * lyxfunc.C:
6310         * lyxfont.[Ch]:
6311         * lyx_cb.C:
6312         * intl.[Ch]:
6313         * commandtags.h:
6314         * buffer.C:
6315         * WorkArea.[Ch]:
6316         * LyXAction.C:
6317         * BufferView_pimpl.C:
6318         * BufferView.[Ch]: remove cruft
6319
6320 2001-02-14  Juergen Vigna  <jug@sad.it>
6321
6322         * lyxfunc.C: removed #if 0 unused code
6323
6324         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
6325
6326         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
6327
6328         * text2.C (SetSelection): added a BufferView * parameter
6329
6330 2001-02-13  Juergen Vigna  <jug@sad.it>
6331
6332         * lyxfunc.C (Dispatch): fixed protected blank problem.
6333         * BufferView2.C (protectedBlank): added LyxText * parameter.
6334
6335         * tabular.C (AppendRow): forgot to set row_info of newly added row.
6336         (AppendColumn): same as above for column_info.
6337
6338         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
6339         (moveCursorUpdate): use a LyXText param for support of InsetText.
6340
6341         * BufferView_pimpl.C (doubleClick): added support for InsetText.
6342         (tripleClick): ditto
6343
6344         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
6345
6346         * BufferView_pimpl.C (update): added LyXText param to honor insets.
6347
6348         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
6349
6350         * text2.C (SetSelection): set correct update status if inset_owner
6351         (ToggleFree): ditto
6352
6353 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
6354
6355         * tabular.C: remove some commented code.
6356
6357 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
6358
6359         * BufferView_pimpl.C: call hideSplash()
6360
6361         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
6362
6363         * include_form.h:
6364         * bibforms.h: remove
6365
6366         * lyxfunc.C:
6367         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
6368           add LFUN_CHILD_CREATE
6369
6370         * counters.h: fix tiny typo
6371
6372         * lyx_cb.C:
6373         * lyx.h:
6374         * lyx_gui.C:
6375         * lyx.C: move splash to frontends/xforms/
6376
6377         * lyx_gui_misc.C: move Include and Bibform to frontends
6378
6379         * lyxvc.h: clarify comment
6380
6381         * vspace.C: tiny housekeeping
6382
6383 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
6384
6385         * text.C (PrepareToPrint): RTL Fix.
6386
6387         * paragraph.C (GetUChar): New method.
6388         (String):  Use GetUChar.
6389
6390         * buffer.C (asciiParagraph): Use GetUChar.
6391
6392 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
6393
6394         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
6395
6396 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
6397
6398         * buffer.h:
6399         * buffer.C: rename to getLogName(), handle
6400           build log / latex log nicely
6401
6402 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6403
6404         * MenuBackend.C:
6405         * MenuBackend.h: remove support for reference menuitem type.
6406
6407 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
6408
6409         * BufferView_pimpl.C: housekeeping
6410         * BufferView_pimpl.h:
6411         * LyXView.h:
6412         * Makefile.am:
6413         * Timeout.C:
6414         * Timeout.h:
6415         * minibuffer.h: move Timeout GUI-I
6416
6417 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
6418
6419         * lyxrc.C (read): Update converters data-structures.
6420
6421 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
6422
6423         * LaTeX.h (operator!=): add operator != for Aux_Info
6424
6425 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
6426
6427         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
6428
6429         * LaTeXLog.C: deleted, useful code moved to Buffer
6430
6431         * buffer.h:
6432         * buffer.C: new function getLatexLogName()
6433
6434         * lyx_gui_misc.C:
6435         * lyx_gui.C:
6436         * lyxvc.C:
6437         * lyxvc.h:
6438         * lyxfunc.C: use frontends for LaTeX and VC logs
6439
6440 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6441
6442         * LaTeX.h: yet another std:: that Allan forgot.
6443
6444         * Variables.C (set): renamed from isset(), because this clashes
6445         with some HP-UX macros (grr).
6446
6447 2001-02-06  Allan Rae  <rae@lyx.org>
6448
6449         * LaTeX.h: Another bug fix.  Missing std:: this time.
6450
6451 2001-02-04  Allan Rae  <rae@lyx.org>
6452
6453         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
6454         floats problem. I've left it commented out because it's not quite
6455         correct.  It should also test that the current object is a table or
6456         figure inset.  But I haven't gotten around to figuring out how to do
6457         that.  I *think* it'll be something like: "table" == inset.type()
6458
6459         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
6460         bool.
6461
6462 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
6463
6464         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
6465         all the citation/databases/styles in the auxilary file.
6466         (run): Rerun latex if there was a babel language error.
6467
6468 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
6469
6470         * text.C (Backspace): Preserve the font when changing newline char
6471         with a space.
6472         (BreakParagraph): If the cursor is before a space, delete the space.
6473
6474         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
6475
6476 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
6477
6478         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
6479         new argument (code).
6480         (ChangeCitationsIfUnique): New method.
6481
6482         * paragraph.C (GetPositionOfInset): Handle bibkey.
6483
6484 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6485
6486         * BufferView_pimpl.h: change type of Position::par_pos to
6487         LyXParagraph::size_type.
6488
6489 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
6490
6491         * BufferView_pimpl.C (savePosition, restorePosition): Write
6492         messages to minibuffer.
6493
6494 2001-01-28  José Matos  <jamatos@fep.up.pt>
6495
6496         * buffer.C (makeDocBookFile): adds support for document language.
6497         A silly restriction on the name of LatexCommand types where removed.
6498         Added support for CDATA sections, allows to chars unescaped, used
6499         among others in code, to avoid escape < and >.
6500
6501 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
6502
6503         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
6504         saved positions instrad of a stack. Furthermore, a position is
6505         stored using paragraph id/paragraph position.
6506
6507         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
6508         Remove LFUN_REF_BACK.
6509
6510 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
6511
6512         * converter.C (dvipdfm_options): New method.
6513
6514 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
6515
6516         * vspace.C (isValidLength): Fix for empty input string.
6517
6518 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6519
6520         * LyXAction.C (init): change description of LFUN_FIGURE to
6521         "Insert Graphics"
6522
6523 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6524
6525         * LaTeX.C: add using directive
6526
6527 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
6528
6529         * MenuBackend.C (expand): Fix the sorting of the formats.
6530
6531 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
6532
6533         * lyx_main.C: tiny error message fix
6534
6535 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6536
6537         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
6538         calling fl_initialize(). This fixes the problem with ',' as
6539         decimal separator in text files.
6540
6541 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
6542
6543         * trans.C (process): Fix the keymap bug.
6544
6545 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
6546
6547         * LaTeX.C (scanAuxFiles): New method. Provides support for
6548         multiple bibliographies (when using the bibtopic/bibunits pacakges).
6549         (scanLogFile) Scan for "run BibTeX" messages.
6550
6551         * buffer.C (makeLaTeXFile): Do not load the ae package when using
6552         OT1 font encoding. Also, load the aecompl package if the ae
6553         package is loaded.
6554
6555         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
6556
6557 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6558
6559         * texrow.C (increasePos): turn two error messages into debug
6560         messages.
6561
6562 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
6563
6564         * LaTeX.C (scanAux): Handle the \@input macro.
6565         (runBibTeX): Use scanAux().
6566
6567         * language.C (latex_options_): New field.
6568
6569         * LaTeXFeatures.C (getMacros): Add language macros.
6570
6571         * buffer.C (makeLaTeXFile): Small fix.
6572
6573 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6574
6575         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
6576
6577         * text2.C: add a using directive.
6578
6579 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
6580
6581         * BufferView2.C:
6582         * lyx_gui_misc.h:
6583         * lyxfr1.C:
6584         * lyxfunc.C: kill LyXBell.
6585
6586 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
6587
6588         * text.C (IsBoundary): Remove the error message
6589
6590         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
6591
6592         * lyxrc.C (setDefaults): Correct initialization value for
6593         font_norm_type.
6594
6595 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6596
6597         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
6598         gotoError().
6599
6600         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
6601         and GotoNextNote().
6602
6603         * src/LyXAction.C: Added reference-next.
6604
6605         * text.C (InsertChar): Use contains instead of strchr.
6606
6607         * lyx_cb.C (MenuInsertLabel): Enable default value code.
6608
6609 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
6610
6611         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
6612         alignment commands (when needed).
6613
6614         * text.C (InsertChar): Add ':' to number separator chars.