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