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