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