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