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