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