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