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