]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ad2272deef392f6dc3c3498bfa748766552223f3
[lyx.git] / src / ChangeLog
1 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (getStatus): fix warning when assertions are disabled
4
5         * text3.C: 
6         * lyxfunc.C: 
7         * dociterator.C: include <boost/current_function.hpp>, which is
8         needed when assertions are disabled.
9
10 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
11
12         * text2.C: fix for stuck cursor when traversing two 
13         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
14
15 2005-02-25  Andreas Vox  <avox@arcor.de>
16
17         * output_docbook.C (makeParagraph): suppress trailing newline
18         after a run of paragraphs
19
20 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
21
22         * paragraph.C: fix for confused change tracker when pasting
23         text that begins with a lineseparator. [bug 1827]
24         (setChange(0, Change::INSERTED);)
25        
26         * paragraph_funcs.C: fix for lost changes on triple-paste
27         in change tracking mode [bug 1827] (par.setChange()).
28
29 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * text2.C (updateCounters, setCounter, expandLabel): move to
32         buffer_funcs.
33
34         * buffer_funcs.C (updateCounters): turn into a free standing
35         function and add a buffer parameter. Remove dead code for tracking
36         labelstring change.
37         (setCounter): change into a free-standing function which gets a
38         dociterator as argument. Use this iterator to fix captions in a
39         simple way. When no float is found above the caption, use the
40         labelstring of the caption layout as default.
41
42         * text.C (breakParagraph, backspace): 
43         * text2.C (init, setLayout, changeDepth):
44         * text3.C (dispatch): 
45         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
46         updateCounters.
47
48         * dociterator.C (forwardPar): make it much faster by calling
49         forwardPos() only when really necessary.
50
51         * output_docbook.C (makeCommand): adapt to expandLabel move.
52
53         * cursor.C: remove unused variable
54
55 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
56
57         * paragraph_funcs.C: fix crash when pasting insets in change 
58         tracking mode [bug 1277] (honour change type in moveItem).
59
60 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
61
62         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
63
64 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * BufferView.C (setCursor): change to use a DocIterator.
67         (gotoLabel): use BufferView::setCursor (other part of bug 781).
68         (putSelectionAt): adapt to BufferView::setCursor change.
69
70         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
71         moved here from LyXText and rewritten to use proper cursor
72         methods. Fixes bug 1787, 616 and 835.
73
74         * BufferView_pimpl.C (restorePosition): set the cursor correctly
75         when inside an inset (part of bug 781).
76         (dispatch): adapt to change of BufferView::setCursor.
77         (getStatus, dispatch): handle LFUN_GOTOERROR,
78         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
79
80         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
81         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
82         * text3.C (gotoNextInset, gotoInset): removed.
83
84 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
87
88 2005-02-15  Angus Leeming  <leeming@lyx.org>
89
90         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
91         can be used meaningfully in a comparison.
92
93 2005-02-13  André Pönitz  <poenitz@gmx.net>
94
95         * bufferview_funcs.C (coordOffset): improve cursor drawing
96
97 2005-02-13  André Pönitz  <poenitz@gmx.net>
98
99         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
100         * Cursor.C (dispatch): use fixIfBroken
101         * lyxfunc.C (getStatus): use fixIfBroken
102
103 2005-02-15  Angus Leeming  <leeming@lyx.org>
104
105         * lyx_main.C (error_handler):
106         * lyxfunc.C:
107         * lyxrc.C (setDefaults):
108         s/GetEnv/getEnv/.
109         #include "environment.h".
110
111         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
112
113 2005-02-15  Angus Leeming  <leeming@lyx.org>
114
115         * lyxserver.C (startPipe): squash MSVC warning "local variable
116         'fd' used without having been initialized".
117
118 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
119
120         * BufferView_pimpl.C: revert accidental commit.
121
122 2005-02-14  André Pönitz  <poenitz@gmx.net>
123
124         * dociterator.[Ch]: new member forwardPosNoDescent(),
125         which doesn't enter nested insets.
126         * text2.C (setFont): use forwardPosNoDescent() instead
127         of ForwardPos() (fixes crash on font change).
128
129 2005-02-13  Angus Leeming  <leeming@lyx.org>
130
131         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
132         only if lyxrc.path_prefix is not empty.
133
134 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
135
136         * bufferparams.C (readGraphicsDriver): prevent crash
137
138 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
139
140         * text2.C (setCounter): check for inInset() == 0
141
142 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
145         but use update() to get correct screen display; use convert
146         instead of istringstream. 
147         (getStatus): handle LFUN_GOTO_PARAGRAPH 
148
149         * lyxfunc.C (dispatch, getStatus): do not handle
150         LFUN_GOTO_PARAGRAPH here.
151
152 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
153
154         * text3.C (dispatch): size() -> depth()
155
156         * text2.C: remove some debug output
157
158         * paragraph.C: ws changes only
159
160         * lyxfunc.C (getStatus): size() -> depth()
161
162         * dociterator.h (clear, push_back, pop_back, internalData,
163         operator[], resize, empty): new functions
164         Make StableDocIterator and operator== be friends. Don't inherit
165         from std::vector use a privat class variable slices_ instead.
166         Modify to fit.
167
168         * dociterator.C: update because of not inheriting from std::vector
169         anymore. Call explictly to slices_ instead. Use depth() instead of
170         size() and top() instead of back()
171
172         * cursor.C: chagne size() -> depth and back() -> top(). Also
173         remove some direct operator[](i) calls in favour of foo[i]
174         (getFont): remove some dead code
175
176         * bufferview_funcs.C (coordOffset): size() -> depth()
177
178         * buffer.C: ws changes only
179
180         * CutAndPaste.C (eraseSelection): back() -> top()
181
182         * BufferView_pimpl.C (selectionRequested): back() -> top()
183
184         * BufferView.C (setCursor): size() -> depth()
185
186 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
187
188         * text3.C (cursorPrevious): return true if depm changed something
189         (cursorNext): ditto
190         (dispatch): rename sl to oldTopSlice, remove moving use the new
191         NoUpdate func attrib instead. Make sure that needsUpdate is set
192         for function that have NoUpdate, but where depm might have changed
193         the buffer anyway.
194
195         * text2.C (cursorLeft): make us return true if depm changed
196         something
197         (cursorRight): ditto
198         (cursorUpParagraph): ditto
199         (curosrDownParagraph): ditto
200         (cursorUp, cursorDown): ditto, make sure to read comments in code
201         (deleteEmptyParagraphMechanism): remove an assert, also return
202         true if just a single char was deleted.
203
204         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
205         cursor that we modify, to avoid modifying an active cursor before
206         we call setCursor. This allows depm to run. Also return true if
207         depm deleted something.
208
209         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
210         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
211         cursorDownParagraph, cursorPrevious and cursorNext, return true if
212         something was changed in the buffer because of them (ie. depm run)
213
214         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
215         debug messages. Make update by default be false. Make sure that
216         the result of update is retained throught several calls down to
217         dispatch.
218
219         * LyXAction.h: add a new func_attrib: NoUpdate
220
221         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
222         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
223         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
224         and LFUN_WORDLEFT
225         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
226
227 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
230         bv_->owner(), bv_->buffer() by direct references to the private
231         members.
232         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
233         (getStatus): isSavedPosition() is in BufferView::Pimpl.
234         (fitCursor): center() is in BufferView::Pimpl.
235         (getStatus, trackChanges, dispatch): no need for a temporary buf
236         variable
237         (fitCursor, workAreaDispatch): use workarea().workheight()
238
239 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
240
241         * CutAndPaste.C (pasteSelectionHelper): fix a crash
242
243 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
244
245         * buffer.C: format up to 241.
246         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
247         break if pasting into ERT
248         * lyxfunc.C (getStatus): suppress mathpanel and
249         LFUN_DIALOG_SHOW_NEW_INSET in ERT
250
251 2005-02-01  Angus Leeming  <leeming@lyx.org>
252
253         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
254
255 2005-02-01  Angus Leeming  <leeming@lyx.org>
256
257         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
258         calling fs::is_directory().
259
260 2005-01-31  Angus Leeming  <leeming@lyx.org>
261
262         * lyx_main.C (priv_exec): specify explicitly the relative location
263         of the top level build directory when run in-place.
264
265 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
268         LyXText containing the cursor, not the top-level one.
269
270         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
271         true.
272         (insertStringAsLines): rename par to pit; use temporary variable
273         par to hold a Paragraph; do not store par.layout() in a variable,
274         since the pointer may die when breaking paragraphs; pass pars to
275         breakParagraph() instead of Buffer::paragraphs().
276
277 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
278
279         * lyxlex_pimpl.h: #include <fstream>.
280
281         * BufferView.[Ch] (getLyXText): add a const version.
282
283         * BufferView_pimpl.C: add debug aids.
284
285         * RowList_fwd.h:
286         * buffer.h:
287         * lyxrow.h:
288         * paragraph_funcs.h: add commentary explaining what the class does.
289
290
291         * coordcache.[Ch]: add lots of commentary.
292         (startUpdating, doneUpdating): debug aids.
293         (arrays, insets, parPos, getParPos): accessors to private data.
294
295         * cursor_slice.[Ch] (text): add a const version.
296         * dociterator.[Ch] (text, innerText): add const versions.
297
298         * lyxtext.h (breakParagraph): change the keep_layout arg to a
299         bool.
300
301         * paragraph.C (getRow, pos2ros): add asserts.
302
303         * paragraph.h: add commentary. Lots of.
304
305         * paragraph.[Ch] (metrucs, draw): removed.
306
307         * cursor.C:
308         * rowpainter.[Ch]: const-correct changes.
309
310         * text.C: various obvious clean-ups. Removal of ancient cruft.
311         Bug fixes, even.
312
313 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
314
315         * vc-backend.C (find_file): rewrite to use boost.filesystem
316         (scanMaster): ditto
317
318         * main.C (main): set default name check for boost.filesystem to
319         no check
320
321         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
322         (open): ditto
323         (doImport): ditto
324         (actOnUpdatedPrefs): ditto
325
326         * lyx_main.C (init): rewrite to use boost.filesystem
327         (queryUserLyXDir): ditto
328
329         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
330         (getContentsOfAsciiFile): ditto
331
332         * lastfiles.C (readFile): rewrite to use boost.filesystem
333
334         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
335
336         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
337         (loadLyXFile): ditto
338
339         * buffer.C (Buffer): adjust for destroydir
340         (getLogName): rewrite to use boost.filesystem
341         (setFileName): ditto
342         (save): use fs::copy_file (from fs_extras)
343
344         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
345
346         * LaTeX.C (run): rewrite to use boost.filesystem
347         (scanAuxFiles): ditto
348         (handleFoundFile): ditto
349
350 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
351
352         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
353
354         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
355
356 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
357
358         * lyxlayout.[Ch]: change some vars from float to double
359
360         * buffer.C (readFile): make a local var const
361
362         * Several files: use convert<> instead of atoi,strToXXX and friends
363
364 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
365
366         * LaTeXFeatures.[Ch]: Add a static list packages_ that
367         holds the contents of packages.lst. New functions getAvailable
368         and isAvailable to parse and check that list, resp.
369
370         * LyXAction.C:
371         * lfuns.h:
372         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
373
374         * bufferparams.[Ch]: new param output_changes.
375
376         * Buffer.C: increase file format to 240.
377         Use output_changes and isVailable.
378
379         * changes.[Ch]:
380         * paragraph.C:
381         * paragraph_pimpl.C: Use output_changes and isVailable.
382
383 2005-01-23  Angus Leeming  <leeming@lyx.org>
384
385         * output_latex.C: #include "insetbibitem.h", rather than
386         forward declare function bibitemWidest.
387
388 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
389
390         * lyx_main.C (init): make it compile on the Mac.
391
392 2005-01-20  Angus Leeming  <leeming@lyx.org>
393
394         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
395         (setLyXMisc): (char string literal) != (char string literal) is
396         performing a comparison on the addresses. Convert one operand
397         explicitly to string to guarantee expected behaviour.
398         From MSVC warning.
399
400 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
401
402         * buffer.C:
403         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
404
405         * output_plaintext.C: remove unneeded #include gzstream.h.
406
407 2005-01-20  Angus Leeming  <leeming@lyx.org>
408
409         * SpellBase.h: rename some of the elements of the Result enum.
410
411         * aspell_local.h:
412         * ispell.h:
413         * pspell.h:
414         * aspell.C (check):
415         * ispell.C (check):
416         * pspell.C (check): ditto
417
418 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
419
420         * buffer.C: add #include <fstream>.
421
422         * lyx_main.C (init): Compile fix.
423
424         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
425
426 2005-01-20  Angus Leeming  <leeming@lyx.org>
427
428         * mover.h: change commentary to reflect the changed meaning of
429         the $$s placeholder.
430
431 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
432
433         * output_linuxdoc.C (linuxdocParagraphs): silence warning
434
435         * lyxfind.C (MatchString::operator()): remove bogus semicolon
436
437 2005-01-20  Angus Leeming  <leeming@lyx.org>
438
439         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
440         printing diagnostic data by not dereferecing an iterator past the
441         end.
442
443 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
444
445         * buffer.C (readHeader): use "&&" rather than "and".
446
447         * lyxserver.h (inPipeName, outPipeName): make these const.
448
449 2005-01-19  Angus Leeming  <leeming@lyx.org>
450
451         * lyx_main.C (error_handler, init): protect SIGHUP with
452         #ifdef SIGHUP guards.
453
454 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
457
458 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * text.C (setHeightOfRow): add a margin at the top and bottom of
461         the document (bug 1761)
462
463 2005-01-17  Angus Leeming  <leeming@lyx.org>
464
465         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
466         with "python ". Workaround for a brain-dead Windows.
467
468 2005-01-16  Angus Leeming  <leeming@lyx.org>
469
470         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
471         for MacOSX and Windows to use prependEnvPath.
472         Strip out the hard-coded block to add elements to the PATH for
473         MacOSX and replace it with a call to prependEnvPath using the
474         contents of LyXRC::path_prefix.
475         (queryUserLyXDir): strip out the code to run reconfigure, instead
476         returning a boolean indicating the necessity to do so.
477         (reconfigureUserLyXDir): contains the code to reconfigure the
478         user support directory. Is now called after the various LyXRC data
479         files have been read.
480
481         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
482
483 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
484
485         * converter.[Ch] (convert): take a new parameter try_default. Use
486         a default converter (imagemagick) if try_default is true.
487
488 2005-01-13  Angus Leeming  <leeming@lyx.org>
489
490         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
491         os::cygwin_path_fix.
492         (write): output LyXRC::cygwin_path_fix as necessary.
493
494 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
495
496         * lyxrc.h:
497         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
498
499 2005-01-12  Angus Leeming  <leeming@lyx.org>
500
501         * lyx_main.C (init): set the PATH variable to include the
502         directory containing the LyX binary when running on Mac or Windows.
503
504 2005-01-12  Angus Leeming  <leeming@lyx.org>
505
506         * lyx_main.C (init): remove cruft that purports to set the locale
507         dir. It doesn't and is not needed anyway.
508
509 2005-01-10  Angus Leeming  <leeming@lyx.org>
510
511         * Makefile.am: remove the lyx_main.C special casing.
512
513         * BufferView_pimpl.C:
514         * bufferlist.C:
515         * exporter.C:
516         * lyx_cb.C:
517         * lyx_main.C:
518         * lyxfunc.C:
519         * messages.C: use support/package.h to provide the paths to the
520         various directories used by LyX.
521
522 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
525         layout if pasting into an empty paragraph)
526
527 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
528
529         * tex-accent.C: add <string>
530
531 2005-01-06  José Matos  <jamatos@lyx.org>
532
533         * ParagraphParameters.C (write): put every parameter in its own line.
534         * paragraph.C (write): reduce number of consecutive empty lines exported.
535         * buffer.C (LYX_FORMAT): increase file format to 239.
536
537 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
538
539         * everywhere: change support/tostr.h -> support/convert.h
540
541         * tabular.C: make all write_attributes templates, tostr -> convert
542
543         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
544         (emptyTag): and -> &&, and fix type for ret from getChar
545         (getFirstWord): fix type for ret from getChar
546         (onlyText): and -> &&
547         (simpleDocBookOnePar): and not -> && !, fix type for ret from
548         getChar
549
550         * toc.C (goTo, action):
551         * text3.C (dispatch):
552         * text.C (currentState):
553         * tex-accent.C (DoAccent):
554         * sgml.C:
555         * lyxrc.C:
556         * lyxfunc.C (menuNew):
557         * lyxfinc.C (replace):
558         * counters.C (laberItem):
559         * bufferview_funcs.C (font2string):
560         * bufferparams.C (writeFile):
561         * buffer.C (readFile):
562         * Spacing.C (set):
563         * MenuBackend.C: tostr -> convert
564
565         * LaTeX.C (runMessage): fix format
566         (scanAuxFiles): tostr -> convert
567
568         * BufferView_pimpl.C (savePosition): fix format
569         (restorePosition): ditto
570         (dispatch): ditto
571
572 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
573
574         * Spacing.[Ch]: New method getValueAsString().
575
576         * Spacing.[Ch]:
577         * bufferparams.C:
578         * ParagraphParameters.C:
579         * lyxlayout.C:
580         * text.C:
581         * text3.C: store/read spacing value as string.
582
583         * rowpainter.C: change float value (spacing_val) to double.
584
585         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
586         broken custom document spacing).
587
588 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
589
590         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
591         namespace, also more use of temp references and const
592
593         * cursor.[Ch] (getStatus): move to lyxfunc.C
594
595         * bufferparams.C: reformat slightly
596
597         * bufferview_funcs.C (font2string): constify arg
598
599         * changes.C:
600         * converter.C:
601         * counters.C:
602         * bufferlist.C:
603         * buffer_funcs.C: (many funcs): constify arg on function
604         definitions, also make more local vars const, also add ASSERTS on
605         pointer args.
606
607         * buffer.C (LYX_FORMAT): put const in correct place
608         (many funcs): constify arg on function definitions, also make
609         more local vars const
610
611         * aspell_local.h: remove "struct" from typdef setup
612
613         * aspell.C (check): make word_ok const
614         (nextMiss): simplify slightly
615         (error): ditto
616
617 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
618
619         * lyxrc.[Ch]: store all float values as strings.
620         use int (not float) for lyxrc.dpi.
621
622 2005-01-04  Angus Leeming  <leeming@lyx.org>
623
624         * lyx_cb.C (Reconfigure):
625         * lyx_main.C (queryUserLyXDir):
626         to run the <system_lyxdir>/configure correctly on Windows, prefix
627         the path to the script with "sh " when generating the string that
628         is passed to system().
629
630 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
631
632         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
633
634 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
635
636         * lyxlength.C (asLatexString): get rid of setprecision
637
638 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * text2.C (setLayout): remove unused variable endpit.
641         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
642
643         * paragraph.C (onlyText): remove unused variable style.
644
645         * cursor.C (bruteFind): remove unused variables beg and end.
646
647         * Makefile.am (dist_noinset_DATA): not needed anymore
648
649         * cheaders/*: remove.
650
651 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
652
653         * text3.C: fix LFUN_MATH_MODE.
654
655 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
656
657         * buffer_funcs.C (countWords): new function. Counts words between
658         two iterators.
659
660         * BufferView_pimpl.C (getStatus, dispatch): handle
661         LFUN_WORDS_COUNT.
662
663         * LyXAction.C (init):
664         * lfuns.h: add LFUN_WORDS_COUNT.
665
666 2004-12-19  Angus Leeming  <leeming@lyx.org>
667
668         * buffer.C (save): s/slashify_path/internal_path/.
669
670 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
671
672         * lyxfind.C (findChange): do not search for end of pars, because
673         the change tracker cannot handle this (fixes bug 1719).
674
675 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
676
677         * paragraph.[Ch] (autoBreakRows): remove
678
679         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
680
681         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
682         avoid using the paragraph one
683
684         * text2.C (LyXText, insertStringAsLines): adjust
685
686 2004-12-16  Angus Leeming  <leeming@lyx.org>
687
688         * bufferlist.C:
689         * lyx_main.C:
690         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
691
692 2004-12-14  Angus Leeming  <leeming@lyx.org>
693
694         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
695
696         * bufferlist.C (emergencyWrite):
697         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
698         GetEnvPath("HOME").
699
700 2004-12-14  Angus Leeming  <leeming@lyx.org>
701
702         * main.C: (main): no longer pass pointers to os::init.
703
704 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
705
706         * undo.C (textUndoOrRedo): simplify logic, fix a crash
707         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
708
709 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
710
711         * lyxfunc.C:
712         * text3.C: remove selection_possible global flag
713
714 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
715
716         * text2.C (getSelectionSpan): remove
717         (changeDepth, changeDepthAllowed): adjust
718
719 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
720
721         * Makefile.am (BOOST_LIBS): use boost variables
722
723 2004-12-03  José Matos  <jamatos@lyx.org>
724
725         * buffer.C: format up to 238.
726
727 2004-12-03  José Matos  <jamatos@lyx.org>
728
729         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
730
731 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
732
733         * cursor.C (goUpDown): remove call to idxUpDown2
734
735 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * tabular.[Ch]: use size_t-like types for cell, row and column
738         indices
739
740 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * lyxfunc.C (getStatus): do not lose previous information when
743         calling BufferView::getStatus; do not set a default "Command
744         disabled" message at the beginning, but just before returning.
745
746 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
747
748         * cursor.h (getStatus): add better comment from src/cursor.C
749
750 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * text3.C (getStatus): return false when the lfun is not handled
753
754 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * broken_headers.h: remove
757
758         * Makefile.am (lyx_SOURCES): remove broken_headers.h
759
760 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
761
762         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
763         offset_ref accessors
764
765         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
766         top_y_, merge fitcursor with update
767         (updateScrollbar, scrollDocView, fitCursor, center, update): new
768         coord scheme
769         (metrics): introduce
770         (workAreaDispatch): adapt to new coord scheme
771         (redoCurrentBuffer): remove
772
773         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
774
775         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
776         CurStatus enum.
777
778         * coordcache.[Ch]: add paragraph cache and helpers
779
780         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
781         adjust everywhere
782
783         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
784         (targetX, setTargetX): introduce
785
786         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
787         baseline -> ascent, as the rest of lyx
788
789         * lyxtext.h: remove redoParagraphs, updateParPositions,
790         fullRebreak, redoParagraphInternal. move dist to anon namespace in
791         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
792         have ascent/descent (ascent is ascent of first par)
793
794         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
795         step of BufferView
796
797         * paragraph.[Ch]: unify dimension handling with the rest of lyx
798
799         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
800
801         * pariterator.C: fix infinite loop introduced in par->pit renaming
802
803         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
804         in insets and LyXText, draw two off-screen paragraphs using
805         NullPainter, and adapt to new coord scheme
806
807         * text.C:
808         * text2.C:
809         * text3.C: adapt lfun handlers to the new coord scheme, which
810         means: there's only guaranteed coord information for onscreen pars
811         plus one above and one below. This implies that one can do search
812         from y coordinates in the range [-1,workHeight]
813
814 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
815
816         * rename a lot of InsetOld to InsetBase
817
818 2004-11-25  Angus Leeming  <leeming@lyx.org>
819
820         * BufferView_pimpl.C:
821         * lyx_cb.C:
822         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
823
824 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
827         call BufferView::getStatus if LCursor::getStatus did nothing
828         (setStatusMessage, getStatusMessage): removed.
829
830         * FuncStatus.C (message): new methods. Used to provide an error
831         message indicating why a command is disabled.
832         (clear, |=, FuncStatus): update for message.
833
834 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
835
836         * lyxfunc.C (dispatch): always call sendDispatchMessage
837
838 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
839
840         * BufferView.C:
841         * BufferView_pimpl.C:
842         * CutAndPaste.C:
843         * FontIterator.C:
844         * buffer.C:
845         * cursor.C:
846         * cursor_slice.[Ch]:
847         * dociterator.[Ch]:
848         * lyxfind.C:
849         * paragraph_funcs.C:
850         * pariterator.C:
851         * rowpainter.C:
852         * text.C:
853         * text2.C:
854         * text3.C:
855         * undo.C: par->pit renaming
856
857 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
858
859         * tabular.C (cellstruct): use initialization, store a shared_ptr
860         to insettext instead of the insettext directly, adjust to fit.
861         (operator=):  new function
862         (swap): new function
863         (rowstruct): use initialization
864         (columnstruct): use initialization
865         (ltType): use initialization
866
867
868         * lyxlength.h (swap): new function
869
870         * LColor.[Ch] (operator=): use the common semantics
871
872 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
873
874         * lyxfind.C (findNextChange): update the bufferview after setting
875         the selection.
876
877 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
880         number of InsetOptArgs has already been inserted.
881
882         * output_latex.C (latexOptArgInsets): new method. This outputs all
883         the optarg insets, up to the limit defined in the layout file.
884         (optArgInset): removed
885         (TeXOnePar): call latexOptArgInsets; correctly update texrow
886
887 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * paragraph.C (isLetter): remove special spellchecker-related
890         code; return true also for digits
891         (isWord, isKomma): remove
892
893         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
894         * lyxfind.C (MatchString()): use isLetter instead of isWord
895
896 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
897
898         * pariterator.h (operatir=): comment out un-implemented member
899         function.
900
901         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
902         static cast.
903
904 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
905
906         * lyxfont.h: include LColor.h to satisfy concept checks.
907
908 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
909
910         * pariterator.h: add typdefs for value_type, difference_type,
911         pointer and reference to satisfy concept checks. Also add default
912         constructor for same reason.
913
914         * pariterator.C (operator++): add post-increment operator to
915         satisfy concept checks.
916
917         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
918         checks.
919
920         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
921
922         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
923         checks. Also rename base_type to BaseType to follow naming
924         standard better.
925
926         * FloatList.h: include Floating.h to satisfy concept checks.
927
928 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * lyxfunc.C (getStatus): when the origin of the request is menu or
931         toolbar, and the LyXView does not have focus, do as if there was
932         no buffer (bug 1720)
933
934         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
935         FuncRequest to individual entries of LFUN_SEQUENCE
936
937 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * output_latex.C (TeXOnePar): override runparams.moving_arg
940         according to the needprotect value of the current paragraph (bug
941         1739)
942
943         * paragraph.C (simpleTeXOnePar): no need to override
944         runparams.moving_args here
945
946 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
947
948         * vspace.C: fix off-by-one-error, related to fix #1682
949
950 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
951
952         * lengthcommon.C: a more general fix for bug 1682
953
954 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
955
956         * text.C (backspace): fix crash
957
958 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
959
960         * format.[Ch] (getFormatFromFile): new method
961         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
962
963 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
966
967 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * lyxfunc.C (dispatch): remove the verbose argument
970         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
971         instead
972
973         * kbmap.C (defkey): set the origin of func to KEYBOARD
974
975         * MenuBackend.C (MenuItem):
976         * ToolbarBackend.C (add): set the origin of func to UI
977
978         * funcrequest.[Ch]: add origin member, which indicates which part
979         of LyX requests an action
980
981 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
982
983         * converter.C (move): don't lie in the error message
984         * converter.h (isReachable, move): document
985
986 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
987
988         * buffer.C: remove unused using lyx::support::atoi
989         * paragraph_funcs.C: ditto
990
991 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
992
993         * bufferlist.C (exists): use bind and equal_to instead of
994         compare_memfun
995         (getBuffer): ditto
996         * lyxtextclasslist.C (NumberOfClass): ditto
997
998         * cursor.C (insert): use for_each instead of explicit for loop
999
1000         * bufferlist.C (getFileNames): use std::transform and
1001         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1002
1003         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1004         for loop
1005
1006         * buffer.C (changeLanguage): use for_each instead of explicit for
1007         loop
1008         (hasParWithID): implement using getParFromID
1009
1010         * LaTeXFeatures.C: ws change only
1011
1012         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1013         to cleanup a bit.
1014
1015         * BufferView_pimpl.C (trackChanges): use for_each instead of
1016         expilicit for loop
1017
1018 2004-11-04  André Pönitz  <poenitz@gmx.net>
1019
1020         * undo.h:
1021         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1022
1023         * dociterator.C (asDocIterator): use hard assert again.
1024
1025 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * lyxlength.C (asLatexString): rewrite so that it does not use
1028         snprintf anymore
1029
1030 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1031
1032         * text3.C (specialChar, dispatch): make sure cursor moves to the
1033         right after inserting an inset
1034
1035 2004-11-02  José Matos  <jamatos@lyx.org>
1036
1037         * output_docbook.C (docbook):
1038         * paragraph.C (getID):
1039         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1040         garantee that the output is always legal.
1041
1042         * tabular.C (docbook):
1043         * outputprams.[Ch]: remove mixed contents.
1044
1045 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1046
1047         * text2.C (setCounter): prevent endless loop
1048
1049 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1050
1051         * exporter.C (copyFile): use the mover instead of support::copy()
1052         * exporter.C (Export): pass format and latex name to copyFile()
1053         * exporter.h (addExternalFile): document
1054         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1055
1056 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1057
1058         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1059
1060 2004-10-30  José Matos  <jamatos@lyx.org>
1061
1062         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1063         text and no inset or font change. This allows to use CDATA
1064         sections just for the whole paragraph.
1065
1066 2004-10-30  José Matos  <jamatos@lyx.org>
1067
1068         * paragraph.C (getFirstWord): remove unused variable.
1069
1070 2004-10-30  José Matos  <jamatos@lyx.org>
1071
1072         * paragraph.C (getFirstWord): the content should always be escaped
1073         there.
1074         (simpleDocBookOnePar):
1075         * output_docbook.C (makeEnvironment): replace reference to CDATA
1076         to style pass_thru.
1077
1078 2004-10-30  José Matos  <jamatos@lyx.org>
1079
1080         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1081
1082 2004-10-30  José Matos  <jamatos@lyx.org>
1083
1084         * output_docbook.C (makeParagraphs):
1085         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1086         standard paragraph has only a given type of content drop the wrapper.
1087
1088 2004-10-29  José Matos  <jamatos@lyx.org>
1089
1090         * output_docbook.C (makeEnvironment):
1091         * sgml.C (openTag):
1092         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1093
1094 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1095
1096         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1097         (cleanID): sanitize any id.
1098
1099 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1100
1101         * buffer.C, lyxlex_pimpl.C:
1102         * lyxlex_pimpl.C (setFile):
1103         s/getExtFromContents/getFormatFromContents/
1104
1105 2004-10-28  José Matos  <jamatos@lyx.org>
1106
1107         * output_docbook.C (makeEnvironment): move id to broadest possible
1108         scope.
1109
1110         * sgml.C (openTag): apply substitution of <> for all attributes.
1111
1112 2004-10-28  José Matos  <jamatos@lyx.org>
1113
1114         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1115         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1116         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1117
1118         * sgml.[Ch]: new version for open and closeTag for paragraph and
1119         for strings. Now they handle the ids of paragraphs.
1120
1121 2004-10-26  Angus Leeming  <leeming@lyx.org>
1122
1123         * Makefile.am: add mover.[Ch].
1124
1125         * converter.C (convert, move): use the new Movers to move external
1126         files to the temp directory.
1127
1128         * lyx_main.C (init): ensure that the global system_movers data
1129         is initialised.
1130
1131         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1132         preferences file.
1133
1134         * mover.[Ch]: new files, defining a Mover as a utility to move an
1135         external file between directories and, if necessary, manipulate this
1136         file using a helper script.
1137
1138 2004-10-25  José Matos  <jamatos@lyx.org>
1139
1140         * output_docbook.C (makeCommand): merge two if's that tested the
1141         same condition.
1142
1143 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144
1145         * sgml.C (escapeString): fix warning in a better way
1146
1147 2004-10-25  José Matos  <jamatos@lyx.org>
1148
1149         * sgml.C (escapeString): import the require boosts header file for
1150         tie, and avoid a signed unsigned comparison.
1151
1152 2004-10-25  José Matos  <jamatos@lyx.org>
1153
1154         * sgml.h: add #include <string>
1155
1156 2004-10-25  José Matos  <jamatos@lyx.org>
1157
1158         * sgml.[Ch] (escapeString): new function to escape all the string.
1159
1160 2004-10-24  José Matos  <jamatos@lyx.org>
1161
1162         * paragraph.[Ch] (getFirstWord): new function to get the first
1163         word. Useful for description.
1164         (simpleDocBookOnePar): remove depth argument, add another that
1165         says where to start the paragraph.
1166
1167         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1168         use the new functions to fix cleanly the support for descriptions.
1169
1170 2004-10-24  José Matos  <jamatos@lyx.org>
1171
1172         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1173         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1174         * output_linuxdoc.C (linuxdocParagraphs):
1175         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1176         add buffer as argument.
1177
1178 2004-10-24  José Matos  <jamatos@lyx.org>
1179
1180         * output_docbook.C (makeEnvironment, searchEnvironment): place
1181         CDATA inside paragraphs and fix scope for listitems.
1182
1183 2004-10-24  José Matos  <jamatos@lyx.org>
1184
1185         * output_docbook.C: remove using statement for stack.
1186
1187 2004-10-23  José Matos  <jamatos@lyx.org>
1188
1189         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1190         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1191         docbook. The new scheme is recursive and makes use of iterators, the
1192         same as latex export works.
1193         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1194         directly with the paragraph contents. This code was moved up to
1195         output_docbook.C (docbookParagraphs).
1196         * sgml.C (openTag, closeTag): removed unneeded newlines.
1197         (closeEnvTags) removed.
1198
1199 2004-10-23  André Pönitz  <poenitz@gmx.net>
1200
1201         * undo.C (textUndoOrRedo):
1202         * dociterator.C (asDocIterator): work around crash
1203
1204         * cursor.C (getStatus): replace ASSERT by more verbose error message
1205           and manual correction of the problem. Should increase stability
1206           while providing more sensible information.
1207
1208 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1211
1212         * bufferlist.C (previous, next): new methods
1213
1214         * lfuns.h:
1215         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1216
1217 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1218
1219         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1220         entities to preamble.
1221
1222 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1223
1224         * messages.C (Pimpl): strip off translation context information
1225
1226 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1229         the cursor is correct (bug 1694)
1230
1231 2004-10-13  José Matos  <jamatos@lyx.org>
1232
1233         * output_docbook.C (docbookParagraphs): fix closing tags in the
1234         end of the document.
1235
1236 2004-10-09  José Matos  <jamatos@lyx.org>
1237
1238         * buffer.C: format up to 237.
1239         * bufferparams.C (write): use tostr to convert booleans to strings.
1240
1241 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1242
1243         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1244
1245 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1246
1247         * LaTeX.C: implement use of babel language in xindy.
1248
1249 2004-10-05  José Matos  <jamatos@lyx.org>
1250
1251         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1252         Add new translators to help reading and writing the lyx file.
1253
1254 2004-10-05  José Matos  <jamatos@lyx.org>
1255
1256         * ParagraphParameters.C (read):
1257         * text.C (readParToken): replace nexToken by more appropriate lex
1258         methods.
1259
1260 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1261
1262         * LaTeX.C (runMakeIndex):
1263         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1264         (usually 'makeindex') configurable.
1265
1266         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1267         with a variable rather than with a number.
1268
1269 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270
1271         * output_latex.C (TeXOnePar): make sure font setting is the first
1272         thing that gets output (and the last at the end). Should fix bug
1273         1404.
1274
1275 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1276
1277         * pch.h: use proper signal include
1278
1279         * LaTeX.h: Use preferred calling of Boost.Signal
1280         * buffer.h: ditto
1281
1282 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1283
1284         * pch.h: dont include <boost/function/function0.hpp>
1285
1286         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1287
1288         * paragraph_pimpl.h: remove usage of ShareContainer
1289
1290         * paragraph_pimpl.C: remove initialization of ShareContainer.
1291
1292 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1293
1294         Fix bug #1666
1295
1296         * BufferView.C (putSelectionAt): change the semantics when
1297         backwards == true: now, this just swaps cursor and anchor wrt the
1298         forward case
1299
1300         * BufferView.h (putSelectionAt): add some documentation
1301
1302         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1303         make sure backwardChar is done at least once (to avoid getting
1304         stuck)
1305         (findNextChange): use putSelectionAt in the forward direction
1306         (operator()): use Paragraph::isWord
1307
1308 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1309
1310         * Spacing.C (set): c_str fix
1311
1312 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * lyx_cb.C (Reconfigure): quote the name of configure script in
1315         case it contains spaces
1316
1317 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1318
1319         * client: new dir
1320
1321         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1322         (BOOST_LIBS): use top_buildir when looking for the file
1323
1324 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1325
1326         * pch.h: do not use include boost/format.hpp, multiple symbols
1327                 will result (gcc bug)
1328
1329
1330 2004-08-23  José Matos  <jamatos@lyx.org>
1331
1332         * bufferparams.C (readToken): fix reading of the author field.
1333
1334 2004-08-20  José Matos  <jamatos@lyx.org>
1335
1336         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1337
1338 2004-08-20  José Matos  <jamatos@lyx.org>
1339
1340         * lyxlex.[Ch] (findToken): remove function.
1341
1342         * ParagraphParameters.C (findToken):
1343         * bufferparams.C (findToken): replace call for previous function
1344         with local copy. This local function has one more argument, the
1345         read string argument.
1346
1347 2004-08-16  José Matos  <jamatos@lyx.org>
1348
1349         * ParagraphParameters.C (write):
1350         * Spacing.C (writeFile):
1351         * bufferparams.C (writeLaTeX):
1352         * lyx_cb.C (Reconfigure):
1353         * paragraph.C (write):
1354         * tabular.C (write): remove unnecessary space at end of line.
1355
1356
1357 2004-08-16  José Matos  <jamatos@lyx.org>
1358
1359         * text.C (readParagraph): remove debug message.
1360
1361 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1364         crash
1365
1366         * output_plaintext.C (asciiParagraph): set depth correctly
1367
1368         * outputparams.h: add member depth
1369
1370         * paragraph_funcs.C (ownerPar): remove.
1371
1372         * text2.C (setCounter): remove first_pit; comment out some
1373         non-working code that uses ownerPar
1374
1375         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1376         uses ownerPar
1377
1378 2004-08-16  José Matos  <jamatos@lyx.org>
1379
1380         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1381         For the same level of importance use the same chanel to report problems.
1382         (read): add code to deal with \begin_body and \end_body.
1383
1384
1385 2004-08-15  José Matos  <jamatos@lyx.org>
1386
1387         * lyxlex.C (getString): fix comment, buffer::readBody is now
1388         buffer:readDocument.
1389
1390         * tex-strings.C (string_papersize): Default -> default,
1391         Custom -> custom, for consistency with other options.
1392
1393 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1394
1395         * pch.h: new file
1396
1397         * Makefile.am: support pch
1398
1399 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * text.C (readParToken): remove the static LyXFont variable and
1402         pass it as a parameter instead. This fixes a nasty bug where an
1403         inset will be inserted with a bad font in some situations
1404         (readParagraph): adapt
1405
1406         * text2.C (setCounter): reduce number of calls to pars_[pit]
1407
1408         * text.C (singleWidth): add an assert, fix a test
1409
1410         * rowpainter.C (paintText): reduce number of calls to singleWidth
1411
1412         * paragraph.C (isHfill):
1413         (isNewline): ws only
1414
1415 2004-08-14  André Pönitz  <poenitz@gmx.net>
1416
1417         * text.C:
1418         * text2.C:
1419         * rowpainter.C:
1420         * lyxtext.h (several functions): use a Paragraph & argument
1421         instead of par_type
1422
1423 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1426
1427         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1428
1429         * text.C (singleWidth): remove useless test
1430
1431 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1432
1433         * tabular.h: remove bogus comments
1434
1435         * tabular.C (getDescentOfRow):
1436         (isPartOfMultiColumn): add assertions
1437
1438         * lyxlength.C (inPixels): remove #warning
1439
1440 2004-08-14  André Pönitz  <poenitz@gmx.net>
1441
1442         * paragraph.h: inline getChar()
1443
1444         * BufferView.h: remove unused declarations
1445
1446 2004-08-14  José Matos  <jamatos@lyx.org>
1447
1448         * Buffer.[Ch] (readDocument): new name for old readBody.
1449         * Buffer.C: new file format, new keywords: \begin_document,
1450         \begin_header, \begin_body, \end_body.
1451
1452         * bufferparams.C (readToken): replace all calls to lex.nextToken
1453         by lex.next(). Do the same to eatLine except where really needed.
1454
1455         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1456         line when writing to the lyx file.
1457
1458         * output_plaintext.C (asciiParagraph): fix Bibliography style
1459         handling.
1460
1461         * text.C (read): fix end of file handling.
1462
1463 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * MenuBackend.C (Menu::operator[]): new method to access
1466         individual menu items
1467         (Menu::hasFunc): new method. search for an item that corresponds
1468         to a given func
1469         (MenuBackend::specialMenu): new method
1470         (MenuBackend::expand): if a special menu has been set, skip
1471         entries whose func() appears in this menu
1472
1473 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1474
1475         * text3.C: use Debug::DEBUG a bit more
1476
1477         * text.C (leftMargin): try to simplify a tiny bit change var x to
1478         l_margin. Dont output the wide margins always.
1479         (rightMargin): no margin in inner texts
1480
1481         * rowpainter.h (nestMargin): new func
1482         (changebarMargin): new func
1483         (rightMargin): new func
1484
1485         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1486         now functions.
1487         (paintLast): ditto
1488
1489         * factory.C (createInset): modify setDrawFrame
1490
1491         * cursor.C: use Debug::DEBUG a bit more
1492
1493 2004-08-14  André Pönitz  <poenitz@gmx.net>
1494
1495         * coordcache.[Ch]:
1496         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1497         cache for all insets in (at least partially) visible (top-level)
1498         paragraphs.
1499
1500         * BufferView_pimpl.C: reset external coord cache before every update.
1501         This means the coord cache only contains valid entries.
1502
1503 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1504
1505         bug 1096
1506         * BufferView_pimpl.C (getInsetByCode): move function out of class
1507         and change in to a template in anon namespace. Also fix to do what
1508         suits us better.
1509
1510 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1511
1512         bug 1305
1513         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1514         of char
1515         (breakParagraph): rename par to par_offset and use a local
1516         reference. Add code to keep the language over a rebreak.
1517         (breakParagraphConservative): rename par to par_offset, use a
1518         local reference
1519         (mergeParagraph): ditto
1520         (outerHook): ditto
1521         (isFirstInSequence): ditto
1522         (outerFont): rename pit to par_offset
1523
1524         * paragraph.C: ws change
1525         * paragraph.h: ditto
1526         * text3.C: ditto
1527         * text.C: ditto
1528
1529 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1532         treatment for ']'
1533
1534         * paragraph.C (simpleTeXOnePar): when we have a \item with
1535         optional argument, enclose the argument with curly brackets (in
1536         case it contains a closing square bracket)
1537
1538         * text2.C (editXY):
1539         * text2.C (editXY):
1540         * text3.C (checkInsetHit): constify
1541
1542 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1543
1544         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1545         documents (bug 1629)
1546
1547 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1548
1549         Fix toggling of collapsable insets with the mouse (bug 1558)
1550
1551         * lyxfunc.C (dispatch): adapt to LCursor changes
1552
1553         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1554         make sure that dispatch is not invoked twice
1555
1556         * cursor.C (needsUpdate): new method
1557         (dispatch): return void
1558         (result): new method, to access the DispatchResult of the cursor.
1559
1560 2004-08-13  José Matos  <jamatos@lyx.org>
1561
1562         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1563
1564 2004-08-13  André Pönitz  <poenitz@gmx.net>
1565
1566         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1567
1568         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1569           multiple cells
1570
1571 2004-08-12  André Pönitz  <poenitz@gmx.net>
1572
1573         * text3.C: take out the 'cursor right' form insertInset and only
1574         do it in those places when it is really needed. Fixes crash on
1575         C-m...
1576
1577 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1578
1579         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1580
1581         * BufferView_pimpl.C (setBuffer): initialize the current font of
1582         the underlying LyXText
1583
1584 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1585
1586         * kbsequence.C (print): use UI native formatting for menu
1587         shortcuts
1588
1589         * text.C (insertChar): call Paragraph::insertChar with a font
1590         argument (cosmetic)
1591
1592         * paragraph.C (insertInset, insertChar): the version that takes a
1593         LyXFont argument is now a wrapper around the other one (the
1594         opposite used to be true).
1595
1596         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1597         argument. Font setting is done in Paragraph now.
1598
1599 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * outputparams.h: add new members intitle and lang.
1602
1603         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1604         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1605
1606 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1607
1608         * text3.C (dispatch): remove special handling of button 4 and 5,
1609         it is now taken care of in the frontend code.
1610
1611 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1612
1613         * Spacing.h: add <string> (STLPort compile fix)
1614
1615 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1616
1617         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1618
1619 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1620
1621         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1622         to bool.
1623
1624         * converter.C (showMessage): inherit from unary_function, make
1625         operator() const.
1626
1627         * buffer.C (writeFile): initialize retval
1628
1629         * InsetList.h: rename private variable list to list_
1630         * InsetList.[Ch]: adjust accordingly.
1631
1632 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1633
1634         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1635         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1636         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1637         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1638         * ParagraphParameters.C, LaTeXFeatures.C: replace
1639         "support/std_sstream.h" with <sstream>
1640
1641 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1642
1643         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1644         * lyxsocket.C (LyXServerSocket): ditto
1645         (serverCallback): ditto
1646
1647 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1648
1649         * LaTeXFeatures.C: check release date when loading jurabib.
1650
1651 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1652
1653         * lyxserver.C (startPipe): call register_socket_callback
1654         (endPipe): call unregister_socket_callback
1655
1656 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1657
1658         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1659         (LyXServerSocket): register the callback
1660         (LyXServerSocket): unregister the callback
1661         (fd): delete function
1662         (serverCallback): improve error checking and setup the callbacks.
1663         (dataCallback): change arg to fd.
1664         (writeln): new func (copied fro the client socket) used for server
1665         write to client.
1666         (LyXDataSocket): simplify
1667         (~LyXDataSocket): close ann unregiser callback
1668         (server): delete function
1669         (fd): delete function
1670         (readln): small changes, improve some std::string usage
1671         (writeln): constify a bit
1672
1673 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1674
1675         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1676         Qt frontend
1677
1678 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1679
1680         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1681         after it has been populated
1682
1683 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1684
1685         * text2.C (insertInset): move cursor when inserting inset.
1686
1687 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1688
1689         * kbmap.C (findbindings): a couple of new methods. returns a
1690         container of kb_sequence objects. The real work is done by the
1691         private recursive version
1692         (printbindings): uses findbindings to print out a bracketed list
1693         of bindings (renamed from findbinding).
1694
1695         * MenuBackend.C (binding): use kb_keymap::findbindings
1696
1697         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1698
1699 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1700
1701         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1702
1703 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * paragraph.C (isWord): return true on insets that report
1706         isLetter().
1707
1708         * text.C (getWord): use Paragraph::isWord to decide what is in a
1709         word and what is not; fix bug 1609.
1710
1711 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1712
1713         * tex-strings.C: add "none" to string_paperpackages[], fixes
1714         off-by-one-error in the paperpackage selection.
1715
1716         * lyxlex.[Ch]:
1717         * tex-strings.[Ch]: char const * string[n]
1718         -> char const * const string[]
1719
1720 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1721
1722         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1723         command, return early.
1724
1725 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1726
1727         * debug.h: add DEBUG to enum and fix size of ANY.
1728
1729         * debug.C: add support for Debug::DEBUG
1730         (showTags): cast errorTags.level to unsigned int
1731
1732         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1733         (redoCurrentBuffer): ditto
1734         (updateScrollbar): ditto
1735         * cursor.C (dispatch): ditto
1736         * text2.C (setLayout): ditto
1737         (setFont): ditto
1738         (updateCounters): ditto
1739         (editXY): ditto
1740         (deleteEmptyParagraphMechanism): ditto
1741
1742 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1743
1744         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1745         annotations to cleanup the Makefile slightly.
1746
1747 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1748
1749         * lyxrc.C: do not set user_email to a default value but use empty
1750         instead. The entry used to be translated, which does not work
1751         since at the point where lyxrc is constructed there is no
1752         translation service available
1753
1754         * messages.C (getLocaleDir): remove and use directly
1755         lyx_localedir() instead
1756
1757 2004-06-02  Angus Leeming  <leeming@lyx.org>
1758
1759         Fix crash caused by dereferencing null pointer 'exportdata' in
1760         OutputParams by creating a new ExportData variable on the heap,
1761         storing it in a boost::shared_ptr.
1762         The crash was triggered when generating an Instant Preview
1763         of an external inset.
1764
1765         * Makefile.am: add outputparams.C
1766
1767         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1768         (c-tor): allocate memory to it.
1769
1770         * exporter.C (c-tor): associated changes.
1771
1772 2004-06-01  Angus Leeming  <leeming@lyx.org>
1773
1774         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1775         contains data before calling isInset(0). (Bug 1513.)
1776
1777 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1778
1779         * exporter.C (checkOverwrite): new method
1780         * exporter.C (copyFile): new method
1781         * exporter.C (Export): copy referenced files to the document dir
1782         * exporter.[Ch]: new class ExportedFile
1783         * exporter.[Ch]: new class ExportData. Contains currently the
1784         names of referenced external files
1785         * outputparams.h: add exportdata member.
1786
1787 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1788
1789         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1790         version.C-tmp
1791
1792 2004-05-19  Angus Leeming  <leeming@lyx.org>
1793
1794         * LaTeXFeatures.C:
1795         * ToolbarBackend.C:
1796         * bufferparams.C:
1797         * lyxfunc.C: small changes due to the introduction of namespace
1798         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1799
1800 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1801
1802         * text3.C (dispatch): supress update when only moving the cursor
1803         * cursor.C (selHandle): remove commented code
1804
1805 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1806
1807         * paragraph.C (startTeXParParams): correct column count
1808         * CutAndPaste.C (pasteSelection): remove const_cast
1809         * output_docbook.C (docbookParagraphs): remove const_cast
1810         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1811         const_cast and return ParagraphList::const_iterator
1812         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1813         * output_plaintext.C (writeFileAscii): remove const_cast
1814         * paragraph.[Ch] (simpleTeXOnePar): make const
1815         * paragraph_funcs.C (outerPar): use const iterators
1816         * paragraph_pimpl.C (validate): use const iterators
1817         * text.C (setHeightOfRow): use const iterators
1818
1819 2004-05-17  Angus Leeming  <leeming@lyx.org>
1820
1821         * lfuns.h:
1822         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1823
1824         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1825         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1826         if the citation engine has changed.
1827
1828 2004-05-14  José Matos  <jamatos@lyx.org>
1829
1830         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1831         if the textclass does not provide it. Have it different for sgml and
1832         xml.
1833         support the language of document.
1834         * output_docbook.C (docbookParagraphs):
1835         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1836         first anchor as the id of the paragraph, remove special case code.
1837         * sgml.C (escapeChar): escape only < & >.
1838
1839 2004-05-14  Angus Leeming  <leeming@lyx.org>
1840
1841         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1842         dependencies on src/frontends/controllers/biblio.h. Define a
1843         CiteEngine_enum wrapper class to enable the enum to be forward
1844         declared.
1845
1846 2004-05-12  Angus Leeming  <leeming@lyx.org>
1847
1848         * buffer.C: up LYX_FORMAT to 234.
1849         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1850         use_numerical_citations with a single biblio::CiteEngine cite_engine
1851         variable.
1852         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1853
1854 2004-05-13  José Matos  <jamatos@lyx.org>
1855
1856         * converter.h:
1857         * converter.C (Converter, readFlags): add xml member.
1858         * outputparams.h: add XML flavor.
1859         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1860
1861 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1862
1863         * lyxfunc.C (dispatch):
1864         (getStatus): fix handling of LFUN_SEQUENCE
1865
1866 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1867
1868         * debug.C (showLevel): do not forget the end-of-line marker
1869
1870 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1871
1872         * kbmap.C (read): do not stop parsing a bind file when an error
1873         occurs (bug 1575)
1874
1875 2004-04-29  Angus Leeming  <leeming@lyx.org>
1876
1877         * cursor.C:
1878         * factory.C:
1879         * pariterator.C:
1880         * text2.C: wrap a bunch of #warning statements
1881         inside #ifdef WITH_WARNINGS blocks.
1882
1883 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1884
1885         * buffer.C: increment format to 233.
1886
1887 2004-04-28  Angus Leeming  <leeming@lyx.org>
1888
1889         * BufferView_pimpl.C:
1890         * lyxfunc.C:
1891         * text3.C:
1892         s/updateToolbar()/updateToolbars()/
1893         s/Toolbar.h/Toolbars.h/
1894
1895 2004-04-28  Angus Leeming  <leeming@lyx.org>
1896
1897         * BufferView.[Ch] (c-tor):
1898         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1899         No longer passes these data to the WorkArea generator.
1900
1901 2004-04-28  Angus Leeming  <leeming@lyx.org>
1902
1903         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1904
1905 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1906
1907         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1908
1909 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1910
1911         * output_latex.C (TeXEnvironment): make sure that there is a line
1912         break before \end{foo} for the last paragraph of a document
1913         (TeXOnePar): if the paragraph is at the end of the document (or
1914         inset) and the language has to be reset, then make sure that the
1915         line break is _before_ the language command, not after (fixes bug
1916         1225); also make sure that the language reset command is the first
1917         thing after the paragraph (to ensure proper nesting of
1918         environments and thus fix bug 1404)
1919
1920 2004-04-21  John Levon  <levon@movementarian.org>
1921
1922         * ToolbarBackend.h:
1923         * ToolbarBackend.C: make "name" be a programmatic name
1924         and a gui_name field.
1925
1926         * lyxfunc.C: display the minibuffer on M-x
1927
1928 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1931         (bug 1526)
1932
1933 2004-04-19  Angus Leeming  <leeming@lyx.org>
1934
1935         * BufferView_pimpl.C (setBuffer): changed preview interface.
1936
1937         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1938         possible values.
1939
1940 2004-04-19  John Levon  <levon@movementarian.org>
1941
1942         * BufferView_pimpl.C:
1943         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1944
1945 2004-04-05  Angus Leeming  <leeming@lyx.org>
1946
1947         * text.C (redoParagraphs): add call to updateCounters(), thereby
1948         fixing the missing "Figure #:" label from the caption of a
1949         figure float.
1950
1951 2004-04-13  Angus Leeming  <leeming@lyx.org>
1952
1953         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1954         cursor is clicked out of an inset.
1955
1956 2004-04-13  Angus Leeming  <leeming@lyx.org>
1957
1958         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1959         than an InsetOld one.
1960
1961 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1962
1963         * format.[Ch]: add editor to Format
1964         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1965         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1966
1967 2004-04-08  André Pönitz  <poenitz@gmx.net>
1968
1969         * metricsinfo.h: remove PainterInfo::width member
1970
1971 2004-04-08  Angus Leeming  <leeming@lyx.org>
1972
1973         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1974         "\providecommand" rather than "\newcommand", thereby preventing
1975         clashes with packages that define "\boldsymbol" themselves.
1976         Eg, beamer.
1977
1978 2004-04-08  Angus Leeming  <leeming@lyx.org>
1979
1980         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1981         thereby squashing an unnecessary warning.
1982
1983 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1984
1985         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1986         setBuffer()
1987
1988 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1989
1990         * BufferView.C (setCursor): call redoParagraph (some insets could
1991         have been opened)
1992         (putSelectionAt): remove the 'double update' trick
1993
1994         * BufferView_pimpl.C (fitCursor): call refreshPar
1995         (workAreaDispatch): remove an uneeded update call
1996         (dispatch): remove some manual update calls
1997
1998         * cursor.[Ch]: remove cached_y_, updatePos
1999         (selHandle): set noUpdate when appropriate
2000
2001         * lyxfunc.C (dispatch): track if we need an update
2002
2003         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2004
2005         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2006         (paintSelection): cheap optimization, do not call cursorX when not
2007         needed
2008         (paintPars): change signature
2009         (refreshPar): add
2010         (paintText): adjust
2011         (paintTextInset): adjust
2012
2013         * text.C: adjust
2014
2015 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2016
2017         * lengthcommon.C: compilation fix: remove explicit array size from
2018         unit_name[] and friends
2019
2020 2004-04-05  Angus Leeming  <leeming@lyx.org>
2021
2022         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2023
2024         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2025         present only for the preferences dialog.
2026         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2027
2028 2004-04-05  Angus Leeming  <leeming@lyx.org>
2029
2030         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2031         to enable the frontends to export changes to lyxrc correctly.
2032
2033         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2034
2035 2004-04-07  André Pönitz  <poenitz@gmx.net>
2036
2037         * cursor.[Ch] (selClear, adjust): remove math
2038
2039         * cursor_slice.C: more agressive assert
2040
2041         * lyxfunc.C:
2042         * BufferView_pimpl.C: rework mouse event dispatch
2043
2044         * dociterator.C:
2045         * paragraph.C:
2046         * text2.C:
2047         * text3.C: adjust
2048
2049 2004-04-05  André Pönitz  <poenitz@gmx.net>
2050
2051         * cursor.[Ch] (valign, halign...): remove unneeded functions
2052
2053 2004-04-05  Angus Leeming  <leeming@lyx.org>
2054
2055         * lyxlength.[Ch] (unit_name et al.): const-correct.
2056
2057 2004-04-05  Angus Leeming  <leeming@lyx.org>
2058
2059         * BufferView_pimpl.C:
2060         * buffer.C:
2061         * counters.C:
2062         * cursor.C:
2063         * lyxfunc.C
2064         * paragraph.C:
2065         * pariterator.C:
2066         * text.C:
2067         * text2.C:
2068         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2069
2070 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2071
2072         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2073
2074 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2075
2076         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2077         * BufferView_pimpl.[Ch] (getStatus)
2078         * BufferView.[Ch] (getStatus): add
2079         * lyxfunc.C (getStatus): move lfuns handled in
2080         BufferView::dispatch to te function above
2081         * Cursor.C (setSelection): set selection() = true
2082
2083 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2084
2085         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2086
2087 2004-03-31  Angus Leeming  <leeming@lyx.org>
2088
2089         * lyxfunc.C (dispatch): Fall through to the generic
2090         Dialogs::show("preamble").
2091
2092 2004-03-31  Angus Leeming  <leeming@lyx.org>
2093
2094         * lyxfunc.C (dispatch): Fall through to the generic
2095         Dialogs::show("spellchecker").
2096
2097 2004-03-31  Angus Leeming  <leeming@lyx.org>
2098
2099         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2100         preferences dialog.
2101
2102 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2103
2104         * BufferView.C
2105         * cursor.[Ch]
2106         * dociterator.[Ch]:
2107         * insetiterator.[Ch]:
2108         * lyxfind.C:
2109         * lyxfunc.C:
2110         * pariterator.[Ch]:
2111         * text2.C:
2112         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2113
2114 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2115
2116         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2117         insets where we are putting the cursor.
2118
2119 2004-03-31  Angus Leeming  <leeming@lyx.org>
2120
2121         * lfuns.h:
2122         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2123
2124         * lyxrc.[Ch] (read, write): overloaded member functions taking
2125         a std::[io]stream arguments.
2126
2127         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2128
2129 2004-03-31  Angus Leeming  <leeming@lyx.org>
2130
2131         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2132         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2133
2134         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2135         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2136
2137 2004-03-31  Angus Leeming  <leeming@lyx.org>
2138
2139         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2140         the LFUN_ALL_INSETS_TOGGLE code.
2141
2142 2004-03-30  Angus Leeming  <leeming@lyx.org>
2143
2144         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2145         has died. Fall through to the generic Dialogs::show("document").
2146
2147 2004-03-30  Angus Leeming  <leeming@lyx.org>
2148
2149         * lfuns.h:
2150         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2151         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2152
2153         * lyxfunc.C (getStatus, dispatch): define the actions for these
2154         lfuns. Little more than a cut and pste job from ControlDocument.C
2155
2156         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2157
2158 2004-03-30  Angus Leeming  <leeming@lyx.org>
2159
2160         * lfuns.h:
2161         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2162         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2163
2164         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2165         open/closed state of ollapsable insets. Usage:
2166
2167         all-inset-toggle <state> <name>, where
2168         <state> == "open" || "closed" || "toggle" and
2169         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2170
2171         * lyxtext.h, text2.C (toggleInset): removed.
2172
2173         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2174         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2175         now passes LFUN_INSET_TOGGLE to the found inset.
2176
2177         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2178         is now invoked as "all-insets-toggle toggle branch".
2179
2180 2004-03-30  Angus Leeming  <leeming@lyx.org>
2181
2182         * dociterator.C:
2183         * insetiterator.C:
2184         * pariterator.[Ch]: added/corrected header blurb.
2185
2186 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2187
2188         * dociterator.[Ch]: add an inset_ member
2189         (backwardPos): implemented
2190         (backwardPos, forwardPos): use inset_ when the stack is empty.
2191         (doc_iterator_begin, doc_iterator_end): implemented
2192         * pariterator.[Ch]: adjust, add begin, end
2193         * insetiterator.[Ch]: adjust, add begin, end
2194         * cursor.C:
2195         * document.C:
2196         * BufferView.C:
2197         * BufferView_pimpl.C:
2198         * CutAndPaste.C: adjust
2199
2200 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2201
2202         * buffer.C: increment file format to 232.
2203         * LaTeXFeatures.C: add bibtopic package.
2204         * bufferparams.[Ch]: param \use_bibtopic.
2205
2206         * lyxrc.[Ch]: add lyxrc bibtex_command
2207         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2208
2209         * buffer.C: increment file format to 231.
2210
2211 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2212
2213         * dociterator.C: implement forwardPar
2214         * iterators.[Ch]: remove, replaced by
2215         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2216         * BufferView.C:
2217         * BufferView_pimpl.C:
2218         * CutAndPaste.C:
2219         * buffer.C:
2220         * bufferview_funcs.C:
2221         * cursor.C:
2222         * lyxfind.C
2223         * lyxfunc.C
2224         * paragraph_funcs.C
2225         * toc.C:
2226         * Makefile.am: adjust
2227
2228 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2229
2230         * CutAndPaste.C (pasteSelection): fix 2 crashes
2231         (eraseSelection): fix a crash
2232         * paragraph_funcs.C: remove a warning
2233
2234 2004-03-28  Angus Leeming  <leeming@lyx.org>
2235
2236         * lfuns.h:
2237         * LyXAction.C (init): new LFUN_PRINT.
2238
2239         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2240
2241 2004-03-27  Angus Leeming  <leeming@lyx.org>
2242
2243         * lfuns.h:
2244         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2245
2246         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2247
2248 2004-03-27  Angus Leeming  <leeming@lyx.org>
2249
2250         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2251         insetlist always contains non-null pointers to insets.
2252
2253 2004-03-26  Angus Leeming  <leeming@lyx.org>
2254
2255         * src/BufferView_pimpl.C:
2256         * src/CutAndPaste.C:
2257         * src/buffer.C:
2258         * src/iterators.C:
2259         * src/output_plaintext.C:
2260         * src/outputparams.h:
2261         * src/paragraph_funcs.C:
2262         * src/rowpainter.C:
2263         * src/text.C:
2264         * src/text2.C:
2265         * src/frontends/controllers/ControlErrorList.C:
2266         * src/frontends/gtk/FileDialogPrivate.C:
2267         * src/frontends/gtk/GPainter.C:
2268         * src/frontends/gtk/GToolbar.C:
2269         * src/frontends/qt2/QRef.C:
2270         * src/mathed/math_scriptinset.C: squash compiler warnings.
2271
2272 2004-03-26  Angus Leeming  <leeming@lyx.org>
2273
2274         * ispell.C (LaunchIspell::start):
2275         * lyx_cb.C (AutoSaveBuffer::start):
2276         invoke run(DontWait) rather than runNonBlocking().
2277
2278 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2279
2280         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2281
2282 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * kbsequence.C (print): adjust
2285
2286         * kbmap.C (printKeySym): rename and change signature
2287         (printKey): use LyXKeySym::print()
2288
2289 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2290
2291         * undo.C: add using std::advance to compile for stlport
2292
2293 2004-03-24  Angus Leeming  <leeming@lyx.org>
2294
2295         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2296         it leads to a crash when no buffer is present.
2297
2298 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2299             Martin Vermeer  <martin.vermeer@hut.fi>
2300
2301         * lyxfunc.C (dispatch):
2302         * bufferparams.C (readToken): use the new LColor::setColor
2303
2304         * LColor.[Ch] (setColor): new version that takes two strings as
2305         argument and creates a new color entry if necessary
2306
2307 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2308
2309         * buffer.C (makeLaTeXFile): if the main latex file that is
2310         processed is usually a subdocument of some master, then pretend
2311         for a while that it is actually the master
2312
2313 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2314
2315         * buffer.C (getLabelList):
2316         (getBibkeyList): use getMasterBuffer()
2317         (getMasterBuffer): new method. Returns the main document in the
2318         case where one is using included documents.
2319
2320 2004-03-25  André Pönitz  <poenitz@gmx.net>
2321
2322         * Makefile.am:
2323         * iterators.[Ch]:
2324         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2325
2326         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2327
2328         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2329         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2330
2331         * ParameterStruct.h: merge with ParagraphParameters
2332
2333         * lyxtext.h: remove LyXText::parOffset() and getPar()
2334
2335         * text3.C: Remove all 'manual' update calls. We do now one per user
2336         interaction which is completely sufficient.
2337
2338         * Bidi.C:
2339         * BufferView.[Ch]:
2340         * BufferView_pimpl.C:
2341         * FontIterator.[Ch]:
2342         * MenuBackend.C:
2343         * ParagraphParameters.[Ch]:
2344         * buffer.C:
2345         * buffer.h:
2346         * bufferlist.C:
2347         * cursor.[Ch]:
2348         * cursor_slice.[Ch]:
2349         * dociterator.[Ch]:
2350         * errorlist.[Ch]:
2351         * factory.C:
2352         * lfuns.h:
2353         * lyxfind.C:
2354         * lyxfunc.C:
2355         * output_docbook.[Ch]:
2356         * output_latex.[Ch]:
2357         * output_linuxdoc.[Ch]:
2358         * output_plaintext.[Ch]:
2359         * paragraph.[Ch]:
2360         * paragraph_funcs.[Ch]:
2361         * paragraph_pimpl.[Ch]:
2362         * rowpainter.C:
2363         * tabular.[Ch]:
2364         * text.C:
2365         * text2.C:
2366         * toc.C:
2367         * undo.[Ch]: adjust
2368
2369         * frontends/controllers/ControlDocument.C:
2370         * frontends/controllers/ControlErrorList.C:
2371         * frontends/controllers/ControlSpellchecker.C:
2372         * insets/inset.C:
2373         * insets/inset.h:
2374         * insets/insetbase.h:
2375         * insets/insetbibitem.C:
2376         * insets/insetbox.C:
2377         * insets/insetbranch.C:
2378         * insets/insetcaption.C:
2379         * insets/insetcharstyle.C:
2380         * insets/insetcharstyle.h:
2381         * insets/insetcollapsable.C:
2382         * insets/insetcollapsable.h:
2383         * insets/insetert.C:
2384         * insets/insetfloat.C:
2385         * insets/insetfoot.C:
2386         * insets/insetmarginal.C:
2387         * insets/insetnote.C:
2388         * insets/insetoptarg.C:
2389         * insets/insettabular.C:
2390         * insets/insettext.C:
2391         * insets/insettext.h:
2392         * insets/insetwrap.C:
2393         * mathed/math_mboxinset.C:
2394         * mathed/math_nestinset.C:
2395         * mathed/math_scriptinset.C:
2396         * mathed/math_scriptinset.h:
2397         * support/types.h:
2398
2399 2004-03-24  Angus Leeming  <leeming@lyx.org>
2400
2401         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2402         deal with any child processes that have finished but are waiting to
2403         communicate this fact to the rest of LyX.
2404
2405 2004-03-24  Angus Leeming  <leeming@lyx.org>
2406
2407         64-bit compile fixes.
2408
2409         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2410         (c-tor): pass lyx::pos_types rather than ints.
2411
2412         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2413         lyx::pos_type.
2414
2415         * text.C (Delete): compile fix.
2416         (getPar): ensure that function declaration is the same as that in
2417         the header file.
2418
2419 2004-03-23  Angus Leeming  <leeming@lyx.org>
2420
2421         * ispell.C (LaunchIspell):
2422         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2423         a boost::shred_ptr rather than a std::auto_ptr.
2424
2425 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2426
2427         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2428         handle LFUN_FILE_INSERT_*
2429
2430         * lyxrc.C (setDefaults, getDescription, output, read):
2431         * lyxrc.h: remove ps_command
2432
2433 2004-03-22  Angus Leeming  <leeming@lyx.org>
2434
2435         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2436         Ensure that error_handler is processed once only and that all data
2437         is saved before attempting to output any warning messages.
2438
2439         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2440
2441 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2442
2443         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2444
2445 2004-03-19  André Pönitz  <poenitz@gmx.net>
2446
2447         * cursor.[Ch] (reset): take main text inset as argument
2448
2449         * BufferView: adjust
2450         * BufferView_pimpl.C: adjust
2451
2452         * paragraph.[Ch]: fix completely broken operator=()
2453
2454 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2455
2456         * LColor.C (getFromLyXName): make sure that the color name is used
2457         as lowercase.
2458
2459 2004-03-17  Angus Leeming  <leeming@lyx.org>
2460
2461         * lfuns.h:
2462         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2463
2464         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2465         dialog and to kill a forked process.
2466
2467 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2468
2469         * text2.C (setCursorFromCoordinates): fix font problem
2470
2471 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2474         bogus "rebuild cursor" code
2475
2476 2004-03-11  André Pönitz  <poenitz@gmx.net>
2477
2478         * buffer.[Ch]: use InsetText instead of LyXText as container for
2479         the main lyx text.
2480
2481         * dociterator.[Ch]: drop the BufferView * member which is not needed
2482         anymore after the change to buffer.C
2483
2484         * paragraph_funcs.C:
2485         * text.C:
2486         * text2.C:
2487         * BufferView.[Ch]:
2488         * BufferView_pimpl.[Ch]:
2489         * cursor.[Ch]:
2490         * cursor_slice.[Ch]: adjust
2491
2492         * text3.C: fix bug in mathDispatch
2493
2494 2004-03-08  André Pönitz  <poenitz@gmx.net>
2495
2496         * undo.[Ch]: use 'StableDocumentIterator' as base for
2497         the Undo struct.
2498
2499 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2500
2501         * LaTeXFeatures.C:
2502         * bufferparams.[Ch]: add jurabib support and param.
2503
2504         * LaTeX.C: add FIXME/comment.
2505
2506 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2507
2508         * buffer.C: increment file format to 230.
2509
2510 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2511
2512         * cursor.C (dispatch): avoid infinite loops
2513
2514 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * rowpainter.C (paintSelection): fix x coordinates
2517
2518 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2519
2520         * text.C (rowBreakPoint): fix breaking before displayed insets
2521
2522 2004-03-01  André Pönitz  <poenitz@gmx.net>
2523
2524         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2525
2526         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2527
2528         * Makefile.am:
2529         * BufferView.C:
2530         * BufferView_pimpl.C:
2531         * buffer.C:
2532         * lyxfind.C:
2533         * lyxfunc.C:
2534         * text.C:
2535         * text2.C:
2536         * text3.C: adjust
2537
2538 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2539
2540         * lyxtext.h:
2541         * text.C:
2542         * text2.C:
2543         * rowpainter.C:
2544         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2545         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2546
2547 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2548
2549         * Bidi.[Ch] (computeTables): const correctness
2550         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2551         fill_hfill, fill_label_hfill and x from Row
2552         * lyxtext.h: prepareToPrint returns a RowMetrics
2553         * rowPainter.C: adjust
2554         * text.C (prepareToPrint): use width, not textWidth. adjust
2555         (redoParagraphInternal, cursorX): adjust
2556         * text2.C (getColumnNearX): adjust
2557         (init): put a default value to the top LyXText::width
2558
2559 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2560
2561         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2562
2563 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2564
2565         * lyxtext.h: add FontIterator class
2566
2567         * text.C (FontIterator, operator*, operator->, operator++): add
2568         (rowBreakPoint, setRowWidth): adjust (fixing a
2569         rebreaking bug)
2570
2571 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2572
2573         * BufferView_pimpl.C (workAreaDispatch): allow also
2574         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2575
2576 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * text.C (rowBreakPoint): fix a bug showing with very large insets
2579
2580 2004-02-25  André Pönitz  <poenitz@gmx.net>
2581
2582         * text3.C:
2583         * cursor.[Ch]: move some mathed specific code to mathed
2584
2585 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2586
2587         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2588         use_tempdir in preferences
2589         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2590         tempfile creation
2591         * lyx_main.C: ensure that tempdir is valid
2592         * lyxlex.h: correct typo
2593         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2594         * paragraph.[Ch] (isMultiLingual): make const
2595         * cursor.[Ch] (openable): make const
2596
2597 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2598
2599         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2600
2601 2004-02-20  André Pönitz  <poenitz@gmx.net>
2602
2603         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2604
2605         * cursor.[Ch]: prepare for localized getStatus()
2606
2607         * lyxtext.h:
2608         * tabular.C:
2609         * text.C:
2610         * text2.C:
2611         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2612
2613 2004-02-20  André Pönitz  <poenitz@gmx.net>
2614
2615         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2616
2617 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2618
2619         * text2.C (setCursorFromCoordinates): switch to absolute coords
2620         (cursorUp): adjust
2621         (cursorDown): adjust
2622         * text3.C (dispatch): adjust
2623
2624 2004-02-16  André Pönitz  <poenitz@gmx.net>
2625
2626         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2627           insets/ChangeLog)
2628
2629         * cursor_slice.[Ch]: remove unneeded acessor function
2630
2631         * lyxtext.h: rename rtl() to isRTL()
2632
2633         * rowpainter.C:
2634         * tabular.C:
2635         * text.C:
2636         * text2.C:
2637         * text3.C: adjust
2638
2639 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2640
2641         * rowpainter.C (paintSelection): coord fix
2642
2643 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2644
2645         * Spacing.C: compile fix
2646
2647 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2648
2649         * cursor.C (dispatch): restore current_ before returning
2650
2651 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2652
2653         * text2.C (cursorUp, cursorDown): fix coords
2654         (moveUp): fix crash
2655
2656 2004-02-12  André Pönitz  <poenitz@gmx.net>
2657
2658         * lyxtext.h:
2659         * text.C:
2660         * text2.C:
2661         * text3.C: add LCursor & parameter to most cursor movement functions
2662           remove usage of LyXText::cursorRow() and cursorPar()
2663
2664         * cursor.[Ch]: add textRow() needed members
2665
2666         * BufferView.C:
2667         * BufferView_pimpl.C:
2668         * paragraph.[Ch]:
2669         * BufferView.C:
2670         * BufferView_pimpl.C: adjust
2671
2672 2004-02-11  André Pönitz  <poenitz@gmx.net>
2673
2674         * lyxfunc.C:
2675         * BufferView.[Ch]:
2676         * BufferView_pimpl.C: shift undo/redo handling
2677
2678         * cursor.[Ch]: fix mathed crash
2679
2680         * lyxfind.C:
2681         * lyxtext.h: move selectionAsText to LCursor
2682
2683         * output_latex.C:
2684         * paragraph.C:
2685         * text.C:
2686         * text2.C:
2687         * text3.C: adjust
2688
2689         * rowpainter.C: fix excessive drawing
2690
2691 2004-02-06  André Pönitz  <poenitz@gmx.net>
2692
2693         * BufferView.[Ch]:
2694         * BufferView_pimpl.[Ch]:
2695         * text3.C: move some text specific LFUN handling
2696
2697 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2698
2699         * text3.C (checkInsetHit): adjust coords
2700         * text2.C (getColumnNearX): adjust coords
2701         (edit): adjust coords
2702         * text.C (getRowNearY): add two asserts
2703
2704 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2705
2706         * converter.C:
2707         * format.C: add using std::distance to compile on gcc 2.95/stlport
2708
2709 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2710
2711         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2712
2713 2004-02-04  André Pönitz  <poenitz@gmx.net>
2714
2715         * BufferView.[Ch] (insertInset):
2716         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2717
2718         * text2.C:
2719         * text3.C: adjust
2720
2721 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2722
2723         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2724         on the default clause of the switch
2725         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2726         wasn't catched by LCursor::dispatch
2727
2728 2004-02-03  André Pönitz  <poenitz@gmx.net>
2729
2730         * BufferView.C:
2731         * cursor.[Ch]: some additional asserts
2732
2733         * undo.[Ch]: remove LyXText dependency in interface
2734
2735         * lyxfunc.C: adjust
2736
2737         * lyxtext.h (firstPar, lastPar): remove dead functions
2738
2739         * text.C:
2740         * text2.C:
2741         * text3.C:
2742         * paragraph.[Ch]: adjust
2743
2744 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2745
2746         * lyxfind.C (find): fix argument order in call to ::find
2747
2748 2004-02-02  André Pönitz  <poenitz@gmx.net>
2749
2750         * cursor.[Ch]: remove direct access to anchor
2751
2752         * text.C: remove findText() hack
2753
2754 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2755
2756         * iterators.[Ch] (lockPath): remove in favour of...
2757         * BufferView.[Ch] (setCursor): this addition
2758         * BufferView.C (putSelectionAt): adjust
2759         * undo.C (performUndoOrRedo): adjust
2760         * lyxfunc.C (dispatch): adjust
2761
2762 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * iterators.C (lockPath): add a missing slice
2765         * undo.C (performUndoOrRedo): remove redundant positioning code
2766
2767 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2768
2769         * vc-backend.C (scanMaster): ";" -> ';'
2770
2771 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2772
2773         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2774         std::binary_function
2775
2776         * lyxtextclass.C (compare_name): rename to...
2777         (LayoutNamesEqual): ...this
2778
2779         * lyxlex_pimpl.C (compare_tags): inherit from
2780         std::binary_function, put back into anon namespace
2781
2782         * lyxfind.C (MatchString): inherig from std::binary_function
2783         (findChange): use empty() istead of !size()
2784
2785         * format.C (FormatNamesEqual): new functor
2786         (getFormat): use it
2787         (getNumber): use it
2788         (add): use it
2789         (erase): use it
2790         (setViewer): use it
2791
2792         * converter.C (compare_Converter): rename to...
2793         (ConverterEqual): ...this, and fixup a bit.
2794         (getConverter): use it, and make function const
2795         (getNumber): use it, and make function const
2796         (add): use it
2797         (erase): use it:
2798
2799         * bufferlist.C: add using boost::bind
2800
2801         * MenuBackend.C (MenuNamesEqual): new functor
2802         (hasMenu): use it, and make function const
2803         (hasSubmenu): use nested bind to get rid of compare_memfun.
2804
2805 2004-01-30  André Pönitz  <poenitz@gmx.net>
2806
2807         * BufferView_pimpl.C:
2808         * cursor.C:
2809         * cursor.h:
2810         * cursor_slice.[Ch]:
2811         * lyxfunc.C:
2812         * lyxtext.h:
2813         * paragraph_funcs.C:
2814         * paragraph_funcs.h:
2815         * rowpainter.C:
2816         * text.C:
2817         * text2.C:
2818         * text3.C: move some of the edit(x,y) handling to the insets
2819         some coordinate changes.
2820
2821 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2822
2823         * text.C: add using statements for std::advance and std::distance
2824
2825         * paragraph.C: add using statement for std::distance
2826
2827         * lyxfind.C: add using statement for std::advance
2828
2829         * cursor.C (region): remove std:: from swap
2830         (openable): use nucleus in stead of operator->
2831
2832         * BufferView.C: add using statements for std::distance and std::swap
2833
2834 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2835
2836         * iterators.C: Remove the pimple, move the needed structures to
2837         the header file. Create accessor for the positions stack.
2838         (asPosIterator): remove function
2839
2840         * PosIterator.C (PosIterator): move constructors to top of file
2841         (PosIterator): reimplement the constructor taking a ParIterator in
2842         terms of setFrom.
2843         (setFrom): new function
2844         (operator!=): inline it
2845
2846 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2847
2848         * lyxfind.C (replaceAll): use std::advance
2849
2850         * iterators.h: inherit from std::iterator.
2851
2852         * PosIterator.C (advance, distance): remove
2853         * PosIterator.h: interit from std::iterator.
2854
2855 2004-01-26  André Pönitz  <poenitz@gmx.net>
2856
2857         * BufferView.[Ch]:
2858         * BufferView_pimpl.[Ch]:
2859         * InsetList.[Ch]:
2860         * PosIterator.[Ch]:
2861         * buffer.h:
2862         * bufferview_funcs.C:
2863         * cursor.[Ch]:
2864         * cursor_slice.h:
2865         * factory.[Ch]:
2866         * iterators.[Ch]:
2867         * lyxfind.C:
2868         * lyxfunc.C:
2869         * lyxtext.h:
2870         * output_docbook.C:
2871         * output_latex.C:
2872         * output_linuxdoc.C:
2873         * output_plaintext.C:
2874         * paragraph.[Ch]:
2875         * paragraph_funcs.[Ch]:
2876         * paragraph_pimpl.[Ch]:
2877         * rowpainter.C:
2878         * tabular.C:
2879         * tabular.h:
2880         * text.C:
2881         * text2.C:
2882         * text3.C: more IU:  dumps most of the rest of the mathcursor
2883     implementation into cursor.[Ch]; "globalize" a bit of it.
2884
2885 2004-01-25  Angus Leeming  <leeming@lyx.org>
2886
2887         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2888
2889 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2890
2891         * LaTeXFeatures.h: add nice_ and nice() const
2892         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2893
2894 2004-01-20  André Pönitz  <poenitz@gmx.net>
2895
2896         * BufferView.[Ch]:
2897         * BufferView_pimpl.C:
2898         * PosIterator.C:
2899         * bufferview_funcs.C:
2900         * cursor.[Ch]:
2901         * cursor_slice.[Ch]:
2902         * factory.C:
2903         * iterators.C:
2904         * lyx_cb.C:
2905         * lyxfind.C:
2906         * lyxfunc.C:
2907         * lyxtext.h:
2908         * rowpainter.C:
2909         * text.C:
2910         * text2.C:
2911         * text3.C:
2912         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2913           LCursor and mathcursor parts to LCursor and InsetBase.
2914
2915 2004-01-15  André Pönitz  <poenitz@gmx.net>
2916
2917         * cursor_slice.[Ch]: add a few covienience functions
2918
2919         * funcrequest.[Ch]: remove BufferView * member
2920
2921         * BufferView_pimpl.C:
2922         * cursor.C:
2923         * factory.[Ch]:
2924         * lyxfind.[Ch]:
2925         * lyxfunc.C:
2926         * lyxtext.h:
2927         * text3.C:
2928         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2929
2930 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2933         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2934
2935 2004-01-13  André Pönitz  <poenitz@gmx.net>
2936
2937         * textcursor.[Ch]:
2938         * lyxtext.h: hide cursor and selection anchor behind accessor function
2939
2940         * BufferView.C:
2941         * BufferView_pimpl.[Ch]:
2942         * PosIterator.C:
2943         * bufferview_funcs.C:
2944         * cursor.h:
2945         * lyxfind.C:
2946         * lyxfunc.C:
2947         * text.C:
2948         * text2.C:
2949         * text3.C:
2950         * undo.C: adjust
2951
2952         * cursor.h:
2953         * cursor_slice.[Ch]: some integer type changes for inset unification
2954
2955         * lyxcursor.[hC]: remove, it's CursorSlice now.
2956
2957         * Makefile.am:
2958         * BufferView_pimpl.[Ch]:
2959         * bufferview_funcs.C:
2960         * cursor_slice.C:
2961         * lyxtext.h:
2962         * text.C:
2963         * text2.C:
2964         * text3.C:
2965         * textcursor.[Ch]: adjust
2966
2967 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2968
2969         * text2.C (undoSpan): add and use
2970         * text.C (breakParagraph): use undoSpan (fix bug 578)
2971         * lyxtext.h: adjust
2972
2973 2004-01-08  Angus Leeming  <leeming@lyx.org>
2974
2975         * BufferView_pimpl.C (MenuInsertLyXFile):
2976         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2977         * lyxfunc.C (menuNew, open, doImport):
2978         FileFilterList change to the FileDialog open and save functions.
2979
2980 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2981
2982         * ShareContainer.h: make isEqual and isUnique adaptable
2983
2984         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2985
2986 2004-01-07  Angus Leeming  <leeming@lyx.org>
2987
2988         * LyXAction.C:
2989         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2990
2991         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2992
2993         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2994         functions replacing find, replace and replaceAll.
2995
2996         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2997         LFUN_WORDFIND(FORWARD|BACKWARD).
2998
2999 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3000
3001         * text.C (breakParagraph): remove an outdated #warning
3002
3003 2004-01-07  André Pönitz  <poenitz@gmx.net>
3004
3005         * lyxfind.C: somewhat clearer logic
3006
3007         * text.C: prevent crash in cursorX on unitialized row cache
3008
3009 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * lyxcursor.[Ch] (operator>): add
3012         * textcursor.C (selStart, selEnd): use std::min and std::max
3013
3014 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3015
3016         * Chktex.C: include boost/format.hpp
3017
3018 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3019
3020         * InsetList.C: replace functor MathcIt with adaptable functor
3021         InsetTablePosLess
3022         (insetIterator): modify accordingly
3023
3024         * BranchList.h: move the BranchNamesEqual functor here from...
3025         * BranchList.C: ... to here
3026
3027         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3028         SameName and match.
3029         (add): replace a finding loop with std::find_if.
3030
3031 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3032
3033         * output_docbook.C: moving LatexParam functionality into
3034         .layout files
3035
3036 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3037
3038         * buffer.C: increment format to 229.
3039
3040 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3041
3042         * LaTeXFeatures.C:
3043         * lyx_sty.[Ch]: remove minipageindent_def
3044
3045         * LyXAction.C:
3046         * factory.C:
3047         * lfuns.h:
3048         * lyxfunc.C:
3049         * text3.C: remove LFUN_INSET_MINIPAGE
3050
3051 2003-12-28  Angus Leeming  <leeming@lyx.org>
3052
3053         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3054
3055 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * text2.C (setParagraph): fix off-by-one crash
3058
3059 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3060
3061         * output_docbook.C: header stuff for AGU
3062
3063 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3064
3065         * text2.C (redoCursor): remove
3066         * text.C:
3067         * text3.C:
3068         * BufferView_pimpl.C: remove calls to redoCursor and
3069         setCursor(cursor.par(), cursor.pos()) all around
3070
3071 2003-12-15  Angus Leeming  <leeming@lyx.org>
3072
3073         * buffer.C: up the format to 228.
3074
3075 2003-12-15  André Pönitz  <poenitz@gmx.net>
3076
3077         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3078         slices
3079
3080         * Makefile.am:
3081
3082         * BufferView_pimpl.C:
3083         * cursor.[Ch]:
3084         * lyxcursor.[Ch]:
3085         * rowpainter.[Ch]:
3086         * lyxtext.h:
3087         * text.C:
3088         * text2.C:
3089         * text3.C: adjust
3090
3091 2003-12-15  Angus Leeming  <leeming@lyx.org>
3092
3093         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3094         than getFromGUIName to manipulate the color.
3095
3096 2003-12-14  Angus Leeming  <leeming@lyx.org>
3097
3098         * BranchList.[Ch]: minimize the API.
3099         (Branch::getBranch, getColor): now return a 'const &'.
3100         (Branch::setSelected) now returns a bool set to true if the
3101         selection status changes.
3102         (BranchList::clear, size, getColor, setColor, setSelected,
3103         allBranches, allSelected, separator): removed.
3104         (BranchList::find): new functions, returning the Branch with
3105         the given name.
3106         (BranchList::add, remove): return a bool indicating that
3107         the operation was successful.
3108
3109         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3110         new InsetBranch::isBranchSlected member function.
3111
3112         * LColor.[Ch]: mimimize the API.
3113         (fill): renamed as addColor and made private.
3114         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3115         versions of these functions taking a string arg have been removed.
3116
3117         * bufferparams.C (readToken):
3118         * lyxfunc.C (dispatch):
3119         * lyxrc.C (read): changes due to the altered BranchList and
3120         LColor APIs.
3121
3122         * factory.C (createInset, readInset): changes due to altered
3123         InsetBranch c-tor.
3124
3125 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3126
3127         * factory.C:
3128         * lyxfunc.C: remove insetminipage. "minipage-insert"
3129         now produces a frameless minipage box inset.
3130
3131 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3132
3133         * textcursor.[Ch] (selStart,selEnd): add new methods
3134         remove selection::start, end, use LyXCursor::operator<
3135         * lyxcursor.[Ch] (operator<): add
3136         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3137         * BufferView.[Ch] (unsetXSel): add
3138         * text2.C (clearSelection): use unsetXSel,adjust
3139         * text.C: adjust
3140         * text3.C: adjust
3141         * rowpainter.C: adjust
3142         * bufferview_funcs.C (put_selection_at): adjust
3143
3144 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3145
3146         * BufferView_pimpl.C: small coord. correction
3147
3148 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3149
3150         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3151         dragging over the splash screen.
3152
3153 2003-12-11  Angus Leeming  <leeming@lyx.org>
3154
3155         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3156         as it is now handled in LyXText::dispatch.
3157
3158         * text3.C (doInsertInset): remove a level of nesting.
3159
3160 2003-12-11  Angus Leeming  <leeming@lyx.org>
3161
3162         * factory.C (createInset): changes due to the changed interface to
3163         InsetCommandMailer::string2params.
3164
3165 2003-12-10  Angus Leeming  <leeming@lyx.org>
3166
3167         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3168         'dialog-show-new-inset <inset name>'
3169
3170 2003-12-10  Angus Leeming  <leeming@lyx.org>
3171
3172         * buffer.C: up the format to 227.
3173
3174         * factory.C: the box inset is now identified simply by 'Box'.
3175
3176 2003-12-10  Angus Leeming  <leeming@lyx.org>
3177
3178         * buffer.C: up the format to 226.
3179
3180         * factory.C: the note inset is now identified simply by 'Note'.
3181
3182 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3183
3184         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3185         when a pit is enough. Standarize a couple of loops.
3186
3187 2003-12-05  Angus Leeming  <leeming@lyx.org>
3188
3189         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3190         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3191         data to the re-worked "log" dialog.
3192
3193 2003-12-03  André Pönitz  <poenitz@gmx.net>
3194
3195         * PosIterator.C:
3196         * iterators.C:
3197         * lyxtext.h:
3198         * output_latex.C:
3199         * paragraph_funcs.C:
3200         * text.C:
3201         * text2.C: use Inset::getText instead of Inset::getParagraph
3202
3203 2003-12-03  André Pönitz  <poenitz@gmx.net>
3204
3205         * buffer.[Ch]:
3206         * lyxtext.h:
3207         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3208         InsetText::read() as LyXText::read()
3209
3210 2003-12-02  Angus Leeming  <leeming@lyx.org>
3211
3212         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3213         type. Add a comment in the implementation that the function uses
3214         the stream's bad() function rather than fail() as the std::streams
3215         would do.
3216
3217 2003-12-02  André Pönitz  <poenitz@gmx.net>
3218
3219         * lyxlex.[Ch]: make interface more similar to std::stream
3220
3221         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3222
3223 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3224
3225         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3226
3227 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3228
3229         * vspace.[Ch]: remove VSpace::NONE
3230
3231 2003-12-01  André Pönitz  <poenitz@gmx.net>
3232
3233         * buffer.[Ch]:
3234         * lyxtext.h: move ParagraphList member to LyXText
3235         rename LyXText::ownerParagraphs to LyXText::paragraph
3236
3237         * CutAndPaste.C:
3238         * bufferview_funcs.C:
3239         * iterators.[Ch]:
3240         * lyx_cb.C:
3241         * paragraph.C:
3242         * rowpainter.C:
3243         * tabular.C:
3244         * text.C:
3245         * text2.C:
3246         * text3.C: adjust
3247
3248         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3249
3250         * undo.C: fix cursor positioning
3251
3252 2003-12-01  John Levon  <levon@movementarian.org>
3253
3254         * BufferView_pimpl.C: fix a crash on exit with
3255         a buffer open
3256
3257 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3258
3259         * BranchList.C: fix setSelected() method.
3260
3261 2003-11-28  André Pönitz  <poenitz@gmx.net>
3262
3263         * ParagraphParameters.[Ch]:
3264         * ParameterStruct.h: remove space above/below from Paragraph to
3265          InsetVSpace
3266
3267         * BufferView_pimpl.C:
3268         * factory.C:
3269         * lyxfunc.C:
3270         * lyxtext.h:
3271         * output_latex.C:
3272         * paragraph.C:
3273         * paragraph_funcs.C:
3274         * rowpainter.[Ch]:
3275         * text.C:
3276         * text2.C:
3277         * text3.C: adjust
3278
3279 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3280
3281         * factory.C: Syntax change for CharStyles
3282
3283 2003-11-28  André Pönitz  <poenitz@gmx.net>
3284
3285         * BufferView.[Ch]:
3286         * BufferView.[Ch]:
3287         * buffer.[Ch]:
3288         * buffer.[Ch]: move LyXText member
3289
3290 2003-11-28  André Pönitz  <poenitz@gmx.net>
3291
3292         * BufferView.[Ch]: make LyXText * text a private member
3293
3294         * BufferView_pimpl.C:
3295         * cursor.C:
3296         * iterators.C:
3297         * lyx_cb.C:
3298         * lyxfind.C:
3299         * lyxtext.h:
3300         * rowpainter.[Ch]:
3301         * text.C:
3302         * text2.C:
3303         * undo.C: adjust
3304
3305         * output_plaintext.C: cleanup
3306
3307 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3308
3309         * buffer.C:
3310         * lyxtextclass.[Ch]: parametrize SGML document header
3311
3312 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3313
3314         * converter.[Ch]:
3315         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3316         getFlavor().
3317
3318 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3319
3320         * text2.C (setFont): rework using PosIterator (no more recursive)
3321         (setCharFont): no more needed
3322         (setLayout): no more selection cursors fiddling (done by redoCursor)
3323         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3324         destroy remaining ones)
3325
3326 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3327
3328         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3329         * lyxtext.h: ditto
3330         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3331         selection cursors
3332         * lyxfunc.C: adjust
3333         * text3.C: adjust + re-allow multi par depth changes
3334         * textcursor.C: simplify a bit
3335
3336 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3337
3338         * src/buffer.C:
3339         * src/lyxlayout.C:
3340         * src/lyxlayout.h:
3341         * src/lyxtext.h:
3342         * src/output_docbook.C:
3343         * src/output_latex.C:
3344         * src/paragraph.C:
3345         * src/paragraph.h:
3346         * src/sgml.C:
3347         * src/sgml.h:
3348         * src/text2.C: Introducing a number of tags parametrizing various
3349         XML formats that we may want to support
3350
3351 2003-11-25  André Pönitz  <poenitz@gmx.net>
3352
3353         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3354
3355         * lyxtext.h (leftMargin/rightMargin): simplify interface
3356
3357         * rowpainter.C:
3358         * text.C:
3359         * text2.C:
3360         * text3.C: adjust
3361
3362 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3363
3364         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3365         master file to any child files. Fixes bug 546.
3366
3367 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3370
3371 2003-11-24  André Pönitz  <poenitz@gmx.net>
3372
3373         * rowpainter.C: simplification
3374
3375         * text2.C (updateCounters): remove call to redoParagraph on
3376         changed labels as this is far too expensive.
3377
3378 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3379
3380         * converter.C (convert): fix a crash: this function gets
3381         called with buffer == 0 from importer code.
3382
3383 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3384
3385         * text3.C (cursorPrevious): make sure that we do not compare
3386         iterators form different containers.
3387         (cursorNext): ditto
3388
3389         * rowpainter.C (paintSelection): make sure that we do not compare
3390         iterators from different containers.
3391
3392         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3393         iterators from different ParagraphList containers.
3394         [NEXT] ditto
3395
3396         * text2.C (LyXText): change order of initialization slightly
3397         (operator=): new function. copy all variables except cache_par_
3398         (moveUp): make sure that we do not compare iterators from
3399         different ParagraphList constainers.
3400         (moveDown): ditto
3401
3402         * text.C (firstPar): new function
3403         (lastPar): new function
3404         (endPar): new function
3405
3406         * lyxtext.h: move things around and group public functions, public
3407         variables, private functions, private variables
3408
3409 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3410
3411         * factory.C: change call to InsetERT constructor to avoid
3412         additional invocation of method status
3413         * text2.C (toggleInset): remove redundant update() call
3414         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3415         instead of a Bufferview pointer
3416
3417 2003-11-21  André Pönitz  <poenitz@gmx.net>
3418
3419         * rowpainter.C: simplification
3420
3421 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3422
3423         * text3.C (dispatch): make possible to extend a word/row selection
3424         with the mouse
3425
3426 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * lyxtext.h: x0_,y0_ -> xo_,yo_
3429         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3430         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3431         * rowpainter.C (paintRows): paint full paragraphs
3432
3433 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3434
3435         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3436         screen coordinates)
3437
3438 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3439
3440         * lyxtext.h: add x0_, y0_
3441         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3442         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3443
3444 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3445
3446         * text2.C (setCursorIntern): move the x_target update here *
3447         * text3.C: change some bv() to true/false in calls to
3448         cursorUp/Down/Right/Left
3449         * cursor.C: use helper function.
3450
3451 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3452
3453         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3454         * paragraph_funcs.[Ch]: correct comment
3455         * rowpainter.C: do not paint selections away from bv->cursor()
3456         Fix a long standing selection painting bug.
3457         * text3.C: generalize mouse-selection code to LyXTexts other that
3458         top one
3459         * textcursor.C: do not use y coords if we can use par offsets
3460
3461 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3462
3463         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3464         cursor position after e.g. inset insert)
3465
3466 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3467
3468         * lyxfind.C (replace): adjust to locking removal + some
3469         code simplification
3470
3471 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3472
3473         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3474         of the path
3475
3476 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * lyxlayout.[Ch]:
3479         * output_docbook.C: XML sanitation: new layout
3480         parameters InnerTag and CommandDepth
3481
3482 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3483
3484         * BufferView_pimpl.C:
3485         * factory.C:
3486         * text3.C: Fix the insertion and modification of button-style
3487         insets
3488
3489 2003-11-13  André Pönitz  <poenitz@gmx.net>
3490
3491         * InsetList.[Ch]: remove deleteLyXText
3492
3493         * paragraph.[Ch]: cache beginOfBody position
3494
3495         * Bidi.C:
3496         * text.C:
3497         * text2.C:
3498         * text3.C: remove superfluous update() calls
3499
3500         * vspace.C: cleanup
3501
3502 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3503
3504         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3505         * BufferView.C (fitLockedInsetCursor): remove
3506         * cursor.[Ch] (getDim): add
3507         * text.C (getRowNearY): add faster version
3508         * text3.C: remove some update calls
3509
3510 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3511
3512         * LaTeXFeatures.C:
3513         * LyXAction.C:
3514         * MenuBackend.C:
3515         * MenuBackend.h:
3516         * dispatchresult.h:
3517         * factory.C:
3518         * lfuns.h:
3519         * lyxfunc.C:
3520         * lyxtextclass.C:
3521         * lyxtextclass.h:
3522         * text3.C: The Character Style /XML short element patch.
3523
3524 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3525
3526         * text3.C:
3527         * factory.C: Small step to solving 'unable to insert some insets'
3528         problem
3529
3530 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * cursor.[Ch] (updatePos): new function for updating the y
3533         position of the tip inset
3534         * bufferview_funcs.C (put_selection_at):
3535         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3536
3537 2003-11-11  André Pönitz  <poenitz@gmx.net>
3538
3539         * text.C: remove big comment on invalid Paragraph pointers as it is
3540         not valid anymore
3541
3542 2003-11-11  André Pönitz  <poenitz@gmx.net>
3543
3544         * text_funcs.[Ch]: merge with ...
3545
3546         * text.C: ... this
3547
3548         * lyxtext.h:
3549         * text2.C:
3550         * text3.C: adjust
3551
3552         * Makefile.am: remove text_funcs.[Ch]
3553
3554 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3555
3556         * cursor.C (getPos): return absolute cached y coord
3557
3558         * BufferView_pimpl.C (fitCursor): new simplistic code
3559         (workAreaDispatch): add a fitCursor call
3560
3561 2003-11-10  André Pönitz  <poenitz@gmx.net>
3562
3563         * BufferView.[Ch]:
3564         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3565
3566 2003-11-10  André Pönitz  <poenitz@gmx.net>
3567
3568         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3569         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3570         indicate that the cursor needs to leave an inset
3571
3572         * lyxtext.h: remove inset locking
3573
3574         * cursor.[Ch]: re-implement functionality provided by inset locking
3575
3576         * BufferView.[Ch]:
3577         * BufferView_pimpl.[Ch]:
3578         * LyXAction.C:
3579         * bufferview_funcs.[Ch]:
3580         * factory.C:
3581         * funcrequest.[Ch]:
3582         * iterators.C:
3583         * lyx_cb.C:
3584         * lyxfind.C:
3585         * lyxfunc.C:
3586         * text.C:
3587         * text2.C:
3588         * text3.C:
3589         * undo.C: adjust
3590
3591 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3592
3593         * PosIterator.[Ch]: replace the stack with a vector, add inset
3594         accesor
3595         * iterators.[C]: adjust
3596
3597 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3598
3599         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3600         replaced
3601         * paragraph_funcs.C (readParToken): put the correct id in the
3602         error item, not the id of the top paragraph
3603
3604 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3605
3606         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3607         * bufferview_funcs.C (put_selection_at): use the above
3608
3609 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3610
3611         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3612
3613 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3614
3615         * output_linuxdoc.h:
3616         * output_plaintext.h:
3617         * output.h:
3618         * output_docbook.h: add #include statements
3619
3620 2003-11-05  José Matos  <jamatos@lyx.org>
3621
3622         * output_docbook.[Ch]:
3623         * output_latex.[Ch]:
3624         * output_linuxdoc.[Ch]:
3625         * output_plaintext.[Ch]: New files for output formats.
3626         * output.[Ch]: New file for helper functions.
3627
3628         * buffer.[Ch]:
3629         * paragraph_funcs.[Ch]: output functions moved to new files.
3630
3631         * outputparams.h: rename of latexrunparams.h
3632
3633         * LaTeX.[Ch]:
3634         * buffer.[Ch]:
3635         * bufferlist.[Ch]:
3636         * converter.[Ch]:
3637         * exporter.C:
3638         * paragraph.[Ch]:
3639         * paragraph_funcs.[Ch]:
3640         * paragraph_pimpl.[Ch]:
3641         * tabular.[Ch]: rename ascii to plaintext
3642         and LatexRunParams to OutputParams.
3643
3644 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * iterators.[Ch] (text): require bv argument
3647         * undo.C (recordUndo):
3648         * lyxfunc.C (dispatch):
3649         * bufferview_funcs.C (put_selection_at): adjust
3650
3651 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3652
3653         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3654
3655 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3658         nestings
3659
3660 2003-11-04  André Pönitz  <poenitz@gmx.net>
3661
3662         * cursor.[Ch]: restructure
3663
3664         * BufferView.[Ch]:
3665         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3666
3667         * iterators.[Ch] (asCursor): remove
3668
3669         * lfuns.h: remove LFUN_INSET_EDIT
3670
3671         * lyxfunc.C:
3672         * tabular.C:
3673         * text.C:
3674         * text2.C:
3675         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3676
3677 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * lyxfind.[Ch]: complete overhaul
3680         * BufferView_pimpl.C:
3681         * lyxfunc.C: adjust
3682         * paragraph.[Ch] (insert): add
3683
3684 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3685
3686         * BufferView.[Ch]:
3687         * lyxtext.h:
3688         * text.C: remove dead spellcheck code
3689
3690 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * dispatchresult.h: add a val setter
3693
3694         * cursor.C (dispatch): use a tempvar for data_[i]
3695
3696 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * PosIterator.[Ch]: compile fix
3699
3700 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3701
3702         * text.C (cursorPar): deactivate the cursor cache
3703
3704 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3705
3706         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3707
3708 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * text3.C (dispatch): adjust for new DisptchResult semantics.
3711
3712         * lyxfunc.C (dispatch): handle update when return from
3713         Cursor::dispatch, adjust for new DispatchResult semantics.
3714
3715         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3716         DispatchResult(true) mean to not update. Add class functions for
3717         setting dispatched and update, as well as reading.
3718
3719         * cursor.C (dispatch): don't handle update here
3720
3721 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3724         * trans_mgr.C: adjust
3725
3726         * paragraph_funcs.C (readParToken): exception safety
3727
3728         * lyxvc.h: store the vcs pointer in a scoped_ptr
3729         * lyxvc.C: adjust
3730
3731         * lyxsocket.C (serverCallback): exception safety
3732
3733         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3734
3735         * ispell.C (clone): make it return a auto_ptr
3736
3737         * factory.C (createInset): exception safety
3738         (readInset): exception safety
3739
3740         * bufferlist.C (newBuffer): exception safety
3741
3742         * Thesaurus.C (Thesaurus): use initialization for aik_
3743
3744         * MenuBackend.C (expandToc): exception safety.
3745
3746 2003-11-03  André Pönitz  <poenitz@gmx.net>
3747
3748         * buffer.C:
3749         * buffer.h:
3750         * bufferview_funcs.C: remove getInsetFromId()
3751
3752         * lyxcursor.[Ch]:
3753         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3754
3755         * lyxfunc.C:
3756         * text2.C:
3757         * text3.C: adjust
3758
3759 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3760
3761         * PosIterator.C (distance, advance): new
3762         * bufferview_funcs.[Ch] (put_selection_at): new
3763         * iterators.[Ch] (lockPath): new
3764
3765 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3766
3767         * iterators.[Ch] (asPosIterator): added
3768         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3769         * PosIterator.[Ch]: added
3770
3771 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * text3.C:
3774         * lyxfunc.C:
3775         * cursor.C (dispatch):
3776         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3777
3778         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3779         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3780         contructor, add a class function dispatched. Remove operator>=
3781
3782 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * debug.C: only use the default constructor for debugstream
3785         (lyxerr) here.
3786
3787         * main.C (main): include debug.h and setup the lyxerr streambuf
3788         here.
3789
3790 2003-10-31  José Matos  <jamatos@lyx.org>
3791
3792         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3793
3794         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3795         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3796         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3797         * paragraph_pimpl.C (simpleTeXSpecialC):
3798         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3799         add LatexRunParams argument.
3800
3801         * exporter.C (Export): change call accordingly.
3802
3803         * latexrunparams.h: add new member to take care of the other backends.
3804 2003-10-30  José Matos  <jamatos@lyx.org>
3805
3806         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3807         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3808         factorise code for paragraph output.
3809         * buffer.[Ch]:
3810         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3811         move functions.
3812
3813 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * text3.C (dispatch):
3816         * lyxfunc.C (dispatch):
3817         * cursor.C (dispatch):
3818         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3819
3820         * dispatchresult.h: make the dispatch_result_t ctor explicit
3821
3822 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * sgml.[Ch]:
3825         * buffer.C: small refactoring of docbook stuff
3826
3827 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3830         meaning.
3831
3832 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3835         operator dispatch_result_t, and operators for == != and >=
3836
3837         * cursor.C (dispatch): adjust for operator dispatch_result_t
3838         removal. comment out call to update
3839
3840         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3841
3842 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * text3.C:
3845         * text2.C:
3846         * text.C:
3847         * lyxtext.h:
3848         * lyxfunc.C:
3849         * cursor.C:
3850         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3851         (dispatch):
3852
3853         * dispatchresult.h: new file, DispatchResult broken out of
3854         insets/insetbase.h
3855
3856         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3857
3858 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * text.C (rowBreakPoint): put a hack inside #if 0
3861
3862 2003-10-28  André Pönitz  <poenitz@gmx.net>
3863
3864         * lyxtext.h:
3865         * metricsinfo.C:
3866         * paragraph_funcs.C:
3867         * rowpainter.C:
3868         * text.C:
3869         * text2.C: general cleanup (lots of small stuff)
3870
3871 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3872
3873         * text2.C (cursorEnd): simple fix to the "end key goes to one
3874         before the end on last row" bug
3875
3876 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * text.C (backspace): fix the "zombie characters"
3879
3880 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3883
3884 2003-10-27  André Pönitz  <poenitz@gmx.net>
3885
3886         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3887
3888         * factory.C: handle new InsetPagebreak, InsetLine
3889
3890         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3891         and move handling into new InsetPagebreak, InsetLine
3892
3893         * BufferView_pimpl.C:
3894         * LyXAction.C:
3895         * ParagraphParameters.C:
3896         * ParameterStruct.h:
3897         * lyxfunc.C:
3898         * lyxtext.h:
3899         * paragraph.C:
3900         * paragraph.h:
3901         * paragraph_funcs.C:
3902         * paragraph_pimpl.C:
3903         * rowpainter.C:
3904         * text.C:
3905         * text2.C:
3906         * text3.C: adjust
3907
3908 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3909
3910         * text.C:
3911         * lyxrow_funcs.[Ch]:
3912         * Bidi.C:
3913         * paragraph.C:
3914         * lyxtext.h:
3915         * rowpainter.C:
3916         * text2.C:
3917         * text3.C: remove lastPos uses in favour of Row::endpos
3918
3919 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3920
3921         * undo.C (performUndoOrRedo): fix two crashes by setting a
3922         cursor by hand and reordering some calls. Use bv->lockInset instead
3923         of inset->edit because the latter loses cursor information
3924
3925 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3926
3927         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3928         by Martin
3929         (rowBreakPoint): fix width. change point to point + 1.
3930         Add a missing check.
3931
3932 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3933
3934         * MenuBackend.C:
3935         * lyxfunc.C: fix (at least partly) the problems
3936         with the Nav menu and headers inside branch insets
3937         reported by Kayvan
3938
3939 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3940
3941         * paragraph.C (getChar): add strong asserts
3942
3943         * lyxrow_funcs.C (lastPos): remove hideous hack
3944
3945         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3946         (fill): adjust to that (avoid an infinite loop)
3947
3948 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3949
3950         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3951
3952 2003-10-23  André Pönitz  <poenitz@gmx.net>
3953
3954         * RowList_fwd.h: change list<> to vector<> to gain speed
3955         after suggestion from Alfredo
3956
3957 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3958
3959         * lyxtext.h: move the bidi stuff from here...
3960         * text.C: and here
3961         * text2.C: and here
3962         * Bidi.[Ch]: ... to here
3963
3964 2003-10-23  André Pönitz  <poenitz@gmx.net>
3965
3966         * lyxtext.h:
3967         * text.C (isLastRow, isFirstRow): new functions
3968
3969         * paragraph.h: new width cache member
3970
3971         * rowpainter.C: replace RowList::iterator with Row & where possible
3972
3973         * lyxfunc.C: replace several view()->text with a single call
3974
3975         * toc.C: fix 'unused' warning
3976
3977 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3980         when woring with stream::pos_type
3981         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3982
3983 2003-10-22  André Pönitz  <poenitz@gmx.net>
3984
3985         * lyxtext.h:
3986         * text.C: use Row & instead of RowList::iterator
3987
3988         * lyxrow.h: rename end() to endpos()
3989
3990         * rowpainter.C:
3991         * text.C:
3992         * text2.C: adjust
3993
3994 2003-10-22  Angus Leeming  <leeming@lyx.org>
3995
3996         * buffer.[Ch] (fully_loaded): new member function, returning true
3997         only when the file has been loaded fully.
3998         Used to prevent the premature generation of previews and by the
3999         citation inset to prevent computation of the natbib-style label.
4000
4001         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4002         templates are all set up.
4003
4004         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4005
4006 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4007
4008         * text.C: fixed an "oops" in the "is a bit silly"
4009         bug fix
4010
4011 2003-10-21  André Pönitz  <poenitz@gmx.net>
4012
4013         * FuncStatus.[Ch]: small stuff, whitespace
4014
4015         * lyxfont.[Ch]: operator<<() for debug reasons
4016
4017         * lyxfunc.C:
4018         * lyxrow_funcs.C:
4019         * lyxtext.h: whitespace, spelling
4020
4021         * paragraph.C: naming of variables
4022
4023         * text.C:
4024         * text2.C: small stuff
4025
4026
4027 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4028
4029         * text.C: (1) finish off the inset display() work;
4030         (2) fix the "is a bit silly" bug (accessing char
4031         past end of par).
4032
4033 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4034
4035         * text.C: re-introduce display() for insets, fixing the
4036         various bugs (stretch of line above, math inset
4037         positioning, ...)
4038
4039 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4040
4041         * text.C (rightMargin): remove spurious semicolon
4042
4043         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4044         1415)
4045
4046 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4047
4048         * text3.C: fix one crash due to wrong cursor def
4049
4050 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4051
4052         * vc-backend.C (scanMaster): make the regex static
4053
4054         * LaTeX.C (scanAuxFile): make the regexs static
4055
4056         * text3.C (doInsertInset, dispatch, dispatch):
4057         * text2.C (cursorUp, cursorDown):
4058         * text.C (selectNextWordToSpellcheck):
4059         * BufferView_pimpl.C (dispatch):
4060         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4061
4062 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4063
4064         * lyxsocket.C: include <cerrno>
4065
4066 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * lyxfunc.C (dispatch): remove textcache stuff
4069
4070         * bufferlist.C (release): remove textcache stuff
4071         (closeAll): ditto
4072
4073         * TextCache.C: delete file
4074         * TextCache.h: delete file
4075
4076         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4077
4078         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4079         delete of the bv_->text.
4080         (resizeCurrentBuffer): remove texcache stuff
4081         (workAreaResize): ditto
4082
4083 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4084
4085         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4086         action.
4087
4088 2003-10-16  André Pönitz  <poenitz@gmx.net>
4089
4090         * lyxrow.[Ch]:
4091         * paragraph.h:
4092         * rowpainter.C:
4093         * text.C:
4094         * text2.C:
4095         * text3.C: speed up by storing y positions per paragraph plus per-row
4096         offset instead of having a 'full' y position in the row.
4097
4098 2003-10-15  André Pönitz  <poenitz@gmx.net>
4099
4100         * iterators.[Ch]:
4101         * iterators.[Ch]:
4102         * undo.[Ch]: make undo aware of inner insets
4103
4104 2003-10-14  Angus Leeming  <leeming@lyx.org>
4105
4106         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4107         static member functions LyX::ref() and LyX::cref.
4108         (lastfiles): new accessor functions for the new lastfiles_ member var.
4109         (addLyXView, views_): add a new LyXView to the list of views_.
4110         (updateInset): loop over all LyXViews to call their own updateInset
4111         member function, returning a pointer to the Buffer owning the inset.
4112
4113         * BufferView_pimpl.C (loadLyXFile):
4114         * MenuBackend.C (expandLastfiles):
4115         * bufferlist.C (MenuWrite, QuitLyX):
4116         lastfiles is no longer a global variable.
4117         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4118
4119         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4120         static function. Access through LyX::cref().emergencyCleanup().
4121
4122 2003-10-14  André Pönitz  <poenitz@gmx.net>
4123
4124         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4125
4126         * undo.[Ch]: restoring part of 'undo in insets'
4127
4128         * Makefile.am:
4129         * undo_funcs.[Ch]: merge with undo.[Ch]
4130
4131         * tabular.C: small cleansing stuff
4132
4133 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4134
4135         * paragraph_funcs.C (readParToken): report unknown insets as error
4136         boxes. Use the outer paragraph as location (also for unknown
4137         tokens).
4138
4139         * factory.C (readInset): do not abort on reading an unknown inset.
4140         Eat it and return 0.
4141
4142 2003-10-13  Angus Leeming  <leeming@lyx.org>
4143
4144         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4145
4146         * lyxrc.C: displayTranslator is now a function,
4147         declared in GraphicsTypes.h.
4148
4149 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4150
4151         * format.C: new placeholder $$a to pass the socket address.
4152
4153         * bufferlist.[Ch]: new function getBufferFromTmp.
4154
4155         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4156           files in the temporary dir.
4157
4158 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4159
4160         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4161
4162         * Makefile.am: add lyxsocket.[Ch].
4163
4164         * lyx_main.C (error_handler): handle SIGPIPE.
4165
4166 2003-10-13  André Pönitz  <poenitz@gmx.net>
4167
4168         * BufferView_pimpl.C:
4169         * lyxtext.h:
4170         * text.C:
4171         * text2.C:
4172         * text3.C:
4173         * undo_funcs.[Ch]: use paroffset_type instead of
4174           ParagraphList::iterators to prevent multiple conversion
4175           (and get a more robust interface)
4176
4177 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4180         * lyxtext.h: ditto
4181         * text3.C (dispatch): ditto
4182
4183 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4186         move the onlyfile, use onlyfile instead of foundfile in a couple
4187         of places.
4188
4189         * DepTable.C (update): flush the error stream a bit more
4190
4191 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4192
4193         * lyxserver.C (callback): adjust
4194
4195         * lyxfunc.C (getStatus): add a missing brace in commented code
4196         (ensureBufferClean): reindent
4197         (dispatch): delete version taking a string
4198
4199 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * LaTeX.C (deplog): move found file handlig from here...
4202         (handleFoundFile): .. to new function here.
4203         (deplog): make sure to discover several files mentioned on the
4204         same log line.
4205
4206 2003-10-10  André Pönitz  <poenitz@gmx.net>
4207
4208         * lyxfunc.C:
4209         * lyxtext.h:
4210         * tabular.C:
4211         * text.C:
4212         * text2.C:
4213         * text3.C: fix some of the tabular crashes
4214
4215 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4216
4217         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4218
4219         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4220
4221 2003-10-09  André Pönitz  <poenitz@gmx.net>
4222
4223         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4224
4225         * BufferView.C:
4226         * BufferView_pimpl.C:
4227         * bufferview_funcs.C:
4228         * lyx_cb.C:
4229         * lyxcursor.C:
4230         * lyxfind.C:
4231         * lyxfunc.C:
4232         * lyxtext.h:
4233         * text.C:
4234         * text2.C:
4235         * text3.C:
4236         * text_funcs.[Ch]:
4237         * textcursor.[Ch]:
4238         * undo_funcs.C: adjust
4239
4240 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4241
4242         * text2.C (incrementItemDepth): new function, use a backtracking
4243         algorithm to discover the correct item depth.
4244         (resetEnumCounterIfNeeded): new function, use a backtracking
4245         algorithm to discover if counter reset is needed.
4246         (setCounter): use them. Simplify a bit. Add different labels for
4247         different item depths for itemize.
4248
4249         * paragraph.C (Paragraph): remove initialization of enumdepth
4250         (operator=): ditto
4251
4252         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4253         enumerate and itemize. Change the type of itemdepth to signed char.
4254
4255 2003-10-08  André Pönitz  <poenitz@gmx.net>
4256
4257         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4258           thing assignable.
4259         * text.C:
4260         * text2.C: adjust
4261
4262         * tabular.[Ch]: fix crash after 'row-insert'
4263
4264 2003-10-08  Angus Leeming  <leeming@lyx.org>
4265
4266         Fix doxygen warnings.
4267
4268         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4269         Remove CutAndPaste:: prefix from header file declaration.
4270
4271         * LColor.h (fill): remove LColor:: prefix from declaration.
4272
4273         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4274         use lyx::depth_type rather than Paragraph::depth_type so that
4275         header file and .C file match.
4276
4277         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4278
4279         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4280         * aspell.C: \file aspell_local.C -> \file aspell.C
4281         * gettext.C: \file gettext.C -> \file src/gettext.C
4282         * gettext.h: \file gettext.h -> \file src/gettext.h
4283         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4284         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4285         * text.C: \file text.C -> \file src/text.C
4286
4287         * toc.C: move comment so that doxygen is not confused.
4288
4289 2003-10-07  Angus Leeming  <leeming@lyx.org>
4290
4291         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4292
4293 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4294
4295         * aspell.C:
4296         * aspell_local.h: add forgotten std::string's.
4297
4298 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4299
4300         * LaTeXFeatures.C:
4301         * LyXAction.C:
4302         * factory.C:
4303         * lfuns.h:
4304         * lyxfunc.C:
4305         * text3.C: The Box patch. Fancybox support, minipage, parbox
4306
4307 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4308
4309         * CutAndPaste.h:
4310         * DepTable.h:
4311         * FloatList.h:
4312         * LaTeXFeatures.h:
4313         * ParagraphParameters.h:
4314         * TextCache.h:
4315         * Thesaurus.h:
4316         * bufferlist.h:
4317         * exporter.h:
4318         * importer.h:
4319         * lastfiles.h:
4320         * lyxfind.h:
4321         * lyxfont.h:
4322         * lyxlex.h:
4323         * lyxtextclasslist.h:
4324         * messages.h:
4325         * paragraph.h:
4326         * paragraph_pimpl.C:
4327         * textcursor.h: add <string> and other small fixes to make Lars'
4328         std::string patch compile with STLport.
4329
4330 2003-10-06  Angus Leeming  <leeming@lyx.org>
4331
4332         * LColor.h: Add missing #include <string>.
4333
4334 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * All most all file in all subdirs: Make <string> be the prefered
4337         way of getting to std::string, add using declarations.
4338
4339 2003-10-06  André Pönitz  <poenitz@gmx.net>
4340
4341         * metricsinfo.C: initialize LyXFont before changing attribute.
4342         (fixes the 'math in \emph is upright' bug)
4343
4344 2003-10-06  André Pönitz  <poenitz@gmx.net>
4345
4346         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4347
4348 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4349
4350         * graph.C:
4351         * paragraph_pimpl.C: Small fixes to build using STLport
4352
4353 2003-10-02  André Pönitz  <poenitz@gmx.net>
4354
4355         * lyxfunc.C:
4356         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4357
4358 2003-10-01  André Pönitz  <poenitz@gmx.net>
4359
4360         * factory.C: assert early
4361
4362 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4363
4364         * lyx_main.C: remove the global debug object
4365
4366         * debug.h: adjust for new debugstream
4367
4368         * debug.C: adjust for new debugstream and keep the global debug
4369         object here.
4370
4371 2003-09-22  Angus Leeming  <leeming@lyx.org>
4372
4373         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4374         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4375         an incomplete class LyXFont.
4376
4377 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4378
4379         * factory.C: bug fix in branches
4380
4381 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * lyxfunc.C (processKeySym): adjust
4384         (dispatch): adjust
4385         (dispatch): change arg name from ev to func, adjust
4386         (sendDispatchMessage): ditto
4387
4388         * lyx_main.C (defaultKeyBindings): adjust keybindings
4389         (deadKeyBindings): ditto
4390
4391         * kbsequence.C (addkey): return a FuncRequest
4392
4393         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4394
4395         * kbmap.C (bind): take a FuncRequest as arg, adjust
4396         (read): adjust
4397         (lookup): adjust
4398         (defkey): change to take a FuncRequest as arg, adjust
4399         (findbinding): take a FuncRequest as arg, adjust.
4400
4401         * funcrequest.h (operator=): added
4402
4403         * funcrequest.C (FuncRequest): default kb_action changed from
4404         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4405
4406         * buffer.C (dispatch): simplify
4407         (dispatch): adjust to take a FuncRequest as arg, adjust
4408
4409         * boost.C (assertion_failed): change assertion message slightly
4410
4411         * ToolbarBackend.C (read): simplify
4412
4413         * MenuBackend.C (binding): adjust call to findbinding, add a
4414         message if no binding is found.
4415         (read): simplify
4416         (expandToc): correct by adding a empty FuncRequest
4417
4418         * LyXAction.C: include <boost/assert.hpp>
4419         (isPseudoAction): delete function
4420         (LookupFunc): change name to...
4421         (lookupFunc): this. change return type to FuncRequest.
4422         (getActionName): take kb_action as arg, simplify
4423         (funcHasFlag): add an assert, simplify.
4424
4425 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4426
4427         * toc.C (action): return a FuncRequest, simplify
4428
4429         * lyxfunc.C (processKeySym): adjust
4430         (getStatus): delete version that takes an int.
4431         (getStatus): adjust
4432         (dispatch): delete version that takes action as int
4433         (dispatch): adjust
4434         (sendDispatchMessage): simplify and adjust
4435
4436         * funcrequest.C (getArg): take unsigned int as arg
4437
4438         * ToolbarBackend.C (read): adjust
4439         (add): delete version that takes func as a string.
4440         (getIton): take a FuncRequest as arg
4441
4442         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4443         action.
4444
4445         * MenuBackend.C (MenuItem): add a new construct that only takes a
4446         Kind, simplify the constructor use for submenus.
4447         (add): adjust
4448         (expandLastfiles): adjust
4449         (expandDocuments): adjust
4450         (expandFormats): adjust
4451         (expandFloatListInsert): adjust
4452         (expandFloatInsert): adjust
4453         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4454
4455         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4456         Remove class variables lyx_pseudo_map and lyx_arg_map
4457
4458         * LyXAction.C (searchActionArg): delete function
4459         (getPseudoAction): delete function
4460         (retrieveActionArg): delete function
4461         (LookupFunc): make it return kb_action, simplify.
4462         (getActionName): simplify
4463
4464         * factory.C (createInset): fix new bug
4465
4466 2003-09-19  Angus Leeming  <leeming@lyx.org>
4467
4468         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4469         masterFilename_ parameter in the include inset.
4470
4471         * factory.C (createInset): changes due to the changes to InsetInclude.
4472
4473 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4474
4475         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4476
4477 2003-09-18  Angus Leeming  <leeming@lyx.org>
4478
4479         * buffer.C:
4480         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4481         Inset::fillWithBibKeys.
4482         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4483
4484 2003-09-18  Angus Leeming  <leeming@lyx.org>
4485
4486         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4487         variables.
4488         (ctor): pass and store a 'Buffer const &'
4489         (buffer): new member function.
4490
4491         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4492         '*this' to the LaTeXFeatures ctor.
4493
4494 2003-09-18  Angus Leeming  <leeming@lyx.org>
4495
4496         * LColor.h:
4497         * lyxfont.C:
4498         * lyxfont.h:
4499         * lyxtext.h:
4500         * text.C: rename EnumLColor as LColor_color.
4501
4502 2003-09-18  Angus Leeming  <leeming@lyx.org>
4503
4504         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4505         remove #include "insets/insetbase.h" from cursor.h.
4506
4507 2003-09-18  Angus Leeming  <leeming@lyx.org>
4508
4509         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4510         InsetOld_code to remove #include "inset.h".
4511
4512         * iterators.C: add #include "insets/inset.h"
4513
4514 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4515
4516         * BufferView.C: remove more locking stuff that apparently doesn't
4517         do anything sensible.
4518
4519 2003-09-16  André Pönitz  <poenitz@gmx.net>
4520
4521         * paragraph.[Ch]:
4522         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4523           performance boost.
4524
4525 2003-09-16  Angus Leeming  <leeming@lyx.org>
4526
4527         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4528
4529         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4530         arg/return type.
4531
4532         * paragraph.h: remove #include "lyxfont.h". Forward declare
4533         LyXFont_size.
4534
4535 2003-09-16  Angus Leeming  <leeming@lyx.org>
4536
4537         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4538         of support/textutils.h.
4539         (isWord): move the contents of support/textutils.h's IsWordChar here.
4540
4541         * buffer.C:
4542         * lyxfind.C:
4543         * rowpainter.C:
4544         * text.C:
4545         * text2.C: add #include "paragraph.h".
4546
4547         * rowpainter.C:
4548         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4549
4550 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * main.C:
4553         * lyx_main.C:
4554         * lyx_cb.C:
4555         * buffer.C:
4556         * LaTeX.C: use namespace alias for lyx::support::os
4557
4558 2003-09-16  Angus Leeming  <leeming@lyx.org>
4559
4560         * bufferparams.C:
4561         * bufferview_funcs.C:
4562         * factory.C:
4563         * lyxfunc.C:
4564         * paragraph_pimpl.C:
4565         * rowpainter.C:
4566         * text.C: add #include "LColor.h".
4567
4568 2003-09-16  Angus Leeming  <leeming@lyx.org>
4569
4570         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4571         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4572         return LyXFont &.
4573         Store the FontBits::color variable as an int rather than as an
4574         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4575         file.
4576
4577         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4578         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4579         string calls together.
4580
4581         * lyxrc.C: add #include "LColor.h".
4582
4583 2003-09-15  Angus Leeming  <leeming@lyx.org>
4584
4585         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4586         a cow_ptr.
4587
4588 2003-09-15  Angus Leeming  <leeming@lyx.org>
4589
4590         * LColor.h: add an EnumLColor wrapper for LColor::color.
4591
4592         * lyxfont.[Ch] (color, setColor, realColor):
4593         * lyxtext.h, text.C (backgroundColor):
4594         pass EnumLColor args to/from the functions, rather than LColor::color
4595         ones.
4596
4597         * lyxfont.h:
4598         * lyxtext.h: forward declare EnumLColor.
4599
4600         * lyx_main.C: add #include "LColor.h".
4601
4602 2003-09-15  Angus Leeming  <leeming@lyx.org>
4603
4604         * .cvsignore: add lyx-gtk.
4605
4606 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * Chktex.C
4609         * LaTeX.C
4610         * LaTeXFeatures.C
4611         * ParagraphParameters.C
4612         * Spacing.C
4613         * buffer.C
4614         * bufferparams.C
4615         * bufferview_funcs.C
4616         * chset.C
4617         * counters.C
4618         * funcrequest.C
4619         * lyxfont.C
4620         * lyxgluelength.C
4621         * lyxlength.C
4622         * paragraph.C
4623         * paragraph_funcs.C
4624         * text3.C
4625         * vc-backend.C: remove usage of STRCONV
4626
4627 2003-09-15  Angus Leeming  <leeming@lyx.org>
4628
4629         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4630         explicitly define the color passed to the painter.
4631
4632 2003-09-15  Angus Leeming  <leeming@lyx.org>
4633
4634         * bufferparams.C (BufferParams): reorder member initializers to avoid
4635         compiler warning.
4636
4637 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4638
4639         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4640         * text.C (updateRowPositions): remove an unusual nop
4641
4642 2003-09-12  André Pönitz  <poenitz@gmx.net>
4643
4644         * BufferView_pimpl.C:
4645         * Bullet.C:
4646         * layout.h:
4647         * lyxfunc.C:
4648         * lyxlayout.[Ch]:
4649         * lyxtextclass.C:
4650         * rowpainter.C:
4651         * text.C:
4652         * text2.C:
4653         * Counters.[Ch]: finish the 'automatic counters' job
4654
4655 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4656
4657         * aspell.C: include <boost/assert.cpp> (compile fix)
4658
4659 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4660
4661         * boost.C (assertion_failed): use lyx::support::abort instead of
4662         assert.
4663
4664 2003-09-10  Angus Leeming  <leeming@lyx.org>
4665
4666         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4667         with their _fwd progeny.
4668
4669 2003-09-09  Angus Leeming  <leeming@lyx.org>
4670
4671         134 files throughtout the source tree: replace 'using namespace abc;'
4672         directives with the appropriate 'using abc::xyz;' declarations.
4673
4674 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4675
4676         * boost.C (emergencyCleanup): moved here from LAssert.c
4677         (assertion_failed): new function, called by BOOST_ASSERT
4678
4679         * several files: change Assert to BOOST_ASSERT
4680
4681 2003-09-09  Angus Leeming  <leeming@lyx.org>
4682
4683         * buffer.[Ch]: Add an Impl class and move Buffer's member
4684         variables into it. As a result move several header files out of
4685         buffer.h.
4686
4687         Add header files to lots of .C files all over the tree as a result.
4688
4689 2003-09-09  Angus Leeming  <leeming@lyx.org>
4690
4691         * buffer.[Ch]: make Buffer's member variables private. Add
4692         accessor functions.
4693
4694         Lots of changes all over the tree as a result.
4695
4696 2003-09-08  Angus Leeming  <leeming@lyx.org>
4697
4698         * graph.C: #include <config.h>.
4699
4700 2003-09-08  Angus Leeming  <leeming@lyx.org>
4701
4702         * BranchList.C:
4703         * BufferView.C:
4704         * BufferView_pimpl.C:
4705         * CutAndPaste.C:
4706         * DepTable.C:
4707         * LaTeX.C:
4708         * LaTeXFeatures.C:
4709         * LyXAction.C:
4710         * MenuBackend.C:
4711         * TextCache.C:
4712         * aspell.C:
4713         * buffer.C:
4714         * bufferlist.C:
4715         * changes.C:
4716         * chset.C:
4717         * converter.C:
4718         * counters.C:
4719         * debug.C:
4720         * graph.C:
4721         * ispell.C:
4722         * lyx_cb.C:
4723         * lyxfind.C:
4724         * lyxfunc.C:
4725         * lyxlex_pimpl.C:
4726         * lyxrc.C:
4727         * lyxrow.C:
4728         * paragraph.C:
4729         * rowpainter.C:
4730         * texrow.C:
4731         * text.C:
4732         * text2.C:
4733         * toc.C: remove redundant using directives.
4734
4735 2003-09-07  Angus Leeming  <leeming@lyx.org>
4736
4737         * LaTeXFeatures.h: remove #include "support/types.h".
4738         * ToolbarBackend.h: remove #include <algorithm>.
4739         * changes.h: remove #include <ctime>.
4740         * debug.h: remove #include <iosfwd>.
4741         * graph.h: remove #include "support/std_string.h".
4742         * lyx_main.h: remove #include <csignal>.
4743         * lyxlex_pimpl.h: remove #include <fstream>.
4744         * sgml.h: remove #include <algorithm>, <utility>.
4745         * toc.h: remove #include "support/std_ostream.h".
4746         Add #include <iosfwd>.
4747
4748 2003-09-07  Angus Leeming  <leeming@lyx.org>
4749
4750         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4751
4752         * converter.h: forward declare LatexRunParams.
4753         * encoding.h: remove #include "lyxrc.h".
4754         * lyxtext.h: remove #include "LColor.h".
4755         * lyxtextclass.h: remove #include "support/types.h".
4756         * trans.h: remove #include "tex-accent.h".
4757         * trans_mgr.h: remove #include "tex-accent.h".
4758         * insets/inset.h: remove #include "support/types.h", <vector>.
4759         * insets/insetcollapsable.h: remove #include "LColor.h".
4760         * insets/insetinclude.h: remove #include "dimension.h".
4761         * insets/insetlatexaccent.h: remove #include "dimension.h".
4762         * insets/insetoptarg.h:: remove #include "insettext.h".
4763         * insets/insettext.h: remove #include "dimension.h",
4764         <boost/shared_ptr.hpp>
4765
4766         * insets/renderers.h: add #include "dimension.h".
4767         * insets/updatableinset.h: add #include "support/types.h".
4768
4769         * many .C files: Associated changes.
4770
4771 2003-09-06  Angus Leeming  <leeming@lyx.org>
4772
4773         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4774         one, inside testInvariant.
4775
4776         * PrinterParams.C: new file.
4777         * PrinterParams.[Ch]: move the function bodies out of line.
4778
4779 2003-09-06  Angus Leeming  <leeming@lyx.org>
4780
4781         * ParagraphParameters.h: forward declare ParameterStruct rather than
4782         including its header file.
4783         (depth): moved out-of-line.
4784
4785 2003-09-06  Angus Leeming  <leeming@lyx.org>
4786
4787         * BufferView_pimpl.h:
4788         * kbmap.h:
4789         * kbsequence.h:
4790         * lyxfunc.h: forward declare LyXKeySym rather than
4791         #include "frontends/LyXKeySym.h".
4792
4793         * BufferView_pimpl.C:
4794         * kbmap.C:
4795         * kbsequence.C:
4796         * lyxfunc.C: associated changes.
4797
4798 2003-09-06  Angus Leeming  <leeming@lyx.org>
4799
4800         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4801         As a result, can remove the #include "insets/inset.h" from BufferView.h
4802
4803 2003-09-06  Angus Leeming  <leeming@lyx.org>
4804
4805         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4806         As a result, can remove the #include "insets/inset.h" from BufferView.h
4807
4808 2003-09-06  Angus Leeming  <leeming@lyx.org>
4809
4810         * buffer_funcs.C:
4811         * buffer.h:
4812         * bufferlist.C:
4813         * BufferView.C:
4814         * bufferview_funcs.C:
4815         * BufferView_pimpl.C:
4816         * CutAndPaste.C:
4817         * lyx_cb.C:
4818         * lyxfunc.C:
4819         * paragraph.h:
4820         * ParagraphParameters.C:
4821         * tabular.C:
4822         * text3.C:
4823         * toc.C:
4824         * undo_funcs.C:
4825         * frontends/controllers/ControlDocument.C:
4826         * insets/insetcaption.C: rearrange the #includes into some sort of
4827         coherent order.
4828
4829         * buffer.h: remove #includes ErrorList.h, undo.h
4830
4831 2003-09-06  Angus Leeming  <leeming@lyx.org>
4832
4833         * support/types.h: add a 'depth_type' typedef, used to store the
4834         nesting depth of a paragraph.
4835
4836         * paragraph.h:
4837         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4838         defining explicitly.
4839
4840         * buffer.h:
4841         * paragraph_funcs.h:
4842         * ParagraphParameters.h:
4843         * sgml.h: use lyx::depth_type rather than Paragraph or
4844         ParameterStruct's depth_type.
4845
4846         * buffer.h
4847         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4848
4849         * BufferView.C:
4850         * BufferView_pimpl.C:
4851         * CutAndPaste.C:
4852         * ParagraphParameters.C:
4853         * buffer_funcs.C:
4854         * bufferlist.C:
4855         * bufferview_funcs.C:
4856         * lyx_cb.C:
4857         * lyxfunc.C:
4858         * tabular.C:
4859         * text3.C:
4860         * toc.C:
4861         * undo_funcs.C:
4862         * frontends/LyXView.C:
4863         * frontends/controllers/ControlDocument.C:
4864         * frontends/controllers/ControlErrorList.C:
4865         * insets/insetbibitem.C:
4866         * insets/insetbranch.C:
4867         * insets/insetcaption.C:
4868         * insets/insetcollapsable.C:
4869         * insets/insetenv.C:
4870         * insets/insetert.C:
4871         * insets/insetfloat.C:
4872         * insets/insetfoot.C:
4873         * insets/insetfootlike.C:
4874         * insets/insetnewline.C:
4875         * insets/insetquotes.C:
4876         * insets/insettabular.C:
4877         * insets/insettext.C:
4878         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4879
4880         * frontends/controllers/ControlChanges.C: #include "changes.h".
4881
4882 2003-09-06  Angus Leeming  <leeming@lyx.org>
4883
4884         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4885         than #including paragraph.h.
4886
4887         * ParagraphList.h:
4888         * RowList.h: deleted. Superfluous.
4889
4890         * CutAndPaste.h:
4891         * iterators.h:
4892         * lyxcursor.h:
4893         * lyxtext.h:
4894         * text_funcs.h:
4895         * undo.h:
4896         * undo_funcs.h:
4897         * insets/inset.h:
4898         * insets/insettext.h: use ParagraphList_fwd.h rather than
4899         ParagraphList.h.
4900
4901         * paragraph.h: don't forward declare ParagraphList.
4902
4903         * buffer.h:
4904         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4905         rather than ParagraphList.h. paragraph.h is still needed for the
4906         Paragraph::depth_type parameters.
4907
4908         * textcursor.h: enable it to compile stand-alone in light of the
4909         above changes.
4910
4911         * bufferview_funcs.C:
4912         * iterators.C:
4913         * lyxfunc.C:
4914         * lyxrow_funcs.C:
4915         * paragraph.C:
4916         * rowpainter.C:
4917         * text.C:
4918         * text2.C:
4919         * text3.C:
4920         * text_funcs.C:
4921         * textcursor.C:
4922         * undo.C:
4923         * frontends/controllers/ControlParagraph.C:
4924         * frontends/controllers/ControlTabular.C:
4925         * insets/insetmarginal.C:
4926         * insets/insetminipage.C:
4927         * insets/insetnote.C:
4928         * insets/insetoptarg.C: add header files needed to compile again.
4929
4930 2003-09-06  Angus Leeming  <leeming@lyx.org>
4931
4932         * RowList_fwd.h: new file, forward-declaring Row rather than
4933         #including lyxrow.h.
4934
4935         * lyxrow_funcs.h:
4936         * lyxtext.h:
4937         * paragraph.h:
4938         * insets/insettext.h: use it instead of RowList.h
4939
4940         * bufferview_funcs.C:
4941         * lyxfunc.C:
4942         * lyxrow_funcs.C:
4943         * paragraph.C:
4944         * rowpainter.C:
4945         * text.C:
4946         * text2.C:
4947         * text3.C: #include "RowList.h".
4948
4949 2003-09-05  Angus Leeming  <leeming@lyx.org>
4950
4951         * factory.C (createInset):
4952         * vspace.C (c-tor): replace sscanf call with an istringstream.
4953         * ispell.C: re-add missing HP/UX headers.
4954         * lyxserver.C: re-add missing  os2 headers.
4955
4956 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4957
4958         * BranchList.C:
4959         * graph.C:
4960         * ispell.C:
4961         * lastfiles.C:
4962         * lyx_cb.C:
4963         * lyxserver.C:
4964         * texrow.C:
4965         * text3.C: re-add missing system headers, needed for 2.95.2.
4966
4967 2003-09-05  Angus Leeming  <leeming@lyx.org>
4968
4969         Changes most place everywhere due to the removal of using directives
4970         from support/std_sstream.h.
4971
4972 2003-09-05  Angus Leeming  <leeming@lyx.org>
4973
4974         Replace LString.h with support/std_string.h,
4975         Lsstream.h with support/std_sstream.h,
4976         support/LIstream.h with support/std_istream.h,
4977         support/LOstream.h with support/std_ostream.h.
4978
4979         Changes resulting throughout the tree.
4980
4981 2003-09-05  Angus Leeming  <leeming@lyx.org>
4982
4983         * sgml.h: ensure that the header file can be compiled stand-alone.
4984         * *.C: strip out redundant #includes. (320 in total.)
4985
4986 2003-09-04  Angus Leeming  <leeming@lyx.org>
4987
4988         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4989         here (from getPackages).
4990
4991         * debug.[Ch]: add a new EXTERNAL tag.
4992
4993 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4994
4995         * text2.C (cursorEnd): simplify
4996         (setCursor): adjust
4997         (getColumnNearX): adjust
4998
4999         * text.C (computeBidiTables): adjust
5000         (fill): adjust
5001
5002         * rowpainter.C (paintChars): adjust
5003         (paintSelection): adjust
5004         (paintChangeBar): adjust
5005         (paintText): adjust
5006
5007         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5008         lastPos instead.
5009         (numberOfSeparators): adjust
5010
5011 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5012
5013         * LyXAction.C:
5014         * box.[Ch]:
5015         * lfuns.h:
5016         * lyxfunc.C:
5017         * text3.C: Restricts the mouse click functionality
5018         of insets like bibtex, include, toc and floatlist to the visible
5019         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5020         up the dialogs. Cursor has to be in front of the inset (i.e.
5021         start of row) for this to function.
5022
5023 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5024
5025         * bufferview_funcs.C (currentState): output row information
5026
5027 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5028
5029         * bufferview_funcs.C (currentState): output paragraph position
5030
5031 2003-09-04  Angus Leeming  <leeming@lyx.org>
5032
5033         * FloatList.h: move out #include "Floating.h".
5034         * LaTeX.h: move out #include "DepTable.h".
5035         * LyXAction.h: move out #include "funcrequest.h".
5036         * buffer.h: move out #include "author.h", "iterators.h".
5037         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5038         * lyx_main.h: move out #include "errorlist.h".
5039         * lyxfunc.h: move out #include "FuncStatus.h".
5040         * lyxtext: move out #include "lyxcursor.h".
5041         * paragraph_pimpl.h: move out #include "counters.h".
5042
5043 2003-09-03  Angus Leeming  <leeming@lyx.org>
5044
5045         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5046         preamble_snippets list, enabling us to add snippets to the preamble
5047         only if the snippet was not there already.
5048
5049 2003-09-04  Angus Leeming  <leeming@lyx.org>
5050
5051         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5052
5053 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5056         update
5057
5058 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5059
5060         * BranchList.C: point fix, earlier forgotten
5061
5062 2003-09-02  Angus Leeming  <leeming@lyx.org>
5063
5064         * box.C (contains): renamed from 'contained' after a fantastic
5065         amount of hot air.
5066
5067 2003-09-02  John Levon  <levon@movementarian.org>
5068
5069         * BufferView.C:
5070         * lyxcursor.h:
5071         * lyxcursor.C:
5072         * lyxfunc.C:
5073         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5074
5075 2003-09-02  John Levon  <levon@movementarian.org>
5076
5077         * text2.C: simplification of cursorEnd(), including partial
5078         fix for bug 1376
5079
5080 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * buffer.C (readFile): add a space
5083
5084 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5085
5086         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5087
5088 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * buffer.C (readFile): new function, take a filename and a
5091         ParagraphList::iterator
5092         (readFile): adjust
5093         (readFile): adjust, make it private. don't use setStream, make
5094         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5095         always contain the filename.
5096
5097         * BufferView.C (insertLyXFile): simplify and make it work for
5098         gzipped files.
5099
5100 2003-08-30  John Levon  <levon@movementarian.org>
5101
5102         * Makefile.am: fix dist (from Kayvan)
5103
5104 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5105
5106         * most files: change to use const Buffer refs
5107
5108 2003-08-27  André Pönitz  <poenitz@gmx.net>
5109
5110         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5111         on top of ownerPar().
5112
5113 2003-08-27  John Levon  <levon@movementarian.org>
5114
5115         * funcrequest.C: properly initialise POD members
5116
5117 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * lyxtext.h (top_y): move top_y from here
5120         * text.C:
5121         * text2.C:
5122         * text3.C:
5123         * BufferView.[Ch]:
5124         * BufferView_pimpl.[Ch]: to here
5125         * frontends/screen.C:
5126         * insets/insettabular.C:
5127         * insets/insettext.C: adjust
5128         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5129
5130 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5131
5132         * BufferView.[Ch]:
5133         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5134
5135 2003-08-26  André Pönitz  <poenitz@gmx.net>
5136
5137         * paragraph_func.[Ch] (outerPar): new function
5138
5139         * paragraph.C:
5140         * paragraph_funcs.C:
5141         * paragraph_funcs.h:
5142         * paragraph_pimpl.C:
5143         * text2.C: remove Inset::par_owner
5144
5145 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5146
5147         * lyxrow_funcs.C:
5148         * lyxtext.h:
5149         * text.C:
5150         * text2.C: eliminates the needFullRow/display() stuff
5151         altogether, putting the logic in metrics/draw in the insets.
5152
5153 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5154
5155         * text2.C (redoParagraphInternal, redoParagraphs):
5156         * text.C (redoParagraph): add a call to updateRowPositions at the
5157         end of each 'metrics-like' call. Remove all others.
5158         (getRow): remove the 'y-computing' version.
5159         (getRowNearY): do not compute nor return the real y. Solve the
5160         'y < 0' problem and simplify.
5161
5162 2003-08-22  Angus Leeming  <leeming@lyx.org>
5163
5164         * *.[Ch]: clean-up of licence and author blurbs.
5165         Also move config.h out of a few .h files and into a few .C files.
5166
5167 2003-08-22  André Pönitz  <poenitz@gmx.net>
5168
5169         * lyxrow.[Ch]: add x_ and *fill_ members
5170
5171         * lyxtext.h:
5172         * text.C:
5173         * rowpainter.C:
5174         * text2.C: adjust/remove prepareToPrint() calls
5175
5176 2003-08-22  André Pönitz  <poenitz@gmx.net>
5177
5178         * lyxrow.[Ch]: add  end_ member
5179
5180         * lyxrow_funcs.C: use LyXRow::end_
5181
5182         * lyxtext.h (singleWidth): add LyXFont parameter
5183
5184         * rowpainter.C:
5185         * text2.C: adjust LyXText::singleWidth() calls
5186
5187         * text.C (redoParagraph): simplify row breaking logic
5188
5189
5190 2003-08-19  André Pönitz  <poenitz@gmx.net>
5191
5192         * funcrequest.C: initialize button_ member
5193
5194         * text3.C:
5195         * rowpainter.[Ch]: interface consolidation
5196
5197 2003-08-18  André Pönitz  <poenitz@gmx.net>
5198
5199         * BufferView.C:
5200         * BufferView_pimpl.C:
5201         * lyxfind.C:
5202         * paragraph_funcs.C:
5203         * rowpainter.C:
5204         * text3.C: remove LyXScreen::draw() and fitCursor calls
5205
5206         * BranchList.h: remove spurious semicolons
5207
5208         * MenuBackend.C: fix branchlist related crash
5209
5210 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5211
5212         * BranchList.[Ch]:
5213         * InsetList.[Ch]:
5214         * LColor.[Ch]:
5215         * LyXAction.C:
5216         * Makefile.am:
5217         * MenuBackend.[Ch]:
5218         * bufferparams.[Ch]:
5219         * factory.C:
5220         * lfuns.h:
5221         * lyxfunc.C:
5222         * text3.C: implements the 'branch inset'
5223         idea. This allows the output of various versions of a document
5224         from a single source version, selectively outputing or suppressing
5225         output of parts of the text.
5226         This implementation contains a 'branch list editor' in a separate
5227         tab of the document settings dialog. Branches are user definable
5228         and have a "display colour" to distinguish them on-screen.
5229
5230         ColorHandler was somewhat cleaned up.
5231         (1) make possible a dynamically growing LColor list by allowing
5232         the graphic context cache to grow along (vector);
5233         (2) eliminate an IMHO unnecessary step in colour allocation.
5234
5235 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5236
5237         * BufferView_pimpl.C: compile fix
5238
5239 2003-08-15  André Pönitz  <poenitz@gmx.net>
5240
5241         * rowpainter.C: remove extra metrics calls
5242
5243         * lyxtext.h: merge the two constructors into a single one,
5244           pass reference to owner's par list
5245
5246         * BufferView_pimpl.C:
5247         * text.C:
5248         * text2.C: adjust
5249
5250 2003-08-15  André Pönitz  <poenitz@gmx.net>
5251
5252         * lyxrow_funcs.[Ch]:
5253         * lyxtext.h:
5254         * paragraph.h:
5255         * paragraph_funcs.C:
5256         * rowpainter.C:
5257         * text.C:
5258         * text2.C:
5259         * text3.C:
5260         * text_funcs.C: split LyXText::rowlist_ into individual
5261         Paragraph::rows_ chunks
5262
5263         * BufferView.[Ch]:
5264         * BufferView_pimpl.[Ch]:
5265         * lyxfind.C:
5266         * lyxtext.h:
5267         * text3.C: remove toggleSelection()
5268
5269 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5270
5271         * bufferlist.C: beautify two alerts (shorter text of buttons)
5272         * buffer.C: Remove redundant ' ' from message
5273         * tabular.h:
5274         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5275         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5276         rename VALIGN_CENTER to VALIGN_MIDDLE
5277
5278 2003-08-11  André Pönitz  <poenitz@gmx.net>
5279
5280         * lyxtext.h (getPar):
5281         * text.C: new function
5282
5283 2003-08-11  André Pönitz  <poenitz@gmx.net>
5284
5285         * Makefile.am:
5286         * tracer.[Ch]: remove unneeded files
5287
5288         * InsetList.[Ch]: remove resizeInsetsLyXText()
5289
5290         * lyxtext.h:
5291         * text.C:
5292         * text2.C:
5293         * text3.C: merge insertParagraphs() and appendParagraph()
5294         remove breakAgain(), update()
5295
5296         * BufferView_pimpl.[Ch]:
5297         * bufferview_funcs.[Ch]:
5298         * lyxfunc.C:
5299         * paragraph.[Ch]:
5300         * rowpainter.C:
5301         * tabular.C: adjust after text & InsetList changes.
5302
5303 2003-08-08  André Pönitz  <poenitz@gmx.net>
5304
5305         * text.C (insertChar, backspace): replace rowlist fiddling
5306         with rebreak of full par
5307
5308         * lyxtext.h:
5309         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5310         checkParagraph, updateInset): removed
5311
5312 2003-08-07  André Pönitz  <poenitz@gmx.net>
5313
5314         * paragraph.C:
5315         * text3.C: merge some LFUN handlers, remove dead code
5316
5317 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5318
5319         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5320
5321 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5322
5323         * text2.C (DEPM): fix part of bug 1255 and 1256
5324
5325 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5326
5327         * BufferView_pimpl.C (workAreaDispatch): change to use
5328         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5329         that are no mouse related.
5330
5331 2003-08-05  André Pönitz  <poenitz@gmx.net>
5332
5333         * BufferView.[Ch]:
5334         * BufferView_pimpl.[Ch]:
5335         * bufferview_funcs.C:
5336         * text2.C:
5337         * text3.C: rip out "deep update"
5338
5339         * textcursor.[Ch] (last_sel_cursor): remove unused member
5340
5341 2003-08-04  André Pönitz  <poenitz@gmx.net>
5342
5343         * BufferView.[Ch]:
5344         * BufferView_pimpl.[Ch]:
5345         * ParagraphParameters.C:
5346         * bufferview_funcs.C:
5347         * lyx_cb.C:
5348         * lyxfind.C:
5349         * lyxfunc.C:
5350         * text.C:
5351         * text2.C:
5352         * text3.C: replace "complicated" BufferView::update(...) calls with
5353         simpler ones.
5354
5355         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5356
5357 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5358
5359         * Makefile.am (lyx_SOURCES): add paper.h
5360
5361 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5362
5363         * Makefile.am: move things around so that both lyx-qt and
5364         lyx-xforms can be built (according to --with-frontend). Then lyx
5365         is a symbolic link to lyx-[firstfrontend]
5366
5367 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5368
5369         * Always use std::endl with lyxerr
5370
5371 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5372
5373         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5374
5375 2003-08-01  André Pönitz  <poenitz@gmx.net>
5376
5377         * BufferView.[Ch]:
5378         * BufferView_pimpl.[Ch]:
5379         * lyxfunc.C:
5380         * text3.C: merge BufferView::repaint() and BufferView::update()
5381
5382 2003-08-01  José Matos  <jamatos@lyx.org>
5383
5384         * buffer.[Ch]: file_format is no longer a buffer data element.
5385
5386 2003-08-01  André Pönitz  <poenitz@gmx.net>
5387
5388         * BufferView.C:
5389         * lyxtext.h:
5390         * text.C:
5391         * text2.C: make redoParagraph more independent of current cursor
5392
5393         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5394         * text.C:
5395         * text2.C: remove unneeded members
5396
5397 2003-07-30  André Pönitz  <poenitz@gmx.net>
5398
5399         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5400
5401         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5402           create a single function...
5403
5404         * paragraph_funcs.C (moveItem): ... here.
5405
5406         * text.C:
5407           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5408
5409 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5410
5411         * LColor.[Ch]: Add comment and greyedout logical colors.
5412
5413 2003-07-30  André Pönitz  <poenitz@gmx.net>
5414
5415         * tabular.C: don't use Assert too heavily. This crashes where it
5416           shouldn't
5417
5418 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5419
5420         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5421         is disabled (bug 1232)
5422
5423 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5424
5425         * factory.C: limited 'arg' scope
5426
5427 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5428
5429         * factory.C: fixed Note submenu issues
5430
5431 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5432
5433         * factory.C: submenu for Note/Comment/Greyedout
5434
5435 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5436
5437         * lyx_main.C (LyX):
5438         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5439
5440 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5441
5442         * LaTeXFeatures.C:
5443         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5444         greyedout. Patch provided by Jürgen Spitzmüller.
5445
5446 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5447
5448         * kbmap.C (read): fix error message when reading bind files
5449
5450 2003-07-29  Angus Leeming  <leeming@lyx.org>
5451
5452         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5453         certainly does not do what it purports to do. I am doing it, and
5454         us, a favour by killing it.
5455
5456 2003-07-28  José Matos  <jamatos@lyx.org>
5457
5458         * buffer.C (readBody, do_writeFile):
5459         * paragraph.C(readParagraph): \end_document replaces \the_end.
5460
5461 2003-07-29  André Pönitz  <poenitz@gmx.net>
5462
5463         * BufferView.[Ch]:
5464         * BufferView_pimpl.[Ch]:
5465         * lyxfunc.C:
5466         * text2.C:
5467         * text3.C:
5468         * textcursor.[Ch]: remove toggleToggle & Co
5469
5470 2003-07-28  José Matos  <jamatos@fep.up.pt>
5471
5472         * buffer.C (readParagraph):
5473         * params_func (readParToken, readParagraph):
5474         * paragraph.C (write): \layout -> \begin_layout.
5475
5476 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5477
5478         * lyxlex_pimpl.C (setFile): clean up slightly.
5479
5480         * bufferparams.h: add compressed var
5481
5482         * buffer_funcs.C (readFile): adjust for LyXLex change
5483         (newFile): ditto + simplify
5484
5485         * buffer.C (writeFile): handle writing of compressed files
5486
5487         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5488         Check if the file is compressed and set a bufferparm if so.
5489
5490         * Makefile.am (lyx_LDADD): remove explicit -lz
5491
5492 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5493
5494         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5495         makeDocBookFile): put the real LyX version in the first line of
5496         the file
5497
5498         * version.h:
5499         * version.C.in: remove lyx_docversion
5500
5501         * tabular.C (write_attribute): add a template-based version to
5502         write enums properly
5503
5504 2003-07-28  André Pönitz  <poenitz@gmx.net>
5505
5506         * lyxtext.h:
5507         * text.C:
5508         * text2.C:
5509         * text3.C: use doubles again for x-coordinates. They are needed.
5510
5511 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * messages.C (getLocaleDir): use lyx_localedir()
5514
5515         * lyxlex_pimpl.C (setFile): compress stuff
5516
5517         * buffer.C (writeFile): add some compression stuff
5518         (do_writeFile): new func, dont call expliti close... will this
5519         breake anything?
5520
5521         * Makefile.am (lyx_LDADD): add -lz
5522
5523 2003-07-28  José Matos  <jamatos@fep.up.pt>
5524
5525         * buffer.C: increment file format.
5526         * paragraph_funcs (readParagraph, readParToken):
5527         * paragraph.C (readParagraph): add \end_layout.
5528
5529 2003-07-27  Angus Leeming  <leeming@lyx.org>
5530
5531         * Makefile.am: remove special casing for configure-time setting of
5532         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5533
5534         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5535         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5536
5537 2003-07-26  André Pönitz  <poenitz@gmx.net>
5538
5539         * paragraph_func.[Ch]:
5540         * paragraph.C (realizeFont): inline it whereever it is used
5541
5542         * rowpainter.C:
5543         * text.C:
5544         * text2.C:
5545         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5546
5547
5548 2003-07-26  André Pönitz  <poenitz@gmx.net>
5549
5550         *       lyxtext.h:
5551         * text.C:
5552         * text2.C: get rid of LyXText::need_break_row
5553
5554 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * toc.[Ch]: put namespace toc inside namespace lyx
5557
5558         * MenuBackend.C (expandToc2): adjust for lyx::toc
5559         (expandToc): ditto
5560
5561         * lyxfunc.C (dispatch): adjust for lyx::find
5562
5563         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5564         lyx::find instead. Reorganize a bit.
5565         (LyXReplace): rename to replace
5566         (LyXFind): rename to find
5567
5568         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5569         (dispatch): ditto
5570
5571 2003-07-26  André Pönitz  <poenitz@gmx.net>
5572
5573         * text.C (setHeightOfRow): restrict scope of temporary variable
5574
5575         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5576           code (never has been used?)
5577
5578 2003-07-27  Asger Alstrup  <alstrup@local>
5579
5580         * text.C (fill): Optimise algorithm to exploit that we can reuse
5581         the LyXFont for many characters.
5582         (setHeightOfRow): Same thing.
5583         (rowBreakPoint): Same thing.
5584
5585 2003-07-26  Asger Alstrup  <alstrup@local>
5586
5587         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5588
5589         * text.C (singleWidth): Spurious font copying in hot-spot
5590         singleWidth avoided. Reorder tests for arabic for efficiency.
5591
5592         * text.C (fill): handle empty paragraphs better.
5593
5594 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5595
5596         * ispell.C:
5597         * encoding.h: add includes
5598
5599         * lyxrc.C: remove reading of bind files
5600
5601         * lyx_main.C (init): setup bindings and menus only if we have a
5602         gui.
5603
5604         * kbmap.C (read): new method. Do the actual reading of bind
5605         files.
5606
5607         * converter.C (dvipdfm_options):
5608         * bufferparams.C:
5609         * lyxrc.C (read):
5610         (output): adapt PAPER_* enums.
5611
5612         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5613
5614         * bufferparams.h: remove paper-related enums from there
5615
5616         * paper.h: New file. A trivial header file to hold paper-related
5617         enums. It should later expand to contain many paper-related
5618         horrors access.
5619
5620         * lyxrc.C: declare extern displayTranslator
5621
5622 2003-07-27  José Matos  <jamatos@fep.up.pt>
5623
5624         * tabular.[Ch] (linuxdoc): add support for tables and figures
5625         (linuxdoc).
5626
5627 2003-07-27  José Matos  <jamatos@fep.up.pt>
5628
5629         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5630         consistency in both functions.
5631         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5632
5633 2003-07-26  Asger Alstrup  <alstrup@local>
5634
5635         * rowpainter.C (paintRows): Change algorithm to work directly on
5636         the insets rather than asking every character in the document
5637         whether its an inset.
5638
5639 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * buffer.C (openFileWrite): factorize some code
5642
5643 2003-07-26  Angus Leeming  <leeming@lyx.org>
5644
5645         * lyx_cb.C:
5646         * lyx_main.[Ch]: replace occurances of system_tempdir with
5647         os::getTmpDir().
5648
5649 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * rename Inset to InsetOld
5652
5653 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5654
5655         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5656         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5657         which I think is a bit clearer. EDIT is gone, since it was
5658         premature optimisation, and broken for mathed anyway.
5659         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5660         with cursor positioning in insets as well (math insets still do not
5661         work, but that's a different story anyway.) It mysteriously
5662         crashes sometimes with undo in the first paragraph, but I'm fairly
5663         confident that this is a compiler bug.
5664
5665 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * paragraph.C (Paragraph): adjust for new clone return type
5668         (operator==): ditto
5669         (copyIntoMinibuffer): ditto
5670
5671 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5672
5673         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5674         by not having a special case, and always doing a full rebreak of
5675         the document after undo.
5676
5677 2003-07-23  Angus Leeming  <leeming@lyx.org>
5678
5679         * factory.C (createInset): InsetExternal::setParams now takes a
5680         Buffer const * arg.
5681
5682 2003-07-23  Angus Leeming  <leeming@lyx.org>
5683
5684         * factory.C (createInset): changed interface to the external and
5685         graphics mailers' string2params functions.
5686
5687 2003-07-23  Angus Leeming  <leeming@lyx.org>
5688
5689         * factory.C (createInset): pass a
5690         Buffer const * parameter to InsetExternalMailer's string2params.
5691
5692 2003-07-22  John Levon  <levon@movementarian.org>
5693
5694         * Thesaurus.h: include the right aiksaurus header
5695
5696 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5697
5698         * MenuBackend.C (expand): check menu shortcuts unconditionally
5699
5700 2003-07-21  Angus Leeming  <leeming@lyx.org>
5701
5702         * factory.C (createInset): pass a
5703         buffer_path parameter to InsetGraphicsMailer's string2params.
5704
5705 2003-07-21  Angus Leeming  <leeming@lyx.org>
5706
5707         * BufferView_pimpl.C (buffer):
5708         * buffer.C (d-tor):
5709         * lyx_main.C (LyX):
5710         * lyxfunc.C (dispatch):
5711         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5712         rather than the grfx shortcut.
5713
5714 2003-07-21  André Pönitz  <poenitz@gmx.net>
5715
5716         * rowpainter.C: remove unused variables
5717
5718         * tabular_funcs.C:
5719         * tabular_funcs.h: move to tabular.C
5720         * Makefile.am: adjust
5721
5722         * tabular.[Ch]: basic optical cleaning
5723
5724         * author.h: pass references, not values
5725
5726 2003-07-18  André Pönitz  <poenitz@gmx.net>
5727
5728         * lyxtext.h:
5729         * metricsinfo.C:
5730         * metricsinfo.h:
5731         * rowpainter.C:
5732         * text.C:
5733         * text2.C:
5734         * text3.C: two-phase drawing for InsetText and InsetTabular
5735         some float -> int changes.
5736
5737 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5738
5739         * lyx_main.C: fix the fix
5740
5741 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5742
5743         * lyx_main.C: fix a crash in batch mode if no files specified
5744         * converter.C: ws
5745
5746 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * format.[Ch] (papersize): moved to BufferParams
5749         * converter.[Ch] (dvips_options): moved to BufferParams
5750         (dvipdfm_options): moved to anon namespace
5751         * bufferparams.[Ch]: added above functions.
5752
5753 2003-07-17  André Pönitz  <poenitz@gmx.net>
5754
5755         * lyxtext.h:
5756         * rowpainter.C:
5757         * text2.C: don't call inset->update() anymore
5758
5759         * metricsinfo.[Ch]: add convenience constructor
5760
5761 2003-07-16  André Pönitz  <poenitz@gmx.net>
5762
5763         * lyxcursor.[Ch]:
5764         * lyxfunc.[Ch]:
5765         * text.C:
5766         * text2.C: replace the LyXCursor::irow_ member with
5767          on-demand computation of the value
5768
5769 2003-07-16  John Levon  <levon@movementarian.org>
5770
5771         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5772
5773 2003-07-15  André Pönitz  <poenitz@gmx.net>
5774
5775         * text.C:
5776         * text2.C: remove no more needed refresh_row
5777
5778 2003-07-15  André Pönitz  <poenitz@gmx.net>
5779
5780         * lyxtext.h:
5781         * rowpainter.C:
5782         * text2.C:
5783         * text3.C: refresh_status tristate -> need_update bool
5784
5785 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5786
5787         * lyxtext.h (init): remove reinit argument (act as if always true)
5788         * text2.C: adjust to that
5789
5790 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5791
5792         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5793         * text3.C: use it to delete selections in some cases
5794         (bugs 441, 673, 702, 954).
5795
5796 2003-07-14  André Pönitz  <poenitz@gmx.net>
5797
5798         * rowpainter.[Ch]: reduce interface
5799
5800 2003-07-14  André Pönitz  <poenitz@gmx.net>
5801
5802         * BufferView_pimpl.C:
5803         * text2.C: adjust after removing unused BufferView * argument
5804
5805 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5806
5807         * text2.C (init): fix a crash fired on resize
5808
5809 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5810
5811         * buffer.[Ch]: added new closing signal
5812         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5813         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5814         BufferView::Pimpl via the closing the signal
5815
5816 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5817
5818         * buffer.[Ch]: take out all bv-related from buffer
5819         * BufferView.C:
5820         * BufferView_pimpl.[Ch]: connect to new signals
5821         * CutAndPaste.C: removed useless asserts
5822         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5823         * lyxvc.[Ch]:
5824         * vc-backend.[Ch]:
5825         * lyxfunc.C: moved view-related funciontality from vc here
5826         * paragraph.C: removed outdated comments
5827         * text.C: ws
5828
5829 2003-07-10  André Pönitz  <poenitz@gmx.net>
5830
5831         * BufferView_pimpl.C:
5832         * tabular.h:
5833         * tabular_funcs.C:
5834         * text.C:
5835         * text2.C: remove InsetText::InnerCache, clean up consequences
5836
5837 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5838
5839         * ispell.C: fix two typos in error messages
5840
5841 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5842
5843         * Extend Note inset to other forms of annotation like Comment
5844         and Greyedout. Right button click gives dialog.
5845
5846         Files modified or added (+):
5847
5848         * insetnote.[Ch]
5849         * FormNote.[Ch]      +
5850         * ControlNote.[Ch]   +
5851         * form_note.fd       +
5852         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5853         frontends/controllers
5854         * xforms/Dialogs.C
5855         * factory.C
5856
5857 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5858
5859         * aspell.C: add missing namespace lyx::support
5860
5861 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5862
5863         * BufferView.[Ch] (newFile): Add
5864         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5865         * LaTeX.[Ch] (message): added this signal and use it
5866         * buffer.[Ch] (busy, message): added these signals and use them
5867         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5868         * converter.C:
5869         * exporter.C:
5870         * format.C:
5871         * importer.C: use buffer signals instead of direct bv calling
5872         * lyx_cb.[Ch] (ShowMessage): removed
5873         * lyx_main.C:
5874         * lyxfunc.C:
5875         * paragraph_funcs.C:
5876         * text2.C: use buffer signals
5877
5878 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * introduce namespace lyx::graphics
5881
5882 2003-07-02  André Pönitz  <poenitz@gmx.net>
5883
5884         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5885
5886 2003-07-01  André Pönitz  <poenitz@gmx.net>
5887
5888         * text.C:
5889         * text2.C:
5890         * text3.C:
5891         * text_funcs.[Ch]:
5892         * textcursor.h:
5893         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5894           text*.C to text_func.C
5895
5896 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * introduce namespace lyx::support
5899
5900 2003-06-30  André Pönitz  <poenitz@gmx.net>
5901
5902         * Chktex.C:
5903         * funcrequest.C:
5904         * lyxtext.h:
5905         * text.C: re-enable --with-included-string
5906
5907 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * textcursor.C: add <config.h>
5910
5911         * text.C (getWord): remove const from word_location arg
5912
5913         * lyxvc.C (getLogFile): fix const type order
5914
5915         * lyxtext.h: remove const from word_location arg, add arg name
5916
5917         * lyxlayout.h: currect type on labeltype.
5918
5919         * importer.C: correct \file
5920
5921         * converter.C (intToFormat): use std:: on ret val, ws changes
5922
5923         * bufferlist.h: correct \file
5924
5925         * buffer.C (makeLinuxDocFile): fix const type order
5926         (makeDocBookFile): ditto
5927         (fillWithBibKeys): use std:: on stdlib args.
5928
5929         * CutAndPaste.C: fix authors.
5930         (availableSelections): use std:: on return vector
5931
5932 2003-06-27  André Pönitz  <poenitz@gmx.net>
5933
5934         * BufferView_pimpl.C:
5935         * bufferview_funcs.C:
5936         * lyxcursor.C:
5937         * lyxcursor.h:
5938         * lyxfunc.C:
5939         * lyxtext.h:
5940         * rowpainter.C:
5941         * text.C:
5942         * text2.C:
5943         * text3.C: remove LyXCursor::row_ member
5944
5945         * lyxtext.h:
5946         * text.C: rename fullRebreak() to partialRebreak() and implement
5947           a fullRebreak() that really bereks fully
5948
5949         * textcursor.h: new struct for cursor-related data
5950
5951 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5952
5953         * lyx_main.C (LyX): get full path of document loaded on the
5954         command line
5955
5956 2003-06-26  André Pönitz  <poenitz@gmx.net>
5957
5958         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5959           remove unused/broken operator>,<,>=.
5960
5961         *       text.C: remove only use of broken operator<= in an Assert().
5962
5963 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5964
5965         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5966         moved errorlist_.clear to showErrorList
5967
5968 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5969
5970         * converter.C (scanLog, runLaTeX):
5971         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5972         move the bv->showErrorList call to the callers
5973         * lyxfunc.C: i.e. here...
5974         * text2.C: and here
5975         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5976         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5977         namespace, the second to...
5978         * buffer_funcs (BufferFormat, parseErrors): added
5979         * errorlist.C (ErrorList(TeXErrors const &)): removed
5980
5981 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5982
5983         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5984
5985 2003-06-24  "Garst R. Reese" <reese@isn.net>
5986
5987         * debug.C: fix typo
5988
5989 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5990
5991         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5992
5993         * version.C.in: change docversion to 1.4
5994
5995 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5996
5997         * buffer.C: fix a bug just introduced
5998
5999 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6000
6001         * buffer.[Ch]: added the parseError signal and use it, removed
6002         sgmlError
6003         * BufferView.[Ch] (addError): moved to ...
6004         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6005         to the Buffer::parseError signal to catch (guess what) parse errors
6006         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6007
6008 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6011         ability to create a buffer and to return an existing one from
6012         the list. Moved these functions to...
6013         * buffer_funcs.[Ch]: added
6014         * BufferView.[Ch] (loadLyXFile): added
6015         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6016         job removed from bufferlist::loadLyXFile.
6017         * buffer.C (setReadOnly): make it work without view
6018         (i.e added an if (users))
6019
6020 2003-06-19  Angus Leeming  <leeming@lyx.org>
6021
6022         * lfuns.h:
6023         * LyXAction.C (init):
6024         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6025         with LFUN_DIALOG_SHOW <name> <data>.
6026
6027 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6028
6029         * CutAndPaste.C (availableSelections): small compilation fix for
6030         ancient (gcc 2.9x) compilers
6031
6032 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * text3.C (cursorNext): add tmp var
6035
6036         * text2.C (updateCounters): for function calling out of for clause
6037         (replaceSelectionWithString): ditto
6038         (insertStringAsParagraphs): ditto
6039         (getColumnNearX): add tmp var
6040         (setCursorFromCoordinates): add tmp var
6041         (cursorDownParagraph): add tmp var
6042         (deleteEmptyParagraphMechanism): add tmp var
6043
6044         * text.C (insertChar): add tmp var
6045
6046         * rowpainter.C (paintDepthBar): add tmp var
6047
6048         * CutAndPaste.C (availableSelections): potentially check all
6049         paragraphs in a cut to fill the shown strings.
6050
6051 2003-06-18  André Pönitz  <poenitz@gmx.net>
6052
6053         * kbmap.[Ch]: use vector<> instead of list<>
6054
6055 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6056
6057         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6058         pasteSelection with index
6059
6060         * text2.C (pasteSelection): modify, call pasteSelection with index
6061
6062         * paragraph.C (asString): reimplement version with no interval to
6063         call the one with interval.
6064
6065         * lyxtext.h: add index arg to pasteSelection
6066
6067         * MenuBackend.C (MenuItem): handle PasteRecent
6068         (Menu::read::Menutags): add md_pasterecent
6069         (read): handle it
6070         (expandPasteRecent): new function
6071         (expand): use it
6072
6073         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6074
6075         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6076         the limited stack
6077         (availableSelections): new function
6078
6079 2003-06-17  Angus Leeming  <leeming@lyx.org>
6080
6081         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6082
6083 2003-06-17  Angus Leeming  <leeming@lyx.org>
6084
6085         * lfuns.h:
6086         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6087
6088         * lyxfunc.C (dispatch): invoke it.
6089
6090 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6091
6092         * iterators.C (operator++, ParPosition): reintroduce some
6093         const_cast for the benefit of older compilers.
6094
6095 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6096
6097         * text3.C (dispatch): do not modify clipboard when doing
6098         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6099         LFUN_DELETE_SKIP on a selection selection
6100
6101 2003-06-16  André Pönitz  <poenitz@gmx.net>
6102
6103         * BufferView.C:
6104         * buffer.C:
6105         * buffer.h:
6106         * paragraph.C:
6107         * tabular.[Ch]: IU of clone() and getLabelList();
6108
6109 2003-06-13  André Pönitz  <poenitz@gmx.net>
6110
6111         * tabular.h: compactification
6112
6113 2003-06-12  André Pönitz  <poenitz@gmx.net>
6114
6115         * tabular.C:
6116         * tabular.h:
6117         * tabular_funcs.h: some renaming plus whitespace
6118
6119 2003-06-12  André Pönitz  <poenitz@gmx.net>
6120
6121         * BufferView.C:
6122         * BufferView_pimpl.C:
6123         * CutAndPaste.C:
6124         * buffer.C:
6125         * iterators.[Ch]:
6126         * lyxfunc.C:
6127         * text.C:
6128         * toc.C: Return a Paragraph & for ParIterator::operator*()
6129
6130 2003-06-11  John Levon  <levon@movementarian.org>
6131
6132         * lyx_main.C:
6133         * ToolbarBackend.h:
6134         * ToolbarBackend.C: add "Toolbars" section and
6135         put the flags there
6136
6137 2003-06-10  Angus Leeming  <leeming@lyx.org>
6138
6139         * lfuns.h:
6140         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6141
6142         * lyxfunc.C (dispatch): invoke it.
6143
6144 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * main.C: protect <ios> with HAVE_IOS
6147         (main): protect sync_with_stdio with HAVE_IOS
6148
6149 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6150
6151         * text2.C (cutSelection): adjust
6152         (pasteSelection): adjust
6153
6154         * messages.C: handle get of empty string
6155
6156         * main.C (main): use sync_with_stdio(false)
6157
6158         * lyxfunc.C (dispatch): adjust
6159
6160         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6161         (WriteAs): remove unneeded BufferView arg.
6162
6163         * bufferparams.h: use correct types on papersize, papersize2 and
6164         paperpackage.
6165
6166         * bufferparams.C (readToken): adjust for type
6167         (writeLaTeX): add missing cases to switch.
6168
6169         * bufferlist.C (quitWriteBuffer): adjust
6170         (close): adjust
6171
6172         * buffer.C (asciiParagraph): remove some commented code.
6173
6174         * CutAndPaste.C: remove current_view extern variable.
6175         (cutSelection): add BufferParams arg.
6176         (eraseSelection): add BufferParams arg.
6177         (pasteSelection): add Buffer const & arg
6178
6179 2003-06-07  John Levon  <levon@movementarian.org>
6180
6181         * buffer.C:
6182         * paragraph_funcs.C:
6183         * paragraph_pimpl.C:
6184         * text.C:
6185         * text2.C:
6186         * paragraph.h:
6187         * paragraph.C: allow InsetERT to freely space lines,
6188         and some consolidation of code
6189
6190 2003-06-06  José Matos  <jamatos@fep.up.pt>
6191
6192         * buffer.C (makeDocBookFile): fix bug #821
6193
6194 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6195
6196         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6197
6198 2003-06-04  Angus Leeming  <leeming@lyx.org>
6199
6200         * buffer.C: bump format to 224.
6201
6202 2003-06-05  André Pönitz  <poenitz@gmx.net>
6203
6204         * text2.C (redoParagraphs): remove two const_cast<>
6205
6206 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6207
6208         * ParagraphList.h: remove last remnants of NO_STD_LIST
6209
6210 2003-06-03  Angus Leeming  <leeming@lyx.org>
6211
6212         * factory.C (createInset): small change to the way InsetExternal's params
6213         are set.
6214
6215 2003-06-04  André Pönitz  <poenitz@gmx.net>
6216
6217         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6218
6219         * paragraph_pimpl.h:
6220         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6221
6222         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6223
6224         * undo_funcs.C: make some simple cases of undo work again
6225
6226 2003-06-03  John Levon  <levon@movementarian.org>
6227
6228         * ispell.C: HPUX doesn't have sys/select.h
6229         (from Albert Chin)
6230
6231 2003-06-03  John Levon  <levon@movementarian.org>
6232
6233         * CutAndPaste.C: update tabular and include inset
6234         buffer references
6235
6236         * buffer.h:
6237         * paragraph.h:
6238         * paragraph.C: remove owningBuffer(), don't pass Buffer
6239         to clone()
6240
6241         * factory.C: insetGraphicsParams changed
6242
6243 2003-06-02  John Levon  <levon@movementarian.org>
6244
6245         * LyXAction.C:
6246         * factory.C:
6247         * lfuns.h:
6248         * lyxfunc.C:
6249         * text3.C: remove insetparent
6250
6251 2003-06-02  John Levon  <levon@movementarian.org>
6252
6253         * buffer.h:
6254         * buffer.C: fix inset_iterator.end(), move out of line
6255         (bug 1149)
6256
6257 2003-06-01  John Levon  <levon@movementarian.org>
6258
6259         * text3.C: use a proper cut/paste when doing inset
6260         insert (from Jürgen Spitzmüller)
6261
6262 2003-06-01  John Levon  <levon@movementarian.org>
6263
6264         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6265
6266 2003-05-30  André Pönitz  <poenitz@gmx.net>
6267
6268         * rowpainter.C: unify second drawing phase
6269
6270 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * trans_mgr.C: remove one case of current_view
6273
6274         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6275
6276         * paragraph_funcs.h: remove paragraph.h include
6277
6278         * paragraph.h: delete NO_STD_LIST stuff
6279
6280         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6281
6282         * buffer.h: remove paragraph.h include
6283
6284         * ParagraphList.C: delete file
6285
6286         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6287
6288         * toc.C (getTocList): adjust
6289
6290         * paragraph_pimpl.C (validate): adjust
6291
6292         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6293
6294         * paragraph.C (Paragraph): adjust
6295         (getPositionOfInset): use const_iterator, adjust
6296         (bibitem): use const_iterator, adjust
6297         (setInsetOwner): adjust
6298
6299         * iterators.C (operator++): adjust
6300
6301         * InsetList.[Ch]: Replace selfmade iterator with standard
6302         vector::iterator also introduce const_iterator. Remove getPos,
6303         getInset and setInset from InsetTable. Adjust accordingly.
6304
6305         * BufferView.C (lockInset): adjust
6306         (ChangeInsets): adjust
6307
6308         * tabular.[Ch]: delete commented same_id functions
6309
6310 2003-05-28  John Levon  <levon@movementarian.org>
6311
6312         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6313
6314 2003-05-28  André Pönitz  <poenitz@gmx.net>
6315
6316         * metricsinfo.[Ch]: remove 'fullredraw' member
6317
6318 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6319
6320         * lyxtextclass.C (operator): remove caching.
6321
6322 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * text3.C: adjust
6325
6326         * text2.C (cursorBottom): adjust
6327         (setCounter): use ParagraphList::find, adjust
6328
6329         * text.C (workWidth): use ParagraphList::find, adjust
6330
6331         * lyxcursor.C (LyXCursor): adjust
6332
6333         * buffer.C (inset_iterator): adjust
6334
6335         * ParagraphList.h: make iterator(value_type) private, make
6336         ParagraphList a friend of iterator.
6337
6338         * ParagraphList.C (find): new function
6339
6340         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6341
6342 2003-05-27  André Pönitz  <poenitz@gmx.net>
6343
6344         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6345
6346 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6347
6348         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6349
6350 2003-05-26  John Levon  <levon@movementarian.org>
6351
6352         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6353
6354 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * remove same_id from function signatures, adjust.
6357
6358 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6361
6362         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6363
6364         * paragraph.C (Paragraph): get rid of same_ids parameter
6365
6366         * ParagraphList.C (insert): adjust
6367         (push_back): adjust
6368
6369 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * paragraph_funcs.C (breakParagraph): adjust
6372         (breakParagraphConservative): adjust
6373
6374         * buffer.C (readParagraph): adjust
6375
6376         * ParagraphList.C (insert): take a reference instead of a pointer
6377         (insert): adjust
6378
6379         * paragraph.[Ch] (id): new function
6380
6381         * bufferlist.C (newFile): adjust
6382
6383         * ParagraphList.C (ParagraphList): adjust
6384         (assign): adjust
6385         (push_back): take a reference instead of a pointer.
6386
6387         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6388
6389         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6390         instead.
6391
6392         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6393         set else use old code.
6394
6395         * ParagraphList.C: remove all NO_NEXT code and only compile this
6396         code of NO_STD_LIST is set.
6397
6398 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6399
6400         * BufferView_pimpl.C:
6401         * TextCache.C:
6402         * TextCache.h:
6403         * bufferlist.C:
6404         * errorlist.h:
6405         * format.C:
6406         * format.h:
6407         * graph.C:
6408         * lyxfunc.C:
6409         * lyxrc.C:
6410         * graphics/GraphicsConverter.C:
6411         * graphics/PreviewLoader.C: header adjustment
6412
6413 2003-05-23  Angus Leeming  <leeming@lyx.org>
6414
6415         * LaTeXFeatures.[Ch] (useBabel): new method.
6416         * bufferparams.C (writeLaTeX): use it.
6417
6418 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6419
6420         * ParagraphList.h (set): remove unused function.
6421
6422 2003-05-23  André Pönitz  <poenitz@gmx.net>
6423
6424         * BufferView.C:
6425         * BufferView_pimpl.C:
6426         * buffer.C:
6427         * buffer.h:
6428         * lyxfunc.C:
6429         * undo_funcs.C: setUndo reworked
6430
6431         * iterators.[Ch]: add access to topmost ParagraphList
6432
6433         * lyxtext.[Ch] (workWidth): add a const
6434
6435 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6436
6437         * texrow.[Ch] (increasePos): remove function
6438         * exporter.C (export): removed unused var and outdated comment
6439
6440 2003-05-23  Angus Leeming  <leeming@lyx.org>
6441
6442         * latexrunparams.h: rename fragile as moving_arg.
6443         * paragraph.C (simpleTeXOnePar): ditto.
6444         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6445
6446 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6447
6448         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6449         (createUndo): ditto
6450         (textUndoOrRedo): comment out a currently unused var.
6451
6452         * paragraph.h (NO_NEXT): enable NO_NEXT
6453
6454         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6455
6456         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6457
6458         * exporter.C (Export): adjust for removeAutoInsets removal.
6459
6460         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6461
6462         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6463
6464         * BufferView.[Ch] (removeAutoInsets): delete function
6465
6466 2003-05-22  Angus Leeming  <leeming@lyx.org>
6467
6468         * latexrunparams.h: add a free_spacing variable.
6469
6470         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6471         to pass moving_arg, as the data is stored in runparams.fragile.
6472
6473         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6474         to Inset::latexOptional or to simpleTeXOnePar.
6475
6476         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6477         free_spacing arg to Inset::latexOptional.
6478
6479         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6480         free_spacing arg.
6481
6482 2003-05-22  Angus Leeming  <leeming@lyx.org>
6483
6484         * latexrunparams.h: add fragile and use_babel variables.
6485
6486         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6487         * buffer.C (makeLaTeXFile): store this returned value in
6488         runparams.use_babel, thus passing it to the inset::latex methods.
6489
6490         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6491         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6492
6493         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6494         longer has a fragile arg, as it is stored in runparams.fragile.
6495
6496         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6497         moving_arg parameter as the data is stored in runparams.fragile.
6498
6499         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6500         a fragile parameter as the data is stored in runparams.fragile.
6501
6502 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6505
6506 2003-05-22  Angus Leeming  <leeming@lyx.org>
6507
6508         * latexrunparams.h: add a 'bool nice' which defaults to false.
6509
6510         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6511         now encapsulated within runparams.
6512
6513         * bufferlist.C (updateIncludedTeXfiles):
6514         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6515
6516 2003-05-22  Angus Leeming  <leeming@lyx.org>
6517
6518         * latexrunparams.h: new file containing struct LatexRunParams.
6519         * Makefile.am: add new file.
6520
6521         * LaTeX.[Ch] (c-tor, run):
6522         * buffer.[Ch] (makeLaTeXFile):
6523         * bufferlist.[Ch] (updateIncludedTeXfiles):
6524         * converter.C (convert, scanLog):
6525         * converter.[Ch] (runLaTeX):
6526         * exporter.C (Export):
6527         * paragraph.[Ch] (simpleTeXOnePar):
6528         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6529         * paragraph_funcs.[Ch] (latexParagraphs):
6530         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6531         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6532         pass around a LatexRunParams parameter.
6533
6534 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * paragraph.[Ch]: remove unused constructor
6537
6538         * ParagraphList.C (erase): new function, taking two iterators
6539
6540 2003-05-22  André Pönitz  <poenitz@gmx.net>
6541
6542         * undo_funcs.C: remove duplicated code
6543
6544         * iterator.[Ch]: operator=
6545
6546 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * tabular.C (SetMultiColumn): ws changes
6549
6550         * rowpainter.C (paintFirst): get rid of a ->previous
6551
6552         * lyx_cb.C (getPossibleLabel): parlist simplification
6553
6554         * BufferView.C (ChangeInsets): simplify slightly.
6555
6556 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6557
6558         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6559         * lfuns.h: new LFUN_SPACE
6560         * lyxfunc.C: protected space has a new lfun
6561         * paragraph_funcs.C: read new space insets
6562         * text3.C:
6563         * factory.C: handle new space insets
6564
6565 2003-05-22  André Pönitz  <poenitz@gmx.net>
6566
6567         * BufferView.C:
6568         * BufferView_pimpl.C:
6569         * buffer.[Ch]:
6570         * lyxfunc.C:
6571         * undo_funcs.C: return a ParIterator from getParFromID.
6572
6573         * iterators.[Ch]: add two const's
6574
6575 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * toc.C (getTocList): adjust
6578
6579         * iterators.[Ch]: rework for parlist
6580
6581         * buffer.C (par_iterator_begin): adjust
6582         (par_iterator_end): adjust
6583
6584         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6585
6586         * BufferView.C (removeAutoInsets): adjust
6587         (ChangeInsets): adjust
6588
6589 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6590
6591         * text.C (top_y): fix bug 1110
6592
6593 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6594
6595         * errorlist.[Ch]: added
6596         * buffer.C:
6597         * BufferView.[Ch]:
6598         * BufferView_pimpl.C:
6599         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6600         instead
6601
6602 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * Makefile.am: ensure that lyx is relinked upon changes to the
6605         various "convenience" libs.
6606
6607 2003-05-20  Angus Leeming  <leeming@lyx.org>
6608
6609         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6610         files are compiled in alphabetical order again.
6611
6612         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6613
6614 2003-05-19  Angus Leeming  <leeming@lyx.org>
6615
6616         * gettext.[Ch]: remove "char const * _(char const *)".
6617
6618 2003-05-19  André Pönitz  <poenitz@gmx.net>
6619
6620         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6621
6622         * Makefile.am:
6623         * BufferView.C:
6624         * DepTable.h:
6625         * LaTeXFeatures.C:
6626         * buffer.C:
6627         * lyxfont.C:
6628         * lyxlex.h:
6629         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6630
6631 2003-05-19  André Pönitz  <poenitz@gmx.net>
6632
6633         * buffer.C:
6634         * lyxlayout.[Ch]:
6635         * lyxtextclass.[Ch]:
6636         * paragraph.C:
6637         * paragraph_funcs.[Ch]:
6638         * text2.C:
6639         * text3.C: more insetenv work
6640
6641 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6642
6643         * ParagraphParameters.C (params2string): small bug fixed
6644
6645 2003-05-16  André Pönitz  <poenitz@gmx.net>
6646
6647         * debug.C:
6648         * bufferview_funcs.C: patch from Kornel Benko to prevent
6649           crash when _(...) is called twice in a statement
6650
6651 2003-05-16  André Pönitz  <poenitz@gmx.net>
6652
6653         * BufferView.C:
6654         * lyxfunc.C:
6655         * text.C:
6656         * text2.C:
6657         * text3.C:
6658         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6659
6660 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6661
6662         * lyx_main.C (init): remove spurious static_cast
6663
6664 2003-05-14  André Pönitz  <poenitz@gmx.net>
6665
6666         * BufferView.C: fix format string
6667
6668 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * BufferView.[Ch] (insertErrors): removed
6671         * BufferView.[Ch] (showErrorList): added
6672         * buffer.C (runChkTeX):
6673         * converter.C (scanLog): call showErrorList instead of inserterrors
6674
6675 2003-05-13  André Pönitz  <poenitz@gmx.net>
6676
6677         * BufferView_pimpl.C:
6678         * buffer.C:
6679         * bufferview_func.C:
6680         * MenuBackend.C:
6681         * lyxfunc.C:
6682         * lyxrc.C:
6683         * tex-accent.C:
6684         * text3.C:
6685         * toc.C:
6686         * tabular_funcs.h: tostr() from its own header
6687
6688         * ParagraphParameters.C:
6689         * ToolbarBackend.C:
6690         * bufferparams.C:
6691         * format.C:
6692         * lyxlex_pimpl.C:
6693         * text3.C: STRCONV()
6694
6695 2003-05-12  André Pönitz  <poenitz@gmx.net>
6696
6697         * BufferView.C:
6698         * BufferView_pimpl.C:
6699         * CutAndPaste.C:
6700         * LaTeX.C:
6701         * LaTeXFeatures.C:
6702         * ParagraphParameters.C:
6703         * buffer.C:
6704         * bufferlist.C:
6705         * bufferparams.C:
6706         * bufferview_funcs.C:
6707         * converter.C:
6708         * counters.C:
6709         * debug.C:
6710         * exporter.C:
6711         * format.C:
6712         * importer.C:
6713         * lyx_cb.C:
6714         * lyx_main.C:
6715         * lyxfont.C:
6716         * lyxfunc.C:
6717         * lyxvc.C:
6718         * paragraph.C:
6719         * paragraph_funcs.C:
6720         * tabular.C:
6721         * tabular_funcs.C:
6722         * text2.C:
6723         * text3.C:  boost::format -> bformat  all over the place
6724
6725
6726 2003-05-09  André Pönitz  <poenitz@gmx.net>
6727
6728         * LColor.[Ch]: Pimpl the #include <map> away
6729
6730 2003-05-09  John Levon  <levon@movementarian.org>
6731
6732         * bufferlist.C: never remove emergency saves
6733
6734 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * Makefile.am: better lib building
6737
6738 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6741         instead.
6742         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6743         (simpleTeXSpecialChars): adjust
6744         (simpleTeXSpecialChars): adjust
6745         * paragraph.C (simpleTeXOnePar): adjust
6746         * buffer.C (makeLaTeXFile): adjust
6747
6748         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6749
6750         * text2.C (changeDepth): parlist cleanup
6751         (getColumnNearX): ditto
6752
6753         * rowpainter.C (getLabelFont): parlist cleanup
6754
6755         * bufferlist.C (newFile): parlist cleanup
6756
6757         * CutAndPaste.C (eraseSelection): parlist cleanup
6758
6759         * BufferView_pimpl.C (trackChanges): parlist cleanup
6760         (dispatch): ditto
6761
6762         * BufferView.C (lockInset): parlist cleanup.
6763         (ChangeInsets): ditto
6764
6765 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * CutAndPaste.h: Update file header.
6768
6769         * CutAndPaste.C: Update file header.
6770         Store the parts cut out of the Document in a limited_stack.
6771         (copySelection): adjust
6772         (pasteSelection): new function, takes the index in the limited stack.
6773         (nrOfParagraphs): adjust
6774         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6775         simplify error inset insertion.
6776         (checkPastePossible): adjust
6777
6778 2003-05-06  John Levon  <levon@movementarian.org>
6779
6780         * text2.C: don't cast wrap inset to float
6781
6782 2003-05-05  André Pönitz  <poenitz@gmx.net>
6783
6784         * iterator.C:
6785         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6786
6787         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6788           few naked Paragraph *.
6789
6790 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6791
6792         * bufferparams.C: Output warning if a document with missing
6793         TeX document class is loaded
6794         * exporter.C: Disable TeX exports if the document class is missing
6795         * lyxtextclass.C:
6796         * lyxtextclass.h:
6797         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6798         isTeXClassAvailable()
6799
6800 2003-05-03  John Levon  <levon@movementarian.org>
6801
6802         * BufferView.h:
6803         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6804         explicit cursor show/hide
6805
6806         * BufferView_pimpl.h:
6807         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6808         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6809
6810         * lyxfunc.C: hide cursor before dispatching.
6811
6812         * lyx_cb.C:
6813         * lyxfind.C:
6814         * text.C:
6815         * text3.C: remove explicit cursor hides
6816
6817 2003-05-02  André Pönitz  <poenitz@gmx.net>
6818
6819         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6820
6821         * undo_funcs.C:
6822         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6823           linked lists
6824
6825         * text2.C: tiny whitespace
6826
6827 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * undo_funcs.C: almost only ws changes.
6830
6831         * ParagraphList.C (splice): just return if pl is empty.
6832
6833 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * ParagraphList.C (splice): new function.
6836
6837         * CutAndPaste.C (pasteSelection): use it
6838
6839 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * CutAndPaste.C (pasteSelection): remove the last next and
6842         previous from this file.
6843
6844 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * CutAndPaste.C (pasteSelection): more clean up, user proper
6847         ParagraphList functions for pasteing.
6848
6849         * ParagraphList.C (insert): new function, three arg insert
6850
6851 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * ParagraphList.C (insert): new function, three arg insert
6854
6855         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6856         not on paragraphs.
6857
6858 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6861
6862 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6865
6866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6869         (copySelection): clean up a bit.
6870         (pasteSelection): use make_pair
6871
6872         * ParagraphList.C (ParagraphList): implement copy constructor
6873         (operator=): implement, base on copy constructor.
6874         (assign): new func
6875
6876         * paragraph.C (erase): return a bool
6877
6878         * paragraph_pimpl.C (erasePos): remove function, move contents...
6879         (erase): ... here. Return a bool.
6880         (erase): call erase instead of erasePos.
6881
6882 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6883
6884         * ParagraphList.h: define PitPosPair
6885         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6886         ParagraphList, fix a bug on pasting multiple pars
6887         * text2.C: change interface to C&P
6888
6889 2003-04-30  André Pönitz  <poenitz@gmx.net>
6890
6891         * undo_func.C: revert part of yesterday's patch 2
6892
6893 2003-04-30  John Levon  <levon@movementarian.org>
6894
6895         * LColor.C: s/tabular/table/
6896
6897 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * text3.C (dispatch): do not convert iterator -> pointer
6900         * undo_funcs.C (setCursorParUndo): ditto
6901         * text_funcs.C (transposeChars): ditto
6902
6903         * text2.C (setLayout): ws changes only
6904
6905         * text.C (breakParagraph): do not convert iterator -> pointer
6906         (insertChar): ditto
6907         (acceptChange): ditto
6908         (rejectChange): ditto
6909         (changeCase): ditto
6910         (Delete): ditto
6911         (backspace): ditto
6912
6913         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6914         pointer
6915
6916 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6917
6918         * text3.C (gotoInset): YABG (yet another bad getChar)
6919
6920 2003-04-29  André Pönitz  <poenitz@gmx.net>
6921
6922         * paragraph.h: make operator= private unimplemented as long as
6923           it is unusable
6924
6925         * ParagraphList.C: whitespace
6926
6927         * paragraph.[Ch]:
6928         * paragraph_pimpl.[Ch]:
6929         * paragraph_funcs.C:
6930         * CutAndPaste.C:
6931         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6932
6933         * text2.C:
6934           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6935
6936 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6939         * paragraph.[Ch] (erase):
6940         * paragraph_pimpl.[Ch] (erase): change return type and value
6941         * text2.C (cutSelection): some rework
6942
6943 2003-04-28  John Levon  <levon@movementarian.org>
6944
6945         * bufferlist.C: changes for unsaved changes dialog
6946
6947 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * bufferlist.C (newFile): set language (messages_) for new
6950         documents also.
6951
6952         * buffer.C (readFile): ws changes only.
6953
6954 2003-04-28  André Pönitz  <poenitz@gmx.net>
6955
6956         * undo_funcs.C:
6957         * lyxfunc.C:
6958         * buffer.[Ch]:
6959         * BufferView_pimpl.C:
6960         * BufferView.C: getParFromID related ParagraphList::iterator changes
6961
6962 2003-04-28  André Pönitz  <poenitz@gmx.net>
6963
6964         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6965           Changes
6966
6967 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * messages.C: remove one more localedir class variable.
6970
6971 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * messages.C (getLocaleDir): singleton generation function
6974         (Pimpl): use it.
6975         (Messages): add a default constructor.
6976
6977         * main.C (main): do not setup localedir here, do not call
6978         gettext_init.
6979
6980         * gettext.C (_): use it.
6981         (gettext_init): delete funciton
6982
6983 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * gettext.C (getLyXMessages): new singleton generating function.
6986
6987         * buffer.C (updateDocLang): adjust
6988
6989         * Makefile.am (messages.o): add target
6990         (main.o): remove target
6991
6992 2003-04-27  John Levon  <levon@movementarian.org>
6993
6994         * bufferlist.C:
6995         * lyx_cb.C:
6996         * lyxfunc.C:
6997         * lyxvc.C: specify cancel button in Alert::prompt
6998
6999 2003-04-26  John Levon  <levon@movementarian.org>
7000
7001         * text3.C:
7002         * lyxfunc.C:
7003         * lfuns.h:
7004         * LyXAction.C: add LFUN_INSET_SETTINGS
7005
7006         * lyxfunc.C: don't enable tabular-feature when there's
7007         just any locking inset
7008
7009 2003-04-26  John Levon  <levon@movementarian.org>
7010
7011         * bufferlist.C: re-add Cancel to buffer close question
7012
7013         * lyxfunc.C: fix import UI a bit
7014
7015 2003-04-25  John Levon  <levon@movementarian.org>
7016
7017         * gettext.C: remove the broken asserts for now
7018
7019 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7020
7021         * messages.C: make case where setlocale cannot comply work better.
7022
7023         * buffer.C (updateDocLang): new function
7024         (changeLanguage): use it
7025         (readFile): use it
7026
7027         * text2.C (setCounter): use B_ a bit.
7028
7029         * lyxlayout.C (Read): be sure to trim the label strings.
7030
7031         * messages.C (Messages): fix typo in comment
7032
7033         * buffer.C (readFile): set message_ after file is loaded.
7034         (makeDocBookFile): remove double return
7035         (changeLanguage): reset message_ upon language change.
7036         (B_): new func, use this to get translated buffer strings.
7037
7038         * main.C: add myself and Jean Marc as authors.
7039
7040 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * messages.[hC]: pimplify Messages, and three different pimpls to be
7043         used in different circumstances.
7044
7045         * gettext.[Ch]: change for use with new message code.
7046
7047 2003-04-24 André Pönitz <poenitz@gmx.net>
7048
7049         * factory.C: support for eqref
7050
7051 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * messages.[Ch]: add missing char
7054
7055         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7056
7057         * messages.[Ch]: New files
7058
7059 2003-04-18  John Levon  <levon@movementarian.org>
7060
7061         * BufferView.h:
7062         * BufferView.C:
7063         * BufferView_pimpl.C:
7064         * lfuns.h:
7065         * LyXAction.C:
7066         * lyxtext.h:
7067         * text2.C: remove layout-copy/paste (bug 778)
7068
7069 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7070
7071         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7072
7073 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7074
7075         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7076         if they succeed. Act accordingly.
7077
7078 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * text2.C (setCharFont): adjust
7081         (setCounter): adjust
7082         (insertStringAsLines): adjust
7083
7084         * text.C (leftMargin): adjust
7085         (setHeightOfRow): adjust
7086
7087         * rowpainter.C (paintFirst): adjust
7088         (paintLast): adjust
7089
7090         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7091         (outerHook): ditto
7092         (isFirstInSequence): ditto
7093         (getEndLabel): ditto
7094         (outerFont): adjust
7095
7096         * paragraph.C (getParLanguage): comment out some hard stuff.
7097
7098         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7099         (sgmlError): ditto
7100         (simpleDocBookOnePar): ditto
7101         (makeDocBookFile): use ParagraphList::iterator
7102
7103         * CutAndPaste.C (pasteSelection): adjust
7104
7105 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * text2.C (getFont): adjust
7108         (getLayoutFont): adjust
7109         (getLabelFont): adjust
7110
7111         * paragraph_funcs.C (TeXOnePar): adjust
7112
7113         * buffer.C (simpleLinuxDocOnePar): adjust
7114         (simpleDocBookOnePar): adjust
7115
7116         * CutAndPaste.C (pasteSelection): adjust
7117
7118         * BufferView.C (getEncoding): adjust
7119
7120         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7121
7122 2003-04-16  John Levon  <levon@movementarian.org>
7123
7124         * lyxfind.C: use parlist stuff for search/changes
7125
7126 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7129
7130         * text2.C (deleteEmptyParagraphMechanism): adjust
7131
7132         * text2.[Ch] (ownerParagraph): delete func (both of them
7133
7134 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7137
7138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7139
7140         * ParagraphList.C: prepare for NO_NEXT
7141
7142 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * text2.C (getFont): adjust
7145         (getLayoutFont): adjust
7146         (getLabelFont): adjust
7147
7148         * paragraph.C (getFont): adjust
7149         (getLabelFont): adjust
7150         (getLayoutFont): adjust
7151
7152         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7153
7154 2003-04-15  John Levon  <levon@movementarian.org>
7155
7156         From Angus Leeming
7157
7158         * lyx_main.C: handle Include in .ui files
7159
7160 2003-04-15  John Levon  <levon@movementarian.org>
7161
7162         * MenuBackend.C: make the doc files length shorter
7163
7164         * ToolbarBackend.h:
7165         * ToolbarBackend.C: handle toolbar placement flags,
7166         Minibuffer
7167
7168 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7171         adjust
7172
7173         * paragraph_funcs.C (TeXOnePar): adjust
7174
7175         * paragraph.C (getLabelFont): add outerfont arg, adjust
7176         (getLayoutFont): ditto
7177         (simpleTeXOnePar): adjust
7178
7179         * paragraph_pimpl.C (realizeFont): delete func
7180
7181 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7182
7183         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7184         row argument, constify cur argument.
7185
7186 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * text2.C (getFont): adjust
7189         (getLayoutFont): adjust
7190         (getLabelFont): adjust
7191
7192         * paragraph_funcs.C (TeXOnePar): adjust
7193         (outerFont): new func...
7194         (realizeFont): ...moved out from here, changed this to facilitate
7195         transition
7196
7197         * paragraph.C (getFont): take outerfont as arg, adjust
7198         (simpleTeXOnePar): add outerfont arg, adjust
7199
7200         * buffer.C (simpleLinuxDocOnePar): adjust
7201         (simpleDocBookOnePar): adjust
7202
7203         * CutAndPaste.C (pasteSelection): adjust
7204
7205         * BufferView.C (getEncoding): adjust
7206
7207 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * text2.C (setCharFont): adjust
7210         (setCounter): adjust
7211
7212         * text.C (leftMargin): adjust
7213         (setHeightOfRow): adjust
7214
7215         * rowpainter.C (paintFirst): adjust
7216         (paintLast): adjust
7217
7218         * paragraph_pimpl.C (realizeFont): adjust
7219
7220         * paragraph.C (isFirstInSequence): move from here...
7221         * paragraph_funcs.C (isFirstInSequence): ...to here
7222
7223         * paragraph.C (outerHook): move from here...
7224         * paragraph_funcs.C (outerHook): ...to here
7225
7226         * paragraph.C (depthHook): move from here...
7227         * paragraph_funcs.C (depthHook): ...to here
7228
7229         * paragraph.C (getEndLabel): move from here...
7230         * paragraph_funcs.C (getEndLabel): ...to here
7231
7232         * text2.C (realizeFont): move from here...
7233         * paragraph_funcs.C (realizeFont): ...to here
7234
7235 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7236
7237         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7238
7239 2003-04-14  Angus Leeming  <leeming@lyx.org>
7240
7241         * LColor.[Ch]: scrap LColor mathcursor.
7242
7243 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * lyxlex.[Ch] (text): delete function
7246         * trans.C (Load): adjust
7247         * paragraph_funcs.C (readParToken): adjust
7248
7249 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7252         vector<char> instead of a char[].
7253
7254         * lyxlex_pimpl.C (getString): adjust
7255         (next): adjust
7256         (lex): use getString
7257         (eatLine): adjust
7258         (nextToken): adjust
7259
7260         * lyxlex.C (text): use pimpl_->getString()
7261         (getBool): ditto
7262         (findToken): ditto
7263
7264 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7267         (makeFontEntriesLayoutSpecific): temp var for par.size()
7268         (setLayout): temp var for ownerParagraphs().end()
7269         (fullRebreak): temp var for rows().end()
7270         (selectionAsString): temp var for boost::next(startpit), realize
7271         that the while really is a regular for loop.
7272         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7273         setCursor in one place.
7274         (setParagraph): temp vr for ownerParagraphs().end()
7275         (updateCounters): make the while loop a for loop
7276         (cutSelection): temp var for ownerParagraphs().end()
7277         (updateInset): make the do {} while() a regular for loop
7278         (getCursorX): use temp vars
7279         (setCurrentFont): use temp vars
7280         (getColumnNearX): use temp vars
7281
7282 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * text.C (transformChar): use temp var for getChar
7285         (computeBidiTables): use temp var for row->par()
7286         (fill): move temp vars for row->par() and pit->layout() earlier in
7287         the function.
7288         (labelFill): use temp var for row->par()
7289         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7290         asc and desc, realize that pit never changes and that firstpit is
7291         just a duplicate and not needed. Exchange rit->par() with pit in a
7292         lot of places.
7293         (breakAgain): use a temp var for boost::next(rit)
7294         (breakAgainOneRow): ditto
7295         (breakParagraph): use a temp var for rows().begin()
7296         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7297         (cursorRightOneWord): use temp var for cursor.par() and
7298         cursor.pos(), remove usage of tmpcursor.
7299         (cursorLeftOneWord): use temp var for cursor.par() and
7300         cursor.pos() only set cur at end of function.
7301
7302 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * text.C, text2.C: exchange all usage of Paragraph::next with
7305         boost::next(ParagraphList::iterator)
7306
7307         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7308
7309         * text2.C (cursorTop): simplify implementation
7310         (cursorBottom): ditto
7311         (setParagraph): use ParagraphList::iterator
7312         (setCurrentFont): adjust
7313         (getColumnNearX): adjust
7314         (cursorRight): adjust
7315         (cursorLeft): remove usage of Paragraph::previous
7316         (cursorUpParagraph): ditto
7317         (deleteEmptyParagraphMechanism): slight cleanup
7318
7319         * text.C (isBoundary): take a Paragraph const & instead of a
7320         pointer as arg.
7321         (addressBreakPoint): ditto
7322         (leftMargin): remove usage of Paragraph::previous.
7323         (setHeightOfRow): ditto
7324         (cursorLeftOneWord): ditto
7325         (selectNextWordToSpellcheck): ditto
7326         (Delete): ditto
7327         (backspace): ditto
7328         (breakParagraph): remove one usage of Paragraph::next
7329         (redoParagraph): ditto
7330         (acceptChange): ditto
7331         (insertChar): adjust
7332         (rowBreakPoint): adjust
7333
7334         * bufferview_funcs.C (toggleAndShow): adjust
7335
7336 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7337
7338         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7339         methods to access it.
7340         * lyxtext.h:
7341         * text.C: Added updateRowPositions to compute all row positions.
7342         Make top_y and getRowNearY() to use the cached y position
7343
7344 2003-04-11  John Levon  <levon@movementarian.org>
7345
7346         * text.C (rowBreakPoint): reintroduce the labelEnd
7347         checks, code copied from the row fill stuff. Deep voodoo.
7348
7349         * text.C (fill): add a comment and debugging for the
7350         next poor soul.
7351
7352 2003-04-11  John Levon  <levon@movementarian.org>
7353
7354         * text.C: make sure fullrow insets get wrapped to the next line,
7355         even when they're in a manual label
7356
7357 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7358
7359         * text2.C (insertParagraph): make it take ParagraphList::iterator
7360         as arg.
7361         (setLayout): make it return ParagraphList::iterator
7362         (redoParagraphs): ditto
7363         (setCounter): ditto
7364         (checkParagraph): ditto
7365
7366         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7367
7368         * text2.C: adjust several funcs.
7369         (realizeFont): take a ParagraphList::iterator as arg.
7370         (getLayoutFont): ditto
7371         (getLabelFont): ditto
7372         (setCharFont): ditto
7373
7374         * text.C: adjust several funcs.
7375
7376 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7377
7378         * text.C (selectNextWordToSpellcheck): don't accidentally
7379         skip insets
7380
7381 2003-04-10  John Levon  <levon@movementarian.org>
7382
7383         * ToolbarBackend.C (getIcon): special handling for
7384         LFUN_MATH_DELIM
7385
7386 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7387
7388         * text2.C (cursorRight): a getChar assert fixed
7389
7390 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7391
7392         * text2.C (getFont): change to take a ParagraphList::iterator
7393         instead of Paragraph*
7394         Adjust several functions.
7395
7396         * text.C (transformChar): change to take a ParagraphList::iterator
7397         instead of Paragraph*
7398         (singleWidth): ditto
7399         Adjust several functions.
7400
7401         * rowpainter.C: adjust several functions
7402         * rowpainter.h:store a ParagraphList::iterator and not a
7403         Paragraph&.
7404
7405
7406 2003-04-09  John Levon  <levon@movementarian.org>
7407
7408         * lyxfunc.C:
7409         * lfuns.h:
7410         * LyXAction.h:
7411         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7412         and the "help" bits as well
7413
7414 2003-04-09  John Levon  <levon@movementarian.org>
7415
7416         * ToolbarBackend.h:
7417         * ToolbarBackend.C: allow multiple toolbars
7418
7419 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * undo_funcs.C (setCursorParUndo): adjust
7422
7423         * text_funcs.C (transposeChars): adjust
7424
7425         * text3.C (gotoNextInset): adjust
7426         (dispatch): adjust
7427
7428         * text2.C (setLayout): adjust
7429         (changeDepth): adjust
7430         (setFont): adjust
7431         (redoParagraphs): adjust
7432         (selectionAsString): adjust
7433         (setParagraph): adjust
7434         (insertInset): adjust
7435         (cutSelection): adjust
7436         (copySelection): adjust
7437         (pasteSelection): adjust
7438         (insertStringAsLines): adjust
7439         (updateInset): adjust
7440         (setCursor): change to take a ParagraphList::iterator parameter
7441         (setCursorIntern): change to take a ParagraphList::iterator parameter
7442         (setCurrentFont): adjust
7443         (cursorLeft): adjust
7444         (cursorRight): adjust
7445         (deleteEmptyParagraphMechanism): adjust
7446
7447         * text.C (breakParagraph): adjust
7448         (insertChar): adjust
7449         (acceptChange): adjust
7450         (rejectChange): adjust
7451         (selectNextWordToSpellcheck): adjust
7452         (changeCase): adjust
7453         (Delete): adjust
7454         (backspace): adjust
7455
7456         * lyxfind.C (SearchForward): adjust
7457         (SearchBackward): adjust
7458         (nextChange): adjust
7459
7460         * lyxcursor.C (par): adjust
7461
7462         * lyxcursor.h: store a ParagraphList::iterator instead of a
7463         Paragraph*
7464
7465         * lyx_cb.C (getPossibleLabel): adjust
7466
7467         * bufferview_funcs.C (toggleAndShow): adjust
7468
7469         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7470         (dispatch): adjust
7471
7472         * BufferView.C (removeAutoInsets): adjust
7473         (lockedInsetStoreUndo): adjust
7474
7475 2003-04-09  John Levon  <levon@movementarian.org>
7476
7477         * ToolbarBackend.C: try icon without argument
7478         if with argument fails
7479
7480 2003-04-08  John Levon  <levon@movementarian.org>
7481
7482         * ToolbarBackend.h:
7483         * ToolbarBackend.C: add getIcon(), handle tooltip,
7484         and change from "Icon" to "Item".
7485
7486 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7487
7488         * BufferView.C (lockInset): another bad getchar crunched
7489
7490 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7491
7492         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7493         again)
7494
7495 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7496
7497         * lyxfind.C (searchForward, searchBackwards): bug 782
7498
7499 2003-04-07  John Levon  <levon@movementarian.org>
7500
7501         * paragraph.C: remove dead comment
7502
7503         * text.C: remove troublesome depth-fiddling code
7504         in leftMargin() and rightMargin() (bug 1017)
7505
7506         * text.C: fix breaking of rows in nested lists
7507         (bug 1004)
7508
7509         * text2.C (updateCounters): fix up depth values
7510         (bug 1013)
7511
7512 2003-04-07  John Levon  <levon@movementarian.org>
7513
7514         * BufferView_pimpl.C: clear message when doc finishes resizing,
7515         and after a mouse event
7516
7517         * lyxfunc.C: clear message after exiting inset
7518
7519 2003-04-07  John Levon  <levon@movementarian.org>
7520
7521         * bufferview_funcs.C: show math status not outside
7522         status in the statusbar
7523
7524 2003-04-07  John Levon  <levon@movementarian.org>
7525
7526         * lyxfunc.C: note status changed after a depth change
7527
7528 2003-04-04  Angus Leeming  <leeming@lyx.org>
7529
7530         * LaTeX.h: move AuxInfo operator==, != out of line.
7531         Remove LaTeX virtual destructor; nothing derives from it.
7532         Move operator()() out of public area and rename it startscript().
7533         Change protected for private.
7534
7535 2003-04-04  Angus Leeming  <leeming@lyx.org>
7536
7537         * lyxfunc.C:
7538         * text2.C: remove unneeded #includes.
7539
7540 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7541
7542         * text2.C (dEPM): fix the heigth of the next row
7543
7544 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7545
7546         * text.C: squashed an invalid getChar requester + some ws changes
7547
7548 2003-04-03  John Levon  <levon@movementarian.org>
7549
7550         * bufferview_funcs.h:
7551         * bufferview_funcs.C:
7552         * lyxfunc.C:
7553         * lyxtext.h:
7554         * text2.C: make getStatus work for the env depth lfuns
7555
7556 2003-04-03  John Levon  <levon@movementarian.org>
7557
7558         * bufferview_funcs.h:
7559         * bufferview_funcs.C:
7560         * lyxfunc.C:
7561         * lyxtext.h:
7562         * text2.C: parlistize decDepth(), by merging it with incDepth()
7563
7564 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * lyxrow.h: store a ParagraphList::iterator instead of a
7567         Paragraph* and adjust other class functions to suit.
7568
7569         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7570         above.
7571
7572 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7573
7574         * text2.C (setCursor): do not anchor to cursor row for the time being
7575
7576 2003-04-02  John Levon  <levon@movementarian.org>
7577
7578         * LyXAction.C:
7579         * lfuns.h:
7580         * lyx_main.C:
7581         * lyxtext.h:
7582         * text.C:
7583         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7584
7585 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * paragraph.h: make ParagraphList and ParagraphList::iterator
7588         friends of Paragraph.
7589
7590         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7591
7592         * ParagraphList.C: Use the private next_ and previous_ from
7593         Paragraph.
7594
7595 2003-04-01  John Levon  <levon@movementarian.org>
7596
7597         * ToolbarBackend.h:
7598         * ToolbarBackend.C:
7599         * Makefile.am: rename, remove defaults gunk
7600
7601         * MenuBackend.h:
7602         * MenuBackend.C: remove defaults gunk
7603
7604         * Languages.h:
7605         * Languages.C: remove defaults gunk
7606
7607         * lyx_main.h:
7608         * lyx_main.C: error out if files couldn't be found.
7609
7610 2003-04-02  John Levon  <levon@movementarian.org>
7611
7612         * text2.C: make incDepth() use parlist
7613
7614 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * undo_funcs.C (firstUndoParagraph): adjust
7617
7618         * text3.C (gotoInset): adjust
7619         (dispatch): adjust, and rewrite loop.
7620
7621         * text2.C (init): adjust, and rewrite loop.
7622         (redoParagraphs): adjust
7623         (updateInset): adjust, and rewrite loop.
7624         (deleteEmptyParagraphMechanism): adjust
7625
7626         * tabular.C (LyXTabular): adjust
7627         (SetMultiColumn): adjust
7628         (TeXRow): adjust
7629
7630         * lyxtext.[Ch] (ownerParagraph): delete function
7631         (ownerParagraphs): new function returns a ParagraphList.
7632
7633         * BufferView.C (removeAutoInsets): adjust
7634         (insertErrors): adjust
7635         (setCursorFromRow): adjust
7636
7637 2003-04-01  Angus Leeming  <leeming@lyx.org>
7638
7639         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7640         in the frontends.
7641
7642 2003-04-02  John Levon  <levon@movementarian.org>
7643
7644         * lyxtext.h:
7645         * text.C:
7646         * Makefile.am:
7647         * text_funcs.h:
7648         * text_funcs.C: make transposeChars a free function
7649
7650         * lyxrow_funcs.C: remove wrong comment
7651
7652 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7653
7654         * lyxtext.h: adjust
7655         * rowpainter.C: adjust
7656         * text.C: adjust
7657         * text2.C: adjust
7658         * text3.C: adjust
7659
7660         * lyxrow_funcs. [Ch]: new files
7661
7662         * lyxrow.[Ch]: remove next and previous pointers
7663         (next,previous): remove accessor functions
7664         (isParEnd): move to lyxrow_funcs
7665         (lastPos): move to lyxrow_funcs
7666         (nextRowIsAllInset): move to lyxrow_funcs
7667         (lastPrintablePos): move to lyxrow_funcs
7668         (numberOfSeparators): move to lyxrow_funcs
7669         (numberOfHfills): move to lyxrow_funcs
7670         (numberOfLabelHfills): move to lyxrow_funcs
7671         (hfillExpansion): move to lyxrow_funcs
7672
7673         * lyxfunc.C: adjust
7674
7675         * bufferview_funcs.C (toggleAndShow): adjust
7676
7677         * RowList.h: Remove class RowList from file leave just a
7678         std::list<Row>.
7679
7680         * RowList.C: delete file
7681
7682         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7683         and lyxrow_funcs.h
7684
7685 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * text3.C (cursorPrevious): adjust
7688         (cursorNext): adjust
7689         (dispatch): adjust
7690
7691         * text2.C (redoHeightOfParagraph): adjust
7692         (redoDrawingOfParagraph): adjust
7693         (setCursor): adjust
7694
7695         * text.C (breakParagraph): adjust
7696         (insertChar): adjust
7697         (backspace): adjust
7698
7699         * rowpainter.C (RowPainter): adjust
7700         (leftMargin): simplify and adjust
7701         (most rowpainter functions): adjust.
7702
7703         * rowpainter.h: store the row as RowList::iterator not as Row*
7704
7705         * lyxcursor.C (row): taka RowList::iterator as arg
7706         (irow): ditto
7707
7708         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7709         of Row*.
7710
7711 2003-04-01  Angus Leeming  <leeming@lyx.org>
7712
7713         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7714         stuff like bool Bool.
7715
7716 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7717
7718         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7719         rewrite a loop
7720
7721 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7724         RowList::iterator.
7725
7726         * lyxtext.h (rows): drop one version and leve a const variant that
7727         returns a RowList::iterator.
7728
7729 2003-03-31  Angus Leeming  <leeming@lyx.org>
7730
7731         * text.C (fill): ensure that the signature is the same as that in the
7732         header file.
7733
7734 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * text2.C (redoParagraphs): adjust
7737         (updateCounters): adjust
7738         (checkParagraph): adjust
7739         (getColumnNearX): adjust and reformat a bit.
7740
7741         * text.C (top_y): adjust
7742         (workWidth): adjust
7743         (leftMargin): adjust
7744         (prepareToPrint): adjust
7745         (getRow): adjust
7746         (getRowNearY): adjust
7747
7748         * lyxtext.h: make rowlist_ mutable.
7749
7750         * RowList.h: add const_iterator
7751         * RowList.C: adjust for RowList::const_iterator.
7752
7753         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7754         adjust.
7755
7756 2003-03-31  John Levon  <levon@movementarian.org>
7757
7758         * lyxrc.h:
7759         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7760
7761         * lyx_main.C: set default fonts from using lyx_gui funcs
7762
7763         * exporter.C: pdf_mode moved from lyxrc
7764
7765         * lyx_cb.C:
7766         * lyxfunc.C: changes from above
7767
7768 2003-03-31  John Levon  <levon@movementarian.org>
7769
7770         * lyx_main.C: fix to the last fix
7771
7772 2003-03-31  John Levon  <levon@movementarian.org>
7773
7774         * bufferlist.C: "Load original" -> "Load Original"
7775
7776         * converter.C:
7777         * exporter.C:
7778         * importer.C:
7779         * lyx_main.C:
7780         * format.C: more Alert cleanups
7781
7782 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7783
7784         * text2.C (removeParagraph): make it take a RowList::iterator as
7785         arg, adjust.
7786         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7787         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7788
7789         * text.C (anchor_row): make it take a RowList::iterator as arg,
7790         adjust.
7791         (computeBidiTables): make it take a const reference to Row instead
7792         of Row pointer, adjust.
7793         (leftMargin): make it take a RowList::iterator as arg, adjust.
7794         (rowBreakPoint): adjust
7795         (breakAgainOneRow): make it take a RowList::iterator as arg,
7796         adjust.
7797         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7798
7799         * bufferview_funcs.C (toggleAndShow): adjust
7800
7801 2003-03-30  John Levon  <levon@movementarian.org>
7802
7803         * Makefile.am:
7804         * BoostFormat.h:
7805         * boost-inst.C: moved to support
7806
7807         * several files: changes as a result
7808
7809 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * text2.C (LyXText): adjust.
7812         (init): adjust
7813         (removeRow): make it take a RowList::iterator as arg, adjust.
7814         (fullRebreak): adjust
7815         (deleteEmptyParagraphMechanism): adjust
7816         (clearPaint): adjust
7817         (postPaint): adjust
7818
7819         * text.C (top_y): adjust
7820         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7821         (breakAgain): make it take a RowList::iterator as arg, adjust.
7822         (breakParagraph): adjust
7823         (insertChar): adjust
7824         (backspace): adjust
7825
7826         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7827         need_break_row, and refresh_row.
7828
7829         * text3.C (dispatch): adjust
7830
7831         * text2.C (checkParagraph): adjust
7832         (setCursor): adjust
7833         (setCursorFromCoordinates): adjust
7834
7835         * text.C (top_y): adjust
7836         (workWidth): adjust
7837         (getRow): make it return a RowList::iterator, adjust
7838         (getRowNearY): make it return a RowList::iterator, adjust
7839
7840         * text2.C (init): adjust
7841         (insertRow): remove function
7842         (insertParagraph): adjust
7843         (redoParagraphs): adjust
7844         (fullRebreak): adjust
7845         (updateCounters): adjust
7846
7847         * text.C (top_y): rewrite to use RowList iterators.
7848         (top_y): adjust
7849         (setHeightOfRow): rewrite to sue RowList iterators.
7850         (appendParagraph): adjust
7851         (breakAgain): adjust
7852         (breakAgainOneRow): adjust
7853         (breakParagraph): adjust
7854         (getRow): adjust
7855         (getRowNearY): adjust, and remove commented code.
7856
7857         * lyxtext.h (firstRow): delete function
7858         (lastRow): delete function
7859         (rows): new function (const and non-const versions.)
7860         (insertRow): delete function
7861
7862         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7863
7864 2003-03-29  John Levon  <levon@movementarian.org>
7865
7866         * BufferView_pimpl.C: always update scrollbar top
7867         because pasting text when we're anchored could mean we
7868         miss an update altogether
7869
7870 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * text2.C (init): use rowlist_.end() and not 0.
7873         (insertRow): change to take a RowList::iterator as arg, adjust
7874         for this.
7875         (insertParagraph): change to take a RowList::iterator as arg,
7876         adjust for this.
7877         (redoParagraphs): remove some debug msgs.
7878
7879         * text.C (appendParagraph): change to take a RowList::iterator
7880         arg, adjust for this.
7881         (breakAgain): add an assert
7882         (breakAgainOneRow): ditto
7883
7884 2003-03-29  John Levon  <levon@movementarian.org>
7885
7886         * text2.C: do not clear selection after inc/decDepth
7887         (bug 550)
7888
7889 2003-03-29  John Levon  <levon@movementarian.org>
7890
7891         * BufferView.C:
7892         * buffer.C: fix broken strerrors according to Lars
7893
7894 2003-03-29  John Levon  <levon@movementarian.org>
7895
7896         * converters.C: more Alert cleanups
7897
7898 2003-03-29  John Levon  <levon@movementarian.org>
7899
7900         * bufferview_funcs.C: remove pointless Alert
7901
7902         * buffer.C: fix confusing error message when
7903         a template is chmoded 000
7904
7905 2003-03-29  John Levon  <levon@movementarian.org>
7906
7907         * BufferView.C:
7908         * BufferView.h:
7909         * BufferView_pimpl.C: Alert fixes
7910
7911         * Makefile.am:
7912         * tabular.C:
7913         * tabular-old.C: remove unused table compat reading
7914
7915 2003-03-29  John Levon  <levon@movementarian.org>
7916
7917         * BufferView.C:
7918         * buffer.C:
7919         * lyx_cb.h:
7920         * lyx_cb.C: more Alert cleanups
7921
7922         * lyxfunc.C: don't allow chktex if not latex document
7923
7924 2003-03-29  John Levon  <levon@movementarian.org>
7925
7926         * lyx_cb.C:
7927         * BufferView.C:
7928         * buffer.C: warnings pushed down from support/,
7929         kill err_alert
7930
7931 2003-03-29  John Levon  <levon@movementarian.org>
7932
7933         * lyxfunc.C: safety check for C-r (revert)
7934
7935 2003-03-29  John Levon  <levon@movementarian.org>
7936
7937         * bufferlist.h:
7938         * bufferlist.C: several UI fixes using Alert::prompt.
7939         Fix the pointless looping quit code. Fix stupid revert
7940         behaviour (bug 938)
7941
7942         * lyxvc.h:
7943         * lyxvc.C:
7944         * lyx_cb.C: use Alert::prompt
7945
7946         * lyx_main.C: remove a silly question
7947
7948         * lyxfunc.C: remove a couple of silly questions,
7949         use Alert::prompt
7950
7951 2003-03-28  John Levon  <levon@movementarian.org>
7952
7953         * text2.C: fix bug 974 (End on empty par)
7954
7955 2003-03-28  John Levon  <levon@movementarian.org>
7956
7957         * BufferView_pimpl.C:
7958         * LyXAction.C:
7959         * lfuns.h: remove do-nothing math greek lfuns
7960
7961 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * lyxgluelength.h (isValidGlueLength): add default arg on
7964         parameter 2. Remove default arg from friend in class.
7965
7966         * lyxlength.h (isValidLength): add default arg on parameter 2.
7967         Remove default arg from friend in class.
7968
7969         * text2.C (LyXText): adjust, initialize refresh_row.
7970         (init): adjust
7971         (removeRow): adjust
7972         (insertRow): adjust
7973         (insertParagraph): adjst
7974         (redoParagraphs): adjust
7975         (fullRebreak): adjust
7976         (updateCounters): adjust
7977         (deleteEmptyParagraphMechanism): first attempt at fixing a
7978         crashing bug.
7979
7980         * text.C (top_y): adjust
7981         (setHeightOfRow): adjust
7982         (getRow): adjust
7983         (getRowNearY): adjust
7984
7985         * lyxtext.h: include RowList.h
7986         (~LyXText): not needed anymore, deleted.
7987         (firstRow): modify for RowList
7988         (lastRow): new function
7989         Delete firstrow and lastrow class variables, add a Rowlist
7990         rowlist_ class variable.
7991
7992         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7993         paragraph is empty.
7994
7995         * RowList.C (insert): fix case where it == begin().
7996
7997 2003-03-26  Angus Leeming  <leeming@lyx.org>
7998
7999         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8000         the thesaurus dialog.
8001
8002 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8003
8004         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8005
8006         * RowList.[Ch]: new files
8007
8008         * ParagraphList.C (erase): handle the case where it == begin
8009         correctly.
8010
8011 2003-03-25  John Levon  <levon@movementarian.org>
8012
8013         * Makefile.am:
8014         * aspell_local.h:
8015         * aspell.C: add new aspell support
8016
8017         * lyxrc.h:
8018         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8019         have it accessible.
8020
8021 2003-03-25  Angus Leeming  <leeming@lyx.org>
8022
8023         * lfuns.h:
8024         * LyXAction.C (init): new LFUN_INSET_INSERT.
8025
8026         * BufferView_pimpl.C (dispatch): split out part of the
8027         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8028
8029         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8030         LFUN_INSET_APPLY.
8031
8032 2003-03-25  Angus Leeming  <leeming@lyx.org>
8033
8034         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8035
8036 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8037
8038         * text2.C:
8039         * text3.C: remove useless row->height(0)
8040
8041 2003-03-25  John Levon  <levon@movementarian.org>
8042
8043         * lyxtext.h:
8044         * text2.C:
8045         * text3.C: rename the refreshing stuff to better names
8046
8047 2003-03-24  John Levon  <levon@movementarian.org>
8048
8049         * BufferView_pimpl.h:
8050         * BufferView_pimpl.C: update layout choice on a mouse
8051         press/release
8052
8053 2003-03-23  John Levon  <levon@movementarian.org>
8054
8055         * Makefile.am: fix commandtags.h reference
8056
8057 2003-03-22  John Levon  <levon@movementarian.org>
8058
8059         * BufferView_pimpl.C:
8060         * lyxtext.h:
8061         * rowpainter.C:
8062         * rowpainter.h:
8063         * text.C:
8064         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8065
8066 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8067
8068         * lyxtext.h:
8069         * text.C: take the rtl methods out of line
8070
8071 2003-03-21 André Pönitz <poenitz@gmx.net>
8072
8073         * metricsinfo.[Ch]: new files containing structures to be passed around
8074         during the two-phase-drawing...
8075
8076 2003-03-21 André Pönitz <poenitz@gmx.net>
8077
8078         * lyxtextclass.C: read 'environment' tag.
8079
8080 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8081
8082         * text2.C (removeRow): fix bug 964
8083
8084 2003-03-20  John Levon  <levon@movementarian.org>
8085
8086         * rowpainter.C:
8087         * text.C:
8088         * text2.C: paint cleanups. Inset::update() dropped font
8089         parameter
8090
8091 2003-03-19  John Levon  <levon@movementarian.org>
8092
8093         * lyxfunc.C: only fitcursor/markDirty if available()
8094
8095 2003-03-19  John Levon  <levon@movementarian.org>
8096
8097         * commandtags.h: rename to ...
8098
8099         * lfuns.h: ... this, and renumber / cleanup
8100
8101 2003-03-19  John Levon  <levon@movementarian.org>
8102
8103         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8104         fit the cursor after an lfun
8105
8106         * BufferView.h:
8107         * BufferView.C:
8108         * BufferView_pimpl.h:
8109         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8110
8111         * LyXAction.C: layout-character should have ReadOnly
8112
8113         * ParagraphParameters.C:
8114         * buffer.C:
8115         * bufferview_funcs.C:
8116         * lyx_cb.C:
8117         * lyxfind.C:
8118         * lyxtext.h:
8119         * text.C:
8120         * text2.C:
8121         * text3.C:
8122         * undo_funcs.C: changes from above
8123
8124 2003-03-18  John Levon  <levon@movementarian.org>
8125
8126         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8127         remove it from update()
8128
8129         * lyxfunc.C: update layout choice after an lfun
8130
8131         * text3.C: remove extra updateLayoutChoice()s
8132
8133 2003-03-18  John Levon  <levon@movementarian.org>
8134
8135         * text.C: top_y change means full repaint, fix
8136         a drawing bug with cursor movement
8137
8138 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8139
8140         * lyxtext.h:
8141         * text.C:
8142         * text2.C: anchor row on setCursor
8143
8144 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8145
8146         * lyxtext.h: remove almost all mutable keywords
8147         * text.C:
8148         * text2.C:
8149         * text3.C: remove const keywords accordingly
8150
8151 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8154         anon namespace
8155         (TeXEnvironment): ditto
8156         (TeXOnePar): ditto
8157
8158 2003-03-17  John Levon  <levon@movementarian.org>
8159
8160         * text.C (rowBreakPoint): remove attempt to fix displayed
8161         math insets inside a manual label
8162
8163 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * lyxtext.h: remove BufferView* as first arg from almost all class
8166         functions.
8167         * other files: adjust.
8168
8169 2003-03-17  John Levon  <levon@movementarian.org>
8170
8171         * lyxtext.h:
8172         * undo_funcs.C:
8173         * text2.C: more paint cleanups
8174
8175         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8176
8177         * rowpainter.h:
8178         * rowpainter.C: remove "smart" background painting code
8179
8180 2003-03-16  John Levon  <levon@movementarian.org>
8181
8182         * lyxtext.h:
8183         * text.C:
8184         * text2.C:
8185         * text3.C: add helper functions for setting refresh_row/y
8186
8187 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8188
8189         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8190         newline inset which *can* get inserted in the pass_thru layouts.
8191         This is primarily for literate documents.
8192
8193 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8194
8195         * buffer.C: increment LYX_FORMAT to 223
8196
8197 2003-03-14 André Pönitz <poenitz@gmx.net>
8198
8199         * textclass.h: prepare for environment handling, ws changes
8200         * lyxlayout.C: read latexheader and latexfooter tags
8201
8202 2003-03-14  John Levon  <levon@movementarian.org>
8203
8204         * text2.C: rewrite ::status() a bit
8205
8206 2003-03-13  John Levon  <levon@movementarian.org>
8207
8208         * lyxtext.h: add some docs
8209
8210 2003-03-13  John Levon  <levon@movementarian.org>
8211
8212         * lyxtext.h:
8213         * text.C:
8214         * text2.C:
8215         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8216
8217 2003-03-13  John Levon  <levon@movementarian.org>
8218
8219         * text3.C: fix appendix redrawing
8220
8221 2003-03-13  John Levon  <levon@movementarian.org>
8222
8223         * text.C (setHeightOfRow):
8224         * rowpainter.h:
8225         * rowpainter.C: make appendix mark have the text
8226           "Appendix" so the user knows what it is
8227
8228         * LColor.h:
8229         * LColor.C: s/appendixline/appendix/ from above
8230
8231 2003-03-13  John Levon  <levon@movementarian.org>
8232
8233         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8234
8235         * text.C: fix a getChar(pos) bug properly
8236
8237 2003-03-13  Angus Leeming  <leeming@lyx.org>
8238
8239         * commandtags.h:
8240         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8241         Probably only temporary. Let's see how things pan out.
8242
8243         * BufferView.C (unlockInset):
8244         * BufferView_pimpl.C (fitCursor):
8245         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8246
8247         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8248         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8249
8250         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8251         new functions that convert ParagraphParameters to and from a string.
8252
8253         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8254         BufferView::Pimpl's dispatch.
8255         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8256
8257 2003-03-13 André Pönitz <poenitz@gmx.net>
8258
8259         * lyxfunc.C:
8260         * text3.C:
8261         * factory.C: make it aware of InsetEnv
8262
8263 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * text2.C (setCursor): never ask for one past last
8266         (setCursor): add some debugging messages.
8267
8268         * text.C (singleWidth): never ask for one past last
8269         (singleWidth): ditto
8270         (leftMargin): ditto
8271         (rightMargin): ditto
8272         (rowBreakPoint): ditto
8273         (setHeightOfRow): ditto
8274         (prepareToPrint): ditto
8275
8276         * rowpainter.C (paintBackground): never ask for one past last
8277         (paintText): never ask for one past last
8278
8279         * paragraph_pimpl.C (getChar): make the assert stricter, never
8280         allow the one past last pos to be taken
8281
8282         * paragraph.C (getChar): ws changes only
8283
8284         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8285         (numberOfSeparators): ditto
8286         (numberOfHfills): ditto
8287
8288 2003-03-12  John Levon  <levon@movementarian.org>
8289
8290         * author.h:
8291         * author.C:
8292         * bufferparams.h:
8293         * bufferparams.C:
8294         * paragraph_funcs.C: fix per-buffer authorlists
8295
8296 2003-03-12  John Levon  <levon@movementarian.org>
8297
8298         * text.C: fix newline in right address
8299
8300 2003-03-12  Angus Leeming  <leeming@lyx.org>
8301
8302         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8303         duplicate those in LyXFunc::dispatch.
8304
8305         * commandtags.h:
8306         * LyXAction.C:
8307         * ToolbarDefaults.C:
8308         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8309         Add LFUN_FONTFREE_UPDATE.
8310
8311         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8312         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8313
8314         * bufferview_func.[Ch]: several new functions to facilliate
8315         transfer of data to and from the character dialog.
8316
8317 2003-03-12  John Levon  <levon@movementarian.org>
8318
8319         * buffer.C:
8320         * paragraph.h:
8321         * paragraph.C:
8322         * paragraph_funcs.C:
8323         * paragraph_pimpl.C:
8324         * sgml.C:
8325         * tabular.C:
8326         * text.C:
8327         * text3.C: remove META_NEWLINE in favour of an inset
8328
8329         * rowpainter.h:
8330         * rowpainter.C: remove paintNewline (done by inset)
8331
8332 2003-03-12  John Levon  <levon@movementarian.org>
8333
8334         * paragraph_pimpl.C: complain about bad getChar()s
8335         for a while at least
8336
8337 2003-03-12  John Levon  <levon@movementarian.org>
8338
8339         * buffer.h:
8340         * buffer.C: move paragraph read into a separate function,
8341         a little renaming to reflect that.
8342
8343         * bufferparams.h:
8344         * bufferparams.C: remove the author_ids map, not necessary now
8345
8346         * factory.h:
8347         * factory.C: moved Buffer::readInset to here
8348
8349         * paragraph_funcs.h:
8350         * paragraph_funcs.C: readParagraph free function moved from
8351         buffer.C
8352
8353         * tabular.C: name change
8354
8355 2003-03-12  John Levon  <levon@movementarian.org>
8356
8357         * buffer.C:
8358         * ParagraphParameters.C: move par params input to
8359         a read() method
8360
8361         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8362         behave like a normal read from the stream wrt reading
8363         a line vs. a \\token
8364
8365 2003-03-12  John Levon  <levon@movementarian.org>
8366
8367         * paragraph.C:
8368         * ParagraphParameters.h:
8369         * ParagraphParameters.C: move output code to a
8370         ::write() method
8371
8372 2003-03-12  John Levon  <levon@movementarian.org>
8373
8374         * BufferView.C (insertLyXFile):
8375         * buffer.h:
8376         * buffer.C:
8377         * tabular.C: use a parlist iterator for creating the
8378           document.
8379
8380 2003-03-12  John Levon  <levon@movementarian.org>
8381
8382         * buffer.C: make current_change static local not
8383           static file-scope
8384
8385 2003-03-12  John Levon  <levon@movementarian.org>
8386
8387         * buffer.C: fix insertStringAsLines for change tracking
8388
8389 2003-03-12  John Levon  <levon@movementarian.org>
8390
8391         * BufferView.C:
8392         * tabular.C:
8393         * buffer.h:
8394         * buffer.C:
8395         * bufferparams.h:
8396         * bufferparams.C: move author list into params. Rename some
8397           functions. Move the header reading into a separate token
8398           loop. Move the header token reading into BufferParams.
8399
8400 2003-03-12  John Levon  <levon@movementarian.org>
8401
8402         * changes.C: put debug inside lyxerr.debugging() checks
8403
8404 2003-03-11 André Pönitz <poenitz@gmx.net>
8405
8406         * factory.C: make it aware of InsetHFill
8407
8408 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8409
8410         * buffer.C (latexParagraphs): move function from here...
8411         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8412         args.
8413
8414 2003-03-10  Angus Leeming  <leeming@lyx.org>
8415
8416         * LyXAction.C (init): fix bug in poplating array with multiple entries
8417         with the same LFUN (spotted by JMarc).
8418
8419 2003-03-10  John Levon  <levon@movementarian.org>
8420
8421         * text.C:
8422         * text2.C: move getColumnNearX() near its
8423         only call site
8424
8425 2003-03-10  John Levon  <levon@movementarian.org>
8426
8427         * text.C: fix break before a minipage
8428
8429 2003-03-10  John Levon  <levon@movementarian.org>
8430
8431         * text.C: fix the last commit
8432
8433 2003-03-09  John Levon  <levon@movementarian.org>
8434
8435         * lyxtext.h:
8436         * text.C:
8437         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8438         bug 365 (don't break before insets unless needed). Don't
8439         return a value > last under any circumstances.
8440
8441 2003-03-09  Angus Leeming  <leeming@lyx.org>
8442
8443         * BufferView_pimpl.C (trackChanges, dispatch): call
8444         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8445
8446 2003-03-09  Angus Leeming  <leeming@lyx.org>
8447
8448         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8449         than Dialogs::showAboutlyx().
8450
8451 2003-03-09  Angus Leeming  <leeming@lyx.org>
8452
8453         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8454         than Dialogs::showTabularCreate().
8455
8456 2003-03-09  John Levon  <levon@movementarian.org>
8457
8458         * lyxtext.h:
8459         * text.C:
8460         * text2.C: 3rd arg to nextBreakPoint was always the same.
8461           Use references.
8462
8463 2003-03-08  John Levon  <levon@movementarian.org>
8464
8465         * lyxrow.C:
8466         * paragraph.C:
8467         * paragraph.h:
8468         * rowpainter.C:
8469         * text.C:
8470         * text2.C: Remove the "main" bit from the "main body"
8471           notion.
8472
8473 2003-03-08  John Levon  <levon@movementarian.org>
8474
8475         * text.C (leftMargin): The left margin of an empty
8476         manual label paragraph should not include the label width
8477         string length.
8478
8479         * text.C (prepareToPrint): don't attempt to measure hfills
8480         for empty manual label paragraphs - the answer should be 0
8481
8482 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8483
8484         * CutAndPaste.C: remove commented code and reindent.
8485
8486 2003-03-08  John Levon  <levon@movementarian.org>
8487
8488         * lyxfunc.h:
8489         * lyxfunc.C: move reloadBuffer()
8490
8491         * BufferView.h:
8492         * BufferView.C: to here
8493
8494         * lyxvc.C: add comment
8495
8496         * vc-backend.h:
8497         * vc-backend.C: call bv->reload() to avoid
8498           getStatus() check on MENURELOAD
8499
8500 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8501
8502         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8503         to an old format .dep file.
8504
8505 2003-03-07  Angus Leeming  <leeming@lyx.org>
8506
8507         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8508         when the LFUN_MOUSE_RELEASE should have been handled by
8509         inset->localDispatch.
8510
8511 2003-03-07  Angus Leeming  <leeming@lyx.org>
8512
8513         * BufferView_pimpl.C (dispatch):
8514         * LyXAction.C (init):
8515         * ToolbarDefaults.C (init):
8516         * commandtags.h:
8517         * lyxfunc.C (getStatus):
8518         remove LFUN_INSET_GRAPHICS.
8519
8520         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8521
8522 2003-03-07  Angus Leeming  <leeming@lyx.org>
8523
8524         * commandtags.h:
8525         * LyXAction.C (init):
8526         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8527
8528         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8529
8530         * commandtags.h:
8531         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8532
8533         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8534         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8535
8536 2003-03-07  Angus Leeming  <leeming@lyx.org>
8537
8538         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8539         remove "ert".
8540
8541 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8542
8543         * ParagraphList.C (front): new function
8544         (back): implement
8545
8546 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8547
8548         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8549         and top_row_offset_. removed var first_y.
8550         * text.C (top_y):
8551         * text2.C (LyXText, removeRow):
8552         * text3.C:
8553         * BufferView_pimpl.C:
8554         use these methods instead of using first_y
8555
8556 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * text2.C (pasteSelection): adjust for checkPastePossible
8559
8560         * CutAndPaste.C: remove Paragraph * buf and replace with
8561         ParagraphList paragraphs.
8562         (DeleteBuffer): delete
8563         (cutSelection): change the tc type to textclass_type
8564         (copySelection): change the tc type to textclass_type
8565         (copySelection): adjust for ParagraphList
8566         (pasteSelection): change the tc type to textclass_type
8567         (pasteSelection): adjust for Paragraphlist
8568         (nrOfParagraphs): simplify for ParagraphList
8569         (checkPastePossible): simplify for ParagraphList
8570         (checkPastePossible): remove unused arg
8571
8572         * ParagraphList.C (insert): handle the case where there are no
8573         paragraphs yet.
8574
8575         * CutAndPaste.h: make CutAndPaste a namespace.
8576
8577         * text3.C (dispatch): adjust
8578
8579         * text.C (breakParagraph): add a ParagraphList as arg
8580
8581         * paragraph_funcs.C (breakParagraph): change to take a
8582         BufferParams and a ParagraphList as args.
8583         (breakParagraphConservative): ditto
8584         (mergeParagraph): ditto
8585         (TeXDeeper): add a ParagraphList arg
8586         (TeXEnvironment): ditto
8587         (TeXOnePar): ditto
8588
8589         * buffer.C (readLyXformat2): adjust
8590         (insertStringAsLines): adjust
8591         (latexParagraphs): adjust
8592
8593         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8594         (cutSelection): adjust
8595         (pasteSelection): adjust
8596
8597         * BufferView_pimpl.C (insertInset): adjust
8598
8599 2003-03-05  Angus Leeming  <leeming@lyx.org>
8600
8601         * commandtags.h:
8602         * LyXAction.C (init):
8603         * BufferView_pimpl.C (dispatch):
8604         * lyxfunc.C (getStatus):
8605         remove LFUN_CHILD_INSERT.
8606
8607         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8608
8609 2003-03-05  Angus Leeming  <leeming@lyx.org>
8610
8611         * commandtags.h:
8612         * LyXAction.C (init):
8613         * src/factory.C (createInset):
8614         * lyxfunc.C (getStatus):
8615         * text3.C (dispatch):
8616         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8617
8618         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8619
8620 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8621
8622         * ParagraphList.C (insert): handle insert right before end()
8623         (erase): fix cases where it can be first or last paragraph.
8624
8625 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8626
8627         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8628         Paragraph::next and Paragraph::previous
8629         (TeXOnePar): ditto
8630
8631         * text.C (breakParagraph): adjust
8632
8633         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8634         BufferParams& as arg.
8635         (breakParagraph): use ParagraphList::insert
8636         (breakParagraphConservative): take a Buffer* instead of a
8637         BufferParams& as arg.
8638         (breakParagraphConservative): use ParagraphList::insert.
8639
8640         * buffer.C (insertStringAsLines): un-const it
8641         (insertStringAsLines): adjust
8642
8643         * ParagraphList.C (insert): new function
8644
8645         * CutAndPaste.C (pasteSelection): adjust
8646
8647         * text.C (backspace): adjust
8648
8649         * tabular.C (SetMultiColumn): adjust
8650
8651         * CutAndPaste.C (cutSelection): adjust
8652         (pasteSelection): adjust
8653
8654         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8655         Buffer const * as arg
8656
8657         * ParagraphList.C (erase): new function
8658         * paragraph_funcs.C (mergeParagraph): use it
8659         (mergeParagraph): make it take a Buffer* instead of a
8660         BufferParams* as arg
8661
8662         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8663         as arg
8664         (breakParagraphConservative): ditto
8665
8666         * paragraph.h: remove the breakParagraph friend
8667
8668         * paragraph.C (eraseIntern): new function
8669         (setChange): new function
8670
8671         * paragraph_funcs.C (mergeParagraph): make it take a
8672         ParagraphList::iterator instead of a Paragraph *, adjust
8673         accordingly.
8674
8675         * paragraph.h: move an #endif so that the change tracking stuff
8676         also works in the NO_NEXT case.
8677
8678 2003-03-04  Angus Leeming  <leeming@lyx.org>
8679
8680         * commandtags.h:
8681         * LyXAction.C: new LFUN_INSET_MODIFY.
8682
8683         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8684         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8685
8686 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8687
8688         * several files: ws changes only
8689
8690         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8691         (TeXEnvironment): ditto
8692         (TeXDeeper): ditto
8693
8694         * buffer.C (makeLaTeXFile): adjust
8695         (latexParagraphs): make it take ParagraphList::iterator as args
8696
8697 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8698
8699         * buffer.C (latexParagraphs): adjust
8700
8701         * paragraph.C (TeXOnePar): move function...
8702         (optArgInset): move function...
8703         (TeXEnvironment): move function...
8704         * paragraph_pimpl.C (TeXDeeper): move function...
8705         * paragraph_funcs.C: ...here
8706
8707         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8708
8709 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * buffer.C (readInset): remove compability code for old Figure and
8712         InsetInfo insets
8713
8714 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * buffer.C: ws changes
8717         (readInset):
8718
8719         * BufferView_pimpl.C: ditto
8720         * author.C: ditto
8721         * buffer.h: ditto
8722         * bufferlist.h: ditto
8723         * changes.h: ditto
8724         * lyxfunc.C: ditto
8725
8726 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8727
8728         * converter.[Ch]: split into itself +
8729         * graph.[Ch]
8730         * format.[Ch]
8731         * Makefile.am: += graph.[Ch] + format.[Ch]
8732         * MenuBackend.C
8733         * buffer.C
8734         * exporter.C
8735         * importer.C
8736         * lyx_main.C
8737         * lyxfunc.C
8738         * lyxrc.C: added #include "format.h"
8739
8740 2003-02-27  Angus Leeming  <leeming@lyx.org>
8741
8742         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8743           a label.
8744
8745         * factory.C (createInset): add "label" to the factory.
8746
8747         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8748           string and do no more.
8749
8750 2003-02-27  Angus Leeming  <leeming@lyx.org>
8751
8752         * commandtags.h:
8753         * LyXAction.C (init):
8754         * factory.C (createInset):
8755         * BufferView_pimpl.C (dispatch):
8756           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8757
8758         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8759
8760         * lyxfunc.C (dispatch):
8761         * text3.C (dispatch): pass name to params2string.
8762
8763 2003-02-26  Angus Leeming  <leeming@lyx.org>
8764
8765         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8766           blocks together.
8767           Rearrange the ~includes. Strip out the unnecessary ones.
8768
8769         * factory.C (createInset): reformat.
8770           create new insets for the various LFUN_XYZ_APPLY lfuns.
8771
8772 2003-02-26  John Levon  <levon@movementarian.org>
8773
8774         * lyxrow.h:
8775         * lyxrow.C: add isParStart,isParEnd helpers
8776
8777         * paragraph.h: make isInserted/DeletedText take refs
8778
8779         * paragraph_funcs.h:
8780         * paragraph_funcs.C: remove #if 0'd code
8781
8782         * lyxtext.h:
8783         * text3.C:
8784         * text2.C:
8785         * text.C: use lyxrow helpers above.
8786           Move draw and paint routines to RowPainter.
8787           Make several methods use refs not pointers.
8788           Make backgroundColor() const.
8789           Add markChangeInDraw(), isInInset().
8790           Merge changeRegionCase into changeCase.
8791           Make workWidth() shouldn't-happen code into an Assert.
8792
8793         * rowpainter.h:
8794         * rowpainter.C: new class for painting a row.
8795
8796         * vspace.h:
8797         * vspace.C: make inPixels take a ref
8798
8799 2003-02-26  Angus Leeming  <leeming@lyx.org>
8800
8801         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8802         LFUN_REF_APPLY.
8803
8804 2003-02-25  John Levon  <levon@movementarian.org>
8805
8806         * ispell.C: give the forked command a more accurate name
8807
8808 2003-02-22  John Levon  <levon@movementarian.org>
8809
8810         * toc.h:
8811         * toc.C: make TocItem store an id not a Paragraph *
8812           (bug #913)
8813
8814 2003-02-21  Angus Leeming  <leeming@lyx.org>
8815
8816         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8817           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8818           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8819           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8820           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8821           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8822
8823         * BufferView_pimpl.C (dispatch):
8824         * LyXAction.C (init):
8825         * factory.C (createInset):
8826         * lyxfunc.C (getStatus, dispatch):
8827         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8828
8829 2003-02-21  Angus Leeming  <leeming@lyx.org>
8830
8831         * BufferView_pimpl.C (MenuInsertLyXFile):
8832         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8833         * lyxfunc.C (menuNew, open, doImport):
8834           no longer pass a LyXView & to fileDlg.
8835
8836 2003-02-21  Angus Leeming  <leeming@lyx.org>
8837
8838         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8839         * LyXAction.C: change, BIBKEY to BIBITEM.
8840         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8841         Change InsetBibKey to InsetBibitem.
8842         Change BIBKEY_CODE to BIBITEM_CODE.
8843         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8844         * factory.C: replace insetbib.h with insetbibitem.h.
8845         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8846         * paragraph.C: replace insetbib.h with insetbibitem.h.
8847         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8848         Change bibkey() to bibitem().
8849         * text.C: remove insetbib.h.
8850         * text2.C: replace insetbib.h with insetbibitem.h.
8851         change bibkey() to bibitem().
8852         * text3.C: remove insetbib.h.
8853         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8854
8855 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8856
8857         * lyxrc.C (output): enclose user email in quotes (in case there are
8858         several words)
8859
8860 2003-02-18  John Levon  <levon@movementarian.org>
8861
8862         * buffer.h: add std::
8863
8864 2003-02-17  John Levon  <levon@movementarian.org>
8865
8866         * SpellBase.h:
8867         * ispell.h:
8868         * ispell.C:
8869         * pspell.h:
8870         * pspell.C: reworking. Especially in ispell, a large
8871           number of clean ups and bug fixes.
8872
8873         * lyxfunc.C: fix revert to behave sensibly
8874
8875 2003-02-17 André Pönitz <poenitz@gmx.net>
8876
8877         * LyXAction.C:
8878         * commandtags.h: new LFUN_INSERT_BIBKEY
8879
8880         * layout.h:
8881         * lyxlayout.C:
8882         * buffer.C:
8883         * factory.C:
8884         * text.C:
8885         * text2.C:
8886         * text3.C:
8887         * paragraph.[Ch]:
8888         * paragraph_func.C: remove special bibkey handling
8889
8890 2003-02-17  John Levon  <levon@movementarian.org>
8891
8892         * text.C (Delete): fix case where delete at the end of
8893           the very first paragraph would not merge the pars
8894
8895 2003-02-17  John Levon  <levon@movementarian.org>
8896
8897         * lyxrow.C: fix lastPrintablePos()
8898
8899 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8900
8901         * bufferparams.C (writeLaTeX): add a std:here
8902
8903         * buffer.C: and remove a using directive there
8904
8905 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * buffer.C (makeLaTeXFile): move the code that generates the
8908           preamble...
8909
8910         * bufferparams.C (writeLaTeX): ... in this new method
8911
8912         * LaTeXFeatures.C (getEncodingSet): make const
8913           (getLanguages): make const
8914
8915         * MenuBackend.C (binding): returns the binding associated to this
8916           action
8917           (add): sets the status of each item by calling getStatus. Adds
8918           some intelligence.
8919           (read): add support for OptSubMenu
8920           (expand): remove extra separator at the end of expanded menu
8921
8922 2003-02-15  John Levon  <levon@movementarian.org>
8923
8924         * BufferView.C:
8925         * BufferView_pimpl.C:
8926         * bufferlist.h:
8927         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8928           inset code that had no actual effect. Remove unneeded status
8929           code.
8930
8931 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8934           in preamble
8935
8936 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8937
8938         * text.C (drawLengthMarker): also draw an arrow marker for
8939           symbolic lengths (medskip...)
8940
8941 2003-02-14  John Levon  <levon@movementarian.org>
8942
8943         * tabular.h:
8944         * tabular.C: better method names
8945
8946 2003-02-14  John Levon  <levon@movementarian.org>
8947
8948         * BufferView_pimpl.C:
8949         * bufferlist.C:
8950         * buffer.C:
8951         * converter.C:
8952         * lyx_cb.C:
8953         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8954           it's a more accurate name. Remove some pointless uses.
8955
8956 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8957
8958         * text2.C (LyXText): change order of initilizers to shut off
8959           warnings
8960
8961 2003-02-14  John Levon  <levon@movementarian.org>
8962
8963         * buffer.C: use ParIterator for getParFromID()
8964
8965         * paragraph.h:
8966         * paragraph.C:
8967         * paragraph_pimpl.h:
8968         * paragraph_pimpl.C: remove unused getParFromID()
8969
8970 2003-02-14  John Levon  <levon@movementarian.org>
8971
8972         * buffer.C: remove some very old #if 0'd parse code
8973
8974 2003-02-13  John Levon  <levon@movementarian.org>
8975
8976         * text.h:
8977         * text.C:
8978         * text2.C: move hfillExpansion(), numberOfSeparators(),
8979           rowLast(), rowLastPrintable(), numberofHfills(),
8980           numberOfLabelHfills() ...
8981
8982         * lyxrow.h:
8983         * lyxrow.C: ... to member functions here.
8984
8985         * paragraph.h:
8986         * paragraph.C:
8987         * lyxtext.h:
8988         * text.C: remove LyXText::beginningOfMainBody(), and call
8989           p->beginningOfMainBody() directly. Move the check for
8990           LABEL_MANUAL into the latter.
8991
8992         * text.h:
8993         * text.C:
8994         * text2.C:
8995         * vspace.C:
8996         * BufferView.h:
8997         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8998
8999         * text.h:
9000         * text.C:
9001         * text2.C:
9002         * text3.C:
9003         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9004           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9005
9006 2003-02-13  John Levon  <levon@movementarian.org>
9007
9008         * CutAndPaste.C: remove debug
9009
9010 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9011
9012         * paragraph.C (asString): remove two unused variables
9013
9014         * lyxtextclass.C (readTitleType):
9015           (Read):
9016           (LyXTextClass): handle new members titletype_ and titlename_
9017
9018         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9019
9020 2003-02-09  John Levon  <levon@movementarian.org>
9021
9022         * buffer.h:
9023         * buffer.C: replace hand-coded list with a map for the dep clean
9024
9025 2003-02-08  John Levon  <levon@movementarian.org>
9026
9027         * LaTeX.C: consolidate code into showRunMessage() helper
9028
9029 2003-02-08  John Levon  <levon@movementarian.org>
9030
9031         * lyxfind.C:
9032         * lyxtext.h:
9033         * text2.C:
9034         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9035           and pass the size in explicitly
9036
9037         * BufferView_pimpl.h:
9038         * BufferView_pimpl.C:
9039         * BufferView.h:
9040         * BufferView.C: add getCurrentChange()
9041
9042         * BufferView_pimpl.h:
9043         * BufferView_pimpl.C: handle change lfuns
9044
9045         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9046           for changes. Mark pasted paragraphs as new.
9047
9048         * support/lyxtime.h:
9049         * support/lyxtime.C:
9050         * DepTable.C: abstract time_t as lyx::time_type
9051
9052         * LColor.h:
9053         * LColor.C: add colours for new text, deleted text, changebars
9054
9055         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9056           package use "usenames" option.
9057
9058         * commandtags.h:
9059         * lyxfunc.C:
9060         * LyXAction.C: add change lfuns
9061
9062         * Makefile.am:
9063         * author.h:
9064         * author.C: author handling
9065
9066         * buffer.h:
9067         * buffer.C: add a per-buffer author list, with first entry as
9068           current author. Handle new .lyx tokens for change tracking. Output
9069           author list to .lyx file. Output dvipost stuff to .tex preamble.
9070           Bump lyx format to 222.
9071
9072         * bufferlist.h:
9073         * bufferlist.C: add setCurrentAuthor() to reset current author details
9074           in all buffers.
9075
9076         * bufferparams.h:
9077         * bufferparams.C: add param for tracking
9078
9079         * bufferview_funcs.C: output change info in minibuffer
9080
9081         * Makefile.am:
9082         * changes.h:
9083         * changes.C: add change-tracking structure
9084
9085         * debug.h:
9086         * debug.C: add CHANGES debug flag
9087
9088         * lyxfind.h:
9089         * lyxfind.C: add code for finding the next change piece
9090
9091         * lyxrc.h:
9092         * lyxrc.C: add user_name and user_email
9093
9094         * lyxrow.h:
9095         * lyxrow.C: add a metric for the top of the text line
9096
9097         * lyxtext.h:
9098         * text.C: implement accept/rejectChange()
9099
9100         * lyxtext.h:
9101         * text.C: paint changebars. Paint new/deleted text in the chosen
9102         colours. Strike through deleted text.
9103
9104         * paragraph.h:
9105         * paragraph.C:
9106         * paragraph_pimpl.h:
9107         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9108           in the current change to the insert functions. Rework erase to
9109           mark text as deleted, adding an eraseIntern() and a range-based
9110           erase(). Implement per-paragraph change lookup and
9111           accept/reject.
9112
9113         * paragraph_funcs.C: Fixup paste for change tracking.
9114
9115         * tabular.C: mark added row/columns as new.
9116
9117         * text.C: fix rowLast() to never return -1. Don't allow
9118           spellchecking of deleted text. Track transpose changes. Don't
9119           allow paragraph break or merge where appropriate.
9120
9121         * text2.C: leave cursor at end of selection after a cut.
9122
9123 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9124
9125         * text.C (getLengthMarkerHeight):
9126         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9127         visible on screen too.
9128
9129 2003-02-07  John Levon  <levon@movementarian.org>
9130
9131         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9132
9133 2003-02-05  Angus Leeming  <leeming@lyx.org>
9134
9135         * lyxserver.C (read_ready): revert my patch of 11 September last year
9136         as it sends PC cpu through the roof. Presumably this means that
9137         the lyxserver will no longer run on an Alpha...
9138
9139 2003-01-30  Angus Leeming  <leeming@lyx.org>
9140
9141         * factory.C (createInset): create an InsetCommandParam of type "index"
9142         and use it to 'do the right thing'.
9143
9144         * text2.C (getStringToIndex): ensure that cursor position is always
9145         reset to the reset_cursor position.
9146
9147 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9148
9149         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9150         disabled.
9151
9152 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9153
9154         * bufferview.C:
9155         * lyxcb.C:
9156         * lyxfunc.C: Output messages with identical spelling, punctuation,
9157         and spaces
9158
9159 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9160
9161         * MenuBackend.C (expandFormats): List only viewable export formats
9162         in "View" menu
9163
9164         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9165         message
9166
9167         * lyxfunc.C (getStatus): Make sure that formats other than
9168         "fax" can also be disabled
9169
9170 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9171
9172         * text3.C (dispatch): put the lfuns that insert insets in 3
9173         groups, and call doInsertInset with appropriate arguments.
9174         (doInsertInset): new function, that creates an inset and inserts
9175         it according to some boolean parameters.
9176
9177 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9178
9179         * buffer.C (readFile): remember to pass on 'par' when calling
9180         readFile recursively.
9181
9182 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9183
9184         * MenuBackend.C (expandFormats): add "..." to import formats.
9185
9186 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9187
9188         * paragraph.C (asString): Remove XForms RTL hacks.
9189
9190 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9191         * buffer.C: fix typo
9192
9193 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9194
9195         * Makefile.am (LIBS): delete var
9196         (lyx_LDADD): add @LIBS@ here instead.
9197
9198 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9199
9200         * Clarify the meaning of "wheel mouse jump"
9201
9202 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9203
9204         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9205         tabular in a float
9206
9207 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9208
9209         * importer.C (Loaders): do not preallocate 3 elements in the
9210         vector, since one ends up with 6 elements otherwise
9211
9212 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9213
9214         * DepTable.C (write): write the file name as last element of the
9215         .dep file (because it may contain spaces)
9216         (read): read info in the right order
9217
9218 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9219
9220         * paragraph_pimpl.C (simpleTeXBlanks):
9221         (simpleTeXSpecialChars):
9222         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9223
9224         * tabular.C (latex): add some missing case statements. Reindent.
9225
9226         * MenuBackend.C (expandToc): remove unused variable.
9227
9228 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9229
9230         * LColor.C:
9231         * LaTeX.C:
9232         * LyXAction.C:
9233         * MenuBackend.C:
9234         * buffer.C:
9235         * exporter.C:
9236         * lyxfunc.C:
9237         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9238         and the like.
9239
9240 2003-01-05  John Levon  <levon@movementarian.org>
9241
9242         * BufferView.h:
9243         * BufferView.C: add getEncoding()
9244
9245         * kbsequence.h:
9246         * kbsequence.C: do not store last keypress
9247
9248         * lyxfunc.h:
9249         * lyxfunc.C: store last keypress here instead. Pass encoding
9250           to getISOEncoded()
9251
9252 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9253
9254         * lyx_main.C (init): remove annoying error message when following
9255         symbolic links (bug #780)
9256
9257 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9258
9259         * text.C (insertChar):
9260         * lyxrc.C (getDescription): remove extra spaces
9261
9262 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9263
9264         * lyxrc.C (getDescription): remove extra spaces
9265
9266 2002-12-20  John Levon  <levon@movementarian.org>
9267
9268         * text3.C: hack fix for page up/down across tall rows
9269
9270 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9271
9272         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9273         not been invoked
9274
9275 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9276
9277         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9278         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9279         thesaurus is not compiled in
9280
9281 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9282
9283         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9284
9285 2002-12-16  Angus Leeming  <leeming@lyx.org>
9286
9287         * lyxrc.[Ch]:
9288         * lyx_main.C (init): remove override_x_deadkeys stuff.
9289
9290 2002-12-12  John Levon  <levon@movementarian.org>
9291
9292         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9293           insert. Only remove shift modifier under strict
9294           circumstances.
9295
9296 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9297
9298         * MenuBackend.C (expandToc): fix crash.
9299
9300 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9301
9302         * MenuBackend.C (expandToc): gettext on float names.
9303
9304 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9305
9306         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9307         implement bool empty() [bug 490]
9308
9309 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9310
9311         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9312
9313 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9314
9315         * several files: ws changes
9316
9317 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9318
9319         * text2.C (setCounter): clean up a bit, use boost.format.
9320         (updateCounters): initialize par upon declaration.
9321
9322         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9323         if the layout exists. We do not just store the layout any more.
9324         (SwitchLayoutsBetweenClasses): use boost.format
9325
9326 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9327
9328         * converter.C (convert): if from and to files are the same, use a
9329         temporary files as intermediary
9330
9331 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9332
9333         * commandtags.h:
9334         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9335
9336 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9337
9338         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9339
9340 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9341
9342         * tabular.C (asciiPrintCell): use string(size, char) instead of
9343         explicit loop.
9344
9345         * sgml.C (openTag): fix order of arguments to string constructor
9346         (closeTag): ditto
9347
9348         * lyxfunc.C (dispatch): use boost.format
9349
9350         * lots of files: change "c" -> 'c'
9351
9352 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9353
9354         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9355
9356 2002-11-25  Angus Leeming  <leeming@lyx.org>
9357
9358         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9359
9360         * lyx_main.C (init): compile fix.
9361
9362 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9363
9364         * lyx_cb.C (start): boost.formatify
9365         do not include <iostream>
9366
9367         * lengthcommon.C: ws only
9368
9369         * boost-inst.C,BoostFormat.h: add more explict instantations
9370
9371 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9372
9373         * lots of files: handle USE_BOOST_FORMAT
9374
9375 2002-11-21  John Levon  <levon@movementarian.org>
9376
9377         * pspell.C: fix compile
9378
9379 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9380
9381         * lyxfunc.C (dispatch): use boost::format
9382         (open): ditto
9383         (doImport): ditto
9384
9385         * lyxfont.C (stateText): use boost::format
9386
9387         * lyx_main.C (LyX): use boost::format
9388         (init): ditto
9389         (queryUserLyXDir): ditto
9390         (readRcFile): ditto
9391         (parse_dbg): ditto
9392         (typedef boost::function): use the recommened syntax.
9393
9394         * importer.C (Import): use boost::format
9395
9396         * debug.C (showLevel): use boost::format
9397
9398         * converter.C (view): use boost::format
9399         (convert): ditto
9400         (move): ditto
9401         (scanLog): ditto
9402
9403         * bufferview_funcs.C (currentState): use boost::format
9404
9405         * bufferlist.C (emergencyWrite): use boost::format
9406
9407         * buffer.C (readLyXformat2): use boost::format
9408         (parseSingleLyXformat2Token): ditto
9409
9410         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9411
9412         * LaTeX.C (run): use boost::format
9413
9414         * Chktex.C (scanLogFile): use boost::format
9415
9416         * BufferView_pimpl.C (savePosition): use boost::format
9417         (restorePosition): ditto
9418         (MenuInsertLyXFile): ditto
9419
9420         * BoostFormat.h: help file for explicit instation.
9421
9422 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9423
9424         * tabular.C (latex): Support for block alignment in fixed width
9425         columns.
9426
9427 2002-11-17  John Levon  <levon@movementarian.org>
9428
9429         * BufferView_pimpl.C:
9430         * lyx_cb.C:
9431         * lyxfunc.C: split filedialog into open/save
9432
9433 2002-11-08  Juergen Vigna  <jug@sad.it>
9434
9435         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9436         by my last patch (hopefully).
9437
9438 2002-11-08  John Levon  <levon@movementarian.org>
9439
9440         * iterators.h:
9441         * iterators.C:
9442         * buffer.h:
9443         * buffer.C:
9444         * paragraph.h:
9445         * paragraph.C:
9446         * toc.h:
9447         * toc.C: ParConstIterator, and use it (from Lars)
9448
9449 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9450
9451         * lyxtextclass.[Ch]: revise and add doxygen comments
9452
9453 2002-11-07  John Levon  <levon@movementarian.org>
9454
9455         * text.C: fix progress value for spellchecker
9456
9457         * toc.C: fix navigate menu for insetwrap inside minipage
9458
9459         * paragraph_funcs.C: added FIXME for suspect code
9460
9461 2002-11-07  John Levon  <levon@movementarian.org>
9462
9463         * BufferView_pimpl.C: fix redrawing of insets
9464           on buffer switch
9465
9466 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9467
9468         * text2.C (updateCounters): fix bug 668
9469
9470 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * text3.C (dispatch): Do not make the buffer dirty when moving the
9473         cursor.
9474
9475 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9476
9477         * vc-backend.C: STRCONV
9478         (scanMaster): ditto
9479
9480         * text2.C (setCounter): STRCONV
9481
9482         * paragraph.C (asString): STRCONV
9483
9484         * lyxlength.C (asString): STRCONV
9485         (asLatexString): ditto
9486
9487         * lyxgluelength.C (asString): STRCONV
9488         (asLatexString): ditto
9489
9490         * lyxfunc.C (dispatch): STRCONV
9491         (open): ditto
9492
9493         * lyxfont.C (stateText): STRCONV
9494
9495         * importer.C (Import): STRCONV
9496
9497         * counters.C (labelItem): STRCONV
9498         (numberLabel): ditto
9499         (numberLabel): remove unused ostringstream o
9500
9501         * chset.C: STRCONV
9502         (loadFile): ditto
9503
9504         * bufferview_funcs.C (currentState): STRCONV
9505
9506         * buffer.C (readFile): STRCONV
9507         (asciiParagraph): ditto
9508         (makeLaTeXFile): ditto
9509
9510         * Spacing.C (writeEnvirBegin): STRCONV
9511
9512         * LaTeXFeatures.C (getLanguages): STRCONV
9513         (getPackages): ditto
9514         (getMacros): ditto
9515         (getBabelOptions): ditto
9516         (getTClassPreamble): ditto
9517         (getLyXSGMLEntities): ditto
9518         (getIncludedFiles): ditto
9519
9520         * LaTeX.C: STRCONV
9521         (run): ditto
9522         (scanAuxFile): ditto
9523         (deplog): ditto
9524
9525         * LString.h: add the STRCONV macros
9526
9527         * BufferView_pimpl.C (savePosition): STRCONV
9528         (restorePosition): ditto
9529         (MenuInsertLyXFile): ditto
9530
9531         * vc-backend.C (scanMaster): change from submatch[...] to
9532         submatch.str(...)
9533
9534         * funcrequest.C: include config.h
9535
9536         * factory.C: include config.h
9537
9538         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9539
9540         * box.C: include config.h
9541
9542         * LaTeX.C (scanAuxFile): change from submatch[...] to
9543         submatch.str(...)
9544         (deplog): ditto
9545
9546 2002-10-25  Angus Leeming  <leeming@lyx.org>
9547
9548         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9549
9550         * ispell.[Ch] (setError): new method.
9551         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9552         Use setError() insetead of goto END.
9553
9554         * lyx_cb.C (AutoSave): move out child process into new class
9555         AutoSaveBuffer.
9556
9557 2002-10-30  John Levon  <levon@movementarian.org>
9558
9559         * text3.C: make start appendix undoable
9560
9561 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9562
9563         * lyxlength.C (inPixels): Fix returned value.
9564
9565         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9566         environment.
9567
9568 2002-10-24  Angus Leeming  <leeming@lyx.org>
9569
9570         * lyxgluelength.h: no need to forward declare BufferParams
9571         or BufferView, so don't.
9572
9573 2002-10-21  John Levon  <levon@movementarian.org>
9574
9575         * BufferView.C: menuUndo ->undo, redo
9576
9577         * BufferView.h: document, remove dead, make some methods private
9578
9579         * paragraph_funcs.h:
9580         * paragraph_funcs.C:
9581         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9582
9583         * buffer.h:
9584         * buffer.C:
9585         * sgml.h:
9586         * sgml.C: move sgml open/close tag into sgml.C
9587
9588         * bufferview_funcs.h: unused prototype
9589
9590         * lyxfunc.h:
9591         * lyxfunc.C: remove unused
9592
9593         * lyxtext.h:
9594         * text.C: remove unused
9595
9596 2002-10-21  John Levon  <levon@movementarian.org>
9597
9598         * BufferView.h:
9599         * BufferView.C:
9600         * BufferView_pimpl.h:
9601         * BufferView_pimpl.C: fix mouse wheel handling based on
9602           patch from Darren Freeman
9603
9604 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9605
9606         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9607
9608 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9609
9610         * lyxlength.C (inPixels): Fix hanfling of negative length.
9611         Fix LyXLength::MU case.
9612
9613 2002-10-16  John Levon  <levon@movementarian.org>
9614
9615         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9616
9617 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9618
9619         * converter.C (view): add support for $$i (file name) and $$p
9620         (file path) for the viewer command. If $$i is not specified, then
9621         it is appended to the command (for compatibility with old syntax)
9622
9623 2002-10-14  Juergen Vigna  <jug@sad.it>
9624
9625         * undo_funcs.C (textHandleUndo): alter the order in which the
9626         new undopar is added to the LyXText, as we have to set first
9627         the right prev/next and then add it as otherwise the rebuild of
9628         LyXText is not correct. Also reset the cursor to the right paragraph,
9629         with this IMO we could remove the hack in "redoParagraphs()".
9630
9631 2002-10-09  Angus Leeming  <leeming@lyx.org>
9632
9633         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9634         to turn off an optimisation if a new inset is to be inserted.
9635
9636 2002-10-11 André Pönitz <poenitz@gmx.net>
9637
9638         * lyxtext.h: make some functions public to allow access
9639         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9640
9641 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9642
9643         * text3.C (dispatch): when changing layout, avoid an infinite loop
9644         [bug #652]
9645
9646 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9647
9648         * lyxrc.C (read): treat a viewer or converter command of "none" as
9649         if it were empty.
9650
9651         * MenuBackend.C (expandFormats): for an update, also allow the
9652         formats that are not viewable
9653
9654         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9655         script if it is newer than the lyxrc.defaults in user directory
9656
9657 2002-10-07 André Pönitz <poenitz@gmx.net>
9658
9659         * text.C: Vitaly Lipatov's small i18n fix
9660
9661 2002-09-25  Angus Leeming  <leeming@lyx.org>
9662
9663         * ispell.h: doxygen fix.
9664
9665 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9666
9667         * buffer.h (readFile): Add a new argument to the method, to allow
9668         reading of old-format templates.
9669
9670 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9671
9672         * toc.C (getTocList): Get TOC from InsetWrap.
9673
9674 2002-09-16  John Levon  <levon@movementarian.org>
9675
9676         * lyxfunc.C: check tabular for cut/copy too
9677
9678 2002-09-12  John Levon  <levon@movementarian.org>
9679
9680         * LyXAction.C: tidy
9681
9682         * factory.h:
9683         * factory.C: add header
9684
9685         * paragraph_funcs.h:
9686         * paragraph_funcs.C: cleanup
9687
9688 2002-09-11  John Levon  <levon@movementarian.org>
9689
9690         * PrinterParams.h: odd/even default to true
9691
9692 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9693
9694         * PrinterParams.h: update printer parameters for new xforms dialog
9695
9696 2002-09-11  Angus Leeming  <leeming@lyx.org>
9697
9698         * lyxserver.C (read_ready): re-write to make it more transparent
9699         and to make it work in coherent fashion under Tru64 Unix.
9700
9701 2002-09-11  André Pönitz <poenitz@gmx.net>
9702
9703         * commandtags.h:
9704         * LyXAction.C:
9705         * text3.C: implement LFUN_WORDSEL
9706
9707 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9708
9709         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9710         make floatlist_ a boost::shared_ptr<FloatList>
9711
9712         * lyxtextclass.C: include FloatList.h
9713         (LyXTextClass): initialize floatlist_
9714         (TextClassTags): add TC_NOFLOAT
9715         (Read): match "nofloat" to TC_NOFLOAT and use it.
9716         (readFloat): modify call to floatlist_
9717         (floats): ditto
9718         (floats): ditto
9719
9720         * FloatList.[Ch] (FloatList): remove commented out float
9721         initialization.
9722         (erase): new function
9723
9724 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * MenuBackend.C (expandToc): fix crash when there is no document
9727         open
9728
9729 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9730
9731         * many files: Add insetwrap.
9732
9733 2002-09-09  John Levon  <levon@movementarian.org>
9734
9735         * text2.C: remove confusing and awkward depth wraparound
9736
9737 2002-09-09  John Levon  <levon@movementarian.org>
9738
9739         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9740
9741         * buffer.h:
9742         * buffer.C: remove getIncludeonlyList()
9743
9744         * paragraph.C:
9745         * lyxfunc.C: remove headers
9746
9747 2002-09-09  Juergen Vigna  <jug@sad.it>
9748
9749         * text.C (getColumnNearX): fix form Michael this is most
9750         probably a cut&paste bug.
9751
9752 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9753
9754         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9755
9756         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9757         references, ws changes.
9758
9759         * text2.C (init): update counters after init
9760         (insertParagraph): no need to set counter on idividual paragraphs.
9761         (setCounter): access the counters object in the textclass object
9762         on in the buffer object.
9763         (updateCounters): ditto
9764
9765         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9766         shared_ptr<Counters> to avoid loading counters.h in all
9767         compilation units.
9768         (LyXTextClass): initialize ctrs_
9769         (TextClassTags): add TC_COUNTER, and ...
9770         (Read): use it here.
9771         (CounterTags): new tags
9772         (readCounter): new function
9773         (counters): new funtion
9774         (defaultLayoutName): return a const reference
9775
9776         * counters.C (Counters): remove contructor
9777         (newCounter): remove a couple of unneeded statements.
9778         (newCounter): simplify a bit.
9779         (numberLabel): some small formatting changes.
9780
9781         * buffer.[Ch]: remove all traces of counters, move the Counters
9782         object to the LyXTextClass.
9783
9784 2002-09-06  Alain Castera  <castera@in2p3.fr>
9785
9786         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9787         package to set the horizontal alignment on fixed width columns.
9788
9789         * lyx_sty.C:
9790         * lyx_sty.h: added tabularnewline macro def.
9791
9792         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9793
9794 2002-09-06  John Levon  <levon@movementarian.org>
9795
9796         * LyXAction.C: tooltips for sub/superscript
9797
9798         * MenuBackend.C: a bit more verbose
9799
9800         * lyxfunc.C: tiny clean
9801
9802         * undo_funcs.C: document undo_frozen
9803
9804 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9805
9806         * counters.C (Counters): add missing algorithm counter.
9807
9808         * text2.C (setCounter): lookup the counter with layouts latexname
9809         instead of by section number.
9810         (setCounter): use a hackish way to lookup the correct enum
9811         counter.
9812         a float name->type change
9813         reset enum couners with counter name directly instead of depth value.
9814
9815         * counters.C (Counters): remove the push_backs, change to use the
9816         float type not the float name.
9817         (labelItem): remove unused string, float name->type change
9818
9819         * counters.h: don't include vector, loose the enums and sects vectors
9820
9821 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9822
9823         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9824         (Read): add float->TC_FLOAT to textclassTags
9825         (Read): and handle it in the switch
9826         (readFloat): new function
9827
9828         * FloatList.C (FloatList): comment out the hardcoded float
9829         definitions.
9830
9831         * lyxlayout.h: ws change.
9832
9833 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9834
9835         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9836
9837 2002-09-03  Angus Leeming  <leeming@lyx.org>
9838
9839         * BufferView_pimpl.h: qualified name is not allowed in member
9840         declaration: WorkArea & Pimpl::workarea() const;
9841
9842         * factory.C: added using std::endl directive.
9843
9844         * text3.C: added using std::find and std::vector directives.
9845
9846 2002-08-29  André Pönitz <poenitz@gmx.net>
9847
9848         * lyxtext.h:
9849         * text2.C: remove unused member number_of_rows
9850
9851         * Makefile.am:
9852         * BufferView2.C: remove file, move contents to...
9853         * BufferView.C: ... here
9854
9855         * BufferView_pimpl.C:
9856         * factory.C: move more inset creation to factory
9857
9858         * vspace.C: avoid direct usage of LyXText, ws changes
9859
9860         * BufferView.[Ch]:
9861                 don't provide direct access to WorkArea, use two simple
9862                 acessors haveSelction() and workHeight() instead
9863
9864
9865 2002-08-29  John Levon  <levon@movementarian.org>
9866
9867         * BufferView_pimpl.C (dispatch): do not continue when
9868           no buffer
9869
9870 2002-08-28  André Pönitz <poenitz@gmx.net>
9871
9872         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9873
9874         * BufferView.h:
9875         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9876
9877 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9878
9879         * buffer.C: increment LYX_FORMAT to 221
9880
9881         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9882         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9883
9884         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9885
9886         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9887
9888 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * factory.C (createInset): use LyXTextClass::floats
9891
9892         * MenuBackend.C (expandFloatListInsert):
9893         (expandFloatInsert):
9894         (expandToc):
9895
9896         * text2.C (setCounter):
9897
9898         * LaTeXFeatures.C (useFloat):
9899         (getFloatDefinitions):
9900
9901         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9902
9903         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9904         floatlist_, with accessor floats().
9905
9906         * FloatList.h: remove global FloatList
9907
9908 2002-08-26  André Pönitz <poenitz@gmx.net>
9909
9910         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9911
9912         * BufferView.h:
9913         * BufferView2.C:
9914         * BufferView_pimpl.C:
9915         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9916
9917 2002-08-25  John Levon  <levon@movementarian.org>
9918
9919         * LyXAction.C: fix margin note description
9920
9921 2002-08-24  John Levon  <levon@movementarian.org>
9922
9923         * buffer.C:
9924         * bufferlist.C:
9925         * bufferview_funcs.C:
9926         * lyxfont.C:
9927         * undo_funcs.C: cleanups
9928
9929         * lyxfunc.C: disable CUT/COPY when no selection
9930
9931 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9932
9933         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9934         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9935
9936         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9937         Add backward compatibility to "mono", "gray" and "no".
9938
9939 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9940
9941         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9942         (and file_format >= 200).
9943
9944 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9945
9946         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9947
9948 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9951
9952 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9953
9954         * BufferView_pimpl.C:
9955         * LyXAction.C:
9956         * buffer.C:
9957         * commandtags.h:
9958         * lyxfunc.C:
9959         * paragraph.[Ch]:
9960         * text2.C:
9961         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9962         inset and code to make it  work with the paragraph code. The inset
9963         can be anywhere in the paragraph, but will only do the expected
9964         thing in LaTeX if the layout file contains the parameter line
9965                         OptionalArgs    1
9966         (or more generally, a nonzero value) for that layout.
9967
9968 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9969
9970         * paragraph.h: remove the declaration of undefined counters class
9971         function.
9972
9973 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9974
9975         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9976         Dr. Richard Hawkins.
9977
9978 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9979
9980         * paragraph_funcs.h: remove some unneeded includes
9981
9982         * text.C (backspace): pasteParagraph now in global scipe
9983
9984         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9985         (pasteSelection): ditto
9986
9987         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9988         * paragraph_funcs.C (pasteParagraph): ... here
9989
9990 2002-08-20  André Pönitz <poenitz@gmx.net>
9991
9992         * commandtags.h: new LFUNs for swapping/copying table row/colums
9993
9994         * LyXAction.C:
9995         * lyxfunc.C: support for new lfuns
9996
9997 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9998
9999         * tabular.C:
10000         * buffer.[Ch]: remove NO_COMPABILITY stuff
10001
10002 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10003
10004         * boost.C (throw_exception): new file, with helper function for
10005         boost compiled without exceptions.
10006
10007         * paragraph.h:
10008         * lyxlength.C:
10009         * buffer.C:
10010         * ParameterStruct.h:
10011         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10012
10013         * bufferlist.C (emergencyWriteAll): use boost bind
10014
10015         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10016
10017         * text.C: include paragraph_funcs.h
10018         (breakParagraph): breakParagraph is now in global scope
10019
10020         * paragraph_funcs.[Ch]: new files
10021
10022         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10023         global scope
10024
10025         * buffer.C: include paragraph_funcs.h
10026         (insertStringAsLines): breakParagraph is now in global scope
10027
10028         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10029         paragraph_funcs.C
10030
10031         * CutAndPaste.C: include paragraph_funcs.h
10032         (cutSelection): breakParagraphConservative is now in global scope
10033         (pasteSelection): ditto
10034
10035         * buffer.h: declare oprator== and operator!= for
10036         Buffer::inset_iterator
10037
10038         * bufferlist.C (emergencyWrite): don't use fmt(...)
10039
10040         * text3.C: add using std::endl
10041
10042         * BufferView.C (moveCursorUpdate): remove default arg
10043
10044 2002-08-20  André Pönitz <poenitz@gmx.net>
10045
10046         * buffer.[Ch]: move inline functions to .C
10047
10048         * BufferView2.C:
10049         * BufferView_pimpl.C:
10050         * text.C:
10051         * buffer.[Ch]: use improved inset_iterator
10052
10053         * buffer.C:
10054         * paragraph.[Ch]: write one paragraph at a time
10055
10056 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10057
10058         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10059         style if style is not specified.
10060
10061 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * text2.C (setCounter): when searching for right label for a
10064         caption, make sure to recurse to parent insets (so that a caption
10065         in a minipage in a figure float works) (bug #568)
10066
10067 2002-08-20  André Pönitz <poenitz@gmx.net>
10068
10069         * text3.C: new file for LyXText::dispatch() and helpers
10070
10071         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10072
10073         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10074
10075 2002-08-19  André Pönitz <poenitz@gmx.net>
10076
10077         * lyxtext.h:
10078         * text.C: new LyXText::dispatch()
10079
10080         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10081
10082 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10083
10084         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10085
10086         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10087         Hebrew text.
10088
10089 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * Makefile.am: use $(variables) instead of @substitutions@
10092
10093 2002-08-15  André Pönitz <poenitz@gmx.net>
10094
10095         * lyxfunc.C:
10096         * BufferView_pimpl.C: streamlining mathed <-> outer world
10097         interaction
10098
10099         * commandtags.h:
10100         * LyXAction.C: remove unused LFUN_MATH
10101
10102 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10103
10104         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10105
10106 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10107
10108         * paragraph.C (Paragraph): reformat a bit
10109         (cutIntoMinibuffer): use builtin InsetList function instad of
10110         doing it manually.
10111         (getInset): ditto
10112
10113         * buffer.C: include boost/bind.hpp, add using std::for_each
10114         (writeFileAscii): use ParagraphList iterators
10115         (validate): use for_each for validate traversal of paragraphs
10116         (getBibkeyList): use ParagraphList iterators
10117         (resizeInsets): use for_each to resizeInsetsLyXText for all
10118         paragraphs.
10119         (getParFromID): use ParagraphList iterators
10120
10121         * BufferView2.C (lockInset): use paragraph list and iterators
10122
10123 2002-08-14  John Levon  <levon@movementarian.org>
10124
10125         * lyxserver.C: remove spurious xforms include
10126
10127 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10128
10129         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10130
10131 2002-08-13  André Pönitz <poenitz@gmx.net>
10132
10133         * LyXAction.[Ch]:
10134         * lyxfunc.C: further cleaning
10135
10136 2002-08-13  André Pönitz <poenitz@gmx.net>
10137
10138         * funcrequest.h: new constructor
10139
10140         * funcrequest.C: move stuff here from .h
10141
10142         * Makefile.am:
10143         * BufferView_pimpl.C:
10144         * LyXAction.C:
10145         * toc.C:
10146         * lyxfunc.C: subsequent changes
10147
10148         * lyxfunc.h: new view() member function
10149
10150         * lyxfunc.C: subsequent changes
10151
10152 2002-08-13  Angus Leeming  <leeming@lyx.org>
10153
10154         * BufferView2.C:
10155         * BufferView_pimpl.C:
10156         * buffer.C:
10157         * converter.C:
10158         * importer.C:
10159         * lyxfunc.C:
10160         * lyxvc.C:
10161         * toc.C:
10162         * vc-backend.C:
10163         changes due to the changed LyXView interface that now returns references
10164         to member variables not pointers.
10165
10166 2002-08-13  Angus Leeming  <leeming@lyx.org>
10167
10168         * WordLangTuple (word, lang_code): return references to strings,
10169         not strings.
10170
10171         * BufferView.h:
10172         * SpellBase.h:
10173         * lyxtext.h: forward-declare WordLangTuple.
10174
10175         * BufferView2.C:
10176         * ispell.C:
10177         * pspell.C:
10178         * text.C: #include "WordLangTuple.h".
10179
10180         * lyxtext.h:
10181         * text.C: (selectNextWordToSpellcheck): constify return type.
10182
10183 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10184
10185         * buffer.C:
10186         * buffer.h:
10187         * lyxtext.h:
10188         * paragraph.C:
10189         * paragraph_pimpl.h:
10190         * text.C:
10191         * text2.C:
10192         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10193         suggested by Angus.
10194         Made updateCounter always count from start of buffer, and removed
10195         second argument (par).
10196         Reverted floats number display to '#'. Perhaps I'll try again when the
10197         code base is sanitized a bit.
10198
10199 2002-08-12  Angus Leeming  <leeming@lyx.org>
10200
10201         * buffer.[Ch] (getLabelList): constify.
10202
10203 2002-08-07  André Pönitz <poenitz@gmx.net>
10204
10205         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10206
10207         * funcrequest.h: extension to keep mouse (x,y) position
10208
10209 2002-08-12  Juergen Vigna  <jug@sad.it>
10210
10211         * BufferView2.C (insertErrors): forbid undo when inserting error
10212         insets.
10213
10214         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10215
10216 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10217
10218         * ParagraphList.[Ch]: new files
10219
10220         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10221
10222         * BufferView2.C (lockInset): ParagraphList changes
10223         * toc.C: ditto
10224         * text2.C: ditto
10225         * bufferlist.C: ditto
10226         * buffer.h: ditto
10227         * buffer.C: ditto
10228
10229 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10230
10231         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10232         unused class variable counter_,
10233
10234         * paragraph.[Ch] (getFirstCounter): delete unused function
10235
10236         * counters.C: include LAssert.h
10237         (reset): add a new function with no arg, change other version to
10238         not have def. arg and to not allow empty arg.
10239
10240         * text2.C (setCounter): remove empty arg from call to Counters::reset
10241
10242 2002-08-11  John Levon  <levon@movementarian.org>
10243
10244         * Makefile.am: add WordLangTuple.h
10245
10246 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10247
10248         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10249         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10250
10251         * insets/insettext.C: InsetList changes
10252
10253         * graphics/GraphicsSupport.C (operator()): InsetList changes
10254
10255         * toc.C (getTocList): InsetList changes
10256
10257         * paragraph_pimpl.[Ch]: InsetList changes
10258
10259         * paragraph.[Ch]: InsetList changes
10260
10261         * buffer.C (inset_iterator): InsetList changes
10262         (setParagraph): ditto
10263         * buffer.h (inset_iterator): ditto
10264         * iterators.C (operator++): ditto
10265         * iterators.h: ditto
10266
10267         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10268
10269         * InsetList.[Ch]: new files, most InsetList handling moved out of
10270         paragraph.C.
10271
10272         * BufferView2.C (removeAutoInsets): InsetList changes
10273         (lockInset): ditto
10274         (ChangeInsets): ditto
10275
10276 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10277
10278         * paragraph_pimpl.h (empty): new function
10279
10280         * paragraph.[Ch] (empty): new function
10281
10282         * other files: use the new Paragraph::empty function
10283
10284 2002-08-09  John Levon  <levon@movementarian.org>
10285
10286         * lyxtext.h: remove unused refresh_height
10287
10288 2002-08-09  John Levon  <levon@movementarian.org>
10289
10290         * Makefile.am:
10291         * sgml.h:
10292         * sgml.C:
10293         * buffer.C:
10294         * paragraph.h:
10295         * paragraph.C: move sgml char escaping out of paragraph
10296
10297         * paragraph.h:
10298         * paragraph.C: remove id setter
10299
10300         * buffer.C:
10301         * paragraph.C:
10302         * paragraph_pimpl.C: remove dead tex_code_break_column
10303
10304         * bufferview_funcs.C: small cleanup
10305
10306         * lyxfunc.C: remove dead proto
10307
10308         * lyxtext.h: make some stuff private. Remove some dead stuff.
10309
10310         * lyxgluelength.C: make as[LyX]String() readable
10311
10312 2002-08-08  John Levon  <levon@movementarian.org>
10313
10314         * LyXAction.h:
10315         * LyXAction.C:
10316         * MenuBackend.C:
10317         * ToolbarDefaults.C:
10318         * lyxfunc.C:
10319         * lyxrc.C:
10320         * toc.C: lyxaction cleanup
10321
10322 2002-08-08  John Levon  <levon@movementarian.org>
10323
10324         * BufferView2.C: small cleanup
10325
10326         * lyxfind.h:
10327         * lyxfind.C: move unnecessary header into the .C
10328
10329 2002-08-08  John Levon  <levon@movementarian.org>
10330
10331         * funcrequest.h: just tedious nonsense
10332
10333         * lyx_main.h:
10334         * lyx_main.C: cleanups
10335
10336         * buffer.C:
10337         * vspace.C: remove dead header lyx_main.h
10338
10339 2002-08-07  Angus Leeming  <leeming@lyx.org>
10340
10341         * Paragraph.[Ch]:
10342         * paragraph_pimpl.h:
10343         Forward declare class Counters in paragraph.h by moving the ctrs member
10344         variable into Paragraph::Pimpl.
10345         (counters): new method, returning a reference to pimpl_->ctrs.
10346
10347         * text2.C: ensuing changes.
10348
10349 2002-08-07  John Levon  <levon@movementarian.org>
10350
10351         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10352
10353         * BufferView_pimpl.C: announce X selection on double/triple
10354           click
10355
10356         * lyx_main.C: use correct bool in batch dispatch
10357
10358         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10359
10360 2002-08-07  André Pönitz <poenitz@gmx.net>
10361
10362         * funcrequest.h: new class to wrap a kb_action and its argument
10363
10364         * BufferView.[Ch]:
10365         * BufferView_pimpl[Ch]:
10366         * LaTeX.C:
10367         * LyXAction.[Ch]:
10368         * lyxfunc.[Ch]:
10369         * lyxrc.C: subsequent changes
10370
10371
10372 2002-08-07  John Levon  <levon@movementarian.org>
10373
10374         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10375           document options change.
10376
10377 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10378
10379         * counters.[Ch]
10380         * text2.C
10381         * paragraph.[Ch]
10382         * makefile.am: move counters functionality over from
10383         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10384
10385 2002-08-06  John Levon  <levon@movementarian.org>
10386
10387         * WordLangTuple.h: new file for word + language code tuple
10388
10389         * SpellBase.h:
10390         * pspell.h:
10391         * pspell.C:
10392         * ispell.h:
10393         * ispell.C:
10394         * lyxtext.h:
10395         * text.C:
10396         * text2.C:
10397         * BufferView.h:
10398         * BufferView2.C: use WordLangTuple
10399
10400         * layout.h:
10401         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10402
10403 2002-08-06  John Levon  <levon@movementarian.org>
10404
10405         * lyx_main.C: fix cmdline batch handling
10406
10407 2002-08-06  André Pönitz <poenitz@gmx.net>
10408
10409         * lyxrc.C: set default for show_banner to true
10410
10411 2002-08-06  John Levon  <levon@movementarian.org>
10412
10413         * pspell.C: fix a crash, and allow new aspell to work
10414
10415 2002-08-06  John Levon  <levon@movementarian.org>
10416
10417         * lyxfunc.C:
10418         * kbmap.C: small cleanup
10419
10420         * vspace.h:
10421         * vspace.C: add const
10422
10423 2002-08-05  John Levon  <levon@movementarian.org>
10424
10425         * LyXAction.C: back to tabular-insert
10426
10427 2002-08-04  John Levon  <levon@movementarian.org>
10428
10429         * BufferView.h:
10430         * BufferView.C: cosmetic change
10431
10432         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10433
10434         * bufferlist.C:
10435         * buffer.h:
10436         * buffer.C:
10437         * lyxcb.h:
10438         * lyxcb.C:
10439         * lyxserver.C:
10440         * lyxvc.C:
10441         * vc-backend.C:
10442         * BufferView2.C: purge all "Lyx" not "LyX" strings
10443
10444         * lyxcursor.h:
10445         * lyxcursor.C: attempt to add some documentation
10446
10447         * lyxfunc.C:
10448         * commandtags.h:
10449         * LyXAction.C:
10450         * ToolbarDefaults.C:
10451         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10452           merge with LFUN_TABULAR_INSERT
10453
10454         * Makefile.am:
10455         * SpellBase.h:
10456         * ispell.h:
10457         * ispell.C:
10458         * pspell.h:
10459         * pspell.C: split up i/pspell implementations into separate
10460           files, many cleanups
10461
10462         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10463
10464         * text2.C: some cleanup
10465
10466         * lyxfunc.C: don't check for isp_command == "none" any more, it
10467           didn't make any sense
10468
10469 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10470
10471         * counters.[Ch]
10472         * text2.C
10473         * paragraph.[Ch]
10474         * makefile.am: move counters functionality over
10475         from text2.C/paragraph.[Ch] to counters.[Ch], and
10476         make proper C++.
10477 2002-08-02  John Levon  <levon@movementarian.org>
10478
10479         * buffer.C: s/lyxconvert/lyx2lyx/
10480
10481 2002-08-02  Angus Leeming  <leeming@lyx.org>
10482
10483         * lyxlex.C: revert John's change as it breaks reading of the user
10484         preamble.
10485
10486 2002-08-02  Angus Leeming  <leeming@lyx.org>
10487
10488         * importer.C (Import):
10489         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10490         changes due to LyXView::view() now returning a boost::shared_ptr.
10491
10492 2002-08-02  John Levon  <levon@movementarian.org>
10493
10494         * lyxlex.C: small cleanup
10495
10496 2002-08-02  John Levon  <levon@movementarian.org>
10497
10498         * text2.C (status): small cleanup, no logic change
10499
10500 2002-08-01  John Levon  <levon@movementarian.org>
10501
10502         * buffer.h:
10503         * buffer.C (writeFile): don't output alerts, caller
10504           handles this
10505
10506         * bufferlist.C:
10507         * lyx_cb.C: from above
10508
10509         * lyxfunc.C: allow to open non-existent files
10510
10511 2002-07-31  John Levon  <levon@movementarian.org>
10512
10513         * lyxserver.C: don't let incidental errors get
10514           in the way (errno)
10515
10516 2002-07-30  John Levon  <levon@movementarian.org>
10517
10518         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10519
10520 2002-07-30  John Levon  <levon@movementarian.org>
10521
10522         * lyxserver.h:
10523         * lyxserver.C: remove I/O callback too
10524
10525 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10528         log.
10529
10530 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10531
10532         * many files: strip,frontStrip -> trim,ltrim,rtrim
10533
10534 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10535
10536         * PrinterParams.h: remove extern containsOnly, and include
10537         support/lstrings.h instead.
10538
10539         * LaTeX.C (scanAuxFile): modify because of strip changes
10540         (deplog): ditto
10541         * buffer.C (makeLaTeXFile): ditto
10542         * bufferparams.C (writeFile): ditt
10543         * lyxfont.C (stateText): ditto
10544         * lyxserver.C (read_ready): ditto
10545         * vc-backend.C (scanMaster): ditto
10546
10547         * BufferView_pimpl.h: ws changes
10548
10549         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10550
10551 2002-07-26  André Pönitz <poenitz@gmx.net>
10552
10553         * kb_sequence.C: remove unnedred usings
10554
10555 2002-07-26  Juergen Vigna  <jug@sad.it>
10556
10557         * lyxfind.C (LyXReplace): we have to check better if the returned
10558         text is not of theLockingInset()->getLockingInset().
10559
10560 2002-07-25  Juergen Vigna  <jug@sad.it>
10561
10562         * lyxfind.C (LyXReplace): don't replace if we don't get the
10563         right LyXText.
10564
10565         * undo_funcs.C (createUndo): remove debugging code.
10566
10567 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10568
10569         * buffer.C (parseSingleLyXformat2Token): Use default placement
10570         when reading old floats.
10571
10572         * FloatList.C (FloatList): Change the default placement of figure
10573         and tables to "tbp".
10574
10575 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * MenuBackend.C: using std::max
10578
10579 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10580
10581         * MenuBackend.C (expandToc):
10582         (expandToc2): code moved from xforms menu frontend. It is now
10583         generic and TOCs are transparent to menu frontends.
10584
10585 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * toc.C (getTocList): protect against buf=0
10588
10589         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10590         Menu as first parameter. Now, this calls itself recursively to
10591         expand a whole tree (this will be useful for TOC handling)
10592         (expandFloatInsert): remove 'wide' version of floats
10593
10594         * MenuBackend.h (submenuname): returns the name of the submenu.
10595         (submenu): returns the submenu itself, provided it has been
10596         created by MenuBackend::expand
10597
10598 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10599
10600         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10601         insets which have noFontChange == true. (bug #172)
10602
10603 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10604
10605         * BufferView_pimpl.C: add connection objects and use them...
10606         (Pimpl): here.
10607
10608 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10609
10610         * MenuBackend.C (expandLastfiles):
10611         (expandDocuments):
10612         (expandFormats):
10613         (expandFloatListInsert):
10614         (expandFloatInsert):
10615         (expand): split expand in parts
10616
10617 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * lyx_gui.C: use lyx_gui::exit()
10620
10621 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * LyXAction.C: show the failing pseudo action
10624
10625 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * buffer.C (readFile): Run the lyxconvert script in order to read
10628         old files.
10629
10630 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * LyXAction.C:
10633         * commandtags.h:
10634         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10635
10636 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * LyXAction.C:
10639         * commandtags.h:
10640         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10641
10642 2002-07-22  Herbert Voss  <voss@lyx.org>
10643
10644         * lengthcommon.C:
10645         * lyxlength.[Ch]: add support for the vertical lengths
10646
10647 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * toc.[Ch]: std:: fixes
10650
10651 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * lyxrc.C: do not include lyx_main.h
10654
10655         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10656         for layouts
10657
10658         * lyxrc.C:
10659         * encoding.C:
10660         * bufferlist.C:
10661         * BufferView2.C: include "lyxlex.h"
10662
10663         * tabular.h:
10664         * bufferparams.h: do not #include "lyxlex.h"
10665
10666         * lyxtextclasslist.C (Add): remove method
10667         (classlist): renamed to classlist_
10668
10669         * paragraph_pimpl.C:
10670         * paragraph.C:
10671         * text2.C:
10672         * CutAndPaste.C:
10673         * bufferview_funcs.C:
10674         * bufferlist.C:
10675         * text.C:
10676         * LaTeXFeatures.C:
10677         * buffer.C:
10678         * toc.C (getTocList): use BufferParams::getLyXTextClass
10679
10680         * toc.C (getTocList): use InsetFloat::addToToc
10681
10682         * toc.[Ch]: new files, containing helper functions to handle table
10683         of contents
10684
10685         * lyxfunc.C (dispatch): no need to remove spaces around command
10686         given as a string
10687         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10688         first command of the sequence; it is not very clever, but I do not
10689         have a better idea, actually
10690
10691         * LyXAction.C (LookupFunc): make sure to remove space at the
10692         beginning and end of the command
10693
10694 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * MenuBackend.C (getMenubar): new method: return the menubar of
10697         this menu set
10698         (read): treat differently reading of menu and menubar (in
10699         particular, the menubar has no name now)
10700         (Menu::menubar): remove
10701
10702         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10703         saving is finished
10704
10705 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10706
10707         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10708         a bibitem inset in a RTL paragraph.
10709
10710 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * paragraph_pimpl.C: constify
10713
10714         * BufferView_pimpl.C:
10715         * LaTeX.C:
10716         * lyxfunc.C: fix dispatch in a nicer way
10717
10718 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * lyxfunc.C (dispatch):
10721         * BufferView_pimpl.C:
10722         * BufferView_pimpl.h:
10723         * BufferView.C:
10724         * BufferView.h: rename Dispatch() to dispatch()
10725
10726         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10727
10728         * lyxlayout.C (Read): honor DependsOn tag
10729
10730         * lyxlayout.[Ch] (depends_on): new method
10731
10732         * version.C.in: update lyx_docversion
10733
10734         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10735
10736         * paragraph.C (validate): remove from here...
10737         * paragraph_pimpl.C (validate): ... and move here
10738         (isTextAt): make it const
10739
10740         * buffer.C (getLists): ws cleanup
10741
10742 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10743
10744         * language.C (read): Use iso8859-1 encoding in latex_lang
10745         (this prevents LyX from crashing when using iso10646-1 encoding).
10746
10747 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10748
10749         * text2.C (toggleInset): if cursor is inside an inset, close the
10750         inset and leave cursor _after_ it
10751
10752 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * lyxfunc.C: move minibuffer completion handling out of here
10755
10756 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * BufferView_pimpl.C:
10759         * LaTeX.C: fix dispatch calls
10760
10761 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10762
10763         * text.C (drawChars): Fix Arabic text rendering.
10764
10765 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * LyXAction.C:
10768         * commandtags.h:
10769         * lyxfunc.C: remove message-push/pop
10770
10771         * lyxserver.C:
10772         * lyxfunc.h:
10773         * lyxfunc.C: rationalise some code by removing verboseDispatch
10774           in favour of a bool argument to dispatch()
10775
10776 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10777
10778         * lyx_main.C (init): make sure to read symlinks as absolute paths
10779
10780 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * lyxfunc.h:
10783         * lyxfunc.C: no need for commandshortcut to be a member
10784
10785 2002-07-15  André Pönitz <poenitz@gmx.net>
10786
10787         * converter.C: add support for $$s (scripts from lib/scripts dir)
10788         * lyx_main.C: white space
10789
10790 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * bufferlist.C:
10793         * lyxrc.h:
10794         * lyxrc.C: remove second exit confirmation
10795
10796 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10797
10798         * BufferView.h:
10799         * BufferView.C:
10800         * BufferView2.C:
10801         * BufferView_pimpl.h:
10802         * BufferView_pimpl.C:
10803         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10804
10805 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10806
10807         * MenuBackend.C (expand): add numeric shortcuts to document menu
10808
10809         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10810
10811 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10812
10813         * lyxfont.C (setLyXFamily):
10814         (setLyXSeries):
10815         (setLyXShape):
10816         (setLyXSize):
10817         (setLyXMisc):
10818         (lyxRead):
10819         * debug.C (value):
10820         * buffer.C (asciiParagraph): use ascii_lowercase
10821
10822 2002-07-15  Mike Fabian  <mfabian@suse.de>
10823
10824         * lyxlex_pimpl.C (search_kw):
10825         * lyxlex.C (getLongString):
10826         * converter.h (operator<):
10827         * converter.C (operator<):
10828         * buffer.C (parseSingleLyXformat2Token):
10829         (asciiParagraph):
10830         * ToolbarDefaults.C (read):
10831         * MenuBackend.C (checkShortcuts):
10832         (read):
10833         * LColor.C (getFromGUIName):
10834         (getFromLyXName): use the compare_ascii_no_case instead of
10835         compare_no_case, because in turkish, 'i' is not the lowercase
10836         version of 'I', and thus turkish locale breaks parsing of tags.
10837
10838 2002-07-16  Angus Leeming  <leeming@lyx.org>
10839
10840         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10841         now takes a Buffer const & argument.
10842
10843 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10844
10845         * BufferView.C (resize): check there's a buffer to resize
10846
10847 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10848
10849         * lyxfunc.C: remove dead code
10850
10851         * lyxserver.h:
10852         * lyxserver.C: use lyx_guii::set_read_callback
10853
10854 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10857         an inset in a RTL paragraph.
10858
10859 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * lyxfunc.C: repaint after a font size update
10862
10863 2002-07-15  André Pönitz <poenitz@gmx.net>
10864
10865         * lyxlength.C: inBP should be able to return negative values
10866
10867 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * lyxfunc.C: use lyx_gui::update_fonts()
10870
10871 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10872
10873         * lyxfunc.C: use lyx_gui::update_color()
10874
10875 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * bufferlist.C:
10878         * lyxfunc.h:
10879         * lyxfunc.C:
10880         * lyxrc.h:
10881         * lyxrc.C: remove file->new asks for name option, and let
10882           buffer-new take an argument
10883
10884 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10885
10886         * BufferView_pimpl.C: remove unneeded extra repaint()
10887
10888 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10889
10890         * LyXAction.C: allow command-sequence with NoBuffer
10891
10892         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10893
10894 2002-07-10  Angus Leeming  <leeming@lyx.org>
10895
10896         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10897
10898 2002-07-09  Angus Leeming  <leeming@lyx.org>
10899
10900         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10901
10902 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10903
10904         * lengthcommon.h: whitespace
10905
10906         * lyxfunc.C: update scrollbar after goto paragraph
10907
10908         * lyxtext.h: factor out page break drawing, and fix it so
10909           page break/added space paints as selected nicely
10910
10911 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * BufferView_pimpl.C: add FIXMEs, clean up a little
10914
10915 2002-07-09  André Pönitz <poenitz@gmx.net>
10916
10917         * lyxfont.[Ch]: support for wasy symbols
10918
10919 2002-07-08  André Pönitz <poenitz@gmx.net>
10920
10921         * BufferView_pimpl.C: apply John's patch for #93.
10922
10923 2002-07-05  Angus Leeming  <leeming@lyx.org>
10924
10925         * BufferView_pimpl.C (buffer): generate previews if desired.
10926
10927         * LColor.h: add "preview" to the color enum.
10928
10929         * LColor.C (LColor): add a corresponding entry to the items array.
10930
10931         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10932         with this buffer.
10933
10934 2002-07-05  Angus Leeming  <leeming@lyx.org>
10935
10936         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10937         The body of the code is now in the method that is passed an ostream &
10938         rather than a file name.
10939         Pass an additional only_preamble parameter, useful for the forthcoming
10940         preview stuff.
10941
10942 2002-07-03  André Pönitz <poenitz@gmx.net>
10943
10944         * lyxfunc.C: simplify getStatus() a bit for math stuff
10945
10946 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10947
10948         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10949
10950 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10951
10952         * text.C (changeRegionCase): do not change case of all the
10953         document when region ends at paragraph end (bug #461)
10954
10955 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10956
10957         * paragraph.C (startTeXParParams):
10958         (endTeXParParams): add \protect when necessary
10959
10960 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * BufferView_pimpl.C (workAreaExpose): remove warning
10963
10964 2002-06-27  Angus Leeming  <leeming@lyx.org>
10965
10966         * Makefile.am: add lyxlayout_ptr_fwd.h.
10967
10968 2002-06-26  André Pönitz <poenitz@gmx.net>
10969
10970         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10971
10972 2002-06-25  Angus Leeming  <leeming@lyx.org>
10973
10974         * lyxfunc.C (dispatch): Comment out the call to
10975         grfx::GCache::changeDisplay. The method no longer exists now that the
10976         pixmap generation part of the graphics loader has been moved into
10977         InsetGraphics.
10978
10979 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * text2.C: layout as layout
10982
10983         * text.C: layout as layout
10984
10985         * tabular.C (OldFormatRead): layout as layout
10986
10987         * paragraph_pimpl.C (TeXDeeper): layout as layout
10988         (realizeFont): layout as layout
10989
10990         * paragraph.C (writeFile): layout as layout
10991         (validate): layout as layout
10992         (getFont): layout as layout
10993         (getLabelFont): layout as layout
10994         (getLayoutFont): layout as layout
10995         (breakParagraph): layout as layout
10996         (stripLeadingSpaces): layout as layout
10997         (getEndLabel): layout as layout
10998         (getMaxDepthAfter): layout as layout
10999         (applyLayout): layout as layout
11000         (TeXOnePar): layout as layout
11001         (simpleTeXOnePar): layout as layout
11002         (TeXEnvironment): layout as layout
11003         (layout): layout as layout
11004         (layout): layout as layout
11005
11006         * lyxtextclass.C (compare_name): new functor to work with
11007         shared_ptr, layout as layout
11008         (Read): layout as layout
11009         (hasLayout): layout as layout
11010         (operator): layout as layout
11011         (delete_layout): layout as layout
11012         (defaultLayout): layout as layout
11013
11014         * lyxlayout_ptr_fwd.h: new file
11015
11016         * lyxlayout.C (Read): layout as layout
11017
11018         * lyx_cb.C (MenuInsertLabel): layout as layout
11019
11020         * bufferlist.C (newFile): layout as layout
11021
11022         * buffer.C (readLyXformat2): layout as layout
11023         (parseSingleLyXformat2Token): layout as layout
11024         (insertStringAsLines): layout as layout
11025         (asciiParagraph): layout as layout
11026         (latexParagraphs): layout as layout
11027         (makeLinuxDocFile): layout as layout
11028         (simpleLinuxDocOnePar): layout as layout
11029         (makeDocBookFile): layout as layout
11030         (simpleDocBookOnePar): layout as layout
11031         (getLists): layout as layout
11032
11033         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11034
11035         * CutAndPaste.C (cutSelection): layout as layout
11036         (pasteSelection): layout as layout
11037         (SwitchLayoutsBetweenClasses): layout as layout
11038
11039         * BufferView_pimpl.C (Dispatch): layout as layout
11040         (smartQuote): layout as layout
11041
11042         * BufferView2.C (unlockInset): layout as layout
11043
11044 2002-06-24  André Pönitz <poenitz@gmx.net>
11045
11046         * lyxfunc.C: fix #487
11047
11048 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * lyxrc.h:
11051         * lyxrc.C:
11052         * lyxfunc.C: remove display_shortcuts, show_banner
11053
11054 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11055
11056         * Buffer_pimpl.C: oops, update on resize
11057
11058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * buffer.C:
11061         * converter.C:
11062         * exporter.C:
11063         * lyxfunc.C:
11064         * BufferView.h:
11065         * BufferView.C: use repaint()
11066
11067         * BufferView_pimpl.h:
11068         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11069           as it's a clearer description. Remove superfluous
11070           redraws.
11071
11072 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * text.C: fix bug 488. Not ideal, but getting
11075           getWord() to work properly for the insets that
11076           matter is more difficult ...
11077
11078 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * BufferView_pimpl.C:
11081         * LyXAction.C:
11082         * commandtags.h:
11083         * lyxfunc.C: remove the six million index lyxfuncs to just
11084           one, and DTRT (bug 458)
11085
11086 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * BufferView.h:
11089         * BufferView.C:
11090         * BufferView_pimpl.h:
11091         * BufferView_pimpl.C: clean up resize() stuff,
11092           and unnecessary updateScreen()s
11093
11094 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11095
11096         * BufferView.h:
11097         * BufferView.C:
11098         * BufferView_pimpl.h:
11099         * BufferView_pimpl.C:
11100         * lyxfind.h:
11101         * lyxfind.C:
11102         * minibuffer.C: remove focus management of workarea,
11103           not needed. Use screen's greyOut()
11104
11105 2002-06-17  Herbert Voss  <voss@lyx.org>
11106
11107         * converter.C: (convert) do not post a message, when converting
11108         fails, let the calling function decide what to do in this case
11109
11110 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * lyxfunc.C: tidy up a little
11113
11114 2002-06-16    <alstrup@diku.dk>
11115
11116         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11117         Got rid of FORMS_H_LOCATION include. Now we are
11118         GUII.
11119
11120 2002-06-15  LyX Development team  <lyx@rilke>
11121
11122         * buffer.[Ch] (sgmlOpenTag):
11123         (sgmlCloseTag): Added support for avoiding pernicious mixed
11124         content. Return number of lines written.
11125
11126         (makeLinuxDocFile):
11127         (makeDocBookFile): Fixed calls to sgml*Tag.
11128         Simple white space clean.
11129
11130         (simpleDocBookOnePar): Simple white space clean.
11131
11132         * tabular.[Ch] (docBook): Renamed to docbook and got another
11133         argument to related with the pernicious mixed content.
11134
11135         (docbookRow): Fixed calls for docbook inset method.
11136
11137 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11138
11139         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11140         so it's X11 independent.
11141
11142         * kb*.[Ch]: ditto.
11143
11144         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11145
11146 2002-06-15  Lyx Development team  <lyx@electronia>
11147
11148         * intl.h: Renamed getTrans to getTransManager.
11149
11150 2002-06-14  Angus Leeming  <leeming@lyx.org>
11151
11152         * Makefile.am: nuke forgotten stl_string_fwd.h.
11153
11154 2002-06-12  Angus Leeming  <leeming@lyx.org>
11155
11156         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11157
11158 2002-06-13  Angus Leeming  <leeming@lyx.org>
11159
11160         * LaTeX.C:
11161         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11162
11163 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11164
11165         * kbmap.C (getiso): add support for cyrillic and greek
11166
11167 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11168
11169         * BufferView.h:
11170         * BufferView.C:
11171         * BufferView_pimpl.h:
11172         * BufferView_pimpl.C: move bogus scrolling logic
11173           to xforms
11174
11175 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * lyxfunc.C:
11178         * BufferView_pimpl.C: view->resize() change
11179
11180 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * BufferView_pimpl.C: topCursorVisible
11183           prototype change
11184
11185 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * Makefile.am:
11188         * lyx_gui.h:
11189         * lyx_gui.C: move to frontends/
11190
11191         * main.C:
11192         * lyx_main.h:
11193         * lyx_main.C: changes from above
11194
11195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11196
11197         * intl.C:
11198         * intl.h:
11199         * kbmap.C:
11200         * kbsequence.C:
11201         * lyx_cb.C:
11202         * lyx_main.C: minor tidy
11203
11204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * BufferView_pimpl.h:
11207         * BufferView_pimpl.C:
11208         * BufferView.h:
11209         * BufferView.C: make painter() const,
11210           remove dead code
11211
11212         * BufferView2.C: use screen() accessor
11213
11214         * lyx_main.h:
11215         * lyx_main.C: some minor cleanup
11216
11217 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * BufferView_pimpl.h:
11220         * BufferView_pimpl.C: remove enter/leaveView,
11221           use workHeight()
11222
11223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * BufferView.h:
11226         * BufferView.C:
11227         * BufferView2.C:
11228         * BufferView_pimpl.h:
11229         * BufferView_pimpl.C: only construct screen once,
11230           rename
11231
11232         * lyxrc.C: remove pointless comment
11233
11234 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * BufferView.h:
11237         * BufferView.C: remove active() and belowMouse()
11238
11239         * BufferView_pimpl.h:
11240         * BufferView_pimpl.C: use workarea() not workarea_,
11241           and make it use a scoped_ptr instead
11242
11243 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * lyx_gui.C: add debug message on BadWindow
11246
11247 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11248
11249         * sp_spell.C: fdopen is not part of the C++ standard.
11250
11251         * paragraph.C (InsetIterator): use >= instead of ==
11252
11253 2002-06-07  Angus Leeming  <leeming@lyx.org>
11254
11255         Fixes needed to compile with Compaq cxx 6.5.
11256         * BufferView_pimpl.C:
11257         * DepTable.C:
11258         * buffer.C:
11259         * converter.C:
11260         * encoding.C:
11261         * lyx_gui.C:
11262         * lyx_main.C:
11263         * lyxtextclasslist.C:
11264         * minibuffer.C:
11265         * sp_spell.C:
11266         * tabular_funcs.C:
11267         * vc-backend.C:
11268         all c-library variables have been moved into namespace std. Wrap
11269         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11270
11271         * lyxlength.C:
11272         * tabular-old.C:
11273         * tabular.C:
11274         Add a using std::abs declaration.
11275
11276         * kbmap.h (modifier_pair):
11277         * paragraph.h (InsetTable, InsetList):
11278         * lyxfont.h (FontBits):
11279         type definition made public.
11280
11281         * bufferlist.C (emergencyWriteAll): the compiler complains that
11282         there is more than one possible lyx::class_fun template to choose from.
11283         I re-named the void specialisation as lyx::void_class_fun.
11284
11285         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11286
11287         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11288         the compiler is is unable to find tostr in write_attribute.
11289
11290 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * buffer.C (sgmlError): hide #warning
11293
11294 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11295
11296         * xtl/*: get rid of xtl, which is not in use anyway
11297
11298         * LyXAction.C (init):
11299         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11300         were unimplemented xtl experimentation
11301
11302 2002-06-04  André Pönitz <poenitz@gmx.net>
11303
11304         * lyxfunc.C: disable array operation on simple formulae
11305
11306 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * converter.C: constify a bit
11309
11310 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * lyx_gui.C: check xforms version correctly
11313
11314 2002-04-30  Herbert Voss  <voss@lyx.org>
11315
11316         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11317         "keep" option
11318
11319 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11322           attempt to register it with a VCS)
11323
11324 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11325
11326         * lyx_main.C (init): honor variables LYX_DIR_13x and
11327         LYX_USERDIR_13x
11328
11329 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * buffer.h:
11332         * buffer.C:
11333         * lyx_main.C: fix a crash on bad command line,
11334           and give a useful exit status on error
11335
11336         * lyxfunc.C (doImport): allow -i lyx to work
11337
11338 2002-03-30  André Pönitz <poenitz@gmx.net>
11339
11340         * lyxfunc.C: mathed font changes
11341
11342 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * LaTeX.C:
11345         * importer.h:
11346         * importer.C:
11347         * lyx_sty.h:
11348         * lyx_sty.C:
11349         * lyxlex.C:
11350         * lyxrow.h:
11351         * lyxtext.h:
11352         * paragraph.h:
11353         * paragraph.C:
11354         * texrow.h:
11355         * texrow.C:
11356         * text.C:
11357         * trans_mgr.h: srcdocs, and some minor cleanups
11358
11359 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11362         call getFont all the time)
11363
11364 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * switch from SigC signals to boost::signals
11367
11368 2002-05-29  André Pönitz <poenitz@gmx.net>
11369
11370         * paragraph_pimpl.C (getChar): don't call size() too often...
11371
11372 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11373
11374         * paragraph_pimpl.C (insertChar): do not try to update tables when
11375         appending (pos == size())
11376
11377         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11378         in order to reduce drastically the number of comparisons needed to
11379         parse a large document
11380
11381 2002-05-29  André Pönitz <poenitz@gmx.net>
11382
11383         * text.C:
11384         * text2.C:
11385         * lyxtextclass.C:
11386         * sp_pspell.h:
11387         * textclasslist.[Ch]:
11388         * sp_ispell.h: whitespace change
11389
11390 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11391
11392         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11393         lyxaction directly now.
11394
11395 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * trans.C:
11398         * lyxfont.C:
11399         * lyxvc.C: remove unused headers
11400
11401 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * Makefile.am:
11404         * buffer.h:
11405         * undostack.h:
11406         * undostack.C:
11407         * undo_funcs.h:
11408         * undo_funcs.C: some cleanups. Use shared_ptr
11409           and a template for the undo stacks.
11410
11411 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * BufferView_pimpl.h:
11414         * BufferView_pimpl.C:
11415         * kbmap.h:
11416         * kbmap.C:
11417         * kbsequence.h:
11418         * kbsequence.C:
11419         * lyxfunc.h:
11420         * lyxfunc.C:
11421         * text2.C: use key_state/mouse_state
11422
11423 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11426         and LSubstring
11427
11428         * chset.C: change include order
11429         (loadFile): use boost regex and get rid of LRegex and LSubstring
11430
11431         * Makefile.am (BOOST_LIBS): new variable
11432         (lyx_LDADD): use it
11433
11434         * LaTeX.C: change include order.
11435         (scanAuxFile): use boost regex and get rid of LRegex and
11436         LSubstring
11437         (deplog): ditto
11438
11439 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11440
11441         * ColorHandler.h:
11442         * ColorHandler.C:
11443         * FontInfo.h:
11444         * FontInfo.C: moved to frontends/xforms/
11445
11446         * FontLoader.h:
11447         * FontLoader.C: moved into frontends for GUIIzation
11448
11449         * Makefile.am:
11450         * lyx_gui.C:
11451         * lyxfont.C:
11452         * lyxfunc.C: changes from above
11453
11454 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * LColor.C: remove spurious X include
11457
11458         * BufferView_pimpl.C:
11459         * Makefile.am:
11460         * font.h:
11461         * font.C:
11462         * text.C:
11463         * text2.C: move font metrics to frontends/
11464
11465 2002-05-24  Juergen Vigna  <jug@sad.it>
11466
11467         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11468         setting the undo_cursor.
11469
11470         * ParagraphParameters.h: include local includes first.
11471
11472 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView_pimpl.C:
11475         * BufferView_pimpl.h:
11476         * Makefile.am:
11477         * WorkArea.h:
11478         * WorkArea.C:
11479         * screen.C: move WorkArea into frontends/
11480
11481         * lyxscreen.h:
11482         * screen.C:
11483         * text.C:
11484         * BufferView.C:
11485         * BufferView2.C: move LyXScreen into frontends/
11486
11487         * lyxlookup.h:
11488         * lyxlookup.C:
11489         * lyx_gui.C: move lyxlookup into frontends/xforms/
11490
11491 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * BufferView2.C:
11494         * BufferView_pimpl.C:
11495         * FontLoader.C:
11496         * LyXView.h:
11497         * LyXView.C:
11498         * Makefile.am:
11499         * WorkArea.C:
11500         * XFormsView.h:
11501         * XFormsView.C:
11502         * buffer.C:
11503         * bufferlist.C:
11504         * bufferview_funcs.C:
11505         * converter.C:
11506         * importer.C:
11507         * lyx_cb.C:
11508         * lyx_gui.C:
11509         * lyx_main.C:
11510         * lyx_find.C:
11511         * lyxfunc.C:
11512         * lyxvc.C:
11513         * minibuffer.C:
11514         * text.C:
11515         * text2.C:
11516         * trans.C:
11517         * vc-backend.C: move LyX/XFormsView into frontends/
11518
11519 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * Makefile.am:
11522         * PainterBase.C:
11523         * PainterBase.h:
11524         * Painter.C:
11525         * Painter.h:
11526         * WorkArea.C:
11527         * WorkArea.h:
11528         * screen.C:
11529         * tabular.C:
11530         * text.C:
11531         * text2.C: move Painter to frontends/
11532
11533 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11534
11535         * buffer.C: comment out some some code that depend upon lyx_format
11536         < 220
11537
11538         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11539         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11540
11541         * buffer.h (NO_COMPABILITY): turn off compability
11542
11543         * ColorHandler.C: include scoped_array.hpp
11544
11545         * font.C: Use more specific smart_ptr header.
11546         * Painter.C: ditto
11547         * gettext.C: ditto
11548         * ShareContainer.h: ditto
11549         * lyx_main.h: ditto
11550         * kbmap.h: ditto
11551         * FontInfo.h: ditto
11552         * BufferView_pimpl.h: ditto
11553         * ColorHandler.h: ditto
11554
11555         * kbmap.C (defkey): change call to shared_ptr::reset
11556
11557 2002-05-21  Juergen Vigna  <jug@sad.it>
11558
11559         * buffer.C (insertErtContents): fix to insert ert asis if it is
11560         non empty. Skip it completely if it contains only whitespaces.
11561
11562 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * BufferView_pimpl.C:
11565         * BufferView2.C: clear selection on paste (bug 393)
11566
11567 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * DepTable.C: include ctime
11570
11571 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11572
11573         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11574
11575 2002-05-14  Juergen Vigna  <jug@sad.it>
11576
11577         * text.C (breakParagraph): fixed function to honor the keepempty
11578         layout in the right maner and also to permit the right breaking
11579         algorithm on empty or non empyt keepempty paragraphs.
11580
11581         * paragraph.C (breakParagraph): we have to check also if the par
11582         is really empty (!size()) for isempty otherwise we do the wrong
11583         paragraph break.
11584
11585 2002-05-10  Juergen Vigna  <jug@sad.it>
11586
11587         * buffer.[Ch] : The following are only changes to the ert
11588         compatibility read reading old LaTeX layout and font stuff and
11589         convert it to ERTInsets.
11590
11591         * buffer.h: added isErtInset().
11592
11593         * buffer.C (struct ErtComp): add a fromlayout bool to check
11594         if we're inside a LaTeX layout.
11595         (isErtInset): new helper function.
11596         (insertErtContents): look for other ert insets before this one
11597         and insert the contents there, so that we don't have subsequent
11598         ERT insets with nothing between them. This way we create only one
11599         inset with multiple paragraphs. Also check if we don't insert only
11600         spaces ' ' as they are ignored anyway afterwards in the .tex file
11601         so if we have only spaces we will ignore this latex part in the
11602         new file.
11603         (parseSingleLyXformat2Token \\layout): better compatibility when
11604         reading layout-latex stuff.
11605         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11606         language tag.
11607         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11608         stuff after reading the inset only get the information back from
11609         the stack.
11610
11611 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11612
11613         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11614
11615         * LaTeXFeatures.C (getBabelOptions): New method.
11616
11617 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11618
11619         * BufferView_pimpl.C (Dispatch): work around missing argument for
11620         'layout'
11621
11622 2002-05-08  Juergen Vigna  <jug@sad.it>
11623
11624         * text.C (leftMargin): handle paragraph leftindent.
11625
11626         * paragraph.C (writeFile): write the new \\leftindent tag.
11627         (validate): handle leftindent code.
11628         (TeXEnvironment): handle paragraphleftindent code again.
11629
11630         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11631
11632         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11633         for paragrap_extra indent code and new token \\leftindent.
11634         (latexParagraphs): handle the leftindent as environment.
11635
11636         * ParameterStruct.h: added leftindent support.
11637
11638         * ParagraphParameters.C (leftIndent): added support functions for
11639         the paragraph left indent.
11640
11641         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11642         more appropriate.
11643
11644 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11645
11646         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11647         inside insetERT.
11648
11649         * text.C (computeBidiTables): No bidi in insetERT.
11650
11651         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11652         in RTL documents.
11653
11654 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * version.C.in: pre 5
11657
11658 2002-05-02  José Matos  <jamatos@fep.up.pt>
11659         * buffer.C (makeDocBookFile): white space changes, add newline to
11660         command styles.
11661         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11662
11663         * tabular.C (docBook): fix typo.
11664
11665 2002-05-03  Juergen Vigna  <jug@sad.it>
11666
11667         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11668         change in LyXText as we can not be sure it was not freed.
11669         (drawOneRow): remove unused code.
11670
11671         * text.C (drawInset): redo the calculation of the need_break_row as
11672         it could have a row which was already freed.
11673         (draw): look at the return value of drawInset and return false if
11674         it also returned false.
11675         (paintRowText): look at the return value of draw and return false if
11676         it also returned false.
11677
11678         * lyxtext.h: added bool return type to drawInset() and draw() so that
11679         if we have a change in the row so that the rowbreak has to be redone
11680         we abort drawing as it will be called again.
11681
11682 2002-05-02  Juergen Vigna  <jug@sad.it>
11683
11684         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11685         a change in the maintext also if we're inside an inset.
11686         (Dispatch): set the cursor again after a break line and after the
11687         screen has been updated as it could be we're in a different row.
11688
11689         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11690         to set the cursor behind the pargraph with > size().
11691         (setCursor): check also for the same paragraph when checking where
11692         to put the cursor if we have a NFR inset.
11693
11694         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11695         parts of layout read further up as it still was in the wrong
11696         position.
11697
11698 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11699
11700         * screen.C (drawFromTo): change sine fullRebreak always return
11701         true.
11702
11703         * buffer.C (parseSingleLyXformat2Token): reindent some
11704
11705         * BufferView_pimpl.C (update): change since fullRebreak always
11706         return true.
11707         (Dispatch): git rid of the last hardcoded "Standard"s.
11708
11709 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * text2.[Ch] (fullRebreak): make it return void now that we always
11712         returned true.
11713
11714 2002-04-30  Juergen Vigna  <jug@sad.it>
11715
11716         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11717         ert compatibility check for "latex" layout.
11718
11719 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11720
11721         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11722         minipages: use col% instead of p%, and also use the current font.
11723         (makeLaTeXFile): Fix use babel condition.
11724         (parseSingleLyXformat2Token): Correct font when reading old floats.
11725
11726 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11727
11728         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11729         inserting list of floats.
11730
11731 2002-04-25  Herbert Voss  <voss@lyx.org>
11732
11733         * MenuBackend.C (expand): don't add the graphics extensions to the
11734         export menu
11735
11736 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11737
11738         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11739         non-existing layout, do not complain if it was the default layout
11740         of the original class (bug #342)
11741
11742 2002-04-24  Juergen Vigna  <jug@sad.it>
11743
11744         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11745         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11746
11747 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11748
11749         * buffer.C (getBibkeyList): If using \bibliography, return the
11750         option field with the reference itself. Enables us to provide natbib
11751         support when using \bibliography.
11752
11753 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11754
11755         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11756
11757         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11758         natbib is provided by the LaTeX class.
11759
11760 2002-04-23  Juergen Vigna  <jug@sad.it>
11761
11762         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11763         Wakeup functions.
11764
11765         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11766
11767 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11768
11769         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11770
11771         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11772         ensuremath around textordmasculine, textordfeminine and
11773         textdegree.
11774
11775 2002-04-19  Juergen Vigna  <jug@sad.it>
11776
11777         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11778         reinitializing the buffer otherwise row-dimensions may be wrong.
11779         (update): reset also the selection cursors if they do exits otherwise
11780         their x/y positions may be wrong.
11781
11782         * text2.C (cursorDown): don't enter the inset if we came from a row
11783         above and are one row over the inset.
11784
11785         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11786         really leaving an inset.
11787
11788 2002-04-18  Juergen Vigna  <jug@sad.it>
11789
11790         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11791         of the selected paragraph does not have the selected layout also if
11792         the last one had!
11793
11794         * text2.C (setLayout): fixed bug which did not change last selected
11795         paragraph.
11796
11797         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11798         changed the read and substituted \\end_float with \\end_inset!
11799
11800         * BufferView_pimpl.C (cursorPrevious):
11801         (cursorNext): fixed to make it work with rows heigher than the work
11802         area without moving the cursor only the draw of the row.
11803         (workAreaMotionNotify): fix jumping over high rows.
11804
11805 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11808         Ressler.
11809
11810 2002-04-16  Juergen Vigna  <jug@sad.it>
11811
11812         * text2.C (setCursor): set also the irow().
11813         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11814         (cursorUp):
11815         (cursorDown): support for locking an inset if the x_fix value goes
11816         inside it. That way I can transverse insets too with cursor up/down.
11817
11818         * lyxrow.h: added irow helper function same as other (i) functions.
11819
11820         * BufferView_pimpl.C (cursorPrevious):
11821         (cursorNext): fixed for insets!
11822
11823 2002-04-15  Juergen Vigna  <jug@sad.it>
11824
11825         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11826         position otherwise it is wrong in some cases.
11827
11828         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11829         inside the inset before the call.
11830
11831 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * buffer.[Ch] (getBibkeyList): make it const.
11834
11835 2002-04-12  Juergen Vigna  <jug@sad.it>
11836
11837         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11838
11839         * text2.C (getCursorX): new helper function
11840         (setCursor): compute also ix_
11841         (setCursorFromCoordinates): set also ix.
11842
11843         * lyxcursor.h: added ix_ and helper functions.
11844
11845         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11846
11847         * buffer.C (insertStringAsLines): dont break paragraph if the this
11848         paragraph is inside an inset which does not permit it!
11849
11850         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11851         also with no chars on this paragraph.
11852         (paintRowText): only paint stuff if it's inside the workarea!
11853
11854         * paragraph.C (breakParagraph): honor keepempty flag and break the
11855         paragraph always below not above.
11856
11857         * BufferView2.C (unlockInset): update the paragraph layout on inset
11858         unlock as we changed paragraph in such a case.
11859
11860         * lyxfind.C (LyXFind): clear the former selection if not found!
11861
11862         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11863         again called in insertChar().
11864
11865         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11866         an inset which uses the whole row!
11867         (rightMargin): ditto.
11868         (insertChar): force a rebreak if we inserted an inset!
11869
11870 2002-03-28  Herbert Voss  <voss@lyx.org>
11871
11872         * lyxlength.[Ch]: add inBP() to get the right PS-point
11873         units (BigPoint). With inPixels we have rounding errors
11874
11875 2002-04-11  Juergen Vigna  <jug@sad.it>
11876
11877         * text2.C (setCursorFromCoordinates): set iy to the right value.
11878         (setCursor): add check if row->previous exists!
11879
11880         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11881         an old float_type as this was the case in the old code!
11882
11883         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11884
11885         * BufferView2.C (showLockedInsetCursor): use iy
11886         (fitLockedInsetCursor): ditto
11887
11888         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11889         locked insets as there we have the right value now.
11890
11891         * lyxcursor.C: added iy_ variable and iy functions to set to the
11892         baseline of cursor-y of the locked inset.
11893
11894         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11895         (setCursor): fixed for insets which need a full row.
11896
11897         * text.C (rowLastPrintable): don't ignore the last space when before
11898         an inset which needs a full row.
11899         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11900         as last character of a row when before a inset which needs a full row.
11901
11902 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * version.C.in: update date
11905
11906         * text2.C (fullRebreak): try to always return true and see what
11907         happens...
11908
11909 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * MenuBackend.C (expand): use Floating::listName
11912
11913         * FloatList.C (FloatList): add listName argument to the built-in
11914         floats
11915
11916         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11917         text associated with the float.
11918
11919 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11920
11921         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11922
11923 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * ShareContainer.h: add a couple of missing typenames.
11926
11927 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * lyxrc.C (getDescription): use _() correctly rather than N_().
11930
11931 2002-03-28  Herbert Voss  <voss@lyx.org>
11932
11933         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11934         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11935
11936 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11937
11938         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11939         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11940
11941 2002-03-29  Juergen Vigna  <jug@sad.it>
11942
11943         * lyxfunc.C (dispatch): add a missing fitCursor call.
11944
11945         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11946         it was scrolled by a cursor move, so return the bool status.
11947
11948         * BufferView.C (fitCursor): return the bool flag also to the outside
11949         world as this is needed.
11950
11951         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11952
11953         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11954         call the edit() as it is not needed (and wrong) IMO.
11955         (workAreaButtonPress): set the screen_first variable before evt.
11956         unlock the inset as this may change screen_first and then we have
11957         a wrong y position for the click!
11958
11959 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * MenuBackend.C (expand): another translation that I missed
11962
11963 2002-03-28  Juergen Vigna  <jug@sad.it>
11964
11965         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11966
11967         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11968
11969 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11972
11973         * MenuBackend.C (expand): fix export/view/update when there is no
11974         document open.
11975
11976 2002-03-27  Herbert Voss  <voss@lyx.org>
11977
11978         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11979         and text%
11980
11981 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11982
11983         * bufferview_funcs.C (currentState): only show paragraph number
11984         for is DEVEL_VERSION is set.
11985
11986         * lyxfunc.C (dispatch): put warning in INFO channel
11987
11988         * MenuBackend.C (expand): translate the name of floats
11989
11990         * FloatList.C (FloatList): mark the float names for translation
11991
11992         * converter.C (convert): use LibScriptSearch
11993
11994 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11995
11996         * MenuBackend.C (defaults): fix default menu (we might as well get
11997         rid of it...)
11998
11999 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12002         directory.
12003
12004 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12005
12006         * lyxvc.C: reorder includes.
12007
12008 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12011           properly
12012
12013 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * CutAndPaste.C: change layouts earlier on paste
12016           to avoid crashing when calling getFont()
12017
12018 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12019
12020         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12021         irritating #error.
12022
12023 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * WorkArea.C: remove 'Pending' debug message.
12026
12027         * most files: ws cleanup
12028
12029         * buffer.[Ch]: ws changes
12030
12031         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12032
12033 2002-03-21  Juergen Vigna  <jug@sad.it>
12034
12035         * tabular.C (SetMultiColumn): collapse also the contents of the
12036         cells and set the last border right. Added a Buffer const * param.
12037
12038 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12039
12040         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12041         linking or not.
12042
12043 2002-03-19  Juergen Vigna  <jug@sad.it>
12044
12045         * text2.C (clearSelection): reset also xsel_cache.
12046
12047         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12048         where it needs to be called (John tells us to do so too :)
12049         (selectionLost): reset sel_cache.
12050
12051         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12052
12053 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12054
12055         * text2.C (setCursorIntern): put debuging code in INSETS channel
12056
12057 2002-03-19  André Pönitz <poenitz@gmx.net>
12058
12059         * lyxfunc.C: tiny whitespace change
12060
12061 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12062
12063         * ToolbarDefaults.C (init):
12064         * LyXAction.C (init):
12065         * commandtags.h:
12066         * BufferView_pimpl.C (Dispatch):
12067         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12068
12069 2002-03-19  Allan Rae  <rae@lyx.org>
12070
12071         * exporter.C (Export): removeAutoInsets before doing anything else.
12072         While I've just introduced a dependency on BufferView this really is
12073         the best place to clean the buffer otherwise you need to cleanup in
12074         a dozen places before calling export or cleanup in a dozen functions
12075         that export calls.
12076
12077         * converter.C (runLaTeX):
12078         (scanLog): Better handling of removeAutoInsets and screen updates.
12079
12080         * lyxfunc.C (dispatch): small whitespace changes
12081
12082 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * WorkArea.C (C_WorkAreaEvent): return a value.
12085         (event_cb): return 1 if we handled the event, 0 otherwise.
12086
12087         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12088
12089 2002-03-18  Juergen Vigna  <jug@sad.it>
12090
12091         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12092         (GetAdditionalWidth): ditto.
12093         (RightLine): ditto.
12094         (LeftLine): ditto.
12095
12096         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12097         inset if we're there actually (probably not used right now but this
12098         is the direction to go for unifying code).
12099         (paste): disable code to clear the selection.
12100
12101         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12102         inside an InsetText and move the check further up as it is in the
12103         wrong place.
12104
12105         * text2.C (pasteSelection): set a selection over the pasted text.
12106
12107 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12108
12109         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12110         and libgraphics to build on Cygwin.
12111
12112 2002-03-15  Juergen Vigna  <jug@sad.it>
12113
12114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12115         inserting an Inset into the paragraph. I know this is not the best
12116         fix but we already use current_view in CutAndPaste so we will remove
12117         all of it's using at the same time.
12118
12119         * buffer.C (sgmlError): deactivated function till it is rewritten in
12120         the right mode, now it can create problems.
12121
12122         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12123         before accessing it.
12124
12125 2002-03-14  Juergen Vigna  <jug@sad.it>
12126
12127         * undo_funcs.C (textHandleUndo): do the right thing when updating
12128         the inset after the undo/redo.
12129
12130         * text2.C (setCursor): just some testcode for #44 not ready yet.
12131
12132         * undo_funcs.C (textHandleUndo): set the next() and previous()
12133         pointers of the paragraph to 0 before deleting otherwise we have
12134         problems with the Paragraph::[destructor].
12135
12136         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12137         on a paragraph insertion.
12138
12139 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * buffer.C (asciiParagraph): use += operator for char append to
12142         string.
12143
12144         * paragraph.C (getFontSettings): compare >= not just >
12145         (highestFontInRange): ditto
12146         (setFont): ditto
12147
12148 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * paragraph.C: change several algorithm to be more appripriate for
12151         the problem domain. This is lookip in FontList and in the InsetList.
12152
12153 2002-03-13  André Pönitz <poenitz@gmx.net>
12154
12155         * commandtags.h:
12156         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12157
12158 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * commandtags.h:
12161         * LyXAction.C:
12162         * lyxfunc.C:
12163         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12164
12165 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * Painter.C (display): anon helper function, adjust code for this
12168         change.
12169         (pixmap): remove function.
12170
12171         * Painter.h: remove private display variable.
12172
12173         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12174
12175 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12176
12177         * WorkArea.[Ch]: remove figinset_canvas cruft.
12178
12179 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * lyxtextclass.C (operator): add one item cache optimization.
12182
12183         * bufferlist.h: doxy changes
12184
12185         * bufferlist.C: ws changes
12186
12187         * DepTable.[Ch] (ext_exist): place const in the right spot.
12188
12189         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12190         call resizeInsets.
12191         (workAreaExpose): call resizeInsets when the with BufferView changes.
12192         (Dispatch): adjust for protectedBlank removal
12193         (specialChar): call updateInset if the insert went ok.
12194
12195         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12196         specialChar instead.
12197
12198         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12199
12200         * BufferView.h: doxy change
12201
12202         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12203
12204         * lyxtextclass.C (operator[]): remove non-const version
12205         (defaultLayout): remove non-const version
12206
12207 2002-03-12  Juergen Vigna  <jug@sad.it>
12208
12209         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12210         did resize the LyXText too.
12211
12212         * buffer.C (readLyXformat2): set layout information on newly allocated
12213         paragraphs.
12214
12215         * tabular.C (OldFormatRead): set layout information on the paragraph.
12216
12217 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12218
12219         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12220
12221 2002-03-11  Juergen Vigna  <jug@sad.it>
12222
12223         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12224         plainly wrong.
12225         (resizeCurrentBuffer): force also the insets to resize themselfes.
12226         (moveCursorUpdate): fixed up for InsetText.
12227
12228 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12229
12230         * commandtags.h:
12231         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12232         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12233         value of Dialogs::tooltipsEnabled().
12234         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12235
12236 2002-03-08  Juergen Vigna  <jug@sad.it>
12237
12238         * BufferView_pimpl.C (updateInset): update inset inside inset also
12239         if it isn't inside theLockingInset().
12240
12241 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * buffer.C (asciiParagraph): redo some of the word and line length
12244         handling.
12245         (getLists): look for Caption instead of caption.
12246
12247 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12248
12249         * buffer.C (Buffer): initialize niceFile to true
12250         (makeLaTeXFile):
12251         (makeLinuxDocFile):
12252         (makeDocBookFile): make sure niceFile is true on exit
12253
12254 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12255
12256         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12257
12258 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12259
12260         * LyXSendto.C: remove.
12261         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12262         * lyx_gui.C: remove now-redundant comment.
12263         * ColorHandler.h: remove forward declaration of class WorkArea.
12264         * lyxfunc.C: remove #include "WorkArea.h".
12265
12266 2002-03-07  Juergen Vigna  <jug@sad.it>
12267
12268         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12269         got moved away with the DEPM and also set the inset_owner always
12270         right which before could have been omitted.
12271
12272 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12273
12274         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12275         wanted layout is not found.
12276
12277 2002-03-07  Juergen Vigna  <jug@sad.it>
12278
12279         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12280
12281 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * paragraph.C (breakParagraph): use default layout not layout of
12284         prev paragraph.
12285         (Paragraph): clear ParagraphParameters.
12286
12287 2002-03-06  Juergen Vigna  <jug@sad.it>
12288
12289         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12290         otherwise it would not be a valid lenght. Fixed a special case in
12291         the minipage compatibility read where we end the document with a
12292         minipage.
12293
12294         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12295         was set as it could be 0 for InsetTexts first entry.
12296
12297 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12298
12299         * paragraph.C (writeFile): if layout is empty write out
12300         defaultLayoutName().
12301
12302         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12303         file without named layout we set layout to defaultLayoutName().
12304
12305 2002-03-06  Juergen Vigna  <jug@sad.it>
12306
12307         * CutAndPaste.C (copySelection): set layout for new paragraph.
12308
12309         * text.C (prepareToPrint): leave ERT inset left aligned
12310         (leftMargin): don't indent paragraphs inside ERT insets
12311
12312 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12313
12314         * paragraph.C (breakParagraph): dont call clear do the work manually
12315
12316         * paragraph.[Ch] (clear): remove function
12317
12318 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * paragraph.C (Paragraph): dont call clear, the work has already
12321         been done.
12322
12323         * lyxtextclass.C (operator): assert if n is empty
12324
12325         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12326         work manually instead.
12327
12328 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * BufferView_pimpl.C: protect selectionLost against text == 0
12331
12332 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12333
12334         * text.C (breakParagraph): fix a setting layout to '0' problem.
12335
12336 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12337
12338         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12339         final location of file, for the included files, and graphics.
12340
12341 2002-03-05  Juergen Vigna  <jug@sad.it>
12342
12343         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12344
12345 2002-03-04  Juergen Vigna  <jug@sad.it>
12346
12347         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12348
12349         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12350         last column of multicolumn cells.
12351         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12352
12353 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12354
12355         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12356         file if it doesn't go to a temporary file.
12357
12358         * buffer.C (sgmlOpenTag):
12359         (sgmlCloseTag):  remove extra newline insertion.
12360
12361 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12362
12363         * text.C (getRowNearY): comment out debug msg
12364
12365 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12366
12367         * text2.C: first -> first_y
12368
12369         * text.C (getRowNearY): add some attemts at a possible
12370         optimization, not working.
12371
12372         * tabular.[Ch]: add BufferParams to several function so that newly
12373         created paragraph can be initialized to he default layotu for the
12374         buffers textclass.
12375
12376         * tabular-old.C (ReadOld): add buf->params to call of Init
12377
12378         * screen.C: rename text->first to text->first_y
12379
12380         * paragraph.C (breakParagraph): always set layout in the broken
12381         paragraph
12382
12383         * lyxtextclass.C (Read): remove lowercase
12384         (hasLayout): ditto
12385         (operator): ditto
12386         (delete_layout): ditto
12387
12388         * lyxtext.h: rename first -> first_y
12389
12390         * lyxlayout.C (Read): remove lowercase
12391         (name): ditto
12392         (setName): ditto
12393         (obsoleted_by): ditto
12394
12395         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12396
12397         * buffer.C (insertErtContents): add params are to InsetERT
12398         (parseSingleLyXformat2Token): add code to check if a paragraphs
12399         layout really exist.
12400         (parseSingleLyXformat2Token): add params to several inset
12401         constructors
12402         (asciiParagraph): remove lowercase, do the layout comparisons with
12403         no_case
12404
12405         * BufferView_pimpl.C (cursorNext): first -> first_y
12406         (resizeCurrentBuffer): first -> first_y
12407         (updateScrollbar): first -> first_y
12408         (scrollCB): first -> first_y
12409         (workAreaMotionNotify): first -> first_y
12410         (workAreaButtonPress): first -> first_y
12411         (checkInsetHit): first -> first_y
12412         (cursorPrevious): first -> first_y
12413         (cursorNext): first -> first_y
12414         (Dispatch): add buffer_->params to severl inset contructors
12415
12416 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * lyxlayout.C (Read): remove some debug info that I forgot.
12419
12420         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12421         clean up the code slightly.
12422         (makeLinuxDocFile): ditto
12423         (makeDocBookFile): ditto
12424
12425         * text2.C: layout as string
12426
12427         * text.C: layout as string
12428
12429         * paragraph_pimpl.C: layout as string
12430
12431         * paragraph.[Ch]: layout as string
12432
12433         * lyxtextclasslist.[Ch]: layout as string
12434
12435         * lyxtextclass.[Ch]: layout as string
12436
12437         * lyxtext.h: layout as string
12438
12439         * lyxlayout.[Ch]: layout as string
12440
12441         * lyx_cb.C: layout as string
12442
12443         * bufferview_funcs.C: layout as string
12444
12445         * bufferparams.C: layout as string
12446
12447         * buffer.C: layout as string
12448
12449         * LyXView.[Ch]: layout as string
12450
12451         * LaTeXFeatures.[Ch]: layout as string
12452
12453         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12454
12455         * BufferView_pimpl.C: change current_layout to string, remove
12456         lyx::layout_type.
12457         (Dispatch):
12458         (smartQuote):
12459         (insertInset):
12460         (workAreaButtonRelease): layout as string
12461
12462         * BufferView2.C (unlockInset): adjust
12463
12464         * vspace.C (asLatexCommand): use an explict temp variable.
12465
12466 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12467
12468         * Makefile.am: use FRONTEND_*
12469
12470 2002-03-01  Juergen Vigna  <jug@sad.it>
12471
12472         * tabular.C (SetWidthOfMulticolCell): changed to something better
12473         I hope but still work in progress.
12474         (recalculateMulticolumnsOfColumn): renamed function from
12475         recalculateMulticolCells as it is more appropriate now.
12476         (SetWidthOfCell): calculate multicols better.
12477
12478 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12481
12482         * lyxfunc.C (processKeySym): print sequence also if it is
12483         `deleted' (complete)
12484
12485         * kbsequence.C (print): print sequence even if it is deleted
12486         (complete would be a better word, actually).
12487
12488         * lyxfunc.C (dispatch): print complete options after a prefix key
12489
12490         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12491
12492 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12493
12494         * text2.C (setCharFont): eliminate setCharFont code duplication.
12495
12496 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12499         LFUN_TABULAR_FEATURE (bug #177)
12500
12501 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * Makefile.am: remove figure.h
12504
12505 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12506
12507         * Bufferview_pimpl.C:
12508         * CutAndPasteC:
12509         * LaTeX.C:
12510         * LyXSendto.C:
12511         * buffer.C:
12512         * bufferlist.C:
12513         * converter.C:
12514         * language.C:
12515         * lyxfunc.C:
12516         * lyxvc.C:
12517         * paragraph.C:
12518         * text.C:
12519         * text2.C: remove #include "lyx_gui_misc.h".
12520
12521         * LaTeX.C: added #include <cstdio>
12522
12523 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12526         that the paragraph following this one can have.
12527
12528         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12529
12530         * vspace.C (asLatexCommand): fix bogus gcc warning
12531
12532         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12533
12534 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12535
12536         * text2.C (setLayout): get rid of redundant code
12537
12538 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12539
12540         * text2.C (incDepth): make sure depth cannot be increased beyond
12541         reasonable values.
12542
12543 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12544
12545         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12546         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12547
12548         * PainterBase.h (image):
12549         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12550         a LyXImage const *.
12551
12552 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12553
12554         * BufferView.C:
12555         * BufferView.h:
12556         * BufferView_pimpl.C:
12557         * BufferView_pimpl.h:
12558         * LaTeXFeatures.C:
12559         * LyXAction.C:
12560         * LyXView.C:
12561         * Makefile.am:
12562         * UpdateList.h:
12563         * UpdateList.C:
12564         * buffer.C:
12565         * figure.h:
12566         * figureForm.C:
12567         * figureForm.h:
12568         * figure_form.C:
12569         * figure_form.h:
12570         * lyx_cb.C:
12571         * lyx_gui.C:
12572         * lyx_gui_misc.C:
12573         * lyxfunc.C:
12574         * sp_base.h:
12575         * sp_ispell.h:
12576         * sp_pspell.h:
12577         * sp_spell.C: remove fig inset, and the crap house of
12578           cards that follows it
12579
12580 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * Makefile.am:
12583         * lyxserver.C:
12584         * os2_defines.h:
12585         * os2_errortable.h:
12586         * nt_defines.h: move .h into support/
12587
12588         * vms_defines.h: remove
12589
12590         * WorkArea.C: add space in debug output
12591
12592         * text2.C:
12593         * paragraph.C:
12594         * buffer.C: add WITH_WARNINGS
12595
12596         * vc-backend.h:
12597         * vc-backend.C:
12598         * bufferlist.C: s/retrive/retrieve/, add docs
12599
12600         * vspace.h:
12601         * vspace.C:
12602         * kbmap.h:
12603         * lyxlength.h:
12604         * lyxgluelength.h:
12605         * length_common.h:
12606         * chset.h:
12607         * chset.C: add docs
12608
12609         * lyxgui.C: add ID to X error handler
12610
12611         * lyxtestclass.c: fix typo
12612
12613 2002-02-26  Juergen Vigna  <jug@sad.it>
12614
12615         * tabular_funcs.C (write_attribute): changed so that some default
12616         attributes are not written at all.
12617         (getTokenValue): set default values before trying to read the
12618         value so we have the return value always set as default if we don't
12619         find the token we search for.
12620
12621         * tabular.C (Write): write bools as bools not as strings!
12622
12623 2002-02-22  Juergen Vigna  <jug@sad.it>
12624
12625         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12626         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12627
12628         * text.C (leftMargin): don't add an indent for paragraphs inside
12629         tabular cells (fix #208).
12630
12631 2002-02-21  José Matos  <jamatos@fep.up.pt>
12632
12633         * tabular.C (docBook): fixed support for long tables.
12634
12635 2002-02-20  Juergen Vigna  <jug@sad.it>
12636
12637         * text2.C (getFont): get the drawing font of the Inset if this
12638         paragraph is inside an inset (only important for InsetERT for now).
12639
12640         * buffer.C (insertErtContents): use new lanugage params in ERT
12641         constructor.
12642
12643         * CutAndPaste.C: commenting out seemingly uneeded code.
12644
12645 2002-02-19  Allan Rae  <rae@lyx.org>
12646
12647         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12648         Iterators might be simple to use but they also get invalidated.
12649         (removeAutoInsets): renamed saved cursor tracking variables and added
12650         some comments to clarify what everything does.
12651
12652 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12653
12654         * Chktex.C:
12655         * LaTeX.C:
12656         * LyXSendto.C:
12657         * converter.C:
12658         * lyx_cb.C:
12659         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12660         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12661
12662         * lyxfunc.C:
12663         * vc-backend.h: remove #include "support/syscall.h"
12664
12665         * LaTeX.C:
12666         * LyXSendto.C:
12667         * converter.C: rearrange #includes in Lars' approved fashion.
12668
12669         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12670         forward declare class Timeout in the header file.
12671
12672         * XFormsView.C: changes due to the above.
12673
12674         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12675         similar to LyXView.
12676
12677         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12678         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12679
12680 2002-02-18  José Matos  <jamatos@fep.up.pt>
12681
12682         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12683         insets contents.
12684
12685 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12686
12687         * a lot of small ws changes
12688         * add a lot of using std::XXX
12689         * use std construcs some places where approp.
12690         * use some exisint stuff from lyxfunctional where approp.
12691         * Make file changes to use partial linking (lets test this now...)
12692
12693 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12694
12695         * Chktex.C:
12696         * buffer.C:
12697         remove #include "support/syscontr.h" as it's redundant. Always has been.
12698
12699         * Chktex.C:
12700         * LaTeX.C:
12701         * LyXSendto.C:
12702         * converter.C:
12703         * lyx_cb.C:
12704         * vc-backend.C:
12705         change Systemcalls::System to Systemcalls::Wait and
12706         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12707         No change of functionality, just reflects the stripped down Systemcalls
12708         class.
12709
12710 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12711
12712         * debug.[Ch]: add a GRAPHICS type to the enum.
12713
12714 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12715
12716         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12717
12718         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12719         there is an inset.
12720
12721 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12724         match the changes below.
12725
12726         * text2.C (toggleInset): if there is not editable inset at cursor
12727         position, try to see if cursor is _inside_ a collapsable inset
12728         and close it.
12729
12730 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12731
12732         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12733         document menu has a nice checkbox
12734
12735 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12736
12737         * lyxlength.C (asLatexString): change PW to output as percent of
12738         \textwidth.
12739
12740         * lengthcommon.C: change '%' to 't%'
12741
12742         * lyxfunc.C (dispatch): a few comments from Martin
12743
12744 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * WorkArea.h:
12747         * WorkArea.C:
12748         * BufferView_pimpl.h:
12749         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12750           the X selection.
12751
12752 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12753
12754         * vspace.C (inPixels): fix compiler warning
12755
12756 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12757
12758         * lyxfunc.C (getStatus): fix status message for disabled commands.
12759
12760 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * BufferView_pimpl.C: fix crash on close buffer
12763         during selection (#227)
12764
12765 2002-01-27  Herbert Voss  <voss@lyx.org>
12766
12767         * buffer.C: link old Figure to new graphic inset
12768
12769 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12770
12771         * FontLoader.C (getFontinfo): Change the latex font names in order
12772         to match the names of type1inst.
12773
12774 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12777
12778         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12779         (extchanged): ditto
12780         (ext_exist): ditto
12781         (remove_files_with_extension): ditto
12782         (remove_file): ditto
12783         (write): ditto
12784
12785         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12786         document is smaller than the work area height. Do not initialize
12787         static variables to 0.
12788
12789 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12790
12791         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12792
12793         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12794         LFUN_LAYOUT_PARAGRAPHS.
12795
12796         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12797         tabular. It is possible to provide a possible cell, which will
12798         typically be the actcell from the corresponding insettabular
12799
12800         * lyxfunc.C (getStatus): small cleanup; disable
12801         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12802         true
12803
12804 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12805
12806         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12807
12808         * paragraph.C (startTeXParParams):
12809         (endTeXParParams): new methods. The LaTeX code to
12810         start/end paragraph formatting
12811         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12812         empty (fixes bug #200)
12813
12814         * vspace.C (inPixels): adapt to the change below
12815         (inPixels): [later] more cleanups (remove unused variables)
12816
12817         * lyxlength.C (inPixels): change to use a width and a height as
12818         parameter.
12819
12820 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12821
12822         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12823         Replaced with \paperwidth
12824
12825         * DepTable.C (insert): add std:: qualifier
12826
12827 2002-01-18  Allan Rae  <rae@lyx.org>
12828
12829         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12830         updated also?
12831
12832         * text.C (drawInset): Turned out I didn't know enough about how
12833         rebreaking worked.  This fixes most of the redraw problems.  I see
12834         an occasional cursor trail when a line is broken now and the cursor
12835         placement can seem out by a few pixels also after a rebreak.
12836
12837 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * buffer.C (parseSingleLyXformat2Token): update because minipage
12840         width is now a LyXLength
12841
12842         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12843
12844         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12845         math insets
12846
12847 2002-01-17  Juergen Vigna  <jug@sad.it>
12848
12849         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12850
12851         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12852         is set correctly and the inset is updated correctly.
12853
12854 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12855
12856         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12857         the beginning of the loop.
12858
12859 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12860
12861         * lyxrc.C: improve help for use_scalable_fonts
12862
12863 2002-01-17  Allan Rae  <rae@lyx.org>
12864
12865         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12866
12867 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12868
12869         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12870         make sure to set their inset_owner to the right value (bug #171)
12871
12872 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12873
12874         * DepTable.h
12875         * DepTable.C: Implement mtime checking to reduce time spent doing
12876         CRCs.
12877
12878 2002-01-16  Juergen Vigna  <jug@sad.it>
12879
12880         * tabular.C (GetAdditionalHeight): one of error fixed.
12881
12882         * lyxrc.C (output): small fix in writing use_pspell.
12883
12884 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12885
12886         * sp_base.h: #include LString.h
12887
12888 2002-01-16  Allan Rae  <rae@lyx.org>
12889
12890         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12891         Can someone check this please?
12892
12893         * text.C (drawInset): It was possible that p.row would be removed by
12894         breakAgainOneRow upsetting a few other settings.  There may be another
12895         small tweak possible by setting need_break_row = 0 when p.row has been
12896         removed but I don't know enough about the logic here.
12897
12898 2002-01-15  Allan Rae  <rae@lyx.org>
12899
12900         * text.C (insertChar): removed conditional truism.
12901
12902         * BufferView2.C (removeAutoInsets): More tweaks.
12903         cur_par_prev could be a stray pointer.  Check for trailing empty line
12904         in case last line was cur_par and only had an error inset on it.
12905
12906 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12907
12908         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12909         absolute
12910
12911         * vc-backend.C (most methods):
12912         * exporter.C (Export):
12913         * converter.C (convert):
12914         (runLaTeX):
12915         * LyXSendto.C (SendtoApplyCB):
12916         * lyxfunc.C (dispatch):
12917         (menuNew):
12918         (open):
12919         (doImport):
12920         * lyx_cb.C (AutoSave):
12921         (InsertAsciiFile):
12922         * BufferView_pimpl.C (MenuInsertLyXFile):
12923         * buffer.C (runChktex): use Buffer::filePath().
12924
12925         * buffer.h: rename filename to filename_; rename filepath to
12926         filepath_ and make it private
12927         (filePath): new method
12928
12929         * buffer.C (writeFile): use fileName()
12930         (getLatexName):
12931
12932         * lyx_main.C (init): fix starting  of LyX when the binary is a
12933         link from so,ewhere else.
12934
12935         * minibuffer.C: include <cctype> for isprint
12936
12937 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12938
12939         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12940         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12941         name clash with InsetCollapsable's width function.
12942
12943 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12944
12945         * lastfiles.C: include <iterator>
12946
12947 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12948
12949         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12950         std::count.
12951
12952         * buffer.C (makeLaTeXFile): ditto.
12953         Also make loop operation more transparent.
12954
12955 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12956
12957         * ToolbarDefaults.C: remove trailing comma closing namespace.
12958
12959         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12960
12961         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12962         as in WorkArea.
12963
12964         * trans.C (Load): comment out unused variable, allowed.
12965
12966 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12967
12968         * minibuffer.[Ch] (append_char): new method to recieve input from the
12969         drop-down completion browser. If a key was pressed, then recieve this
12970         char and append it to the existing string.
12971         (peek_event): modify the positioning data passed to the completion
12972         browser so that it can be placed above the minibuffer rather than below.
12973 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * LyXAction.C (init): alloe error-next for readonly documents.
12976
12977         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12978         count.
12979
12980 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12981
12982         * bufferlist.C (readFile): create the buffer _after_ checking that
12983         the file exists.
12984
12985         * lyxfunc.C (verboseDispatch): fix handling of arguments
12986
12987         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12988
12989         * lyxrc.C: use string::erase() instead of initializing to "".
12990
12991
12992 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * BufferView_pimpl.h:
12995         * BufferView_pimpl.C:
12996         * WorkArea.h:
12997         * WorkArea.C:
12998         * text2.C: tell X when we have made a selection for copying
12999
13000 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13001
13002         * BufferView_pimpl.C (MenuInsertLyXFile):
13003         * lyxfunc.C (menuNew):
13004         (open):
13005         (doImport): add shortcuts to directory buttons
13006
13007         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13008         open a float)
13009
13010         * lyxfunc.C (setStatusMessage):
13011         (getStatusMessage): new methods
13012         (getStatus):use setStatusMessage instead of setErrorMessage
13013         (dispatch): when function is disabled, set error message here
13014         [instead of in getStatus previously]
13015
13016         * BufferView_pimpl.C (workAreaButtonRelease): update
13017         toolbar/menubar here too.
13018
13019 2002-01-13  Allan Rae  <rae@lyx.org>
13020
13021         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13022         Now seems indestructible.  Remaining task is to audit all other
13023         code affected by deleteEmptyParagraphMechanism.  One small quirk
13024         left is that an empty document with an error in the preamble can
13025         be made to report an error but no error box appears.  I don't know
13026         where it goes.
13027         (removeAutoInsets): Improved comments.
13028
13029 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * Thesaurus.h:
13032         * Thesaurus.C: update for Aiksaurus 0.14
13033
13034 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * text2.C (firstParagraph): removed member function, all uses
13037         replaces with ownerParagraph
13038         (redoParagraphs): here
13039         (updateInset): here
13040         (toggleAppendix): here
13041         * BufferView2.C (insertErrors): here
13042         (setCursorFromRow): here
13043
13044 2002-01-13  Allan Rae  <rae@lyx.org>
13045
13046         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13047         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13048         There is still a way to segfault this although you may have to do this
13049         multiple times: Have an InsetERT with an unknown command in it.
13050         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13051         <down-arrow>, <Enter> again, View->DVI, BANG!
13052
13053         * text2.C (setCursor):
13054         (deleteEmptyParagraphMechanism):
13055         * lyxtext.h (setCursor):
13056         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13057         Making use of the return value may help fix other bugs.
13058
13059 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13060
13061         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13062
13063         * LyXView.C (updateMenubar): call MenuBar::update here
13064         (updateToolbar): but not here
13065         (showState): do not update toolbar/menubar
13066
13067         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13068         should need to care about that.
13069
13070         * lyxfunc.C (verboseDispatch): simplify a bit
13071         (getStatus): have a version which takes a pseudoaction, and
13072         another which requires a (kb_action,string).
13073
13074         * LyXAction.C (retrieveActionArg): make it work also when action
13075         is not a pseudo-action.
13076         (getActionName): simplify a bit
13077         (helpText):
13078
13079 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13080
13081         * lyxfunc.C (verboseDispatch): new families of methods with
13082         several ways to specify a command and a bool to indicate whether
13083         the command name and shortcut should be displayed in minibuffer
13084         (eventually, we could extend that to a finer bitmask like
13085         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13086         (dispatch): the pristine dispatch command which just, well,
13087         dispatchs! Note it still sets its result to minibuffer; I'm not
13088         sure we want that.
13089
13090         * lyxfunc.h: remove setHintMessage
13091
13092         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13093
13094 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13095
13096         * BufferView_pimpl.C (specialChar): delete new inset if we have
13097         not been able to insert it.
13098
13099         * kbmap.C: revert to using int instead of kb_action, since all we
13100         are dealing with is pseudo-actions.
13101
13102         * LyXAction.C (searchActionArg): change to return int instead of
13103         kb_action, since the result is a pseudoaction.
13104
13105 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13106
13107         * buffer.C (insertErtContents): Fix (partially) the font bug.
13108
13109 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13112         as the other one is broken on my machine!
13113
13114 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13115
13116         * commandtags.h:
13117         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13118
13119 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13122         reflect their actual use. Provide compatibility code for older lyxrc
13123         files.
13124
13125         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13126         FL_NORMAL_STYLE.
13127         change names of popup font variables in line with the changes to lyxrc.C
13128
13129 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13130
13131         * buffer.C (asciiParagraph): avoid outputing a word twice after
13132         an inset.
13133
13134         * lyxrc.C (getDescription): document that document_path and
13135         template_path can be empty.
13136
13137 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13138
13139         * LaTeXFeatures.C (getMacros):
13140         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13141
13142         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13143
13144         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13145         getPackages.
13146         (getPackages): rename feature "floats" to "float". Use an array to
13147         iterate over 'simple' features (i.e. just a \usepackage). Add
13148         handling of "amsmath" (renamed from "amsstyle").
13149
13150 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13151
13152         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13153         features list.
13154
13155 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13156
13157         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13158         FuncStaus::FuncStatus & FuncStaus::some_method().
13159
13160 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13161
13162         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13163         of the func_satus stuff. Edited and massaged in various ways by
13164         JMarc.
13165
13166         * lyxfunc.C (getStatus): use FuncStatus
13167
13168 2002-01-08  Juergen Vigna  <jug@sad.it>
13169
13170         * text.C (nextBreakPoint): use function Inset::isChar().
13171
13172         * paragraph.C (TeXOnePar): use function
13173         Inset::forceDefaultParagraphs.
13174
13175         * buffer.C (latexParagraphs): use function
13176         Inset::forceDefaultParagraphs.
13177
13178 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13179
13180         * lyx_gui.C (init): set the style of the menu popups to
13181         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13182
13183 2002-01-07  Juergen Vigna  <jug@sad.it>
13184
13185         * text.C (setHeightOfRow): small fix
13186         (prepareToPrint): don't look at alignment if we don't have the place
13187         for doing it.
13188
13189 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13190
13191         * box.C: New file. Move the Box methods and functions out of box.h,
13192         following Lars' suggestion.
13193
13194 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13195
13196         * box.h: #include "support/LOstream.h", needed for inlined function.
13197
13198         * lyxtextclass.C:
13199         * lyxtextclasslist.C: added some using std declarations.
13200
13201 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * box.h: make signed dimensions to allow insets wider than
13204           the screen (bug #162)
13205
13206         * BufferView_pimpl.C: add some insetHit debug
13207
13208 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * vc-backend.C: add FIXME
13211
13212 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13213
13214         * lyxfunc.C (getStatus): enable code for showing math font status
13215         in toolbar/menu.
13216
13217 2002-01-07  Juergen Vigna  <jug@sad.it>
13218
13219         * text.C (nextBreakPoint): removed debug output not needed anymore.
13220
13221 2002-01-06  Juergen Vigna  <jug@sad.it>
13222
13223         * text.C (nextBreakPoint): fixed up this function we had this bug
13224         since ever but now hopefully we break row better.
13225         (insertChar): we have to check if an inset is the next char as it
13226         could now happen that a large inset is causing a break.
13227
13228 2002-01-05  Juergen Vigna  <jug@sad.it>
13229
13230         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13231         if it doesn't like to be drawed.
13232
13233 2002-01-04  Juergen Vigna  <jug@sad.it>
13234
13235         * BufferView2.C (lockInset): forgot to set a cursor.
13236
13237         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13238
13239 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13240
13241         * FormMathsPanel.C:
13242         * FormMathsPanel.h
13243         * MathsSymbols.C:
13244         * form_maths_panel.C:
13245         * form_maths_panel.h:
13246         * form_maths_panel.fd: implemented sub- and super- buttons in math
13247         panel.
13248
13249         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13250         (or ^ space) to be used as in TeX (req'd by André).
13251
13252         * lyxfunc.C: Allow ^ and _ again to be used both as
13253         super/subscript (mathed) and as themselves (in text).
13254
13255 2002-01-03  Allan Rae  <rae@lyx.org>
13256
13257         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13258         "LyX" or the filename of the current buffer if it has one.  This is a
13259         modified form of John Levon's patch.
13260
13261         * XFormsView.C (setWindowTitle): also set icon title.
13262
13263         * LyXView.h (setWindowTitle): signature changed.
13264         * XFormsView.h (setWindowTitle): ditto.
13265
13266 2002-01-02  Juergen Vigna  <jug@sad.it>
13267
13268         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13269
13270 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * screen.C (topCursorVisible): introduce a temp var for
13273         text->cursor.row(), handle the case where this row is null. (kindo
13274         hachish)
13275
13276         * text2.C (setCursor): add a couple of asserts.
13277
13278         * paragraph.h (inset_iterator): add -> operator
13279
13280         * paragraph.[Ch] (autoDeleteInsets): remove member function
13281
13282         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13283         cursor pos correctly and handle inset deletion by itself.
13284         (insertErrors): move iterator declaration out of for expression
13285
13286         * lyxtextclass.C: add <algorithm>
13287
13288         * Makefile.am: added the new files to sources, removed layout.C
13289
13290         * layout.C: removed file
13291
13292         * layout.h: remove LYX_DUMMY_LAYOUT
13293
13294         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13295         layout.
13296
13297         * lyxlayout.[Ch]:
13298         * lyxtextclass.[Ch]:
13299         * lyxtextclasslist.[Ch]: new files
13300
13301         * include order changes to a lot of files, also changes because of
13302         the six new files.
13303
13304 2001-12-27  Juergen Vigna  <jug@sad.it>
13305
13306         * buffer.C (asciiParagraph): more fixes.
13307
13308         * tabular.C (ascii): make ascii export support export of only the
13309         data separated by a column-delimiter.
13310         (ascii): better support for ascii export.
13311
13312         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13313
13314 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13315
13316         * tabular_funcs.C: use a "using std::getline" instead of the
13317         previous fix from Angus (necessary for cxx + lyxstring)
13318
13319 2001-12-24  Juergen Vigna  <jug@sad.it>
13320
13321         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13322
13323         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13324         problems. First check a minipage also if we have some ert-contents
13325         (not only on par->size(), second set the right depth of the paragraph
13326         on the relink to the root-paragraph-list!
13327
13328         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13329         which then did not anymore update the main paragraphs on undo/redo!
13330
13331 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13334         code. Support all font-changing funcs (even those which are not in
13335         menu currently). Support for reporting font settings in
13336         mathed (disabled until Andre provides a function on mathed's side).
13337
13338         * func_status.h (toggle): small helper function to set toggle
13339         state on a flag.
13340
13341 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13342
13343         * tabular_funcs.C: getline -> std::getline
13344
13345 2001-12-21  Juergen Vigna  <jug@sad.it>
13346
13347         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13348         accessed and could be 0 (I couldn't generate this but it seems
13349         Michael could!).
13350
13351 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13354         * tabular_funcs.h: here and include iosfwd
13355
13356 2001-12-20  Juergen Vigna  <jug@sad.it>
13357
13358         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13359         inside inset but undo_par was.
13360
13361 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13362
13363         * Thesaurus.C: always include <config.h> in sources.
13364
13365         * Painter.h:
13366         * lyxlookup.h:
13367         * box.h: do not include <config.h> in header files
13368
13369         * text.C (paintLastRow): remove unused variable
13370
13371         * text.C (transformChar):
13372         (insertChar):
13373         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13374
13375         * Painter.C (text):
13376         * font.C (width): rewrite to use uppercase() instead of
13377         islower/toupper.
13378
13379         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13380
13381 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13382
13383         * lyxfind.C: clean up of find failure position change
13384
13385 2001-12-20  Juergen Vigna  <jug@sad.it>
13386
13387         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13388
13389         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13390         (TeXRow): added to LaTeX a single tabular row.
13391         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13392         (Latex): simplified and finally good LT-h/f support.
13393         (various_functions): just small adaptions for LT-h/f support.
13394
13395         * tabular_funcs.[hC]: added and moved here all not classfunctions
13396         of LyXTabular.
13397
13398 2001-12-19  Juergen Vigna  <jug@sad.it>
13399
13400         * tabular.[Ch]: better support for longtabular options (not finished
13401         yet!)
13402
13403 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13404
13405         * text.C (paintLastRow): use the label font instead of the font of
13406         the last character to compute the size of *_BOX. This makes more
13407         sense and avoids a crash with empty paragraphs.
13408         Use Painter::rectangle to draw EMPTY_BOX.
13409
13410 2001-12-19  Juergen Vigna  <jug@sad.it>
13411
13412         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13413         the paragraphs if the replaced paragraph is not the first one!
13414         Tried to delete not used paragraphs but does not work yet so for
13415         now it's inside #ifdef's and by default off!
13416
13417 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13418
13419         * MenuBackend.C: include "lyx_main.h" instead of declaring
13420         lastfiles (actually was declared as LastFiles* instead of a
13421         scoped_ptr).
13422
13423 2001-12-17  Juergen Vigna  <jug@sad.it>
13424
13425         * tabular.C (AppendColumn): applied John's fix
13426
13427 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13428
13429         * BufferView.h:
13430         * BufferView.C:
13431         * BufferView_pimpl.h:
13432         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13433
13434         * Makefile.am:
13435         * box.h: new start of class for above
13436
13437         * lyxfunc.C: ignore space-only minibuffer dispatches.
13438           Show the command name when it doesn't exist
13439
13440         * minibuffer.C: don't add empty lines to the history
13441
13442         * minibuffer.C: add a space on dropdown completion
13443
13444 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13445
13446         * text.C: fix line above/below drawing in insets
13447
13448 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13449
13450         * lyxlength.C (LyXLength): Initialize private variables.
13451
13452 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13453
13454         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13455         when inserting error insets.
13456
13457 2001-12-13  Juergen Vigna  <jug@sad.it>
13458
13459         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13460         actually sometimes the before-paragraph.
13461         (setUndo): don't clear the redostack if we're not actually undoing!
13462
13463 2001-12-06  Juergen Vigna  <jug@sad.it>
13464
13465         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13466         and fixed redoing of main paragraph, so we can use it now ;)
13467
13468         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13469
13470 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13471
13472         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13473         Juergen's request
13474
13475 2001-12-13  André Pönitz <poenitz@gmx.net>
13476
13477         * undostack.[Ch]:
13478         * undo_func.C: minor cleanup
13479
13480 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13481
13482         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13483         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13484         font in urw-fonts package which is marked as -urw-fontspecific and
13485         does not work (incidentally, changing the encoding in the
13486         fonts.dir of this package to -adobe-fontspecific fixes the
13487         problem).
13488
13489         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13490         is a crash when undoing first paragraph (Juergen, please take a
13491         look). THis does not mean the undo fix is wrong, just that it
13492         uncovers problems.
13493
13494         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13495         the (Paragraph*) version when needed instead of duplicating the
13496         code.
13497
13498         * text.C (workWidth): use Inset::parOwner to find out where the
13499         inset has been inserted. This is a huge performance gain for large
13500         documents with lots of insets. If Inset::parOwner is not set, fall
13501         back on the brute force method
13502
13503         * paragraph_pimpl.C (insertInset):
13504         * paragraph.C (Paragraph):
13505         (cutIntoMinibuffer): set parOwner of insets when
13506         inserting/removing them
13507
13508         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13509
13510 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13511
13512         * commandtags.h:
13513         * LyXAction.C:
13514         * lyx_main.C:
13515         * lyxfunc.C:
13516         * mathed/formulabase.C:
13517         * mathed/math_cursor.[Ch]:
13518         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13519
13520
13521 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * lyxlength.[Ch] (operator!=): new function
13524
13525 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13526
13527         * text.C (workWidth): use Inset::parOwner to find out where the
13528         inset has been inserted. This is a huge performance gain for large
13529         documents with lots of insets. If Inset::parOwner is not set, fall
13530         back on the brute force method
13531
13532         * paragraph_pimpl.C (insertInset):
13533         * paragraph.C (Paragraph):
13534         (cutIntoMinibuffer): set parOwner of insets when
13535         inserting/removing them
13536
13537         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13538
13539 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13540
13541         * tabular-old.C (getTokenValue):
13542         * tabular.C (getTokenValue):
13543         (write_attribute): new versions for LyXLength
13544         (everywhere): adjust the use of widths
13545
13546         * tabular.h: change the type of widths from string to LyXLength
13547
13548 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13549
13550         * paragraph.C: fixed missing line number count when exporting
13551         Environments to LaTeX file
13552
13553         * buffer.C: added informational message for checking line numbers.
13554
13555 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13556
13557         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13558         paragraph, do the 'double space' part, but not the 'empty
13559         paragraph' one.
13560
13561         * text.C (workWidth): small optimization
13562         (getLengthMarkerHeight): use minimal size for negative lengths.
13563
13564 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13565
13566         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13567
13568         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13569
13570 2001-12-11  André Pönitz <poenitz@gmx.net>
13571
13572         * FontLoader.C:
13573         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13574
13575 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * text2.C: keep selection on a setFont()
13578
13579 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13580
13581         * lyx_cb.C: another bv->text misuse, from insert label
13582
13583 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * kbsequence.h:
13586         * kbsequence.C: re-instate nmodifier mask
13587
13588 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * lyx_main.h: make lyxGUI private.
13591
13592 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * lyxfind.C: place the cursor correctly on failed search
13595
13596 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13597
13598         * text.C (getLengthMarkerHeight): for small heights, the arrows
13599         are not always on top/bottom of the text
13600         (drawLengthMarker): smaller arrows; take the left margin in
13601         account; draw also vfills.
13602         (paintFirstRow):
13603         (paintLastRow): remove special code for vfill and standard spaces,
13604         since everything is handled in drawLengthMarker now.
13605
13606 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13607
13608         * buffer.C (insertErtContents): try to handle font and language
13609         interaction a bit better.g
13610
13611         * ColorHandler.C (updateColor): change the hash to cover the whole
13612         LColor enum, ws cleanup
13613         (getGCLinepars): ditto
13614         (getGCLinepars): only lookup in the linecache once.
13615
13616 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13617
13618         * iterators.C (operator++): Make the iterator more robust
13619
13620         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13621         (John's patch)
13622         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13623
13624 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13625
13626         * lyxtext.h:
13627         * text.C: better added space drawing
13628
13629 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13630
13631         * LyXView.C:
13632         * BufferView2.C: fix layout combo update on inset unlock
13633
13634 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * Makefile.am: don't compile unused files
13637
13638 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * lyxfunc.C:
13641         * commandtags.h:
13642         * LyXAction.C: remove old LFUN_LAYOUTNO
13643
13644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * paragraph_pimpl.h:
13647         * paragraph_pimpl.C: isTextAt() doesn't need font param
13648
13649 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * lyxlex.h:
13652         * lyxlex.C: little cleanup
13653
13654 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13655
13656         * BufferView_pimpl.C: fix insertAscii for insets
13657
13658 2001-12-05  Juergen Vigna  <jug@sad.it>
13659
13660         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13661         set the right font on the "multi" paragraph paste!
13662
13663 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13664
13665         * trans_decl.h:
13666         * trans_mgr.[Ch]:
13667         * trans.[Ch]:
13668         * lyxgluelength.C:
13669         * lyxlength.C: remove out-commented code.
13670
13671         * BufferView_pimpl:
13672         * CutAndPaste.C:
13673         * DepTable.C:
13674         * buffer.C:
13675         * chset.C:
13676         * lastfiles.C:
13677         * lyxlex.C:
13678         * lyxlex_pimpl.C:
13679         * lyxserver.C:
13680         * screen.C:
13681         * tabular-old.C:
13682         * tabular.C:
13683         * text.C:
13684         * trans_mgr.C:
13685         * vc-backend.C: change "while(" to "while ("
13686
13687         * lyxlength.[Ch]: add zero function to check if length is zero or
13688         not
13689         * lyxgluelength.C: use it
13690
13691 2001-12-05  Allan Rae  <rae@lyx.org>
13692
13693         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13694         Works for 2.95.3, from what I understand of Garst's reports this should
13695         work for other g++ versions.  We're screwed if the abs(int) definition
13696         changed between bugfix releases of gcc.
13697
13698 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * text.C: fix chapter label offset !
13701
13702 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13703
13704         * lyxtext.h:
13705         * text.C: fix hfill at end of line, clean up
13706
13707 2001-12-04  Juergen Vigna  <jug@sad.it>
13708
13709         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13710         that we force an update of the inset and it's owners if neccessary.
13711
13712 2001-12-03  Juergen Vigna  <jug@sad.it>
13713
13714         * text.C (rowLast): simplified code
13715
13716 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * lyxfunc.C: fix show options on timeout
13719
13720 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * screen.C (topCursorVisible): scroll half a page when the cursor
13723         reached top of bottom of screen
13724
13725 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13726
13727         * minibuffer.C: deactivate on loss of focus
13728
13729 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * vspace.[Ch] (operator!=): add operator.
13732
13733 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13734
13735         * BufferView_pimpl.C: refuse to open an inset when
13736         there's a selection.
13737
13738 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13739
13740         * BufferView_pimpl.C: allow to click on RHS of full row insets
13741
13742 2001-11-30  Juergen Vigna  <jug@sad.it>
13743
13744         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13745         insets for undo reasons.
13746
13747 2001-11-28  André Pönitz <poenitz@gmx.net>
13748
13749         * vspace.[Ch]: cosmetical changes
13750
13751 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * LyXAction.h:
13754         * LyXAction.C:
13755         * lyxfunc.h:
13756         * lyxfunc.C:
13757         * kbmap.h:
13758         * kbmap.C:
13759         * lyxrc.C:
13760         * kbsequence.h:
13761         * kbsequence.C: part re-write of old kb code
13762
13763         * Painter.C:
13764         * WorkArea.C: remove Lgb_bug_find_hack
13765
13766 2001-11-30  José Matos <jamatos@fep.up.pt>
13767
13768         * buffer.C (makeDocBookFile): add a comment to point a hack.
13769         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13770         Fixed a double write of labels.
13771
13772 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13773
13774         * LaTeX.C:
13775         * LaTeX.h Fixed bug in LaTeX class where it would not
13776         re-run latex if no depfiles were changed, but the .dvi was removed.
13777
13778 2001-11-28  André Pönitz <poenitz@gmx.net>
13779
13780         * all the files from the change on 2001/11/26:
13781         use lyx::layout_type instead of LyXTextClass::size_type
13782         use lyx::textclass_type instead of LyXTextClassList::size_type
13783
13784 2001-11-29  Juergen Vigna  <jug@sad.it>
13785
13786         * text.C: added support for paragraph::isFreeSpacing()
13787
13788         * buffer.C: same as above
13789
13790         * paragraph.h: inserted isFreeSpacing() function to enable
13791         FreeSpacing inside InsetERT.
13792
13793         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13794         of the paragraph's in the cut/copy buffer to 0!
13795
13796         * text2.C (removeRow): remove the assert as it can!
13797
13798         * lyxtext.h: added helper function firstRow returning firstrow and
13799         made firstrow private again.
13800
13801         * BufferView2.C (lockInset): don't relock if we're already locked!
13802
13803         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13804         the only paragraph.
13805         (removeRow): added Assert::(firstrow)
13806
13807         * debug.C: forgot to add INSETTEXT here.
13808
13809 2001-11-28  Juergen Vigna  <jug@sad.it>
13810
13811         * sp_spell.C (initialize): changed error text to more general
13812         spellchecker command use (not only ispell!)
13813
13814         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13815
13816         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13817
13818 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * vspace.C: initialise lyxgluelength on failure
13821
13822 2001-11-28  Allan Rae  <rae@lyx.org>
13823
13824         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13825         declaration & definition that looks like a function declaration.
13826
13827 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13828
13829         * BufferView2.C (copy):
13830         (copyEnvironment): do not clear the selection when doing a copy.
13831
13832         * text.C (paintFirstRow): compilation fix
13833
13834 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13835
13836         * tabular.C (Latex): correct line count when writing latex.
13837
13838 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13839
13840         * paragraph_pimpl.h:
13841         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13842           bug a bit
13843
13844 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13845
13846         * text.C:
13847         * LColor.h:
13848         * LColor.C: change vfillline->added_space
13849
13850         * text.C: add markers and text for added space
13851
13852         * vspace.C: fix comment
13853
13854 2001-11-28  André Pönitz <poenitz@gmx.net>
13855
13856         * paragraph.C: whitespace changes
13857         * all the other files from the change on 2001/11/26:
13858         change *::pos_type into lyx::pos_type
13859
13860 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13861
13862         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13863         language of the document when inserting error insets.
13864
13865 2001-11-26  André Pönitz <poenitz@gmx.net>
13866
13867         * BufferView_pimpl.[Ch]:
13868         *       CutAndPaste.C:
13869         * buffer.[Ch]:
13870         * lyxcursor.[Ch]:
13871         * lyxfind.C:
13872         * lyxfunc.C:
13873         * lyxrow.[Ch]:
13874         * paragraph.[Ch]:
13875         * paragraph_pimpl.[Ch]:
13876         * sp_spell.C:
13877         * text.C:
13878         * text2.C: reduce header dependencies, introduce type for positions
13879
13880 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13881
13882         * <various>: change to use Alert.h
13883
13884 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13885
13886         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13887         when encountering an unknown token.
13888         (readLyXformat2): Show an error message if there were unknown tokens.
13889
13890 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * BufferView2.C:
13893         * BufferView_pimpl.C:
13894         * buffer.C:
13895         * paragraph.h:
13896         * text.C:
13897         * text2.C: use par->isInset()
13898
13899 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13900
13901         * paragraph_pimpl.h:
13902         * paragraph_pimpl.C: cleanup
13903
13904 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * text2.C (removeRow):
13907         * text.C (setHeightOfRow): remove useless (and costly) call to
13908         getRow.
13909
13910 2001-11-20  Allan Rae  <rae@lyx.org>
13911
13912         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13913         Now need Inset*::checkInsertChar() to return true for appropriate
13914         cases so that the characters in the minibuffer will actually be
13915         inserted.
13916
13917 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * text.C: change the order of the includes.
13920         (workWidth): initialize it at once.
13921         (workWidth): make maxw unsigned
13922         (setHeightOfRow): remove unused variable (inset)
13923         (selectSelectedWord): remove unused variable (inset)
13924         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13925
13926 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13929         server is not running.
13930         (openConnection):
13931         (closeConnection): add debug info when server is disabled.
13932
13933         * ColorHandler.C (getGCForeground): send debug message to GUI
13934         channel.
13935
13936         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13937
13938         * kbmap.C (bind): modify because return conventions of
13939         kb_sequence::parse have changed.
13940
13941         * kbsequence.C (parse): only ignore spaces and not any stupid
13942         control character. This avoids tests like s[i] <= ' ', which are
13943         guaranteed to fail with 8bit characters and signed chars.
13944         Change return code to string::npos when there have been no error
13945         (0 was a bad idea when error is at first character)
13946
13947 2001-11-14  José Matos  <jamatos@fep.up.pt>
13948
13949         * buffer.h:
13950         * buffer.C (simpleDocBookOnePar): removed unused argument.
13951
13952 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13955         insets which are part of a word. Paragraph::isLetter takes care of
13956         that now. Use Paragraph::isInset to identify insets.
13957         (selectSelectedWord): do not test for hyphenation break.
13958
13959         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13960         that protected spaces are considered as spaces.
13961
13962         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13963         Inset::isLetter.
13964
13965 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13966
13967         * lyxserver.h:
13968         * lyxserver.C: fix it. and small cleanup.
13969
13970 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13971
13972         * BufferView_pimpl.C: use inline helpers
13973
13974         * LaTeXFeatures.h:
13975         * LaTeXFeatures.C: fix typos
13976
13977         * Spacing.h:
13978         * Spacing.C: move spacing_string into class
13979
13980         * ToolbarDefaults.C: move stuff into namespace anon
13981
13982         * layout.h: update enum
13983
13984         * lyxfunc.C: use better debug
13985
13986         * minibuffer.h: fix typo
13987
13988         * debug.h:
13989         * debug.C:
13990         * WorkArea.C: add and use Debug::WORKAREA
13991
13992         * lyxtext.h:
13993         * text.C:
13994         * text2.C: code re-organisation, inline helpers
13995
13996 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13997
13998         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13999         std::vector.empty().
14000
14001 2001-11-09  Allan Rae  <rae@lyx.org>
14002
14003         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14004         '\n's after tables.  Tabular and ERT inset work now makes this no
14005         longer necessary.
14006
14007 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14008
14009         * minibuffer.h:
14010         * minibuffer.C: fix crash, improve drop-down completion
14011
14012 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14013
14014         * lyxserver.h:
14015         * lyxserver.C: invalidate fd's when doing endPipe()
14016
14017 2001-11-08  José Matos  <jamatos@fep.up.pt>
14018
14019         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14020         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14021
14022         * paragraph.h:
14023         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14024
14025 2001-11-07  José Matos  <jamatos@fep.up.pt>
14026
14027         * buffer.h:
14028         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14029         const qualifier.
14030
14031         * buffer.C (sgmlOpenTag):
14032         * buffer.C (sgmlCloseTag): removed debug info.
14033
14034         * buffer.h (sgmlOpenTag):
14035         * buffer.h (sgmlCloseTag): made public.
14036
14037 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * buffer.C (saveParamsAsDefaults):
14040         * lyx_cb.C (MenuLayoutSave): remove
14041
14042         * LyXAction.C (init):
14043         * commandtags.h:
14044         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14045
14046 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * buffer.C (setPaperStuff): removed from here...
14049
14050         * bufferparams.C (setPaperStuff): ... and moved there.
14051
14052 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14053
14054         * minibuffer.h:
14055         * minibuffer.C:
14056         * XFormsView.C: add support for drop-down completion
14057
14058 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14059
14060         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14061         commands.
14062
14063 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14066         disabled.
14067
14068 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14069
14070         * lyx_main.C: change ref to known bugs
14071
14072 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14073
14074         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14075         to work around older babel problems.
14076
14077 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14078
14079         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14080
14081 2001-10-24  Juergen Vigna  <jug@sad.it>
14082
14083         * tabular-old.C (ReadOld): below variable changes reflected.
14084
14085         * tabular.[Ch]: added ltType struct for longtable header/footer
14086         defines and changed all instances where they are used. Added
14087         future support for double top/bottom rows.
14088
14089 2001-10-24  José Matos  <jamatos@fep.up.pt>
14090
14091         * buffer.h (docbookHandleCaption):
14092         * buffer.C (docbookHandleCaption): removed unused function.
14093         (makeDocBookFile): moved docbook supported version to v4.1.
14094
14095 2001-10-24  José Matos  <jamatos@fep.up.pt>
14096
14097         * tabular.h:
14098         * tabular.C (docbookRow): new function to export docbook code of a row.
14099         (DocBook): now honors the longtable flags.
14100
14101 2001-10-23  José Matos  <jamatos@fep.up.pt>
14102
14103         * LaTeXFeatures.h:
14104         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14105         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14106
14107         * buffer.C (makeLinuxDocFile):
14108         (makeDocBookFile): reworked the preamble, more clean, and with
14109         support for lyx defined entities. Changed the document declaration
14110         to be more XML friendly.
14111
14112         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14113         if we need to output XML that should be done with a filter.
14114
14115 2001-10-22  Juergen Vigna  <jug@sad.it>
14116
14117         * sp_pspell.h (class PSpell): add alive function needed in the
14118         controller to see if the spellchecker could be started.
14119
14120 2001-10-22  Juergen Vigna  <jug@sad.it>
14121
14122         * buffer.C (insertStringAsLines): modify the font for inserting
14123         chars in certain conditions by calling checkInsertChar(font).
14124
14125 2001-10-19  Juergen Vigna  <jug@sad.it>
14126
14127         * text.C (workWidth): use getRow instead of wrong algorithm.
14128         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14129
14130 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * lyxserver.h:
14133         * lyxserver.C:
14134         * lyx_main.h:
14135         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14136
14137 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14138
14139         * text.C (workWidth): do not search for the exact row when
14140         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14141         optimization for big documents.
14142
14143 2001-10-18  Juergen Vigna  <jug@sad.it>
14144
14145         * text.C (workWidth): new function with added Inset * parameter.
14146
14147 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14150
14151         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14152         change return type of getColumnNearX.
14153
14154
14155         * text.C (changeRegionCase): use uppercase/lowercase instead of
14156         toupper/tolower.
14157         (leftMargin):
14158         (rightMargin): simplify code by factoring out the uses of
14159         textclasslist.
14160         (labelFill):
14161         (numberOfHfills):
14162         (setHeightOfRow):
14163         (appendParagraph): use Paragraph::size_type
14164
14165 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14166
14167         * vspace.C (asLatexString): add a missing break
14168
14169 2001-10-15  Herbert Voss  <voss@perce.de>
14170
14171         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14172
14173 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14174
14175         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14176         is not available.
14177
14178 2001-10-10  André Pönitz <poenitz@gmx.net>
14179
14180         * lyxfunc.C: removed greek_kb_flag.
14181
14182 2001-10-10  Herbert Voss  <voss@perce.de>
14183
14184         * lyx_main.C: delete global string help_lyxdir.
14185
14186 2001-10-09  Herbert Voss  <voss@perce.de>
14187
14188         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14189
14190         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14191
14192         * lyx_main.C: added global string help_lyxdir.
14193
14194         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14195
14196 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14197
14198         * lyxrc.C (set_font_norm_type): support iso8859-4
14199
14200 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14201
14202         * LaTeX.C (deplog): add another regex for MikTeX
14203
14204 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14205
14206         * lyxrc.C (set_font_norm_type): support iso8859-3
14207
14208 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14211
14212         * LaTeXFeatures.C: remove special case of french and index
14213
14214         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14215         before \begin{document}). This solves several incompatibilities.
14216
14217 2001-10-03  Garst Reese  <reese@isn.net>
14218
14219         * lyx_cb.C: change CheckTex error msg.
14220
14221 2001-10-03  José Matos  <jamatos@fep.up.pt>
14222
14223         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14224
14225 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14226
14227         * .cvsignore: update
14228
14229         * lyx_main.C (commandLineVersionInfo): use new style version info.
14230
14231         * buffer.C (writeFile):
14232         (makeLaTeXFile):
14233         (makeLinuxDocFile):
14234         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14235
14236         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14237
14238         * version.h: update to use stuff in version.C
14239
14240         * version.C.in: new file. Contains version information determined
14241         at compile time. This is a merging of version.h and
14242         version_info.h.in.
14243
14244 2001-10-03  Juergen Vigna  <jug@sad.it>
14245
14246         * BufferView_pimpl.C (update): don't change "dirty" status in
14247         updateInset call.
14248
14249 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14250
14251         * WorkArea.C (c-tor): re-position version string slightly.
14252
14253 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14254
14255         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14256         revert to previous code.
14257
14258         WorkArea.[Ch]: (show, destroySplash): methods removed.
14259
14260         WorkArea.C: rework code so that it's an amalgam of the codes before and
14261         after the splash screen was moved to WorkArea.
14262
14263 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14264
14265         * lyxrc.C (read):
14266         * vspace.C (inPixels):
14267         (lyx_advance):
14268         * kbmap.C (bind):
14269         * buffer.C (insertStringAsLines):
14270         (asciiParagraph): fix types to be large enough
14271
14272         * lyxlex_pimpl.h: change member status from short to int
14273
14274         * layout.h: fix type of endlabeltype
14275
14276         * kbmap.C (bind):
14277         * kbsequence.C (parse): change return type to string::size_type
14278
14279         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14280         variable
14281
14282         * Bullet.C (bulletSize):
14283         (bulletEntry): do not use short ints as parameters
14284
14285         * BufferView2.C (insertLyXFile): change a char to an int.
14286
14287         * WorkArea.C (WorkArea): remove unneeded floats in computation
14288
14289 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14290
14291         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14292
14293         * paragraph.C (asString): Do not ignore newline/hfill chars when
14294         copying to the clipboard.
14295
14296 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14299         after a multi-line inset.
14300
14301 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * paragraph.C (validate): Set NeedLyXFootnoteCode
14304
14305 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14306
14307         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14308         and decrease-error to decrease.
14309
14310 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14311
14312         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14313         it more readable (should be equivalent)
14314
14315 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14316
14317         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14318
14319 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14320
14321         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14322         of a cursor (row, etc.) after a character has been deleted
14323         (deleteEmptyParagraphMechanism): call the method above on _all_
14324         cursors held by the LyXText when a double space has been
14325         detected/deleted.
14326
14327 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14328
14329         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14330         pixmap.
14331         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14332
14333         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14334         background. Use greyOut() and the new show() methods to toggle between
14335         the foreground and background. Add code to remove the splash after
14336         its initial showing.
14337
14338         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14339         (create_forms): no longer call Dialogs::showSplash.
14340
14341 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * .cvsignore: add version_info.h
14344
14345 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14346
14347         * version_info.h.in: new file
14348
14349         * Makefile.am: add version_info.h.in
14350
14351         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14352         version_info.h instead of VERSION_INFO
14353
14354 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14355
14356         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14357         The ERT inset now returns string().
14358
14359 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14360
14361         * lyxtext.h, text.C (selectNextWord): renamed as
14362         selectNextWordToSpellcheck.
14363
14364         * text.C (selectNextWordToSpellcheck): Modified to not select
14365         words inside an ERT inset.
14366
14367 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14368
14369         * lyx_cb.C (MenuLayoutSave): change a bit the question
14370
14371         * sp_base.h: include <sys/types.h>
14372
14373 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14374
14375         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14376
14377 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14378
14379         * several files: fix typos in user-visible strings
14380
14381 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14382
14383         * text2.C (pasteSelection): do not set the selection, since it
14384         will be cleared later. Actually, the intent was to fix the way the
14385         selection was set, but I figured rmoving the code was just as good.
14386
14387 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14388
14389         * FontLoader.C (available): Check if font is available without
14390         loading the font.
14391
14392 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14393
14394         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14395
14396 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14397
14398         * lyxrc.[Ch]: added display_graphics variable and associated code.
14399
14400 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14401
14402         * bufferparams.C (hasClassDefaults): new method. Returns true if
14403         the buffer parameters correspond to known class defaults
14404
14405 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14406
14407         * XFormsView.C (show): set minimum size to the main window.
14408
14409 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14410
14411         * text2.C (copySelection):
14412         (cutSelection):
14413         * lyxfind.C (LyXReplace):
14414         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14415         LyXText::selectionAsString.
14416
14417         * paragraph.C (asString): add "label" argument to the second form
14418
14419         * text2.C (selectionAsString): add "label" argument and pass it to
14420         Paragraph::asString.
14421
14422 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * lyx_main.C (commandLineHelp): remove version information
14425
14426 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14427
14428         * lyx_main.C: add -version commandline option
14429
14430 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14431
14432         * paragraph.h: make the optional constructor arg required instead.
14433         some modifications to other files because of this.
14434
14435         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14436
14437         * lyxserver.C (C_LyXComm_callback): make it static
14438
14439         * lyx_main.C (error_handler): make it static
14440
14441         * lyx_gui.C (LyX_XErrHandler): make it static
14442
14443         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14444
14445         * WorkArea.C: make the extern "C" methods static.
14446
14447         * Makefile.am (lyx_LDADD): simplify
14448
14449 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14450
14451         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14452         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14453
14454         * LyXAction.C (init):
14455         * lyxfunc.C (dispatch): associated code removal.
14456
14457 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14458
14459         * lyxfont.h (isSymbolFont): shut off warning
14460
14461         * text.C (setHeightOfRow):
14462         (getVisibleRow): fix crash with empty paragraphs which have a
14463         bottom line
14464
14465 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14466
14467         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14468         code.
14469
14470 2001-09-04  José Matos  <jamatos@fep.up.pt>
14471         * buffer.C
14472         * buffer.h
14473         * tabular.C (docbook): rename docBook method to docbook.
14474
14475 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * Makefile.am: add dependencies to main.o.
14478
14479 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * FontLoader.C (available): Return false if !lyxrc.use_gui
14482
14483 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14484
14485         * FontInfo.C (query):
14486         * converter.C (view):
14487         * importer.C (Import):
14488         * exporter.C (Export): Can not -> cannot.
14489
14490 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14491
14492         * BufferView_pimpl.C: allow to create index inset even if
14493           string is empty
14494
14495 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * buffer.C (getLists): replace boost::tie code with an explicit pair
14498         as boost::tie can break some compilers.
14499
14500         * iterators.h: Added a std:: declaration to the return type of
14501         ParIterator::size.
14502
14503 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14506           case.
14507
14508 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14509
14510         * iterators.[Ch]: New files. Provide paragraph iterators.
14511
14512         * buffer.C (changeLanguage): Use paragraph iterators.
14513         (isMultiLingual): ditto
14514
14515         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14516
14517 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14518
14519         * FontLoader.C: Support for cmr font.
14520
14521 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14524         (available): New method.
14525
14526         * FontInfo.C (getFontname): Use scalable fonts even when
14527         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14528         found.
14529
14530 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14531
14532         * converter.C (Formats::view): reverted! Incorrect fix.
14533
14534 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14535
14536         * converter.C (Formats::view): only output the -paper option
14537         if the dvi viewer is xdvi, thereby fixing bug #233429.
14538
14539 2001-08-23  Herbert Voss  <voss@perce>
14540
14541         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14542
14543 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14544
14545         * Spacing.h (Spacing): Set space to Default on in the default
14546         constructor.
14547
14548 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14549
14550         * vc-backend.h (RCS::versionString): add RCS to version
14551         (CVS::versionString): add CVS to version
14552
14553         * vc-backend.C (scanMaster): do not add CVS to version.
14554         (scanMaster): do not add RCS to version
14555
14556         * lyxvc.C (versionString): new method
14557
14558         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14559
14560 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14561
14562         * Spacing.C (set): initialize fval
14563
14564 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14565
14566         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14567         " or \.
14568
14569 2001-08-16  Juergen Vigna  <jug@sad.it>
14570
14571         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14572
14573 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * BufferView_pimpl.C:
14576         * figureForm.C:
14577         * lyxtext.h:
14578         * text2.C: setParagraph takes linespacing now
14579
14580 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14581
14582         * LyxAction.C: add internal LFUN_CITATION_INSERT
14583
14584         * LyXView.C: actually apply fix
14585
14586         * bufferlist.C: fix open non-existent file
14587
14588         * lyxfind.C: fix indentation
14589
14590         * lyxfunc.C: remove unneeded assert, fix typo
14591
14592 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * MenuBackend.C: use "Floatname List"
14595
14596 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14597
14598         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14599         when converting LaTeX layout to insetERT.
14600         Generate a non-collapsed float when reading old float
14601
14602 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14603
14604         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14605         ERT insets.
14606
14607 2001-08-13  Juergen Vigna  <jug@sad.it>
14608
14609         * text.C (fill): return 0 instead of 20 as this seems to be the more
14610         correct value.
14611
14612 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14615         lyxrc.font_norm.
14616
14617 2001-08-13  Juergen Vigna  <jug@sad.it>
14618
14619         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14620         casesensitive off.
14621         (SearchBackward): comment out the unlocking of the inset_owner this
14622         should not be needed!
14623
14624 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14625
14626         * Many files: Remove inherit_language, and add latex_language
14627
14628         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14629         collapsible insets.
14630
14631 2001-08-10  Juergen Vigna  <jug@sad.it>
14632
14633         * text.C (prepareToPrint): fixed hfill-width in draw!
14634
14635         * BufferView2.C (selectLastWord): save the selection cursor as this
14636         now is cleared in the function LyXText::clearSelection!
14637
14638 2001-08-08  Juergen Vigna  <jug@sad.it>
14639
14640         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14641         BACKSPACE type functions.
14642
14643         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14644         is only cutted from the document but not put in the cut-buffer, where
14645         still the old stuff should be.
14646
14647         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14648
14649         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14650
14651         * tabular.C (SetWidthOfCell): fixed special case where the width
14652         was not updated!
14653         (LeftLine): handle '|' in align_special.
14654         (RightLine): ditto
14655         (LeftAlreadyDrawed): ditto
14656         (SetWidthOfCell): ditto
14657
14658 2001-08-07  Juergen Vigna  <jug@sad.it>
14659
14660         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14661
14662 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14665         * lyxlex.[hC]: ditto
14666
14667 2001-08-06  Juergen Vigna  <jug@sad.it>
14668
14669         * text.C (getVisibleRow): fix up row clearing a bit.
14670
14671 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * minibuffer.C: make sure the X server sees the changes in the input.
14674
14675 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * paragraph.C (getFont): split into...
14678         (getLabelFont): this
14679         (getLayoutFont): and this
14680         * paragraph_pimpl.C (realizeFont): calling this
14681
14682         * text2.C (getFont): split into...
14683         (getLayoutFont): this
14684         (getLabelFont): and this
14685         (realizeFont): all three calling this
14686
14687         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14688         files where used.
14689
14690 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14691
14692         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14693
14694 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14695
14696         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14697         layouts from the Quote inset insertion.
14698
14699 2001-08-03  Juergen Vigna  <jug@sad.it>
14700
14701         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14702
14703         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14704         only if status not is already CHANGED_IN_DRAW (second level).
14705
14706         * text.C (draw): don't set the need_break_row when inside an
14707         InsetText LyXText.
14708
14709 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14710
14711         * buffer.C (parseSingleLyXformat2Token): handle more latex
14712         conversion cases.
14713
14714         * bufferview_funcs.[hC]: change function names to
14715         begin with small char, adjust other files.
14716
14717 2001-08-02  André Pönitz <poenitz@gmx.net>
14718
14719         * lyxfunc.C:
14720         BufferView_pimpl.C: remove broken special code for math-greek
14721
14722 2001-08-02  Juergen Vigna  <jug@sad.it>
14723
14724         * BufferView_pimpl.C (update): redone this function so that we
14725         update the text again if there was a CHANGE_IN_DRAW.
14726
14727         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14728         (drawFromTo): added a new internal bool which is used by draw() and
14729         redraw() function.
14730         (general): some cursor drawing problems fixed.
14731
14732 2001-08-01  Juergen Vigna  <jug@sad.it>
14733
14734         * lyxfind.C (LyXFind): fixed
14735         (SearchForward): ditto
14736         (SearchBackward): ditto
14737
14738         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14739         spurius drawing of the cursor in the main area.
14740
14741         * text2.C (status): small fix which could lead to a segfault!
14742         (clearSelection): remove unneeded BufferView param.
14743
14744 2001-08-01  André Pönitz <poenitz@gmx.net>
14745
14746         * lyxfunc.C: small change due to changed mathed interface
14747
14748 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14751
14752 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14753
14754         * lyxfunc.c: fail gracefully if file doesn't exist
14755
14756         * LyXSendto.C:
14757         * buffer.C:
14758         * lyxfunc.C:
14759         * BufferView_pimpl.C: IsDirWriteable() proto changed
14760
14761         * LyXView.C: fix updateWindowTitle() to store the last title
14762
14763 2001-07-31  Juergen Vigna  <jug@sad.it>
14764
14765         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14766         the font (wrong since using of Paragraph::highestFontInRange).
14767
14768         * paragraph.C (highestFontInRange): added a default_size parameter.
14769
14770         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14771         (setHeightOfRow): reformat
14772
14773 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * converter.[hC] + affected files: move to (inital-char)lowercase
14776         function names.
14777
14778         * ParagraphParameters.C (ParagraphParameters): remove commented code
14779
14780         * PainterBase.[Ch]: remove commented code
14781
14782         * LaTeXFeatures.h: add "bool floats" for float.sty
14783
14784         * LaTeXFeatures.C (LaTeXFeatures): init floats
14785         (require): handle float
14786         (getPackages): do it with floats
14787
14788 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * BufferView_pimpl.C (Dispatch): improve handling of
14791         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14792
14793         * commandtags.h: #include lyxfont.h here temporarily to avoid
14794         keybinding bug.
14795
14796         * bufferlist.h: include LString.h here.
14797
14798 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * text2.C (getStringToIndex): new method.
14801
14802 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14803
14804         * *: Reduced header file dependencies all over.
14805
14806 2001-07-30  Baruch Even  <baruch@lyx.org>
14807
14808         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14809
14810 2001-07-29  Baruch Even  <baruch@lyx.org>
14811
14812         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14813
14814 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14815
14816         * ParameterStruct.h (endif): add a default constructor to make
14817         sure that all variables is initialized.
14818
14819         * ParagraphParameters.C (ParagraphParameters): adjust
14820
14821 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14822
14823         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14824         index; also, check that there is something to index, and that it
14825         does not span over several paragraphs.
14826         (doubleClick): use WHOLE_WORD_STRICT for double click.
14827
14828         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14829
14830         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14831         scheme.
14832
14833 2001-07-26  Baruch Even  <baruch@lyx.org>
14834
14835         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14836         an InsetFig figure, backwards compatible reading of old figure code.
14837
14838 2001-07-27  Juergen Vigna  <jug@sad.it>
14839
14840         * text2.C: font.realize function adaption.
14841
14842         * text.C (draw): add a warnings lyxerr text if needed.
14843
14844         * layout.C: font.realize function adaption.
14845
14846         * language.C: add inherit_language and implement it's handlings
14847
14848         * bufferview_funcs.C (StyleReset): remove language parameter from
14849         font creation (should be language_inherit now).
14850
14851         * bufferparams.C (writeFile): handle ignore_language.
14852
14853         * paragraph.C (getFontSettings): the language has to be resolved
14854         otherwise we have problems in LyXFont!
14855
14856         * lyxfont.C (lyxWriteChanges): added document_language parameter
14857         (update): removed unneeded language parameter
14858
14859         * paragraph.C (validate): fixed wrong output of color-package when
14860         using interface colors for certain fonts in certain environments,
14861         which should not seen as that on the final output.
14862
14863 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14864
14865         * BufferView_pimpl.C:
14866         * Thesaurus.h:
14867         * Thesaurus.C:
14868         * Makefile.am:
14869         * commandtags.h:
14870         * LyXAction.C: add thesaurus support
14871
14872         * lyxfind.h:
14873         * lyxfind.C: add "once" parameter, for thesaurus, to not
14874           move to the next match
14875
14876 2001-07-26  Juergen Vigna  <jug@sad.it>
14877
14878         * lyxfont.C (realize): honor ignore_language too!
14879         (resolved): ditto.
14880
14881         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14882
14883         * text.C (draw): one place more for ignore_language to not draw
14884         itself!
14885
14886 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14887
14888         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14889
14890 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14893         the minipage conversion problem.
14894
14895 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14896
14897         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14898         insert an inset.
14899
14900 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * BufferView.h: don't forward declare WorkArea
14903
14904         * BufferView.C: don't include WorkArea.h
14905
14906 2001-07-25  André Pönitz <poenitz@gmx.net>
14907
14908         * commandtags.h:
14909         * LyXAction.C:
14910         * lyxfunc.C:  new LFUN 'math-space'
14911
14912         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14913
14914 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14915
14916         * text2.C (toggleInset): call open/close
14917
14918 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14919
14920         * lyxfunc.C (dispatch): add debug for the disabled case
14921
14922         * font.C (buttonText): make similar to rectText
14923
14924         * buffer.C (readInset): comment out parsing of insetlist and
14925         insttheorem
14926
14927         * PainterBase.C (rectText): small correction
14928
14929         * BufferView_pimpl.C: comment out insettheorem and insetlist
14930         * LyXAction.C: ditto
14931         * commandtags.h: ditto
14932
14933 2001-07-24  Juergen Vigna  <jug@sad.it>
14934
14935         * text.C (draw): honor the ignore_language.
14936
14937         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14938
14939 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14940
14941         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14942         char inset.
14943
14944 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14945
14946         * lyxtext.h: remove unused (and unimplemented) methods
14947
14948 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14949
14950         * text.C (getVisibleRow): honor background color
14951
14952         * PainterBase.h:
14953         * Painter.h: remove default color argument for fillRectangle
14954
14955         * text.C (backgroundColor): new method
14956
14957 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14958
14959         * text.C (getVisibleRow): adjust
14960
14961         * font.[Ch] (rectText): new method, metrics
14962         (buttonText): new method, metrics
14963
14964         * PainterBase.[hC]: make rectText and buttonText always draw and take
14965         fewer paramteres.
14966
14967 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14968
14969         * ToolbarDefaults.C (read):
14970         * MenuBackend.C (read): allow escaping in all strings
14971
14972         * BufferView_pimpl.C (insertAndEditInset): new method.
14973         (Dispatch): use insertAndEditInset whenever appropriate.
14974
14975         * BufferView_pimpl.C (insertNote): removed
14976
14977         * BufferView_pimpl.C (smartQuote): new method, moved from
14978         BufferView; if an insetquote cannot be inserted, insert a '"'
14979         character instead.
14980
14981         * BufferView2.C: remove insertCorrectQuote();
14982
14983         * lyxfunc.C (getStatus): Add support for all remaingin
14984         inset-insert lfuns.
14985
14986         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14987
14988         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14989         command (necessary to pass " as parameter of self-insert.
14990
14991         * text.C (selectWordWhenUnderCursor):
14992         (selectWord): add word_location parameter
14993         (selectWordWhenUnderCursor): same + remove special code for word
14994         boundary.
14995         (selectNextWord): use kind() to guess type of insetspecialchar,
14996         not latex().
14997
14998         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14999         (insertErtContents): create ert insets as collapsed.
15000         (readInset): better compatibility code for Info inset.
15001
15002 2001-07-20  Juergen Vigna  <jug@sad.it>
15003
15004         * lyxfunc.C (dispatch): use always LyXFind now!
15005
15006         * text2.C (init): add a reinit flag so that the LyXText can be
15007         reinited instead of deleted and reallocated (used in InsetText).
15008
15009         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15010
15011         * text.C: ditto
15012
15013         * text2.C: ditto
15014
15015 2001-07-18  Juergen Vigna  <jug@sad.it>
15016
15017         * text.C (selectNextWord): handle insets inside inset by calling
15018         always the bv->text functions so that we can go up the_locking_inset!
15019
15020         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15021         in strange locations when inside an inset!
15022
15023         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15024         handling to include insets.
15025
15026         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15027
15028 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * LyXAction.C (init):
15031         * commandtags.h:
15032         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15033         LIGATURE_BREAK, since the name is so stupid.
15034
15035 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15036
15037         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15038         InsetInfos.
15039
15040         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15041
15042         * sp_form.[Ch]: remove.
15043
15044         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15045
15046         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15047         InsetInfo.
15048
15049         * src/buffer.C (readInset): ditto.
15050
15051 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15052
15053         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15054         menuSeparator(), endOfSentenceDot(), ldots() and
15055         hyphenationPoint(), which are therefore removed.
15056         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15057
15058         * LyXAction.C (init):
15059         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15060
15061         * paragraph.C (getWord): removed.
15062
15063         * BufferView_pimpl.C (Dispatch): use last word or selection for
15064         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15065
15066         * lyx_main.C (queryUserLyXDir): do not ask before creating
15067         user_dir, except if it has been named explicitely.
15068
15069 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15070
15071         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15072         a document of zero size.
15073
15074 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15075
15076         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15077         approriately in the c-tor and in require().
15078         (getPackages): output the appropriate LaTeX for natbib support.
15079
15080         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15081         variables "use_natbib" and "use_numerical_citations" when reading the
15082         LyX file.
15083         (readInset): read the various natbib cite commands.
15084         (validate): white-space change.
15085
15086         * bufferparams.[Ch]: new variables "bool use_natbib" and
15087         "bool use_numerical_citations".
15088         (writeFile): output them in the LyX file.
15089
15090 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15091
15092         * lyxfunc.C (getStatus): add support for all the inset insertion
15093         commands.
15094
15095         * text2.C (insertInset):
15096         * paragraph.C (insetAllowed):
15097         * BufferView_pimpl.C (insertInset): update to take in account the
15098         renaming of insertInsetAllowed
15099
15100         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15101
15102         * text2.C (getInset): new method. returns inset at cursor position.
15103
15104         * BufferView_pimpl.C (Dispatch): changes because of this.
15105
15106         * LyXAction.C (init): rename open-stuff to inset-toggle.
15107
15108         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15109
15110         * text2.C (toggleInset): renamed from openStuff; use
15111         Inset::open().
15112
15113 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15114
15115         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15116
15117         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15118
15119 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15120
15121         * buffer.C (readLyXformat2): Add filename to the error dialog
15122
15123 2001-07-18  Juergen Vigna  <jug@sad.it>
15124
15125         * tabular.C (GetCellNumber): put an assert here instead of the check!
15126
15127 2001-07-17  Juergen Vigna  <jug@sad.it>
15128
15129         * BufferView_pimpl.C (toggleSelection): adapted too.
15130
15131         * text.C (selectNextWord): adapted for use with insets.
15132         (selectSelectedWord): ditto
15133
15134 2001-07-17  Juergen Vigna  <jug@sad.it>
15135
15136         * sp_spell.C (PSpell): fix initialitation order.
15137
15138 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * paragraph.C: spacing
15141
15142 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15143
15144         * sp_spell.C: repair language selection for pspell
15145
15146 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * lyxfunc.h: change more methods to begin with lower char.
15149
15150 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15153         for unknown layouts.
15154
15155 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15156
15157         * buffer.C (readLyXformat2): Generate an error dialog if there are
15158         unknown layouts.
15159
15160 2001-07-16  Juergen Vigna  <jug@sad.it>
15161
15162         * sp_spell.C: always compile ISpell part.
15163
15164         * lyxrc.C: added use_pspell entry and it's handling.
15165
15166 2001-07-13  Juergen Vigna  <jug@sad.it>
15167
15168         * sp_spell.C: removed double includes.
15169
15170 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15171
15172         Consistent use of Lsstream.h:
15173         * Lsstream.h: added using std::stringstream for consistencies sake.
15174
15175         * buffer.C: removed using std::stringstream
15176
15177         * lyxfont.C (stateText):
15178         * paragraph.C (asString):
15179         * text.C (selectNextWord, selectSelectedWord):
15180         * text2.C (setCounter):
15181         * vspace.C (asString, asLatexString):
15182         std::ostringstream -> ostringstream.
15183
15184 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15185
15186         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15187         * commandtags.h: add LFUN_HELP_ABOUTLYX
15188         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15189
15190 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15191
15192         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15193         cursorToggle()
15194         * lyx_gui_misc.C: remove spellchecker
15195         * lyxfunc.C: showSpellchecker
15196         * sp_base.h: added
15197         * sp_ispell.h: added
15198         * sp_pspell.h: added
15199         * sp_spell.C: added
15200         * sp_form.[Ch]: removed
15201         * spellchecker.[Ch]: removed
15202
15203 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15204
15205         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15206         is set.
15207         (simpleTeXSpecialChars): Simply print the input character without
15208         any special translation if pass_thru is set.
15209
15210         * layout.h: Added bool pass_thru to layout class for being able to
15211         implement pass through of a paragraph for Literate Programming.
15212
15213         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15214         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15215         * layout.C (Read): add "passthru" to list of layout tags and add
15216         code to set the pass_thru boolean when it is read.
15217
15218 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15219
15220         * trans_decl.h: remove allowed from KmodInfo
15221
15222         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15223         remove allowed code
15224         (Load): adjust
15225
15226         * paragraph_pimpl.C (erase): use boost::prior
15227
15228         * Painter.C (text): use data() instead of c_str() when length is
15229         also provided.
15230         * WorkArea.C (putClipboard): ditto
15231         * font.h (width): ditto
15232
15233         * BufferView2.C: use it-> instead of (*it). for iterators
15234         * texrow.C: ditto
15235         * paragraph_pimpl.C: ditto
15236         * paragraph.C: ditto
15237         * minibuffer.C: ditto
15238         * language.C: ditto
15239         * kbmap.C: ditto
15240         * encoding.C: ditto
15241         * counters.C: ditto
15242         * converter.C: ditto
15243         * chset.C: ditto
15244         * Variables.C: ditto
15245         * TextCache.C: ditto
15246         * MenuBackend.C: ditto
15247         * LyXAction.C: ditto
15248         * LColor.C: ditto
15249         * FloatList.C: ditto
15250         * DepTable.C: ditto
15251         * ColorHandler.C (LyXColorHandler): ditto
15252
15253 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15254
15255         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15256
15257         * text2.C (openStuff): reintroduce this method (which had been
15258         nuked in NEW_INSETS frenzy).
15259
15260         * lyxfunc.C (Dispatch): when an action has not been handled, use
15261         its name in the error message, not its number.
15262
15263         * paragraph.C (inInset): change method name to begin with lowercase.
15264
15265         * undo_funcs.C:
15266         * text2.C: updates because of this.
15267
15268 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15269
15270         * ToolbarDefaults.C (add): add spaces in error message
15271
15272 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15273
15274         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15275         (readLyXformat2): rename return_par to first_par, use lyxlex's
15276         pushToken and remove the manual push handling.
15277         (parseSingleLyXformat2Token): add another ert comp. variable:
15278         in_tabular, rename return_par to first_par. handle newlines better
15279
15280 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15283
15284 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * text2.C (getParFromID): removed
15287
15288         * buffer.C (getParFromID): new method moved form lyxtext.
15289         * BufferView2.C (insertErrors): adjust
15290         (setCursorFromRow): adjust
15291         * BufferView_pimpl.C (restorePosition): adjust
15292         * lyxfunc.C (Dispatch): adjust
15293         * undo_funcs.C (textUndo): adjust
15294         (textRedo): adjust
15295         (textHandleUndo): adjust
15296         (textHandleUndo): adjust
15297
15298 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * buffer.C: up' the LYX_FORMAT
15301
15302         * lyxfont.h: turn NO_LATEX on as default
15303
15304         * buffer.C (insertErtContents): new methods of tex style compability.
15305         (parseSingleLyXformat2Token): use it several places.
15306         * tabular.C (OldFormatRead): and here
15307
15308 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15309
15310         * text2.C: remove some commented code.
15311         reindent file.
15312
15313         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15314         * trans.C: changes because of the above.
15315
15316 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15317
15318         * text2.C (setCounter): Fix counters bug with bibliography layout.
15319
15320 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15323         own member functions
15324         (simpleTeXSpecialChars): ditto
15325
15326 2001-07-06  Juergen Vigna  <jug@sad.it>
15327
15328         * a lot of files: changed the access to LyXText::status and the
15329         call of undo-functions.
15330
15331         * undo.[Ch]: added a inset_id to the undo informations.
15332
15333         * undo_funcs.[Ch]: added and moved here all undo functions.
15334
15335         * lyxtext.h: give the status enum a weight, made status_ a private
15336         variable and made accessor functions for it, removed the whole bunch
15337         of undo-functions as they are now in their own file, make some
15338         functions publically available. Added function ownerParagraph with
15339         int parameter.
15340
15341         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15342         made InInset() a const function, added getParFromID() function.
15343
15344         * buffer.[Ch]: added const version for inset_iterator functions,
15345         added getInsetFromID() function.
15346
15347         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15348         changed undo functions for new version.
15349
15350 2001-07-05  Juergen Vigna  <jug@sad.it>
15351
15352         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15353         unknow mechanism does not call the proper constructor but only this
15354         one also if I request the other!?
15355
15356 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15357
15358         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15359
15360         * text2.C (LyXText): use initialization lists.
15361
15362         * lyxtext.h (Selection): initialize set_ and mark_
15363         (init): remove method
15364
15365 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15366
15367         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15368
15369 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * screen.[Ch]: change method names to begin with lowercase
15372
15373         * BufferView_pimpl.C (updateScrollbar): simplify further and
15374         hopefully make it a bit faster.
15375
15376 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15377
15378         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15379         calling directly xforms functions.
15380
15381         * Painter.C (Painter):
15382         * lyx_cb.C (MenuWrite):
15383         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15384         fl_display.
15385
15386         * lyx_gui.C: remove bogus guiruntime extern declaration.
15387
15388 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15391         in NEW_INSETS
15392         (redoDrawingOfParagraph): ditto
15393         (redoParagraphs): ditto
15394         (cutSelection): don't create a object for CutAndPaste use the
15395         static method directly
15396         (pasteSelection): ditto
15397
15398         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15399         LyXview (+ rename)
15400
15401 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15402
15403         * modifications to some other files because of this.
15404
15405         * Makefile.am (lyx_SOURCES): add XFormsView
15406
15407         * XFormsView.[Ch]: new files
15408
15409         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15410         the main window. Move the gui dependent stuff to XFormsView
15411
15412 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * tabular.C (GetCellInset): update cur_cell also in the row/col
15415         version of this function.
15416
15417         * lyxfunc.C: no need to include figure_form.h here.
15418
15419         * FontLoader.h:
15420         * lyxfunc.h:
15421         * lyxscreen.h:
15422         * text2.C:
15423         * lyxvc.C: no need to include forms.h here.
15424
15425 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15428
15429         * lyxfunc.C (Dispatch):
15430         * Spacing.C (set):
15431         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15432         constructor argument.
15433
15434 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * paragraph.C (Paragraph): dont't clear, and just set layout.
15437         (makeSameLayout): use params's copy contructor.
15438
15439         * ParagraphParameters.[Ch] (makeSame): delete method
15440
15441 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15442
15443         * Variables.[Ch]: fix indentation, rename set to isSet
15444
15445 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15446
15447         * lyxfunc.C (Dispatch): fix typo
15448
15449 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15450
15451         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15452         upper_bound.
15453
15454         * bufferlist.C: include assert.h for emergencyWrite().
15455
15456 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15457
15458         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15459           give up at last (bug #425202) !
15460
15461 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15462
15463         * lyx_gui_misc.C:
15464         * sp_form.h:
15465         * sp_form.C:
15466         * spellchecker.h:
15467         * spellchecker.C: strip spellchecker options and bring up
15468           preferences tab instead
15469
15470 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15473         the istringstream constructor
15474
15475 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15476
15477         * paragraph.C (getLayout): fix return value
15478
15479         * paragraph.h: do not declare getLayout as inline.
15480
15481         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15482
15483 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15484
15485         * lyxcursor.h (operator<): new func
15486         (operator>): new func
15487         (operator>=): new func
15488         (operator<=): new func
15489
15490         * text.C (changeCase): use selection.start and selection.end
15491         (changeRegionCase): require from to be <= to. Require par to be a
15492         valid paragraph.
15493
15494         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15495
15496 2001-06-27  Juergen Vigna  <jug@sad.it>
15497
15498         * text.C (cursorLeftOneWord): changed to return the cursor and added
15499         overlay with BufferView * parameter which calls this one.
15500         (getWord): added
15501         (selectWord): use new getWord function.
15502         (changeCase): renamed from changeWordCase as and extended to work
15503         also on selections.
15504
15505         * lyxtext.h: added enum word_location
15506
15507         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15508         changeCase as this operates now also on selections.
15509
15510 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15511
15512         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15513
15514         * many files: send debug output to Debug::INFO instead of
15515         Debug::ANY.
15516
15517         * converter.C (View):
15518         (Convert):
15519         (Move): send debug output to Debug::FILES instead of console.
15520
15521 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15522
15523         * lyxfunc.C (getStatus): use func_status
15524
15525         * func_status.h: new header, describing the results of
15526         LyXFunc::getStatus;
15527
15528         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15529         LFUN_MATH_HALIGN.
15530
15531 2001-06-25  The LyX Project  <jug@sad.it>
15532
15533         * buffer.C (sgmlOpenTag):
15534         (sgmlCloseTag):
15535         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15536
15537 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15538
15539         * text2.C: remove some dead code
15540
15541         * tabular.C (GetCellInset): store the last cell checked (gotten)
15542
15543         * tabular.h: add the helper for the speedup
15544
15545         * lyxtext.h: remove some dead code
15546
15547 2001-06-26  The LyX Project  <Asger>
15548
15549         * paragraph.C: Change export to LaTeX of alignment to
15550         \begin{center} and family for better roundtrip work with reLyX.
15551
15552         * Tune the math drawing a bit.
15553
15554 2001-06-25  The LyX Project  <Asger>
15555
15556         * LColor.C (LColor): New color for math background. New color
15557         for buttons.
15558
15559 2001-06-25  The LyX Project  <jug@sad.it>
15560
15561         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15562
15563         * lyxfunc.C (Open):
15564         * bufferlist.C (newFile): do not restrict to files ending with
15565         .lyx
15566
15567         * BufferView_pimpl.C (MenuInsertLyXFile):
15568
15569 2001-06-24  The LyX Project  <jug@sad.it>
15570
15571         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15572         of compare_no_case
15573
15574 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15575
15576         * lyxtext.h: rename most methods to begin with a small char.
15577         Lots of changes because of this.
15578
15579         * paragraph.C (Paragraph): do not call fitToSize
15580         (erase): call Pimpl::erase
15581         (insertChar): call Pimpl::insertChar
15582         (insertInset): call Pipl::insertInset
15583         (breakParagraph): do not call fitToSize
15584         (breakParagraphConservative): do not call fitToSize
15585         (fitToSize): remove method
15586
15587         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15588
15589 2001-06-24  The LyX Project  <Asger>
15590
15591         * Fix Qt compilation^2
15592
15593 2001-06-24  The LyX Project  <jug@sad.it>
15594
15595         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15596         depthHook(getDepth()-1).
15597
15598         * paragraph.h:
15599         * ParagraphParameters.h:
15600         * ParameterStruct.h: change type of depth to unsigned int ==
15601         depth_type. Many adaptations to other files before of that.
15602
15603 2001-06-24  The LyX Project  <Asger>
15604
15605         * Fix Qt compilation.
15606
15607 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15608
15609         * paragraph.h: renamed several methods to begin with small letter.
15610         several changes to many parts of the code because of this.
15611
15612 2001-06-23  The LyX Project  <jug@sad.it>
15613
15614         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15615         rewritten to discard all double spaces when KeepEmpty is off
15616         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15617         to only handle newlines but not fiddle with spaces and friends.
15618
15619         * lyxfunc.C (MenuNew): when doing 'new from template', use
15620         template_path as default directory
15621
15622 2001-06-23  The LyX Project  <Asger>
15623
15624         * Clean-up of header file includes all over
15625         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15626
15627 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15628
15629         * paragraph.h: renamed from lyxparagraph.h
15630
15631 2001-06-23  Asger  <lyx@violet.home.sad.it>
15632
15633         * Buffer.h: Removed Buffer::resize
15634         * BufferList.h: Removed BufferList::resize
15635         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15636         the document lazily when we change the width, or the font settings.
15637
15638 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15639
15640         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15641
15642 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15643
15644         * buffer.h: remove out of date comment
15645
15646 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15647
15648         * lyxscreen.h:
15649         * screen.C: fix "theoretical" GC leak
15650
15651 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * LaTeX.C (scanAuxFile):
15654         (deplog): remove trailing \r when reading stream (useful under
15655         win32)
15656
15657 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15658
15659         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15660         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15661         and BufferView::theLockingInset(Inset*), so should use them and not
15662         access bv_->text->the_locking_inset directly.
15663
15664         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15665
15666 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15667
15668         * Makefile.am:
15669         * tex-defs.h: remove old unused file
15670
15671 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15672
15673         * BufferView_pimpl.C: fix typo, remove minibuffer message
15674           when buffer has loaded
15675
15676 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15677
15678         * lyxfunc.C (Dispatch): use stringstream
15679         (MenuNew): use stringstream
15680         (Open): use stringstream
15681
15682         * importer.C (Import): use stringstream
15683
15684         * bufferview_funcs.C (CurrentState): use stringstream
15685
15686         * LaTeX.C (run): use stringstream
15687
15688         * BufferView_pimpl.C (savePosition): use stringstream
15689         (restorePosition): use stringstream
15690         (MenuInsertLyXFile): use stringstream
15691
15692 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15693
15694         * BufferView.C:
15695         * Bullet.C:
15696         * ColorHandler.C:
15697         * FontInfo.C:
15698         * FontLoader.C:
15699         * LColor.C:
15700         * LaTeXFeatures.C:
15701         * Painter.C:
15702         * gettext.C:
15703         * lyx_gui_misc.C:
15704         * lyxserver.C:
15705         * vspace.C: removed // -*- C++ -*- as first line.
15706
15707         * lyxfind.h:
15708         * version.h: added // -*- C++ -*- as first line.
15709
15710 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15711
15712         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15713
15714         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15715         of string
15716
15717 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15718
15719         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15720         of floats.
15721
15722 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * gettext.C: include LString.h even when --disable-nls is on.
15725
15726 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15727
15728         * converter.h (Get): changed argument type from int to
15729         FormatList::size_type to avoid unnecessary conversion.
15730
15731         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15732         before using it.
15733
15734 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15735
15736         * gettext.h: include LString.h even when --disable-nls is on.
15737
15738 2001-06-07  Juergen Vigna  <jug@sad.it>
15739
15740         * text.C (BreakAgain): subst spaces with tabs.
15741
15742         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15743         (resizeInsetsLyXText): set force on resizeLyXText.
15744
15745 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * gettext.h (gettext_init):
15748         (locale_init): use a real definition instead of a macro
15749
15750 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15751
15752         * Bufferview_pimpl.C:
15753         * LColor.h:
15754         * LColor.C: further lcolor tidies
15755
15756 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15757
15758         * BufferView_pimpl.C (updateScrollbar): simplify.
15759
15760         * BufferView2.C: don't include insets/insetinfo.h, change
15761         prototype for insertInset and call the Pimpl version. let
15762         updateInset call Pimpl version.
15763
15764         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15765         gotoInset to BufferView::Pimpl
15766
15767 2001-06-01  Juergen Vigna  <jug@sad.it>
15768
15769         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15770         inside a LockingInset (is the update needed at all?).
15771
15772 2001-05-31  Juergen Vigna  <jug@sad.it>
15773
15774         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15775         here not the old one otherwise how should we compare it afterwards
15776         if it's the same!
15777
15778 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15779
15780         * lyxfont.C:
15781         * tabular.C:
15782         * tabular-old.C:
15783         * FontInfo.C: bring C functions into global namespace when
15784         necessary
15785
15786 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15787
15788         * LString.h: make sure config.h has been loaded before LString.h.
15789
15790         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15791         (one for each char read by EatLine!).
15792
15793         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15794         variables.
15795
15796 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15797
15798         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15799         to the same as the par we break from
15800
15801 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15802
15803         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15804
15805         * MenuBackend.C (expand): also create menu entries for wide
15806         versions of the floats.
15807
15808         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15809
15810         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15811
15812         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15813         frontends/Makefile.am
15814
15815         * text2.C: adjust
15816         * text.C: adjust
15817
15818
15819         * tabular.C (getTokenValue): add std::
15820
15821         * tabular-old.C (getTokenValue): add std::
15822         (getTokenValue): ditto
15823         (getTokenValue): ditto
15824
15825         * screen.C (ToggleSelection): adjust
15826
15827         * lyxtext.h: put selection cursors inside a Selection struct.
15828
15829         * lyxfunc.C (moveCursorUpdate): adjust
15830
15831         * lyxfont.C (latexWriteStartChanges): add std::
15832
15833         * lyxfind.C: adjust
15834
15835         * font.h: delete with(char const *, LyXFont const &)
15836
15837         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15838
15839         * FontInfo.C (getFontname): add std::
15840
15841         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15842         (workAreaButtonPress): adjust
15843         (tripleClick): adjust
15844         (update): adjust
15845         (moveCursorUpdate): adjust
15846         (Dispatch): adjust
15847
15848         * BufferView2.C (gotoInset): adjust
15849
15850 2001-05-30  Juergen Vigna  <jug@sad.it>
15851
15852         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15853         to check pspell I add this as default as I now have new pspell
15854         libraries and they seem to use this.
15855
15856 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15857
15858         * text2.C (CutSelection): make the cursor valid before the call to
15859         ClearSelection.
15860
15861 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15862
15863         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15864         relied on 0 terminated strings and other horrors. Bug found due to
15865         the new assert in lyxstring!
15866
15867         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15868         KP_ keys.
15869
15870 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15871
15872         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15873         to latinkeys.bind.
15874
15875         * lyxfunc.C (processKeySym): change method of getting to the
15876         self-insert char.
15877
15878         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15879         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15880         * BufferView_pimpl.[Ch]: here as private methods.
15881
15882 2001-05-28  Juergen Vigna  <jug@sad.it>
15883
15884         * text.C (SetHeightOfRow): added the update() call again as it is
15885         needed to initialize inset dimensions!
15886
15887 2001-05-16  Juergen Vigna  <jug@sad.it>
15888
15889         * text2.C (SetCharFont): Add new function with BufferView * and
15890         bool toggleall parameters for setting insets internal fonts.
15891         (SetFont): Freeze the undo as we may change fonts in Insets and
15892         all this change should be inside only one Undo!
15893
15894         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15895         setting font's in insets as for them we have the SetFont function!
15896
15897 2001-05-15  Juergen Vigna  <jug@sad.it>
15898
15899         * text2.C (ClearSelection): to be sure we REALLY don't have any
15900         selection anymore!
15901
15902         * tabular.C (TeXCellPreamble): fixed the left border problem for
15903         multicolumn cells.
15904
15905 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15906
15907         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15908         dependancy file
15909
15910 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15913         LFUN_BREAKPARAGRAPH.
15914
15915         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15916         help test to "internal only", similar for LFUN_INSERT_URL
15917
15918         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15919         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15920         auto_region_delete and deadkeys.
15921
15922 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15923
15924         * LColor.h:
15925         * LColor.C: remove some dead entries, tidy a little
15926
15927 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15928
15929         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15930         commented code.
15931         (Dispatch): implement LFUN_ESCAPE
15932
15933         * commandtags.h: add LFUN_ESCAPE
15934
15935         * LyXAction.C (init): add entry for LFUN_ESCAPE
15936
15937         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15938         Remove commented code.
15939         (insertNote): moved here
15940         (open_new_inset): moved here
15941
15942         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15943         BufferView_pimpl
15944
15945 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15946
15947         * kbmap.C (findbinding): clean it up and make it work correctly.
15948
15949         * lyx_main.C (init): do not pass argc and argv as parameters
15950
15951 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15952
15953         * buffer.C: fix path for OS/2 & Win32
15954
15955         * lyx_gui.C:
15956         * lyx_main:
15957         * lyx_main.C: Added os:: class.
15958
15959         * os2_defines.h: update
15960
15961 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15962
15963         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15964         better by trying again with reduced state.
15965
15966 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15967
15968         * lyxrc.C (read): print error about invalid key sequence only when
15969         debugging (because not all latinX keysyms are known to some X
15970         servers)
15971
15972         * kbsequence.C (getiso): add a few std:: qualifiers
15973         (getiso): comment out extra return statement.
15974
15975 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15978         handling.
15979         (Dispatch): enhance the accent inset a bit. (not perfect)
15980
15981 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15982
15983         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15984
15985 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15986
15987         * bufferlist.C (emergencyWrite): fix assert() call
15988
15989 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15990
15991         * text.C (InsertChar): Added trivial patch to only send the "you
15992         can not do multiple spaces this way" message once during a
15993         session.
15994
15995 2001-05-08  Baruch Even  <baruch@lyx.org>
15996
15997         * Makefile.am: Changed order of libraries to get LyX to link properly
15998         with the gnome frontend.
15999
16000 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16001
16002         * LaTeXFeatures.h: add a std:: qualifier
16003
16004 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16005
16006         * paragraph.C (String): use stringstream
16007
16008 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16009
16010         * paragraph.C (writeFile): remove footflag arg
16011
16012         * buffer.C (makeLaTeXFile): use stringstream
16013         (latexParagraphs): remove footnot gurba
16014
16015         * LaTeXFeatures.C (getPackages): use stringstream
16016         (getMacros): likewise
16017         (getTClassPreamble): likewise
16018         (getFloatDefinitions): new method
16019
16020         * paragraph.C (writeFile): reindent
16021         (Erase): reindent
16022
16023         * WorkArea.h: revert the xpos + etc changes.
16024
16025         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16026
16027         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16028
16029         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16030         (pasteSelection): likewise
16031         * text2.C (CreateUndo): likewise
16032
16033 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16034
16035         * minibuffer.C (peek_event): temporarily reduce the functionality
16036         of the minibuffer (to allow args on lfuns)
16037
16038         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16039         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16040
16041         * buffer.C (readInset): add compability reading of old float
16042         lists, add reading of new style float list.
16043         (readInset): avoid reevaluation of inscmd.getCmdName()
16044         (getLists): reindent
16045
16046         * MenuBackend.C (MenuItem): implement parsing of
16047         md_floatlistinsert and md_floatinsert.
16048         (expand::LastFiles): move initalizaton of iterators out of loop,
16049         avoid reevaluation.
16050         (expand::Documents): introduce typdedef vector<string> Strings,
16051         and use it.
16052         (expand::ExportFormats): introduce typedef vector<Format const *>
16053         Formats, and use it.
16054         (expand): implement FloatListInsert and FloatInsert.
16055
16056         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16057         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16058         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16059
16060         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16061         handling.
16062         (Dispatch::LFUN_FLOAT_LIST): implement
16063
16064 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16065
16066         * LaTeX.C (run): Fix problem with --export code.
16067
16068 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16069
16070         * BufferView.[Ch] (workarea): removed.
16071         (getClipboard) new method; wrapper for workarea()->getClipboard()
16072
16073         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16074         bug.
16075
16076         * WorkArea.h (width, height, xpos, ypos): These methods all
16077         returned the dimensions of the work_area sub-area of WorkArea,
16078         resulting in a position error if the WorkArea were resized. Now
16079         return the dimensions of the entire WorkArea.
16080
16081         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16082
16083 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16084
16085         * LaTeX.C (deplog): correct the syntax of regex reg1
16086
16087 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * undo.C: remove !NEW_INSETS cruft
16090
16091 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16092
16093         * text2.C: remove !NEW_INSETS cruft
16094
16095         * text.C: remove !NEW_INSETS cruft
16096
16097         * tabular.C: remove !NEW_INSETS cruft
16098
16099         * spellchecker.C: remove !NEW_INSETS cruft
16100
16101         * lyxtext.h: remove !NEW_INSETS cruft
16102
16103         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16104
16105         * lyxfunc.C: remove !NEW_INSETS cruft
16106
16107         * lyxfind.C: remove !NEW_INSETS cruft
16108
16109         * lyx_cb.C: remove !NEW_INSETS cruft
16110
16111         * figureForm.C: remove  !NEW_INSETS cruft
16112
16113         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16114
16115         * buffer.[Ch]: remove !NEW_INSETS cruft
16116
16117         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16118
16119         * CutAndPaste.C: remove !NEW_INSETS cruft
16120
16121         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16122
16123         * BufferView2.C: remove !NEW_INSETS cruft
16124
16125         * BufferView.h: remove !NEW_INSETS cruft
16126
16127 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16128
16129         * Lsstream.h: include LString.h before the sstream headers to
16130         fix problem with gcc 2.95.3 and lyxstring
16131
16132 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16133
16134         * lyx_main.C: add using directives when needed for C functions
16135         declared in std:: namespace.
16136
16137 2001-04-27  Juergen Vigna  <jug@sad.it>
16138
16139         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16140         (SetHeightOfRow): comment out the update call should not be needed!
16141
16142 2001-04-13  Juergen Vigna  <jug@sad.it>
16143
16144         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16145         (LyXTabular): tried to minimize operator= operations (and realized
16146         hopfully Lars wish).
16147
16148 2001-04-27  Juergen Vigna  <jug@sad.it>
16149
16150         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16151
16152 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16155
16156         * buffer.C (readInset): hack to make listof algorithm work
16157
16158         * BufferView_pimpl.C: hack to make listof algorithm work
16159
16160 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16161
16162         * LyXAction.C: removed all !NEW_INSETS cruft
16163         (init): moved lfun_item in method
16164
16165         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16166
16167 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16168
16169         * BufferView2.C (theLockingInset): white space.
16170
16171 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16172
16173         * minibuffer.C: include <iostream>
16174
16175         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16176
16177         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16178
16179         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16180
16181         * text.[Ch] (TransposeChars): new method
16182
16183 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16184
16185         * call message directly through LyXView instead of through LyXFunc
16186         * BufferView2.C: adjust
16187         * BufferView_pimpl.C: adjust
16188         * FontLoader.C: adjust
16189         * buffer.C: adjust
16190         * bufferview_funcs.C: adjust
16191         * converter.C: adjust
16192         * figureForm.C: adjust
16193         * importer.C: adjust
16194         * lyx_cb.C: adjust
16195         * lyx_gui_misc.C: adjust
16196         * lyxfunc.C: adjust
16197         * lyxvc.C: adjust
16198         * text2.C: adjust
16199         + more files in subdirs
16200
16201         * lyxparagraph.h (size): move up int file
16202         (GetLayout): ditto
16203
16204         * adjust all uses of Assert to lyx::Assert.
16205
16206         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16207         lyxfunctional in namespace lyx
16208         * layout.C (hasLayout): ditto
16209         (GetLayout): ditto
16210         (GetLayout): ditto
16211         (delete_layout): ditto
16212         (NumberOfClass): ditto
16213         * converter.C (GetFormat): ditto
16214         (GetNumber): ditto
16215         (Add): ditto
16216         (Delete): ditto
16217         (SetViewer): ditto
16218         * bufferlist.C (getFileNames): ditto
16219         (emergencyWriteAll): ditto
16220         (exists): ditto
16221         (getBuffer): ditto
16222         * MenuBackend.C (hasSubmenu): ditto
16223         (hasMenu): ditto
16224         (getMenu): ditto
16225         * BufferView_pimpl.C (getInsetByCode): ditto
16226
16227 2001-04-18  Juergen Vigna  <jug@sad.it>
16228
16229         * vspace.C (asLatexString): fixed the 100% problem.
16230
16231 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16232
16233         * lyxfunc.C (Dispatch):
16234         * minibuffer.C:
16235         * minibuffer.h: add a few std:: qualifiers
16236
16237 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16238
16239         * minibuffer.[Ch]: reimplement so that commands is initiated and
16240         run from lyxfunc, simplified som handling, and made the completion
16241         and history code for complete. wip.
16242
16243         * lyxfunc.C (processKeySym): call message
16244         (miniDispatch): new temporary method
16245         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16246         (LFUN_MESSAGE): implement
16247         (LFUN_MESSAGE_PUSH): implement
16248         (LFUN_MESSAGE_POP): implement
16249         (initMiniBuffer): the initial/defualt minibuffer message.
16250
16251         * lyxfont.[Ch]: inline some more getters
16252
16253         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16254
16255         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16256
16257         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16258         (AutoSave): use LFUN_MESSAGE
16259         (Reconfigure): ditto
16260
16261         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16262
16263         * figureForm.C: use LFUN_MESSAGE
16264
16265         * converter.C (runLaTeX): use LFUN_MESSAGE
16266
16267         * bufferview_funcs.C: use LFUN_MESSAGE
16268         (Melt): ditto
16269         (changeDepth): ditto
16270
16271         * bufferparams.h: use boost::
16272
16273         * bufferlist.h: inherit privately from noncopyable
16274
16275         * bufferlist.C (loadLyXFile): remove some commented code.
16276
16277         * buffer.C (runChktex): use LFUN_MESSAGE
16278
16279         * ShareContainer.h: inherit privately from noncopyable
16280
16281         * ParagraphParameters.[hC] (depth): inline it.
16282
16283         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16284         methods.
16285         (message): new method
16286         (messagePush): ditto
16287         (messagePop): ditto
16288         (show): init minibuffer
16289         (showState): direct call
16290
16291         * LaTeX.[Ch]: inherit privately from noncopyable
16292         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16293         instead of WriteStatus.
16294
16295         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16296
16297         * BufferView_pimpl.C (buffer): don't init minibuffer
16298         (workAreaButtonPress): use LFUN_MESSAGE
16299         (workAreaButtonRelease): ditto
16300         (savePosition): ditto
16301         (restorePosition): ditto
16302         (MenuInsertLyXFile): ditto
16303         (workAreaExpose): don't init minibuffer
16304         (update): remove commented code, simplify
16305
16306         * BufferView2.C (openStuff): use LFUN_MESSAGE
16307         (toggleFloat): ditto
16308         (menuUndo): ditto
16309         (menuRedo): ditto
16310         (copyEnvironment): ditto
16311         (pasteEnvironment): ditto
16312         (copy): ditto
16313         (cut): ditto
16314         (paste): ditto
16315         (gotoInset): ditto
16316         (updateInset): remove some commented code
16317
16318         * lastfiles.h: inherit privately from noncopyable
16319         * layout.h: ditto
16320         * lyx_gui.h: ditto
16321         * lyx_main.h: ditto
16322         * lyxlex.h: ditto
16323         * lyxlex_pimpl.h: ditto
16324
16325         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16326         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16327         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16328
16329         * LyXAction.h: inherit privately from noncopyable, add methods
16330         func_begin, func_end, returning iterators to the func map.
16331
16332         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16333         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16334         (func_begin): new method
16335         (func_end): new method
16336
16337         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16338         and not)
16339         (copySelection): ditto
16340         (pasteSelection): ditto
16341
16342         * BufferView.C: whitespace change
16343         * BufferView.h: inherit privately from noncopyable
16344
16345 2001-04-16  Allan Rae  <rae@lyx.org>
16346
16347         * tabular-old.C (l_getline):
16348         * spellchecker.C (sc_check_word):
16349         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16350         an unrecognised preprocessor directive.  So ensure they're wrapped.
16351
16352 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16353
16354         * src/exporter.C (Export): Give an error message when path to file
16355         contains spaces.
16356
16357 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16358
16359         * LaTeX.C (deplog): Always check that foundfile exists.
16360
16361 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16362
16363         * lyx_main.h:
16364         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16365
16366 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16367
16368         * tabular.[Ch] (getLabelList): implement new method
16369
16370         * minibuffer.h: comment ouf setTiimer
16371
16372         * minibuffer.C (ExecutingCB): constify res
16373         (peek_event): constify s
16374         (Set): constify ntext
16375         (Init): constify nicename
16376
16377         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16378
16379         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16380         (savePosition): use two params to Minibuffer::Set
16381         (restorePosition): ditto
16382
16383 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16384
16385         * lyx_main.C: include language.h
16386
16387         * Makefile.am (lyx_main.o): add language.h
16388
16389 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16390
16391         * exporter.C:
16392         * paragraph.C:
16393         * screen.C:
16394         * tabular.C:
16395         * CutAndPaste.C: include gettext.h
16396
16397         * lyxfont.h: remove old hack with ON and OFF.
16398
16399         * lyxparagraph.h:
16400         * lyxfont.h: do not include language.h...
16401
16402         * BufferView2.C:
16403         * LaTeXFeatures.C:
16404         * Painter.C:
16405         * bufferview_funcs.C:
16406         * font.C:
16407         * lyxfont.C:
16408         * text.C:
16409         * text2.C:
16410         * trans_mgr.C:
16411         * paragraph.C: ... but do it here instead
16412
16413 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16416
16417         * tabular.C: small reformat
16418
16419         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16420         NEW_INSETS version
16421         (GetChar): ditto
16422         (BreakParagraph): ditto
16423         (SetOnlyLayout): ditto
16424         (SetLayout): ditto
16425
16426         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16427         with one arg less.
16428
16429         * lastfiles.C: removed most using decl, add std:: where needed
16430
16431         * buffer.C: ws changes
16432
16433         * MenuBackend.C (class compare_format): put into anon namespace
16434         (expand): constify label, names, action, action2
16435         (expand):
16436
16437         * text.C (SingleWidth): constify font
16438         (IsBoundary): constify rtl2
16439         (GetVisibleRow): constify ww
16440
16441         * LaTeX.C (deplog): constify logfile
16442
16443         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16444         start_x, end_x
16445         (workAreaExpose): constify widthChange, heightChange
16446
16447         * lyxrow.C (par): moved
16448         (height): moved
16449         (next): moved
16450         * lyxrow.h: as inlines here
16451
16452         * lyxfont.h (shape): moved from lyxfont.C
16453         (emph): moved from lyxfont.C
16454
16455         * lyxfont.C (LyXFont): use initialization list for all
16456         constructors
16457         (shape): move to lyxfont.h as inline
16458         (emph): move to lyxfont.h as inline
16459
16460
16461 2001-04-04  Juergen Vigna  <jug@sad.it>
16462
16463         * vspace.C: had to include stdio.h for use of sscanf
16464
16465 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16466
16467         * BufferView.h:
16468         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16469         independent of xforms.
16470
16471 2001-04-02  Juergen Vigna  <jug@sad.it>
16472
16473         * spellchecker.C: fixed namespace placing!
16474
16475 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16476
16477         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16478         the LyXParagraph * is 0.
16479
16480 2001-03-29  Juergen Vigna  <jug@sad.it>
16481
16482         * vspace.C: added support for %, c%, p%, l%.
16483         (stringFromUnit): added helper function.
16484         (asLatexString): changed to give right results for the %-values.
16485
16486         * buffer.C: convert the widthp in a width%.
16487
16488 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16489
16490         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16491         figureForm.[Ch].
16492
16493         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16494         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16495
16496         * lyx_cb.[Ch]: see above.
16497
16498         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16499         form1.[Ch].
16500
16501         * form1.[Ch]:
16502         * lyx.[Ch]: replaced by figure_form.[Ch].
16503
16504         * lyx_gui.C:
16505         * lyx_gui_misc.C:
16506         * lyxfunc.C: changed headers associated with above changes.
16507
16508 2001-03-27  Juergen Vigna  <jug@sad.it>
16509
16510         * BufferView_pimpl.C: set the temporary cursor right!
16511
16512 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16513
16514         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16515
16516 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16517
16518         * LString.h: removed "using std::getline"!
16519
16520         * BufferView_pimpl.C (Dispatch): changes due to changes in
16521         InsetInclude::Params.
16522
16523         * buffer.C (tag_name): removed redundant break statements as they were
16524         producing lots of warnings with my compiler.
16525
16526 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16527
16528         * LString.h: add "using std::getline" when using the real <string>.
16529
16530 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16531
16532         * buffer.C: removed bitset usage.
16533         PAR_TAG moved to an anonymous name space.
16534         (tag_name): new funtion, also in the anonymous namespace.
16535         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16536         (makeDocBookFile): clean code. Completed transition from string arrays
16537         to string vectors.
16538         (SimpleDocBookOnePar): code clean.
16539
16540 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16541
16542         * tabular.C: add some comments.
16543
16544 2001-03-22  Juergen Vigna  <jug@sad.it>
16545
16546         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16547         compatibility read a bit and fixed bug with minipage in different
16548         depth.
16549
16550 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16551
16552         * buffer.C (pop_tag): removed.
16553         (push_tag): removed.
16554         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16555         array replaced with vector. Added support for CDATA sections.
16556         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16557         at any nest level.
16558         (makeDocBookFile): XML conformant declaration of CDATA section,
16559         fixed bug related to <emphasis> in the first paragraph char.
16560         (sgmlOpenTag): exclude empty tags.
16561         (sgmlCloseTag): ditto.
16562
16563         * buffer.h (pop_tag): removed.
16564         (push_tag): removed.
16565
16566 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16567
16568         * language.h (Languages): added size_type and size().
16569
16570 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16571
16572         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16573         response on compability reading of minipages. One probliem is that
16574         the old usage of minipages was «flertydig»
16575
16576         * several files here and in subdirs: don't use static at file
16577         scope use anon namespaces instead.
16578
16579 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16580
16581         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16582         LaTeX output. This is necessary for Literate document
16583         processing.
16584
16585 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16586
16587         * buffer.C: insert hfill when needed.
16588
16589         * tabular.C (l_getline): use string::erase, small whitespace change.
16590
16591         * BufferView_pimpl.C: try the anon namespace.
16592         * WorkArea.C: ditto
16593
16594 2001-03-16  Juergen Vigna  <jug@sad.it>
16595
16596         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16597         otherwise it won't open options-dialogs.
16598
16599         * buffer.C: honor pextraWidth(p) on converting minipages.
16600
16601         * tabular.C (l_getline): changed the functions to strip trailing \r.
16602
16603 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16604
16605         * BufferView_pimpl.C:
16606         * minibuffer..C: added "using SigC::slot" declaration.
16607
16608 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16609
16610         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16611
16612         * text2.C: ditto
16613
16614         * text.C: ditto
16615
16616         * paragraph.C: ditto
16617
16618         * lyxtext.h: NO_PEXTRA
16619
16620         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16621
16622         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16623         * ParameterStruct.h: ditto
16624         * ParagraphParameters.h: ditto
16625         * lyxparagraph.h: ditto
16626
16627 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16628
16629         * buffer.C: add compability for minipage alignment.
16630         (latexParagraphs): remove unwanted pextra check.
16631
16632         * several files: remove CXX_WORKING_NAMESPACES
16633
16634         * buffer.C (pop_tag): tie is in namespace boost
16635
16636         * BufferView.h: noncopyable is in namespace boost
16637         * lyxlex.h: ditto
16638         * lyx_main.h: ditto
16639         * lyx_gui.h: ditto
16640         * layout.h: ditto
16641         * lastfiles.h: ditto
16642         * bufferlist.h: ditto
16643         * ShareContainer.h: ditto
16644         * LyXView.h: ditto
16645         * LyXAction.h: ditto
16646         * LaTeX.h: ditto
16647
16648 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16649
16650         * Merging changes from BRANCH_MVC back into HEAD.
16651
16652         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16653
16654 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16655
16656         * BufferView_pimpl.C: change from intl.C
16657
16658         * combox.h:
16659         * combox.C:
16660         * Makefile.am: move combox.*
16661
16662         * form1.h:
16663         * form1.C:
16664         * lyx_gui.C:
16665         * intl.h:
16666         * intl.C: remove dialog (covered by prefs)
16667
16668 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16669
16670         * lyxfunc.C (Dispatch): removed redundant break statement.
16671
16672 2001-03-14  Juergen Vigna  <jug@sad.it>
16673
16674         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16675
16676 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16677
16678         * buffer.C: add hack to fix compability reading of minipages.
16679
16680 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16681
16682         * buffer.C (getLists): Cleanup.
16683
16684 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16685
16686         * lyxfont.C (update): don't honor toggleall on font size.
16687
16688 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16689
16690         * bmtable.c:
16691         * bmtable.h:
16692         * Makefile.am: moved to frontends/xforms/
16693
16694         * lyx_gui_misc.C:
16695         * lyxfunc.C:
16696         * BufferView_pimpl.C: changes for moved mathpanel
16697
16698 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16699
16700         * gettext.h: fix gettext_init() in --disable-nls
16701
16702 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16703
16704         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16705
16706 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16707
16708         * lyx.C:
16709         * lyx.h: strip external form
16710
16711 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16712
16713         * BufferView_pimpl.C: add comment, destroySplash()
16714
16715 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16716
16717         * BufferView_pimpl.C:
16718         * LyXAction.C:
16719         * buffer.C:
16720         * commandtags.h:
16721         * lyxfunc.C: use re-worked insetinclude
16722
16723 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16724
16725         * buffer.C: add using std::stringstream.
16726
16727         * lyx_cb.C: readd using std::ios.
16728
16729         * buffer.C: add using std::map.
16730
16731         * BufferView_pimpl.C: add using std::vector.
16732
16733         * ShareContainer.h: add std:: to swap.
16734
16735         * buffer.h: add some typedefs
16736         * buffer.C (getLists): use them
16737         (getLists): renamed from getTocList.
16738         add a counter for the different float types and use it in the
16739         generated string.
16740         (getLists): use the same counter for the NEW_INSETS and the "non"
16741         NEW_INSETS
16742
16743         * lyx_cb.h: remove unused items, includes, using etc.
16744
16745         * ShareContainer.h: remove some commented code, add more comments
16746         and "documentation".
16747
16748 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16749
16750         * buffer.C (getTocList): make the list also when NEW_INSETS is
16751         defined.
16752
16753         * buffer.h: remove TocType
16754
16755         * buffer.C (getTocList): change to return a map<string,
16756         vector<TocItem> >, implement for dynamic number of list.
16757
16758         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16759         * text2.C (PasteSelection): adjust
16760         * CutAndPaste.C (pasteSelection): adjust
16761
16762         * FloatList.C (FloatList): update from the new_insets branch.
16763         * Floating.[Ch]: ditto
16764         * LaTeXFeatures.C: ditto
16765         * buffer.C: ditto
16766         * lyxlex_pimpl.C: ditto
16767
16768         * paragraph.C (Last): remove when NEW_INSETS is defined.
16769
16770         * other file: changes because of the above.
16771
16772 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16773
16774         * lyxparagraph.h: rename next to next_, previous to previous_,
16775         make them private for NEW_INSETS. Rename Next() to next(),
16776         Previous() to previous().
16777
16778         * other files: changes because of the above.
16779
16780 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16781
16782         * BufferView.h:
16783         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16784         problem.
16785
16786 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16787
16788         * main.C (main): pass lyx_localedir to gettext_init().
16789
16790         * gettext.h: remove locale_init and gettext_init macros
16791
16792         * gettext.C (locale_init): new function
16793         (gettext_init): new function
16794
16795         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16796         setlocale().
16797
16798 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16799
16800         * Moved credits to frontends:
16801         * credits.[Ch]: removed
16802         * credits_form.[Ch]: removed
16803         * lyx_gui_misc.C: remove credits stuff
16804         * Makefile.am:
16805
16806 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16807
16808         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16809
16810         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16811         unneeded destructor.
16812
16813         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16814         a standalone pointer again.
16815
16816         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16817
16818 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16819
16820         * Makefile.am:
16821         * filedlg.h:
16822         * filedlg.C:
16823         * LyXAction.C:
16824         * ToolbarDefaults.C:
16825         * bufferlist.C:
16826         * commandtags.h:
16827         * form1.C:
16828         * form1.h:
16829         * lyx_cb.C:
16830         * lyx_cb.h:
16831         * lyxfunc.h:
16832         * lyxfunc.C:
16833         * BufferView_pimpl.C: use new file dialog in GUII
16834
16835         * lyx_cb.h:
16836         * lyx_cb.C: remove LayoutsCB to Toolbar
16837
16838 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16839
16840         * ShareContainer.h (get): add std:: qualifier
16841
16842 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16843
16844         * ShareContainer.h: define a proper ShareContainer::value_type
16845         type (and use typename to please compaq cxx)
16846
16847 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16848
16849         * lyxparagraph.h: move serveral local vars to
16850         ParameterStruct/ParagraphParameters., use ShareContainer in
16851         FontTable., make vars in FontTable private and add getter and
16852         setter.
16853
16854         * paragraph.C: changes because of the above.
16855
16856         * lyxfont.h: remove copy constructor and copy assignment. (the
16857         default ones is ok), move number inside FontBits. move inlines to
16858         lyxfont.C
16859
16860         * lyxfont.C: add number to initializaton of statics, move several
16861         inlines here. constify several local vars. some whitespace
16862         cleanup. Dont hide outerscope variables.
16863
16864         * Spacing.h: add two new constructors to match the set methods.
16865
16866         * ShareContainer.h: new file, will perhaps be moved to support
16867
16868         * ParameterStruct.h: new file
16869
16870         * ParagraphParameters.h: new file
16871
16872         * ParagraphParameters.C: new file
16873
16874         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16875         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16876
16877         * BufferView_pimpl.C: ParagraphParameter changes.
16878         * buffer.C: Likewise.
16879         * bufferview_funcs.C: Likewise.
16880         * text.C: Likewise.
16881         * text2.C: Likewise.
16882
16883 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16884
16885         * lyxfind.C (LyXReplace): do not redefine default argument in
16886         implementation.
16887         (IsStringInText): ditto
16888         (SearchForward): ditto
16889         (SearchBackward): ditto
16890
16891 2001-03-06  Juergen Vigna  <jug@sad.it>
16892
16893         * lyxfind.C (IsStringInText): put parentes around expressions.
16894
16895 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16896
16897         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16898
16899 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16900
16901         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16902
16903         * stl_string_fwd.h: add comment
16904
16905         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16906
16907         * tabular.h:
16908         * tabular.C: remove unused DocBook methods
16909
16910         * intl.C:
16911         * language.C:
16912         * paragraph.C:
16913         * buffer.C:
16914         killed DO_USE_DEFAULT_LANGUAGE
16915
16916 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16917
16918         * lyx_gui.C: do not include language.h.
16919
16920         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16921         arguments in function implementation.
16922
16923 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16924
16925         * BufferView_pimpl.C: add <ctime>
16926
16927 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16928
16929         * BufferView_pimpl.C: add using std::find_if
16930
16931 2001-02-27  José Matos  <jamatos@fep.up.pt>
16932
16933         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16934         by OnlyPath.
16935
16936 2001-02-11  José Matos  <jamatos@fep.up.pt>
16937
16938         * buffer.C (makeDocBookFile): command styles now have a parameter as
16939         "title" by default.
16940
16941 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16942
16943         * layout_forms.[Ch]: removed
16944         * lyx_cb.[Ch]: out character
16945         * lyx_gui.C: out character
16946         * lyx_gui_misc.C: out character
16947         * bufferview_funcs.C: : out character,
16948         added toggleall as parameter in ToggleAndShow
16949
16950 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16951
16952         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16953
16954         * text2.C (SetCurrentFont): Disable number property at boundary.
16955
16956 2001-02-26  Juergen Vigna  <jug@sad.it>
16957
16958         * lyxfunc.C (getStatus): added a string argument override function so
16959         that this is correctly called from LyXFunc::Dispatch if it contains a
16960         do_not_use_argument which is used!
16961         (Dispatch): added check for "custom" export and call appropriate func.
16962
16963 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16964
16965         * lyxrc.C: Add language_command_local, language_use_babel and
16966         language_global_options.
16967
16968         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16969
16970         * buffer.C (makeLaTeXFile): Use language_use_babel and
16971         language_global_options.
16972
16973 2001-02-23  Juergen Vigna  <jug@sad.it>
16974
16975         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16976         which works with LyXText and putted it inside BufferView. Here now we
16977         only call for that part the BufferView::Dispatch() function.
16978
16979         * BufferView.C (Dispatch): added.
16980
16981         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16982         functions which needs to use a LyXText over from LyXFunc.
16983         (MenuInsertLyXFile): added
16984         (getInsetByCode): added
16985         (moveCursorUpdate): added
16986         (static TEXT): added
16987
16988 2001-02-22  Juergen Vigna  <jug@sad.it>
16989
16990         * BufferView_pimpl.C (update): call a status update to see if LyXText
16991         needs it.
16992
16993 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16994
16995         * vc-backend.C (revert): implement for CVS
16996         (getLog): implement for CVS
16997
16998 2001-02-20  Juergen Vigna  <jug@sad.it>
16999
17000         * text2.C (ClearSelection): added BufferView param for inset_owner call
17001
17002         * lyxfunc.C (TEXT): added this function and use it instead of
17003         directly owner->view()-text of getLyXText().
17004
17005 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17006
17007         * src/layout_forms.C: out preamble
17008         * src/layout_forms.h: out preamble
17009         * src/lyx_cb.C: out preamble
17010         * src/lyx_cb.h: out preamble
17011         * src/lyx_gui.C: out preamble
17012         * src/lyx_gui_misc.C: out preamble
17013         * src/lyxfunc.C: connect with guii preamble
17014
17015 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17016
17017         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17018
17019 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17020
17021         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17022         whether to run bibtex.
17023
17024 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17025
17026         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17027
17028 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17029
17030         * Makefile.am (lyx_SOURCES): removed bibforms.h
17031
17032         * vspace.h: doxygen
17033
17034         * text.C (GetVisibleRow): make several local vars const
17035
17036         * tabular.C: small cleanup.
17037
17038         * lyxserver.C (callback): use compare instead of strncmp
17039
17040         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17041         inlines to after class or to paragraph.C
17042
17043         * lyxfont.h: remove friend operator!=
17044
17045         * converter.h: move friend bool operator< to non friend and after
17046         class def.
17047
17048         * combox.h: small cleanup
17049
17050         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17051         to inlines after class def.
17052
17053         * buffer.C (pop_tag): use string operations instead of strcmp
17054
17055         * bmtable.c: doxygen, small cleanup
17056
17057         * LaTeX.h: remove friend operator==
17058
17059 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17060
17061         * screen.C:
17062         * lyxrc.[Ch]:
17063         * lyxfunc.C:
17064         * lyxfont.[Ch]:
17065         * lyx_cb.C:
17066         * intl.[Ch]:
17067         * commandtags.h:
17068         * buffer.C:
17069         * WorkArea.[Ch]:
17070         * LyXAction.C:
17071         * BufferView_pimpl.C:
17072         * BufferView.[Ch]: remove cruft
17073
17074 2001-02-14  Juergen Vigna  <jug@sad.it>
17075
17076         * lyxfunc.C: removed #if 0 unused code
17077
17078         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17079
17080         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17081
17082         * text2.C (SetSelection): added a BufferView * parameter
17083
17084 2001-02-13  Juergen Vigna  <jug@sad.it>
17085
17086         * lyxfunc.C (Dispatch): fixed protected blank problem.
17087         * BufferView2.C (protectedBlank): added LyxText * parameter.
17088
17089         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17090         (AppendColumn): same as above for column_info.
17091
17092         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17093         (moveCursorUpdate): use a LyXText param for support of InsetText.
17094
17095         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17096         (tripleClick): ditto
17097
17098         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17099
17100         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17101
17102         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17103
17104         * text2.C (SetSelection): set correct update status if inset_owner
17105         (ToggleFree): ditto
17106
17107 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17108
17109         * tabular.C: remove some commented code.
17110
17111 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17112
17113         * BufferView_pimpl.C: call hideSplash()
17114
17115         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17116
17117         * include_form.h:
17118         * bibforms.h: remove
17119
17120         * lyxfunc.C:
17121         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17122           add LFUN_CHILD_CREATE
17123
17124         * counters.h: fix tiny typo
17125
17126         * lyx_cb.C:
17127         * lyx.h:
17128         * lyx_gui.C:
17129         * lyx.C: move splash to frontends/xforms/
17130
17131         * lyx_gui_misc.C: move Include and Bibform to frontends
17132
17133         * lyxvc.h: clarify comment
17134
17135         * vspace.C: tiny housekeeping
17136
17137 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17138
17139         * text.C (PrepareToPrint): RTL Fix.
17140
17141         * paragraph.C (GetUChar): New method.
17142         (String):  Use GetUChar.
17143
17144         * buffer.C (asciiParagraph): Use GetUChar.
17145
17146 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17147
17148         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17149
17150 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17151
17152         * buffer.h:
17153         * buffer.C: rename to getLogName(), handle
17154           build log / latex log nicely
17155
17156 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17157
17158         * MenuBackend.C:
17159         * MenuBackend.h: remove support for reference menuitem type.
17160
17161 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17162
17163         * BufferView_pimpl.C: housekeeping
17164         * BufferView_pimpl.h:
17165         * LyXView.h:
17166         * Makefile.am:
17167         * Timeout.C:
17168         * Timeout.h:
17169         * minibuffer.h: move Timeout GUI-I
17170
17171 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17172
17173         * lyxrc.C (read): Update converters data-structures.
17174
17175 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17176
17177         * LaTeX.h (operator!=): add operator != for Aux_Info
17178
17179 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17180
17181         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17182
17183         * LaTeXLog.C: deleted, useful code moved to Buffer
17184
17185         * buffer.h:
17186         * buffer.C: new function getLatexLogName()
17187
17188         * lyx_gui_misc.C:
17189         * lyx_gui.C:
17190         * lyxvc.C:
17191         * lyxvc.h:
17192         * lyxfunc.C: use frontends for LaTeX and VC logs
17193
17194 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17195
17196         * LaTeX.h: yet another std:: that Allan forgot.
17197
17198         * Variables.C (set): renamed from isset(), because this clashes
17199         with some HP-UX macros (grr).
17200
17201 2001-02-06  Allan Rae  <rae@lyx.org>
17202
17203         * LaTeX.h: Another bug fix.  Missing std:: this time.
17204
17205 2001-02-04  Allan Rae  <rae@lyx.org>
17206
17207         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17208         floats problem. I've left it commented out because it's not quite
17209         correct.  It should also test that the current object is a table or
17210         figure inset.  But I haven't gotten around to figuring out how to do
17211         that.  I *think* it'll be something like: "table" == inset.type()
17212
17213         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17214         bool.
17215
17216 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17217
17218         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17219         all the citation/databases/styles in the auxilary file.
17220         (run): Rerun latex if there was a babel language error.
17221
17222 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17223
17224         * text.C (Backspace): Preserve the font when changing newline char
17225         with a space.
17226         (BreakParagraph): If the cursor is before a space, delete the space.
17227
17228         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17229
17230 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17231
17232         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17233         new argument (code).
17234         (ChangeCitationsIfUnique): New method.
17235
17236         * paragraph.C (GetPositionOfInset): Handle bibkey.
17237
17238 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17239
17240         * BufferView_pimpl.h: change type of Position::par_pos to
17241         LyXParagraph::size_type.
17242
17243 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17244
17245         * BufferView_pimpl.C (savePosition, restorePosition): Write
17246         messages to minibuffer.
17247
17248 2001-01-28  José Matos  <jamatos@fep.up.pt>
17249
17250         * buffer.C (makeDocBookFile): adds support for document language.
17251         A silly restriction on the name of LatexCommand types where removed.
17252         Added support for CDATA sections, allows to chars unescaped, used
17253         among others in code, to avoid escape < and >.
17254
17255 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17256
17257         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17258         saved positions instrad of a stack. Furthermore, a position is
17259         stored using paragraph id/paragraph position.
17260
17261         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17262         Remove LFUN_REF_BACK.
17263
17264 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17265
17266         * converter.C (dvipdfm_options): New method.
17267
17268 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17269
17270         * vspace.C (isValidLength): Fix for empty input string.
17271
17272 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17273
17274         * LyXAction.C (init): change description of LFUN_FIGURE to
17275         "Insert Graphics"
17276
17277 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17278
17279         * LaTeX.C: add using directive
17280
17281 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17282
17283         * MenuBackend.C (expand): Fix the sorting of the formats.
17284
17285 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17286
17287         * lyx_main.C: tiny error message fix
17288
17289 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17290
17291         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17292         calling fl_initialize(). This fixes the problem with ',' as
17293         decimal separator in text files.
17294
17295 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17296
17297         * trans.C (process): Fix the keymap bug.
17298
17299 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17300
17301         * LaTeX.C (scanAuxFiles): New method. Provides support for
17302         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17303         (scanLogFile) Scan for "run BibTeX" messages.
17304
17305         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17306         OT1 font encoding. Also, load the aecompl package if the ae
17307         package is loaded.
17308
17309         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17310
17311 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17312
17313         * texrow.C (increasePos): turn two error messages into debug
17314         messages.
17315
17316 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17317
17318         * LaTeX.C (scanAux): Handle the \@input macro.
17319         (runBibTeX): Use scanAux().
17320
17321         * language.C (latex_options_): New field.
17322
17323         * LaTeXFeatures.C (getMacros): Add language macros.
17324
17325         * buffer.C (makeLaTeXFile): Small fix.
17326
17327 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17328
17329         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17330
17331         * text2.C: add a using directive.
17332
17333 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17334
17335         * BufferView2.C:
17336         * lyx_gui_misc.h:
17337         * lyxfr1.C:
17338         * lyxfunc.C: kill LyXBell.
17339
17340 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17341
17342         * text.C (IsBoundary): Remove the error message
17343
17344         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17345
17346         * lyxrc.C (setDefaults): Correct initialization value for
17347         font_norm_type.
17348
17349 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17350
17351         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17352         gotoError().
17353
17354         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17355         and GotoNextNote().
17356
17357         * src/LyXAction.C: Added reference-next.
17358
17359         * text.C (InsertChar): Use contains instead of strchr.
17360
17361         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17362
17363 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17364
17365         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17366         alignment commands (when needed).
17367
17368         * text.C (InsertChar): Add ':' to number separator chars.