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