]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Squash a couple of MSVC warnings about "truncation of constant value".
[lyx.git] / src / ChangeLog
1 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * BufferView_pimpl.C: revert accidental commit.
4
5 2005-02-14  André Pönitz  <poenitz@gmx.net>
6
7         * dociterator.[Ch]: new member forwardPosNoDescent(),
8         which doesn't enter nested insets.
9         * text2.C (setFont): use forwardPosNoDescent() instead
10         of ForwardPos() (fixes crash on font change).
11
12 2005-02-13  Angus Leeming  <leeming@lyx.org>
13
14         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
15         only if lyxrc.path_prefix is not empty.
16
17 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * bufferparams.C (readGraphicsDriver): prevent crash
20
21 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
22
23         * text2.C (setCounter): check for inInset() == 0
24
25 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
28         but use update() to get correct screen display; use convert
29         instead of istringstream. 
30         (getStatus): handle LFUN_GOTO_PARAGRAPH 
31
32         * lyxfunc.C (dispatch, getStatus): do not handle
33         LFUN_GOTO_PARAGRAPH here.
34
35 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
36
37         * text3.C (dispatch): size() -> depth()
38
39         * text2.C: remove some debug output
40
41         * paragraph.C: ws changes only
42
43         * lyxfunc.C (getStatus): size() -> depth()
44
45         * dociterator.h (clear, push_back, pop_back, internalData,
46         operator[], resize, empty): new functions
47         Make StableDocIterator and operator== be friends. Don't inherit
48         from std::vector use a privat class variable slices_ instead.
49         Modify to fit.
50
51         * dociterator.C: update because of not inheriting from std::vector
52         anymore. Call explictly to slices_ instead. Use depth() instead of
53         size() and top() instead of back()
54
55         * cursor.C: chagne size() -> depth and back() -> top(). Also
56         remove some direct operator[](i) calls in favour of foo[i]
57         (getFont): remove some dead code
58
59         * bufferview_funcs.C (coordOffset): size() -> depth()
60
61         * buffer.C: ws changes only
62
63         * CutAndPaste.C (eraseSelection): back() -> top()
64
65         * BufferView_pimpl.C (selectionRequested): back() -> top()
66
67         * BufferView.C (setCursor): size() -> depth()
68
69 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
70
71         * text3.C (cursorPrevious): return true if depm changed something
72         (cursorNext): ditto
73         (dispatch): rename sl to oldTopSlice, remove moving use the new
74         NoUpdate func attrib instead. Make sure that needsUpdate is set
75         for function that have NoUpdate, but where depm might have changed
76         the buffer anyway.
77
78         * text2.C (cursorLeft): make us return true if depm changed
79         something
80         (cursorRight): ditto
81         (cursorUpParagraph): ditto
82         (curosrDownParagraph): ditto
83         (cursorUp, cursorDown): ditto, make sure to read comments in code
84         (deleteEmptyParagraphMechanism): remove an assert, also return
85         true if just a single char was deleted.
86
87         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
88         cursor that we modify, to avoid modifying an active cursor before
89         we call setCursor. This allows depm to run. Also return true if
90         depm deleted something.
91
92         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
93         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
94         cursorDownParagraph, cursorPrevious and cursorNext, return true if
95         something was changed in the buffer because of them (ie. depm run)
96
97         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
98         debug messages. Make update by default be false. Make sure that
99         the result of update is retained throught several calls down to
100         dispatch.
101
102         * LyXAction.h: add a new func_attrib: NoUpdate
103
104         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
105         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
106         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
107         and LFUN_WORDLEFT
108         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
109
110 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
113         bv_->owner(), bv_->buffer() by direct references to the private
114         members.
115         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
116         (getStatus): isSavedPosition() is in BufferView::Pimpl.
117         (fitCursor): center() is in BufferView::Pimpl.
118         (getStatus, trackChanges, dispatch): no need for a temporary buf
119         variable
120         (fitCursor, workAreaDispatch): use workarea().workheight()
121
122 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * CutAndPaste.C (pasteSelectionHelper): fix a crash
125
126 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
127
128         * buffer.C: format up to 241.
129         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
130         break if pasting into ERT
131         * lyxfunc.C (getStatus): suppress mathpanel and
132         LFUN_DIALOG_SHOW_NEW_INSET in ERT
133
134 2005-02-01  Angus Leeming  <leeming@lyx.org>
135
136         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
137
138 2005-02-01  Angus Leeming  <leeming@lyx.org>
139
140         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
141         calling fs::is_directory().
142
143 2005-01-31  Angus Leeming  <leeming@lyx.org>
144
145         * lyx_main.C (priv_exec): specify explicitly the relative location
146         of the top level build directory when run in-place.
147
148 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
151         LyXText containing the cursor, not the top-level one.
152
153         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
154         true.
155         (insertStringAsLines): rename par to pit; use temporary variable
156         par to hold a Paragraph; do not store par.layout() in a variable,
157         since the pointer may die when breaking paragraphs; pass pars to
158         breakParagraph() instead of Buffer::paragraphs().
159
160 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
161
162         * lyxlex_pimpl.h: #include <fstream>.
163
164         * BufferView.[Ch] (getLyXText): add a const version.
165
166         * BufferView_pimpl.C: add debug aids.
167
168         * RowList_fwd.h:
169         * buffer.h:
170         * lyxrow.h:
171         * paragraph_funcs.h: add commentary explaining what the class does.
172
173
174         * coordcache.[Ch]: add lots of commentary.
175         (startUpdating, doneUpdating): debug aids.
176         (arrays, insets, parPos, getParPos): accessors to private data.
177
178         * cursor_slice.[Ch] (text): add a const version.
179         * dociterator.[Ch] (text, innerText): add const versions.
180
181         * lyxtext.h (breakParagraph): change the keep_layout arg to a
182         bool.
183
184         * paragraph.C (getRow, pos2ros): add asserts.
185
186         * paragraph.h: add commentary. Lots of.
187
188         * paragraph.[Ch] (metrucs, draw): removed.
189
190         * cursor.C:
191         * rowpainter.[Ch]: const-correct changes.
192
193         * text.C: various obvious clean-ups. Removal of ancient cruft.
194         Bug fixes, even.
195
196 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
197
198         * vc-backend.C (find_file): rewrite to use boost.filesystem
199         (scanMaster): ditto
200
201         * main.C (main): set default name check for boost.filesystem to
202         no check
203
204         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
205         (open): ditto
206         (doImport): ditto
207         (actOnUpdatedPrefs): ditto
208
209         * lyx_main.C (init): rewrite to use boost.filesystem
210         (queryUserLyXDir): ditto
211
212         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
213         (getContentsOfAsciiFile): ditto
214
215         * lastfiles.C (readFile): rewrite to use boost.filesystem
216
217         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
218
219         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
220         (loadLyXFile): ditto
221
222         * buffer.C (Buffer): adjust for destroydir
223         (getLogName): rewrite to use boost.filesystem
224         (setFileName): ditto
225         (save): use fs::copy_file (from fs_extras)
226
227         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
228
229         * LaTeX.C (run): rewrite to use boost.filesystem
230         (scanAuxFiles): ditto
231         (handleFoundFile): ditto
232
233 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
234
235         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
236
237         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
238
239 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
240
241         * lyxlayout.[Ch]: change some vars from float to double
242
243         * buffer.C (readFile): make a local var const
244
245         * Several files: use convert<> instead of atoi,strToXXX and friends
246
247 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
248
249         * LaTeXFeatures.[Ch]: Add a static list packages_ that
250         holds the contents of packages.lst. New functions getAvailable
251         and isAvailable to parse and check that list, resp.
252
253         * LyXAction.C:
254         * lfuns.h:
255         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
256
257         * bufferparams.[Ch]: new param output_changes.
258
259         * Buffer.C: increase file format to 240.
260         Use output_changes and isVailable.
261
262         * changes.[Ch]:
263         * paragraph.C:
264         * paragraph_pimpl.C: Use output_changes and isVailable.
265
266 2005-01-23  Angus Leeming  <leeming@lyx.org>
267
268         * output_latex.C: #include "insetbibitem.h", rather than
269         forward declare function bibitemWidest.
270
271 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
272
273         * lyx_main.C (init): make it compile on the Mac.
274
275 2005-01-20  Angus Leeming  <leeming@lyx.org>
276
277         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
278         (setLyXMisc): (char string literal) != (char string literal) is
279         performing a comparison on the addresses. Convert one operand
280         explicitly to string to guarantee expected behaviour.
281         From MSVC warning.
282
283 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
284
285         * buffer.C:
286         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
287
288         * output_plaintext.C: remove unneeded #include gzstream.h.
289
290 2005-01-20  Angus Leeming  <leeming@lyx.org>
291
292         * SpellBase.h: rename some of the elements of the Result enum.
293
294         * aspell_local.h:
295         * ispell.h:
296         * pspell.h:
297         * aspell.C (check):
298         * ispell.C (check):
299         * pspell.C (check): ditto
300
301 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
302
303         * buffer.C: add #include <fstream>.
304
305         * lyx_main.C (init): Compile fix.
306
307         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
308
309 2005-01-20  Angus Leeming  <leeming@lyx.org>
310
311         * mover.h: change commentary to reflect the changed meaning of
312         the $$s placeholder.
313
314 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * output_linuxdoc.C (linuxdocParagraphs): silence warning
317
318         * lyxfind.C (MatchString::operator()): remove bogus semicolon
319
320 2005-01-20  Angus Leeming  <leeming@lyx.org>
321
322         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
323         printing diagnostic data by not dereferecing an iterator past the
324         end.
325
326 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
327
328         * buffer.C (readHeader): use "&&" rather than "and".
329
330         * lyxserver.h (inPipeName, outPipeName): make these const.
331
332 2005-01-19  Angus Leeming  <leeming@lyx.org>
333
334         * lyx_main.C (error_handler, init): protect SIGHUP with
335         #ifdef SIGHUP guards.
336
337 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
340
341 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * text.C (setHeightOfRow): add a margin at the top and bottom of
344         the document (bug 1761)
345
346 2005-01-17  Angus Leeming  <leeming@lyx.org>
347
348         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
349         with "python ". Workaround for a brain-dead Windows.
350
351 2005-01-16  Angus Leeming  <leeming@lyx.org>
352
353         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
354         for MacOSX and Windows to use prependEnvPath.
355         Strip out the hard-coded block to add elements to the PATH for
356         MacOSX and replace it with a call to prependEnvPath using the
357         contents of LyXRC::path_prefix.
358         (queryUserLyXDir): strip out the code to run reconfigure, instead
359         returning a boolean indicating the necessity to do so.
360         (reconfigureUserLyXDir): contains the code to reconfigure the
361         user support directory. Is now called after the various LyXRC data
362         files have been read.
363
364         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
365
366 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * converter.[Ch] (convert): take a new parameter try_default. Use
369         a default converter (imagemagick) if try_default is true.
370
371 2005-01-13  Angus Leeming  <leeming@lyx.org>
372
373         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
374         os::cygwin_path_fix.
375         (write): output LyXRC::cygwin_path_fix as necessary.
376
377 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
378
379         * lyxrc.h:
380         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
381
382 2005-01-12  Angus Leeming  <leeming@lyx.org>
383
384         * lyx_main.C (init): set the PATH variable to include the
385         directory containing the LyX binary when running on Mac or Windows.
386
387 2005-01-12  Angus Leeming  <leeming@lyx.org>
388
389         * lyx_main.C (init): remove cruft that purports to set the locale
390         dir. It doesn't and is not needed anyway.
391
392 2005-01-10  Angus Leeming  <leeming@lyx.org>
393
394         * Makefile.am: remove the lyx_main.C special casing.
395
396         * BufferView_pimpl.C:
397         * bufferlist.C:
398         * exporter.C:
399         * lyx_cb.C:
400         * lyx_main.C:
401         * lyxfunc.C:
402         * messages.C: use support/package.h to provide the paths to the
403         various directories used by LyX.
404
405 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
406
407         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
408         layout if pasting into an empty paragraph)
409
410 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
411
412         * tex-accent.C: add <string>
413
414 2005-01-06  José Matos  <jamatos@lyx.org>
415
416         * ParagraphParameters.C (write): put every parameter in its own line.
417         * paragraph.C (write): reduce number of consecutive empty lines exported.
418         * buffer.C (LYX_FORMAT): increase file format to 239.
419
420 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
421
422         * everywhere: change support/tostr.h -> support/convert.h
423
424         * tabular.C: make all write_attributes templates, tostr -> convert
425
426         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
427         (emptyTag): and -> &&, and fix type for ret from getChar
428         (getFirstWord): fix type for ret from getChar
429         (onlyText): and -> &&
430         (simpleDocBookOnePar): and not -> && !, fix type for ret from
431         getChar
432
433         * toc.C (goTo, action):
434         * text3.C (dispatch):
435         * text.C (currentState):
436         * tex-accent.C (DoAccent):
437         * sgml.C:
438         * lyxrc.C:
439         * lyxfunc.C (menuNew):
440         * lyxfinc.C (replace):
441         * counters.C (laberItem):
442         * bufferview_funcs.C (font2string):
443         * bufferparams.C (writeFile):
444         * buffer.C (readFile):
445         * Spacing.C (set):
446         * MenuBackend.C: tostr -> convert
447
448         * LaTeX.C (runMessage): fix format
449         (scanAuxFiles): tostr -> convert
450
451         * BufferView_pimpl.C (savePosition): fix format
452         (restorePosition): ditto
453         (dispatch): ditto
454
455 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
456
457         * Spacing.[Ch]: New method getValueAsString().
458
459         * Spacing.[Ch]:
460         * bufferparams.C:
461         * ParagraphParameters.C:
462         * lyxlayout.C:
463         * text.C:
464         * text3.C: store/read spacing value as string.
465
466         * rowpainter.C: change float value (spacing_val) to double.
467
468         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
469         broken custom document spacing).
470
471 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
472
473         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
474         namespace, also more use of temp references and const
475
476         * cursor.[Ch] (getStatus): move to lyxfunc.C
477
478         * bufferparams.C: reformat slightly
479
480         * bufferview_funcs.C (font2string): constify arg
481
482         * changes.C:
483         * converter.C:
484         * counters.C:
485         * bufferlist.C:
486         * buffer_funcs.C: (many funcs): constify arg on function
487         definitions, also make more local vars const, also add ASSERTS on
488         pointer args.
489
490         * buffer.C (LYX_FORMAT): put const in correct place
491         (many funcs): constify arg on function definitions, also make
492         more local vars const
493
494         * aspell_local.h: remove "struct" from typdef setup
495
496         * aspell.C (check): make word_ok const
497         (nextMiss): simplify slightly
498         (error): ditto
499
500 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
501
502         * lyxrc.[Ch]: store all float values as strings.
503         use int (not float) for lyxrc.dpi.
504
505 2005-01-04  Angus Leeming  <leeming@lyx.org>
506
507         * lyx_cb.C (Reconfigure):
508         * lyx_main.C (queryUserLyXDir):
509         to run the <system_lyxdir>/configure correctly on Windows, prefix
510         the path to the script with "sh " when generating the string that
511         is passed to system().
512
513 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
514
515         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
516
517 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * lyxlength.C (asLatexString): get rid of setprecision
520
521 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
522
523         * text2.C (setLayout): remove unused variable endpit.
524         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
525
526         * paragraph.C (onlyText): remove unused variable style.
527
528         * cursor.C (bruteFind): remove unused variables beg and end.
529
530         * Makefile.am (dist_noinset_DATA): not needed anymore
531
532         * cheaders/*: remove.
533
534 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * text3.C: fix LFUN_MATH_MODE.
537
538 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * buffer_funcs.C (countWords): new function. Counts words between
541         two iterators.
542
543         * BufferView_pimpl.C (getStatus, dispatch): handle
544         LFUN_WORDS_COUNT.
545
546         * LyXAction.C (init):
547         * lfuns.h: add LFUN_WORDS_COUNT.
548
549 2004-12-19  Angus Leeming  <leeming@lyx.org>
550
551         * buffer.C (save): s/slashify_path/internal_path/.
552
553 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
554
555         * lyxfind.C (findChange): do not search for end of pars, because
556         the change tracker cannot handle this (fixes bug 1719).
557
558 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
559
560         * paragraph.[Ch] (autoBreakRows): remove
561
562         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
563
564         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
565         avoid using the paragraph one
566
567         * text2.C (LyXText, insertStringAsLines): adjust
568
569 2004-12-16  Angus Leeming  <leeming@lyx.org>
570
571         * bufferlist.C:
572         * lyx_main.C:
573         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
574
575 2004-12-14  Angus Leeming  <leeming@lyx.org>
576
577         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
578
579         * bufferlist.C (emergencyWrite):
580         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
581         GetEnvPath("HOME").
582
583 2004-12-14  Angus Leeming  <leeming@lyx.org>
584
585         * main.C: (main): no longer pass pointers to os::init.
586
587 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
588
589         * undo.C (textUndoOrRedo): simplify logic, fix a crash
590         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
591
592 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
593
594         * lyxfunc.C:
595         * text3.C: remove selection_possible global flag
596
597 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * text2.C (getSelectionSpan): remove
600         (changeDepth, changeDepthAllowed): adjust
601
602 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
603
604         * Makefile.am (BOOST_LIBS): use boost variables
605
606 2004-12-03  José Matos  <jamatos@lyx.org>
607
608         * buffer.C: format up to 238.
609
610 2004-12-03  José Matos  <jamatos@lyx.org>
611
612         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
613
614 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
615
616         * cursor.C (goUpDown): remove call to idxUpDown2
617
618 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
619
620         * tabular.[Ch]: use size_t-like types for cell, row and column
621         indices
622
623 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * lyxfunc.C (getStatus): do not lose previous information when
626         calling BufferView::getStatus; do not set a default "Command
627         disabled" message at the beginning, but just before returning.
628
629 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
630
631         * cursor.h (getStatus): add better comment from src/cursor.C
632
633 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
634
635         * text3.C (getStatus): return false when the lfun is not handled
636
637 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * broken_headers.h: remove
640
641         * Makefile.am (lyx_SOURCES): remove broken_headers.h
642
643 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
644
645         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
646         offset_ref accessors
647
648         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
649         top_y_, merge fitcursor with update
650         (updateScrollbar, scrollDocView, fitCursor, center, update): new
651         coord scheme
652         (metrics): introduce
653         (workAreaDispatch): adapt to new coord scheme
654         (redoCurrentBuffer): remove
655
656         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
657
658         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
659         CurStatus enum.
660
661         * coordcache.[Ch]: add paragraph cache and helpers
662
663         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
664         adjust everywhere
665
666         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
667         (targetX, setTargetX): introduce
668
669         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
670         baseline -> ascent, as the rest of lyx
671
672         * lyxtext.h: remove redoParagraphs, updateParPositions,
673         fullRebreak, redoParagraphInternal. move dist to anon namespace in
674         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
675         have ascent/descent (ascent is ascent of first par)
676
677         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
678         step of BufferView
679
680         * paragraph.[Ch]: unify dimension handling with the rest of lyx
681
682         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
683
684         * pariterator.C: fix infinite loop introduced in par->pit renaming
685
686         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
687         in insets and LyXText, draw two off-screen paragraphs using
688         NullPainter, and adapt to new coord scheme
689
690         * text.C:
691         * text2.C:
692         * text3.C: adapt lfun handlers to the new coord scheme, which
693         means: there's only guaranteed coord information for onscreen pars
694         plus one above and one below. This implies that one can do search
695         from y coordinates in the range [-1,workHeight]
696
697 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
698
699         * rename a lot of InsetOld to InsetBase
700
701 2004-11-25  Angus Leeming  <leeming@lyx.org>
702
703         * BufferView_pimpl.C:
704         * lyx_cb.C:
705         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
706
707 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
710         call BufferView::getStatus if LCursor::getStatus did nothing
711         (setStatusMessage, getStatusMessage): removed.
712
713         * FuncStatus.C (message): new methods. Used to provide an error
714         message indicating why a command is disabled.
715         (clear, |=, FuncStatus): update for message.
716
717 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
718
719         * lyxfunc.C (dispatch): always call sendDispatchMessage
720
721 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * BufferView.C:
724         * BufferView_pimpl.C:
725         * CutAndPaste.C:
726         * FontIterator.C:
727         * buffer.C:
728         * cursor.C:
729         * cursor_slice.[Ch]:
730         * dociterator.[Ch]:
731         * lyxfind.C:
732         * paragraph_funcs.C:
733         * pariterator.C:
734         * rowpainter.C:
735         * text.C:
736         * text2.C:
737         * text3.C:
738         * undo.C: par->pit renaming
739
740 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * tabular.C (cellstruct): use initialization, store a shared_ptr
743         to insettext instead of the insettext directly, adjust to fit.
744         (operator=):  new function
745         (swap): new function
746         (rowstruct): use initialization
747         (columnstruct): use initialization
748         (ltType): use initialization
749
750
751         * lyxlength.h (swap): new function
752
753         * LColor.[Ch] (operator=): use the common semantics
754
755 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * lyxfind.C (findNextChange): update the bufferview after setting
758         the selection.
759
760 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
763         number of InsetOptArgs has already been inserted.
764
765         * output_latex.C (latexOptArgInsets): new method. This outputs all
766         the optarg insets, up to the limit defined in the layout file.
767         (optArgInset): removed
768         (TeXOnePar): call latexOptArgInsets; correctly update texrow
769
770 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * paragraph.C (isLetter): remove special spellchecker-related
773         code; return true also for digits
774         (isWord, isKomma): remove
775
776         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
777         * lyxfind.C (MatchString()): use isLetter instead of isWord
778
779 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
780
781         * pariterator.h (operatir=): comment out un-implemented member
782         function.
783
784         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
785         static cast.
786
787 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
788
789         * lyxfont.h: include LColor.h to satisfy concept checks.
790
791 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
792
793         * pariterator.h: add typdefs for value_type, difference_type,
794         pointer and reference to satisfy concept checks. Also add default
795         constructor for same reason.
796
797         * pariterator.C (operator++): add post-increment operator to
798         satisfy concept checks.
799
800         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
801         checks.
802
803         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
804
805         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
806         checks. Also rename base_type to BaseType to follow naming
807         standard better.
808
809         * FloatList.h: include Floating.h to satisfy concept checks.
810
811 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * lyxfunc.C (getStatus): when the origin of the request is menu or
814         toolbar, and the LyXView does not have focus, do as if there was
815         no buffer (bug 1720)
816
817         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
818         FuncRequest to individual entries of LFUN_SEQUENCE
819
820 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * output_latex.C (TeXOnePar): override runparams.moving_arg
823         according to the needprotect value of the current paragraph (bug
824         1739)
825
826         * paragraph.C (simpleTeXOnePar): no need to override
827         runparams.moving_args here
828
829 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
830
831         * vspace.C: fix off-by-one-error, related to fix #1682
832
833 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
834
835         * lengthcommon.C: a more general fix for bug 1682
836
837 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
838
839         * text.C (backspace): fix crash
840
841 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
842
843         * format.[Ch] (getFormatFromFile): new method
844         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
845
846 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
847
848         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
849
850 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * lyxfunc.C (dispatch): remove the verbose argument
853         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
854         instead
855
856         * kbmap.C (defkey): set the origin of func to KEYBOARD
857
858         * MenuBackend.C (MenuItem):
859         * ToolbarBackend.C (add): set the origin of func to UI
860
861         * funcrequest.[Ch]: add origin member, which indicates which part
862         of LyX requests an action
863
864 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
865
866         * converter.C (move): don't lie in the error message
867         * converter.h (isReachable, move): document
868
869 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
870
871         * buffer.C: remove unused using lyx::support::atoi
872         * paragraph_funcs.C: ditto
873
874 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
875
876         * bufferlist.C (exists): use bind and equal_to instead of
877         compare_memfun
878         (getBuffer): ditto
879         * lyxtextclasslist.C (NumberOfClass): ditto
880
881         * cursor.C (insert): use for_each instead of explicit for loop
882
883         * bufferlist.C (getFileNames): use std::transform and
884         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
885
886         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
887         for loop
888
889         * buffer.C (changeLanguage): use for_each instead of explicit for
890         loop
891         (hasParWithID): implement using getParFromID
892
893         * LaTeXFeatures.C: ws change only
894
895         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
896         to cleanup a bit.
897
898         * BufferView_pimpl.C (trackChanges): use for_each instead of
899         expilicit for loop
900
901 2004-11-04  André Pönitz  <poenitz@gmx.net>
902
903         * undo.h:
904         * undo.C (textUndoOrRedo): fix crash when creating undo information.
905
906         * dociterator.C (asDocIterator): use hard assert again.
907
908 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * lyxlength.C (asLatexString): rewrite so that it does not use
911         snprintf anymore
912
913 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * text3.C (specialChar, dispatch): make sure cursor moves to the
916         right after inserting an inset
917
918 2004-11-02  José Matos  <jamatos@lyx.org>
919
920         * output_docbook.C (docbook):
921         * paragraph.C (getID):
922         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
923         garantee that the output is always legal.
924
925         * tabular.C (docbook):
926         * outputprams.[Ch]: remove mixed contents.
927
928 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
929
930         * text2.C (setCounter): prevent endless loop
931
932 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
933
934         * exporter.C (copyFile): use the mover instead of support::copy()
935         * exporter.C (Export): pass format and latex name to copyFile()
936         * exporter.h (addExternalFile): document
937         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
938
939 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
940
941         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
942
943 2004-10-30  José Matos  <jamatos@lyx.org>
944
945         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
946         text and no inset or font change. This allows to use CDATA
947         sections just for the whole paragraph.
948
949 2004-10-30  José Matos  <jamatos@lyx.org>
950
951         * paragraph.C (getFirstWord): remove unused variable.
952
953 2004-10-30  José Matos  <jamatos@lyx.org>
954
955         * paragraph.C (getFirstWord): the content should always be escaped
956         there.
957         (simpleDocBookOnePar):
958         * output_docbook.C (makeEnvironment): replace reference to CDATA
959         to style pass_thru.
960
961 2004-10-30  José Matos  <jamatos@lyx.org>
962
963         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
964
965 2004-10-30  José Matos  <jamatos@lyx.org>
966
967         * output_docbook.C (makeParagraphs):
968         * paragraph.[Ch] (emptyTag): for docbook and company, if the
969         standard paragraph has only a given type of content drop the wrapper.
970
971 2004-10-29  José Matos  <jamatos@lyx.org>
972
973         * output_docbook.C (makeEnvironment):
974         * sgml.C (openTag):
975         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
976
977 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
978
979         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
980         (cleanID): sanitize any id.
981
982 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
983
984         * buffer.C, lyxlex_pimpl.C:
985         * lyxlex_pimpl.C (setFile):
986         s/getExtFromContents/getFormatFromContents/
987
988 2004-10-28  José Matos  <jamatos@lyx.org>
989
990         * output_docbook.C (makeEnvironment): move id to broadest possible
991         scope.
992
993         * sgml.C (openTag): apply substitution of <> for all attributes.
994
995 2004-10-28  José Matos  <jamatos@lyx.org>
996
997         * buffer.C (makeLinuxDocFile, makeDocBookFile):
998         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
999         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1000
1001         * sgml.[Ch]: new version for open and closeTag for paragraph and
1002         for strings. Now they handle the ids of paragraphs.
1003
1004 2004-10-26  Angus Leeming  <leeming@lyx.org>
1005
1006         * Makefile.am: add mover.[Ch].
1007
1008         * converter.C (convert, move): use the new Movers to move external
1009         files to the temp directory.
1010
1011         * lyx_main.C (init): ensure that the global system_movers data
1012         is initialised.
1013
1014         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1015         preferences file.
1016
1017         * mover.[Ch]: new files, defining a Mover as a utility to move an
1018         external file between directories and, if necessary, manipulate this
1019         file using a helper script.
1020
1021 2004-10-25  José Matos  <jamatos@lyx.org>
1022
1023         * output_docbook.C (makeCommand): merge two if's that tested the
1024         same condition.
1025
1026 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1027
1028         * sgml.C (escapeString): fix warning in a better way
1029
1030 2004-10-25  José Matos  <jamatos@lyx.org>
1031
1032         * sgml.C (escapeString): import the require boosts header file for
1033         tie, and avoid a signed unsigned comparison.
1034
1035 2004-10-25  José Matos  <jamatos@lyx.org>
1036
1037         * sgml.h: add #include <string>
1038
1039 2004-10-25  José Matos  <jamatos@lyx.org>
1040
1041         * sgml.[Ch] (escapeString): new function to escape all the string.
1042
1043 2004-10-24  José Matos  <jamatos@lyx.org>
1044
1045         * paragraph.[Ch] (getFirstWord): new function to get the first
1046         word. Useful for description.
1047         (simpleDocBookOnePar): remove depth argument, add another that
1048         says where to start the paragraph.
1049
1050         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1051         use the new functions to fix cleanly the support for descriptions.
1052
1053 2004-10-24  José Matos  <jamatos@lyx.org>
1054
1055         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1056         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1057         * output_linuxdoc.C (linuxdocParagraphs):
1058         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1059         add buffer as argument.
1060
1061 2004-10-24  José Matos  <jamatos@lyx.org>
1062
1063         * output_docbook.C (makeEnvironment, searchEnvironment): place
1064         CDATA inside paragraphs and fix scope for listitems.
1065
1066 2004-10-24  José Matos  <jamatos@lyx.org>
1067
1068         * output_docbook.C: remove using statement for stack.
1069
1070 2004-10-23  José Matos  <jamatos@lyx.org>
1071
1072         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1073         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1074         docbook. The new scheme is recursive and makes use of iterators, the
1075         same as latex export works.
1076         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1077         directly with the paragraph contents. This code was moved up to
1078         output_docbook.C (docbookParagraphs).
1079         * sgml.C (openTag, closeTag): removed unneeded newlines.
1080         (closeEnvTags) removed.
1081
1082 2004-10-23  André Pönitz  <poenitz@gmx.net>
1083
1084         * undo.C (textUndoOrRedo):
1085         * dociterator.C (asDocIterator): work around crash
1086
1087         * cursor.C (getStatus): replace ASSERT by more verbose error message
1088           and manual correction of the problem. Should increase stability
1089           while providing more sensible information.
1090
1091 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1094
1095         * bufferlist.C (previous, next): new methods
1096
1097         * lfuns.h:
1098         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1099
1100 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1101
1102         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1103         entities to preamble.
1104
1105 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1106
1107         * messages.C (Pimpl): strip off translation context information
1108
1109 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1112         the cursor is correct (bug 1694)
1113
1114 2004-10-13  José Matos  <jamatos@lyx.org>
1115
1116         * output_docbook.C (docbookParagraphs): fix closing tags in the
1117         end of the document.
1118
1119 2004-10-09  José Matos  <jamatos@lyx.org>
1120
1121         * buffer.C: format up to 237.
1122         * bufferparams.C (write): use tostr to convert booleans to strings.
1123
1124 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1125
1126         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1127
1128 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1129
1130         * LaTeX.C: implement use of babel language in xindy.
1131
1132 2004-10-05  José Matos  <jamatos@lyx.org>
1133
1134         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1135         Add new translators to help reading and writing the lyx file.
1136
1137 2004-10-05  José Matos  <jamatos@lyx.org>
1138
1139         * ParagraphParameters.C (read):
1140         * text.C (readParToken): replace nexToken by more appropriate lex
1141         methods.
1142
1143 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1144
1145         * LaTeX.C (runMakeIndex):
1146         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1147         (usually 'makeindex') configurable.
1148
1149         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1150         with a variable rather than with a number.
1151
1152 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1153
1154         * output_latex.C (TeXOnePar): make sure font setting is the first
1155         thing that gets output (and the last at the end). Should fix bug
1156         1404.
1157
1158 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1159
1160         * pch.h: use proper signal include
1161
1162         * LaTeX.h: Use preferred calling of Boost.Signal
1163         * buffer.h: ditto
1164
1165 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1166
1167         * pch.h: dont include <boost/function/function0.hpp>
1168
1169         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1170
1171         * paragraph_pimpl.h: remove usage of ShareContainer
1172
1173         * paragraph_pimpl.C: remove initialization of ShareContainer.
1174
1175 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         Fix bug #1666
1178
1179         * BufferView.C (putSelectionAt): change the semantics when
1180         backwards == true: now, this just swaps cursor and anchor wrt the
1181         forward case
1182
1183         * BufferView.h (putSelectionAt): add some documentation
1184
1185         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1186         make sure backwardChar is done at least once (to avoid getting
1187         stuck)
1188         (findNextChange): use putSelectionAt in the forward direction
1189         (operator()): use Paragraph::isWord
1190
1191 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1192
1193         * Spacing.C (set): c_str fix
1194
1195 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1196
1197         * lyx_cb.C (Reconfigure): quote the name of configure script in
1198         case it contains spaces
1199
1200 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1201
1202         * client: new dir
1203
1204         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1205         (BOOST_LIBS): use top_buildir when looking for the file
1206
1207 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1208
1209         * pch.h: do not use include boost/format.hpp, multiple symbols
1210                 will result (gcc bug)
1211
1212
1213 2004-08-23  José Matos  <jamatos@lyx.org>
1214
1215         * bufferparams.C (readToken): fix reading of the author field.
1216
1217 2004-08-20  José Matos  <jamatos@lyx.org>
1218
1219         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1220
1221 2004-08-20  José Matos  <jamatos@lyx.org>
1222
1223         * lyxlex.[Ch] (findToken): remove function.
1224
1225         * ParagraphParameters.C (findToken):
1226         * bufferparams.C (findToken): replace call for previous function
1227         with local copy. This local function has one more argument, the
1228         read string argument.
1229
1230 2004-08-16  José Matos  <jamatos@lyx.org>
1231
1232         * ParagraphParameters.C (write):
1233         * Spacing.C (writeFile):
1234         * bufferparams.C (writeLaTeX):
1235         * lyx_cb.C (Reconfigure):
1236         * paragraph.C (write):
1237         * tabular.C (write): remove unnecessary space at end of line.
1238
1239
1240 2004-08-16  José Matos  <jamatos@lyx.org>
1241
1242         * text.C (readParagraph): remove debug message.
1243
1244 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1245
1246         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1247         crash
1248
1249         * output_plaintext.C (asciiParagraph): set depth correctly
1250
1251         * outputparams.h: add member depth
1252
1253         * paragraph_funcs.C (ownerPar): remove.
1254
1255         * text2.C (setCounter): remove first_pit; comment out some
1256         non-working code that uses ownerPar
1257
1258         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1259         uses ownerPar
1260
1261 2004-08-16  José Matos  <jamatos@lyx.org>
1262
1263         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1264         For the same level of importance use the same chanel to report problems.
1265         (read): add code to deal with \begin_body and \end_body.
1266
1267
1268 2004-08-15  José Matos  <jamatos@lyx.org>
1269
1270         * lyxlex.C (getString): fix comment, buffer::readBody is now
1271         buffer:readDocument.
1272
1273         * tex-strings.C (string_papersize): Default -> default,
1274         Custom -> custom, for consistency with other options.
1275
1276 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1277
1278         * pch.h: new file
1279
1280         * Makefile.am: support pch
1281
1282 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1283
1284         * text.C (readParToken): remove the static LyXFont variable and
1285         pass it as a parameter instead. This fixes a nasty bug where an
1286         inset will be inserted with a bad font in some situations
1287         (readParagraph): adapt
1288
1289         * text2.C (setCounter): reduce number of calls to pars_[pit]
1290
1291         * text.C (singleWidth): add an assert, fix a test
1292
1293         * rowpainter.C (paintText): reduce number of calls to singleWidth
1294
1295         * paragraph.C (isHfill):
1296         (isNewline): ws only
1297
1298 2004-08-14  André Pönitz  <poenitz@gmx.net>
1299
1300         * text.C:
1301         * text2.C:
1302         * rowpainter.C:
1303         * lyxtext.h (several functions): use a Paragraph & argument
1304         instead of par_type
1305
1306 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1307
1308         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1309
1310         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1311
1312         * text.C (singleWidth): remove useless test
1313
1314 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1315
1316         * tabular.h: remove bogus comments
1317
1318         * tabular.C (getDescentOfRow):
1319         (isPartOfMultiColumn): add assertions
1320
1321         * lyxlength.C (inPixels): remove #warning
1322
1323 2004-08-14  André Pönitz  <poenitz@gmx.net>
1324
1325         * paragraph.h: inline getChar()
1326
1327         * BufferView.h: remove unused declarations
1328
1329 2004-08-14  José Matos  <jamatos@lyx.org>
1330
1331         * Buffer.[Ch] (readDocument): new name for old readBody.
1332         * Buffer.C: new file format, new keywords: \begin_document,
1333         \begin_header, \begin_body, \end_body.
1334
1335         * bufferparams.C (readToken): replace all calls to lex.nextToken
1336         by lex.next(). Do the same to eatLine except where really needed.
1337
1338         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1339         line when writing to the lyx file.
1340
1341         * output_plaintext.C (asciiParagraph): fix Bibliography style
1342         handling.
1343
1344         * text.C (read): fix end of file handling.
1345
1346 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * MenuBackend.C (Menu::operator[]): new method to access
1349         individual menu items
1350         (Menu::hasFunc): new method. search for an item that corresponds
1351         to a given func
1352         (MenuBackend::specialMenu): new method
1353         (MenuBackend::expand): if a special menu has been set, skip
1354         entries whose func() appears in this menu
1355
1356 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1357
1358         * text3.C: use Debug::DEBUG a bit more
1359
1360         * text.C (leftMargin): try to simplify a tiny bit change var x to
1361         l_margin. Dont output the wide margins always.
1362         (rightMargin): no margin in inner texts
1363
1364         * rowpainter.h (nestMargin): new func
1365         (changebarMargin): new func
1366         (rightMargin): new func
1367
1368         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1369         now functions.
1370         (paintLast): ditto
1371
1372         * factory.C (createInset): modify setDrawFrame
1373
1374         * cursor.C: use Debug::DEBUG a bit more
1375
1376 2004-08-14  André Pönitz  <poenitz@gmx.net>
1377
1378         * coordcache.[Ch]:
1379         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1380         cache for all insets in (at least partially) visible (top-level)
1381         paragraphs.
1382
1383         * BufferView_pimpl.C: reset external coord cache before every update.
1384         This means the coord cache only contains valid entries.
1385
1386 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1387
1388         bug 1096
1389         * BufferView_pimpl.C (getInsetByCode): move function out of class
1390         and change in to a template in anon namespace. Also fix to do what
1391         suits us better.
1392
1393 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1394
1395         bug 1305
1396         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1397         of char
1398         (breakParagraph): rename par to par_offset and use a local
1399         reference. Add code to keep the language over a rebreak.
1400         (breakParagraphConservative): rename par to par_offset, use a
1401         local reference
1402         (mergeParagraph): ditto
1403         (outerHook): ditto
1404         (isFirstInSequence): ditto
1405         (outerFont): rename pit to par_offset
1406
1407         * paragraph.C: ws change
1408         * paragraph.h: ditto
1409         * text3.C: ditto
1410         * text.C: ditto
1411
1412 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413
1414         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1415         treatment for ']'
1416
1417         * paragraph.C (simpleTeXOnePar): when we have a \item with
1418         optional argument, enclose the argument with curly brackets (in
1419         case it contains a closing square bracket)
1420
1421         * text2.C (editXY):
1422         * text2.C (editXY):
1423         * text3.C (checkInsetHit): constify
1424
1425 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1428         documents (bug 1629)
1429
1430 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         Fix toggling of collapsable insets with the mouse (bug 1558)
1433
1434         * lyxfunc.C (dispatch): adapt to LCursor changes
1435
1436         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1437         make sure that dispatch is not invoked twice
1438
1439         * cursor.C (needsUpdate): new method
1440         (dispatch): return void
1441         (result): new method, to access the DispatchResult of the cursor.
1442
1443 2004-08-13  José Matos  <jamatos@lyx.org>
1444
1445         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1446
1447 2004-08-13  André Pönitz  <poenitz@gmx.net>
1448
1449         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1450
1451         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1452           multiple cells
1453
1454 2004-08-12  André Pönitz  <poenitz@gmx.net>
1455
1456         * text3.C: take out the 'cursor right' form insertInset and only
1457         do it in those places when it is really needed. Fixes crash on
1458         C-m...
1459
1460 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1463
1464         * BufferView_pimpl.C (setBuffer): initialize the current font of
1465         the underlying LyXText
1466
1467 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * kbsequence.C (print): use UI native formatting for menu
1470         shortcuts
1471
1472         * text.C (insertChar): call Paragraph::insertChar with a font
1473         argument (cosmetic)
1474
1475         * paragraph.C (insertInset, insertChar): the version that takes a
1476         LyXFont argument is now a wrapper around the other one (the
1477         opposite used to be true).
1478
1479         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1480         argument. Font setting is done in Paragraph now.
1481
1482 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * outputparams.h: add new members intitle and lang.
1485
1486         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1487         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1488
1489 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1490
1491         * text3.C (dispatch): remove special handling of button 4 and 5,
1492         it is now taken care of in the frontend code.
1493
1494 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1495
1496         * Spacing.h: add <string> (STLPort compile fix)
1497
1498 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1499
1500         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1501
1502 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1503
1504         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1505         to bool.
1506
1507         * converter.C (showMessage): inherit from unary_function, make
1508         operator() const.
1509
1510         * buffer.C (writeFile): initialize retval
1511
1512         * InsetList.h: rename private variable list to list_
1513         * InsetList.[Ch]: adjust accordingly.
1514
1515 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1516
1517         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1518         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1519         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1520         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1521         * ParagraphParameters.C, LaTeXFeatures.C: replace
1522         "support/std_sstream.h" with <sstream>
1523
1524 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1525
1526         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1527         * lyxsocket.C (LyXServerSocket): ditto
1528         (serverCallback): ditto
1529
1530 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1531
1532         * LaTeXFeatures.C: check release date when loading jurabib.
1533
1534 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1535
1536         * lyxserver.C (startPipe): call register_socket_callback
1537         (endPipe): call unregister_socket_callback
1538
1539 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1540
1541         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1542         (LyXServerSocket): register the callback
1543         (LyXServerSocket): unregister the callback
1544         (fd): delete function
1545         (serverCallback): improve error checking and setup the callbacks.
1546         (dataCallback): change arg to fd.
1547         (writeln): new func (copied fro the client socket) used for server
1548         write to client.
1549         (LyXDataSocket): simplify
1550         (~LyXDataSocket): close ann unregiser callback
1551         (server): delete function
1552         (fd): delete function
1553         (readln): small changes, improve some std::string usage
1554         (writeln): constify a bit
1555
1556 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1557
1558         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1559         Qt frontend
1560
1561 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1562
1563         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1564         after it has been populated
1565
1566 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1567
1568         * text2.C (insertInset): move cursor when inserting inset.
1569
1570 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * kbmap.C (findbindings): a couple of new methods. returns a
1573         container of kb_sequence objects. The real work is done by the
1574         private recursive version
1575         (printbindings): uses findbindings to print out a bracketed list
1576         of bindings (renamed from findbinding).
1577
1578         * MenuBackend.C (binding): use kb_keymap::findbindings
1579
1580         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1581
1582 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1583
1584         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1585
1586 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1587
1588         * paragraph.C (isWord): return true on insets that report
1589         isLetter().
1590
1591         * text.C (getWord): use Paragraph::isWord to decide what is in a
1592         word and what is not; fix bug 1609.
1593
1594 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1595
1596         * tex-strings.C: add "none" to string_paperpackages[], fixes
1597         off-by-one-error in the paperpackage selection.
1598
1599         * lyxlex.[Ch]:
1600         * tex-strings.[Ch]: char const * string[n]
1601         -> char const * const string[]
1602
1603 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1604
1605         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1606         command, return early.
1607
1608 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1609
1610         * debug.h: add DEBUG to enum and fix size of ANY.
1611
1612         * debug.C: add support for Debug::DEBUG
1613         (showTags): cast errorTags.level to unsigned int
1614
1615         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1616         (redoCurrentBuffer): ditto
1617         (updateScrollbar): ditto
1618         * cursor.C (dispatch): ditto
1619         * text2.C (setLayout): ditto
1620         (setFont): ditto
1621         (updateCounters): ditto
1622         (editXY): ditto
1623         (deleteEmptyParagraphMechanism): ditto
1624
1625 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1626
1627         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1628         annotations to cleanup the Makefile slightly.
1629
1630 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1631
1632         * lyxrc.C: do not set user_email to a default value but use empty
1633         instead. The entry used to be translated, which does not work
1634         since at the point where lyxrc is constructed there is no
1635         translation service available
1636
1637         * messages.C (getLocaleDir): remove and use directly
1638         lyx_localedir() instead
1639
1640 2004-06-02  Angus Leeming  <leeming@lyx.org>
1641
1642         Fix crash caused by dereferencing null pointer 'exportdata' in
1643         OutputParams by creating a new ExportData variable on the heap,
1644         storing it in a boost::shared_ptr.
1645         The crash was triggered when generating an Instant Preview
1646         of an external inset.
1647
1648         * Makefile.am: add outputparams.C
1649
1650         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1651         (c-tor): allocate memory to it.
1652
1653         * exporter.C (c-tor): associated changes.
1654
1655 2004-06-01  Angus Leeming  <leeming@lyx.org>
1656
1657         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1658         contains data before calling isInset(0). (Bug 1513.)
1659
1660 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1661
1662         * exporter.C (checkOverwrite): new method
1663         * exporter.C (copyFile): new method
1664         * exporter.C (Export): copy referenced files to the document dir
1665         * exporter.[Ch]: new class ExportedFile
1666         * exporter.[Ch]: new class ExportData. Contains currently the
1667         names of referenced external files
1668         * outputparams.h: add exportdata member.
1669
1670 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1671
1672         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1673         version.C-tmp
1674
1675 2004-05-19  Angus Leeming  <leeming@lyx.org>
1676
1677         * LaTeXFeatures.C:
1678         * ToolbarBackend.C:
1679         * bufferparams.C:
1680         * lyxfunc.C: small changes due to the introduction of namespace
1681         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1682
1683 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * text3.C (dispatch): supress update when only moving the cursor
1686         * cursor.C (selHandle): remove commented code
1687
1688 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1689
1690         * paragraph.C (startTeXParParams): correct column count
1691         * CutAndPaste.C (pasteSelection): remove const_cast
1692         * output_docbook.C (docbookParagraphs): remove const_cast
1693         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1694         const_cast and return ParagraphList::const_iterator
1695         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1696         * output_plaintext.C (writeFileAscii): remove const_cast
1697         * paragraph.[Ch] (simpleTeXOnePar): make const
1698         * paragraph_funcs.C (outerPar): use const iterators
1699         * paragraph_pimpl.C (validate): use const iterators
1700         * text.C (setHeightOfRow): use const iterators
1701
1702 2004-05-17  Angus Leeming  <leeming@lyx.org>
1703
1704         * lfuns.h:
1705         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1706
1707         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1708         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1709         if the citation engine has changed.
1710
1711 2004-05-14  José Matos  <jamatos@lyx.org>
1712
1713         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1714         if the textclass does not provide it. Have it different for sgml and
1715         xml.
1716         support the language of document.
1717         * output_docbook.C (docbookParagraphs):
1718         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1719         first anchor as the id of the paragraph, remove special case code.
1720         * sgml.C (escapeChar): escape only < & >.
1721
1722 2004-05-14  Angus Leeming  <leeming@lyx.org>
1723
1724         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1725         dependencies on src/frontends/controllers/biblio.h. Define a
1726         CiteEngine_enum wrapper class to enable the enum to be forward
1727         declared.
1728
1729 2004-05-12  Angus Leeming  <leeming@lyx.org>
1730
1731         * buffer.C: up LYX_FORMAT to 234.
1732         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1733         use_numerical_citations with a single biblio::CiteEngine cite_engine
1734         variable.
1735         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1736
1737 2004-05-13  José Matos  <jamatos@lyx.org>
1738
1739         * converter.h:
1740         * converter.C (Converter, readFlags): add xml member.
1741         * outputparams.h: add XML flavor.
1742         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1743
1744 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1745
1746         * lyxfunc.C (dispatch):
1747         (getStatus): fix handling of LFUN_SEQUENCE
1748
1749 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1750
1751         * debug.C (showLevel): do not forget the end-of-line marker
1752
1753 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1754
1755         * kbmap.C (read): do not stop parsing a bind file when an error
1756         occurs (bug 1575)
1757
1758 2004-04-29  Angus Leeming  <leeming@lyx.org>
1759
1760         * cursor.C:
1761         * factory.C:
1762         * pariterator.C:
1763         * text2.C: wrap a bunch of #warning statements
1764         inside #ifdef WITH_WARNINGS blocks.
1765
1766 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1767
1768         * buffer.C: increment format to 233.
1769
1770 2004-04-28  Angus Leeming  <leeming@lyx.org>
1771
1772         * BufferView_pimpl.C:
1773         * lyxfunc.C:
1774         * text3.C:
1775         s/updateToolbar()/updateToolbars()/
1776         s/Toolbar.h/Toolbars.h/
1777
1778 2004-04-28  Angus Leeming  <leeming@lyx.org>
1779
1780         * BufferView.[Ch] (c-tor):
1781         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1782         No longer passes these data to the WorkArea generator.
1783
1784 2004-04-28  Angus Leeming  <leeming@lyx.org>
1785
1786         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1787
1788 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1789
1790         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1791
1792 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * output_latex.C (TeXEnvironment): make sure that there is a line
1795         break before \end{foo} for the last paragraph of a document
1796         (TeXOnePar): if the paragraph is at the end of the document (or
1797         inset) and the language has to be reset, then make sure that the
1798         line break is _before_ the language command, not after (fixes bug
1799         1225); also make sure that the language reset command is the first
1800         thing after the paragraph (to ensure proper nesting of
1801         environments and thus fix bug 1404)
1802
1803 2004-04-21  John Levon  <levon@movementarian.org>
1804
1805         * ToolbarBackend.h:
1806         * ToolbarBackend.C: make "name" be a programmatic name
1807         and a gui_name field.
1808
1809         * lyxfunc.C: display the minibuffer on M-x
1810
1811 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812
1813         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1814         (bug 1526)
1815
1816 2004-04-19  Angus Leeming  <leeming@lyx.org>
1817
1818         * BufferView_pimpl.C (setBuffer): changed preview interface.
1819
1820         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1821         possible values.
1822
1823 2004-04-19  John Levon  <levon@movementarian.org>
1824
1825         * BufferView_pimpl.C:
1826         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1827
1828 2004-04-05  Angus Leeming  <leeming@lyx.org>
1829
1830         * text.C (redoParagraphs): add call to updateCounters(), thereby
1831         fixing the missing "Figure #:" label from the caption of a
1832         figure float.
1833
1834 2004-04-13  Angus Leeming  <leeming@lyx.org>
1835
1836         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1837         cursor is clicked out of an inset.
1838
1839 2004-04-13  Angus Leeming  <leeming@lyx.org>
1840
1841         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1842         than an InsetOld one.
1843
1844 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1845
1846         * format.[Ch]: add editor to Format
1847         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1848         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1849
1850 2004-04-08  André Pönitz  <poenitz@gmx.net>
1851
1852         * metricsinfo.h: remove PainterInfo::width member
1853
1854 2004-04-08  Angus Leeming  <leeming@lyx.org>
1855
1856         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1857         "\providecommand" rather than "\newcommand", thereby preventing
1858         clashes with packages that define "\boldsymbol" themselves.
1859         Eg, beamer.
1860
1861 2004-04-08  Angus Leeming  <leeming@lyx.org>
1862
1863         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1864         thereby squashing an unnecessary warning.
1865
1866 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1867
1868         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1869         setBuffer()
1870
1871 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1872
1873         * BufferView.C (setCursor): call redoParagraph (some insets could
1874         have been opened)
1875         (putSelectionAt): remove the 'double update' trick
1876
1877         * BufferView_pimpl.C (fitCursor): call refreshPar
1878         (workAreaDispatch): remove an uneeded update call
1879         (dispatch): remove some manual update calls
1880
1881         * cursor.[Ch]: remove cached_y_, updatePos
1882         (selHandle): set noUpdate when appropriate
1883
1884         * lyxfunc.C (dispatch): track if we need an update
1885
1886         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1887
1888         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1889         (paintSelection): cheap optimization, do not call cursorX when not
1890         needed
1891         (paintPars): change signature
1892         (refreshPar): add
1893         (paintText): adjust
1894         (paintTextInset): adjust
1895
1896         * text.C: adjust
1897
1898 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1899
1900         * lengthcommon.C: compilation fix: remove explicit array size from
1901         unit_name[] and friends
1902
1903 2004-04-05  Angus Leeming  <leeming@lyx.org>
1904
1905         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1906
1907         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1908         present only for the preferences dialog.
1909         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1910
1911 2004-04-05  Angus Leeming  <leeming@lyx.org>
1912
1913         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1914         to enable the frontends to export changes to lyxrc correctly.
1915
1916         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1917
1918 2004-04-07  André Pönitz  <poenitz@gmx.net>
1919
1920         * cursor.[Ch] (selClear, adjust): remove math
1921
1922         * cursor_slice.C: more agressive assert
1923
1924         * lyxfunc.C:
1925         * BufferView_pimpl.C: rework mouse event dispatch
1926
1927         * dociterator.C:
1928         * paragraph.C:
1929         * text2.C:
1930         * text3.C: adjust
1931
1932 2004-04-05  André Pönitz  <poenitz@gmx.net>
1933
1934         * cursor.[Ch] (valign, halign...): remove unneeded functions
1935
1936 2004-04-05  Angus Leeming  <leeming@lyx.org>
1937
1938         * lyxlength.[Ch] (unit_name et al.): const-correct.
1939
1940 2004-04-05  Angus Leeming  <leeming@lyx.org>
1941
1942         * BufferView_pimpl.C:
1943         * buffer.C:
1944         * counters.C:
1945         * cursor.C:
1946         * lyxfunc.C
1947         * paragraph.C:
1948         * pariterator.C:
1949         * text.C:
1950         * text2.C:
1951         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1952
1953 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1954
1955         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1956
1957 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1958
1959         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1960         * BufferView_pimpl.[Ch] (getStatus)
1961         * BufferView.[Ch] (getStatus): add
1962         * lyxfunc.C (getStatus): move lfuns handled in
1963         BufferView::dispatch to te function above
1964         * Cursor.C (setSelection): set selection() = true
1965
1966 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1967
1968         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1969
1970 2004-03-31  Angus Leeming  <leeming@lyx.org>
1971
1972         * lyxfunc.C (dispatch): Fall through to the generic
1973         Dialogs::show("preamble").
1974
1975 2004-03-31  Angus Leeming  <leeming@lyx.org>
1976
1977         * lyxfunc.C (dispatch): Fall through to the generic
1978         Dialogs::show("spellchecker").
1979
1980 2004-03-31  Angus Leeming  <leeming@lyx.org>
1981
1982         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1983         preferences dialog.
1984
1985 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * BufferView.C
1988         * cursor.[Ch]
1989         * dociterator.[Ch]:
1990         * insetiterator.[Ch]:
1991         * lyxfind.C:
1992         * lyxfunc.C:
1993         * pariterator.[Ch]:
1994         * text2.C:
1995         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1996
1997 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1998
1999         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2000         insets where we are putting the cursor.
2001
2002 2004-03-31  Angus Leeming  <leeming@lyx.org>
2003
2004         * lfuns.h:
2005         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2006
2007         * lyxrc.[Ch] (read, write): overloaded member functions taking
2008         a std::[io]stream arguments.
2009
2010         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2011
2012 2004-03-31  Angus Leeming  <leeming@lyx.org>
2013
2014         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2015         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2016
2017         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2018         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2019
2020 2004-03-31  Angus Leeming  <leeming@lyx.org>
2021
2022         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2023         the LFUN_ALL_INSETS_TOGGLE code.
2024
2025 2004-03-30  Angus Leeming  <leeming@lyx.org>
2026
2027         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2028         has died. Fall through to the generic Dialogs::show("document").
2029
2030 2004-03-30  Angus Leeming  <leeming@lyx.org>
2031
2032         * lfuns.h:
2033         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2034         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2035
2036         * lyxfunc.C (getStatus, dispatch): define the actions for these
2037         lfuns. Little more than a cut and pste job from ControlDocument.C
2038
2039         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2040
2041 2004-03-30  Angus Leeming  <leeming@lyx.org>
2042
2043         * lfuns.h:
2044         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2045         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2046
2047         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2048         open/closed state of ollapsable insets. Usage:
2049
2050         all-inset-toggle <state> <name>, where
2051         <state> == "open" || "closed" || "toggle" and
2052         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2053
2054         * lyxtext.h, text2.C (toggleInset): removed.
2055
2056         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2057         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2058         now passes LFUN_INSET_TOGGLE to the found inset.
2059
2060         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2061         is now invoked as "all-insets-toggle toggle branch".
2062
2063 2004-03-30  Angus Leeming  <leeming@lyx.org>
2064
2065         * dociterator.C:
2066         * insetiterator.C:
2067         * pariterator.[Ch]: added/corrected header blurb.
2068
2069 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2070
2071         * dociterator.[Ch]: add an inset_ member
2072         (backwardPos): implemented
2073         (backwardPos, forwardPos): use inset_ when the stack is empty.
2074         (doc_iterator_begin, doc_iterator_end): implemented
2075         * pariterator.[Ch]: adjust, add begin, end
2076         * insetiterator.[Ch]: adjust, add begin, end
2077         * cursor.C:
2078         * document.C:
2079         * BufferView.C:
2080         * BufferView_pimpl.C:
2081         * CutAndPaste.C: adjust
2082
2083 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2084
2085         * buffer.C: increment file format to 232.
2086         * LaTeXFeatures.C: add bibtopic package.
2087         * bufferparams.[Ch]: param \use_bibtopic.
2088
2089         * lyxrc.[Ch]: add lyxrc bibtex_command
2090         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2091
2092         * buffer.C: increment file format to 231.
2093
2094 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2095
2096         * dociterator.C: implement forwardPar
2097         * iterators.[Ch]: remove, replaced by
2098         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2099         * BufferView.C:
2100         * BufferView_pimpl.C:
2101         * CutAndPaste.C:
2102         * buffer.C:
2103         * bufferview_funcs.C:
2104         * cursor.C:
2105         * lyxfind.C
2106         * lyxfunc.C
2107         * paragraph_funcs.C
2108         * toc.C:
2109         * Makefile.am: adjust
2110
2111 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * CutAndPaste.C (pasteSelection): fix 2 crashes
2114         (eraseSelection): fix a crash
2115         * paragraph_funcs.C: remove a warning
2116
2117 2004-03-28  Angus Leeming  <leeming@lyx.org>
2118
2119         * lfuns.h:
2120         * LyXAction.C (init): new LFUN_PRINT.
2121
2122         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2123
2124 2004-03-27  Angus Leeming  <leeming@lyx.org>
2125
2126         * lfuns.h:
2127         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2128
2129         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2130
2131 2004-03-27  Angus Leeming  <leeming@lyx.org>
2132
2133         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2134         insetlist always contains non-null pointers to insets.
2135
2136 2004-03-26  Angus Leeming  <leeming@lyx.org>
2137
2138         * src/BufferView_pimpl.C:
2139         * src/CutAndPaste.C:
2140         * src/buffer.C:
2141         * src/iterators.C:
2142         * src/output_plaintext.C:
2143         * src/outputparams.h:
2144         * src/paragraph_funcs.C:
2145         * src/rowpainter.C:
2146         * src/text.C:
2147         * src/text2.C:
2148         * src/frontends/controllers/ControlErrorList.C:
2149         * src/frontends/gtk/FileDialogPrivate.C:
2150         * src/frontends/gtk/GPainter.C:
2151         * src/frontends/gtk/GToolbar.C:
2152         * src/frontends/qt2/QRef.C:
2153         * src/mathed/math_scriptinset.C: squash compiler warnings.
2154
2155 2004-03-26  Angus Leeming  <leeming@lyx.org>
2156
2157         * ispell.C (LaunchIspell::start):
2158         * lyx_cb.C (AutoSaveBuffer::start):
2159         invoke run(DontWait) rather than runNonBlocking().
2160
2161 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2162
2163         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2164
2165 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * kbsequence.C (print): adjust
2168
2169         * kbmap.C (printKeySym): rename and change signature
2170         (printKey): use LyXKeySym::print()
2171
2172 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2173
2174         * undo.C: add using std::advance to compile for stlport
2175
2176 2004-03-24  Angus Leeming  <leeming@lyx.org>
2177
2178         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2179         it leads to a crash when no buffer is present.
2180
2181 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2182             Martin Vermeer  <martin.vermeer@hut.fi>
2183
2184         * lyxfunc.C (dispatch):
2185         * bufferparams.C (readToken): use the new LColor::setColor
2186
2187         * LColor.[Ch] (setColor): new version that takes two strings as
2188         argument and creates a new color entry if necessary
2189
2190 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2191
2192         * buffer.C (makeLaTeXFile): if the main latex file that is
2193         processed is usually a subdocument of some master, then pretend
2194         for a while that it is actually the master
2195
2196 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2197
2198         * buffer.C (getLabelList):
2199         (getBibkeyList): use getMasterBuffer()
2200         (getMasterBuffer): new method. Returns the main document in the
2201         case where one is using included documents.
2202
2203 2004-03-25  André Pönitz  <poenitz@gmx.net>
2204
2205         * Makefile.am:
2206         * iterators.[Ch]:
2207         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2208
2209         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2210
2211         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2212         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2213
2214         * ParameterStruct.h: merge with ParagraphParameters
2215
2216         * lyxtext.h: remove LyXText::parOffset() and getPar()
2217
2218         * text3.C: Remove all 'manual' update calls. We do now one per user
2219         interaction which is completely sufficient.
2220
2221         * Bidi.C:
2222         * BufferView.[Ch]:
2223         * BufferView_pimpl.C:
2224         * FontIterator.[Ch]:
2225         * MenuBackend.C:
2226         * ParagraphParameters.[Ch]:
2227         * buffer.C:
2228         * buffer.h:
2229         * bufferlist.C:
2230         * cursor.[Ch]:
2231         * cursor_slice.[Ch]:
2232         * dociterator.[Ch]:
2233         * errorlist.[Ch]:
2234         * factory.C:
2235         * lfuns.h:
2236         * lyxfind.C:
2237         * lyxfunc.C:
2238         * output_docbook.[Ch]:
2239         * output_latex.[Ch]:
2240         * output_linuxdoc.[Ch]:
2241         * output_plaintext.[Ch]:
2242         * paragraph.[Ch]:
2243         * paragraph_funcs.[Ch]:
2244         * paragraph_pimpl.[Ch]:
2245         * rowpainter.C:
2246         * tabular.[Ch]:
2247         * text.C:
2248         * text2.C:
2249         * toc.C:
2250         * undo.[Ch]: adjust
2251
2252         * frontends/controllers/ControlDocument.C:
2253         * frontends/controllers/ControlErrorList.C:
2254         * frontends/controllers/ControlSpellchecker.C:
2255         * insets/inset.C:
2256         * insets/inset.h:
2257         * insets/insetbase.h:
2258         * insets/insetbibitem.C:
2259         * insets/insetbox.C:
2260         * insets/insetbranch.C:
2261         * insets/insetcaption.C:
2262         * insets/insetcharstyle.C:
2263         * insets/insetcharstyle.h:
2264         * insets/insetcollapsable.C:
2265         * insets/insetcollapsable.h:
2266         * insets/insetert.C:
2267         * insets/insetfloat.C:
2268         * insets/insetfoot.C:
2269         * insets/insetmarginal.C:
2270         * insets/insetnote.C:
2271         * insets/insetoptarg.C:
2272         * insets/insettabular.C:
2273         * insets/insettext.C:
2274         * insets/insettext.h:
2275         * insets/insetwrap.C:
2276         * mathed/math_mboxinset.C:
2277         * mathed/math_nestinset.C:
2278         * mathed/math_scriptinset.C:
2279         * mathed/math_scriptinset.h:
2280         * support/types.h:
2281
2282 2004-03-24  Angus Leeming  <leeming@lyx.org>
2283
2284         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2285         deal with any child processes that have finished but are waiting to
2286         communicate this fact to the rest of LyX.
2287
2288 2004-03-24  Angus Leeming  <leeming@lyx.org>
2289
2290         64-bit compile fixes.
2291
2292         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2293         (c-tor): pass lyx::pos_types rather than ints.
2294
2295         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2296         lyx::pos_type.
2297
2298         * text.C (Delete): compile fix.
2299         (getPar): ensure that function declaration is the same as that in
2300         the header file.
2301
2302 2004-03-23  Angus Leeming  <leeming@lyx.org>
2303
2304         * ispell.C (LaunchIspell):
2305         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2306         a boost::shred_ptr rather than a std::auto_ptr.
2307
2308 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2309
2310         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2311         handle LFUN_FILE_INSERT_*
2312
2313         * lyxrc.C (setDefaults, getDescription, output, read):
2314         * lyxrc.h: remove ps_command
2315
2316 2004-03-22  Angus Leeming  <leeming@lyx.org>
2317
2318         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2319         Ensure that error_handler is processed once only and that all data
2320         is saved before attempting to output any warning messages.
2321
2322         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2323
2324 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2325
2326         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2327
2328 2004-03-19  André Pönitz  <poenitz@gmx.net>
2329
2330         * cursor.[Ch] (reset): take main text inset as argument
2331
2332         * BufferView: adjust
2333         * BufferView_pimpl.C: adjust
2334
2335         * paragraph.[Ch]: fix completely broken operator=()
2336
2337 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2338
2339         * LColor.C (getFromLyXName): make sure that the color name is used
2340         as lowercase.
2341
2342 2004-03-17  Angus Leeming  <leeming@lyx.org>
2343
2344         * lfuns.h:
2345         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2346
2347         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2348         dialog and to kill a forked process.
2349
2350 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2351
2352         * text2.C (setCursorFromCoordinates): fix font problem
2353
2354 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2355
2356         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2357         bogus "rebuild cursor" code
2358
2359 2004-03-11  André Pönitz  <poenitz@gmx.net>
2360
2361         * buffer.[Ch]: use InsetText instead of LyXText as container for
2362         the main lyx text.
2363
2364         * dociterator.[Ch]: drop the BufferView * member which is not needed
2365         anymore after the change to buffer.C
2366
2367         * paragraph_funcs.C:
2368         * text.C:
2369         * text2.C:
2370         * BufferView.[Ch]:
2371         * BufferView_pimpl.[Ch]:
2372         * cursor.[Ch]:
2373         * cursor_slice.[Ch]: adjust
2374
2375         * text3.C: fix bug in mathDispatch
2376
2377 2004-03-08  André Pönitz  <poenitz@gmx.net>
2378
2379         * undo.[Ch]: use 'StableDocumentIterator' as base for
2380         the Undo struct.
2381
2382 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2383
2384         * LaTeXFeatures.C:
2385         * bufferparams.[Ch]: add jurabib support and param.
2386
2387         * LaTeX.C: add FIXME/comment.
2388
2389 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2390
2391         * buffer.C: increment file format to 230.
2392
2393 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2394
2395         * cursor.C (dispatch): avoid infinite loops
2396
2397 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2398
2399         * rowpainter.C (paintSelection): fix x coordinates
2400
2401 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * text.C (rowBreakPoint): fix breaking before displayed insets
2404
2405 2004-03-01  André Pönitz  <poenitz@gmx.net>
2406
2407         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2408
2409         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2410
2411         * Makefile.am:
2412         * BufferView.C:
2413         * BufferView_pimpl.C:
2414         * buffer.C:
2415         * lyxfind.C:
2416         * lyxfunc.C:
2417         * text.C:
2418         * text2.C:
2419         * text3.C: adjust
2420
2421 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2422
2423         * lyxtext.h:
2424         * text.C:
2425         * text2.C:
2426         * rowpainter.C:
2427         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2428         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2429
2430 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * Bidi.[Ch] (computeTables): const correctness
2433         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2434         fill_hfill, fill_label_hfill and x from Row
2435         * lyxtext.h: prepareToPrint returns a RowMetrics
2436         * rowPainter.C: adjust
2437         * text.C (prepareToPrint): use width, not textWidth. adjust
2438         (redoParagraphInternal, cursorX): adjust
2439         * text2.C (getColumnNearX): adjust
2440         (init): put a default value to the top LyXText::width
2441
2442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2445
2446 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2447
2448         * lyxtext.h: add FontIterator class
2449
2450         * text.C (FontIterator, operator*, operator->, operator++): add
2451         (rowBreakPoint, setRowWidth): adjust (fixing a
2452         rebreaking bug)
2453
2454 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2455
2456         * BufferView_pimpl.C (workAreaDispatch): allow also
2457         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2458
2459 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * text.C (rowBreakPoint): fix a bug showing with very large insets
2462
2463 2004-02-25  André Pönitz  <poenitz@gmx.net>
2464
2465         * text3.C:
2466         * cursor.[Ch]: move some mathed specific code to mathed
2467
2468 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2469
2470         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2471         use_tempdir in preferences
2472         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2473         tempfile creation
2474         * lyx_main.C: ensure that tempdir is valid
2475         * lyxlex.h: correct typo
2476         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2477         * paragraph.[Ch] (isMultiLingual): make const
2478         * cursor.[Ch] (openable): make const
2479
2480 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2481
2482         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2483
2484 2004-02-20  André Pönitz  <poenitz@gmx.net>
2485
2486         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2487
2488         * cursor.[Ch]: prepare for localized getStatus()
2489
2490         * lyxtext.h:
2491         * tabular.C:
2492         * text.C:
2493         * text2.C:
2494         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2495
2496 2004-02-20  André Pönitz  <poenitz@gmx.net>
2497
2498         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2499
2500 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * text2.C (setCursorFromCoordinates): switch to absolute coords
2503         (cursorUp): adjust
2504         (cursorDown): adjust
2505         * text3.C (dispatch): adjust
2506
2507 2004-02-16  André Pönitz  <poenitz@gmx.net>
2508
2509         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2510           insets/ChangeLog)
2511
2512         * cursor_slice.[Ch]: remove unneeded acessor function
2513
2514         * lyxtext.h: rename rtl() to isRTL()
2515
2516         * rowpainter.C:
2517         * tabular.C:
2518         * text.C:
2519         * text2.C:
2520         * text3.C: adjust
2521
2522 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2523
2524         * rowpainter.C (paintSelection): coord fix
2525
2526 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2527
2528         * Spacing.C: compile fix
2529
2530 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2531
2532         * cursor.C (dispatch): restore current_ before returning
2533
2534 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2535
2536         * text2.C (cursorUp, cursorDown): fix coords
2537         (moveUp): fix crash
2538
2539 2004-02-12  André Pönitz  <poenitz@gmx.net>
2540
2541         * lyxtext.h:
2542         * text.C:
2543         * text2.C:
2544         * text3.C: add LCursor & parameter to most cursor movement functions
2545           remove usage of LyXText::cursorRow() and cursorPar()
2546
2547         * cursor.[Ch]: add textRow() needed members
2548
2549         * BufferView.C:
2550         * BufferView_pimpl.C:
2551         * paragraph.[Ch]:
2552         * BufferView.C:
2553         * BufferView_pimpl.C: adjust
2554
2555 2004-02-11  André Pönitz  <poenitz@gmx.net>
2556
2557         * lyxfunc.C:
2558         * BufferView.[Ch]:
2559         * BufferView_pimpl.C: shift undo/redo handling
2560
2561         * cursor.[Ch]: fix mathed crash
2562
2563         * lyxfind.C:
2564         * lyxtext.h: move selectionAsText to LCursor
2565
2566         * output_latex.C:
2567         * paragraph.C:
2568         * text.C:
2569         * text2.C:
2570         * text3.C: adjust
2571
2572         * rowpainter.C: fix excessive drawing
2573
2574 2004-02-06  André Pönitz  <poenitz@gmx.net>
2575
2576         * BufferView.[Ch]:
2577         * BufferView_pimpl.[Ch]:
2578         * text3.C: move some text specific LFUN handling
2579
2580 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2581
2582         * text3.C (checkInsetHit): adjust coords
2583         * text2.C (getColumnNearX): adjust coords
2584         (edit): adjust coords
2585         * text.C (getRowNearY): add two asserts
2586
2587 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2588
2589         * converter.C:
2590         * format.C: add using std::distance to compile on gcc 2.95/stlport
2591
2592 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2593
2594         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2595
2596 2004-02-04  André Pönitz  <poenitz@gmx.net>
2597
2598         * BufferView.[Ch] (insertInset):
2599         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2600
2601         * text2.C:
2602         * text3.C: adjust
2603
2604 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2605
2606         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2607         on the default clause of the switch
2608         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2609         wasn't catched by LCursor::dispatch
2610
2611 2004-02-03  André Pönitz  <poenitz@gmx.net>
2612
2613         * BufferView.C:
2614         * cursor.[Ch]: some additional asserts
2615
2616         * undo.[Ch]: remove LyXText dependency in interface
2617
2618         * lyxfunc.C: adjust
2619
2620         * lyxtext.h (firstPar, lastPar): remove dead functions
2621
2622         * text.C:
2623         * text2.C:
2624         * text3.C:
2625         * paragraph.[Ch]: adjust
2626
2627 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * lyxfind.C (find): fix argument order in call to ::find
2630
2631 2004-02-02  André Pönitz  <poenitz@gmx.net>
2632
2633         * cursor.[Ch]: remove direct access to anchor
2634
2635         * text.C: remove findText() hack
2636
2637 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2638
2639         * iterators.[Ch] (lockPath): remove in favour of...
2640         * BufferView.[Ch] (setCursor): this addition
2641         * BufferView.C (putSelectionAt): adjust
2642         * undo.C (performUndoOrRedo): adjust
2643         * lyxfunc.C (dispatch): adjust
2644
2645 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2646
2647         * iterators.C (lockPath): add a missing slice
2648         * undo.C (performUndoOrRedo): remove redundant positioning code
2649
2650 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2651
2652         * vc-backend.C (scanMaster): ";" -> ';'
2653
2654 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2655
2656         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2657         std::binary_function
2658
2659         * lyxtextclass.C (compare_name): rename to...
2660         (LayoutNamesEqual): ...this
2661
2662         * lyxlex_pimpl.C (compare_tags): inherit from
2663         std::binary_function, put back into anon namespace
2664
2665         * lyxfind.C (MatchString): inherig from std::binary_function
2666         (findChange): use empty() istead of !size()
2667
2668         * format.C (FormatNamesEqual): new functor
2669         (getFormat): use it
2670         (getNumber): use it
2671         (add): use it
2672         (erase): use it
2673         (setViewer): use it
2674
2675         * converter.C (compare_Converter): rename to...
2676         (ConverterEqual): ...this, and fixup a bit.
2677         (getConverter): use it, and make function const
2678         (getNumber): use it, and make function const
2679         (add): use it
2680         (erase): use it:
2681
2682         * bufferlist.C: add using boost::bind
2683
2684         * MenuBackend.C (MenuNamesEqual): new functor
2685         (hasMenu): use it, and make function const
2686         (hasSubmenu): use nested bind to get rid of compare_memfun.
2687
2688 2004-01-30  André Pönitz  <poenitz@gmx.net>
2689
2690         * BufferView_pimpl.C:
2691         * cursor.C:
2692         * cursor.h:
2693         * cursor_slice.[Ch]:
2694         * lyxfunc.C:
2695         * lyxtext.h:
2696         * paragraph_funcs.C:
2697         * paragraph_funcs.h:
2698         * rowpainter.C:
2699         * text.C:
2700         * text2.C:
2701         * text3.C: move some of the edit(x,y) handling to the insets
2702         some coordinate changes.
2703
2704 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2705
2706         * text.C: add using statements for std::advance and std::distance
2707
2708         * paragraph.C: add using statement for std::distance
2709
2710         * lyxfind.C: add using statement for std::advance
2711
2712         * cursor.C (region): remove std:: from swap
2713         (openable): use nucleus in stead of operator->
2714
2715         * BufferView.C: add using statements for std::distance and std::swap
2716
2717 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2718
2719         * iterators.C: Remove the pimple, move the needed structures to
2720         the header file. Create accessor for the positions stack.
2721         (asPosIterator): remove function
2722
2723         * PosIterator.C (PosIterator): move constructors to top of file
2724         (PosIterator): reimplement the constructor taking a ParIterator in
2725         terms of setFrom.
2726         (setFrom): new function
2727         (operator!=): inline it
2728
2729 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2730
2731         * lyxfind.C (replaceAll): use std::advance
2732
2733         * iterators.h: inherit from std::iterator.
2734
2735         * PosIterator.C (advance, distance): remove
2736         * PosIterator.h: interit from std::iterator.
2737
2738 2004-01-26  André Pönitz  <poenitz@gmx.net>
2739
2740         * BufferView.[Ch]:
2741         * BufferView_pimpl.[Ch]:
2742         * InsetList.[Ch]:
2743         * PosIterator.[Ch]:
2744         * buffer.h:
2745         * bufferview_funcs.C:
2746         * cursor.[Ch]:
2747         * cursor_slice.h:
2748         * factory.[Ch]:
2749         * iterators.[Ch]:
2750         * lyxfind.C:
2751         * lyxfunc.C:
2752         * lyxtext.h:
2753         * output_docbook.C:
2754         * output_latex.C:
2755         * output_linuxdoc.C:
2756         * output_plaintext.C:
2757         * paragraph.[Ch]:
2758         * paragraph_funcs.[Ch]:
2759         * paragraph_pimpl.[Ch]:
2760         * rowpainter.C:
2761         * tabular.C:
2762         * tabular.h:
2763         * text.C:
2764         * text2.C:
2765         * text3.C: more IU:  dumps most of the rest of the mathcursor
2766     implementation into cursor.[Ch]; "globalize" a bit of it.
2767
2768 2004-01-25  Angus Leeming  <leeming@lyx.org>
2769
2770         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2771
2772 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2773
2774         * LaTeXFeatures.h: add nice_ and nice() const
2775         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2776
2777 2004-01-20  André Pönitz  <poenitz@gmx.net>
2778
2779         * BufferView.[Ch]:
2780         * BufferView_pimpl.C:
2781         * PosIterator.C:
2782         * bufferview_funcs.C:
2783         * cursor.[Ch]:
2784         * cursor_slice.[Ch]:
2785         * factory.C:
2786         * iterators.C:
2787         * lyx_cb.C:
2788         * lyxfind.C:
2789         * lyxfunc.C:
2790         * lyxtext.h:
2791         * rowpainter.C:
2792         * text.C:
2793         * text2.C:
2794         * text3.C:
2795         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2796           LCursor and mathcursor parts to LCursor and InsetBase.
2797
2798 2004-01-15  André Pönitz  <poenitz@gmx.net>
2799
2800         * cursor_slice.[Ch]: add a few covienience functions
2801
2802         * funcrequest.[Ch]: remove BufferView * member
2803
2804         * BufferView_pimpl.C:
2805         * cursor.C:
2806         * factory.[Ch]:
2807         * lyxfind.[Ch]:
2808         * lyxfunc.C:
2809         * lyxtext.h:
2810         * text3.C:
2811         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2812
2813 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2814
2815         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2816         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2817
2818 2004-01-13  André Pönitz  <poenitz@gmx.net>
2819
2820         * textcursor.[Ch]:
2821         * lyxtext.h: hide cursor and selection anchor behind accessor function
2822
2823         * BufferView.C:
2824         * BufferView_pimpl.[Ch]:
2825         * PosIterator.C:
2826         * bufferview_funcs.C:
2827         * cursor.h:
2828         * lyxfind.C:
2829         * lyxfunc.C:
2830         * text.C:
2831         * text2.C:
2832         * text3.C:
2833         * undo.C: adjust
2834
2835         * cursor.h:
2836         * cursor_slice.[Ch]: some integer type changes for inset unification
2837
2838         * lyxcursor.[hC]: remove, it's CursorSlice now.
2839
2840         * Makefile.am:
2841         * BufferView_pimpl.[Ch]:
2842         * bufferview_funcs.C:
2843         * cursor_slice.C:
2844         * lyxtext.h:
2845         * text.C:
2846         * text2.C:
2847         * text3.C:
2848         * textcursor.[Ch]: adjust
2849
2850 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * text2.C (undoSpan): add and use
2853         * text.C (breakParagraph): use undoSpan (fix bug 578)
2854         * lyxtext.h: adjust
2855
2856 2004-01-08  Angus Leeming  <leeming@lyx.org>
2857
2858         * BufferView_pimpl.C (MenuInsertLyXFile):
2859         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2860         * lyxfunc.C (menuNew, open, doImport):
2861         FileFilterList change to the FileDialog open and save functions.
2862
2863 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2864
2865         * ShareContainer.h: make isEqual and isUnique adaptable
2866
2867         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2868
2869 2004-01-07  Angus Leeming  <leeming@lyx.org>
2870
2871         * LyXAction.C:
2872         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2873
2874         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2875
2876         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2877         functions replacing find, replace and replaceAll.
2878
2879         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2880         LFUN_WORDFIND(FORWARD|BACKWARD).
2881
2882 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2883
2884         * text.C (breakParagraph): remove an outdated #warning
2885
2886 2004-01-07  André Pönitz  <poenitz@gmx.net>
2887
2888         * lyxfind.C: somewhat clearer logic
2889
2890         * text.C: prevent crash in cursorX on unitialized row cache
2891
2892 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2893
2894         * lyxcursor.[Ch] (operator>): add
2895         * textcursor.C (selStart, selEnd): use std::min and std::max
2896
2897 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2898
2899         * Chktex.C: include boost/format.hpp
2900
2901 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2902
2903         * InsetList.C: replace functor MathcIt with adaptable functor
2904         InsetTablePosLess
2905         (insetIterator): modify accordingly
2906
2907         * BranchList.h: move the BranchNamesEqual functor here from...
2908         * BranchList.C: ... to here
2909
2910         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2911         SameName and match.
2912         (add): replace a finding loop with std::find_if.
2913
2914 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2915
2916         * output_docbook.C: moving LatexParam functionality into
2917         .layout files
2918
2919 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2920
2921         * buffer.C: increment format to 229.
2922
2923 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2924
2925         * LaTeXFeatures.C:
2926         * lyx_sty.[Ch]: remove minipageindent_def
2927
2928         * LyXAction.C:
2929         * factory.C:
2930         * lfuns.h:
2931         * lyxfunc.C:
2932         * text3.C: remove LFUN_INSET_MINIPAGE
2933
2934 2003-12-28  Angus Leeming  <leeming@lyx.org>
2935
2936         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2937
2938 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2939
2940         * text2.C (setParagraph): fix off-by-one crash
2941
2942 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2943
2944         * output_docbook.C: header stuff for AGU
2945
2946 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * text2.C (redoCursor): remove
2949         * text.C:
2950         * text3.C:
2951         * BufferView_pimpl.C: remove calls to redoCursor and
2952         setCursor(cursor.par(), cursor.pos()) all around
2953
2954 2003-12-15  Angus Leeming  <leeming@lyx.org>
2955
2956         * buffer.C: up the format to 228.
2957
2958 2003-12-15  André Pönitz  <poenitz@gmx.net>
2959
2960         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2961         slices
2962
2963         * Makefile.am:
2964
2965         * BufferView_pimpl.C:
2966         * cursor.[Ch]:
2967         * lyxcursor.[Ch]:
2968         * rowpainter.[Ch]:
2969         * lyxtext.h:
2970         * text.C:
2971         * text2.C:
2972         * text3.C: adjust
2973
2974 2003-12-15  Angus Leeming  <leeming@lyx.org>
2975
2976         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2977         than getFromGUIName to manipulate the color.
2978
2979 2003-12-14  Angus Leeming  <leeming@lyx.org>
2980
2981         * BranchList.[Ch]: minimize the API.
2982         (Branch::getBranch, getColor): now return a 'const &'.
2983         (Branch::setSelected) now returns a bool set to true if the
2984         selection status changes.
2985         (BranchList::clear, size, getColor, setColor, setSelected,
2986         allBranches, allSelected, separator): removed.
2987         (BranchList::find): new functions, returning the Branch with
2988         the given name.
2989         (BranchList::add, remove): return a bool indicating that
2990         the operation was successful.
2991
2992         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2993         new InsetBranch::isBranchSlected member function.
2994
2995         * LColor.[Ch]: mimimize the API.
2996         (fill): renamed as addColor and made private.
2997         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2998         versions of these functions taking a string arg have been removed.
2999
3000         * bufferparams.C (readToken):
3001         * lyxfunc.C (dispatch):
3002         * lyxrc.C (read): changes due to the altered BranchList and
3003         LColor APIs.
3004
3005         * factory.C (createInset, readInset): changes due to altered
3006         InsetBranch c-tor.
3007
3008 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3009
3010         * factory.C:
3011         * lyxfunc.C: remove insetminipage. "minipage-insert"
3012         now produces a frameless minipage box inset.
3013
3014 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3015
3016         * textcursor.[Ch] (selStart,selEnd): add new methods
3017         remove selection::start, end, use LyXCursor::operator<
3018         * lyxcursor.[Ch] (operator<): add
3019         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3020         * BufferView.[Ch] (unsetXSel): add
3021         * text2.C (clearSelection): use unsetXSel,adjust
3022         * text.C: adjust
3023         * text3.C: adjust
3024         * rowpainter.C: adjust
3025         * bufferview_funcs.C (put_selection_at): adjust
3026
3027 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3028
3029         * BufferView_pimpl.C: small coord. correction
3030
3031 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3032
3033         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3034         dragging over the splash screen.
3035
3036 2003-12-11  Angus Leeming  <leeming@lyx.org>
3037
3038         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3039         as it is now handled in LyXText::dispatch.
3040
3041         * text3.C (doInsertInset): remove a level of nesting.
3042
3043 2003-12-11  Angus Leeming  <leeming@lyx.org>
3044
3045         * factory.C (createInset): changes due to the changed interface to
3046         InsetCommandMailer::string2params.
3047
3048 2003-12-10  Angus Leeming  <leeming@lyx.org>
3049
3050         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3051         'dialog-show-new-inset <inset name>'
3052
3053 2003-12-10  Angus Leeming  <leeming@lyx.org>
3054
3055         * buffer.C: up the format to 227.
3056
3057         * factory.C: the box inset is now identified simply by 'Box'.
3058
3059 2003-12-10  Angus Leeming  <leeming@lyx.org>
3060
3061         * buffer.C: up the format to 226.
3062
3063         * factory.C: the note inset is now identified simply by 'Note'.
3064
3065 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3066
3067         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3068         when a pit is enough. Standarize a couple of loops.
3069
3070 2003-12-05  Angus Leeming  <leeming@lyx.org>
3071
3072         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3073         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3074         data to the re-worked "log" dialog.
3075
3076 2003-12-03  André Pönitz  <poenitz@gmx.net>
3077
3078         * PosIterator.C:
3079         * iterators.C:
3080         * lyxtext.h:
3081         * output_latex.C:
3082         * paragraph_funcs.C:
3083         * text.C:
3084         * text2.C: use Inset::getText instead of Inset::getParagraph
3085
3086 2003-12-03  André Pönitz  <poenitz@gmx.net>
3087
3088         * buffer.[Ch]:
3089         * lyxtext.h:
3090         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3091         InsetText::read() as LyXText::read()
3092
3093 2003-12-02  Angus Leeming  <leeming@lyx.org>
3094
3095         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3096         type. Add a comment in the implementation that the function uses
3097         the stream's bad() function rather than fail() as the std::streams
3098         would do.
3099
3100 2003-12-02  André Pönitz  <poenitz@gmx.net>
3101
3102         * lyxlex.[Ch]: make interface more similar to std::stream
3103
3104         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3105
3106 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3107
3108         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3109
3110 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3111
3112         * vspace.[Ch]: remove VSpace::NONE
3113
3114 2003-12-01  André Pönitz  <poenitz@gmx.net>
3115
3116         * buffer.[Ch]:
3117         * lyxtext.h: move ParagraphList member to LyXText
3118         rename LyXText::ownerParagraphs to LyXText::paragraph
3119
3120         * CutAndPaste.C:
3121         * bufferview_funcs.C:
3122         * iterators.[Ch]:
3123         * lyx_cb.C:
3124         * paragraph.C:
3125         * rowpainter.C:
3126         * tabular.C:
3127         * text.C:
3128         * text2.C:
3129         * text3.C: adjust
3130
3131         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3132
3133         * undo.C: fix cursor positioning
3134
3135 2003-12-01  John Levon  <levon@movementarian.org>
3136
3137         * BufferView_pimpl.C: fix a crash on exit with
3138         a buffer open
3139
3140 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3141
3142         * BranchList.C: fix setSelected() method.
3143
3144 2003-11-28  André Pönitz  <poenitz@gmx.net>
3145
3146         * ParagraphParameters.[Ch]:
3147         * ParameterStruct.h: remove space above/below from Paragraph to
3148          InsetVSpace
3149
3150         * BufferView_pimpl.C:
3151         * factory.C:
3152         * lyxfunc.C:
3153         * lyxtext.h:
3154         * output_latex.C:
3155         * paragraph.C:
3156         * paragraph_funcs.C:
3157         * rowpainter.[Ch]:
3158         * text.C:
3159         * text2.C:
3160         * text3.C: adjust
3161
3162 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3163
3164         * factory.C: Syntax change for CharStyles
3165
3166 2003-11-28  André Pönitz  <poenitz@gmx.net>
3167
3168         * BufferView.[Ch]:
3169         * BufferView.[Ch]:
3170         * buffer.[Ch]:
3171         * buffer.[Ch]: move LyXText member
3172
3173 2003-11-28  André Pönitz  <poenitz@gmx.net>
3174
3175         * BufferView.[Ch]: make LyXText * text a private member
3176
3177         * BufferView_pimpl.C:
3178         * cursor.C:
3179         * iterators.C:
3180         * lyx_cb.C:
3181         * lyxfind.C:
3182         * lyxtext.h:
3183         * rowpainter.[Ch]:
3184         * text.C:
3185         * text2.C:
3186         * undo.C: adjust
3187
3188         * output_plaintext.C: cleanup
3189
3190 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3191
3192         * buffer.C:
3193         * lyxtextclass.[Ch]: parametrize SGML document header
3194
3195 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3196
3197         * converter.[Ch]:
3198         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3199         getFlavor().
3200
3201 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3202
3203         * text2.C (setFont): rework using PosIterator (no more recursive)
3204         (setCharFont): no more needed
3205         (setLayout): no more selection cursors fiddling (done by redoCursor)
3206         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3207         destroy remaining ones)
3208
3209 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3212         * lyxtext.h: ditto
3213         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3214         selection cursors
3215         * lyxfunc.C: adjust
3216         * text3.C: adjust + re-allow multi par depth changes
3217         * textcursor.C: simplify a bit
3218
3219 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3220
3221         * src/buffer.C:
3222         * src/lyxlayout.C:
3223         * src/lyxlayout.h:
3224         * src/lyxtext.h:
3225         * src/output_docbook.C:
3226         * src/output_latex.C:
3227         * src/paragraph.C:
3228         * src/paragraph.h:
3229         * src/sgml.C:
3230         * src/sgml.h:
3231         * src/text2.C: Introducing a number of tags parametrizing various
3232         XML formats that we may want to support
3233
3234 2003-11-25  André Pönitz  <poenitz@gmx.net>
3235
3236         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3237
3238         * lyxtext.h (leftMargin/rightMargin): simplify interface
3239
3240         * rowpainter.C:
3241         * text.C:
3242         * text2.C:
3243         * text3.C: adjust
3244
3245 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3246
3247         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3248         master file to any child files. Fixes bug 546.
3249
3250 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3251
3252         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3253
3254 2003-11-24  André Pönitz  <poenitz@gmx.net>
3255
3256         * rowpainter.C: simplification
3257
3258         * text2.C (updateCounters): remove call to redoParagraph on
3259         changed labels as this is far too expensive.
3260
3261 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3262
3263         * converter.C (convert): fix a crash: this function gets
3264         called with buffer == 0 from importer code.
3265
3266 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3267
3268         * text3.C (cursorPrevious): make sure that we do not compare
3269         iterators form different containers.
3270         (cursorNext): ditto
3271
3272         * rowpainter.C (paintSelection): make sure that we do not compare
3273         iterators from different containers.
3274
3275         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3276         iterators from different ParagraphList containers.
3277         [NEXT] ditto
3278
3279         * text2.C (LyXText): change order of initialization slightly
3280         (operator=): new function. copy all variables except cache_par_
3281         (moveUp): make sure that we do not compare iterators from
3282         different ParagraphList constainers.
3283         (moveDown): ditto
3284
3285         * text.C (firstPar): new function
3286         (lastPar): new function
3287         (endPar): new function
3288
3289         * lyxtext.h: move things around and group public functions, public
3290         variables, private functions, private variables
3291
3292 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3293
3294         * factory.C: change call to InsetERT constructor to avoid
3295         additional invocation of method status
3296         * text2.C (toggleInset): remove redundant update() call
3297         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3298         instead of a Bufferview pointer
3299
3300 2003-11-21  André Pönitz  <poenitz@gmx.net>
3301
3302         * rowpainter.C: simplification
3303
3304 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3305
3306         * text3.C (dispatch): make possible to extend a word/row selection
3307         with the mouse
3308
3309 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3310
3311         * lyxtext.h: x0_,y0_ -> xo_,yo_
3312         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3313         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3314         * rowpainter.C (paintRows): paint full paragraphs
3315
3316 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3317
3318         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3319         screen coordinates)
3320
3321 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3322
3323         * lyxtext.h: add x0_, y0_
3324         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3325         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3326
3327 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3328
3329         * text2.C (setCursorIntern): move the x_target update here *
3330         * text3.C: change some bv() to true/false in calls to
3331         cursorUp/Down/Right/Left
3332         * cursor.C: use helper function.
3333
3334 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3337         * paragraph_funcs.[Ch]: correct comment
3338         * rowpainter.C: do not paint selections away from bv->cursor()
3339         Fix a long standing selection painting bug.
3340         * text3.C: generalize mouse-selection code to LyXTexts other that
3341         top one
3342         * textcursor.C: do not use y coords if we can use par offsets
3343
3344 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3345
3346         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3347         cursor position after e.g. inset insert)
3348
3349 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * lyxfind.C (replace): adjust to locking removal + some
3352         code simplification
3353
3354 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3355
3356         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3357         of the path
3358
3359 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * lyxlayout.[Ch]:
3362         * output_docbook.C: XML sanitation: new layout
3363         parameters InnerTag and CommandDepth
3364
3365 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3366
3367         * BufferView_pimpl.C:
3368         * factory.C:
3369         * text3.C: Fix the insertion and modification of button-style
3370         insets
3371
3372 2003-11-13  André Pönitz  <poenitz@gmx.net>
3373
3374         * InsetList.[Ch]: remove deleteLyXText
3375
3376         * paragraph.[Ch]: cache beginOfBody position
3377
3378         * Bidi.C:
3379         * text.C:
3380         * text2.C:
3381         * text3.C: remove superfluous update() calls
3382
3383         * vspace.C: cleanup
3384
3385 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3386
3387         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3388         * BufferView.C (fitLockedInsetCursor): remove
3389         * cursor.[Ch] (getDim): add
3390         * text.C (getRowNearY): add faster version
3391         * text3.C: remove some update calls
3392
3393 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3394
3395         * LaTeXFeatures.C:
3396         * LyXAction.C:
3397         * MenuBackend.C:
3398         * MenuBackend.h:
3399         * dispatchresult.h:
3400         * factory.C:
3401         * lfuns.h:
3402         * lyxfunc.C:
3403         * lyxtextclass.C:
3404         * lyxtextclass.h:
3405         * text3.C: The Character Style /XML short element patch.
3406
3407 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3408
3409         * text3.C:
3410         * factory.C: Small step to solving 'unable to insert some insets'
3411         problem
3412
3413 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3414
3415         * cursor.[Ch] (updatePos): new function for updating the y
3416         position of the tip inset
3417         * bufferview_funcs.C (put_selection_at):
3418         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3419
3420 2003-11-11  André Pönitz  <poenitz@gmx.net>
3421
3422         * text.C: remove big comment on invalid Paragraph pointers as it is
3423         not valid anymore
3424
3425 2003-11-11  André Pönitz  <poenitz@gmx.net>
3426
3427         * text_funcs.[Ch]: merge with ...
3428
3429         * text.C: ... this
3430
3431         * lyxtext.h:
3432         * text2.C:
3433         * text3.C: adjust
3434
3435         * Makefile.am: remove text_funcs.[Ch]
3436
3437 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3438
3439         * cursor.C (getPos): return absolute cached y coord
3440
3441         * BufferView_pimpl.C (fitCursor): new simplistic code
3442         (workAreaDispatch): add a fitCursor call
3443
3444 2003-11-10  André Pönitz  <poenitz@gmx.net>
3445
3446         * BufferView.[Ch]:
3447         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3448
3449 2003-11-10  André Pönitz  <poenitz@gmx.net>
3450
3451         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3452         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3453         indicate that the cursor needs to leave an inset
3454
3455         * lyxtext.h: remove inset locking
3456
3457         * cursor.[Ch]: re-implement functionality provided by inset locking
3458
3459         * BufferView.[Ch]:
3460         * BufferView_pimpl.[Ch]:
3461         * LyXAction.C:
3462         * bufferview_funcs.[Ch]:
3463         * factory.C:
3464         * funcrequest.[Ch]:
3465         * iterators.C:
3466         * lyx_cb.C:
3467         * lyxfind.C:
3468         * lyxfunc.C:
3469         * text.C:
3470         * text2.C:
3471         * text3.C:
3472         * undo.C: adjust
3473
3474 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3475
3476         * PosIterator.[Ch]: replace the stack with a vector, add inset
3477         accesor
3478         * iterators.[C]: adjust
3479
3480 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3481
3482         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3483         replaced
3484         * paragraph_funcs.C (readParToken): put the correct id in the
3485         error item, not the id of the top paragraph
3486
3487 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3488
3489         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3490         * bufferview_funcs.C (put_selection_at): use the above
3491
3492 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3493
3494         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3495
3496 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3497
3498         * output_linuxdoc.h:
3499         * output_plaintext.h:
3500         * output.h:
3501         * output_docbook.h: add #include statements
3502
3503 2003-11-05  José Matos  <jamatos@lyx.org>
3504
3505         * output_docbook.[Ch]:
3506         * output_latex.[Ch]:
3507         * output_linuxdoc.[Ch]:
3508         * output_plaintext.[Ch]: New files for output formats.
3509         * output.[Ch]: New file for helper functions.
3510
3511         * buffer.[Ch]:
3512         * paragraph_funcs.[Ch]: output functions moved to new files.
3513
3514         * outputparams.h: rename of latexrunparams.h
3515
3516         * LaTeX.[Ch]:
3517         * buffer.[Ch]:
3518         * bufferlist.[Ch]:
3519         * converter.[Ch]:
3520         * exporter.C:
3521         * paragraph.[Ch]:
3522         * paragraph_funcs.[Ch]:
3523         * paragraph_pimpl.[Ch]:
3524         * tabular.[Ch]: rename ascii to plaintext
3525         and LatexRunParams to OutputParams.
3526
3527 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3528
3529         * iterators.[Ch] (text): require bv argument
3530         * undo.C (recordUndo):
3531         * lyxfunc.C (dispatch):
3532         * bufferview_funcs.C (put_selection_at): adjust
3533
3534 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3535
3536         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3537
3538 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3539
3540         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3541         nestings
3542
3543 2003-11-04  André Pönitz  <poenitz@gmx.net>
3544
3545         * cursor.[Ch]: restructure
3546
3547         * BufferView.[Ch]:
3548         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3549
3550         * iterators.[Ch] (asCursor): remove
3551
3552         * lfuns.h: remove LFUN_INSET_EDIT
3553
3554         * lyxfunc.C:
3555         * tabular.C:
3556         * text.C:
3557         * text2.C:
3558         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3559
3560 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3561
3562         * lyxfind.[Ch]: complete overhaul
3563         * BufferView_pimpl.C:
3564         * lyxfunc.C: adjust
3565         * paragraph.[Ch] (insert): add
3566
3567 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * BufferView.[Ch]:
3570         * lyxtext.h:
3571         * text.C: remove dead spellcheck code
3572
3573 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3574
3575         * dispatchresult.h: add a val setter
3576
3577         * cursor.C (dispatch): use a tempvar for data_[i]
3578
3579 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * PosIterator.[Ch]: compile fix
3582
3583 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * text.C (cursorPar): deactivate the cursor cache
3586
3587 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3588
3589         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3590
3591 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3592
3593         * text3.C (dispatch): adjust for new DisptchResult semantics.
3594
3595         * lyxfunc.C (dispatch): handle update when return from
3596         Cursor::dispatch, adjust for new DispatchResult semantics.
3597
3598         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3599         DispatchResult(true) mean to not update. Add class functions for
3600         setting dispatched and update, as well as reading.
3601
3602         * cursor.C (dispatch): don't handle update here
3603
3604 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3607         * trans_mgr.C: adjust
3608
3609         * paragraph_funcs.C (readParToken): exception safety
3610
3611         * lyxvc.h: store the vcs pointer in a scoped_ptr
3612         * lyxvc.C: adjust
3613
3614         * lyxsocket.C (serverCallback): exception safety
3615
3616         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3617
3618         * ispell.C (clone): make it return a auto_ptr
3619
3620         * factory.C (createInset): exception safety
3621         (readInset): exception safety
3622
3623         * bufferlist.C (newBuffer): exception safety
3624
3625         * Thesaurus.C (Thesaurus): use initialization for aik_
3626
3627         * MenuBackend.C (expandToc): exception safety.
3628
3629 2003-11-03  André Pönitz  <poenitz@gmx.net>
3630
3631         * buffer.C:
3632         * buffer.h:
3633         * bufferview_funcs.C: remove getInsetFromId()
3634
3635         * lyxcursor.[Ch]:
3636         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3637
3638         * lyxfunc.C:
3639         * text2.C:
3640         * text3.C: adjust
3641
3642 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3643
3644         * PosIterator.C (distance, advance): new
3645         * bufferview_funcs.[Ch] (put_selection_at): new
3646         * iterators.[Ch] (lockPath): new
3647
3648 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3649
3650         * iterators.[Ch] (asPosIterator): added
3651         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3652         * PosIterator.[Ch]: added
3653
3654 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3655
3656         * text3.C:
3657         * lyxfunc.C:
3658         * cursor.C (dispatch):
3659         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3660
3661         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3662         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3663         contructor, add a class function dispatched. Remove operator>=
3664
3665 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * debug.C: only use the default constructor for debugstream
3668         (lyxerr) here.
3669
3670         * main.C (main): include debug.h and setup the lyxerr streambuf
3671         here.
3672
3673 2003-10-31  José Matos  <jamatos@lyx.org>
3674
3675         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3676
3677         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3678         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3679         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3680         * paragraph_pimpl.C (simpleTeXSpecialC):
3681         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3682         add LatexRunParams argument.
3683
3684         * exporter.C (Export): change call accordingly.
3685
3686         * latexrunparams.h: add new member to take care of the other backends.
3687 2003-10-30  José Matos  <jamatos@lyx.org>
3688
3689         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3690         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3691         factorise code for paragraph output.
3692         * buffer.[Ch]:
3693         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3694         move functions.
3695
3696 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * text3.C (dispatch):
3699         * lyxfunc.C (dispatch):
3700         * cursor.C (dispatch):
3701         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3702
3703         * dispatchresult.h: make the dispatch_result_t ctor explicit
3704
3705 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3706
3707         * sgml.[Ch]:
3708         * buffer.C: small refactoring of docbook stuff
3709
3710 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3713         meaning.
3714
3715 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3716
3717         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3718         operator dispatch_result_t, and operators for == != and >=
3719
3720         * cursor.C (dispatch): adjust for operator dispatch_result_t
3721         removal. comment out call to update
3722
3723         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3724
3725 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * text3.C:
3728         * text2.C:
3729         * text.C:
3730         * lyxtext.h:
3731         * lyxfunc.C:
3732         * cursor.C:
3733         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3734         (dispatch):
3735
3736         * dispatchresult.h: new file, DispatchResult broken out of
3737         insets/insetbase.h
3738
3739         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3740
3741 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * text.C (rowBreakPoint): put a hack inside #if 0
3744
3745 2003-10-28  André Pönitz  <poenitz@gmx.net>
3746
3747         * lyxtext.h:
3748         * metricsinfo.C:
3749         * paragraph_funcs.C:
3750         * rowpainter.C:
3751         * text.C:
3752         * text2.C: general cleanup (lots of small stuff)
3753
3754 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3755
3756         * text2.C (cursorEnd): simple fix to the "end key goes to one
3757         before the end on last row" bug
3758
3759 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3760
3761         * text.C (backspace): fix the "zombie characters"
3762
3763 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3764
3765         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3766
3767 2003-10-27  André Pönitz  <poenitz@gmx.net>
3768
3769         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3770
3771         * factory.C: handle new InsetPagebreak, InsetLine
3772
3773         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3774         and move handling into new InsetPagebreak, InsetLine
3775
3776         * BufferView_pimpl.C:
3777         * LyXAction.C:
3778         * ParagraphParameters.C:
3779         * ParameterStruct.h:
3780         * lyxfunc.C:
3781         * lyxtext.h:
3782         * paragraph.C:
3783         * paragraph.h:
3784         * paragraph_funcs.C:
3785         * paragraph_pimpl.C:
3786         * rowpainter.C:
3787         * text.C:
3788         * text2.C:
3789         * text3.C: adjust
3790
3791 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * text.C:
3794         * lyxrow_funcs.[Ch]:
3795         * Bidi.C:
3796         * paragraph.C:
3797         * lyxtext.h:
3798         * rowpainter.C:
3799         * text2.C:
3800         * text3.C: remove lastPos uses in favour of Row::endpos
3801
3802 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3803
3804         * undo.C (performUndoOrRedo): fix two crashes by setting a
3805         cursor by hand and reordering some calls. Use bv->lockInset instead
3806         of inset->edit because the latter loses cursor information
3807
3808 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3809
3810         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3811         by Martin
3812         (rowBreakPoint): fix width. change point to point + 1.
3813         Add a missing check.
3814
3815 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3816
3817         * MenuBackend.C:
3818         * lyxfunc.C: fix (at least partly) the problems
3819         with the Nav menu and headers inside branch insets
3820         reported by Kayvan
3821
3822 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3823
3824         * paragraph.C (getChar): add strong asserts
3825
3826         * lyxrow_funcs.C (lastPos): remove hideous hack
3827
3828         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3829         (fill): adjust to that (avoid an infinite loop)
3830
3831 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3832
3833         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3834
3835 2003-10-23  André Pönitz  <poenitz@gmx.net>
3836
3837         * RowList_fwd.h: change list<> to vector<> to gain speed
3838         after suggestion from Alfredo
3839
3840 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3841
3842         * lyxtext.h: move the bidi stuff from here...
3843         * text.C: and here
3844         * text2.C: and here
3845         * Bidi.[Ch]: ... to here
3846
3847 2003-10-23  André Pönitz  <poenitz@gmx.net>
3848
3849         * lyxtext.h:
3850         * text.C (isLastRow, isFirstRow): new functions
3851
3852         * paragraph.h: new width cache member
3853
3854         * rowpainter.C: replace RowList::iterator with Row & where possible
3855
3856         * lyxfunc.C: replace several view()->text with a single call
3857
3858         * toc.C: fix 'unused' warning
3859
3860 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3863         when woring with stream::pos_type
3864         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3865
3866 2003-10-22  André Pönitz  <poenitz@gmx.net>
3867
3868         * lyxtext.h:
3869         * text.C: use Row & instead of RowList::iterator
3870
3871         * lyxrow.h: rename end() to endpos()
3872
3873         * rowpainter.C:
3874         * text.C:
3875         * text2.C: adjust
3876
3877 2003-10-22  Angus Leeming  <leeming@lyx.org>
3878
3879         * buffer.[Ch] (fully_loaded): new member function, returning true
3880         only when the file has been loaded fully.
3881         Used to prevent the premature generation of previews and by the
3882         citation inset to prevent computation of the natbib-style label.
3883
3884         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3885         templates are all set up.
3886
3887         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3888
3889 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3890
3891         * text.C: fixed an "oops" in the "is a bit silly"
3892         bug fix
3893
3894 2003-10-21  André Pönitz  <poenitz@gmx.net>
3895
3896         * FuncStatus.[Ch]: small stuff, whitespace
3897
3898         * lyxfont.[Ch]: operator<<() for debug reasons
3899
3900         * lyxfunc.C:
3901         * lyxrow_funcs.C:
3902         * lyxtext.h: whitespace, spelling
3903
3904         * paragraph.C: naming of variables
3905
3906         * text.C:
3907         * text2.C: small stuff
3908
3909
3910 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3911
3912         * text.C: (1) finish off the inset display() work;
3913         (2) fix the "is a bit silly" bug (accessing char
3914         past end of par).
3915
3916 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3917
3918         * text.C: re-introduce display() for insets, fixing the
3919         various bugs (stretch of line above, math inset
3920         positioning, ...)
3921
3922 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3923
3924         * text.C (rightMargin): remove spurious semicolon
3925
3926         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3927         1415)
3928
3929 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3930
3931         * text3.C: fix one crash due to wrong cursor def
3932
3933 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * vc-backend.C (scanMaster): make the regex static
3936
3937         * LaTeX.C (scanAuxFile): make the regexs static
3938
3939         * text3.C (doInsertInset, dispatch, dispatch):
3940         * text2.C (cursorUp, cursorDown):
3941         * text.C (selectNextWordToSpellcheck):
3942         * BufferView_pimpl.C (dispatch):
3943         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3944
3945 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3946
3947         * lyxsocket.C: include <cerrno>
3948
3949 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * lyxfunc.C (dispatch): remove textcache stuff
3952
3953         * bufferlist.C (release): remove textcache stuff
3954         (closeAll): ditto
3955
3956         * TextCache.C: delete file
3957         * TextCache.h: delete file
3958
3959         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3960
3961         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3962         delete of the bv_->text.
3963         (resizeCurrentBuffer): remove texcache stuff
3964         (workAreaResize): ditto
3965
3966 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3969         action.
3970
3971 2003-10-16  André Pönitz  <poenitz@gmx.net>
3972
3973         * lyxrow.[Ch]:
3974         * paragraph.h:
3975         * rowpainter.C:
3976         * text.C:
3977         * text2.C:
3978         * text3.C: speed up by storing y positions per paragraph plus per-row
3979         offset instead of having a 'full' y position in the row.
3980
3981 2003-10-15  André Pönitz  <poenitz@gmx.net>
3982
3983         * iterators.[Ch]:
3984         * iterators.[Ch]:
3985         * undo.[Ch]: make undo aware of inner insets
3986
3987 2003-10-14  Angus Leeming  <leeming@lyx.org>
3988
3989         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3990         static member functions LyX::ref() and LyX::cref.
3991         (lastfiles): new accessor functions for the new lastfiles_ member var.
3992         (addLyXView, views_): add a new LyXView to the list of views_.
3993         (updateInset): loop over all LyXViews to call their own updateInset
3994         member function, returning a pointer to the Buffer owning the inset.
3995
3996         * BufferView_pimpl.C (loadLyXFile):
3997         * MenuBackend.C (expandLastfiles):
3998         * bufferlist.C (MenuWrite, QuitLyX):
3999         lastfiles is no longer a global variable.
4000         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4001
4002         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4003         static function. Access through LyX::cref().emergencyCleanup().
4004
4005 2003-10-14  André Pönitz  <poenitz@gmx.net>
4006
4007         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4008
4009         * undo.[Ch]: restoring part of 'undo in insets'
4010
4011         * Makefile.am:
4012         * undo_funcs.[Ch]: merge with undo.[Ch]
4013
4014         * tabular.C: small cleansing stuff
4015
4016 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4017
4018         * paragraph_funcs.C (readParToken): report unknown insets as error
4019         boxes. Use the outer paragraph as location (also for unknown
4020         tokens).
4021
4022         * factory.C (readInset): do not abort on reading an unknown inset.
4023         Eat it and return 0.
4024
4025 2003-10-13  Angus Leeming  <leeming@lyx.org>
4026
4027         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4028
4029         * lyxrc.C: displayTranslator is now a function,
4030         declared in GraphicsTypes.h.
4031
4032 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4033
4034         * format.C: new placeholder $$a to pass the socket address.
4035
4036         * bufferlist.[Ch]: new function getBufferFromTmp.
4037
4038         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4039           files in the temporary dir.
4040
4041 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4042
4043         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4044
4045         * Makefile.am: add lyxsocket.[Ch].
4046
4047         * lyx_main.C (error_handler): handle SIGPIPE.
4048
4049 2003-10-13  André Pönitz  <poenitz@gmx.net>
4050
4051         * BufferView_pimpl.C:
4052         * lyxtext.h:
4053         * text.C:
4054         * text2.C:
4055         * text3.C:
4056         * undo_funcs.[Ch]: use paroffset_type instead of
4057           ParagraphList::iterators to prevent multiple conversion
4058           (and get a more robust interface)
4059
4060 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4063         * lyxtext.h: ditto
4064         * text3.C (dispatch): ditto
4065
4066 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4069         move the onlyfile, use onlyfile instead of foundfile in a couple
4070         of places.
4071
4072         * DepTable.C (update): flush the error stream a bit more
4073
4074 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * lyxserver.C (callback): adjust
4077
4078         * lyxfunc.C (getStatus): add a missing brace in commented code
4079         (ensureBufferClean): reindent
4080         (dispatch): delete version taking a string
4081
4082 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4083
4084         * LaTeX.C (deplog): move found file handlig from here...
4085         (handleFoundFile): .. to new function here.
4086         (deplog): make sure to discover several files mentioned on the
4087         same log line.
4088
4089 2003-10-10  André Pönitz  <poenitz@gmx.net>
4090
4091         * lyxfunc.C:
4092         * lyxtext.h:
4093         * tabular.C:
4094         * text.C:
4095         * text2.C:
4096         * text3.C: fix some of the tabular crashes
4097
4098 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4099
4100         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4101
4102         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4103
4104 2003-10-09  André Pönitz  <poenitz@gmx.net>
4105
4106         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4107
4108         * BufferView.C:
4109         * BufferView_pimpl.C:
4110         * bufferview_funcs.C:
4111         * lyx_cb.C:
4112         * lyxcursor.C:
4113         * lyxfind.C:
4114         * lyxfunc.C:
4115         * lyxtext.h:
4116         * text.C:
4117         * text2.C:
4118         * text3.C:
4119         * text_funcs.[Ch]:
4120         * textcursor.[Ch]:
4121         * undo_funcs.C: adjust
4122
4123 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * text2.C (incrementItemDepth): new function, use a backtracking
4126         algorithm to discover the correct item depth.
4127         (resetEnumCounterIfNeeded): new function, use a backtracking
4128         algorithm to discover if counter reset is needed.
4129         (setCounter): use them. Simplify a bit. Add different labels for
4130         different item depths for itemize.
4131
4132         * paragraph.C (Paragraph): remove initialization of enumdepth
4133         (operator=): ditto
4134
4135         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4136         enumerate and itemize. Change the type of itemdepth to signed char.
4137
4138 2003-10-08  André Pönitz  <poenitz@gmx.net>
4139
4140         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4141           thing assignable.
4142         * text.C:
4143         * text2.C: adjust
4144
4145         * tabular.[Ch]: fix crash after 'row-insert'
4146
4147 2003-10-08  Angus Leeming  <leeming@lyx.org>
4148
4149         Fix doxygen warnings.
4150
4151         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4152         Remove CutAndPaste:: prefix from header file declaration.
4153
4154         * LColor.h (fill): remove LColor:: prefix from declaration.
4155
4156         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4157         use lyx::depth_type rather than Paragraph::depth_type so that
4158         header file and .C file match.
4159
4160         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4161
4162         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4163         * aspell.C: \file aspell_local.C -> \file aspell.C
4164         * gettext.C: \file gettext.C -> \file src/gettext.C
4165         * gettext.h: \file gettext.h -> \file src/gettext.h
4166         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4167         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4168         * text.C: \file text.C -> \file src/text.C
4169
4170         * toc.C: move comment so that doxygen is not confused.
4171
4172 2003-10-07  Angus Leeming  <leeming@lyx.org>
4173
4174         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4175
4176 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4177
4178         * aspell.C:
4179         * aspell_local.h: add forgotten std::string's.
4180
4181 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4182
4183         * LaTeXFeatures.C:
4184         * LyXAction.C:
4185         * factory.C:
4186         * lfuns.h:
4187         * lyxfunc.C:
4188         * text3.C: The Box patch. Fancybox support, minipage, parbox
4189
4190 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4191
4192         * CutAndPaste.h:
4193         * DepTable.h:
4194         * FloatList.h:
4195         * LaTeXFeatures.h:
4196         * ParagraphParameters.h:
4197         * TextCache.h:
4198         * Thesaurus.h:
4199         * bufferlist.h:
4200         * exporter.h:
4201         * importer.h:
4202         * lastfiles.h:
4203         * lyxfind.h:
4204         * lyxfont.h:
4205         * lyxlex.h:
4206         * lyxtextclasslist.h:
4207         * messages.h:
4208         * paragraph.h:
4209         * paragraph_pimpl.C:
4210         * textcursor.h: add <string> and other small fixes to make Lars'
4211         std::string patch compile with STLport.
4212
4213 2003-10-06  Angus Leeming  <leeming@lyx.org>
4214
4215         * LColor.h: Add missing #include <string>.
4216
4217 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * All most all file in all subdirs: Make <string> be the prefered
4220         way of getting to std::string, add using declarations.
4221
4222 2003-10-06  André Pönitz  <poenitz@gmx.net>
4223
4224         * metricsinfo.C: initialize LyXFont before changing attribute.
4225         (fixes the 'math in \emph is upright' bug)
4226
4227 2003-10-06  André Pönitz  <poenitz@gmx.net>
4228
4229         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4230
4231 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4232
4233         * graph.C:
4234         * paragraph_pimpl.C: Small fixes to build using STLport
4235
4236 2003-10-02  André Pönitz  <poenitz@gmx.net>
4237
4238         * lyxfunc.C:
4239         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4240
4241 2003-10-01  André Pönitz  <poenitz@gmx.net>
4242
4243         * factory.C: assert early
4244
4245 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4246
4247         * lyx_main.C: remove the global debug object
4248
4249         * debug.h: adjust for new debugstream
4250
4251         * debug.C: adjust for new debugstream and keep the global debug
4252         object here.
4253
4254 2003-09-22  Angus Leeming  <leeming@lyx.org>
4255
4256         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4257         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4258         an incomplete class LyXFont.
4259
4260 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4261
4262         * factory.C: bug fix in branches
4263
4264 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * lyxfunc.C (processKeySym): adjust
4267         (dispatch): adjust
4268         (dispatch): change arg name from ev to func, adjust
4269         (sendDispatchMessage): ditto
4270
4271         * lyx_main.C (defaultKeyBindings): adjust keybindings
4272         (deadKeyBindings): ditto
4273
4274         * kbsequence.C (addkey): return a FuncRequest
4275
4276         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4277
4278         * kbmap.C (bind): take a FuncRequest as arg, adjust
4279         (read): adjust
4280         (lookup): adjust
4281         (defkey): change to take a FuncRequest as arg, adjust
4282         (findbinding): take a FuncRequest as arg, adjust.
4283
4284         * funcrequest.h (operator=): added
4285
4286         * funcrequest.C (FuncRequest): default kb_action changed from
4287         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4288
4289         * buffer.C (dispatch): simplify
4290         (dispatch): adjust to take a FuncRequest as arg, adjust
4291
4292         * boost.C (assertion_failed): change assertion message slightly
4293
4294         * ToolbarBackend.C (read): simplify
4295
4296         * MenuBackend.C (binding): adjust call to findbinding, add a
4297         message if no binding is found.
4298         (read): simplify
4299         (expandToc): correct by adding a empty FuncRequest
4300
4301         * LyXAction.C: include <boost/assert.hpp>
4302         (isPseudoAction): delete function
4303         (LookupFunc): change name to...
4304         (lookupFunc): this. change return type to FuncRequest.
4305         (getActionName): take kb_action as arg, simplify
4306         (funcHasFlag): add an assert, simplify.
4307
4308 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * toc.C (action): return a FuncRequest, simplify
4311
4312         * lyxfunc.C (processKeySym): adjust
4313         (getStatus): delete version that takes an int.
4314         (getStatus): adjust
4315         (dispatch): delete version that takes action as int
4316         (dispatch): adjust
4317         (sendDispatchMessage): simplify and adjust
4318
4319         * funcrequest.C (getArg): take unsigned int as arg
4320
4321         * ToolbarBackend.C (read): adjust
4322         (add): delete version that takes func as a string.
4323         (getIton): take a FuncRequest as arg
4324
4325         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4326         action.
4327
4328         * MenuBackend.C (MenuItem): add a new construct that only takes a
4329         Kind, simplify the constructor use for submenus.
4330         (add): adjust
4331         (expandLastfiles): adjust
4332         (expandDocuments): adjust
4333         (expandFormats): adjust
4334         (expandFloatListInsert): adjust
4335         (expandFloatInsert): adjust
4336         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4337
4338         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4339         Remove class variables lyx_pseudo_map and lyx_arg_map
4340
4341         * LyXAction.C (searchActionArg): delete function
4342         (getPseudoAction): delete function
4343         (retrieveActionArg): delete function
4344         (LookupFunc): make it return kb_action, simplify.
4345         (getActionName): simplify
4346
4347         * factory.C (createInset): fix new bug
4348
4349 2003-09-19  Angus Leeming  <leeming@lyx.org>
4350
4351         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4352         masterFilename_ parameter in the include inset.
4353
4354         * factory.C (createInset): changes due to the changes to InsetInclude.
4355
4356 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4357
4358         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4359
4360 2003-09-18  Angus Leeming  <leeming@lyx.org>
4361
4362         * buffer.C:
4363         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4364         Inset::fillWithBibKeys.
4365         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4366
4367 2003-09-18  Angus Leeming  <leeming@lyx.org>
4368
4369         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4370         variables.
4371         (ctor): pass and store a 'Buffer const &'
4372         (buffer): new member function.
4373
4374         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4375         '*this' to the LaTeXFeatures ctor.
4376
4377 2003-09-18  Angus Leeming  <leeming@lyx.org>
4378
4379         * LColor.h:
4380         * lyxfont.C:
4381         * lyxfont.h:
4382         * lyxtext.h:
4383         * text.C: rename EnumLColor as LColor_color.
4384
4385 2003-09-18  Angus Leeming  <leeming@lyx.org>
4386
4387         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4388         remove #include "insets/insetbase.h" from cursor.h.
4389
4390 2003-09-18  Angus Leeming  <leeming@lyx.org>
4391
4392         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4393         InsetOld_code to remove #include "inset.h".
4394
4395         * iterators.C: add #include "insets/inset.h"
4396
4397 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4398
4399         * BufferView.C: remove more locking stuff that apparently doesn't
4400         do anything sensible.
4401
4402 2003-09-16  André Pönitz  <poenitz@gmx.net>
4403
4404         * paragraph.[Ch]:
4405         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4406           performance boost.
4407
4408 2003-09-16  Angus Leeming  <leeming@lyx.org>
4409
4410         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4411
4412         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4413         arg/return type.
4414
4415         * paragraph.h: remove #include "lyxfont.h". Forward declare
4416         LyXFont_size.
4417
4418 2003-09-16  Angus Leeming  <leeming@lyx.org>
4419
4420         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4421         of support/textutils.h.
4422         (isWord): move the contents of support/textutils.h's IsWordChar here.
4423
4424         * buffer.C:
4425         * lyxfind.C:
4426         * rowpainter.C:
4427         * text.C:
4428         * text2.C: add #include "paragraph.h".
4429
4430         * rowpainter.C:
4431         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4432
4433 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4434
4435         * main.C:
4436         * lyx_main.C:
4437         * lyx_cb.C:
4438         * buffer.C:
4439         * LaTeX.C: use namespace alias for lyx::support::os
4440
4441 2003-09-16  Angus Leeming  <leeming@lyx.org>
4442
4443         * bufferparams.C:
4444         * bufferview_funcs.C:
4445         * factory.C:
4446         * lyxfunc.C:
4447         * paragraph_pimpl.C:
4448         * rowpainter.C:
4449         * text.C: add #include "LColor.h".
4450
4451 2003-09-16  Angus Leeming  <leeming@lyx.org>
4452
4453         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4454         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4455         return LyXFont &.
4456         Store the FontBits::color variable as an int rather than as an
4457         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4458         file.
4459
4460         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4461         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4462         string calls together.
4463
4464         * lyxrc.C: add #include "LColor.h".
4465
4466 2003-09-15  Angus Leeming  <leeming@lyx.org>
4467
4468         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4469         a cow_ptr.
4470
4471 2003-09-15  Angus Leeming  <leeming@lyx.org>
4472
4473         * LColor.h: add an EnumLColor wrapper for LColor::color.
4474
4475         * lyxfont.[Ch] (color, setColor, realColor):
4476         * lyxtext.h, text.C (backgroundColor):
4477         pass EnumLColor args to/from the functions, rather than LColor::color
4478         ones.
4479
4480         * lyxfont.h:
4481         * lyxtext.h: forward declare EnumLColor.
4482
4483         * lyx_main.C: add #include "LColor.h".
4484
4485 2003-09-15  Angus Leeming  <leeming@lyx.org>
4486
4487         * .cvsignore: add lyx-gtk.
4488
4489 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4490
4491         * Chktex.C
4492         * LaTeX.C
4493         * LaTeXFeatures.C
4494         * ParagraphParameters.C
4495         * Spacing.C
4496         * buffer.C
4497         * bufferparams.C
4498         * bufferview_funcs.C
4499         * chset.C
4500         * counters.C
4501         * funcrequest.C
4502         * lyxfont.C
4503         * lyxgluelength.C
4504         * lyxlength.C
4505         * paragraph.C
4506         * paragraph_funcs.C
4507         * text3.C
4508         * vc-backend.C: remove usage of STRCONV
4509
4510 2003-09-15  Angus Leeming  <leeming@lyx.org>
4511
4512         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4513         explicitly define the color passed to the painter.
4514
4515 2003-09-15  Angus Leeming  <leeming@lyx.org>
4516
4517         * bufferparams.C (BufferParams): reorder member initializers to avoid
4518         compiler warning.
4519
4520 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4521
4522         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4523         * text.C (updateRowPositions): remove an unusual nop
4524
4525 2003-09-12  André Pönitz  <poenitz@gmx.net>
4526
4527         * BufferView_pimpl.C:
4528         * Bullet.C:
4529         * layout.h:
4530         * lyxfunc.C:
4531         * lyxlayout.[Ch]:
4532         * lyxtextclass.C:
4533         * rowpainter.C:
4534         * text.C:
4535         * text2.C:
4536         * Counters.[Ch]: finish the 'automatic counters' job
4537
4538 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4539
4540         * aspell.C: include <boost/assert.cpp> (compile fix)
4541
4542 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4543
4544         * boost.C (assertion_failed): use lyx::support::abort instead of
4545         assert.
4546
4547 2003-09-10  Angus Leeming  <leeming@lyx.org>
4548
4549         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4550         with their _fwd progeny.
4551
4552 2003-09-09  Angus Leeming  <leeming@lyx.org>
4553
4554         134 files throughtout the source tree: replace 'using namespace abc;'
4555         directives with the appropriate 'using abc::xyz;' declarations.
4556
4557 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4558
4559         * boost.C (emergencyCleanup): moved here from LAssert.c
4560         (assertion_failed): new function, called by BOOST_ASSERT
4561
4562         * several files: change Assert to BOOST_ASSERT
4563
4564 2003-09-09  Angus Leeming  <leeming@lyx.org>
4565
4566         * buffer.[Ch]: Add an Impl class and move Buffer's member
4567         variables into it. As a result move several header files out of
4568         buffer.h.
4569
4570         Add header files to lots of .C files all over the tree as a result.
4571
4572 2003-09-09  Angus Leeming  <leeming@lyx.org>
4573
4574         * buffer.[Ch]: make Buffer's member variables private. Add
4575         accessor functions.
4576
4577         Lots of changes all over the tree as a result.
4578
4579 2003-09-08  Angus Leeming  <leeming@lyx.org>
4580
4581         * graph.C: #include <config.h>.
4582
4583 2003-09-08  Angus Leeming  <leeming@lyx.org>
4584
4585         * BranchList.C:
4586         * BufferView.C:
4587         * BufferView_pimpl.C:
4588         * CutAndPaste.C:
4589         * DepTable.C:
4590         * LaTeX.C:
4591         * LaTeXFeatures.C:
4592         * LyXAction.C:
4593         * MenuBackend.C:
4594         * TextCache.C:
4595         * aspell.C:
4596         * buffer.C:
4597         * bufferlist.C:
4598         * changes.C:
4599         * chset.C:
4600         * converter.C:
4601         * counters.C:
4602         * debug.C:
4603         * graph.C:
4604         * ispell.C:
4605         * lyx_cb.C:
4606         * lyxfind.C:
4607         * lyxfunc.C:
4608         * lyxlex_pimpl.C:
4609         * lyxrc.C:
4610         * lyxrow.C:
4611         * paragraph.C:
4612         * rowpainter.C:
4613         * texrow.C:
4614         * text.C:
4615         * text2.C:
4616         * toc.C: remove redundant using directives.
4617
4618 2003-09-07  Angus Leeming  <leeming@lyx.org>
4619
4620         * LaTeXFeatures.h: remove #include "support/types.h".
4621         * ToolbarBackend.h: remove #include <algorithm>.
4622         * changes.h: remove #include <ctime>.
4623         * debug.h: remove #include <iosfwd>.
4624         * graph.h: remove #include "support/std_string.h".
4625         * lyx_main.h: remove #include <csignal>.
4626         * lyxlex_pimpl.h: remove #include <fstream>.
4627         * sgml.h: remove #include <algorithm>, <utility>.
4628         * toc.h: remove #include "support/std_ostream.h".
4629         Add #include <iosfwd>.
4630
4631 2003-09-07  Angus Leeming  <leeming@lyx.org>
4632
4633         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4634
4635         * converter.h: forward declare LatexRunParams.
4636         * encoding.h: remove #include "lyxrc.h".
4637         * lyxtext.h: remove #include "LColor.h".
4638         * lyxtextclass.h: remove #include "support/types.h".
4639         * trans.h: remove #include "tex-accent.h".
4640         * trans_mgr.h: remove #include "tex-accent.h".
4641         * insets/inset.h: remove #include "support/types.h", <vector>.
4642         * insets/insetcollapsable.h: remove #include "LColor.h".
4643         * insets/insetinclude.h: remove #include "dimension.h".
4644         * insets/insetlatexaccent.h: remove #include "dimension.h".
4645         * insets/insetoptarg.h:: remove #include "insettext.h".
4646         * insets/insettext.h: remove #include "dimension.h",
4647         <boost/shared_ptr.hpp>
4648
4649         * insets/renderers.h: add #include "dimension.h".
4650         * insets/updatableinset.h: add #include "support/types.h".
4651
4652         * many .C files: Associated changes.
4653
4654 2003-09-06  Angus Leeming  <leeming@lyx.org>
4655
4656         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4657         one, inside testInvariant.
4658
4659         * PrinterParams.C: new file.
4660         * PrinterParams.[Ch]: move the function bodies out of line.
4661
4662 2003-09-06  Angus Leeming  <leeming@lyx.org>
4663
4664         * ParagraphParameters.h: forward declare ParameterStruct rather than
4665         including its header file.
4666         (depth): moved out-of-line.
4667
4668 2003-09-06  Angus Leeming  <leeming@lyx.org>
4669
4670         * BufferView_pimpl.h:
4671         * kbmap.h:
4672         * kbsequence.h:
4673         * lyxfunc.h: forward declare LyXKeySym rather than
4674         #include "frontends/LyXKeySym.h".
4675
4676         * BufferView_pimpl.C:
4677         * kbmap.C:
4678         * kbsequence.C:
4679         * lyxfunc.C: associated changes.
4680
4681 2003-09-06  Angus Leeming  <leeming@lyx.org>
4682
4683         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4684         As a result, can remove the #include "insets/inset.h" from BufferView.h
4685
4686 2003-09-06  Angus Leeming  <leeming@lyx.org>
4687
4688         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4689         As a result, can remove the #include "insets/inset.h" from BufferView.h
4690
4691 2003-09-06  Angus Leeming  <leeming@lyx.org>
4692
4693         * buffer_funcs.C:
4694         * buffer.h:
4695         * bufferlist.C:
4696         * BufferView.C:
4697         * bufferview_funcs.C:
4698         * BufferView_pimpl.C:
4699         * CutAndPaste.C:
4700         * lyx_cb.C:
4701         * lyxfunc.C:
4702         * paragraph.h:
4703         * ParagraphParameters.C:
4704         * tabular.C:
4705         * text3.C:
4706         * toc.C:
4707         * undo_funcs.C:
4708         * frontends/controllers/ControlDocument.C:
4709         * insets/insetcaption.C: rearrange the #includes into some sort of
4710         coherent order.
4711
4712         * buffer.h: remove #includes ErrorList.h, undo.h
4713
4714 2003-09-06  Angus Leeming  <leeming@lyx.org>
4715
4716         * support/types.h: add a 'depth_type' typedef, used to store the
4717         nesting depth of a paragraph.
4718
4719         * paragraph.h:
4720         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4721         defining explicitly.
4722
4723         * buffer.h:
4724         * paragraph_funcs.h:
4725         * ParagraphParameters.h:
4726         * sgml.h: use lyx::depth_type rather than Paragraph or
4727         ParameterStruct's depth_type.
4728
4729         * buffer.h
4730         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4731
4732         * BufferView.C:
4733         * BufferView_pimpl.C:
4734         * CutAndPaste.C:
4735         * ParagraphParameters.C:
4736         * buffer_funcs.C:
4737         * bufferlist.C:
4738         * bufferview_funcs.C:
4739         * lyx_cb.C:
4740         * lyxfunc.C:
4741         * tabular.C:
4742         * text3.C:
4743         * toc.C:
4744         * undo_funcs.C:
4745         * frontends/LyXView.C:
4746         * frontends/controllers/ControlDocument.C:
4747         * frontends/controllers/ControlErrorList.C:
4748         * insets/insetbibitem.C:
4749         * insets/insetbranch.C:
4750         * insets/insetcaption.C:
4751         * insets/insetcollapsable.C:
4752         * insets/insetenv.C:
4753         * insets/insetert.C:
4754         * insets/insetfloat.C:
4755         * insets/insetfoot.C:
4756         * insets/insetfootlike.C:
4757         * insets/insetnewline.C:
4758         * insets/insetquotes.C:
4759         * insets/insettabular.C:
4760         * insets/insettext.C:
4761         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4762
4763         * frontends/controllers/ControlChanges.C: #include "changes.h".
4764
4765 2003-09-06  Angus Leeming  <leeming@lyx.org>
4766
4767         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4768         than #including paragraph.h.
4769
4770         * ParagraphList.h:
4771         * RowList.h: deleted. Superfluous.
4772
4773         * CutAndPaste.h:
4774         * iterators.h:
4775         * lyxcursor.h:
4776         * lyxtext.h:
4777         * text_funcs.h:
4778         * undo.h:
4779         * undo_funcs.h:
4780         * insets/inset.h:
4781         * insets/insettext.h: use ParagraphList_fwd.h rather than
4782         ParagraphList.h.
4783
4784         * paragraph.h: don't forward declare ParagraphList.
4785
4786         * buffer.h:
4787         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4788         rather than ParagraphList.h. paragraph.h is still needed for the
4789         Paragraph::depth_type parameters.
4790
4791         * textcursor.h: enable it to compile stand-alone in light of the
4792         above changes.
4793
4794         * bufferview_funcs.C:
4795         * iterators.C:
4796         * lyxfunc.C:
4797         * lyxrow_funcs.C:
4798         * paragraph.C:
4799         * rowpainter.C:
4800         * text.C:
4801         * text2.C:
4802         * text3.C:
4803         * text_funcs.C:
4804         * textcursor.C:
4805         * undo.C:
4806         * frontends/controllers/ControlParagraph.C:
4807         * frontends/controllers/ControlTabular.C:
4808         * insets/insetmarginal.C:
4809         * insets/insetminipage.C:
4810         * insets/insetnote.C:
4811         * insets/insetoptarg.C: add header files needed to compile again.
4812
4813 2003-09-06  Angus Leeming  <leeming@lyx.org>
4814
4815         * RowList_fwd.h: new file, forward-declaring Row rather than
4816         #including lyxrow.h.
4817
4818         * lyxrow_funcs.h:
4819         * lyxtext.h:
4820         * paragraph.h:
4821         * insets/insettext.h: use it instead of RowList.h
4822
4823         * bufferview_funcs.C:
4824         * lyxfunc.C:
4825         * lyxrow_funcs.C:
4826         * paragraph.C:
4827         * rowpainter.C:
4828         * text.C:
4829         * text2.C:
4830         * text3.C: #include "RowList.h".
4831
4832 2003-09-05  Angus Leeming  <leeming@lyx.org>
4833
4834         * factory.C (createInset):
4835         * vspace.C (c-tor): replace sscanf call with an istringstream.
4836         * ispell.C: re-add missing HP/UX headers.
4837         * lyxserver.C: re-add missing  os2 headers.
4838
4839 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4840
4841         * BranchList.C:
4842         * graph.C:
4843         * ispell.C:
4844         * lastfiles.C:
4845         * lyx_cb.C:
4846         * lyxserver.C:
4847         * texrow.C:
4848         * text3.C: re-add missing system headers, needed for 2.95.2.
4849
4850 2003-09-05  Angus Leeming  <leeming@lyx.org>
4851
4852         Changes most place everywhere due to the removal of using directives
4853         from support/std_sstream.h.
4854
4855 2003-09-05  Angus Leeming  <leeming@lyx.org>
4856
4857         Replace LString.h with support/std_string.h,
4858         Lsstream.h with support/std_sstream.h,
4859         support/LIstream.h with support/std_istream.h,
4860         support/LOstream.h with support/std_ostream.h.
4861
4862         Changes resulting throughout the tree.
4863
4864 2003-09-05  Angus Leeming  <leeming@lyx.org>
4865
4866         * sgml.h: ensure that the header file can be compiled stand-alone.
4867         * *.C: strip out redundant #includes. (320 in total.)
4868
4869 2003-09-04  Angus Leeming  <leeming@lyx.org>
4870
4871         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4872         here (from getPackages).
4873
4874         * debug.[Ch]: add a new EXTERNAL tag.
4875
4876 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4877
4878         * text2.C (cursorEnd): simplify
4879         (setCursor): adjust
4880         (getColumnNearX): adjust
4881
4882         * text.C (computeBidiTables): adjust
4883         (fill): adjust
4884
4885         * rowpainter.C (paintChars): adjust
4886         (paintSelection): adjust
4887         (paintChangeBar): adjust
4888         (paintText): adjust
4889
4890         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4891         lastPos instead.
4892         (numberOfSeparators): adjust
4893
4894 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4895
4896         * LyXAction.C:
4897         * box.[Ch]:
4898         * lfuns.h:
4899         * lyxfunc.C:
4900         * text3.C: Restricts the mouse click functionality
4901         of insets like bibtex, include, toc and floatlist to the visible
4902         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4903         up the dialogs. Cursor has to be in front of the inset (i.e.
4904         start of row) for this to function.
4905
4906 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4907
4908         * bufferview_funcs.C (currentState): output row information
4909
4910 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4911
4912         * bufferview_funcs.C (currentState): output paragraph position
4913
4914 2003-09-04  Angus Leeming  <leeming@lyx.org>
4915
4916         * FloatList.h: move out #include "Floating.h".
4917         * LaTeX.h: move out #include "DepTable.h".
4918         * LyXAction.h: move out #include "funcrequest.h".
4919         * buffer.h: move out #include "author.h", "iterators.h".
4920         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4921         * lyx_main.h: move out #include "errorlist.h".
4922         * lyxfunc.h: move out #include "FuncStatus.h".
4923         * lyxtext: move out #include "lyxcursor.h".
4924         * paragraph_pimpl.h: move out #include "counters.h".
4925
4926 2003-09-03  Angus Leeming  <leeming@lyx.org>
4927
4928         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4929         preamble_snippets list, enabling us to add snippets to the preamble
4930         only if the snippet was not there already.
4931
4932 2003-09-04  Angus Leeming  <leeming@lyx.org>
4933
4934         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4935
4936 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4939         update
4940
4941 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4942
4943         * BranchList.C: point fix, earlier forgotten
4944
4945 2003-09-02  Angus Leeming  <leeming@lyx.org>
4946
4947         * box.C (contains): renamed from 'contained' after a fantastic
4948         amount of hot air.
4949
4950 2003-09-02  John Levon  <levon@movementarian.org>
4951
4952         * BufferView.C:
4953         * lyxcursor.h:
4954         * lyxcursor.C:
4955         * lyxfunc.C:
4956         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4957
4958 2003-09-02  John Levon  <levon@movementarian.org>
4959
4960         * text2.C: simplification of cursorEnd(), including partial
4961         fix for bug 1376
4962
4963 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * buffer.C (readFile): add a space
4966
4967 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4968
4969         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4970
4971 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * buffer.C (readFile): new function, take a filename and a
4974         ParagraphList::iterator
4975         (readFile): adjust
4976         (readFile): adjust, make it private. don't use setStream, make
4977         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4978         always contain the filename.
4979
4980         * BufferView.C (insertLyXFile): simplify and make it work for
4981         gzipped files.
4982
4983 2003-08-30  John Levon  <levon@movementarian.org>
4984
4985         * Makefile.am: fix dist (from Kayvan)
4986
4987 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * most files: change to use const Buffer refs
4990
4991 2003-08-27  André Pönitz  <poenitz@gmx.net>
4992
4993         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4994         on top of ownerPar().
4995
4996 2003-08-27  John Levon  <levon@movementarian.org>
4997
4998         * funcrequest.C: properly initialise POD members
4999
5000 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5001
5002         * lyxtext.h (top_y): move top_y from here
5003         * text.C:
5004         * text2.C:
5005         * text3.C:
5006         * BufferView.[Ch]:
5007         * BufferView_pimpl.[Ch]: to here
5008         * frontends/screen.C:
5009         * insets/insettabular.C:
5010         * insets/insettext.C: adjust
5011         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5012
5013 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5014
5015         * BufferView.[Ch]:
5016         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5017
5018 2003-08-26  André Pönitz  <poenitz@gmx.net>
5019
5020         * paragraph_func.[Ch] (outerPar): new function
5021
5022         * paragraph.C:
5023         * paragraph_funcs.C:
5024         * paragraph_funcs.h:
5025         * paragraph_pimpl.C:
5026         * text2.C: remove Inset::par_owner
5027
5028 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5029
5030         * lyxrow_funcs.C:
5031         * lyxtext.h:
5032         * text.C:
5033         * text2.C: eliminates the needFullRow/display() stuff
5034         altogether, putting the logic in metrics/draw in the insets.
5035
5036 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * text2.C (redoParagraphInternal, redoParagraphs):
5039         * text.C (redoParagraph): add a call to updateRowPositions at the
5040         end of each 'metrics-like' call. Remove all others.
5041         (getRow): remove the 'y-computing' version.
5042         (getRowNearY): do not compute nor return the real y. Solve the
5043         'y < 0' problem and simplify.
5044
5045 2003-08-22  Angus Leeming  <leeming@lyx.org>
5046
5047         * *.[Ch]: clean-up of licence and author blurbs.
5048         Also move config.h out of a few .h files and into a few .C files.
5049
5050 2003-08-22  André Pönitz  <poenitz@gmx.net>
5051
5052         * lyxrow.[Ch]: add x_ and *fill_ members
5053
5054         * lyxtext.h:
5055         * text.C:
5056         * rowpainter.C:
5057         * text2.C: adjust/remove prepareToPrint() calls
5058
5059 2003-08-22  André Pönitz  <poenitz@gmx.net>
5060
5061         * lyxrow.[Ch]: add  end_ member
5062
5063         * lyxrow_funcs.C: use LyXRow::end_
5064
5065         * lyxtext.h (singleWidth): add LyXFont parameter
5066
5067         * rowpainter.C:
5068         * text2.C: adjust LyXText::singleWidth() calls
5069
5070         * text.C (redoParagraph): simplify row breaking logic
5071
5072
5073 2003-08-19  André Pönitz  <poenitz@gmx.net>
5074
5075         * funcrequest.C: initialize button_ member
5076
5077         * text3.C:
5078         * rowpainter.[Ch]: interface consolidation
5079
5080 2003-08-18  André Pönitz  <poenitz@gmx.net>
5081
5082         * BufferView.C:
5083         * BufferView_pimpl.C:
5084         * lyxfind.C:
5085         * paragraph_funcs.C:
5086         * rowpainter.C:
5087         * text3.C: remove LyXScreen::draw() and fitCursor calls
5088
5089         * BranchList.h: remove spurious semicolons
5090
5091         * MenuBackend.C: fix branchlist related crash
5092
5093 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5094
5095         * BranchList.[Ch]:
5096         * InsetList.[Ch]:
5097         * LColor.[Ch]:
5098         * LyXAction.C:
5099         * Makefile.am:
5100         * MenuBackend.[Ch]:
5101         * bufferparams.[Ch]:
5102         * factory.C:
5103         * lfuns.h:
5104         * lyxfunc.C:
5105         * text3.C: implements the 'branch inset'
5106         idea. This allows the output of various versions of a document
5107         from a single source version, selectively outputing or suppressing
5108         output of parts of the text.
5109         This implementation contains a 'branch list editor' in a separate
5110         tab of the document settings dialog. Branches are user definable
5111         and have a "display colour" to distinguish them on-screen.
5112
5113         ColorHandler was somewhat cleaned up.
5114         (1) make possible a dynamically growing LColor list by allowing
5115         the graphic context cache to grow along (vector);
5116         (2) eliminate an IMHO unnecessary step in colour allocation.
5117
5118 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5119
5120         * BufferView_pimpl.C: compile fix
5121
5122 2003-08-15  André Pönitz  <poenitz@gmx.net>
5123
5124         * rowpainter.C: remove extra metrics calls
5125
5126         * lyxtext.h: merge the two constructors into a single one,
5127           pass reference to owner's par list
5128
5129         * BufferView_pimpl.C:
5130         * text.C:
5131         * text2.C: adjust
5132
5133 2003-08-15  André Pönitz  <poenitz@gmx.net>
5134
5135         * lyxrow_funcs.[Ch]:
5136         * lyxtext.h:
5137         * paragraph.h:
5138         * paragraph_funcs.C:
5139         * rowpainter.C:
5140         * text.C:
5141         * text2.C:
5142         * text3.C:
5143         * text_funcs.C: split LyXText::rowlist_ into individual
5144         Paragraph::rows_ chunks
5145
5146         * BufferView.[Ch]:
5147         * BufferView_pimpl.[Ch]:
5148         * lyxfind.C:
5149         * lyxtext.h:
5150         * text3.C: remove toggleSelection()
5151
5152 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5153
5154         * bufferlist.C: beautify two alerts (shorter text of buttons)
5155         * buffer.C: Remove redundant ' ' from message
5156         * tabular.h:
5157         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5158         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5159         rename VALIGN_CENTER to VALIGN_MIDDLE
5160
5161 2003-08-11  André Pönitz  <poenitz@gmx.net>
5162
5163         * lyxtext.h (getPar):
5164         * text.C: new function
5165
5166 2003-08-11  André Pönitz  <poenitz@gmx.net>
5167
5168         * Makefile.am:
5169         * tracer.[Ch]: remove unneeded files
5170
5171         * InsetList.[Ch]: remove resizeInsetsLyXText()
5172
5173         * lyxtext.h:
5174         * text.C:
5175         * text2.C:
5176         * text3.C: merge insertParagraphs() and appendParagraph()
5177         remove breakAgain(), update()
5178
5179         * BufferView_pimpl.[Ch]:
5180         * bufferview_funcs.[Ch]:
5181         * lyxfunc.C:
5182         * paragraph.[Ch]:
5183         * rowpainter.C:
5184         * tabular.C: adjust after text & InsetList changes.
5185
5186 2003-08-08  André Pönitz  <poenitz@gmx.net>
5187
5188         * text.C (insertChar, backspace): replace rowlist fiddling
5189         with rebreak of full par
5190
5191         * lyxtext.h:
5192         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5193         checkParagraph, updateInset): removed
5194
5195 2003-08-07  André Pönitz  <poenitz@gmx.net>
5196
5197         * paragraph.C:
5198         * text3.C: merge some LFUN handlers, remove dead code
5199
5200 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5201
5202         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5203
5204 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5205
5206         * text2.C (DEPM): fix part of bug 1255 and 1256
5207
5208 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5209
5210         * BufferView_pimpl.C (workAreaDispatch): change to use
5211         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5212         that are no mouse related.
5213
5214 2003-08-05  André Pönitz  <poenitz@gmx.net>
5215
5216         * BufferView.[Ch]:
5217         * BufferView_pimpl.[Ch]:
5218         * bufferview_funcs.C:
5219         * text2.C:
5220         * text3.C: rip out "deep update"
5221
5222         * textcursor.[Ch] (last_sel_cursor): remove unused member
5223
5224 2003-08-04  André Pönitz  <poenitz@gmx.net>
5225
5226         * BufferView.[Ch]:
5227         * BufferView_pimpl.[Ch]:
5228         * ParagraphParameters.C:
5229         * bufferview_funcs.C:
5230         * lyx_cb.C:
5231         * lyxfind.C:
5232         * lyxfunc.C:
5233         * text.C:
5234         * text2.C:
5235         * text3.C: replace "complicated" BufferView::update(...) calls with
5236         simpler ones.
5237
5238         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5239
5240 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5241
5242         * Makefile.am (lyx_SOURCES): add paper.h
5243
5244 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5245
5246         * Makefile.am: move things around so that both lyx-qt and
5247         lyx-xforms can be built (according to --with-frontend). Then lyx
5248         is a symbolic link to lyx-[firstfrontend]
5249
5250 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5251
5252         * Always use std::endl with lyxerr
5253
5254 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5255
5256         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5257
5258 2003-08-01  André Pönitz  <poenitz@gmx.net>
5259
5260         * BufferView.[Ch]:
5261         * BufferView_pimpl.[Ch]:
5262         * lyxfunc.C:
5263         * text3.C: merge BufferView::repaint() and BufferView::update()
5264
5265 2003-08-01  José Matos  <jamatos@lyx.org>
5266
5267         * buffer.[Ch]: file_format is no longer a buffer data element.
5268
5269 2003-08-01  André Pönitz  <poenitz@gmx.net>
5270
5271         * BufferView.C:
5272         * lyxtext.h:
5273         * text.C:
5274         * text2.C: make redoParagraph more independent of current cursor
5275
5276         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5277         * text.C:
5278         * text2.C: remove unneeded members
5279
5280 2003-07-30  André Pönitz  <poenitz@gmx.net>
5281
5282         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5283
5284         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5285           create a single function...
5286
5287         * paragraph_funcs.C (moveItem): ... here.
5288
5289         * text.C:
5290           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5291
5292 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5293
5294         * LColor.[Ch]: Add comment and greyedout logical colors.
5295
5296 2003-07-30  André Pönitz  <poenitz@gmx.net>
5297
5298         * tabular.C: don't use Assert too heavily. This crashes where it
5299           shouldn't
5300
5301 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5302
5303         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5304         is disabled (bug 1232)
5305
5306 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5307
5308         * factory.C: limited 'arg' scope
5309
5310 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5311
5312         * factory.C: fixed Note submenu issues
5313
5314 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5315
5316         * factory.C: submenu for Note/Comment/Greyedout
5317
5318 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * lyx_main.C (LyX):
5321         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5322
5323 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5324
5325         * LaTeXFeatures.C:
5326         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5327         greyedout. Patch provided by Jürgen Spitzmüller.
5328
5329 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5330
5331         * kbmap.C (read): fix error message when reading bind files
5332
5333 2003-07-29  Angus Leeming  <leeming@lyx.org>
5334
5335         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5336         certainly does not do what it purports to do. I am doing it, and
5337         us, a favour by killing it.
5338
5339 2003-07-28  José Matos  <jamatos@lyx.org>
5340
5341         * buffer.C (readBody, do_writeFile):
5342         * paragraph.C(readParagraph): \end_document replaces \the_end.
5343
5344 2003-07-29  André Pönitz  <poenitz@gmx.net>
5345
5346         * BufferView.[Ch]:
5347         * BufferView_pimpl.[Ch]:
5348         * lyxfunc.C:
5349         * text2.C:
5350         * text3.C:
5351         * textcursor.[Ch]: remove toggleToggle & Co
5352
5353 2003-07-28  José Matos  <jamatos@fep.up.pt>
5354
5355         * buffer.C (readParagraph):
5356         * params_func (readParToken, readParagraph):
5357         * paragraph.C (write): \layout -> \begin_layout.
5358
5359 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * lyxlex_pimpl.C (setFile): clean up slightly.
5362
5363         * bufferparams.h: add compressed var
5364
5365         * buffer_funcs.C (readFile): adjust for LyXLex change
5366         (newFile): ditto + simplify
5367
5368         * buffer.C (writeFile): handle writing of compressed files
5369
5370         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5371         Check if the file is compressed and set a bufferparm if so.
5372
5373         * Makefile.am (lyx_LDADD): remove explicit -lz
5374
5375 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5376
5377         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5378         makeDocBookFile): put the real LyX version in the first line of
5379         the file
5380
5381         * version.h:
5382         * version.C.in: remove lyx_docversion
5383
5384         * tabular.C (write_attribute): add a template-based version to
5385         write enums properly
5386
5387 2003-07-28  André Pönitz  <poenitz@gmx.net>
5388
5389         * lyxtext.h:
5390         * text.C:
5391         * text2.C:
5392         * text3.C: use doubles again for x-coordinates. They are needed.
5393
5394 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * messages.C (getLocaleDir): use lyx_localedir()
5397
5398         * lyxlex_pimpl.C (setFile): compress stuff
5399
5400         * buffer.C (writeFile): add some compression stuff
5401         (do_writeFile): new func, dont call expliti close... will this
5402         breake anything?
5403
5404         * Makefile.am (lyx_LDADD): add -lz
5405
5406 2003-07-28  José Matos  <jamatos@fep.up.pt>
5407
5408         * buffer.C: increment file format.
5409         * paragraph_funcs (readParagraph, readParToken):
5410         * paragraph.C (readParagraph): add \end_layout.
5411
5412 2003-07-27  Angus Leeming  <leeming@lyx.org>
5413
5414         * Makefile.am: remove special casing for configure-time setting of
5415         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5416
5417         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5418         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5419
5420 2003-07-26  André Pönitz  <poenitz@gmx.net>
5421
5422         * paragraph_func.[Ch]:
5423         * paragraph.C (realizeFont): inline it whereever it is used
5424
5425         * rowpainter.C:
5426         * text.C:
5427         * text2.C:
5428         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5429
5430
5431 2003-07-26  André Pönitz  <poenitz@gmx.net>
5432
5433         *       lyxtext.h:
5434         * text.C:
5435         * text2.C: get rid of LyXText::need_break_row
5436
5437 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * toc.[Ch]: put namespace toc inside namespace lyx
5440
5441         * MenuBackend.C (expandToc2): adjust for lyx::toc
5442         (expandToc): ditto
5443
5444         * lyxfunc.C (dispatch): adjust for lyx::find
5445
5446         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5447         lyx::find instead. Reorganize a bit.
5448         (LyXReplace): rename to replace
5449         (LyXFind): rename to find
5450
5451         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5452         (dispatch): ditto
5453
5454 2003-07-26  André Pönitz  <poenitz@gmx.net>
5455
5456         * text.C (setHeightOfRow): restrict scope of temporary variable
5457
5458         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5459           code (never has been used?)
5460
5461 2003-07-27  Asger Alstrup  <alstrup@local>
5462
5463         * text.C (fill): Optimise algorithm to exploit that we can reuse
5464         the LyXFont for many characters.
5465         (setHeightOfRow): Same thing.
5466         (rowBreakPoint): Same thing.
5467
5468 2003-07-26  Asger Alstrup  <alstrup@local>
5469
5470         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5471
5472         * text.C (singleWidth): Spurious font copying in hot-spot
5473         singleWidth avoided. Reorder tests for arabic for efficiency.
5474
5475         * text.C (fill): handle empty paragraphs better.
5476
5477 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5478
5479         * ispell.C:
5480         * encoding.h: add includes
5481
5482         * lyxrc.C: remove reading of bind files
5483
5484         * lyx_main.C (init): setup bindings and menus only if we have a
5485         gui.
5486
5487         * kbmap.C (read): new method. Do the actual reading of bind
5488         files.
5489
5490         * converter.C (dvipdfm_options):
5491         * bufferparams.C:
5492         * lyxrc.C (read):
5493         (output): adapt PAPER_* enums.
5494
5495         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5496
5497         * bufferparams.h: remove paper-related enums from there
5498
5499         * paper.h: New file. A trivial header file to hold paper-related
5500         enums. It should later expand to contain many paper-related
5501         horrors access.
5502
5503         * lyxrc.C: declare extern displayTranslator
5504
5505 2003-07-27  José Matos  <jamatos@fep.up.pt>
5506
5507         * tabular.[Ch] (linuxdoc): add support for tables and figures
5508         (linuxdoc).
5509
5510 2003-07-27  José Matos  <jamatos@fep.up.pt>
5511
5512         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5513         consistency in both functions.
5514         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5515
5516 2003-07-26  Asger Alstrup  <alstrup@local>
5517
5518         * rowpainter.C (paintRows): Change algorithm to work directly on
5519         the insets rather than asking every character in the document
5520         whether its an inset.
5521
5522 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5523
5524         * buffer.C (openFileWrite): factorize some code
5525
5526 2003-07-26  Angus Leeming  <leeming@lyx.org>
5527
5528         * lyx_cb.C:
5529         * lyx_main.[Ch]: replace occurances of system_tempdir with
5530         os::getTmpDir().
5531
5532 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5533
5534         * rename Inset to InsetOld
5535
5536 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5537
5538         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5539         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5540         which I think is a bit clearer. EDIT is gone, since it was
5541         premature optimisation, and broken for mathed anyway.
5542         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5543         with cursor positioning in insets as well (math insets still do not
5544         work, but that's a different story anyway.) It mysteriously
5545         crashes sometimes with undo in the first paragraph, but I'm fairly
5546         confident that this is a compiler bug.
5547
5548 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * paragraph.C (Paragraph): adjust for new clone return type
5551         (operator==): ditto
5552         (copyIntoMinibuffer): ditto
5553
5554 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5555
5556         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5557         by not having a special case, and always doing a full rebreak of
5558         the document after undo.
5559
5560 2003-07-23  Angus Leeming  <leeming@lyx.org>
5561
5562         * factory.C (createInset): InsetExternal::setParams now takes a
5563         Buffer const * arg.
5564
5565 2003-07-23  Angus Leeming  <leeming@lyx.org>
5566
5567         * factory.C (createInset): changed interface to the external and
5568         graphics mailers' string2params functions.
5569
5570 2003-07-23  Angus Leeming  <leeming@lyx.org>
5571
5572         * factory.C (createInset): pass a
5573         Buffer const * parameter to InsetExternalMailer's string2params.
5574
5575 2003-07-22  John Levon  <levon@movementarian.org>
5576
5577         * Thesaurus.h: include the right aiksaurus header
5578
5579 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5580
5581         * MenuBackend.C (expand): check menu shortcuts unconditionally
5582
5583 2003-07-21  Angus Leeming  <leeming@lyx.org>
5584
5585         * factory.C (createInset): pass a
5586         buffer_path parameter to InsetGraphicsMailer's string2params.
5587
5588 2003-07-21  Angus Leeming  <leeming@lyx.org>
5589
5590         * BufferView_pimpl.C (buffer):
5591         * buffer.C (d-tor):
5592         * lyx_main.C (LyX):
5593         * lyxfunc.C (dispatch):
5594         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5595         rather than the grfx shortcut.
5596
5597 2003-07-21  André Pönitz  <poenitz@gmx.net>
5598
5599         * rowpainter.C: remove unused variables
5600
5601         * tabular_funcs.C:
5602         * tabular_funcs.h: move to tabular.C
5603         * Makefile.am: adjust
5604
5605         * tabular.[Ch]: basic optical cleaning
5606
5607         * author.h: pass references, not values
5608
5609 2003-07-18  André Pönitz  <poenitz@gmx.net>
5610
5611         * lyxtext.h:
5612         * metricsinfo.C:
5613         * metricsinfo.h:
5614         * rowpainter.C:
5615         * text.C:
5616         * text2.C:
5617         * text3.C: two-phase drawing for InsetText and InsetTabular
5618         some float -> int changes.
5619
5620 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * lyx_main.C: fix the fix
5623
5624 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5625
5626         * lyx_main.C: fix a crash in batch mode if no files specified
5627         * converter.C: ws
5628
5629 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5630
5631         * format.[Ch] (papersize): moved to BufferParams
5632         * converter.[Ch] (dvips_options): moved to BufferParams
5633         (dvipdfm_options): moved to anon namespace
5634         * bufferparams.[Ch]: added above functions.
5635
5636 2003-07-17  André Pönitz  <poenitz@gmx.net>
5637
5638         * lyxtext.h:
5639         * rowpainter.C:
5640         * text2.C: don't call inset->update() anymore
5641
5642         * metricsinfo.[Ch]: add convenience constructor
5643
5644 2003-07-16  André Pönitz  <poenitz@gmx.net>
5645
5646         * lyxcursor.[Ch]:
5647         * lyxfunc.[Ch]:
5648         * text.C:
5649         * text2.C: replace the LyXCursor::irow_ member with
5650          on-demand computation of the value
5651
5652 2003-07-16  John Levon  <levon@movementarian.org>
5653
5654         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5655
5656 2003-07-15  André Pönitz  <poenitz@gmx.net>
5657
5658         * text.C:
5659         * text2.C: remove no more needed refresh_row
5660
5661 2003-07-15  André Pönitz  <poenitz@gmx.net>
5662
5663         * lyxtext.h:
5664         * rowpainter.C:
5665         * text2.C:
5666         * text3.C: refresh_status tristate -> need_update bool
5667
5668 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5669
5670         * lyxtext.h (init): remove reinit argument (act as if always true)
5671         * text2.C: adjust to that
5672
5673 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5674
5675         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5676         * text3.C: use it to delete selections in some cases
5677         (bugs 441, 673, 702, 954).
5678
5679 2003-07-14  André Pönitz  <poenitz@gmx.net>
5680
5681         * rowpainter.[Ch]: reduce interface
5682
5683 2003-07-14  André Pönitz  <poenitz@gmx.net>
5684
5685         * BufferView_pimpl.C:
5686         * text2.C: adjust after removing unused BufferView * argument
5687
5688 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5689
5690         * text2.C (init): fix a crash fired on resize
5691
5692 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5693
5694         * buffer.[Ch]: added new closing signal
5695         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5696         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5697         BufferView::Pimpl via the closing the signal
5698
5699 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5700
5701         * buffer.[Ch]: take out all bv-related from buffer
5702         * BufferView.C:
5703         * BufferView_pimpl.[Ch]: connect to new signals
5704         * CutAndPaste.C: removed useless asserts
5705         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5706         * lyxvc.[Ch]:
5707         * vc-backend.[Ch]:
5708         * lyxfunc.C: moved view-related funciontality from vc here
5709         * paragraph.C: removed outdated comments
5710         * text.C: ws
5711
5712 2003-07-10  André Pönitz  <poenitz@gmx.net>
5713
5714         * BufferView_pimpl.C:
5715         * tabular.h:
5716         * tabular_funcs.C:
5717         * text.C:
5718         * text2.C: remove InsetText::InnerCache, clean up consequences
5719
5720 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5721
5722         * ispell.C: fix two typos in error messages
5723
5724 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5725
5726         * Extend Note inset to other forms of annotation like Comment
5727         and Greyedout. Right button click gives dialog.
5728
5729         Files modified or added (+):
5730
5731         * insetnote.[Ch]
5732         * FormNote.[Ch]      +
5733         * ControlNote.[Ch]   +
5734         * form_note.fd       +
5735         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5736         frontends/controllers
5737         * xforms/Dialogs.C
5738         * factory.C
5739
5740 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5741
5742         * aspell.C: add missing namespace lyx::support
5743
5744 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * BufferView.[Ch] (newFile): Add
5747         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5748         * LaTeX.[Ch] (message): added this signal and use it
5749         * buffer.[Ch] (busy, message): added these signals and use them
5750         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5751         * converter.C:
5752         * exporter.C:
5753         * format.C:
5754         * importer.C: use buffer signals instead of direct bv calling
5755         * lyx_cb.[Ch] (ShowMessage): removed
5756         * lyx_main.C:
5757         * lyxfunc.C:
5758         * paragraph_funcs.C:
5759         * text2.C: use buffer signals
5760
5761 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * introduce namespace lyx::graphics
5764
5765 2003-07-02  André Pönitz  <poenitz@gmx.net>
5766
5767         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5768
5769 2003-07-01  André Pönitz  <poenitz@gmx.net>
5770
5771         * text.C:
5772         * text2.C:
5773         * text3.C:
5774         * text_funcs.[Ch]:
5775         * textcursor.h:
5776         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5777           text*.C to text_func.C
5778
5779 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * introduce namespace lyx::support
5782
5783 2003-06-30  André Pönitz  <poenitz@gmx.net>
5784
5785         * Chktex.C:
5786         * funcrequest.C:
5787         * lyxtext.h:
5788         * text.C: re-enable --with-included-string
5789
5790 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * textcursor.C: add <config.h>
5793
5794         * text.C (getWord): remove const from word_location arg
5795
5796         * lyxvc.C (getLogFile): fix const type order
5797
5798         * lyxtext.h: remove const from word_location arg, add arg name
5799
5800         * lyxlayout.h: currect type on labeltype.
5801
5802         * importer.C: correct \file
5803
5804         * converter.C (intToFormat): use std:: on ret val, ws changes
5805
5806         * bufferlist.h: correct \file
5807
5808         * buffer.C (makeLinuxDocFile): fix const type order
5809         (makeDocBookFile): ditto
5810         (fillWithBibKeys): use std:: on stdlib args.
5811
5812         * CutAndPaste.C: fix authors.
5813         (availableSelections): use std:: on return vector
5814
5815 2003-06-27  André Pönitz  <poenitz@gmx.net>
5816
5817         * BufferView_pimpl.C:
5818         * bufferview_funcs.C:
5819         * lyxcursor.C:
5820         * lyxcursor.h:
5821         * lyxfunc.C:
5822         * lyxtext.h:
5823         * rowpainter.C:
5824         * text.C:
5825         * text2.C:
5826         * text3.C: remove LyXCursor::row_ member
5827
5828         * lyxtext.h:
5829         * text.C: rename fullRebreak() to partialRebreak() and implement
5830           a fullRebreak() that really bereks fully
5831
5832         * textcursor.h: new struct for cursor-related data
5833
5834 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5835
5836         * lyx_main.C (LyX): get full path of document loaded on the
5837         command line
5838
5839 2003-06-26  André Pönitz  <poenitz@gmx.net>
5840
5841         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5842           remove unused/broken operator>,<,>=.
5843
5844         *       text.C: remove only use of broken operator<= in an Assert().
5845
5846 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5847
5848         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5849         moved errorlist_.clear to showErrorList
5850
5851 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5852
5853         * converter.C (scanLog, runLaTeX):
5854         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5855         move the bv->showErrorList call to the callers
5856         * lyxfunc.C: i.e. here...
5857         * text2.C: and here
5858         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5859         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5860         namespace, the second to...
5861         * buffer_funcs (BufferFormat, parseErrors): added
5862         * errorlist.C (ErrorList(TeXErrors const &)): removed
5863
5864 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5865
5866         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5867
5868 2003-06-24  "Garst R. Reese" <reese@isn.net>
5869
5870         * debug.C: fix typo
5871
5872 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5873
5874         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5875
5876         * version.C.in: change docversion to 1.4
5877
5878 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5879
5880         * buffer.C: fix a bug just introduced
5881
5882 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5883
5884         * buffer.[Ch]: added the parseError signal and use it, removed
5885         sgmlError
5886         * BufferView.[Ch] (addError): moved to ...
5887         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5888         to the Buffer::parseError signal to catch (guess what) parse errors
5889         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5890
5891 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5892
5893         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5894         ability to create a buffer and to return an existing one from
5895         the list. Moved these functions to...
5896         * buffer_funcs.[Ch]: added
5897         * BufferView.[Ch] (loadLyXFile): added
5898         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5899         job removed from bufferlist::loadLyXFile.
5900         * buffer.C (setReadOnly): make it work without view
5901         (i.e added an if (users))
5902
5903 2003-06-19  Angus Leeming  <leeming@lyx.org>
5904
5905         * lfuns.h:
5906         * LyXAction.C (init):
5907         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5908         with LFUN_DIALOG_SHOW <name> <data>.
5909
5910 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5911
5912         * CutAndPaste.C (availableSelections): small compilation fix for
5913         ancient (gcc 2.9x) compilers
5914
5915 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * text3.C (cursorNext): add tmp var
5918
5919         * text2.C (updateCounters): for function calling out of for clause
5920         (replaceSelectionWithString): ditto
5921         (insertStringAsParagraphs): ditto
5922         (getColumnNearX): add tmp var
5923         (setCursorFromCoordinates): add tmp var
5924         (cursorDownParagraph): add tmp var
5925         (deleteEmptyParagraphMechanism): add tmp var
5926
5927         * text.C (insertChar): add tmp var
5928
5929         * rowpainter.C (paintDepthBar): add tmp var
5930
5931         * CutAndPaste.C (availableSelections): potentially check all
5932         paragraphs in a cut to fill the shown strings.
5933
5934 2003-06-18  André Pönitz  <poenitz@gmx.net>
5935
5936         * kbmap.[Ch]: use vector<> instead of list<>
5937
5938 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5939
5940         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5941         pasteSelection with index
5942
5943         * text2.C (pasteSelection): modify, call pasteSelection with index
5944
5945         * paragraph.C (asString): reimplement version with no interval to
5946         call the one with interval.
5947
5948         * lyxtext.h: add index arg to pasteSelection
5949
5950         * MenuBackend.C (MenuItem): handle PasteRecent
5951         (Menu::read::Menutags): add md_pasterecent
5952         (read): handle it
5953         (expandPasteRecent): new function
5954         (expand): use it
5955
5956         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5957
5958         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5959         the limited stack
5960         (availableSelections): new function
5961
5962 2003-06-17  Angus Leeming  <leeming@lyx.org>
5963
5964         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5965
5966 2003-06-17  Angus Leeming  <leeming@lyx.org>
5967
5968         * lfuns.h:
5969         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5970
5971         * lyxfunc.C (dispatch): invoke it.
5972
5973 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5974
5975         * iterators.C (operator++, ParPosition): reintroduce some
5976         const_cast for the benefit of older compilers.
5977
5978 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5979
5980         * text3.C (dispatch): do not modify clipboard when doing
5981         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5982         LFUN_DELETE_SKIP on a selection selection
5983
5984 2003-06-16  André Pönitz  <poenitz@gmx.net>
5985
5986         * BufferView.C:
5987         * buffer.C:
5988         * buffer.h:
5989         * paragraph.C:
5990         * tabular.[Ch]: IU of clone() and getLabelList();
5991
5992 2003-06-13  André Pönitz  <poenitz@gmx.net>
5993
5994         * tabular.h: compactification
5995
5996 2003-06-12  André Pönitz  <poenitz@gmx.net>
5997
5998         * tabular.C:
5999         * tabular.h:
6000         * tabular_funcs.h: some renaming plus whitespace
6001
6002 2003-06-12  André Pönitz  <poenitz@gmx.net>
6003
6004         * BufferView.C:
6005         * BufferView_pimpl.C:
6006         * CutAndPaste.C:
6007         * buffer.C:
6008         * iterators.[Ch]:
6009         * lyxfunc.C:
6010         * text.C:
6011         * toc.C: Return a Paragraph & for ParIterator::operator*()
6012
6013 2003-06-11  John Levon  <levon@movementarian.org>
6014
6015         * lyx_main.C:
6016         * ToolbarBackend.h:
6017         * ToolbarBackend.C: add "Toolbars" section and
6018         put the flags there
6019
6020 2003-06-10  Angus Leeming  <leeming@lyx.org>
6021
6022         * lfuns.h:
6023         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6024
6025         * lyxfunc.C (dispatch): invoke it.
6026
6027 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * main.C: protect <ios> with HAVE_IOS
6030         (main): protect sync_with_stdio with HAVE_IOS
6031
6032 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6033
6034         * text2.C (cutSelection): adjust
6035         (pasteSelection): adjust
6036
6037         * messages.C: handle get of empty string
6038
6039         * main.C (main): use sync_with_stdio(false)
6040
6041         * lyxfunc.C (dispatch): adjust
6042
6043         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6044         (WriteAs): remove unneeded BufferView arg.
6045
6046         * bufferparams.h: use correct types on papersize, papersize2 and
6047         paperpackage.
6048
6049         * bufferparams.C (readToken): adjust for type
6050         (writeLaTeX): add missing cases to switch.
6051
6052         * bufferlist.C (quitWriteBuffer): adjust
6053         (close): adjust
6054
6055         * buffer.C (asciiParagraph): remove some commented code.
6056
6057         * CutAndPaste.C: remove current_view extern variable.
6058         (cutSelection): add BufferParams arg.
6059         (eraseSelection): add BufferParams arg.
6060         (pasteSelection): add Buffer const & arg
6061
6062 2003-06-07  John Levon  <levon@movementarian.org>
6063
6064         * buffer.C:
6065         * paragraph_funcs.C:
6066         * paragraph_pimpl.C:
6067         * text.C:
6068         * text2.C:
6069         * paragraph.h:
6070         * paragraph.C: allow InsetERT to freely space lines,
6071         and some consolidation of code
6072
6073 2003-06-06  José Matos  <jamatos@fep.up.pt>
6074
6075         * buffer.C (makeDocBookFile): fix bug #821
6076
6077 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6080
6081 2003-06-04  Angus Leeming  <leeming@lyx.org>
6082
6083         * buffer.C: bump format to 224.
6084
6085 2003-06-05  André Pönitz  <poenitz@gmx.net>
6086
6087         * text2.C (redoParagraphs): remove two const_cast<>
6088
6089 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6090
6091         * ParagraphList.h: remove last remnants of NO_STD_LIST
6092
6093 2003-06-03  Angus Leeming  <leeming@lyx.org>
6094
6095         * factory.C (createInset): small change to the way InsetExternal's params
6096         are set.
6097
6098 2003-06-04  André Pönitz  <poenitz@gmx.net>
6099
6100         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6101
6102         * paragraph_pimpl.h:
6103         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6104
6105         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6106
6107         * undo_funcs.C: make some simple cases of undo work again
6108
6109 2003-06-03  John Levon  <levon@movementarian.org>
6110
6111         * ispell.C: HPUX doesn't have sys/select.h
6112         (from Albert Chin)
6113
6114 2003-06-03  John Levon  <levon@movementarian.org>
6115
6116         * CutAndPaste.C: update tabular and include inset
6117         buffer references
6118
6119         * buffer.h:
6120         * paragraph.h:
6121         * paragraph.C: remove owningBuffer(), don't pass Buffer
6122         to clone()
6123
6124         * factory.C: insetGraphicsParams changed
6125
6126 2003-06-02  John Levon  <levon@movementarian.org>
6127
6128         * LyXAction.C:
6129         * factory.C:
6130         * lfuns.h:
6131         * lyxfunc.C:
6132         * text3.C: remove insetparent
6133
6134 2003-06-02  John Levon  <levon@movementarian.org>
6135
6136         * buffer.h:
6137         * buffer.C: fix inset_iterator.end(), move out of line
6138         (bug 1149)
6139
6140 2003-06-01  John Levon  <levon@movementarian.org>
6141
6142         * text3.C: use a proper cut/paste when doing inset
6143         insert (from Jürgen Spitzmüller)
6144
6145 2003-06-01  John Levon  <levon@movementarian.org>
6146
6147         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6148
6149 2003-05-30  André Pönitz  <poenitz@gmx.net>
6150
6151         * rowpainter.C: unify second drawing phase
6152
6153 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * trans_mgr.C: remove one case of current_view
6156
6157         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6158
6159         * paragraph_funcs.h: remove paragraph.h include
6160
6161         * paragraph.h: delete NO_STD_LIST stuff
6162
6163         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6164
6165         * buffer.h: remove paragraph.h include
6166
6167         * ParagraphList.C: delete file
6168
6169         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6170
6171         * toc.C (getTocList): adjust
6172
6173         * paragraph_pimpl.C (validate): adjust
6174
6175         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6176
6177         * paragraph.C (Paragraph): adjust
6178         (getPositionOfInset): use const_iterator, adjust
6179         (bibitem): use const_iterator, adjust
6180         (setInsetOwner): adjust
6181
6182         * iterators.C (operator++): adjust
6183
6184         * InsetList.[Ch]: Replace selfmade iterator with standard
6185         vector::iterator also introduce const_iterator. Remove getPos,
6186         getInset and setInset from InsetTable. Adjust accordingly.
6187
6188         * BufferView.C (lockInset): adjust
6189         (ChangeInsets): adjust
6190
6191         * tabular.[Ch]: delete commented same_id functions
6192
6193 2003-05-28  John Levon  <levon@movementarian.org>
6194
6195         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6196
6197 2003-05-28  André Pönitz  <poenitz@gmx.net>
6198
6199         * metricsinfo.[Ch]: remove 'fullredraw' member
6200
6201 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6202
6203         * lyxtextclass.C (operator): remove caching.
6204
6205 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * text3.C: adjust
6208
6209         * text2.C (cursorBottom): adjust
6210         (setCounter): use ParagraphList::find, adjust
6211
6212         * text.C (workWidth): use ParagraphList::find, adjust
6213
6214         * lyxcursor.C (LyXCursor): adjust
6215
6216         * buffer.C (inset_iterator): adjust
6217
6218         * ParagraphList.h: make iterator(value_type) private, make
6219         ParagraphList a friend of iterator.
6220
6221         * ParagraphList.C (find): new function
6222
6223         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6224
6225 2003-05-27  André Pönitz  <poenitz@gmx.net>
6226
6227         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6228
6229 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6230
6231         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6232
6233 2003-05-26  John Levon  <levon@movementarian.org>
6234
6235         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6236
6237 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * remove same_id from function signatures, adjust.
6240
6241 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6244
6245         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6246
6247         * paragraph.C (Paragraph): get rid of same_ids parameter
6248
6249         * ParagraphList.C (insert): adjust
6250         (push_back): adjust
6251
6252 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * paragraph_funcs.C (breakParagraph): adjust
6255         (breakParagraphConservative): adjust
6256
6257         * buffer.C (readParagraph): adjust
6258
6259         * ParagraphList.C (insert): take a reference instead of a pointer
6260         (insert): adjust
6261
6262         * paragraph.[Ch] (id): new function
6263
6264         * bufferlist.C (newFile): adjust
6265
6266         * ParagraphList.C (ParagraphList): adjust
6267         (assign): adjust
6268         (push_back): take a reference instead of a pointer.
6269
6270         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6271
6272         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6273         instead.
6274
6275         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6276         set else use old code.
6277
6278         * ParagraphList.C: remove all NO_NEXT code and only compile this
6279         code of NO_STD_LIST is set.
6280
6281 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6282
6283         * BufferView_pimpl.C:
6284         * TextCache.C:
6285         * TextCache.h:
6286         * bufferlist.C:
6287         * errorlist.h:
6288         * format.C:
6289         * format.h:
6290         * graph.C:
6291         * lyxfunc.C:
6292         * lyxrc.C:
6293         * graphics/GraphicsConverter.C:
6294         * graphics/PreviewLoader.C: header adjustment
6295
6296 2003-05-23  Angus Leeming  <leeming@lyx.org>
6297
6298         * LaTeXFeatures.[Ch] (useBabel): new method.
6299         * bufferparams.C (writeLaTeX): use it.
6300
6301 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * ParagraphList.h (set): remove unused function.
6304
6305 2003-05-23  André Pönitz  <poenitz@gmx.net>
6306
6307         * BufferView.C:
6308         * BufferView_pimpl.C:
6309         * buffer.C:
6310         * buffer.h:
6311         * lyxfunc.C:
6312         * undo_funcs.C: setUndo reworked
6313
6314         * iterators.[Ch]: add access to topmost ParagraphList
6315
6316         * lyxtext.[Ch] (workWidth): add a const
6317
6318 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6319
6320         * texrow.[Ch] (increasePos): remove function
6321         * exporter.C (export): removed unused var and outdated comment
6322
6323 2003-05-23  Angus Leeming  <leeming@lyx.org>
6324
6325         * latexrunparams.h: rename fragile as moving_arg.
6326         * paragraph.C (simpleTeXOnePar): ditto.
6327         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6328
6329 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6332         (createUndo): ditto
6333         (textUndoOrRedo): comment out a currently unused var.
6334
6335         * paragraph.h (NO_NEXT): enable NO_NEXT
6336
6337         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6338
6339         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6340
6341         * exporter.C (Export): adjust for removeAutoInsets removal.
6342
6343         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6344
6345         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6346
6347         * BufferView.[Ch] (removeAutoInsets): delete function
6348
6349 2003-05-22  Angus Leeming  <leeming@lyx.org>
6350
6351         * latexrunparams.h: add a free_spacing variable.
6352
6353         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6354         to pass moving_arg, as the data is stored in runparams.fragile.
6355
6356         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6357         to Inset::latexOptional or to simpleTeXOnePar.
6358
6359         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6360         free_spacing arg to Inset::latexOptional.
6361
6362         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6363         free_spacing arg.
6364
6365 2003-05-22  Angus Leeming  <leeming@lyx.org>
6366
6367         * latexrunparams.h: add fragile and use_babel variables.
6368
6369         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6370         * buffer.C (makeLaTeXFile): store this returned value in
6371         runparams.use_babel, thus passing it to the inset::latex methods.
6372
6373         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6374         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6375
6376         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6377         longer has a fragile arg, as it is stored in runparams.fragile.
6378
6379         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6380         moving_arg parameter as the data is stored in runparams.fragile.
6381
6382         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6383         a fragile parameter as the data is stored in runparams.fragile.
6384
6385 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6388
6389 2003-05-22  Angus Leeming  <leeming@lyx.org>
6390
6391         * latexrunparams.h: add a 'bool nice' which defaults to false.
6392
6393         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6394         now encapsulated within runparams.
6395
6396         * bufferlist.C (updateIncludedTeXfiles):
6397         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6398
6399 2003-05-22  Angus Leeming  <leeming@lyx.org>
6400
6401         * latexrunparams.h: new file containing struct LatexRunParams.
6402         * Makefile.am: add new file.
6403
6404         * LaTeX.[Ch] (c-tor, run):
6405         * buffer.[Ch] (makeLaTeXFile):
6406         * bufferlist.[Ch] (updateIncludedTeXfiles):
6407         * converter.C (convert, scanLog):
6408         * converter.[Ch] (runLaTeX):
6409         * exporter.C (Export):
6410         * paragraph.[Ch] (simpleTeXOnePar):
6411         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6412         * paragraph_funcs.[Ch] (latexParagraphs):
6413         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6414         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6415         pass around a LatexRunParams parameter.
6416
6417 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * paragraph.[Ch]: remove unused constructor
6420
6421         * ParagraphList.C (erase): new function, taking two iterators
6422
6423 2003-05-22  André Pönitz  <poenitz@gmx.net>
6424
6425         * undo_funcs.C: remove duplicated code
6426
6427         * iterator.[Ch]: operator=
6428
6429 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * tabular.C (SetMultiColumn): ws changes
6432
6433         * rowpainter.C (paintFirst): get rid of a ->previous
6434
6435         * lyx_cb.C (getPossibleLabel): parlist simplification
6436
6437         * BufferView.C (ChangeInsets): simplify slightly.
6438
6439 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6440
6441         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6442         * lfuns.h: new LFUN_SPACE
6443         * lyxfunc.C: protected space has a new lfun
6444         * paragraph_funcs.C: read new space insets
6445         * text3.C:
6446         * factory.C: handle new space insets
6447
6448 2003-05-22  André Pönitz  <poenitz@gmx.net>
6449
6450         * BufferView.C:
6451         * BufferView_pimpl.C:
6452         * buffer.[Ch]:
6453         * lyxfunc.C:
6454         * undo_funcs.C: return a ParIterator from getParFromID.
6455
6456         * iterators.[Ch]: add two const's
6457
6458 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6459
6460         * toc.C (getTocList): adjust
6461
6462         * iterators.[Ch]: rework for parlist
6463
6464         * buffer.C (par_iterator_begin): adjust
6465         (par_iterator_end): adjust
6466
6467         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6468
6469         * BufferView.C (removeAutoInsets): adjust
6470         (ChangeInsets): adjust
6471
6472 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6473
6474         * text.C (top_y): fix bug 1110
6475
6476 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6477
6478         * errorlist.[Ch]: added
6479         * buffer.C:
6480         * BufferView.[Ch]:
6481         * BufferView_pimpl.C:
6482         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6483         instead
6484
6485 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * Makefile.am: ensure that lyx is relinked upon changes to the
6488         various "convenience" libs.
6489
6490 2003-05-20  Angus Leeming  <leeming@lyx.org>
6491
6492         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6493         files are compiled in alphabetical order again.
6494
6495         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6496
6497 2003-05-19  Angus Leeming  <leeming@lyx.org>
6498
6499         * gettext.[Ch]: remove "char const * _(char const *)".
6500
6501 2003-05-19  André Pönitz  <poenitz@gmx.net>
6502
6503         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6504
6505         * Makefile.am:
6506         * BufferView.C:
6507         * DepTable.h:
6508         * LaTeXFeatures.C:
6509         * buffer.C:
6510         * lyxfont.C:
6511         * lyxlex.h:
6512         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6513
6514 2003-05-19  André Pönitz  <poenitz@gmx.net>
6515
6516         * buffer.C:
6517         * lyxlayout.[Ch]:
6518         * lyxtextclass.[Ch]:
6519         * paragraph.C:
6520         * paragraph_funcs.[Ch]:
6521         * text2.C:
6522         * text3.C: more insetenv work
6523
6524 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * ParagraphParameters.C (params2string): small bug fixed
6527
6528 2003-05-16  André Pönitz  <poenitz@gmx.net>
6529
6530         * debug.C:
6531         * bufferview_funcs.C: patch from Kornel Benko to prevent
6532           crash when _(...) is called twice in a statement
6533
6534 2003-05-16  André Pönitz  <poenitz@gmx.net>
6535
6536         * BufferView.C:
6537         * lyxfunc.C:
6538         * text.C:
6539         * text2.C:
6540         * text3.C:
6541         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6542
6543 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6544
6545         * lyx_main.C (init): remove spurious static_cast
6546
6547 2003-05-14  André Pönitz  <poenitz@gmx.net>
6548
6549         * BufferView.C: fix format string
6550
6551 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6552
6553         * BufferView.[Ch] (insertErrors): removed
6554         * BufferView.[Ch] (showErrorList): added
6555         * buffer.C (runChkTeX):
6556         * converter.C (scanLog): call showErrorList instead of inserterrors
6557
6558 2003-05-13  André Pönitz  <poenitz@gmx.net>
6559
6560         * BufferView_pimpl.C:
6561         * buffer.C:
6562         * bufferview_func.C:
6563         * MenuBackend.C:
6564         * lyxfunc.C:
6565         * lyxrc.C:
6566         * tex-accent.C:
6567         * text3.C:
6568         * toc.C:
6569         * tabular_funcs.h: tostr() from its own header
6570
6571         * ParagraphParameters.C:
6572         * ToolbarBackend.C:
6573         * bufferparams.C:
6574         * format.C:
6575         * lyxlex_pimpl.C:
6576         * text3.C: STRCONV()
6577
6578 2003-05-12  André Pönitz  <poenitz@gmx.net>
6579
6580         * BufferView.C:
6581         * BufferView_pimpl.C:
6582         * CutAndPaste.C:
6583         * LaTeX.C:
6584         * LaTeXFeatures.C:
6585         * ParagraphParameters.C:
6586         * buffer.C:
6587         * bufferlist.C:
6588         * bufferparams.C:
6589         * bufferview_funcs.C:
6590         * converter.C:
6591         * counters.C:
6592         * debug.C:
6593         * exporter.C:
6594         * format.C:
6595         * importer.C:
6596         * lyx_cb.C:
6597         * lyx_main.C:
6598         * lyxfont.C:
6599         * lyxfunc.C:
6600         * lyxvc.C:
6601         * paragraph.C:
6602         * paragraph_funcs.C:
6603         * tabular.C:
6604         * tabular_funcs.C:
6605         * text2.C:
6606         * text3.C:  boost::format -> bformat  all over the place
6607
6608
6609 2003-05-09  André Pönitz  <poenitz@gmx.net>
6610
6611         * LColor.[Ch]: Pimpl the #include <map> away
6612
6613 2003-05-09  John Levon  <levon@movementarian.org>
6614
6615         * bufferlist.C: never remove emergency saves
6616
6617 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * Makefile.am: better lib building
6620
6621 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6624         instead.
6625         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6626         (simpleTeXSpecialChars): adjust
6627         (simpleTeXSpecialChars): adjust
6628         * paragraph.C (simpleTeXOnePar): adjust
6629         * buffer.C (makeLaTeXFile): adjust
6630
6631         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6632
6633         * text2.C (changeDepth): parlist cleanup
6634         (getColumnNearX): ditto
6635
6636         * rowpainter.C (getLabelFont): parlist cleanup
6637
6638         * bufferlist.C (newFile): parlist cleanup
6639
6640         * CutAndPaste.C (eraseSelection): parlist cleanup
6641
6642         * BufferView_pimpl.C (trackChanges): parlist cleanup
6643         (dispatch): ditto
6644
6645         * BufferView.C (lockInset): parlist cleanup.
6646         (ChangeInsets): ditto
6647
6648 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * CutAndPaste.h: Update file header.
6651
6652         * CutAndPaste.C: Update file header.
6653         Store the parts cut out of the Document in a limited_stack.
6654         (copySelection): adjust
6655         (pasteSelection): new function, takes the index in the limited stack.
6656         (nrOfParagraphs): adjust
6657         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6658         simplify error inset insertion.
6659         (checkPastePossible): adjust
6660
6661 2003-05-06  John Levon  <levon@movementarian.org>
6662
6663         * text2.C: don't cast wrap inset to float
6664
6665 2003-05-05  André Pönitz  <poenitz@gmx.net>
6666
6667         * iterator.C:
6668         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6669
6670         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6671           few naked Paragraph *.
6672
6673 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6674
6675         * bufferparams.C: Output warning if a document with missing
6676         TeX document class is loaded
6677         * exporter.C: Disable TeX exports if the document class is missing
6678         * lyxtextclass.C:
6679         * lyxtextclass.h:
6680         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6681         isTeXClassAvailable()
6682
6683 2003-05-03  John Levon  <levon@movementarian.org>
6684
6685         * BufferView.h:
6686         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6687         explicit cursor show/hide
6688
6689         * BufferView_pimpl.h:
6690         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6691         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6692
6693         * lyxfunc.C: hide cursor before dispatching.
6694
6695         * lyx_cb.C:
6696         * lyxfind.C:
6697         * text.C:
6698         * text3.C: remove explicit cursor hides
6699
6700 2003-05-02  André Pönitz  <poenitz@gmx.net>
6701
6702         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6703
6704         * undo_funcs.C:
6705         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6706           linked lists
6707
6708         * text2.C: tiny whitespace
6709
6710 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6711
6712         * undo_funcs.C: almost only ws changes.
6713
6714         * ParagraphList.C (splice): just return if pl is empty.
6715
6716 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * ParagraphList.C (splice): new function.
6719
6720         * CutAndPaste.C (pasteSelection): use it
6721
6722 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6723
6724         * CutAndPaste.C (pasteSelection): remove the last next and
6725         previous from this file.
6726
6727 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * CutAndPaste.C (pasteSelection): more clean up, user proper
6730         ParagraphList functions for pasteing.
6731
6732         * ParagraphList.C (insert): new function, three arg insert
6733
6734 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * ParagraphList.C (insert): new function, three arg insert
6737
6738         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6739         not on paragraphs.
6740
6741 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6744
6745 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6748
6749 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6752         (copySelection): clean up a bit.
6753         (pasteSelection): use make_pair
6754
6755         * ParagraphList.C (ParagraphList): implement copy constructor
6756         (operator=): implement, base on copy constructor.
6757         (assign): new func
6758
6759         * paragraph.C (erase): return a bool
6760
6761         * paragraph_pimpl.C (erasePos): remove function, move contents...
6762         (erase): ... here. Return a bool.
6763         (erase): call erase instead of erasePos.
6764
6765 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * ParagraphList.h: define PitPosPair
6768         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6769         ParagraphList, fix a bug on pasting multiple pars
6770         * text2.C: change interface to C&P
6771
6772 2003-04-30  André Pönitz  <poenitz@gmx.net>
6773
6774         * undo_func.C: revert part of yesterday's patch 2
6775
6776 2003-04-30  John Levon  <levon@movementarian.org>
6777
6778         * LColor.C: s/tabular/table/
6779
6780 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * text3.C (dispatch): do not convert iterator -> pointer
6783         * undo_funcs.C (setCursorParUndo): ditto
6784         * text_funcs.C (transposeChars): ditto
6785
6786         * text2.C (setLayout): ws changes only
6787
6788         * text.C (breakParagraph): do not convert iterator -> pointer
6789         (insertChar): ditto
6790         (acceptChange): ditto
6791         (rejectChange): ditto
6792         (changeCase): ditto
6793         (Delete): ditto
6794         (backspace): ditto
6795
6796         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6797         pointer
6798
6799 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6800
6801         * text3.C (gotoInset): YABG (yet another bad getChar)
6802
6803 2003-04-29  André Pönitz  <poenitz@gmx.net>
6804
6805         * paragraph.h: make operator= private unimplemented as long as
6806           it is unusable
6807
6808         * ParagraphList.C: whitespace
6809
6810         * paragraph.[Ch]:
6811         * paragraph_pimpl.[Ch]:
6812         * paragraph_funcs.C:
6813         * CutAndPaste.C:
6814         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6815
6816         * text2.C:
6817           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6818
6819 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6820
6821         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6822         * paragraph.[Ch] (erase):
6823         * paragraph_pimpl.[Ch] (erase): change return type and value
6824         * text2.C (cutSelection): some rework
6825
6826 2003-04-28  John Levon  <levon@movementarian.org>
6827
6828         * bufferlist.C: changes for unsaved changes dialog
6829
6830 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * bufferlist.C (newFile): set language (messages_) for new
6833         documents also.
6834
6835         * buffer.C (readFile): ws changes only.
6836
6837 2003-04-28  André Pönitz  <poenitz@gmx.net>
6838
6839         * undo_funcs.C:
6840         * lyxfunc.C:
6841         * buffer.[Ch]:
6842         * BufferView_pimpl.C:
6843         * BufferView.C: getParFromID related ParagraphList::iterator changes
6844
6845 2003-04-28  André Pönitz  <poenitz@gmx.net>
6846
6847         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6848           Changes
6849
6850 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * messages.C: remove one more localedir class variable.
6853
6854 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6855
6856         * messages.C (getLocaleDir): singleton generation function
6857         (Pimpl): use it.
6858         (Messages): add a default constructor.
6859
6860         * main.C (main): do not setup localedir here, do not call
6861         gettext_init.
6862
6863         * gettext.C (_): use it.
6864         (gettext_init): delete funciton
6865
6866 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * gettext.C (getLyXMessages): new singleton generating function.
6869
6870         * buffer.C (updateDocLang): adjust
6871
6872         * Makefile.am (messages.o): add target
6873         (main.o): remove target
6874
6875 2003-04-27  John Levon  <levon@movementarian.org>
6876
6877         * bufferlist.C:
6878         * lyx_cb.C:
6879         * lyxfunc.C:
6880         * lyxvc.C: specify cancel button in Alert::prompt
6881
6882 2003-04-26  John Levon  <levon@movementarian.org>
6883
6884         * text3.C:
6885         * lyxfunc.C:
6886         * lfuns.h:
6887         * LyXAction.C: add LFUN_INSET_SETTINGS
6888
6889         * lyxfunc.C: don't enable tabular-feature when there's
6890         just any locking inset
6891
6892 2003-04-26  John Levon  <levon@movementarian.org>
6893
6894         * bufferlist.C: re-add Cancel to buffer close question
6895
6896         * lyxfunc.C: fix import UI a bit
6897
6898 2003-04-25  John Levon  <levon@movementarian.org>
6899
6900         * gettext.C: remove the broken asserts for now
6901
6902 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * messages.C: make case where setlocale cannot comply work better.
6905
6906         * buffer.C (updateDocLang): new function
6907         (changeLanguage): use it
6908         (readFile): use it
6909
6910         * text2.C (setCounter): use B_ a bit.
6911
6912         * lyxlayout.C (Read): be sure to trim the label strings.
6913
6914         * messages.C (Messages): fix typo in comment
6915
6916         * buffer.C (readFile): set message_ after file is loaded.
6917         (makeDocBookFile): remove double return
6918         (changeLanguage): reset message_ upon language change.
6919         (B_): new func, use this to get translated buffer strings.
6920
6921         * main.C: add myself and Jean Marc as authors.
6922
6923 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * messages.[hC]: pimplify Messages, and three different pimpls to be
6926         used in different circumstances.
6927
6928         * gettext.[Ch]: change for use with new message code.
6929
6930 2003-04-24 André Pönitz <poenitz@gmx.net>
6931
6932         * factory.C: support for eqref
6933
6934 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6935
6936         * messages.[Ch]: add missing char
6937
6938         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6939
6940         * messages.[Ch]: New files
6941
6942 2003-04-18  John Levon  <levon@movementarian.org>
6943
6944         * BufferView.h:
6945         * BufferView.C:
6946         * BufferView_pimpl.C:
6947         * lfuns.h:
6948         * LyXAction.C:
6949         * lyxtext.h:
6950         * text2.C: remove layout-copy/paste (bug 778)
6951
6952 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6953
6954         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6955
6956 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6957
6958         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6959         if they succeed. Act accordingly.
6960
6961 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6962
6963         * text2.C (setCharFont): adjust
6964         (setCounter): adjust
6965         (insertStringAsLines): adjust
6966
6967         * text.C (leftMargin): adjust
6968         (setHeightOfRow): adjust
6969
6970         * rowpainter.C (paintFirst): adjust
6971         (paintLast): adjust
6972
6973         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6974         (outerHook): ditto
6975         (isFirstInSequence): ditto
6976         (getEndLabel): ditto
6977         (outerFont): adjust
6978
6979         * paragraph.C (getParLanguage): comment out some hard stuff.
6980
6981         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6982         (sgmlError): ditto
6983         (simpleDocBookOnePar): ditto
6984         (makeDocBookFile): use ParagraphList::iterator
6985
6986         * CutAndPaste.C (pasteSelection): adjust
6987
6988 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * text2.C (getFont): adjust
6991         (getLayoutFont): adjust
6992         (getLabelFont): adjust
6993
6994         * paragraph_funcs.C (TeXOnePar): adjust
6995
6996         * buffer.C (simpleLinuxDocOnePar): adjust
6997         (simpleDocBookOnePar): adjust
6998
6999         * CutAndPaste.C (pasteSelection): adjust
7000
7001         * BufferView.C (getEncoding): adjust
7002
7003         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7004
7005 2003-04-16  John Levon  <levon@movementarian.org>
7006
7007         * lyxfind.C: use parlist stuff for search/changes
7008
7009 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7012
7013         * text2.C (deleteEmptyParagraphMechanism): adjust
7014
7015         * text2.[Ch] (ownerParagraph): delete func (both of them
7016
7017 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7020
7021 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * ParagraphList.C: prepare for NO_NEXT
7024
7025 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * text2.C (getFont): adjust
7028         (getLayoutFont): adjust
7029         (getLabelFont): adjust
7030
7031         * paragraph.C (getFont): adjust
7032         (getLabelFont): adjust
7033         (getLayoutFont): adjust
7034
7035         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7036
7037 2003-04-15  John Levon  <levon@movementarian.org>
7038
7039         From Angus Leeming
7040
7041         * lyx_main.C: handle Include in .ui files
7042
7043 2003-04-15  John Levon  <levon@movementarian.org>
7044
7045         * MenuBackend.C: make the doc files length shorter
7046
7047         * ToolbarBackend.h:
7048         * ToolbarBackend.C: handle toolbar placement flags,
7049         Minibuffer
7050
7051 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7054         adjust
7055
7056         * paragraph_funcs.C (TeXOnePar): adjust
7057
7058         * paragraph.C (getLabelFont): add outerfont arg, adjust
7059         (getLayoutFont): ditto
7060         (simpleTeXOnePar): adjust
7061
7062         * paragraph_pimpl.C (realizeFont): delete func
7063
7064 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7067         row argument, constify cur argument.
7068
7069 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * text2.C (getFont): adjust
7072         (getLayoutFont): adjust
7073         (getLabelFont): adjust
7074
7075         * paragraph_funcs.C (TeXOnePar): adjust
7076         (outerFont): new func...
7077         (realizeFont): ...moved out from here, changed this to facilitate
7078         transition
7079
7080         * paragraph.C (getFont): take outerfont as arg, adjust
7081         (simpleTeXOnePar): add outerfont arg, adjust
7082
7083         * buffer.C (simpleLinuxDocOnePar): adjust
7084         (simpleDocBookOnePar): adjust
7085
7086         * CutAndPaste.C (pasteSelection): adjust
7087
7088         * BufferView.C (getEncoding): adjust
7089
7090 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7091
7092         * text2.C (setCharFont): adjust
7093         (setCounter): adjust
7094
7095         * text.C (leftMargin): adjust
7096         (setHeightOfRow): adjust
7097
7098         * rowpainter.C (paintFirst): adjust
7099         (paintLast): adjust
7100
7101         * paragraph_pimpl.C (realizeFont): adjust
7102
7103         * paragraph.C (isFirstInSequence): move from here...
7104         * paragraph_funcs.C (isFirstInSequence): ...to here
7105
7106         * paragraph.C (outerHook): move from here...
7107         * paragraph_funcs.C (outerHook): ...to here
7108
7109         * paragraph.C (depthHook): move from here...
7110         * paragraph_funcs.C (depthHook): ...to here
7111
7112         * paragraph.C (getEndLabel): move from here...
7113         * paragraph_funcs.C (getEndLabel): ...to here
7114
7115         * text2.C (realizeFont): move from here...
7116         * paragraph_funcs.C (realizeFont): ...to here
7117
7118 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7121
7122 2003-04-14  Angus Leeming  <leeming@lyx.org>
7123
7124         * LColor.[Ch]: scrap LColor mathcursor.
7125
7126 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * lyxlex.[Ch] (text): delete function
7129         * trans.C (Load): adjust
7130         * paragraph_funcs.C (readParToken): adjust
7131
7132 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7133
7134         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7135         vector<char> instead of a char[].
7136
7137         * lyxlex_pimpl.C (getString): adjust
7138         (next): adjust
7139         (lex): use getString
7140         (eatLine): adjust
7141         (nextToken): adjust
7142
7143         * lyxlex.C (text): use pimpl_->getString()
7144         (getBool): ditto
7145         (findToken): ditto
7146
7147 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7150         (makeFontEntriesLayoutSpecific): temp var for par.size()
7151         (setLayout): temp var for ownerParagraphs().end()
7152         (fullRebreak): temp var for rows().end()
7153         (selectionAsString): temp var for boost::next(startpit), realize
7154         that the while really is a regular for loop.
7155         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7156         setCursor in one place.
7157         (setParagraph): temp vr for ownerParagraphs().end()
7158         (updateCounters): make the while loop a for loop
7159         (cutSelection): temp var for ownerParagraphs().end()
7160         (updateInset): make the do {} while() a regular for loop
7161         (getCursorX): use temp vars
7162         (setCurrentFont): use temp vars
7163         (getColumnNearX): use temp vars
7164
7165 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7166
7167         * text.C (transformChar): use temp var for getChar
7168         (computeBidiTables): use temp var for row->par()
7169         (fill): move temp vars for row->par() and pit->layout() earlier in
7170         the function.
7171         (labelFill): use temp var for row->par()
7172         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7173         asc and desc, realize that pit never changes and that firstpit is
7174         just a duplicate and not needed. Exchange rit->par() with pit in a
7175         lot of places.
7176         (breakAgain): use a temp var for boost::next(rit)
7177         (breakAgainOneRow): ditto
7178         (breakParagraph): use a temp var for rows().begin()
7179         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7180         (cursorRightOneWord): use temp var for cursor.par() and
7181         cursor.pos(), remove usage of tmpcursor.
7182         (cursorLeftOneWord): use temp var for cursor.par() and
7183         cursor.pos() only set cur at end of function.
7184
7185 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * text.C, text2.C: exchange all usage of Paragraph::next with
7188         boost::next(ParagraphList::iterator)
7189
7190         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7191
7192         * text2.C (cursorTop): simplify implementation
7193         (cursorBottom): ditto
7194         (setParagraph): use ParagraphList::iterator
7195         (setCurrentFont): adjust
7196         (getColumnNearX): adjust
7197         (cursorRight): adjust
7198         (cursorLeft): remove usage of Paragraph::previous
7199         (cursorUpParagraph): ditto
7200         (deleteEmptyParagraphMechanism): slight cleanup
7201
7202         * text.C (isBoundary): take a Paragraph const & instead of a
7203         pointer as arg.
7204         (addressBreakPoint): ditto
7205         (leftMargin): remove usage of Paragraph::previous.
7206         (setHeightOfRow): ditto
7207         (cursorLeftOneWord): ditto
7208         (selectNextWordToSpellcheck): ditto
7209         (Delete): ditto
7210         (backspace): ditto
7211         (breakParagraph): remove one usage of Paragraph::next
7212         (redoParagraph): ditto
7213         (acceptChange): ditto
7214         (insertChar): adjust
7215         (rowBreakPoint): adjust
7216
7217         * bufferview_funcs.C (toggleAndShow): adjust
7218
7219 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7220
7221         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7222         methods to access it.
7223         * lyxtext.h:
7224         * text.C: Added updateRowPositions to compute all row positions.
7225         Make top_y and getRowNearY() to use the cached y position
7226
7227 2003-04-11  John Levon  <levon@movementarian.org>
7228
7229         * text.C (rowBreakPoint): reintroduce the labelEnd
7230         checks, code copied from the row fill stuff. Deep voodoo.
7231
7232         * text.C (fill): add a comment and debugging for the
7233         next poor soul.
7234
7235 2003-04-11  John Levon  <levon@movementarian.org>
7236
7237         * text.C: make sure fullrow insets get wrapped to the next line,
7238         even when they're in a manual label
7239
7240 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * text2.C (insertParagraph): make it take ParagraphList::iterator
7243         as arg.
7244         (setLayout): make it return ParagraphList::iterator
7245         (redoParagraphs): ditto
7246         (setCounter): ditto
7247         (checkParagraph): ditto
7248
7249         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7250
7251         * text2.C: adjust several funcs.
7252         (realizeFont): take a ParagraphList::iterator as arg.
7253         (getLayoutFont): ditto
7254         (getLabelFont): ditto
7255         (setCharFont): ditto
7256
7257         * text.C: adjust several funcs.
7258
7259 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7260
7261         * text.C (selectNextWordToSpellcheck): don't accidentally
7262         skip insets
7263
7264 2003-04-10  John Levon  <levon@movementarian.org>
7265
7266         * ToolbarBackend.C (getIcon): special handling for
7267         LFUN_MATH_DELIM
7268
7269 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7270
7271         * text2.C (cursorRight): a getChar assert fixed
7272
7273 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * text2.C (getFont): change to take a ParagraphList::iterator
7276         instead of Paragraph*
7277         Adjust several functions.
7278
7279         * text.C (transformChar): change to take a ParagraphList::iterator
7280         instead of Paragraph*
7281         (singleWidth): ditto
7282         Adjust several functions.
7283
7284         * rowpainter.C: adjust several functions
7285         * rowpainter.h:store a ParagraphList::iterator and not a
7286         Paragraph&.
7287
7288
7289 2003-04-09  John Levon  <levon@movementarian.org>
7290
7291         * lyxfunc.C:
7292         * lfuns.h:
7293         * LyXAction.h:
7294         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7295         and the "help" bits as well
7296
7297 2003-04-09  John Levon  <levon@movementarian.org>
7298
7299         * ToolbarBackend.h:
7300         * ToolbarBackend.C: allow multiple toolbars
7301
7302 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * undo_funcs.C (setCursorParUndo): adjust
7305
7306         * text_funcs.C (transposeChars): adjust
7307
7308         * text3.C (gotoNextInset): adjust
7309         (dispatch): adjust
7310
7311         * text2.C (setLayout): adjust
7312         (changeDepth): adjust
7313         (setFont): adjust
7314         (redoParagraphs): adjust
7315         (selectionAsString): adjust
7316         (setParagraph): adjust
7317         (insertInset): adjust
7318         (cutSelection): adjust
7319         (copySelection): adjust
7320         (pasteSelection): adjust
7321         (insertStringAsLines): adjust
7322         (updateInset): adjust
7323         (setCursor): change to take a ParagraphList::iterator parameter
7324         (setCursorIntern): change to take a ParagraphList::iterator parameter
7325         (setCurrentFont): adjust
7326         (cursorLeft): adjust
7327         (cursorRight): adjust
7328         (deleteEmptyParagraphMechanism): adjust
7329
7330         * text.C (breakParagraph): adjust
7331         (insertChar): adjust
7332         (acceptChange): adjust
7333         (rejectChange): adjust
7334         (selectNextWordToSpellcheck): adjust
7335         (changeCase): adjust
7336         (Delete): adjust
7337         (backspace): adjust
7338
7339         * lyxfind.C (SearchForward): adjust
7340         (SearchBackward): adjust
7341         (nextChange): adjust
7342
7343         * lyxcursor.C (par): adjust
7344
7345         * lyxcursor.h: store a ParagraphList::iterator instead of a
7346         Paragraph*
7347
7348         * lyx_cb.C (getPossibleLabel): adjust
7349
7350         * bufferview_funcs.C (toggleAndShow): adjust
7351
7352         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7353         (dispatch): adjust
7354
7355         * BufferView.C (removeAutoInsets): adjust
7356         (lockedInsetStoreUndo): adjust
7357
7358 2003-04-09  John Levon  <levon@movementarian.org>
7359
7360         * ToolbarBackend.C: try icon without argument
7361         if with argument fails
7362
7363 2003-04-08  John Levon  <levon@movementarian.org>
7364
7365         * ToolbarBackend.h:
7366         * ToolbarBackend.C: add getIcon(), handle tooltip,
7367         and change from "Icon" to "Item".
7368
7369 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7370
7371         * BufferView.C (lockInset): another bad getchar crunched
7372
7373 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7374
7375         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7376         again)
7377
7378 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7379
7380         * lyxfind.C (searchForward, searchBackwards): bug 782
7381
7382 2003-04-07  John Levon  <levon@movementarian.org>
7383
7384         * paragraph.C: remove dead comment
7385
7386         * text.C: remove troublesome depth-fiddling code
7387         in leftMargin() and rightMargin() (bug 1017)
7388
7389         * text.C: fix breaking of rows in nested lists
7390         (bug 1004)
7391
7392         * text2.C (updateCounters): fix up depth values
7393         (bug 1013)
7394
7395 2003-04-07  John Levon  <levon@movementarian.org>
7396
7397         * BufferView_pimpl.C: clear message when doc finishes resizing,
7398         and after a mouse event
7399
7400         * lyxfunc.C: clear message after exiting inset
7401
7402 2003-04-07  John Levon  <levon@movementarian.org>
7403
7404         * bufferview_funcs.C: show math status not outside
7405         status in the statusbar
7406
7407 2003-04-07  John Levon  <levon@movementarian.org>
7408
7409         * lyxfunc.C: note status changed after a depth change
7410
7411 2003-04-04  Angus Leeming  <leeming@lyx.org>
7412
7413         * LaTeX.h: move AuxInfo operator==, != out of line.
7414         Remove LaTeX virtual destructor; nothing derives from it.
7415         Move operator()() out of public area and rename it startscript().
7416         Change protected for private.
7417
7418 2003-04-04  Angus Leeming  <leeming@lyx.org>
7419
7420         * lyxfunc.C:
7421         * text2.C: remove unneeded #includes.
7422
7423 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7424
7425         * text2.C (dEPM): fix the heigth of the next row
7426
7427 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7428
7429         * text.C: squashed an invalid getChar requester + some ws changes
7430
7431 2003-04-03  John Levon  <levon@movementarian.org>
7432
7433         * bufferview_funcs.h:
7434         * bufferview_funcs.C:
7435         * lyxfunc.C:
7436         * lyxtext.h:
7437         * text2.C: make getStatus work for the env depth lfuns
7438
7439 2003-04-03  John Levon  <levon@movementarian.org>
7440
7441         * bufferview_funcs.h:
7442         * bufferview_funcs.C:
7443         * lyxfunc.C:
7444         * lyxtext.h:
7445         * text2.C: parlistize decDepth(), by merging it with incDepth()
7446
7447 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * lyxrow.h: store a ParagraphList::iterator instead of a
7450         Paragraph* and adjust other class functions to suit.
7451
7452         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7453         above.
7454
7455 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7456
7457         * text2.C (setCursor): do not anchor to cursor row for the time being
7458
7459 2003-04-02  John Levon  <levon@movementarian.org>
7460
7461         * LyXAction.C:
7462         * lfuns.h:
7463         * lyx_main.C:
7464         * lyxtext.h:
7465         * text.C:
7466         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7467
7468 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * paragraph.h: make ParagraphList and ParagraphList::iterator
7471         friends of Paragraph.
7472
7473         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7474
7475         * ParagraphList.C: Use the private next_ and previous_ from
7476         Paragraph.
7477
7478 2003-04-01  John Levon  <levon@movementarian.org>
7479
7480         * ToolbarBackend.h:
7481         * ToolbarBackend.C:
7482         * Makefile.am: rename, remove defaults gunk
7483
7484         * MenuBackend.h:
7485         * MenuBackend.C: remove defaults gunk
7486
7487         * Languages.h:
7488         * Languages.C: remove defaults gunk
7489
7490         * lyx_main.h:
7491         * lyx_main.C: error out if files couldn't be found.
7492
7493 2003-04-02  John Levon  <levon@movementarian.org>
7494
7495         * text2.C: make incDepth() use parlist
7496
7497 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * undo_funcs.C (firstUndoParagraph): adjust
7500
7501         * text3.C (gotoInset): adjust
7502         (dispatch): adjust, and rewrite loop.
7503
7504         * text2.C (init): adjust, and rewrite loop.
7505         (redoParagraphs): adjust
7506         (updateInset): adjust, and rewrite loop.
7507         (deleteEmptyParagraphMechanism): adjust
7508
7509         * tabular.C (LyXTabular): adjust
7510         (SetMultiColumn): adjust
7511         (TeXRow): adjust
7512
7513         * lyxtext.[Ch] (ownerParagraph): delete function
7514         (ownerParagraphs): new function returns a ParagraphList.
7515
7516         * BufferView.C (removeAutoInsets): adjust
7517         (insertErrors): adjust
7518         (setCursorFromRow): adjust
7519
7520 2003-04-01  Angus Leeming  <leeming@lyx.org>
7521
7522         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7523         in the frontends.
7524
7525 2003-04-02  John Levon  <levon@movementarian.org>
7526
7527         * lyxtext.h:
7528         * text.C:
7529         * Makefile.am:
7530         * text_funcs.h:
7531         * text_funcs.C: make transposeChars a free function
7532
7533         * lyxrow_funcs.C: remove wrong comment
7534
7535 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * lyxtext.h: adjust
7538         * rowpainter.C: adjust
7539         * text.C: adjust
7540         * text2.C: adjust
7541         * text3.C: adjust
7542
7543         * lyxrow_funcs. [Ch]: new files
7544
7545         * lyxrow.[Ch]: remove next and previous pointers
7546         (next,previous): remove accessor functions
7547         (isParEnd): move to lyxrow_funcs
7548         (lastPos): move to lyxrow_funcs
7549         (nextRowIsAllInset): move to lyxrow_funcs
7550         (lastPrintablePos): move to lyxrow_funcs
7551         (numberOfSeparators): move to lyxrow_funcs
7552         (numberOfHfills): move to lyxrow_funcs
7553         (numberOfLabelHfills): move to lyxrow_funcs
7554         (hfillExpansion): move to lyxrow_funcs
7555
7556         * lyxfunc.C: adjust
7557
7558         * bufferview_funcs.C (toggleAndShow): adjust
7559
7560         * RowList.h: Remove class RowList from file leave just a
7561         std::list<Row>.
7562
7563         * RowList.C: delete file
7564
7565         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7566         and lyxrow_funcs.h
7567
7568 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * text3.C (cursorPrevious): adjust
7571         (cursorNext): adjust
7572         (dispatch): adjust
7573
7574         * text2.C (redoHeightOfParagraph): adjust
7575         (redoDrawingOfParagraph): adjust
7576         (setCursor): adjust
7577
7578         * text.C (breakParagraph): adjust
7579         (insertChar): adjust
7580         (backspace): adjust
7581
7582         * rowpainter.C (RowPainter): adjust
7583         (leftMargin): simplify and adjust
7584         (most rowpainter functions): adjust.
7585
7586         * rowpainter.h: store the row as RowList::iterator not as Row*
7587
7588         * lyxcursor.C (row): taka RowList::iterator as arg
7589         (irow): ditto
7590
7591         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7592         of Row*.
7593
7594 2003-04-01  Angus Leeming  <leeming@lyx.org>
7595
7596         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7597         stuff like bool Bool.
7598
7599 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7600
7601         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7602         rewrite a loop
7603
7604 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7607         RowList::iterator.
7608
7609         * lyxtext.h (rows): drop one version and leve a const variant that
7610         returns a RowList::iterator.
7611
7612 2003-03-31  Angus Leeming  <leeming@lyx.org>
7613
7614         * text.C (fill): ensure that the signature is the same as that in the
7615         header file.
7616
7617 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7618
7619         * text2.C (redoParagraphs): adjust
7620         (updateCounters): adjust
7621         (checkParagraph): adjust
7622         (getColumnNearX): adjust and reformat a bit.
7623
7624         * text.C (top_y): adjust
7625         (workWidth): adjust
7626         (leftMargin): adjust
7627         (prepareToPrint): adjust
7628         (getRow): adjust
7629         (getRowNearY): adjust
7630
7631         * lyxtext.h: make rowlist_ mutable.
7632
7633         * RowList.h: add const_iterator
7634         * RowList.C: adjust for RowList::const_iterator.
7635
7636         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7637         adjust.
7638
7639 2003-03-31  John Levon  <levon@movementarian.org>
7640
7641         * lyxrc.h:
7642         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7643
7644         * lyx_main.C: set default fonts from using lyx_gui funcs
7645
7646         * exporter.C: pdf_mode moved from lyxrc
7647
7648         * lyx_cb.C:
7649         * lyxfunc.C: changes from above
7650
7651 2003-03-31  John Levon  <levon@movementarian.org>
7652
7653         * lyx_main.C: fix to the last fix
7654
7655 2003-03-31  John Levon  <levon@movementarian.org>
7656
7657         * bufferlist.C: "Load original" -> "Load Original"
7658
7659         * converter.C:
7660         * exporter.C:
7661         * importer.C:
7662         * lyx_main.C:
7663         * format.C: more Alert cleanups
7664
7665 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7666
7667         * text2.C (removeParagraph): make it take a RowList::iterator as
7668         arg, adjust.
7669         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7670         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7671
7672         * text.C (anchor_row): make it take a RowList::iterator as arg,
7673         adjust.
7674         (computeBidiTables): make it take a const reference to Row instead
7675         of Row pointer, adjust.
7676         (leftMargin): make it take a RowList::iterator as arg, adjust.
7677         (rowBreakPoint): adjust
7678         (breakAgainOneRow): make it take a RowList::iterator as arg,
7679         adjust.
7680         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7681
7682         * bufferview_funcs.C (toggleAndShow): adjust
7683
7684 2003-03-30  John Levon  <levon@movementarian.org>
7685
7686         * Makefile.am:
7687         * BoostFormat.h:
7688         * boost-inst.C: moved to support
7689
7690         * several files: changes as a result
7691
7692 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * text2.C (LyXText): adjust.
7695         (init): adjust
7696         (removeRow): make it take a RowList::iterator as arg, adjust.
7697         (fullRebreak): adjust
7698         (deleteEmptyParagraphMechanism): adjust
7699         (clearPaint): adjust
7700         (postPaint): adjust
7701
7702         * text.C (top_y): adjust
7703         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7704         (breakAgain): make it take a RowList::iterator as arg, adjust.
7705         (breakParagraph): adjust
7706         (insertChar): adjust
7707         (backspace): adjust
7708
7709         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7710         need_break_row, and refresh_row.
7711
7712         * text3.C (dispatch): adjust
7713
7714         * text2.C (checkParagraph): adjust
7715         (setCursor): adjust
7716         (setCursorFromCoordinates): adjust
7717
7718         * text.C (top_y): adjust
7719         (workWidth): adjust
7720         (getRow): make it return a RowList::iterator, adjust
7721         (getRowNearY): make it return a RowList::iterator, adjust
7722
7723         * text2.C (init): adjust
7724         (insertRow): remove function
7725         (insertParagraph): adjust
7726         (redoParagraphs): adjust
7727         (fullRebreak): adjust
7728         (updateCounters): adjust
7729
7730         * text.C (top_y): rewrite to use RowList iterators.
7731         (top_y): adjust
7732         (setHeightOfRow): rewrite to sue RowList iterators.
7733         (appendParagraph): adjust
7734         (breakAgain): adjust
7735         (breakAgainOneRow): adjust
7736         (breakParagraph): adjust
7737         (getRow): adjust
7738         (getRowNearY): adjust, and remove commented code.
7739
7740         * lyxtext.h (firstRow): delete function
7741         (lastRow): delete function
7742         (rows): new function (const and non-const versions.)
7743         (insertRow): delete function
7744
7745         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7746
7747 2003-03-29  John Levon  <levon@movementarian.org>
7748
7749         * BufferView_pimpl.C: always update scrollbar top
7750         because pasting text when we're anchored could mean we
7751         miss an update altogether
7752
7753 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * text2.C (init): use rowlist_.end() and not 0.
7756         (insertRow): change to take a RowList::iterator as arg, adjust
7757         for this.
7758         (insertParagraph): change to take a RowList::iterator as arg,
7759         adjust for this.
7760         (redoParagraphs): remove some debug msgs.
7761
7762         * text.C (appendParagraph): change to take a RowList::iterator
7763         arg, adjust for this.
7764         (breakAgain): add an assert
7765         (breakAgainOneRow): ditto
7766
7767 2003-03-29  John Levon  <levon@movementarian.org>
7768
7769         * text2.C: do not clear selection after inc/decDepth
7770         (bug 550)
7771
7772 2003-03-29  John Levon  <levon@movementarian.org>
7773
7774         * BufferView.C:
7775         * buffer.C: fix broken strerrors according to Lars
7776
7777 2003-03-29  John Levon  <levon@movementarian.org>
7778
7779         * converters.C: more Alert cleanups
7780
7781 2003-03-29  John Levon  <levon@movementarian.org>
7782
7783         * bufferview_funcs.C: remove pointless Alert
7784
7785         * buffer.C: fix confusing error message when
7786         a template is chmoded 000
7787
7788 2003-03-29  John Levon  <levon@movementarian.org>
7789
7790         * BufferView.C:
7791         * BufferView.h:
7792         * BufferView_pimpl.C: Alert fixes
7793
7794         * Makefile.am:
7795         * tabular.C:
7796         * tabular-old.C: remove unused table compat reading
7797
7798 2003-03-29  John Levon  <levon@movementarian.org>
7799
7800         * BufferView.C:
7801         * buffer.C:
7802         * lyx_cb.h:
7803         * lyx_cb.C: more Alert cleanups
7804
7805         * lyxfunc.C: don't allow chktex if not latex document
7806
7807 2003-03-29  John Levon  <levon@movementarian.org>
7808
7809         * lyx_cb.C:
7810         * BufferView.C:
7811         * buffer.C: warnings pushed down from support/,
7812         kill err_alert
7813
7814 2003-03-29  John Levon  <levon@movementarian.org>
7815
7816         * lyxfunc.C: safety check for C-r (revert)
7817
7818 2003-03-29  John Levon  <levon@movementarian.org>
7819
7820         * bufferlist.h:
7821         * bufferlist.C: several UI fixes using Alert::prompt.
7822         Fix the pointless looping quit code. Fix stupid revert
7823         behaviour (bug 938)
7824
7825         * lyxvc.h:
7826         * lyxvc.C:
7827         * lyx_cb.C: use Alert::prompt
7828
7829         * lyx_main.C: remove a silly question
7830
7831         * lyxfunc.C: remove a couple of silly questions,
7832         use Alert::prompt
7833
7834 2003-03-28  John Levon  <levon@movementarian.org>
7835
7836         * text2.C: fix bug 974 (End on empty par)
7837
7838 2003-03-28  John Levon  <levon@movementarian.org>
7839
7840         * BufferView_pimpl.C:
7841         * LyXAction.C:
7842         * lfuns.h: remove do-nothing math greek lfuns
7843
7844 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * lyxgluelength.h (isValidGlueLength): add default arg on
7847         parameter 2. Remove default arg from friend in class.
7848
7849         * lyxlength.h (isValidLength): add default arg on parameter 2.
7850         Remove default arg from friend in class.
7851
7852         * text2.C (LyXText): adjust, initialize refresh_row.
7853         (init): adjust
7854         (removeRow): adjust
7855         (insertRow): adjust
7856         (insertParagraph): adjst
7857         (redoParagraphs): adjust
7858         (fullRebreak): adjust
7859         (updateCounters): adjust
7860         (deleteEmptyParagraphMechanism): first attempt at fixing a
7861         crashing bug.
7862
7863         * text.C (top_y): adjust
7864         (setHeightOfRow): adjust
7865         (getRow): adjust
7866         (getRowNearY): adjust
7867
7868         * lyxtext.h: include RowList.h
7869         (~LyXText): not needed anymore, deleted.
7870         (firstRow): modify for RowList
7871         (lastRow): new function
7872         Delete firstrow and lastrow class variables, add a Rowlist
7873         rowlist_ class variable.
7874
7875         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7876         paragraph is empty.
7877
7878         * RowList.C (insert): fix case where it == begin().
7879
7880 2003-03-26  Angus Leeming  <leeming@lyx.org>
7881
7882         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7883         the thesaurus dialog.
7884
7885 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7886
7887         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7888
7889         * RowList.[Ch]: new files
7890
7891         * ParagraphList.C (erase): handle the case where it == begin
7892         correctly.
7893
7894 2003-03-25  John Levon  <levon@movementarian.org>
7895
7896         * Makefile.am:
7897         * aspell_local.h:
7898         * aspell.C: add new aspell support
7899
7900         * lyxrc.h:
7901         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7902         have it accessible.
7903
7904 2003-03-25  Angus Leeming  <leeming@lyx.org>
7905
7906         * lfuns.h:
7907         * LyXAction.C (init): new LFUN_INSET_INSERT.
7908
7909         * BufferView_pimpl.C (dispatch): split out part of the
7910         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7911
7912         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7913         LFUN_INSET_APPLY.
7914
7915 2003-03-25  Angus Leeming  <leeming@lyx.org>
7916
7917         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7918
7919 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7920
7921         * text2.C:
7922         * text3.C: remove useless row->height(0)
7923
7924 2003-03-25  John Levon  <levon@movementarian.org>
7925
7926         * lyxtext.h:
7927         * text2.C:
7928         * text3.C: rename the refreshing stuff to better names
7929
7930 2003-03-24  John Levon  <levon@movementarian.org>
7931
7932         * BufferView_pimpl.h:
7933         * BufferView_pimpl.C: update layout choice on a mouse
7934         press/release
7935
7936 2003-03-23  John Levon  <levon@movementarian.org>
7937
7938         * Makefile.am: fix commandtags.h reference
7939
7940 2003-03-22  John Levon  <levon@movementarian.org>
7941
7942         * BufferView_pimpl.C:
7943         * lyxtext.h:
7944         * rowpainter.C:
7945         * rowpainter.h:
7946         * text.C:
7947         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7948
7949 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7950
7951         * lyxtext.h:
7952         * text.C: take the rtl methods out of line
7953
7954 2003-03-21 André Pönitz <poenitz@gmx.net>
7955
7956         * metricsinfo.[Ch]: new files containing structures to be passed around
7957         during the two-phase-drawing...
7958
7959 2003-03-21 André Pönitz <poenitz@gmx.net>
7960
7961         * lyxtextclass.C: read 'environment' tag.
7962
7963 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7964
7965         * text2.C (removeRow): fix bug 964
7966
7967 2003-03-20  John Levon  <levon@movementarian.org>
7968
7969         * rowpainter.C:
7970         * text.C:
7971         * text2.C: paint cleanups. Inset::update() dropped font
7972         parameter
7973
7974 2003-03-19  John Levon  <levon@movementarian.org>
7975
7976         * lyxfunc.C: only fitcursor/markDirty if available()
7977
7978 2003-03-19  John Levon  <levon@movementarian.org>
7979
7980         * commandtags.h: rename to ...
7981
7982         * lfuns.h: ... this, and renumber / cleanup
7983
7984 2003-03-19  John Levon  <levon@movementarian.org>
7985
7986         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7987         fit the cursor after an lfun
7988
7989         * BufferView.h:
7990         * BufferView.C:
7991         * BufferView_pimpl.h:
7992         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7993
7994         * LyXAction.C: layout-character should have ReadOnly
7995
7996         * ParagraphParameters.C:
7997         * buffer.C:
7998         * bufferview_funcs.C:
7999         * lyx_cb.C:
8000         * lyxfind.C:
8001         * lyxtext.h:
8002         * text.C:
8003         * text2.C:
8004         * text3.C:
8005         * undo_funcs.C: changes from above
8006
8007 2003-03-18  John Levon  <levon@movementarian.org>
8008
8009         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8010         remove it from update()
8011
8012         * lyxfunc.C: update layout choice after an lfun
8013
8014         * text3.C: remove extra updateLayoutChoice()s
8015
8016 2003-03-18  John Levon  <levon@movementarian.org>
8017
8018         * text.C: top_y change means full repaint, fix
8019         a drawing bug with cursor movement
8020
8021 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8022
8023         * lyxtext.h:
8024         * text.C:
8025         * text2.C: anchor row on setCursor
8026
8027 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * lyxtext.h: remove almost all mutable keywords
8030         * text.C:
8031         * text2.C:
8032         * text3.C: remove const keywords accordingly
8033
8034 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8037         anon namespace
8038         (TeXEnvironment): ditto
8039         (TeXOnePar): ditto
8040
8041 2003-03-17  John Levon  <levon@movementarian.org>
8042
8043         * text.C (rowBreakPoint): remove attempt to fix displayed
8044         math insets inside a manual label
8045
8046 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * lyxtext.h: remove BufferView* as first arg from almost all class
8049         functions.
8050         * other files: adjust.
8051
8052 2003-03-17  John Levon  <levon@movementarian.org>
8053
8054         * lyxtext.h:
8055         * undo_funcs.C:
8056         * text2.C: more paint cleanups
8057
8058         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8059
8060         * rowpainter.h:
8061         * rowpainter.C: remove "smart" background painting code
8062
8063 2003-03-16  John Levon  <levon@movementarian.org>
8064
8065         * lyxtext.h:
8066         * text.C:
8067         * text2.C:
8068         * text3.C: add helper functions for setting refresh_row/y
8069
8070 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8071
8072         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8073         newline inset which *can* get inserted in the pass_thru layouts.
8074         This is primarily for literate documents.
8075
8076 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8077
8078         * buffer.C: increment LYX_FORMAT to 223
8079
8080 2003-03-14 André Pönitz <poenitz@gmx.net>
8081
8082         * textclass.h: prepare for environment handling, ws changes
8083         * lyxlayout.C: read latexheader and latexfooter tags
8084
8085 2003-03-14  John Levon  <levon@movementarian.org>
8086
8087         * text2.C: rewrite ::status() a bit
8088
8089 2003-03-13  John Levon  <levon@movementarian.org>
8090
8091         * lyxtext.h: add some docs
8092
8093 2003-03-13  John Levon  <levon@movementarian.org>
8094
8095         * lyxtext.h:
8096         * text.C:
8097         * text2.C:
8098         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8099
8100 2003-03-13  John Levon  <levon@movementarian.org>
8101
8102         * text3.C: fix appendix redrawing
8103
8104 2003-03-13  John Levon  <levon@movementarian.org>
8105
8106         * text.C (setHeightOfRow):
8107         * rowpainter.h:
8108         * rowpainter.C: make appendix mark have the text
8109           "Appendix" so the user knows what it is
8110
8111         * LColor.h:
8112         * LColor.C: s/appendixline/appendix/ from above
8113
8114 2003-03-13  John Levon  <levon@movementarian.org>
8115
8116         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8117
8118         * text.C: fix a getChar(pos) bug properly
8119
8120 2003-03-13  Angus Leeming  <leeming@lyx.org>
8121
8122         * commandtags.h:
8123         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8124         Probably only temporary. Let's see how things pan out.
8125
8126         * BufferView.C (unlockInset):
8127         * BufferView_pimpl.C (fitCursor):
8128         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8129
8130         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8131         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8132
8133         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8134         new functions that convert ParagraphParameters to and from a string.
8135
8136         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8137         BufferView::Pimpl's dispatch.
8138         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8139
8140 2003-03-13 André Pönitz <poenitz@gmx.net>
8141
8142         * lyxfunc.C:
8143         * text3.C:
8144         * factory.C: make it aware of InsetEnv
8145
8146 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * text2.C (setCursor): never ask for one past last
8149         (setCursor): add some debugging messages.
8150
8151         * text.C (singleWidth): never ask for one past last
8152         (singleWidth): ditto
8153         (leftMargin): ditto
8154         (rightMargin): ditto
8155         (rowBreakPoint): ditto
8156         (setHeightOfRow): ditto
8157         (prepareToPrint): ditto
8158
8159         * rowpainter.C (paintBackground): never ask for one past last
8160         (paintText): never ask for one past last
8161
8162         * paragraph_pimpl.C (getChar): make the assert stricter, never
8163         allow the one past last pos to be taken
8164
8165         * paragraph.C (getChar): ws changes only
8166
8167         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8168         (numberOfSeparators): ditto
8169         (numberOfHfills): ditto
8170
8171 2003-03-12  John Levon  <levon@movementarian.org>
8172
8173         * author.h:
8174         * author.C:
8175         * bufferparams.h:
8176         * bufferparams.C:
8177         * paragraph_funcs.C: fix per-buffer authorlists
8178
8179 2003-03-12  John Levon  <levon@movementarian.org>
8180
8181         * text.C: fix newline in right address
8182
8183 2003-03-12  Angus Leeming  <leeming@lyx.org>
8184
8185         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8186         duplicate those in LyXFunc::dispatch.
8187
8188         * commandtags.h:
8189         * LyXAction.C:
8190         * ToolbarDefaults.C:
8191         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8192         Add LFUN_FONTFREE_UPDATE.
8193
8194         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8195         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8196
8197         * bufferview_func.[Ch]: several new functions to facilliate
8198         transfer of data to and from the character dialog.
8199
8200 2003-03-12  John Levon  <levon@movementarian.org>
8201
8202         * buffer.C:
8203         * paragraph.h:
8204         * paragraph.C:
8205         * paragraph_funcs.C:
8206         * paragraph_pimpl.C:
8207         * sgml.C:
8208         * tabular.C:
8209         * text.C:
8210         * text3.C: remove META_NEWLINE in favour of an inset
8211
8212         * rowpainter.h:
8213         * rowpainter.C: remove paintNewline (done by inset)
8214
8215 2003-03-12  John Levon  <levon@movementarian.org>
8216
8217         * paragraph_pimpl.C: complain about bad getChar()s
8218         for a while at least
8219
8220 2003-03-12  John Levon  <levon@movementarian.org>
8221
8222         * buffer.h:
8223         * buffer.C: move paragraph read into a separate function,
8224         a little renaming to reflect that.
8225
8226         * bufferparams.h:
8227         * bufferparams.C: remove the author_ids map, not necessary now
8228
8229         * factory.h:
8230         * factory.C: moved Buffer::readInset to here
8231
8232         * paragraph_funcs.h:
8233         * paragraph_funcs.C: readParagraph free function moved from
8234         buffer.C
8235
8236         * tabular.C: name change
8237
8238 2003-03-12  John Levon  <levon@movementarian.org>
8239
8240         * buffer.C:
8241         * ParagraphParameters.C: move par params input to
8242         a read() method
8243
8244         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8245         behave like a normal read from the stream wrt reading
8246         a line vs. a \\token
8247
8248 2003-03-12  John Levon  <levon@movementarian.org>
8249
8250         * paragraph.C:
8251         * ParagraphParameters.h:
8252         * ParagraphParameters.C: move output code to a
8253         ::write() method
8254
8255 2003-03-12  John Levon  <levon@movementarian.org>
8256
8257         * BufferView.C (insertLyXFile):
8258         * buffer.h:
8259         * buffer.C:
8260         * tabular.C: use a parlist iterator for creating the
8261           document.
8262
8263 2003-03-12  John Levon  <levon@movementarian.org>
8264
8265         * buffer.C: make current_change static local not
8266           static file-scope
8267
8268 2003-03-12  John Levon  <levon@movementarian.org>
8269
8270         * buffer.C: fix insertStringAsLines for change tracking
8271
8272 2003-03-12  John Levon  <levon@movementarian.org>
8273
8274         * BufferView.C:
8275         * tabular.C:
8276         * buffer.h:
8277         * buffer.C:
8278         * bufferparams.h:
8279         * bufferparams.C: move author list into params. Rename some
8280           functions. Move the header reading into a separate token
8281           loop. Move the header token reading into BufferParams.
8282
8283 2003-03-12  John Levon  <levon@movementarian.org>
8284
8285         * changes.C: put debug inside lyxerr.debugging() checks
8286
8287 2003-03-11 André Pönitz <poenitz@gmx.net>
8288
8289         * factory.C: make it aware of InsetHFill
8290
8291 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8292
8293         * buffer.C (latexParagraphs): move function from here...
8294         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8295         args.
8296
8297 2003-03-10  Angus Leeming  <leeming@lyx.org>
8298
8299         * LyXAction.C (init): fix bug in poplating array with multiple entries
8300         with the same LFUN (spotted by JMarc).
8301
8302 2003-03-10  John Levon  <levon@movementarian.org>
8303
8304         * text.C:
8305         * text2.C: move getColumnNearX() near its
8306         only call site
8307
8308 2003-03-10  John Levon  <levon@movementarian.org>
8309
8310         * text.C: fix break before a minipage
8311
8312 2003-03-10  John Levon  <levon@movementarian.org>
8313
8314         * text.C: fix the last commit
8315
8316 2003-03-09  John Levon  <levon@movementarian.org>
8317
8318         * lyxtext.h:
8319         * text.C:
8320         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8321         bug 365 (don't break before insets unless needed). Don't
8322         return a value > last under any circumstances.
8323
8324 2003-03-09  Angus Leeming  <leeming@lyx.org>
8325
8326         * BufferView_pimpl.C (trackChanges, dispatch): call
8327         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8328
8329 2003-03-09  Angus Leeming  <leeming@lyx.org>
8330
8331         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8332         than Dialogs::showAboutlyx().
8333
8334 2003-03-09  Angus Leeming  <leeming@lyx.org>
8335
8336         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8337         than Dialogs::showTabularCreate().
8338
8339 2003-03-09  John Levon  <levon@movementarian.org>
8340
8341         * lyxtext.h:
8342         * text.C:
8343         * text2.C: 3rd arg to nextBreakPoint was always the same.
8344           Use references.
8345
8346 2003-03-08  John Levon  <levon@movementarian.org>
8347
8348         * lyxrow.C:
8349         * paragraph.C:
8350         * paragraph.h:
8351         * rowpainter.C:
8352         * text.C:
8353         * text2.C: Remove the "main" bit from the "main body"
8354           notion.
8355
8356 2003-03-08  John Levon  <levon@movementarian.org>
8357
8358         * text.C (leftMargin): The left margin of an empty
8359         manual label paragraph should not include the label width
8360         string length.
8361
8362         * text.C (prepareToPrint): don't attempt to measure hfills
8363         for empty manual label paragraphs - the answer should be 0
8364
8365 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * CutAndPaste.C: remove commented code and reindent.
8368
8369 2003-03-08  John Levon  <levon@movementarian.org>
8370
8371         * lyxfunc.h:
8372         * lyxfunc.C: move reloadBuffer()
8373
8374         * BufferView.h:
8375         * BufferView.C: to here
8376
8377         * lyxvc.C: add comment
8378
8379         * vc-backend.h:
8380         * vc-backend.C: call bv->reload() to avoid
8381           getStatus() check on MENURELOAD
8382
8383 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8384
8385         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8386         to an old format .dep file.
8387
8388 2003-03-07  Angus Leeming  <leeming@lyx.org>
8389
8390         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8391         when the LFUN_MOUSE_RELEASE should have been handled by
8392         inset->localDispatch.
8393
8394 2003-03-07  Angus Leeming  <leeming@lyx.org>
8395
8396         * BufferView_pimpl.C (dispatch):
8397         * LyXAction.C (init):
8398         * ToolbarDefaults.C (init):
8399         * commandtags.h:
8400         * lyxfunc.C (getStatus):
8401         remove LFUN_INSET_GRAPHICS.
8402
8403         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8404
8405 2003-03-07  Angus Leeming  <leeming@lyx.org>
8406
8407         * commandtags.h:
8408         * LyXAction.C (init):
8409         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8410
8411         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8412
8413         * commandtags.h:
8414         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8415
8416         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8417         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8418
8419 2003-03-07  Angus Leeming  <leeming@lyx.org>
8420
8421         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8422         remove "ert".
8423
8424 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * ParagraphList.C (front): new function
8427         (back): implement
8428
8429 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8430
8431         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8432         and top_row_offset_. removed var first_y.
8433         * text.C (top_y):
8434         * text2.C (LyXText, removeRow):
8435         * text3.C:
8436         * BufferView_pimpl.C:
8437         use these methods instead of using first_y
8438
8439 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * text2.C (pasteSelection): adjust for checkPastePossible
8442
8443         * CutAndPaste.C: remove Paragraph * buf and replace with
8444         ParagraphList paragraphs.
8445         (DeleteBuffer): delete
8446         (cutSelection): change the tc type to textclass_type
8447         (copySelection): change the tc type to textclass_type
8448         (copySelection): adjust for ParagraphList
8449         (pasteSelection): change the tc type to textclass_type
8450         (pasteSelection): adjust for Paragraphlist
8451         (nrOfParagraphs): simplify for ParagraphList
8452         (checkPastePossible): simplify for ParagraphList
8453         (checkPastePossible): remove unused arg
8454
8455         * ParagraphList.C (insert): handle the case where there are no
8456         paragraphs yet.
8457
8458         * CutAndPaste.h: make CutAndPaste a namespace.
8459
8460         * text3.C (dispatch): adjust
8461
8462         * text.C (breakParagraph): add a ParagraphList as arg
8463
8464         * paragraph_funcs.C (breakParagraph): change to take a
8465         BufferParams and a ParagraphList as args.
8466         (breakParagraphConservative): ditto
8467         (mergeParagraph): ditto
8468         (TeXDeeper): add a ParagraphList arg
8469         (TeXEnvironment): ditto
8470         (TeXOnePar): ditto
8471
8472         * buffer.C (readLyXformat2): adjust
8473         (insertStringAsLines): adjust
8474         (latexParagraphs): adjust
8475
8476         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8477         (cutSelection): adjust
8478         (pasteSelection): adjust
8479
8480         * BufferView_pimpl.C (insertInset): adjust
8481
8482 2003-03-05  Angus Leeming  <leeming@lyx.org>
8483
8484         * commandtags.h:
8485         * LyXAction.C (init):
8486         * BufferView_pimpl.C (dispatch):
8487         * lyxfunc.C (getStatus):
8488         remove LFUN_CHILD_INSERT.
8489
8490         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8491
8492 2003-03-05  Angus Leeming  <leeming@lyx.org>
8493
8494         * commandtags.h:
8495         * LyXAction.C (init):
8496         * src/factory.C (createInset):
8497         * lyxfunc.C (getStatus):
8498         * text3.C (dispatch):
8499         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8500
8501         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8502
8503 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8504
8505         * ParagraphList.C (insert): handle insert right before end()
8506         (erase): fix cases where it can be first or last paragraph.
8507
8508 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8509
8510         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8511         Paragraph::next and Paragraph::previous
8512         (TeXOnePar): ditto
8513
8514         * text.C (breakParagraph): adjust
8515
8516         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8517         BufferParams& as arg.
8518         (breakParagraph): use ParagraphList::insert
8519         (breakParagraphConservative): take a Buffer* instead of a
8520         BufferParams& as arg.
8521         (breakParagraphConservative): use ParagraphList::insert.
8522
8523         * buffer.C (insertStringAsLines): un-const it
8524         (insertStringAsLines): adjust
8525
8526         * ParagraphList.C (insert): new function
8527
8528         * CutAndPaste.C (pasteSelection): adjust
8529
8530         * text.C (backspace): adjust
8531
8532         * tabular.C (SetMultiColumn): adjust
8533
8534         * CutAndPaste.C (cutSelection): adjust
8535         (pasteSelection): adjust
8536
8537         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8538         Buffer const * as arg
8539
8540         * ParagraphList.C (erase): new function
8541         * paragraph_funcs.C (mergeParagraph): use it
8542         (mergeParagraph): make it take a Buffer* instead of a
8543         BufferParams* as arg
8544
8545         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8546         as arg
8547         (breakParagraphConservative): ditto
8548
8549         * paragraph.h: remove the breakParagraph friend
8550
8551         * paragraph.C (eraseIntern): new function
8552         (setChange): new function
8553
8554         * paragraph_funcs.C (mergeParagraph): make it take a
8555         ParagraphList::iterator instead of a Paragraph *, adjust
8556         accordingly.
8557
8558         * paragraph.h: move an #endif so that the change tracking stuff
8559         also works in the NO_NEXT case.
8560
8561 2003-03-04  Angus Leeming  <leeming@lyx.org>
8562
8563         * commandtags.h:
8564         * LyXAction.C: new LFUN_INSET_MODIFY.
8565
8566         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8567         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8568
8569 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8570
8571         * several files: ws changes only
8572
8573         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8574         (TeXEnvironment): ditto
8575         (TeXDeeper): ditto
8576
8577         * buffer.C (makeLaTeXFile): adjust
8578         (latexParagraphs): make it take ParagraphList::iterator as args
8579
8580 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8581
8582         * buffer.C (latexParagraphs): adjust
8583
8584         * paragraph.C (TeXOnePar): move function...
8585         (optArgInset): move function...
8586         (TeXEnvironment): move function...
8587         * paragraph_pimpl.C (TeXDeeper): move function...
8588         * paragraph_funcs.C: ...here
8589
8590         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8591
8592 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8593
8594         * buffer.C (readInset): remove compability code for old Figure and
8595         InsetInfo insets
8596
8597 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * buffer.C: ws changes
8600         (readInset):
8601
8602         * BufferView_pimpl.C: ditto
8603         * author.C: ditto
8604         * buffer.h: ditto
8605         * bufferlist.h: ditto
8606         * changes.h: ditto
8607         * lyxfunc.C: ditto
8608
8609 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8610
8611         * converter.[Ch]: split into itself +
8612         * graph.[Ch]
8613         * format.[Ch]
8614         * Makefile.am: += graph.[Ch] + format.[Ch]
8615         * MenuBackend.C
8616         * buffer.C
8617         * exporter.C
8618         * importer.C
8619         * lyx_main.C
8620         * lyxfunc.C
8621         * lyxrc.C: added #include "format.h"
8622
8623 2003-02-27  Angus Leeming  <leeming@lyx.org>
8624
8625         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8626           a label.
8627
8628         * factory.C (createInset): add "label" to the factory.
8629
8630         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8631           string and do no more.
8632
8633 2003-02-27  Angus Leeming  <leeming@lyx.org>
8634
8635         * commandtags.h:
8636         * LyXAction.C (init):
8637         * factory.C (createInset):
8638         * BufferView_pimpl.C (dispatch):
8639           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8640
8641         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8642
8643         * lyxfunc.C (dispatch):
8644         * text3.C (dispatch): pass name to params2string.
8645
8646 2003-02-26  Angus Leeming  <leeming@lyx.org>
8647
8648         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8649           blocks together.
8650           Rearrange the ~includes. Strip out the unnecessary ones.
8651
8652         * factory.C (createInset): reformat.
8653           create new insets for the various LFUN_XYZ_APPLY lfuns.
8654
8655 2003-02-26  John Levon  <levon@movementarian.org>
8656
8657         * lyxrow.h:
8658         * lyxrow.C: add isParStart,isParEnd helpers
8659
8660         * paragraph.h: make isInserted/DeletedText take refs
8661
8662         * paragraph_funcs.h:
8663         * paragraph_funcs.C: remove #if 0'd code
8664
8665         * lyxtext.h:
8666         * text3.C:
8667         * text2.C:
8668         * text.C: use lyxrow helpers above.
8669           Move draw and paint routines to RowPainter.
8670           Make several methods use refs not pointers.
8671           Make backgroundColor() const.
8672           Add markChangeInDraw(), isInInset().
8673           Merge changeRegionCase into changeCase.
8674           Make workWidth() shouldn't-happen code into an Assert.
8675
8676         * rowpainter.h:
8677         * rowpainter.C: new class for painting a row.
8678
8679         * vspace.h:
8680         * vspace.C: make inPixels take a ref
8681
8682 2003-02-26  Angus Leeming  <leeming@lyx.org>
8683
8684         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8685         LFUN_REF_APPLY.
8686
8687 2003-02-25  John Levon  <levon@movementarian.org>
8688
8689         * ispell.C: give the forked command a more accurate name
8690
8691 2003-02-22  John Levon  <levon@movementarian.org>
8692
8693         * toc.h:
8694         * toc.C: make TocItem store an id not a Paragraph *
8695           (bug #913)
8696
8697 2003-02-21  Angus Leeming  <leeming@lyx.org>
8698
8699         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8700           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8701           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8702           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8703           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8704           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8705
8706         * BufferView_pimpl.C (dispatch):
8707         * LyXAction.C (init):
8708         * factory.C (createInset):
8709         * lyxfunc.C (getStatus, dispatch):
8710         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8711
8712 2003-02-21  Angus Leeming  <leeming@lyx.org>
8713
8714         * BufferView_pimpl.C (MenuInsertLyXFile):
8715         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8716         * lyxfunc.C (menuNew, open, doImport):
8717           no longer pass a LyXView & to fileDlg.
8718
8719 2003-02-21  Angus Leeming  <leeming@lyx.org>
8720
8721         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8722         * LyXAction.C: change, BIBKEY to BIBITEM.
8723         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8724         Change InsetBibKey to InsetBibitem.
8725         Change BIBKEY_CODE to BIBITEM_CODE.
8726         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8727         * factory.C: replace insetbib.h with insetbibitem.h.
8728         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8729         * paragraph.C: replace insetbib.h with insetbibitem.h.
8730         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8731         Change bibkey() to bibitem().
8732         * text.C: remove insetbib.h.
8733         * text2.C: replace insetbib.h with insetbibitem.h.
8734         change bibkey() to bibitem().
8735         * text3.C: remove insetbib.h.
8736         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8737
8738 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8739
8740         * lyxrc.C (output): enclose user email in quotes (in case there are
8741         several words)
8742
8743 2003-02-18  John Levon  <levon@movementarian.org>
8744
8745         * buffer.h: add std::
8746
8747 2003-02-17  John Levon  <levon@movementarian.org>
8748
8749         * SpellBase.h:
8750         * ispell.h:
8751         * ispell.C:
8752         * pspell.h:
8753         * pspell.C: reworking. Especially in ispell, a large
8754           number of clean ups and bug fixes.
8755
8756         * lyxfunc.C: fix revert to behave sensibly
8757
8758 2003-02-17 André Pönitz <poenitz@gmx.net>
8759
8760         * LyXAction.C:
8761         * commandtags.h: new LFUN_INSERT_BIBKEY
8762
8763         * layout.h:
8764         * lyxlayout.C:
8765         * buffer.C:
8766         * factory.C:
8767         * text.C:
8768         * text2.C:
8769         * text3.C:
8770         * paragraph.[Ch]:
8771         * paragraph_func.C: remove special bibkey handling
8772
8773 2003-02-17  John Levon  <levon@movementarian.org>
8774
8775         * text.C (Delete): fix case where delete at the end of
8776           the very first paragraph would not merge the pars
8777
8778 2003-02-17  John Levon  <levon@movementarian.org>
8779
8780         * lyxrow.C: fix lastPrintablePos()
8781
8782 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8783
8784         * bufferparams.C (writeLaTeX): add a std:here
8785
8786         * buffer.C: and remove a using directive there
8787
8788 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8789
8790         * buffer.C (makeLaTeXFile): move the code that generates the
8791           preamble...
8792
8793         * bufferparams.C (writeLaTeX): ... in this new method
8794
8795         * LaTeXFeatures.C (getEncodingSet): make const
8796           (getLanguages): make const
8797
8798         * MenuBackend.C (binding): returns the binding associated to this
8799           action
8800           (add): sets the status of each item by calling getStatus. Adds
8801           some intelligence.
8802           (read): add support for OptSubMenu
8803           (expand): remove extra separator at the end of expanded menu
8804
8805 2003-02-15  John Levon  <levon@movementarian.org>
8806
8807         * BufferView.C:
8808         * BufferView_pimpl.C:
8809         * bufferlist.h:
8810         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8811           inset code that had no actual effect. Remove unneeded status
8812           code.
8813
8814 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8817           in preamble
8818
8819 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8820
8821         * text.C (drawLengthMarker): also draw an arrow marker for
8822           symbolic lengths (medskip...)
8823
8824 2003-02-14  John Levon  <levon@movementarian.org>
8825
8826         * tabular.h:
8827         * tabular.C: better method names
8828
8829 2003-02-14  John Levon  <levon@movementarian.org>
8830
8831         * BufferView_pimpl.C:
8832         * bufferlist.C:
8833         * buffer.C:
8834         * converter.C:
8835         * lyx_cb.C:
8836         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8837           it's a more accurate name. Remove some pointless uses.
8838
8839 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8840
8841         * text2.C (LyXText): change order of initilizers to shut off
8842           warnings
8843
8844 2003-02-14  John Levon  <levon@movementarian.org>
8845
8846         * buffer.C: use ParIterator for getParFromID()
8847
8848         * paragraph.h:
8849         * paragraph.C:
8850         * paragraph_pimpl.h:
8851         * paragraph_pimpl.C: remove unused getParFromID()
8852
8853 2003-02-14  John Levon  <levon@movementarian.org>
8854
8855         * buffer.C: remove some very old #if 0'd parse code
8856
8857 2003-02-13  John Levon  <levon@movementarian.org>
8858
8859         * text.h:
8860         * text.C:
8861         * text2.C: move hfillExpansion(), numberOfSeparators(),
8862           rowLast(), rowLastPrintable(), numberofHfills(),
8863           numberOfLabelHfills() ...
8864
8865         * lyxrow.h:
8866         * lyxrow.C: ... to member functions here.
8867
8868         * paragraph.h:
8869         * paragraph.C:
8870         * lyxtext.h:
8871         * text.C: remove LyXText::beginningOfMainBody(), and call
8872           p->beginningOfMainBody() directly. Move the check for
8873           LABEL_MANUAL into the latter.
8874
8875         * text.h:
8876         * text.C:
8877         * text2.C:
8878         * vspace.C:
8879         * BufferView.h:
8880         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8881
8882         * text.h:
8883         * text.C:
8884         * text2.C:
8885         * text3.C:
8886         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8887           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8888
8889 2003-02-13  John Levon  <levon@movementarian.org>
8890
8891         * CutAndPaste.C: remove debug
8892
8893 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8894
8895         * paragraph.C (asString): remove two unused variables
8896
8897         * lyxtextclass.C (readTitleType):
8898           (Read):
8899           (LyXTextClass): handle new members titletype_ and titlename_
8900
8901         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8902
8903 2003-02-09  John Levon  <levon@movementarian.org>
8904
8905         * buffer.h:
8906         * buffer.C: replace hand-coded list with a map for the dep clean
8907
8908 2003-02-08  John Levon  <levon@movementarian.org>
8909
8910         * LaTeX.C: consolidate code into showRunMessage() helper
8911
8912 2003-02-08  John Levon  <levon@movementarian.org>
8913
8914         * lyxfind.C:
8915         * lyxtext.h:
8916         * text2.C:
8917         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8918           and pass the size in explicitly
8919
8920         * BufferView_pimpl.h:
8921         * BufferView_pimpl.C:
8922         * BufferView.h:
8923         * BufferView.C: add getCurrentChange()
8924
8925         * BufferView_pimpl.h:
8926         * BufferView_pimpl.C: handle change lfuns
8927
8928         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8929           for changes. Mark pasted paragraphs as new.
8930
8931         * support/lyxtime.h:
8932         * support/lyxtime.C:
8933         * DepTable.C: abstract time_t as lyx::time_type
8934
8935         * LColor.h:
8936         * LColor.C: add colours for new text, deleted text, changebars
8937
8938         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8939           package use "usenames" option.
8940
8941         * commandtags.h:
8942         * lyxfunc.C:
8943         * LyXAction.C: add change lfuns
8944
8945         * Makefile.am:
8946         * author.h:
8947         * author.C: author handling
8948
8949         * buffer.h:
8950         * buffer.C: add a per-buffer author list, with first entry as
8951           current author. Handle new .lyx tokens for change tracking. Output
8952           author list to .lyx file. Output dvipost stuff to .tex preamble.
8953           Bump lyx format to 222.
8954
8955         * bufferlist.h:
8956         * bufferlist.C: add setCurrentAuthor() to reset current author details
8957           in all buffers.
8958
8959         * bufferparams.h:
8960         * bufferparams.C: add param for tracking
8961
8962         * bufferview_funcs.C: output change info in minibuffer
8963
8964         * Makefile.am:
8965         * changes.h:
8966         * changes.C: add change-tracking structure
8967
8968         * debug.h:
8969         * debug.C: add CHANGES debug flag
8970
8971         * lyxfind.h:
8972         * lyxfind.C: add code for finding the next change piece
8973
8974         * lyxrc.h:
8975         * lyxrc.C: add user_name and user_email
8976
8977         * lyxrow.h:
8978         * lyxrow.C: add a metric for the top of the text line
8979
8980         * lyxtext.h:
8981         * text.C: implement accept/rejectChange()
8982
8983         * lyxtext.h:
8984         * text.C: paint changebars. Paint new/deleted text in the chosen
8985         colours. Strike through deleted text.
8986
8987         * paragraph.h:
8988         * paragraph.C:
8989         * paragraph_pimpl.h:
8990         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8991           in the current change to the insert functions. Rework erase to
8992           mark text as deleted, adding an eraseIntern() and a range-based
8993           erase(). Implement per-paragraph change lookup and
8994           accept/reject.
8995
8996         * paragraph_funcs.C: Fixup paste for change tracking.
8997
8998         * tabular.C: mark added row/columns as new.
8999
9000         * text.C: fix rowLast() to never return -1. Don't allow
9001           spellchecking of deleted text. Track transpose changes. Don't
9002           allow paragraph break or merge where appropriate.
9003
9004         * text2.C: leave cursor at end of selection after a cut.
9005
9006 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9007
9008         * text.C (getLengthMarkerHeight):
9009         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9010         visible on screen too.
9011
9012 2003-02-07  John Levon  <levon@movementarian.org>
9013
9014         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9015
9016 2003-02-05  Angus Leeming  <leeming@lyx.org>
9017
9018         * lyxserver.C (read_ready): revert my patch of 11 September last year
9019         as it sends PC cpu through the roof. Presumably this means that
9020         the lyxserver will no longer run on an Alpha...
9021
9022 2003-01-30  Angus Leeming  <leeming@lyx.org>
9023
9024         * factory.C (createInset): create an InsetCommandParam of type "index"
9025         and use it to 'do the right thing'.
9026
9027         * text2.C (getStringToIndex): ensure that cursor position is always
9028         reset to the reset_cursor position.
9029
9030 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9031
9032         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9033         disabled.
9034
9035 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9036
9037         * bufferview.C:
9038         * lyxcb.C:
9039         * lyxfunc.C: Output messages with identical spelling, punctuation,
9040         and spaces
9041
9042 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9043
9044         * MenuBackend.C (expandFormats): List only viewable export formats
9045         in "View" menu
9046
9047         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9048         message
9049
9050         * lyxfunc.C (getStatus): Make sure that formats other than
9051         "fax" can also be disabled
9052
9053 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9054
9055         * text3.C (dispatch): put the lfuns that insert insets in 3
9056         groups, and call doInsertInset with appropriate arguments.
9057         (doInsertInset): new function, that creates an inset and inserts
9058         it according to some boolean parameters.
9059
9060 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9061
9062         * buffer.C (readFile): remember to pass on 'par' when calling
9063         readFile recursively.
9064
9065 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9066
9067         * MenuBackend.C (expandFormats): add "..." to import formats.
9068
9069 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9070
9071         * paragraph.C (asString): Remove XForms RTL hacks.
9072
9073 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9074         * buffer.C: fix typo
9075
9076 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9077
9078         * Makefile.am (LIBS): delete var
9079         (lyx_LDADD): add @LIBS@ here instead.
9080
9081 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9082
9083         * Clarify the meaning of "wheel mouse jump"
9084
9085 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9086
9087         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9088         tabular in a float
9089
9090 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9091
9092         * importer.C (Loaders): do not preallocate 3 elements in the
9093         vector, since one ends up with 6 elements otherwise
9094
9095 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9096
9097         * DepTable.C (write): write the file name as last element of the
9098         .dep file (because it may contain spaces)
9099         (read): read info in the right order
9100
9101 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9102
9103         * paragraph_pimpl.C (simpleTeXBlanks):
9104         (simpleTeXSpecialChars):
9105         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9106
9107         * tabular.C (latex): add some missing case statements. Reindent.
9108
9109         * MenuBackend.C (expandToc): remove unused variable.
9110
9111 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9112
9113         * LColor.C:
9114         * LaTeX.C:
9115         * LyXAction.C:
9116         * MenuBackend.C:
9117         * buffer.C:
9118         * exporter.C:
9119         * lyxfunc.C:
9120         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9121         and the like.
9122
9123 2003-01-05  John Levon  <levon@movementarian.org>
9124
9125         * BufferView.h:
9126         * BufferView.C: add getEncoding()
9127
9128         * kbsequence.h:
9129         * kbsequence.C: do not store last keypress
9130
9131         * lyxfunc.h:
9132         * lyxfunc.C: store last keypress here instead. Pass encoding
9133           to getISOEncoded()
9134
9135 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9136
9137         * lyx_main.C (init): remove annoying error message when following
9138         symbolic links (bug #780)
9139
9140 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9141
9142         * text.C (insertChar):
9143         * lyxrc.C (getDescription): remove extra spaces
9144
9145 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9146
9147         * lyxrc.C (getDescription): remove extra spaces
9148
9149 2002-12-20  John Levon  <levon@movementarian.org>
9150
9151         * text3.C: hack fix for page up/down across tall rows
9152
9153 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9154
9155         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9156         not been invoked
9157
9158 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9159
9160         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9161         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9162         thesaurus is not compiled in
9163
9164 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9165
9166         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9167
9168 2002-12-16  Angus Leeming  <leeming@lyx.org>
9169
9170         * lyxrc.[Ch]:
9171         * lyx_main.C (init): remove override_x_deadkeys stuff.
9172
9173 2002-12-12  John Levon  <levon@movementarian.org>
9174
9175         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9176           insert. Only remove shift modifier under strict
9177           circumstances.
9178
9179 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9180
9181         * MenuBackend.C (expandToc): fix crash.
9182
9183 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9184
9185         * MenuBackend.C (expandToc): gettext on float names.
9186
9187 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9188
9189         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9190         implement bool empty() [bug 490]
9191
9192 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9193
9194         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9195
9196 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9197
9198         * several files: ws changes
9199
9200 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * text2.C (setCounter): clean up a bit, use boost.format.
9203         (updateCounters): initialize par upon declaration.
9204
9205         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9206         if the layout exists. We do not just store the layout any more.
9207         (SwitchLayoutsBetweenClasses): use boost.format
9208
9209 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9210
9211         * converter.C (convert): if from and to files are the same, use a
9212         temporary files as intermediary
9213
9214 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9215
9216         * commandtags.h:
9217         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9218
9219 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9220
9221         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9222
9223 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9224
9225         * tabular.C (asciiPrintCell): use string(size, char) instead of
9226         explicit loop.
9227
9228         * sgml.C (openTag): fix order of arguments to string constructor
9229         (closeTag): ditto
9230
9231         * lyxfunc.C (dispatch): use boost.format
9232
9233         * lots of files: change "c" -> 'c'
9234
9235 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9236
9237         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9238
9239 2002-11-25  Angus Leeming  <leeming@lyx.org>
9240
9241         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9242
9243         * lyx_main.C (init): compile fix.
9244
9245 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9246
9247         * lyx_cb.C (start): boost.formatify
9248         do not include <iostream>
9249
9250         * lengthcommon.C: ws only
9251
9252         * boost-inst.C,BoostFormat.h: add more explict instantations
9253
9254 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9255
9256         * lots of files: handle USE_BOOST_FORMAT
9257
9258 2002-11-21  John Levon  <levon@movementarian.org>
9259
9260         * pspell.C: fix compile
9261
9262 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * lyxfunc.C (dispatch): use boost::format
9265         (open): ditto
9266         (doImport): ditto
9267
9268         * lyxfont.C (stateText): use boost::format
9269
9270         * lyx_main.C (LyX): use boost::format
9271         (init): ditto
9272         (queryUserLyXDir): ditto
9273         (readRcFile): ditto
9274         (parse_dbg): ditto
9275         (typedef boost::function): use the recommened syntax.
9276
9277         * importer.C (Import): use boost::format
9278
9279         * debug.C (showLevel): use boost::format
9280
9281         * converter.C (view): use boost::format
9282         (convert): ditto
9283         (move): ditto
9284         (scanLog): ditto
9285
9286         * bufferview_funcs.C (currentState): use boost::format
9287
9288         * bufferlist.C (emergencyWrite): use boost::format
9289
9290         * buffer.C (readLyXformat2): use boost::format
9291         (parseSingleLyXformat2Token): ditto
9292
9293         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9294
9295         * LaTeX.C (run): use boost::format
9296
9297         * Chktex.C (scanLogFile): use boost::format
9298
9299         * BufferView_pimpl.C (savePosition): use boost::format
9300         (restorePosition): ditto
9301         (MenuInsertLyXFile): ditto
9302
9303         * BoostFormat.h: help file for explicit instation.
9304
9305 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9306
9307         * tabular.C (latex): Support for block alignment in fixed width
9308         columns.
9309
9310 2002-11-17  John Levon  <levon@movementarian.org>
9311
9312         * BufferView_pimpl.C:
9313         * lyx_cb.C:
9314         * lyxfunc.C: split filedialog into open/save
9315
9316 2002-11-08  Juergen Vigna  <jug@sad.it>
9317
9318         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9319         by my last patch (hopefully).
9320
9321 2002-11-08  John Levon  <levon@movementarian.org>
9322
9323         * iterators.h:
9324         * iterators.C:
9325         * buffer.h:
9326         * buffer.C:
9327         * paragraph.h:
9328         * paragraph.C:
9329         * toc.h:
9330         * toc.C: ParConstIterator, and use it (from Lars)
9331
9332 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9333
9334         * lyxtextclass.[Ch]: revise and add doxygen comments
9335
9336 2002-11-07  John Levon  <levon@movementarian.org>
9337
9338         * text.C: fix progress value for spellchecker
9339
9340         * toc.C: fix navigate menu for insetwrap inside minipage
9341
9342         * paragraph_funcs.C: added FIXME for suspect code
9343
9344 2002-11-07  John Levon  <levon@movementarian.org>
9345
9346         * BufferView_pimpl.C: fix redrawing of insets
9347           on buffer switch
9348
9349 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9350
9351         * text2.C (updateCounters): fix bug 668
9352
9353 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9354
9355         * text3.C (dispatch): Do not make the buffer dirty when moving the
9356         cursor.
9357
9358 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9359
9360         * vc-backend.C: STRCONV
9361         (scanMaster): ditto
9362
9363         * text2.C (setCounter): STRCONV
9364
9365         * paragraph.C (asString): STRCONV
9366
9367         * lyxlength.C (asString): STRCONV
9368         (asLatexString): ditto
9369
9370         * lyxgluelength.C (asString): STRCONV
9371         (asLatexString): ditto
9372
9373         * lyxfunc.C (dispatch): STRCONV
9374         (open): ditto
9375
9376         * lyxfont.C (stateText): STRCONV
9377
9378         * importer.C (Import): STRCONV
9379
9380         * counters.C (labelItem): STRCONV
9381         (numberLabel): ditto
9382         (numberLabel): remove unused ostringstream o
9383
9384         * chset.C: STRCONV
9385         (loadFile): ditto
9386
9387         * bufferview_funcs.C (currentState): STRCONV
9388
9389         * buffer.C (readFile): STRCONV
9390         (asciiParagraph): ditto
9391         (makeLaTeXFile): ditto
9392
9393         * Spacing.C (writeEnvirBegin): STRCONV
9394
9395         * LaTeXFeatures.C (getLanguages): STRCONV
9396         (getPackages): ditto
9397         (getMacros): ditto
9398         (getBabelOptions): ditto
9399         (getTClassPreamble): ditto
9400         (getLyXSGMLEntities): ditto
9401         (getIncludedFiles): ditto
9402
9403         * LaTeX.C: STRCONV
9404         (run): ditto
9405         (scanAuxFile): ditto
9406         (deplog): ditto
9407
9408         * LString.h: add the STRCONV macros
9409
9410         * BufferView_pimpl.C (savePosition): STRCONV
9411         (restorePosition): ditto
9412         (MenuInsertLyXFile): ditto
9413
9414         * vc-backend.C (scanMaster): change from submatch[...] to
9415         submatch.str(...)
9416
9417         * funcrequest.C: include config.h
9418
9419         * factory.C: include config.h
9420
9421         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9422
9423         * box.C: include config.h
9424
9425         * LaTeX.C (scanAuxFile): change from submatch[...] to
9426         submatch.str(...)
9427         (deplog): ditto
9428
9429 2002-10-25  Angus Leeming  <leeming@lyx.org>
9430
9431         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9432
9433         * ispell.[Ch] (setError): new method.
9434         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9435         Use setError() insetead of goto END.
9436
9437         * lyx_cb.C (AutoSave): move out child process into new class
9438         AutoSaveBuffer.
9439
9440 2002-10-30  John Levon  <levon@movementarian.org>
9441
9442         * text3.C: make start appendix undoable
9443
9444 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9445
9446         * lyxlength.C (inPixels): Fix returned value.
9447
9448         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9449         environment.
9450
9451 2002-10-24  Angus Leeming  <leeming@lyx.org>
9452
9453         * lyxgluelength.h: no need to forward declare BufferParams
9454         or BufferView, so don't.
9455
9456 2002-10-21  John Levon  <levon@movementarian.org>
9457
9458         * BufferView.C: menuUndo ->undo, redo
9459
9460         * BufferView.h: document, remove dead, make some methods private
9461
9462         * paragraph_funcs.h:
9463         * paragraph_funcs.C:
9464         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9465
9466         * buffer.h:
9467         * buffer.C:
9468         * sgml.h:
9469         * sgml.C: move sgml open/close tag into sgml.C
9470
9471         * bufferview_funcs.h: unused prototype
9472
9473         * lyxfunc.h:
9474         * lyxfunc.C: remove unused
9475
9476         * lyxtext.h:
9477         * text.C: remove unused
9478
9479 2002-10-21  John Levon  <levon@movementarian.org>
9480
9481         * BufferView.h:
9482         * BufferView.C:
9483         * BufferView_pimpl.h:
9484         * BufferView_pimpl.C: fix mouse wheel handling based on
9485           patch from Darren Freeman
9486
9487 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9488
9489         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9490
9491 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9492
9493         * lyxlength.C (inPixels): Fix hanfling of negative length.
9494         Fix LyXLength::MU case.
9495
9496 2002-10-16  John Levon  <levon@movementarian.org>
9497
9498         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9499
9500 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9501
9502         * converter.C (view): add support for $$i (file name) and $$p
9503         (file path) for the viewer command. If $$i is not specified, then
9504         it is appended to the command (for compatibility with old syntax)
9505
9506 2002-10-14  Juergen Vigna  <jug@sad.it>
9507
9508         * undo_funcs.C (textHandleUndo): alter the order in which the
9509         new undopar is added to the LyXText, as we have to set first
9510         the right prev/next and then add it as otherwise the rebuild of
9511         LyXText is not correct. Also reset the cursor to the right paragraph,
9512         with this IMO we could remove the hack in "redoParagraphs()".
9513
9514 2002-10-09  Angus Leeming  <leeming@lyx.org>
9515
9516         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9517         to turn off an optimisation if a new inset is to be inserted.
9518
9519 2002-10-11 André Pönitz <poenitz@gmx.net>
9520
9521         * lyxtext.h: make some functions public to allow access
9522         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9523
9524 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9525
9526         * text3.C (dispatch): when changing layout, avoid an infinite loop
9527         [bug #652]
9528
9529 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9530
9531         * lyxrc.C (read): treat a viewer or converter command of "none" as
9532         if it were empty.
9533
9534         * MenuBackend.C (expandFormats): for an update, also allow the
9535         formats that are not viewable
9536
9537         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9538         script if it is newer than the lyxrc.defaults in user directory
9539
9540 2002-10-07 André Pönitz <poenitz@gmx.net>
9541
9542         * text.C: Vitaly Lipatov's small i18n fix
9543
9544 2002-09-25  Angus Leeming  <leeming@lyx.org>
9545
9546         * ispell.h: doxygen fix.
9547
9548 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9549
9550         * buffer.h (readFile): Add a new argument to the method, to allow
9551         reading of old-format templates.
9552
9553 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9554
9555         * toc.C (getTocList): Get TOC from InsetWrap.
9556
9557 2002-09-16  John Levon  <levon@movementarian.org>
9558
9559         * lyxfunc.C: check tabular for cut/copy too
9560
9561 2002-09-12  John Levon  <levon@movementarian.org>
9562
9563         * LyXAction.C: tidy
9564
9565         * factory.h:
9566         * factory.C: add header
9567
9568         * paragraph_funcs.h:
9569         * paragraph_funcs.C: cleanup
9570
9571 2002-09-11  John Levon  <levon@movementarian.org>
9572
9573         * PrinterParams.h: odd/even default to true
9574
9575 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9576
9577         * PrinterParams.h: update printer parameters for new xforms dialog
9578
9579 2002-09-11  Angus Leeming  <leeming@lyx.org>
9580
9581         * lyxserver.C (read_ready): re-write to make it more transparent
9582         and to make it work in coherent fashion under Tru64 Unix.
9583
9584 2002-09-11  André Pönitz <poenitz@gmx.net>
9585
9586         * commandtags.h:
9587         * LyXAction.C:
9588         * text3.C: implement LFUN_WORDSEL
9589
9590 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9591
9592         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9593         make floatlist_ a boost::shared_ptr<FloatList>
9594
9595         * lyxtextclass.C: include FloatList.h
9596         (LyXTextClass): initialize floatlist_
9597         (TextClassTags): add TC_NOFLOAT
9598         (Read): match "nofloat" to TC_NOFLOAT and use it.
9599         (readFloat): modify call to floatlist_
9600         (floats): ditto
9601         (floats): ditto
9602
9603         * FloatList.[Ch] (FloatList): remove commented out float
9604         initialization.
9605         (erase): new function
9606
9607 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9608
9609         * MenuBackend.C (expandToc): fix crash when there is no document
9610         open
9611
9612 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9613
9614         * many files: Add insetwrap.
9615
9616 2002-09-09  John Levon  <levon@movementarian.org>
9617
9618         * text2.C: remove confusing and awkward depth wraparound
9619
9620 2002-09-09  John Levon  <levon@movementarian.org>
9621
9622         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9623
9624         * buffer.h:
9625         * buffer.C: remove getIncludeonlyList()
9626
9627         * paragraph.C:
9628         * lyxfunc.C: remove headers
9629
9630 2002-09-09  Juergen Vigna  <jug@sad.it>
9631
9632         * text.C (getColumnNearX): fix form Michael this is most
9633         probably a cut&paste bug.
9634
9635 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9636
9637         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9638
9639         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9640         references, ws changes.
9641
9642         * text2.C (init): update counters after init
9643         (insertParagraph): no need to set counter on idividual paragraphs.
9644         (setCounter): access the counters object in the textclass object
9645         on in the buffer object.
9646         (updateCounters): ditto
9647
9648         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9649         shared_ptr<Counters> to avoid loading counters.h in all
9650         compilation units.
9651         (LyXTextClass): initialize ctrs_
9652         (TextClassTags): add TC_COUNTER, and ...
9653         (Read): use it here.
9654         (CounterTags): new tags
9655         (readCounter): new function
9656         (counters): new funtion
9657         (defaultLayoutName): return a const reference
9658
9659         * counters.C (Counters): remove contructor
9660         (newCounter): remove a couple of unneeded statements.
9661         (newCounter): simplify a bit.
9662         (numberLabel): some small formatting changes.
9663
9664         * buffer.[Ch]: remove all traces of counters, move the Counters
9665         object to the LyXTextClass.
9666
9667 2002-09-06  Alain Castera  <castera@in2p3.fr>
9668
9669         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9670         package to set the horizontal alignment on fixed width columns.
9671
9672         * lyx_sty.C:
9673         * lyx_sty.h: added tabularnewline macro def.
9674
9675         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9676
9677 2002-09-06  John Levon  <levon@movementarian.org>
9678
9679         * LyXAction.C: tooltips for sub/superscript
9680
9681         * MenuBackend.C: a bit more verbose
9682
9683         * lyxfunc.C: tiny clean
9684
9685         * undo_funcs.C: document undo_frozen
9686
9687 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9688
9689         * counters.C (Counters): add missing algorithm counter.
9690
9691         * text2.C (setCounter): lookup the counter with layouts latexname
9692         instead of by section number.
9693         (setCounter): use a hackish way to lookup the correct enum
9694         counter.
9695         a float name->type change
9696         reset enum couners with counter name directly instead of depth value.
9697
9698         * counters.C (Counters): remove the push_backs, change to use the
9699         float type not the float name.
9700         (labelItem): remove unused string, float name->type change
9701
9702         * counters.h: don't include vector, loose the enums and sects vectors
9703
9704 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9705
9706         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9707         (Read): add float->TC_FLOAT to textclassTags
9708         (Read): and handle it in the switch
9709         (readFloat): new function
9710
9711         * FloatList.C (FloatList): comment out the hardcoded float
9712         definitions.
9713
9714         * lyxlayout.h: ws change.
9715
9716 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9717
9718         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9719
9720 2002-09-03  Angus Leeming  <leeming@lyx.org>
9721
9722         * BufferView_pimpl.h: qualified name is not allowed in member
9723         declaration: WorkArea & Pimpl::workarea() const;
9724
9725         * factory.C: added using std::endl directive.
9726
9727         * text3.C: added using std::find and std::vector directives.
9728
9729 2002-08-29  André Pönitz <poenitz@gmx.net>
9730
9731         * lyxtext.h:
9732         * text2.C: remove unused member number_of_rows
9733
9734         * Makefile.am:
9735         * BufferView2.C: remove file, move contents to...
9736         * BufferView.C: ... here
9737
9738         * BufferView_pimpl.C:
9739         * factory.C: move more inset creation to factory
9740
9741         * vspace.C: avoid direct usage of LyXText, ws changes
9742
9743         * BufferView.[Ch]:
9744                 don't provide direct access to WorkArea, use two simple
9745                 acessors haveSelction() and workHeight() instead
9746
9747
9748 2002-08-29  John Levon  <levon@movementarian.org>
9749
9750         * BufferView_pimpl.C (dispatch): do not continue when
9751           no buffer
9752
9753 2002-08-28  André Pönitz <poenitz@gmx.net>
9754
9755         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9756
9757         * BufferView.h:
9758         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9759
9760 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9761
9762         * buffer.C: increment LYX_FORMAT to 221
9763
9764         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9765         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9766
9767         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9768
9769         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9770
9771 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * factory.C (createInset): use LyXTextClass::floats
9774
9775         * MenuBackend.C (expandFloatListInsert):
9776         (expandFloatInsert):
9777         (expandToc):
9778
9779         * text2.C (setCounter):
9780
9781         * LaTeXFeatures.C (useFloat):
9782         (getFloatDefinitions):
9783
9784         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9785
9786         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9787         floatlist_, with accessor floats().
9788
9789         * FloatList.h: remove global FloatList
9790
9791 2002-08-26  André Pönitz <poenitz@gmx.net>
9792
9793         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9794
9795         * BufferView.h:
9796         * BufferView2.C:
9797         * BufferView_pimpl.C:
9798         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9799
9800 2002-08-25  John Levon  <levon@movementarian.org>
9801
9802         * LyXAction.C: fix margin note description
9803
9804 2002-08-24  John Levon  <levon@movementarian.org>
9805
9806         * buffer.C:
9807         * bufferlist.C:
9808         * bufferview_funcs.C:
9809         * lyxfont.C:
9810         * undo_funcs.C: cleanups
9811
9812         * lyxfunc.C: disable CUT/COPY when no selection
9813
9814 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9815
9816         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9817         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9818
9819         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9820         Add backward compatibility to "mono", "gray" and "no".
9821
9822 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9823
9824         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9825         (and file_format >= 200).
9826
9827 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9830
9831 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9832
9833         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9834
9835 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9836
9837         * BufferView_pimpl.C:
9838         * LyXAction.C:
9839         * buffer.C:
9840         * commandtags.h:
9841         * lyxfunc.C:
9842         * paragraph.[Ch]:
9843         * text2.C:
9844         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9845         inset and code to make it  work with the paragraph code. The inset
9846         can be anywhere in the paragraph, but will only do the expected
9847         thing in LaTeX if the layout file contains the parameter line
9848                         OptionalArgs    1
9849         (or more generally, a nonzero value) for that layout.
9850
9851 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9852
9853         * paragraph.h: remove the declaration of undefined counters class
9854         function.
9855
9856 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9857
9858         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9859         Dr. Richard Hawkins.
9860
9861 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9862
9863         * paragraph_funcs.h: remove some unneeded includes
9864
9865         * text.C (backspace): pasteParagraph now in global scipe
9866
9867         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9868         (pasteSelection): ditto
9869
9870         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9871         * paragraph_funcs.C (pasteParagraph): ... here
9872
9873 2002-08-20  André Pönitz <poenitz@gmx.net>
9874
9875         * commandtags.h: new LFUNs for swapping/copying table row/colums
9876
9877         * LyXAction.C:
9878         * lyxfunc.C: support for new lfuns
9879
9880 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9881
9882         * tabular.C:
9883         * buffer.[Ch]: remove NO_COMPABILITY stuff
9884
9885 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9886
9887         * boost.C (throw_exception): new file, with helper function for
9888         boost compiled without exceptions.
9889
9890         * paragraph.h:
9891         * lyxlength.C:
9892         * buffer.C:
9893         * ParameterStruct.h:
9894         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9895
9896         * bufferlist.C (emergencyWriteAll): use boost bind
9897
9898         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9899
9900         * text.C: include paragraph_funcs.h
9901         (breakParagraph): breakParagraph is now in global scope
9902
9903         * paragraph_funcs.[Ch]: new files
9904
9905         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9906         global scope
9907
9908         * buffer.C: include paragraph_funcs.h
9909         (insertStringAsLines): breakParagraph is now in global scope
9910
9911         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9912         paragraph_funcs.C
9913
9914         * CutAndPaste.C: include paragraph_funcs.h
9915         (cutSelection): breakParagraphConservative is now in global scope
9916         (pasteSelection): ditto
9917
9918         * buffer.h: declare oprator== and operator!= for
9919         Buffer::inset_iterator
9920
9921         * bufferlist.C (emergencyWrite): don't use fmt(...)
9922
9923         * text3.C: add using std::endl
9924
9925         * BufferView.C (moveCursorUpdate): remove default arg
9926
9927 2002-08-20  André Pönitz <poenitz@gmx.net>
9928
9929         * buffer.[Ch]: move inline functions to .C
9930
9931         * BufferView2.C:
9932         * BufferView_pimpl.C:
9933         * text.C:
9934         * buffer.[Ch]: use improved inset_iterator
9935
9936         * buffer.C:
9937         * paragraph.[Ch]: write one paragraph at a time
9938
9939 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9940
9941         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9942         style if style is not specified.
9943
9944 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9945
9946         * text2.C (setCounter): when searching for right label for a
9947         caption, make sure to recurse to parent insets (so that a caption
9948         in a minipage in a figure float works) (bug #568)
9949
9950 2002-08-20  André Pönitz <poenitz@gmx.net>
9951
9952         * text3.C: new file for LyXText::dispatch() and helpers
9953
9954         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9955
9956         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9957
9958 2002-08-19  André Pönitz <poenitz@gmx.net>
9959
9960         * lyxtext.h:
9961         * text.C: new LyXText::dispatch()
9962
9963         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9964
9965 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9966
9967         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9968
9969         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9970         Hebrew text.
9971
9972 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9973
9974         * Makefile.am: use $(variables) instead of @substitutions@
9975
9976 2002-08-15  André Pönitz <poenitz@gmx.net>
9977
9978         * lyxfunc.C:
9979         * BufferView_pimpl.C: streamlining mathed <-> outer world
9980         interaction
9981
9982         * commandtags.h:
9983         * LyXAction.C: remove unused LFUN_MATH
9984
9985 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9986
9987         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9988
9989 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9990
9991         * paragraph.C (Paragraph): reformat a bit
9992         (cutIntoMinibuffer): use builtin InsetList function instad of
9993         doing it manually.
9994         (getInset): ditto
9995
9996         * buffer.C: include boost/bind.hpp, add using std::for_each
9997         (writeFileAscii): use ParagraphList iterators
9998         (validate): use for_each for validate traversal of paragraphs
9999         (getBibkeyList): use ParagraphList iterators
10000         (resizeInsets): use for_each to resizeInsetsLyXText for all
10001         paragraphs.
10002         (getParFromID): use ParagraphList iterators
10003
10004         * BufferView2.C (lockInset): use paragraph list and iterators
10005
10006 2002-08-14  John Levon  <levon@movementarian.org>
10007
10008         * lyxserver.C: remove spurious xforms include
10009
10010 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10011
10012         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10013
10014 2002-08-13  André Pönitz <poenitz@gmx.net>
10015
10016         * LyXAction.[Ch]:
10017         * lyxfunc.C: further cleaning
10018
10019 2002-08-13  André Pönitz <poenitz@gmx.net>
10020
10021         * funcrequest.h: new constructor
10022
10023         * funcrequest.C: move stuff here from .h
10024
10025         * Makefile.am:
10026         * BufferView_pimpl.C:
10027         * LyXAction.C:
10028         * toc.C:
10029         * lyxfunc.C: subsequent changes
10030
10031         * lyxfunc.h: new view() member function
10032
10033         * lyxfunc.C: subsequent changes
10034
10035 2002-08-13  Angus Leeming  <leeming@lyx.org>
10036
10037         * BufferView2.C:
10038         * BufferView_pimpl.C:
10039         * buffer.C:
10040         * converter.C:
10041         * importer.C:
10042         * lyxfunc.C:
10043         * lyxvc.C:
10044         * toc.C:
10045         * vc-backend.C:
10046         changes due to the changed LyXView interface that now returns references
10047         to member variables not pointers.
10048
10049 2002-08-13  Angus Leeming  <leeming@lyx.org>
10050
10051         * WordLangTuple (word, lang_code): return references to strings,
10052         not strings.
10053
10054         * BufferView.h:
10055         * SpellBase.h:
10056         * lyxtext.h: forward-declare WordLangTuple.
10057
10058         * BufferView2.C:
10059         * ispell.C:
10060         * pspell.C:
10061         * text.C: #include "WordLangTuple.h".
10062
10063         * lyxtext.h:
10064         * text.C: (selectNextWordToSpellcheck): constify return type.
10065
10066 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10067
10068         * buffer.C:
10069         * buffer.h:
10070         * lyxtext.h:
10071         * paragraph.C:
10072         * paragraph_pimpl.h:
10073         * text.C:
10074         * text2.C:
10075         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10076         suggested by Angus.
10077         Made updateCounter always count from start of buffer, and removed
10078         second argument (par).
10079         Reverted floats number display to '#'. Perhaps I'll try again when the
10080         code base is sanitized a bit.
10081
10082 2002-08-12  Angus Leeming  <leeming@lyx.org>
10083
10084         * buffer.[Ch] (getLabelList): constify.
10085
10086 2002-08-07  André Pönitz <poenitz@gmx.net>
10087
10088         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10089
10090         * funcrequest.h: extension to keep mouse (x,y) position
10091
10092 2002-08-12  Juergen Vigna  <jug@sad.it>
10093
10094         * BufferView2.C (insertErrors): forbid undo when inserting error
10095         insets.
10096
10097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10098
10099 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10100
10101         * ParagraphList.[Ch]: new files
10102
10103         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10104
10105         * BufferView2.C (lockInset): ParagraphList changes
10106         * toc.C: ditto
10107         * text2.C: ditto
10108         * bufferlist.C: ditto
10109         * buffer.h: ditto
10110         * buffer.C: ditto
10111
10112 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10113
10114         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10115         unused class variable counter_,
10116
10117         * paragraph.[Ch] (getFirstCounter): delete unused function
10118
10119         * counters.C: include LAssert.h
10120         (reset): add a new function with no arg, change other version to
10121         not have def. arg and to not allow empty arg.
10122
10123         * text2.C (setCounter): remove empty arg from call to Counters::reset
10124
10125 2002-08-11  John Levon  <levon@movementarian.org>
10126
10127         * Makefile.am: add WordLangTuple.h
10128
10129 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10130
10131         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10132         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10133
10134         * insets/insettext.C: InsetList changes
10135
10136         * graphics/GraphicsSupport.C (operator()): InsetList changes
10137
10138         * toc.C (getTocList): InsetList changes
10139
10140         * paragraph_pimpl.[Ch]: InsetList changes
10141
10142         * paragraph.[Ch]: InsetList changes
10143
10144         * buffer.C (inset_iterator): InsetList changes
10145         (setParagraph): ditto
10146         * buffer.h (inset_iterator): ditto
10147         * iterators.C (operator++): ditto
10148         * iterators.h: ditto
10149
10150         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10151
10152         * InsetList.[Ch]: new files, most InsetList handling moved out of
10153         paragraph.C.
10154
10155         * BufferView2.C (removeAutoInsets): InsetList changes
10156         (lockInset): ditto
10157         (ChangeInsets): ditto
10158
10159 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10160
10161         * paragraph_pimpl.h (empty): new function
10162
10163         * paragraph.[Ch] (empty): new function
10164
10165         * other files: use the new Paragraph::empty function
10166
10167 2002-08-09  John Levon  <levon@movementarian.org>
10168
10169         * lyxtext.h: remove unused refresh_height
10170
10171 2002-08-09  John Levon  <levon@movementarian.org>
10172
10173         * Makefile.am:
10174         * sgml.h:
10175         * sgml.C:
10176         * buffer.C:
10177         * paragraph.h:
10178         * paragraph.C: move sgml char escaping out of paragraph
10179
10180         * paragraph.h:
10181         * paragraph.C: remove id setter
10182
10183         * buffer.C:
10184         * paragraph.C:
10185         * paragraph_pimpl.C: remove dead tex_code_break_column
10186
10187         * bufferview_funcs.C: small cleanup
10188
10189         * lyxfunc.C: remove dead proto
10190
10191         * lyxtext.h: make some stuff private. Remove some dead stuff.
10192
10193         * lyxgluelength.C: make as[LyX]String() readable
10194
10195 2002-08-08  John Levon  <levon@movementarian.org>
10196
10197         * LyXAction.h:
10198         * LyXAction.C:
10199         * MenuBackend.C:
10200         * ToolbarDefaults.C:
10201         * lyxfunc.C:
10202         * lyxrc.C:
10203         * toc.C: lyxaction cleanup
10204
10205 2002-08-08  John Levon  <levon@movementarian.org>
10206
10207         * BufferView2.C: small cleanup
10208
10209         * lyxfind.h:
10210         * lyxfind.C: move unnecessary header into the .C
10211
10212 2002-08-08  John Levon  <levon@movementarian.org>
10213
10214         * funcrequest.h: just tedious nonsense
10215
10216         * lyx_main.h:
10217         * lyx_main.C: cleanups
10218
10219         * buffer.C:
10220         * vspace.C: remove dead header lyx_main.h
10221
10222 2002-08-07  Angus Leeming  <leeming@lyx.org>
10223
10224         * Paragraph.[Ch]:
10225         * paragraph_pimpl.h:
10226         Forward declare class Counters in paragraph.h by moving the ctrs member
10227         variable into Paragraph::Pimpl.
10228         (counters): new method, returning a reference to pimpl_->ctrs.
10229
10230         * text2.C: ensuing changes.
10231
10232 2002-08-07  John Levon  <levon@movementarian.org>
10233
10234         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10235
10236         * BufferView_pimpl.C: announce X selection on double/triple
10237           click
10238
10239         * lyx_main.C: use correct bool in batch dispatch
10240
10241         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10242
10243 2002-08-07  André Pönitz <poenitz@gmx.net>
10244
10245         * funcrequest.h: new class to wrap a kb_action and its argument
10246
10247         * BufferView.[Ch]:
10248         * BufferView_pimpl[Ch]:
10249         * LaTeX.C:
10250         * LyXAction.[Ch]:
10251         * lyxfunc.[Ch]:
10252         * lyxrc.C: subsequent changes
10253
10254
10255 2002-08-07  John Levon  <levon@movementarian.org>
10256
10257         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10258           document options change.
10259
10260 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10261
10262         * counters.[Ch]
10263         * text2.C
10264         * paragraph.[Ch]
10265         * makefile.am: move counters functionality over from
10266         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10267
10268 2002-08-06  John Levon  <levon@movementarian.org>
10269
10270         * WordLangTuple.h: new file for word + language code tuple
10271
10272         * SpellBase.h:
10273         * pspell.h:
10274         * pspell.C:
10275         * ispell.h:
10276         * ispell.C:
10277         * lyxtext.h:
10278         * text.C:
10279         * text2.C:
10280         * BufferView.h:
10281         * BufferView2.C: use WordLangTuple
10282
10283         * layout.h:
10284         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10285
10286 2002-08-06  John Levon  <levon@movementarian.org>
10287
10288         * lyx_main.C: fix cmdline batch handling
10289
10290 2002-08-06  André Pönitz <poenitz@gmx.net>
10291
10292         * lyxrc.C: set default for show_banner to true
10293
10294 2002-08-06  John Levon  <levon@movementarian.org>
10295
10296         * pspell.C: fix a crash, and allow new aspell to work
10297
10298 2002-08-06  John Levon  <levon@movementarian.org>
10299
10300         * lyxfunc.C:
10301         * kbmap.C: small cleanup
10302
10303         * vspace.h:
10304         * vspace.C: add const
10305
10306 2002-08-05  John Levon  <levon@movementarian.org>
10307
10308         * LyXAction.C: back to tabular-insert
10309
10310 2002-08-04  John Levon  <levon@movementarian.org>
10311
10312         * BufferView.h:
10313         * BufferView.C: cosmetic change
10314
10315         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10316
10317         * bufferlist.C:
10318         * buffer.h:
10319         * buffer.C:
10320         * lyxcb.h:
10321         * lyxcb.C:
10322         * lyxserver.C:
10323         * lyxvc.C:
10324         * vc-backend.C:
10325         * BufferView2.C: purge all "Lyx" not "LyX" strings
10326
10327         * lyxcursor.h:
10328         * lyxcursor.C: attempt to add some documentation
10329
10330         * lyxfunc.C:
10331         * commandtags.h:
10332         * LyXAction.C:
10333         * ToolbarDefaults.C:
10334         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10335           merge with LFUN_TABULAR_INSERT
10336
10337         * Makefile.am:
10338         * SpellBase.h:
10339         * ispell.h:
10340         * ispell.C:
10341         * pspell.h:
10342         * pspell.C: split up i/pspell implementations into separate
10343           files, many cleanups
10344
10345         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10346
10347         * text2.C: some cleanup
10348
10349         * lyxfunc.C: don't check for isp_command == "none" any more, it
10350           didn't make any sense
10351
10352 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10353
10354         * counters.[Ch]
10355         * text2.C
10356         * paragraph.[Ch]
10357         * makefile.am: move counters functionality over
10358         from text2.C/paragraph.[Ch] to counters.[Ch], and
10359         make proper C++.
10360 2002-08-02  John Levon  <levon@movementarian.org>
10361
10362         * buffer.C: s/lyxconvert/lyx2lyx/
10363
10364 2002-08-02  Angus Leeming  <leeming@lyx.org>
10365
10366         * lyxlex.C: revert John's change as it breaks reading of the user
10367         preamble.
10368
10369 2002-08-02  Angus Leeming  <leeming@lyx.org>
10370
10371         * importer.C (Import):
10372         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10373         changes due to LyXView::view() now returning a boost::shared_ptr.
10374
10375 2002-08-02  John Levon  <levon@movementarian.org>
10376
10377         * lyxlex.C: small cleanup
10378
10379 2002-08-02  John Levon  <levon@movementarian.org>
10380
10381         * text2.C (status): small cleanup, no logic change
10382
10383 2002-08-01  John Levon  <levon@movementarian.org>
10384
10385         * buffer.h:
10386         * buffer.C (writeFile): don't output alerts, caller
10387           handles this
10388
10389         * bufferlist.C:
10390         * lyx_cb.C: from above
10391
10392         * lyxfunc.C: allow to open non-existent files
10393
10394 2002-07-31  John Levon  <levon@movementarian.org>
10395
10396         * lyxserver.C: don't let incidental errors get
10397           in the way (errno)
10398
10399 2002-07-30  John Levon  <levon@movementarian.org>
10400
10401         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10402
10403 2002-07-30  John Levon  <levon@movementarian.org>
10404
10405         * lyxserver.h:
10406         * lyxserver.C: remove I/O callback too
10407
10408 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10409
10410         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10411         log.
10412
10413 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10414
10415         * many files: strip,frontStrip -> trim,ltrim,rtrim
10416
10417 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10418
10419         * PrinterParams.h: remove extern containsOnly, and include
10420         support/lstrings.h instead.
10421
10422         * LaTeX.C (scanAuxFile): modify because of strip changes
10423         (deplog): ditto
10424         * buffer.C (makeLaTeXFile): ditto
10425         * bufferparams.C (writeFile): ditt
10426         * lyxfont.C (stateText): ditto
10427         * lyxserver.C (read_ready): ditto
10428         * vc-backend.C (scanMaster): ditto
10429
10430         * BufferView_pimpl.h: ws changes
10431
10432         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10433
10434 2002-07-26  André Pönitz <poenitz@gmx.net>
10435
10436         * kb_sequence.C: remove unnedred usings
10437
10438 2002-07-26  Juergen Vigna  <jug@sad.it>
10439
10440         * lyxfind.C (LyXReplace): we have to check better if the returned
10441         text is not of theLockingInset()->getLockingInset().
10442
10443 2002-07-25  Juergen Vigna  <jug@sad.it>
10444
10445         * lyxfind.C (LyXReplace): don't replace if we don't get the
10446         right LyXText.
10447
10448         * undo_funcs.C (createUndo): remove debugging code.
10449
10450 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10451
10452         * buffer.C (parseSingleLyXformat2Token): Use default placement
10453         when reading old floats.
10454
10455         * FloatList.C (FloatList): Change the default placement of figure
10456         and tables to "tbp".
10457
10458 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10459
10460         * MenuBackend.C: using std::max
10461
10462 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10463
10464         * MenuBackend.C (expandToc):
10465         (expandToc2): code moved from xforms menu frontend. It is now
10466         generic and TOCs are transparent to menu frontends.
10467
10468 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * toc.C (getTocList): protect against buf=0
10471
10472         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10473         Menu as first parameter. Now, this calls itself recursively to
10474         expand a whole tree (this will be useful for TOC handling)
10475         (expandFloatInsert): remove 'wide' version of floats
10476
10477         * MenuBackend.h (submenuname): returns the name of the submenu.
10478         (submenu): returns the submenu itself, provided it has been
10479         created by MenuBackend::expand
10480
10481 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10482
10483         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10484         insets which have noFontChange == true. (bug #172)
10485
10486 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10487
10488         * BufferView_pimpl.C: add connection objects and use them...
10489         (Pimpl): here.
10490
10491 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10492
10493         * MenuBackend.C (expandLastfiles):
10494         (expandDocuments):
10495         (expandFormats):
10496         (expandFloatListInsert):
10497         (expandFloatInsert):
10498         (expand): split expand in parts
10499
10500 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10501
10502         * lyx_gui.C: use lyx_gui::exit()
10503
10504 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * LyXAction.C: show the failing pseudo action
10507
10508 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10509
10510         * buffer.C (readFile): Run the lyxconvert script in order to read
10511         old files.
10512
10513 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * LyXAction.C:
10516         * commandtags.h:
10517         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10518
10519 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * LyXAction.C:
10522         * commandtags.h:
10523         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10524
10525 2002-07-22  Herbert Voss  <voss@lyx.org>
10526
10527         * lengthcommon.C:
10528         * lyxlength.[Ch]: add support for the vertical lengths
10529
10530 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * toc.[Ch]: std:: fixes
10533
10534 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10535
10536         * lyxrc.C: do not include lyx_main.h
10537
10538         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10539         for layouts
10540
10541         * lyxrc.C:
10542         * encoding.C:
10543         * bufferlist.C:
10544         * BufferView2.C: include "lyxlex.h"
10545
10546         * tabular.h:
10547         * bufferparams.h: do not #include "lyxlex.h"
10548
10549         * lyxtextclasslist.C (Add): remove method
10550         (classlist): renamed to classlist_
10551
10552         * paragraph_pimpl.C:
10553         * paragraph.C:
10554         * text2.C:
10555         * CutAndPaste.C:
10556         * bufferview_funcs.C:
10557         * bufferlist.C:
10558         * text.C:
10559         * LaTeXFeatures.C:
10560         * buffer.C:
10561         * toc.C (getTocList): use BufferParams::getLyXTextClass
10562
10563         * toc.C (getTocList): use InsetFloat::addToToc
10564
10565         * toc.[Ch]: new files, containing helper functions to handle table
10566         of contents
10567
10568         * lyxfunc.C (dispatch): no need to remove spaces around command
10569         given as a string
10570         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10571         first command of the sequence; it is not very clever, but I do not
10572         have a better idea, actually
10573
10574         * LyXAction.C (LookupFunc): make sure to remove space at the
10575         beginning and end of the command
10576
10577 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10578
10579         * MenuBackend.C (getMenubar): new method: return the menubar of
10580         this menu set
10581         (read): treat differently reading of menu and menubar (in
10582         particular, the menubar has no name now)
10583         (Menu::menubar): remove
10584
10585         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10586         saving is finished
10587
10588 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10589
10590         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10591         a bibitem inset in a RTL paragraph.
10592
10593 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * paragraph_pimpl.C: constify
10596
10597         * BufferView_pimpl.C:
10598         * LaTeX.C:
10599         * lyxfunc.C: fix dispatch in a nicer way
10600
10601 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10602
10603         * lyxfunc.C (dispatch):
10604         * BufferView_pimpl.C:
10605         * BufferView_pimpl.h:
10606         * BufferView.C:
10607         * BufferView.h: rename Dispatch() to dispatch()
10608
10609         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10610
10611         * lyxlayout.C (Read): honor DependsOn tag
10612
10613         * lyxlayout.[Ch] (depends_on): new method
10614
10615         * version.C.in: update lyx_docversion
10616
10617         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10618
10619         * paragraph.C (validate): remove from here...
10620         * paragraph_pimpl.C (validate): ... and move here
10621         (isTextAt): make it const
10622
10623         * buffer.C (getLists): ws cleanup
10624
10625 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * language.C (read): Use iso8859-1 encoding in latex_lang
10628         (this prevents LyX from crashing when using iso10646-1 encoding).
10629
10630 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10631
10632         * text2.C (toggleInset): if cursor is inside an inset, close the
10633         inset and leave cursor _after_ it
10634
10635 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10636
10637         * lyxfunc.C: move minibuffer completion handling out of here
10638
10639 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * BufferView_pimpl.C:
10642         * LaTeX.C: fix dispatch calls
10643
10644 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10645
10646         * text.C (drawChars): Fix Arabic text rendering.
10647
10648 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * LyXAction.C:
10651         * commandtags.h:
10652         * lyxfunc.C: remove message-push/pop
10653
10654         * lyxserver.C:
10655         * lyxfunc.h:
10656         * lyxfunc.C: rationalise some code by removing verboseDispatch
10657           in favour of a bool argument to dispatch()
10658
10659 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10660
10661         * lyx_main.C (init): make sure to read symlinks as absolute paths
10662
10663 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * lyxfunc.h:
10666         * lyxfunc.C: no need for commandshortcut to be a member
10667
10668 2002-07-15  André Pönitz <poenitz@gmx.net>
10669
10670         * converter.C: add support for $$s (scripts from lib/scripts dir)
10671         * lyx_main.C: white space
10672
10673 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * bufferlist.C:
10676         * lyxrc.h:
10677         * lyxrc.C: remove second exit confirmation
10678
10679 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * BufferView.h:
10682         * BufferView.C:
10683         * BufferView2.C:
10684         * BufferView_pimpl.h:
10685         * BufferView_pimpl.C:
10686         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10687
10688 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * MenuBackend.C (expand): add numeric shortcuts to document menu
10691
10692         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10693
10694 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * lyxfont.C (setLyXFamily):
10697         (setLyXSeries):
10698         (setLyXShape):
10699         (setLyXSize):
10700         (setLyXMisc):
10701         (lyxRead):
10702         * debug.C (value):
10703         * buffer.C (asciiParagraph): use ascii_lowercase
10704
10705 2002-07-15  Mike Fabian  <mfabian@suse.de>
10706
10707         * lyxlex_pimpl.C (search_kw):
10708         * lyxlex.C (getLongString):
10709         * converter.h (operator<):
10710         * converter.C (operator<):
10711         * buffer.C (parseSingleLyXformat2Token):
10712         (asciiParagraph):
10713         * ToolbarDefaults.C (read):
10714         * MenuBackend.C (checkShortcuts):
10715         (read):
10716         * LColor.C (getFromGUIName):
10717         (getFromLyXName): use the compare_ascii_no_case instead of
10718         compare_no_case, because in turkish, 'i' is not the lowercase
10719         version of 'I', and thus turkish locale breaks parsing of tags.
10720
10721 2002-07-16  Angus Leeming  <leeming@lyx.org>
10722
10723         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10724         now takes a Buffer const & argument.
10725
10726 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * BufferView.C (resize): check there's a buffer to resize
10729
10730 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * lyxfunc.C: remove dead code
10733
10734         * lyxserver.h:
10735         * lyxserver.C: use lyx_guii::set_read_callback
10736
10737 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10738
10739         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10740         an inset in a RTL paragraph.
10741
10742 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * lyxfunc.C: repaint after a font size update
10745
10746 2002-07-15  André Pönitz <poenitz@gmx.net>
10747
10748         * lyxlength.C: inBP should be able to return negative values
10749
10750 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * lyxfunc.C: use lyx_gui::update_fonts()
10753
10754 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * lyxfunc.C: use lyx_gui::update_color()
10757
10758 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * bufferlist.C:
10761         * lyxfunc.h:
10762         * lyxfunc.C:
10763         * lyxrc.h:
10764         * lyxrc.C: remove file->new asks for name option, and let
10765           buffer-new take an argument
10766
10767 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10768
10769         * BufferView_pimpl.C: remove unneeded extra repaint()
10770
10771 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * LyXAction.C: allow command-sequence with NoBuffer
10774
10775         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10776
10777 2002-07-10  Angus Leeming  <leeming@lyx.org>
10778
10779         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10780
10781 2002-07-09  Angus Leeming  <leeming@lyx.org>
10782
10783         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10784
10785 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * lengthcommon.h: whitespace
10788
10789         * lyxfunc.C: update scrollbar after goto paragraph
10790
10791         * lyxtext.h: factor out page break drawing, and fix it so
10792           page break/added space paints as selected nicely
10793
10794 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10795
10796         * BufferView_pimpl.C: add FIXMEs, clean up a little
10797
10798 2002-07-09  André Pönitz <poenitz@gmx.net>
10799
10800         * lyxfont.[Ch]: support for wasy symbols
10801
10802 2002-07-08  André Pönitz <poenitz@gmx.net>
10803
10804         * BufferView_pimpl.C: apply John's patch for #93.
10805
10806 2002-07-05  Angus Leeming  <leeming@lyx.org>
10807
10808         * BufferView_pimpl.C (buffer): generate previews if desired.
10809
10810         * LColor.h: add "preview" to the color enum.
10811
10812         * LColor.C (LColor): add a corresponding entry to the items array.
10813
10814         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10815         with this buffer.
10816
10817 2002-07-05  Angus Leeming  <leeming@lyx.org>
10818
10819         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10820         The body of the code is now in the method that is passed an ostream &
10821         rather than a file name.
10822         Pass an additional only_preamble parameter, useful for the forthcoming
10823         preview stuff.
10824
10825 2002-07-03  André Pönitz <poenitz@gmx.net>
10826
10827         * lyxfunc.C: simplify getStatus() a bit for math stuff
10828
10829 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10830
10831         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10832
10833 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * text.C (changeRegionCase): do not change case of all the
10836         document when region ends at paragraph end (bug #461)
10837
10838 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * paragraph.C (startTeXParParams):
10841         (endTeXParParams): add \protect when necessary
10842
10843 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10844
10845         * BufferView_pimpl.C (workAreaExpose): remove warning
10846
10847 2002-06-27  Angus Leeming  <leeming@lyx.org>
10848
10849         * Makefile.am: add lyxlayout_ptr_fwd.h.
10850
10851 2002-06-26  André Pönitz <poenitz@gmx.net>
10852
10853         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10854
10855 2002-06-25  Angus Leeming  <leeming@lyx.org>
10856
10857         * lyxfunc.C (dispatch): Comment out the call to
10858         grfx::GCache::changeDisplay. The method no longer exists now that the
10859         pixmap generation part of the graphics loader has been moved into
10860         InsetGraphics.
10861
10862 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10863
10864         * text2.C: layout as layout
10865
10866         * text.C: layout as layout
10867
10868         * tabular.C (OldFormatRead): layout as layout
10869
10870         * paragraph_pimpl.C (TeXDeeper): layout as layout
10871         (realizeFont): layout as layout
10872
10873         * paragraph.C (writeFile): layout as layout
10874         (validate): layout as layout
10875         (getFont): layout as layout
10876         (getLabelFont): layout as layout
10877         (getLayoutFont): layout as layout
10878         (breakParagraph): layout as layout
10879         (stripLeadingSpaces): layout as layout
10880         (getEndLabel): layout as layout
10881         (getMaxDepthAfter): layout as layout
10882         (applyLayout): layout as layout
10883         (TeXOnePar): layout as layout
10884         (simpleTeXOnePar): layout as layout
10885         (TeXEnvironment): layout as layout
10886         (layout): layout as layout
10887         (layout): layout as layout
10888
10889         * lyxtextclass.C (compare_name): new functor to work with
10890         shared_ptr, layout as layout
10891         (Read): layout as layout
10892         (hasLayout): layout as layout
10893         (operator): layout as layout
10894         (delete_layout): layout as layout
10895         (defaultLayout): layout as layout
10896
10897         * lyxlayout_ptr_fwd.h: new file
10898
10899         * lyxlayout.C (Read): layout as layout
10900
10901         * lyx_cb.C (MenuInsertLabel): layout as layout
10902
10903         * bufferlist.C (newFile): layout as layout
10904
10905         * buffer.C (readLyXformat2): layout as layout
10906         (parseSingleLyXformat2Token): layout as layout
10907         (insertStringAsLines): layout as layout
10908         (asciiParagraph): layout as layout
10909         (latexParagraphs): layout as layout
10910         (makeLinuxDocFile): layout as layout
10911         (simpleLinuxDocOnePar): layout as layout
10912         (makeDocBookFile): layout as layout
10913         (simpleDocBookOnePar): layout as layout
10914         (getLists): layout as layout
10915
10916         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10917
10918         * CutAndPaste.C (cutSelection): layout as layout
10919         (pasteSelection): layout as layout
10920         (SwitchLayoutsBetweenClasses): layout as layout
10921
10922         * BufferView_pimpl.C (Dispatch): layout as layout
10923         (smartQuote): layout as layout
10924
10925         * BufferView2.C (unlockInset): layout as layout
10926
10927 2002-06-24  André Pönitz <poenitz@gmx.net>
10928
10929         * lyxfunc.C: fix #487
10930
10931 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * lyxrc.h:
10934         * lyxrc.C:
10935         * lyxfunc.C: remove display_shortcuts, show_banner
10936
10937 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10938
10939         * Buffer_pimpl.C: oops, update on resize
10940
10941 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * buffer.C:
10944         * converter.C:
10945         * exporter.C:
10946         * lyxfunc.C:
10947         * BufferView.h:
10948         * BufferView.C: use repaint()
10949
10950         * BufferView_pimpl.h:
10951         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10952           as it's a clearer description. Remove superfluous
10953           redraws.
10954
10955 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10956
10957         * text.C: fix bug 488. Not ideal, but getting
10958           getWord() to work properly for the insets that
10959           matter is more difficult ...
10960
10961 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * BufferView_pimpl.C:
10964         * LyXAction.C:
10965         * commandtags.h:
10966         * lyxfunc.C: remove the six million index lyxfuncs to just
10967           one, and DTRT (bug 458)
10968
10969 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * BufferView.h:
10972         * BufferView.C:
10973         * BufferView_pimpl.h:
10974         * BufferView_pimpl.C: clean up resize() stuff,
10975           and unnecessary updateScreen()s
10976
10977 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * BufferView.h:
10980         * BufferView.C:
10981         * BufferView_pimpl.h:
10982         * BufferView_pimpl.C:
10983         * lyxfind.h:
10984         * lyxfind.C:
10985         * minibuffer.C: remove focus management of workarea,
10986           not needed. Use screen's greyOut()
10987
10988 2002-06-17  Herbert Voss  <voss@lyx.org>
10989
10990         * converter.C: (convert) do not post a message, when converting
10991         fails, let the calling function decide what to do in this case
10992
10993 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * lyxfunc.C: tidy up a little
10996
10997 2002-06-16    <alstrup@diku.dk>
10998
10999         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11000         Got rid of FORMS_H_LOCATION include. Now we are
11001         GUII.
11002
11003 2002-06-15  LyX Development team  <lyx@rilke>
11004
11005         * buffer.[Ch] (sgmlOpenTag):
11006         (sgmlCloseTag): Added support for avoiding pernicious mixed
11007         content. Return number of lines written.
11008
11009         (makeLinuxDocFile):
11010         (makeDocBookFile): Fixed calls to sgml*Tag.
11011         Simple white space clean.
11012
11013         (simpleDocBookOnePar): Simple white space clean.
11014
11015         * tabular.[Ch] (docBook): Renamed to docbook and got another
11016         argument to related with the pernicious mixed content.
11017
11018         (docbookRow): Fixed calls for docbook inset method.
11019
11020 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11021
11022         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11023         so it's X11 independent.
11024
11025         * kb*.[Ch]: ditto.
11026
11027         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11028
11029 2002-06-15  Lyx Development team  <lyx@electronia>
11030
11031         * intl.h: Renamed getTrans to getTransManager.
11032
11033 2002-06-14  Angus Leeming  <leeming@lyx.org>
11034
11035         * Makefile.am: nuke forgotten stl_string_fwd.h.
11036
11037 2002-06-12  Angus Leeming  <leeming@lyx.org>
11038
11039         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11040
11041 2002-06-13  Angus Leeming  <leeming@lyx.org>
11042
11043         * LaTeX.C:
11044         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11045
11046 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11047
11048         * kbmap.C (getiso): add support for cyrillic and greek
11049
11050 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11051
11052         * BufferView.h:
11053         * BufferView.C:
11054         * BufferView_pimpl.h:
11055         * BufferView_pimpl.C: move bogus scrolling logic
11056           to xforms
11057
11058 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * lyxfunc.C:
11061         * BufferView_pimpl.C: view->resize() change
11062
11063 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * BufferView_pimpl.C: topCursorVisible
11066           prototype change
11067
11068 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * Makefile.am:
11071         * lyx_gui.h:
11072         * lyx_gui.C: move to frontends/
11073
11074         * main.C:
11075         * lyx_main.h:
11076         * lyx_main.C: changes from above
11077
11078 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * intl.C:
11081         * intl.h:
11082         * kbmap.C:
11083         * kbsequence.C:
11084         * lyx_cb.C:
11085         * lyx_main.C: minor tidy
11086
11087 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * BufferView_pimpl.h:
11090         * BufferView_pimpl.C:
11091         * BufferView.h:
11092         * BufferView.C: make painter() const,
11093           remove dead code
11094
11095         * BufferView2.C: use screen() accessor
11096
11097         * lyx_main.h:
11098         * lyx_main.C: some minor cleanup
11099
11100 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11101
11102         * BufferView_pimpl.h:
11103         * BufferView_pimpl.C: remove enter/leaveView,
11104           use workHeight()
11105
11106 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * BufferView.h:
11109         * BufferView.C:
11110         * BufferView2.C:
11111         * BufferView_pimpl.h:
11112         * BufferView_pimpl.C: only construct screen once,
11113           rename
11114
11115         * lyxrc.C: remove pointless comment
11116
11117 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * BufferView.h:
11120         * BufferView.C: remove active() and belowMouse()
11121
11122         * BufferView_pimpl.h:
11123         * BufferView_pimpl.C: use workarea() not workarea_,
11124           and make it use a scoped_ptr instead
11125
11126 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * lyx_gui.C: add debug message on BadWindow
11129
11130 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11131
11132         * sp_spell.C: fdopen is not part of the C++ standard.
11133
11134         * paragraph.C (InsetIterator): use >= instead of ==
11135
11136 2002-06-07  Angus Leeming  <leeming@lyx.org>
11137
11138         Fixes needed to compile with Compaq cxx 6.5.
11139         * BufferView_pimpl.C:
11140         * DepTable.C:
11141         * buffer.C:
11142         * converter.C:
11143         * encoding.C:
11144         * lyx_gui.C:
11145         * lyx_main.C:
11146         * lyxtextclasslist.C:
11147         * minibuffer.C:
11148         * sp_spell.C:
11149         * tabular_funcs.C:
11150         * vc-backend.C:
11151         all c-library variables have been moved into namespace std. Wrap
11152         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11153
11154         * lyxlength.C:
11155         * tabular-old.C:
11156         * tabular.C:
11157         Add a using std::abs declaration.
11158
11159         * kbmap.h (modifier_pair):
11160         * paragraph.h (InsetTable, InsetList):
11161         * lyxfont.h (FontBits):
11162         type definition made public.
11163
11164         * bufferlist.C (emergencyWriteAll): the compiler complains that
11165         there is more than one possible lyx::class_fun template to choose from.
11166         I re-named the void specialisation as lyx::void_class_fun.
11167
11168         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11169
11170         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11171         the compiler is is unable to find tostr in write_attribute.
11172
11173 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * buffer.C (sgmlError): hide #warning
11176
11177 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11178
11179         * xtl/*: get rid of xtl, which is not in use anyway
11180
11181         * LyXAction.C (init):
11182         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11183         were unimplemented xtl experimentation
11184
11185 2002-06-04  André Pönitz <poenitz@gmx.net>
11186
11187         * lyxfunc.C: disable array operation on simple formulae
11188
11189 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * converter.C: constify a bit
11192
11193 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11194
11195         * lyx_gui.C: check xforms version correctly
11196
11197 2002-04-30  Herbert Voss  <voss@lyx.org>
11198
11199         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11200         "keep" option
11201
11202 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11205           attempt to register it with a VCS)
11206
11207 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * lyx_main.C (init): honor variables LYX_DIR_13x and
11210         LYX_USERDIR_13x
11211
11212 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * buffer.h:
11215         * buffer.C:
11216         * lyx_main.C: fix a crash on bad command line,
11217           and give a useful exit status on error
11218
11219         * lyxfunc.C (doImport): allow -i lyx to work
11220
11221 2002-03-30  André Pönitz <poenitz@gmx.net>
11222
11223         * lyxfunc.C: mathed font changes
11224
11225 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * LaTeX.C:
11228         * importer.h:
11229         * importer.C:
11230         * lyx_sty.h:
11231         * lyx_sty.C:
11232         * lyxlex.C:
11233         * lyxrow.h:
11234         * lyxtext.h:
11235         * paragraph.h:
11236         * paragraph.C:
11237         * texrow.h:
11238         * texrow.C:
11239         * text.C:
11240         * trans_mgr.h: srcdocs, and some minor cleanups
11241
11242 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11243
11244         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11245         call getFont all the time)
11246
11247 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11248
11249         * switch from SigC signals to boost::signals
11250
11251 2002-05-29  André Pönitz <poenitz@gmx.net>
11252
11253         * paragraph_pimpl.C (getChar): don't call size() too often...
11254
11255 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11256
11257         * paragraph_pimpl.C (insertChar): do not try to update tables when
11258         appending (pos == size())
11259
11260         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11261         in order to reduce drastically the number of comparisons needed to
11262         parse a large document
11263
11264 2002-05-29  André Pönitz <poenitz@gmx.net>
11265
11266         * text.C:
11267         * text2.C:
11268         * lyxtextclass.C:
11269         * sp_pspell.h:
11270         * textclasslist.[Ch]:
11271         * sp_ispell.h: whitespace change
11272
11273 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11274
11275         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11276         lyxaction directly now.
11277
11278 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * trans.C:
11281         * lyxfont.C:
11282         * lyxvc.C: remove unused headers
11283
11284 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * Makefile.am:
11287         * buffer.h:
11288         * undostack.h:
11289         * undostack.C:
11290         * undo_funcs.h:
11291         * undo_funcs.C: some cleanups. Use shared_ptr
11292           and a template for the undo stacks.
11293
11294 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * BufferView_pimpl.h:
11297         * BufferView_pimpl.C:
11298         * kbmap.h:
11299         * kbmap.C:
11300         * kbsequence.h:
11301         * kbsequence.C:
11302         * lyxfunc.h:
11303         * lyxfunc.C:
11304         * text2.C: use key_state/mouse_state
11305
11306 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11309         and LSubstring
11310
11311         * chset.C: change include order
11312         (loadFile): use boost regex and get rid of LRegex and LSubstring
11313
11314         * Makefile.am (BOOST_LIBS): new variable
11315         (lyx_LDADD): use it
11316
11317         * LaTeX.C: change include order.
11318         (scanAuxFile): use boost regex and get rid of LRegex and
11319         LSubstring
11320         (deplog): ditto
11321
11322 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11323
11324         * ColorHandler.h:
11325         * ColorHandler.C:
11326         * FontInfo.h:
11327         * FontInfo.C: moved to frontends/xforms/
11328
11329         * FontLoader.h:
11330         * FontLoader.C: moved into frontends for GUIIzation
11331
11332         * Makefile.am:
11333         * lyx_gui.C:
11334         * lyxfont.C:
11335         * lyxfunc.C: changes from above
11336
11337 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * LColor.C: remove spurious X include
11340
11341         * BufferView_pimpl.C:
11342         * Makefile.am:
11343         * font.h:
11344         * font.C:
11345         * text.C:
11346         * text2.C: move font metrics to frontends/
11347
11348 2002-05-24  Juergen Vigna  <jug@sad.it>
11349
11350         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11351         setting the undo_cursor.
11352
11353         * ParagraphParameters.h: include local includes first.
11354
11355 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * BufferView_pimpl.C:
11358         * BufferView_pimpl.h:
11359         * Makefile.am:
11360         * WorkArea.h:
11361         * WorkArea.C:
11362         * screen.C: move WorkArea into frontends/
11363
11364         * lyxscreen.h:
11365         * screen.C:
11366         * text.C:
11367         * BufferView.C:
11368         * BufferView2.C: move LyXScreen into frontends/
11369
11370         * lyxlookup.h:
11371         * lyxlookup.C:
11372         * lyx_gui.C: move lyxlookup into frontends/xforms/
11373
11374 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * BufferView2.C:
11377         * BufferView_pimpl.C:
11378         * FontLoader.C:
11379         * LyXView.h:
11380         * LyXView.C:
11381         * Makefile.am:
11382         * WorkArea.C:
11383         * XFormsView.h:
11384         * XFormsView.C:
11385         * buffer.C:
11386         * bufferlist.C:
11387         * bufferview_funcs.C:
11388         * converter.C:
11389         * importer.C:
11390         * lyx_cb.C:
11391         * lyx_gui.C:
11392         * lyx_main.C:
11393         * lyx_find.C:
11394         * lyxfunc.C:
11395         * lyxvc.C:
11396         * minibuffer.C:
11397         * text.C:
11398         * text2.C:
11399         * trans.C:
11400         * vc-backend.C: move LyX/XFormsView into frontends/
11401
11402 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * Makefile.am:
11405         * PainterBase.C:
11406         * PainterBase.h:
11407         * Painter.C:
11408         * Painter.h:
11409         * WorkArea.C:
11410         * WorkArea.h:
11411         * screen.C:
11412         * tabular.C:
11413         * text.C:
11414         * text2.C: move Painter to frontends/
11415
11416 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * buffer.C: comment out some some code that depend upon lyx_format
11419         < 220
11420
11421         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11422         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11423
11424         * buffer.h (NO_COMPABILITY): turn off compability
11425
11426         * ColorHandler.C: include scoped_array.hpp
11427
11428         * font.C: Use more specific smart_ptr header.
11429         * Painter.C: ditto
11430         * gettext.C: ditto
11431         * ShareContainer.h: ditto
11432         * lyx_main.h: ditto
11433         * kbmap.h: ditto
11434         * FontInfo.h: ditto
11435         * BufferView_pimpl.h: ditto
11436         * ColorHandler.h: ditto
11437
11438         * kbmap.C (defkey): change call to shared_ptr::reset
11439
11440 2002-05-21  Juergen Vigna  <jug@sad.it>
11441
11442         * buffer.C (insertErtContents): fix to insert ert asis if it is
11443         non empty. Skip it completely if it contains only whitespaces.
11444
11445 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * BufferView_pimpl.C:
11448         * BufferView2.C: clear selection on paste (bug 393)
11449
11450 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * DepTable.C: include ctime
11453
11454 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11455
11456         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11457
11458 2002-05-14  Juergen Vigna  <jug@sad.it>
11459
11460         * text.C (breakParagraph): fixed function to honor the keepempty
11461         layout in the right maner and also to permit the right breaking
11462         algorithm on empty or non empyt keepempty paragraphs.
11463
11464         * paragraph.C (breakParagraph): we have to check also if the par
11465         is really empty (!size()) for isempty otherwise we do the wrong
11466         paragraph break.
11467
11468 2002-05-10  Juergen Vigna  <jug@sad.it>
11469
11470         * buffer.[Ch] : The following are only changes to the ert
11471         compatibility read reading old LaTeX layout and font stuff and
11472         convert it to ERTInsets.
11473
11474         * buffer.h: added isErtInset().
11475
11476         * buffer.C (struct ErtComp): add a fromlayout bool to check
11477         if we're inside a LaTeX layout.
11478         (isErtInset): new helper function.
11479         (insertErtContents): look for other ert insets before this one
11480         and insert the contents there, so that we don't have subsequent
11481         ERT insets with nothing between them. This way we create only one
11482         inset with multiple paragraphs. Also check if we don't insert only
11483         spaces ' ' as they are ignored anyway afterwards in the .tex file
11484         so if we have only spaces we will ignore this latex part in the
11485         new file.
11486         (parseSingleLyXformat2Token \\layout): better compatibility when
11487         reading layout-latex stuff.
11488         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11489         language tag.
11490         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11491         stuff after reading the inset only get the information back from
11492         the stack.
11493
11494 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11495
11496         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11497
11498         * LaTeXFeatures.C (getBabelOptions): New method.
11499
11500 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * BufferView_pimpl.C (Dispatch): work around missing argument for
11503         'layout'
11504
11505 2002-05-08  Juergen Vigna  <jug@sad.it>
11506
11507         * text.C (leftMargin): handle paragraph leftindent.
11508
11509         * paragraph.C (writeFile): write the new \\leftindent tag.
11510         (validate): handle leftindent code.
11511         (TeXEnvironment): handle paragraphleftindent code again.
11512
11513         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11514
11515         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11516         for paragrap_extra indent code and new token \\leftindent.
11517         (latexParagraphs): handle the leftindent as environment.
11518
11519         * ParameterStruct.h: added leftindent support.
11520
11521         * ParagraphParameters.C (leftIndent): added support functions for
11522         the paragraph left indent.
11523
11524         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11525         more appropriate.
11526
11527 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11528
11529         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11530         inside insetERT.
11531
11532         * text.C (computeBidiTables): No bidi in insetERT.
11533
11534         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11535         in RTL documents.
11536
11537 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * version.C.in: pre 5
11540
11541 2002-05-02  José Matos  <jamatos@fep.up.pt>
11542         * buffer.C (makeDocBookFile): white space changes, add newline to
11543         command styles.
11544         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11545
11546         * tabular.C (docBook): fix typo.
11547
11548 2002-05-03  Juergen Vigna  <jug@sad.it>
11549
11550         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11551         change in LyXText as we can not be sure it was not freed.
11552         (drawOneRow): remove unused code.
11553
11554         * text.C (drawInset): redo the calculation of the need_break_row as
11555         it could have a row which was already freed.
11556         (draw): look at the return value of drawInset and return false if
11557         it also returned false.
11558         (paintRowText): look at the return value of draw and return false if
11559         it also returned false.
11560
11561         * lyxtext.h: added bool return type to drawInset() and draw() so that
11562         if we have a change in the row so that the rowbreak has to be redone
11563         we abort drawing as it will be called again.
11564
11565 2002-05-02  Juergen Vigna  <jug@sad.it>
11566
11567         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11568         a change in the maintext also if we're inside an inset.
11569         (Dispatch): set the cursor again after a break line and after the
11570         screen has been updated as it could be we're in a different row.
11571
11572         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11573         to set the cursor behind the pargraph with > size().
11574         (setCursor): check also for the same paragraph when checking where
11575         to put the cursor if we have a NFR inset.
11576
11577         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11578         parts of layout read further up as it still was in the wrong
11579         position.
11580
11581 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * screen.C (drawFromTo): change sine fullRebreak always return
11584         true.
11585
11586         * buffer.C (parseSingleLyXformat2Token): reindent some
11587
11588         * BufferView_pimpl.C (update): change since fullRebreak always
11589         return true.
11590         (Dispatch): git rid of the last hardcoded "Standard"s.
11591
11592 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * text2.[Ch] (fullRebreak): make it return void now that we always
11595         returned true.
11596
11597 2002-04-30  Juergen Vigna  <jug@sad.it>
11598
11599         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11600         ert compatibility check for "latex" layout.
11601
11602 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11603
11604         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11605         minipages: use col% instead of p%, and also use the current font.
11606         (makeLaTeXFile): Fix use babel condition.
11607         (parseSingleLyXformat2Token): Correct font when reading old floats.
11608
11609 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11610
11611         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11612         inserting list of floats.
11613
11614 2002-04-25  Herbert Voss  <voss@lyx.org>
11615
11616         * MenuBackend.C (expand): don't add the graphics extensions to the
11617         export menu
11618
11619 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11620
11621         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11622         non-existing layout, do not complain if it was the default layout
11623         of the original class (bug #342)
11624
11625 2002-04-24  Juergen Vigna  <jug@sad.it>
11626
11627         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11628         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11629
11630 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11631
11632         * buffer.C (getBibkeyList): If using \bibliography, return the
11633         option field with the reference itself. Enables us to provide natbib
11634         support when using \bibliography.
11635
11636 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11637
11638         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11639
11640         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11641         natbib is provided by the LaTeX class.
11642
11643 2002-04-23  Juergen Vigna  <jug@sad.it>
11644
11645         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11646         Wakeup functions.
11647
11648         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11649
11650 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11651
11652         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11653
11654         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11655         ensuremath around textordmasculine, textordfeminine and
11656         textdegree.
11657
11658 2002-04-19  Juergen Vigna  <jug@sad.it>
11659
11660         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11661         reinitializing the buffer otherwise row-dimensions may be wrong.
11662         (update): reset also the selection cursors if they do exits otherwise
11663         their x/y positions may be wrong.
11664
11665         * text2.C (cursorDown): don't enter the inset if we came from a row
11666         above and are one row over the inset.
11667
11668         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11669         really leaving an inset.
11670
11671 2002-04-18  Juergen Vigna  <jug@sad.it>
11672
11673         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11674         of the selected paragraph does not have the selected layout also if
11675         the last one had!
11676
11677         * text2.C (setLayout): fixed bug which did not change last selected
11678         paragraph.
11679
11680         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11681         changed the read and substituted \\end_float with \\end_inset!
11682
11683         * BufferView_pimpl.C (cursorPrevious):
11684         (cursorNext): fixed to make it work with rows heigher than the work
11685         area without moving the cursor only the draw of the row.
11686         (workAreaMotionNotify): fix jumping over high rows.
11687
11688 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11691         Ressler.
11692
11693 2002-04-16  Juergen Vigna  <jug@sad.it>
11694
11695         * text2.C (setCursor): set also the irow().
11696         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11697         (cursorUp):
11698         (cursorDown): support for locking an inset if the x_fix value goes
11699         inside it. That way I can transverse insets too with cursor up/down.
11700
11701         * lyxrow.h: added irow helper function same as other (i) functions.
11702
11703         * BufferView_pimpl.C (cursorPrevious):
11704         (cursorNext): fixed for insets!
11705
11706 2002-04-15  Juergen Vigna  <jug@sad.it>
11707
11708         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11709         position otherwise it is wrong in some cases.
11710
11711         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11712         inside the inset before the call.
11713
11714 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11715
11716         * buffer.[Ch] (getBibkeyList): make it const.
11717
11718 2002-04-12  Juergen Vigna  <jug@sad.it>
11719
11720         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11721
11722         * text2.C (getCursorX): new helper function
11723         (setCursor): compute also ix_
11724         (setCursorFromCoordinates): set also ix.
11725
11726         * lyxcursor.h: added ix_ and helper functions.
11727
11728         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11729
11730         * buffer.C (insertStringAsLines): dont break paragraph if the this
11731         paragraph is inside an inset which does not permit it!
11732
11733         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11734         also with no chars on this paragraph.
11735         (paintRowText): only paint stuff if it's inside the workarea!
11736
11737         * paragraph.C (breakParagraph): honor keepempty flag and break the
11738         paragraph always below not above.
11739
11740         * BufferView2.C (unlockInset): update the paragraph layout on inset
11741         unlock as we changed paragraph in such a case.
11742
11743         * lyxfind.C (LyXFind): clear the former selection if not found!
11744
11745         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11746         again called in insertChar().
11747
11748         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11749         an inset which uses the whole row!
11750         (rightMargin): ditto.
11751         (insertChar): force a rebreak if we inserted an inset!
11752
11753 2002-03-28  Herbert Voss  <voss@lyx.org>
11754
11755         * lyxlength.[Ch]: add inBP() to get the right PS-point
11756         units (BigPoint). With inPixels we have rounding errors
11757
11758 2002-04-11  Juergen Vigna  <jug@sad.it>
11759
11760         * text2.C (setCursorFromCoordinates): set iy to the right value.
11761         (setCursor): add check if row->previous exists!
11762
11763         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11764         an old float_type as this was the case in the old code!
11765
11766         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11767
11768         * BufferView2.C (showLockedInsetCursor): use iy
11769         (fitLockedInsetCursor): ditto
11770
11771         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11772         locked insets as there we have the right value now.
11773
11774         * lyxcursor.C: added iy_ variable and iy functions to set to the
11775         baseline of cursor-y of the locked inset.
11776
11777         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11778         (setCursor): fixed for insets which need a full row.
11779
11780         * text.C (rowLastPrintable): don't ignore the last space when before
11781         an inset which needs a full row.
11782         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11783         as last character of a row when before a inset which needs a full row.
11784
11785 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * version.C.in: update date
11788
11789         * text2.C (fullRebreak): try to always return true and see what
11790         happens...
11791
11792 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11793
11794         * MenuBackend.C (expand): use Floating::listName
11795
11796         * FloatList.C (FloatList): add listName argument to the built-in
11797         floats
11798
11799         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11800         text associated with the float.
11801
11802 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11803
11804         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11805
11806 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11807
11808         * ShareContainer.h: add a couple of missing typenames.
11809
11810 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11811
11812         * lyxrc.C (getDescription): use _() correctly rather than N_().
11813
11814 2002-03-28  Herbert Voss  <voss@lyx.org>
11815
11816         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11817         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11818
11819 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11822         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11823
11824 2002-03-29  Juergen Vigna  <jug@sad.it>
11825
11826         * lyxfunc.C (dispatch): add a missing fitCursor call.
11827
11828         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11829         it was scrolled by a cursor move, so return the bool status.
11830
11831         * BufferView.C (fitCursor): return the bool flag also to the outside
11832         world as this is needed.
11833
11834         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11835
11836         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11837         call the edit() as it is not needed (and wrong) IMO.
11838         (workAreaButtonPress): set the screen_first variable before evt.
11839         unlock the inset as this may change screen_first and then we have
11840         a wrong y position for the click!
11841
11842 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11843
11844         * MenuBackend.C (expand): another translation that I missed
11845
11846 2002-03-28  Juergen Vigna  <jug@sad.it>
11847
11848         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11849
11850         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11851
11852 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11855
11856         * MenuBackend.C (expand): fix export/view/update when there is no
11857         document open.
11858
11859 2002-03-27  Herbert Voss  <voss@lyx.org>
11860
11861         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11862         and text%
11863
11864 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11865
11866         * bufferview_funcs.C (currentState): only show paragraph number
11867         for is DEVEL_VERSION is set.
11868
11869         * lyxfunc.C (dispatch): put warning in INFO channel
11870
11871         * MenuBackend.C (expand): translate the name of floats
11872
11873         * FloatList.C (FloatList): mark the float names for translation
11874
11875         * converter.C (convert): use LibScriptSearch
11876
11877 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11878
11879         * MenuBackend.C (defaults): fix default menu (we might as well get
11880         rid of it...)
11881
11882 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11885         directory.
11886
11887 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * lyxvc.C: reorder includes.
11890
11891 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11894           properly
11895
11896 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * CutAndPaste.C: change layouts earlier on paste
11899           to avoid crashing when calling getFont()
11900
11901 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11902
11903         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11904         irritating #error.
11905
11906 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11907
11908         * WorkArea.C: remove 'Pending' debug message.
11909
11910         * most files: ws cleanup
11911
11912         * buffer.[Ch]: ws changes
11913
11914         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11915
11916 2002-03-21  Juergen Vigna  <jug@sad.it>
11917
11918         * tabular.C (SetMultiColumn): collapse also the contents of the
11919         cells and set the last border right. Added a Buffer const * param.
11920
11921 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11924         linking or not.
11925
11926 2002-03-19  Juergen Vigna  <jug@sad.it>
11927
11928         * text2.C (clearSelection): reset also xsel_cache.
11929
11930         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11931         where it needs to be called (John tells us to do so too :)
11932         (selectionLost): reset sel_cache.
11933
11934         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11935
11936 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11937
11938         * text2.C (setCursorIntern): put debuging code in INSETS channel
11939
11940 2002-03-19  André Pönitz <poenitz@gmx.net>
11941
11942         * lyxfunc.C: tiny whitespace change
11943
11944 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * ToolbarDefaults.C (init):
11947         * LyXAction.C (init):
11948         * commandtags.h:
11949         * BufferView_pimpl.C (Dispatch):
11950         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11951
11952 2002-03-19  Allan Rae  <rae@lyx.org>
11953
11954         * exporter.C (Export): removeAutoInsets before doing anything else.
11955         While I've just introduced a dependency on BufferView this really is
11956         the best place to clean the buffer otherwise you need to cleanup in
11957         a dozen places before calling export or cleanup in a dozen functions
11958         that export calls.
11959
11960         * converter.C (runLaTeX):
11961         (scanLog): Better handling of removeAutoInsets and screen updates.
11962
11963         * lyxfunc.C (dispatch): small whitespace changes
11964
11965 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * WorkArea.C (C_WorkAreaEvent): return a value.
11968         (event_cb): return 1 if we handled the event, 0 otherwise.
11969
11970         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11971
11972 2002-03-18  Juergen Vigna  <jug@sad.it>
11973
11974         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11975         (GetAdditionalWidth): ditto.
11976         (RightLine): ditto.
11977         (LeftLine): ditto.
11978
11979         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11980         inset if we're there actually (probably not used right now but this
11981         is the direction to go for unifying code).
11982         (paste): disable code to clear the selection.
11983
11984         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11985         inside an InsetText and move the check further up as it is in the
11986         wrong place.
11987
11988         * text2.C (pasteSelection): set a selection over the pasted text.
11989
11990 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11991
11992         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11993         and libgraphics to build on Cygwin.
11994
11995 2002-03-15  Juergen Vigna  <jug@sad.it>
11996
11997         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11998         inserting an Inset into the paragraph. I know this is not the best
11999         fix but we already use current_view in CutAndPaste so we will remove
12000         all of it's using at the same time.
12001
12002         * buffer.C (sgmlError): deactivated function till it is rewritten in
12003         the right mode, now it can create problems.
12004
12005         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12006         before accessing it.
12007
12008 2002-03-14  Juergen Vigna  <jug@sad.it>
12009
12010         * undo_funcs.C (textHandleUndo): do the right thing when updating
12011         the inset after the undo/redo.
12012
12013         * text2.C (setCursor): just some testcode for #44 not ready yet.
12014
12015         * undo_funcs.C (textHandleUndo): set the next() and previous()
12016         pointers of the paragraph to 0 before deleting otherwise we have
12017         problems with the Paragraph::[destructor].
12018
12019         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12020         on a paragraph insertion.
12021
12022 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * buffer.C (asciiParagraph): use += operator for char append to
12025         string.
12026
12027         * paragraph.C (getFontSettings): compare >= not just >
12028         (highestFontInRange): ditto
12029         (setFont): ditto
12030
12031 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * paragraph.C: change several algorithm to be more appripriate for
12034         the problem domain. This is lookip in FontList and in the InsetList.
12035
12036 2002-03-13  André Pönitz <poenitz@gmx.net>
12037
12038         * commandtags.h:
12039         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12040
12041 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * commandtags.h:
12044         * LyXAction.C:
12045         * lyxfunc.C:
12046         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12047
12048 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * Painter.C (display): anon helper function, adjust code for this
12051         change.
12052         (pixmap): remove function.
12053
12054         * Painter.h: remove private display variable.
12055
12056         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12057
12058 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12059
12060         * WorkArea.[Ch]: remove figinset_canvas cruft.
12061
12062 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * lyxtextclass.C (operator): add one item cache optimization.
12065
12066         * bufferlist.h: doxy changes
12067
12068         * bufferlist.C: ws changes
12069
12070         * DepTable.[Ch] (ext_exist): place const in the right spot.
12071
12072         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12073         call resizeInsets.
12074         (workAreaExpose): call resizeInsets when the with BufferView changes.
12075         (Dispatch): adjust for protectedBlank removal
12076         (specialChar): call updateInset if the insert went ok.
12077
12078         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12079         specialChar instead.
12080
12081         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12082
12083         * BufferView.h: doxy change
12084
12085         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12086
12087         * lyxtextclass.C (operator[]): remove non-const version
12088         (defaultLayout): remove non-const version
12089
12090 2002-03-12  Juergen Vigna  <jug@sad.it>
12091
12092         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12093         did resize the LyXText too.
12094
12095         * buffer.C (readLyXformat2): set layout information on newly allocated
12096         paragraphs.
12097
12098         * tabular.C (OldFormatRead): set layout information on the paragraph.
12099
12100 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12101
12102         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12103
12104 2002-03-11  Juergen Vigna  <jug@sad.it>
12105
12106         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12107         plainly wrong.
12108         (resizeCurrentBuffer): force also the insets to resize themselfes.
12109         (moveCursorUpdate): fixed up for InsetText.
12110
12111 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12112
12113         * commandtags.h:
12114         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12115         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12116         value of Dialogs::tooltipsEnabled().
12117         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12118
12119 2002-03-08  Juergen Vigna  <jug@sad.it>
12120
12121         * BufferView_pimpl.C (updateInset): update inset inside inset also
12122         if it isn't inside theLockingInset().
12123
12124 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12125
12126         * buffer.C (asciiParagraph): redo some of the word and line length
12127         handling.
12128         (getLists): look for Caption instead of caption.
12129
12130 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12131
12132         * buffer.C (Buffer): initialize niceFile to true
12133         (makeLaTeXFile):
12134         (makeLinuxDocFile):
12135         (makeDocBookFile): make sure niceFile is true on exit
12136
12137 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12138
12139         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12140
12141 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12142
12143         * LyXSendto.C: remove.
12144         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12145         * lyx_gui.C: remove now-redundant comment.
12146         * ColorHandler.h: remove forward declaration of class WorkArea.
12147         * lyxfunc.C: remove #include "WorkArea.h".
12148
12149 2002-03-07  Juergen Vigna  <jug@sad.it>
12150
12151         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12152         got moved away with the DEPM and also set the inset_owner always
12153         right which before could have been omitted.
12154
12155 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12158         wanted layout is not found.
12159
12160 2002-03-07  Juergen Vigna  <jug@sad.it>
12161
12162         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12163
12164 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12165
12166         * paragraph.C (breakParagraph): use default layout not layout of
12167         prev paragraph.
12168         (Paragraph): clear ParagraphParameters.
12169
12170 2002-03-06  Juergen Vigna  <jug@sad.it>
12171
12172         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12173         otherwise it would not be a valid lenght. Fixed a special case in
12174         the minipage compatibility read where we end the document with a
12175         minipage.
12176
12177         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12178         was set as it could be 0 for InsetTexts first entry.
12179
12180 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12181
12182         * paragraph.C (writeFile): if layout is empty write out
12183         defaultLayoutName().
12184
12185         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12186         file without named layout we set layout to defaultLayoutName().
12187
12188 2002-03-06  Juergen Vigna  <jug@sad.it>
12189
12190         * CutAndPaste.C (copySelection): set layout for new paragraph.
12191
12192         * text.C (prepareToPrint): leave ERT inset left aligned
12193         (leftMargin): don't indent paragraphs inside ERT insets
12194
12195 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * paragraph.C (breakParagraph): dont call clear do the work manually
12198
12199         * paragraph.[Ch] (clear): remove function
12200
12201 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * paragraph.C (Paragraph): dont call clear, the work has already
12204         been done.
12205
12206         * lyxtextclass.C (operator): assert if n is empty
12207
12208         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12209         work manually instead.
12210
12211 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * BufferView_pimpl.C: protect selectionLost against text == 0
12214
12215 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12216
12217         * text.C (breakParagraph): fix a setting layout to '0' problem.
12218
12219 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12220
12221         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12222         final location of file, for the included files, and graphics.
12223
12224 2002-03-05  Juergen Vigna  <jug@sad.it>
12225
12226         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12227
12228 2002-03-04  Juergen Vigna  <jug@sad.it>
12229
12230         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12231
12232         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12233         last column of multicolumn cells.
12234         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12235
12236 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12237
12238         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12239         file if it doesn't go to a temporary file.
12240
12241         * buffer.C (sgmlOpenTag):
12242         (sgmlCloseTag):  remove extra newline insertion.
12243
12244 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * text.C (getRowNearY): comment out debug msg
12247
12248 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * text2.C: first -> first_y
12251
12252         * text.C (getRowNearY): add some attemts at a possible
12253         optimization, not working.
12254
12255         * tabular.[Ch]: add BufferParams to several function so that newly
12256         created paragraph can be initialized to he default layotu for the
12257         buffers textclass.
12258
12259         * tabular-old.C (ReadOld): add buf->params to call of Init
12260
12261         * screen.C: rename text->first to text->first_y
12262
12263         * paragraph.C (breakParagraph): always set layout in the broken
12264         paragraph
12265
12266         * lyxtextclass.C (Read): remove lowercase
12267         (hasLayout): ditto
12268         (operator): ditto
12269         (delete_layout): ditto
12270
12271         * lyxtext.h: rename first -> first_y
12272
12273         * lyxlayout.C (Read): remove lowercase
12274         (name): ditto
12275         (setName): ditto
12276         (obsoleted_by): ditto
12277
12278         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12279
12280         * buffer.C (insertErtContents): add params are to InsetERT
12281         (parseSingleLyXformat2Token): add code to check if a paragraphs
12282         layout really exist.
12283         (parseSingleLyXformat2Token): add params to several inset
12284         constructors
12285         (asciiParagraph): remove lowercase, do the layout comparisons with
12286         no_case
12287
12288         * BufferView_pimpl.C (cursorNext): first -> first_y
12289         (resizeCurrentBuffer): first -> first_y
12290         (updateScrollbar): first -> first_y
12291         (scrollCB): first -> first_y
12292         (workAreaMotionNotify): first -> first_y
12293         (workAreaButtonPress): first -> first_y
12294         (checkInsetHit): first -> first_y
12295         (cursorPrevious): first -> first_y
12296         (cursorNext): first -> first_y
12297         (Dispatch): add buffer_->params to severl inset contructors
12298
12299 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * lyxlayout.C (Read): remove some debug info that I forgot.
12302
12303         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12304         clean up the code slightly.
12305         (makeLinuxDocFile): ditto
12306         (makeDocBookFile): ditto
12307
12308         * text2.C: layout as string
12309
12310         * text.C: layout as string
12311
12312         * paragraph_pimpl.C: layout as string
12313
12314         * paragraph.[Ch]: layout as string
12315
12316         * lyxtextclasslist.[Ch]: layout as string
12317
12318         * lyxtextclass.[Ch]: layout as string
12319
12320         * lyxtext.h: layout as string
12321
12322         * lyxlayout.[Ch]: layout as string
12323
12324         * lyx_cb.C: layout as string
12325
12326         * bufferview_funcs.C: layout as string
12327
12328         * bufferparams.C: layout as string
12329
12330         * buffer.C: layout as string
12331
12332         * LyXView.[Ch]: layout as string
12333
12334         * LaTeXFeatures.[Ch]: layout as string
12335
12336         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12337
12338         * BufferView_pimpl.C: change current_layout to string, remove
12339         lyx::layout_type.
12340         (Dispatch):
12341         (smartQuote):
12342         (insertInset):
12343         (workAreaButtonRelease): layout as string
12344
12345         * BufferView2.C (unlockInset): adjust
12346
12347         * vspace.C (asLatexCommand): use an explict temp variable.
12348
12349 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * Makefile.am: use FRONTEND_*
12352
12353 2002-03-01  Juergen Vigna  <jug@sad.it>
12354
12355         * tabular.C (SetWidthOfMulticolCell): changed to something better
12356         I hope but still work in progress.
12357         (recalculateMulticolumnsOfColumn): renamed function from
12358         recalculateMulticolCells as it is more appropriate now.
12359         (SetWidthOfCell): calculate multicols better.
12360
12361 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12362
12363         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12364
12365         * lyxfunc.C (processKeySym): print sequence also if it is
12366         `deleted' (complete)
12367
12368         * kbsequence.C (print): print sequence even if it is deleted
12369         (complete would be a better word, actually).
12370
12371         * lyxfunc.C (dispatch): print complete options after a prefix key
12372
12373         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12374
12375 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12376
12377         * text2.C (setCharFont): eliminate setCharFont code duplication.
12378
12379 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12380
12381         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12382         LFUN_TABULAR_FEATURE (bug #177)
12383
12384 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * Makefile.am: remove figure.h
12387
12388 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12389
12390         * Bufferview_pimpl.C:
12391         * CutAndPasteC:
12392         * LaTeX.C:
12393         * LyXSendto.C:
12394         * buffer.C:
12395         * bufferlist.C:
12396         * converter.C:
12397         * language.C:
12398         * lyxfunc.C:
12399         * lyxvc.C:
12400         * paragraph.C:
12401         * text.C:
12402         * text2.C: remove #include "lyx_gui_misc.h".
12403
12404         * LaTeX.C: added #include <cstdio>
12405
12406 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12407
12408         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12409         that the paragraph following this one can have.
12410
12411         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12412
12413         * vspace.C (asLatexCommand): fix bogus gcc warning
12414
12415         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12416
12417 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12418
12419         * text2.C (setLayout): get rid of redundant code
12420
12421 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12422
12423         * text2.C (incDepth): make sure depth cannot be increased beyond
12424         reasonable values.
12425
12426 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12427
12428         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12429         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12430
12431         * PainterBase.h (image):
12432         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12433         a LyXImage const *.
12434
12435 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * BufferView.C:
12438         * BufferView.h:
12439         * BufferView_pimpl.C:
12440         * BufferView_pimpl.h:
12441         * LaTeXFeatures.C:
12442         * LyXAction.C:
12443         * LyXView.C:
12444         * Makefile.am:
12445         * UpdateList.h:
12446         * UpdateList.C:
12447         * buffer.C:
12448         * figure.h:
12449         * figureForm.C:
12450         * figureForm.h:
12451         * figure_form.C:
12452         * figure_form.h:
12453         * lyx_cb.C:
12454         * lyx_gui.C:
12455         * lyx_gui_misc.C:
12456         * lyxfunc.C:
12457         * sp_base.h:
12458         * sp_ispell.h:
12459         * sp_pspell.h:
12460         * sp_spell.C: remove fig inset, and the crap house of
12461           cards that follows it
12462
12463 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * Makefile.am:
12466         * lyxserver.C:
12467         * os2_defines.h:
12468         * os2_errortable.h:
12469         * nt_defines.h: move .h into support/
12470
12471         * vms_defines.h: remove
12472
12473         * WorkArea.C: add space in debug output
12474
12475         * text2.C:
12476         * paragraph.C:
12477         * buffer.C: add WITH_WARNINGS
12478
12479         * vc-backend.h:
12480         * vc-backend.C:
12481         * bufferlist.C: s/retrive/retrieve/, add docs
12482
12483         * vspace.h:
12484         * vspace.C:
12485         * kbmap.h:
12486         * lyxlength.h:
12487         * lyxgluelength.h:
12488         * length_common.h:
12489         * chset.h:
12490         * chset.C: add docs
12491
12492         * lyxgui.C: add ID to X error handler
12493
12494         * lyxtestclass.c: fix typo
12495
12496 2002-02-26  Juergen Vigna  <jug@sad.it>
12497
12498         * tabular_funcs.C (write_attribute): changed so that some default
12499         attributes are not written at all.
12500         (getTokenValue): set default values before trying to read the
12501         value so we have the return value always set as default if we don't
12502         find the token we search for.
12503
12504         * tabular.C (Write): write bools as bools not as strings!
12505
12506 2002-02-22  Juergen Vigna  <jug@sad.it>
12507
12508         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12509         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12510
12511         * text.C (leftMargin): don't add an indent for paragraphs inside
12512         tabular cells (fix #208).
12513
12514 2002-02-21  José Matos  <jamatos@fep.up.pt>
12515
12516         * tabular.C (docBook): fixed support for long tables.
12517
12518 2002-02-20  Juergen Vigna  <jug@sad.it>
12519
12520         * text2.C (getFont): get the drawing font of the Inset if this
12521         paragraph is inside an inset (only important for InsetERT for now).
12522
12523         * buffer.C (insertErtContents): use new lanugage params in ERT
12524         constructor.
12525
12526         * CutAndPaste.C: commenting out seemingly uneeded code.
12527
12528 2002-02-19  Allan Rae  <rae@lyx.org>
12529
12530         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12531         Iterators might be simple to use but they also get invalidated.
12532         (removeAutoInsets): renamed saved cursor tracking variables and added
12533         some comments to clarify what everything does.
12534
12535 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12536
12537         * Chktex.C:
12538         * LaTeX.C:
12539         * LyXSendto.C:
12540         * converter.C:
12541         * lyx_cb.C:
12542         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12543         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12544
12545         * lyxfunc.C:
12546         * vc-backend.h: remove #include "support/syscall.h"
12547
12548         * LaTeX.C:
12549         * LyXSendto.C:
12550         * converter.C: rearrange #includes in Lars' approved fashion.
12551
12552         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12553         forward declare class Timeout in the header file.
12554
12555         * XFormsView.C: changes due to the above.
12556
12557         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12558         similar to LyXView.
12559
12560         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12561         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12562
12563 2002-02-18  José Matos  <jamatos@fep.up.pt>
12564
12565         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12566         insets contents.
12567
12568 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12569
12570         * a lot of small ws changes
12571         * add a lot of using std::XXX
12572         * use std construcs some places where approp.
12573         * use some exisint stuff from lyxfunctional where approp.
12574         * Make file changes to use partial linking (lets test this now...)
12575
12576 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12577
12578         * Chktex.C:
12579         * buffer.C:
12580         remove #include "support/syscontr.h" as it's redundant. Always has been.
12581
12582         * Chktex.C:
12583         * LaTeX.C:
12584         * LyXSendto.C:
12585         * converter.C:
12586         * lyx_cb.C:
12587         * vc-backend.C:
12588         change Systemcalls::System to Systemcalls::Wait and
12589         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12590         No change of functionality, just reflects the stripped down Systemcalls
12591         class.
12592
12593 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12594
12595         * debug.[Ch]: add a GRAPHICS type to the enum.
12596
12597 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12598
12599         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12600
12601         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12602         there is an inset.
12603
12604 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12605
12606         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12607         match the changes below.
12608
12609         * text2.C (toggleInset): if there is not editable inset at cursor
12610         position, try to see if cursor is _inside_ a collapsable inset
12611         and close it.
12612
12613 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12614
12615         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12616         document menu has a nice checkbox
12617
12618 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12619
12620         * lyxlength.C (asLatexString): change PW to output as percent of
12621         \textwidth.
12622
12623         * lengthcommon.C: change '%' to 't%'
12624
12625         * lyxfunc.C (dispatch): a few comments from Martin
12626
12627 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * WorkArea.h:
12630         * WorkArea.C:
12631         * BufferView_pimpl.h:
12632         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12633           the X selection.
12634
12635 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12636
12637         * vspace.C (inPixels): fix compiler warning
12638
12639 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * lyxfunc.C (getStatus): fix status message for disabled commands.
12642
12643 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12644
12645         * BufferView_pimpl.C: fix crash on close buffer
12646         during selection (#227)
12647
12648 2002-01-27  Herbert Voss  <voss@lyx.org>
12649
12650         * buffer.C: link old Figure to new graphic inset
12651
12652 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12653
12654         * FontLoader.C (getFontinfo): Change the latex font names in order
12655         to match the names of type1inst.
12656
12657 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12658
12659         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12660
12661         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12662         (extchanged): ditto
12663         (ext_exist): ditto
12664         (remove_files_with_extension): ditto
12665         (remove_file): ditto
12666         (write): ditto
12667
12668         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12669         document is smaller than the work area height. Do not initialize
12670         static variables to 0.
12671
12672 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12673
12674         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12675
12676         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12677         LFUN_LAYOUT_PARAGRAPHS.
12678
12679         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12680         tabular. It is possible to provide a possible cell, which will
12681         typically be the actcell from the corresponding insettabular
12682
12683         * lyxfunc.C (getStatus): small cleanup; disable
12684         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12685         true
12686
12687 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12690
12691         * paragraph.C (startTeXParParams):
12692         (endTeXParParams): new methods. The LaTeX code to
12693         start/end paragraph formatting
12694         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12695         empty (fixes bug #200)
12696
12697         * vspace.C (inPixels): adapt to the change below
12698         (inPixels): [later] more cleanups (remove unused variables)
12699
12700         * lyxlength.C (inPixels): change to use a width and a height as
12701         parameter.
12702
12703 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12704
12705         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12706         Replaced with \paperwidth
12707
12708         * DepTable.C (insert): add std:: qualifier
12709
12710 2002-01-18  Allan Rae  <rae@lyx.org>
12711
12712         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12713         updated also?
12714
12715         * text.C (drawInset): Turned out I didn't know enough about how
12716         rebreaking worked.  This fixes most of the redraw problems.  I see
12717         an occasional cursor trail when a line is broken now and the cursor
12718         placement can seem out by a few pixels also after a rebreak.
12719
12720 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12721
12722         * buffer.C (parseSingleLyXformat2Token): update because minipage
12723         width is now a LyXLength
12724
12725         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12726
12727         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12728         math insets
12729
12730 2002-01-17  Juergen Vigna  <jug@sad.it>
12731
12732         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12733
12734         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12735         is set correctly and the inset is updated correctly.
12736
12737 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12738
12739         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12740         the beginning of the loop.
12741
12742 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * lyxrc.C: improve help for use_scalable_fonts
12745
12746 2002-01-17  Allan Rae  <rae@lyx.org>
12747
12748         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12749
12750 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12753         make sure to set their inset_owner to the right value (bug #171)
12754
12755 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12756
12757         * DepTable.h
12758         * DepTable.C: Implement mtime checking to reduce time spent doing
12759         CRCs.
12760
12761 2002-01-16  Juergen Vigna  <jug@sad.it>
12762
12763         * tabular.C (GetAdditionalHeight): one of error fixed.
12764
12765         * lyxrc.C (output): small fix in writing use_pspell.
12766
12767 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12768
12769         * sp_base.h: #include LString.h
12770
12771 2002-01-16  Allan Rae  <rae@lyx.org>
12772
12773         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12774         Can someone check this please?
12775
12776         * text.C (drawInset): It was possible that p.row would be removed by
12777         breakAgainOneRow upsetting a few other settings.  There may be another
12778         small tweak possible by setting need_break_row = 0 when p.row has been
12779         removed but I don't know enough about the logic here.
12780
12781 2002-01-15  Allan Rae  <rae@lyx.org>
12782
12783         * text.C (insertChar): removed conditional truism.
12784
12785         * BufferView2.C (removeAutoInsets): More tweaks.
12786         cur_par_prev could be a stray pointer.  Check for trailing empty line
12787         in case last line was cur_par and only had an error inset on it.
12788
12789 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12790
12791         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12792         absolute
12793
12794         * vc-backend.C (most methods):
12795         * exporter.C (Export):
12796         * converter.C (convert):
12797         (runLaTeX):
12798         * LyXSendto.C (SendtoApplyCB):
12799         * lyxfunc.C (dispatch):
12800         (menuNew):
12801         (open):
12802         (doImport):
12803         * lyx_cb.C (AutoSave):
12804         (InsertAsciiFile):
12805         * BufferView_pimpl.C (MenuInsertLyXFile):
12806         * buffer.C (runChktex): use Buffer::filePath().
12807
12808         * buffer.h: rename filename to filename_; rename filepath to
12809         filepath_ and make it private
12810         (filePath): new method
12811
12812         * buffer.C (writeFile): use fileName()
12813         (getLatexName):
12814
12815         * lyx_main.C (init): fix starting  of LyX when the binary is a
12816         link from so,ewhere else.
12817
12818         * minibuffer.C: include <cctype> for isprint
12819
12820 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12821
12822         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12823         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12824         name clash with InsetCollapsable's width function.
12825
12826 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * lastfiles.C: include <iterator>
12829
12830 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12833         std::count.
12834
12835         * buffer.C (makeLaTeXFile): ditto.
12836         Also make loop operation more transparent.
12837
12838 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12839
12840         * ToolbarDefaults.C: remove trailing comma closing namespace.
12841
12842         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12843
12844         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12845         as in WorkArea.
12846
12847         * trans.C (Load): comment out unused variable, allowed.
12848
12849 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12850
12851         * minibuffer.[Ch] (append_char): new method to recieve input from the
12852         drop-down completion browser. If a key was pressed, then recieve this
12853         char and append it to the existing string.
12854         (peek_event): modify the positioning data passed to the completion
12855         browser so that it can be placed above the minibuffer rather than below.
12856 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * LyXAction.C (init): alloe error-next for readonly documents.
12859
12860         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12861         count.
12862
12863 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12864
12865         * bufferlist.C (readFile): create the buffer _after_ checking that
12866         the file exists.
12867
12868         * lyxfunc.C (verboseDispatch): fix handling of arguments
12869
12870         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12871
12872         * lyxrc.C: use string::erase() instead of initializing to "".
12873
12874
12875 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12876
12877         * BufferView_pimpl.h:
12878         * BufferView_pimpl.C:
12879         * WorkArea.h:
12880         * WorkArea.C:
12881         * text2.C: tell X when we have made a selection for copying
12882
12883 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12884
12885         * BufferView_pimpl.C (MenuInsertLyXFile):
12886         * lyxfunc.C (menuNew):
12887         (open):
12888         (doImport): add shortcuts to directory buttons
12889
12890         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12891         open a float)
12892
12893         * lyxfunc.C (setStatusMessage):
12894         (getStatusMessage): new methods
12895         (getStatus):use setStatusMessage instead of setErrorMessage
12896         (dispatch): when function is disabled, set error message here
12897         [instead of in getStatus previously]
12898
12899         * BufferView_pimpl.C (workAreaButtonRelease): update
12900         toolbar/menubar here too.
12901
12902 2002-01-13  Allan Rae  <rae@lyx.org>
12903
12904         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12905         Now seems indestructible.  Remaining task is to audit all other
12906         code affected by deleteEmptyParagraphMechanism.  One small quirk
12907         left is that an empty document with an error in the preamble can
12908         be made to report an error but no error box appears.  I don't know
12909         where it goes.
12910         (removeAutoInsets): Improved comments.
12911
12912 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12913
12914         * Thesaurus.h:
12915         * Thesaurus.C: update for Aiksaurus 0.14
12916
12917 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * text2.C (firstParagraph): removed member function, all uses
12920         replaces with ownerParagraph
12921         (redoParagraphs): here
12922         (updateInset): here
12923         (toggleAppendix): here
12924         * BufferView2.C (insertErrors): here
12925         (setCursorFromRow): here
12926
12927 2002-01-13  Allan Rae  <rae@lyx.org>
12928
12929         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12930         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12931         There is still a way to segfault this although you may have to do this
12932         multiple times: Have an InsetERT with an unknown command in it.
12933         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12934         <down-arrow>, <Enter> again, View->DVI, BANG!
12935
12936         * text2.C (setCursor):
12937         (deleteEmptyParagraphMechanism):
12938         * lyxtext.h (setCursor):
12939         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12940         Making use of the return value may help fix other bugs.
12941
12942 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12943
12944         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12945
12946         * LyXView.C (updateMenubar): call MenuBar::update here
12947         (updateToolbar): but not here
12948         (showState): do not update toolbar/menubar
12949
12950         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12951         should need to care about that.
12952
12953         * lyxfunc.C (verboseDispatch): simplify a bit
12954         (getStatus): have a version which takes a pseudoaction, and
12955         another which requires a (kb_action,string).
12956
12957         * LyXAction.C (retrieveActionArg): make it work also when action
12958         is not a pseudo-action.
12959         (getActionName): simplify a bit
12960         (helpText):
12961
12962 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12963
12964         * lyxfunc.C (verboseDispatch): new families of methods with
12965         several ways to specify a command and a bool to indicate whether
12966         the command name and shortcut should be displayed in minibuffer
12967         (eventually, we could extend that to a finer bitmask like
12968         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12969         (dispatch): the pristine dispatch command which just, well,
12970         dispatchs! Note it still sets its result to minibuffer; I'm not
12971         sure we want that.
12972
12973         * lyxfunc.h: remove setHintMessage
12974
12975         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12976
12977 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12978
12979         * BufferView_pimpl.C (specialChar): delete new inset if we have
12980         not been able to insert it.
12981
12982         * kbmap.C: revert to using int instead of kb_action, since all we
12983         are dealing with is pseudo-actions.
12984
12985         * LyXAction.C (searchActionArg): change to return int instead of
12986         kb_action, since the result is a pseudoaction.
12987
12988 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12989
12990         * buffer.C (insertErtContents): Fix (partially) the font bug.
12991
12992 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12993
12994         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12995         as the other one is broken on my machine!
12996
12997 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12998
12999         * commandtags.h:
13000         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13001
13002 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13003
13004         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13005         reflect their actual use. Provide compatibility code for older lyxrc
13006         files.
13007
13008         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13009         FL_NORMAL_STYLE.
13010         change names of popup font variables in line with the changes to lyxrc.C
13011
13012 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13013
13014         * buffer.C (asciiParagraph): avoid outputing a word twice after
13015         an inset.
13016
13017         * lyxrc.C (getDescription): document that document_path and
13018         template_path can be empty.
13019
13020 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13021
13022         * LaTeXFeatures.C (getMacros):
13023         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13024
13025         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13026
13027         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13028         getPackages.
13029         (getPackages): rename feature "floats" to "float". Use an array to
13030         iterate over 'simple' features (i.e. just a \usepackage). Add
13031         handling of "amsmath" (renamed from "amsstyle").
13032
13033 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13034
13035         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13036         features list.
13037
13038 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13039
13040         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13041         FuncStaus::FuncStatus & FuncStaus::some_method().
13042
13043 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13044
13045         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13046         of the func_satus stuff. Edited and massaged in various ways by
13047         JMarc.
13048
13049         * lyxfunc.C (getStatus): use FuncStatus
13050
13051 2002-01-08  Juergen Vigna  <jug@sad.it>
13052
13053         * text.C (nextBreakPoint): use function Inset::isChar().
13054
13055         * paragraph.C (TeXOnePar): use function
13056         Inset::forceDefaultParagraphs.
13057
13058         * buffer.C (latexParagraphs): use function
13059         Inset::forceDefaultParagraphs.
13060
13061 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13062
13063         * lyx_gui.C (init): set the style of the menu popups to
13064         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13065
13066 2002-01-07  Juergen Vigna  <jug@sad.it>
13067
13068         * text.C (setHeightOfRow): small fix
13069         (prepareToPrint): don't look at alignment if we don't have the place
13070         for doing it.
13071
13072 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * box.C: New file. Move the Box methods and functions out of box.h,
13075         following Lars' suggestion.
13076
13077 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13078
13079         * box.h: #include "support/LOstream.h", needed for inlined function.
13080
13081         * lyxtextclass.C:
13082         * lyxtextclasslist.C: added some using std declarations.
13083
13084 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * box.h: make signed dimensions to allow insets wider than
13087           the screen (bug #162)
13088
13089         * BufferView_pimpl.C: add some insetHit debug
13090
13091 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13092
13093         * vc-backend.C: add FIXME
13094
13095 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13096
13097         * lyxfunc.C (getStatus): enable code for showing math font status
13098         in toolbar/menu.
13099
13100 2002-01-07  Juergen Vigna  <jug@sad.it>
13101
13102         * text.C (nextBreakPoint): removed debug output not needed anymore.
13103
13104 2002-01-06  Juergen Vigna  <jug@sad.it>
13105
13106         * text.C (nextBreakPoint): fixed up this function we had this bug
13107         since ever but now hopefully we break row better.
13108         (insertChar): we have to check if an inset is the next char as it
13109         could now happen that a large inset is causing a break.
13110
13111 2002-01-05  Juergen Vigna  <jug@sad.it>
13112
13113         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13114         if it doesn't like to be drawed.
13115
13116 2002-01-04  Juergen Vigna  <jug@sad.it>
13117
13118         * BufferView2.C (lockInset): forgot to set a cursor.
13119
13120         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13121
13122 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13123
13124         * FormMathsPanel.C:
13125         * FormMathsPanel.h
13126         * MathsSymbols.C:
13127         * form_maths_panel.C:
13128         * form_maths_panel.h:
13129         * form_maths_panel.fd: implemented sub- and super- buttons in math
13130         panel.
13131
13132         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13133         (or ^ space) to be used as in TeX (req'd by André).
13134
13135         * lyxfunc.C: Allow ^ and _ again to be used both as
13136         super/subscript (mathed) and as themselves (in text).
13137
13138 2002-01-03  Allan Rae  <rae@lyx.org>
13139
13140         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13141         "LyX" or the filename of the current buffer if it has one.  This is a
13142         modified form of John Levon's patch.
13143
13144         * XFormsView.C (setWindowTitle): also set icon title.
13145
13146         * LyXView.h (setWindowTitle): signature changed.
13147         * XFormsView.h (setWindowTitle): ditto.
13148
13149 2002-01-02  Juergen Vigna  <jug@sad.it>
13150
13151         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13152
13153 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * screen.C (topCursorVisible): introduce a temp var for
13156         text->cursor.row(), handle the case where this row is null. (kindo
13157         hachish)
13158
13159         * text2.C (setCursor): add a couple of asserts.
13160
13161         * paragraph.h (inset_iterator): add -> operator
13162
13163         * paragraph.[Ch] (autoDeleteInsets): remove member function
13164
13165         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13166         cursor pos correctly and handle inset deletion by itself.
13167         (insertErrors): move iterator declaration out of for expression
13168
13169         * lyxtextclass.C: add <algorithm>
13170
13171         * Makefile.am: added the new files to sources, removed layout.C
13172
13173         * layout.C: removed file
13174
13175         * layout.h: remove LYX_DUMMY_LAYOUT
13176
13177         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13178         layout.
13179
13180         * lyxlayout.[Ch]:
13181         * lyxtextclass.[Ch]:
13182         * lyxtextclasslist.[Ch]: new files
13183
13184         * include order changes to a lot of files, also changes because of
13185         the six new files.
13186
13187 2001-12-27  Juergen Vigna  <jug@sad.it>
13188
13189         * buffer.C (asciiParagraph): more fixes.
13190
13191         * tabular.C (ascii): make ascii export support export of only the
13192         data separated by a column-delimiter.
13193         (ascii): better support for ascii export.
13194
13195         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13196
13197 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * tabular_funcs.C: use a "using std::getline" instead of the
13200         previous fix from Angus (necessary for cxx + lyxstring)
13201
13202 2001-12-24  Juergen Vigna  <jug@sad.it>
13203
13204         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13205
13206         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13207         problems. First check a minipage also if we have some ert-contents
13208         (not only on par->size(), second set the right depth of the paragraph
13209         on the relink to the root-paragraph-list!
13210
13211         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13212         which then did not anymore update the main paragraphs on undo/redo!
13213
13214 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13215
13216         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13217         code. Support all font-changing funcs (even those which are not in
13218         menu currently). Support for reporting font settings in
13219         mathed (disabled until Andre provides a function on mathed's side).
13220
13221         * func_status.h (toggle): small helper function to set toggle
13222         state on a flag.
13223
13224 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13225
13226         * tabular_funcs.C: getline -> std::getline
13227
13228 2001-12-21  Juergen Vigna  <jug@sad.it>
13229
13230         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13231         accessed and could be 0 (I couldn't generate this but it seems
13232         Michael could!).
13233
13234 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13235
13236         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13237         * tabular_funcs.h: here and include iosfwd
13238
13239 2001-12-20  Juergen Vigna  <jug@sad.it>
13240
13241         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13242         inside inset but undo_par was.
13243
13244 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13245
13246         * Thesaurus.C: always include <config.h> in sources.
13247
13248         * Painter.h:
13249         * lyxlookup.h:
13250         * box.h: do not include <config.h> in header files
13251
13252         * text.C (paintLastRow): remove unused variable
13253
13254         * text.C (transformChar):
13255         (insertChar):
13256         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13257
13258         * Painter.C (text):
13259         * font.C (width): rewrite to use uppercase() instead of
13260         islower/toupper.
13261
13262         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13263
13264 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13265
13266         * lyxfind.C: clean up of find failure position change
13267
13268 2001-12-20  Juergen Vigna  <jug@sad.it>
13269
13270         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13271
13272         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13273         (TeXRow): added to LaTeX a single tabular row.
13274         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13275         (Latex): simplified and finally good LT-h/f support.
13276         (various_functions): just small adaptions for LT-h/f support.
13277
13278         * tabular_funcs.[hC]: added and moved here all not classfunctions
13279         of LyXTabular.
13280
13281 2001-12-19  Juergen Vigna  <jug@sad.it>
13282
13283         * tabular.[Ch]: better support for longtabular options (not finished
13284         yet!)
13285
13286 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13287
13288         * text.C (paintLastRow): use the label font instead of the font of
13289         the last character to compute the size of *_BOX. This makes more
13290         sense and avoids a crash with empty paragraphs.
13291         Use Painter::rectangle to draw EMPTY_BOX.
13292
13293 2001-12-19  Juergen Vigna  <jug@sad.it>
13294
13295         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13296         the paragraphs if the replaced paragraph is not the first one!
13297         Tried to delete not used paragraphs but does not work yet so for
13298         now it's inside #ifdef's and by default off!
13299
13300 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13301
13302         * MenuBackend.C: include "lyx_main.h" instead of declaring
13303         lastfiles (actually was declared as LastFiles* instead of a
13304         scoped_ptr).
13305
13306 2001-12-17  Juergen Vigna  <jug@sad.it>
13307
13308         * tabular.C (AppendColumn): applied John's fix
13309
13310 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * BufferView.h:
13313         * BufferView.C:
13314         * BufferView_pimpl.h:
13315         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13316
13317         * Makefile.am:
13318         * box.h: new start of class for above
13319
13320         * lyxfunc.C: ignore space-only minibuffer dispatches.
13321           Show the command name when it doesn't exist
13322
13323         * minibuffer.C: don't add empty lines to the history
13324
13325         * minibuffer.C: add a space on dropdown completion
13326
13327 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13328
13329         * text.C: fix line above/below drawing in insets
13330
13331 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13332
13333         * lyxlength.C (LyXLength): Initialize private variables.
13334
13335 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13338         when inserting error insets.
13339
13340 2001-12-13  Juergen Vigna  <jug@sad.it>
13341
13342         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13343         actually sometimes the before-paragraph.
13344         (setUndo): don't clear the redostack if we're not actually undoing!
13345
13346 2001-12-06  Juergen Vigna  <jug@sad.it>
13347
13348         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13349         and fixed redoing of main paragraph, so we can use it now ;)
13350
13351         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13352
13353 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13354
13355         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13356         Juergen's request
13357
13358 2001-12-13  André Pönitz <poenitz@gmx.net>
13359
13360         * undostack.[Ch]:
13361         * undo_func.C: minor cleanup
13362
13363 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13364
13365         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13366         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13367         font in urw-fonts package which is marked as -urw-fontspecific and
13368         does not work (incidentally, changing the encoding in the
13369         fonts.dir of this package to -adobe-fontspecific fixes the
13370         problem).
13371
13372         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13373         is a crash when undoing first paragraph (Juergen, please take a
13374         look). THis does not mean the undo fix is wrong, just that it
13375         uncovers problems.
13376
13377         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13378         the (Paragraph*) version when needed instead of duplicating the
13379         code.
13380
13381         * text.C (workWidth): use Inset::parOwner to find out where the
13382         inset has been inserted. This is a huge performance gain for large
13383         documents with lots of insets. If Inset::parOwner is not set, fall
13384         back on the brute force method
13385
13386         * paragraph_pimpl.C (insertInset):
13387         * paragraph.C (Paragraph):
13388         (cutIntoMinibuffer): set parOwner of insets when
13389         inserting/removing them
13390
13391         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13392
13393 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13394
13395         * commandtags.h:
13396         * LyXAction.C:
13397         * lyx_main.C:
13398         * lyxfunc.C:
13399         * mathed/formulabase.C:
13400         * mathed/math_cursor.[Ch]:
13401         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13402
13403
13404 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13405
13406         * lyxlength.[Ch] (operator!=): new function
13407
13408 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13409
13410         * text.C (workWidth): use Inset::parOwner to find out where the
13411         inset has been inserted. This is a huge performance gain for large
13412         documents with lots of insets. If Inset::parOwner is not set, fall
13413         back on the brute force method
13414
13415         * paragraph_pimpl.C (insertInset):
13416         * paragraph.C (Paragraph):
13417         (cutIntoMinibuffer): set parOwner of insets when
13418         inserting/removing them
13419
13420         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13421
13422 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13423
13424         * tabular-old.C (getTokenValue):
13425         * tabular.C (getTokenValue):
13426         (write_attribute): new versions for LyXLength
13427         (everywhere): adjust the use of widths
13428
13429         * tabular.h: change the type of widths from string to LyXLength
13430
13431 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13432
13433         * paragraph.C: fixed missing line number count when exporting
13434         Environments to LaTeX file
13435
13436         * buffer.C: added informational message for checking line numbers.
13437
13438 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13439
13440         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13441         paragraph, do the 'double space' part, but not the 'empty
13442         paragraph' one.
13443
13444         * text.C (workWidth): small optimization
13445         (getLengthMarkerHeight): use minimal size for negative lengths.
13446
13447 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13448
13449         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13450
13451         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13452
13453 2001-12-11  André Pönitz <poenitz@gmx.net>
13454
13455         * FontLoader.C:
13456         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13457
13458 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13459
13460         * text2.C: keep selection on a setFont()
13461
13462 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * lyx_cb.C: another bv->text misuse, from insert label
13465
13466 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13467
13468         * kbsequence.h:
13469         * kbsequence.C: re-instate nmodifier mask
13470
13471 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * lyx_main.h: make lyxGUI private.
13474
13475 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13476
13477         * lyxfind.C: place the cursor correctly on failed search
13478
13479 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13480
13481         * text.C (getLengthMarkerHeight): for small heights, the arrows
13482         are not always on top/bottom of the text
13483         (drawLengthMarker): smaller arrows; take the left margin in
13484         account; draw also vfills.
13485         (paintFirstRow):
13486         (paintLastRow): remove special code for vfill and standard spaces,
13487         since everything is handled in drawLengthMarker now.
13488
13489 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * buffer.C (insertErtContents): try to handle font and language
13492         interaction a bit better.g
13493
13494         * ColorHandler.C (updateColor): change the hash to cover the whole
13495         LColor enum, ws cleanup
13496         (getGCLinepars): ditto
13497         (getGCLinepars): only lookup in the linecache once.
13498
13499 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13500
13501         * iterators.C (operator++): Make the iterator more robust
13502
13503         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13504         (John's patch)
13505         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13506
13507 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * lyxtext.h:
13510         * text.C: better added space drawing
13511
13512 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * LyXView.C:
13515         * BufferView2.C: fix layout combo update on inset unlock
13516
13517 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * Makefile.am: don't compile unused files
13520
13521 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * lyxfunc.C:
13524         * commandtags.h:
13525         * LyXAction.C: remove old LFUN_LAYOUTNO
13526
13527 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13528
13529         * paragraph_pimpl.h:
13530         * paragraph_pimpl.C: isTextAt() doesn't need font param
13531
13532 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * lyxlex.h:
13535         * lyxlex.C: little cleanup
13536
13537 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13538
13539         * BufferView_pimpl.C: fix insertAscii for insets
13540
13541 2001-12-05  Juergen Vigna  <jug@sad.it>
13542
13543         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13544         set the right font on the "multi" paragraph paste!
13545
13546 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * trans_decl.h:
13549         * trans_mgr.[Ch]:
13550         * trans.[Ch]:
13551         * lyxgluelength.C:
13552         * lyxlength.C: remove out-commented code.
13553
13554         * BufferView_pimpl:
13555         * CutAndPaste.C:
13556         * DepTable.C:
13557         * buffer.C:
13558         * chset.C:
13559         * lastfiles.C:
13560         * lyxlex.C:
13561         * lyxlex_pimpl.C:
13562         * lyxserver.C:
13563         * screen.C:
13564         * tabular-old.C:
13565         * tabular.C:
13566         * text.C:
13567         * trans_mgr.C:
13568         * vc-backend.C: change "while(" to "while ("
13569
13570         * lyxlength.[Ch]: add zero function to check if length is zero or
13571         not
13572         * lyxgluelength.C: use it
13573
13574 2001-12-05  Allan Rae  <rae@lyx.org>
13575
13576         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13577         Works for 2.95.3, from what I understand of Garst's reports this should
13578         work for other g++ versions.  We're screwed if the abs(int) definition
13579         changed between bugfix releases of gcc.
13580
13581 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13582
13583         * text.C: fix chapter label offset !
13584
13585 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * lyxtext.h:
13588         * text.C: fix hfill at end of line, clean up
13589
13590 2001-12-04  Juergen Vigna  <jug@sad.it>
13591
13592         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13593         that we force an update of the inset and it's owners if neccessary.
13594
13595 2001-12-03  Juergen Vigna  <jug@sad.it>
13596
13597         * text.C (rowLast): simplified code
13598
13599 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13600
13601         * lyxfunc.C: fix show options on timeout
13602
13603 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * screen.C (topCursorVisible): scroll half a page when the cursor
13606         reached top of bottom of screen
13607
13608 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13609
13610         * minibuffer.C: deactivate on loss of focus
13611
13612 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13613
13614         * vspace.[Ch] (operator!=): add operator.
13615
13616 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * BufferView_pimpl.C: refuse to open an inset when
13619         there's a selection.
13620
13621 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13622
13623         * BufferView_pimpl.C: allow to click on RHS of full row insets
13624
13625 2001-11-30  Juergen Vigna  <jug@sad.it>
13626
13627         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13628         insets for undo reasons.
13629
13630 2001-11-28  André Pönitz <poenitz@gmx.net>
13631
13632         * vspace.[Ch]: cosmetical changes
13633
13634 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13635
13636         * LyXAction.h:
13637         * LyXAction.C:
13638         * lyxfunc.h:
13639         * lyxfunc.C:
13640         * kbmap.h:
13641         * kbmap.C:
13642         * lyxrc.C:
13643         * kbsequence.h:
13644         * kbsequence.C: part re-write of old kb code
13645
13646         * Painter.C:
13647         * WorkArea.C: remove Lgb_bug_find_hack
13648
13649 2001-11-30  José Matos <jamatos@fep.up.pt>
13650
13651         * buffer.C (makeDocBookFile): add a comment to point a hack.
13652         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13653         Fixed a double write of labels.
13654
13655 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13656
13657         * LaTeX.C:
13658         * LaTeX.h Fixed bug in LaTeX class where it would not
13659         re-run latex if no depfiles were changed, but the .dvi was removed.
13660
13661 2001-11-28  André Pönitz <poenitz@gmx.net>
13662
13663         * all the files from the change on 2001/11/26:
13664         use lyx::layout_type instead of LyXTextClass::size_type
13665         use lyx::textclass_type instead of LyXTextClassList::size_type
13666
13667 2001-11-29  Juergen Vigna  <jug@sad.it>
13668
13669         * text.C: added support for paragraph::isFreeSpacing()
13670
13671         * buffer.C: same as above
13672
13673         * paragraph.h: inserted isFreeSpacing() function to enable
13674         FreeSpacing inside InsetERT.
13675
13676         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13677         of the paragraph's in the cut/copy buffer to 0!
13678
13679         * text2.C (removeRow): remove the assert as it can!
13680
13681         * lyxtext.h: added helper function firstRow returning firstrow and
13682         made firstrow private again.
13683
13684         * BufferView2.C (lockInset): don't relock if we're already locked!
13685
13686         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13687         the only paragraph.
13688         (removeRow): added Assert::(firstrow)
13689
13690         * debug.C: forgot to add INSETTEXT here.
13691
13692 2001-11-28  Juergen Vigna  <jug@sad.it>
13693
13694         * sp_spell.C (initialize): changed error text to more general
13695         spellchecker command use (not only ispell!)
13696
13697         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13698
13699         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13700
13701 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * vspace.C: initialise lyxgluelength on failure
13704
13705 2001-11-28  Allan Rae  <rae@lyx.org>
13706
13707         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13708         declaration & definition that looks like a function declaration.
13709
13710 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * BufferView2.C (copy):
13713         (copyEnvironment): do not clear the selection when doing a copy.
13714
13715         * text.C (paintFirstRow): compilation fix
13716
13717 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13718
13719         * tabular.C (Latex): correct line count when writing latex.
13720
13721 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13722
13723         * paragraph_pimpl.h:
13724         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13725           bug a bit
13726
13727 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * text.C:
13730         * LColor.h:
13731         * LColor.C: change vfillline->added_space
13732
13733         * text.C: add markers and text for added space
13734
13735         * vspace.C: fix comment
13736
13737 2001-11-28  André Pönitz <poenitz@gmx.net>
13738
13739         * paragraph.C: whitespace changes
13740         * all the other files from the change on 2001/11/26:
13741         change *::pos_type into lyx::pos_type
13742
13743 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13744
13745         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13746         language of the document when inserting error insets.
13747
13748 2001-11-26  André Pönitz <poenitz@gmx.net>
13749
13750         * BufferView_pimpl.[Ch]:
13751         *       CutAndPaste.C:
13752         * buffer.[Ch]:
13753         * lyxcursor.[Ch]:
13754         * lyxfind.C:
13755         * lyxfunc.C:
13756         * lyxrow.[Ch]:
13757         * paragraph.[Ch]:
13758         * paragraph_pimpl.[Ch]:
13759         * sp_spell.C:
13760         * text.C:
13761         * text2.C: reduce header dependencies, introduce type for positions
13762
13763 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * <various>: change to use Alert.h
13766
13767 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13768
13769         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13770         when encountering an unknown token.
13771         (readLyXformat2): Show an error message if there were unknown tokens.
13772
13773 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13774
13775         * BufferView2.C:
13776         * BufferView_pimpl.C:
13777         * buffer.C:
13778         * paragraph.h:
13779         * text.C:
13780         * text2.C: use par->isInset()
13781
13782 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13783
13784         * paragraph_pimpl.h:
13785         * paragraph_pimpl.C: cleanup
13786
13787 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13788
13789         * text2.C (removeRow):
13790         * text.C (setHeightOfRow): remove useless (and costly) call to
13791         getRow.
13792
13793 2001-11-20  Allan Rae  <rae@lyx.org>
13794
13795         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13796         Now need Inset*::checkInsertChar() to return true for appropriate
13797         cases so that the characters in the minibuffer will actually be
13798         inserted.
13799
13800 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * text.C: change the order of the includes.
13803         (workWidth): initialize it at once.
13804         (workWidth): make maxw unsigned
13805         (setHeightOfRow): remove unused variable (inset)
13806         (selectSelectedWord): remove unused variable (inset)
13807         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13808
13809 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13812         server is not running.
13813         (openConnection):
13814         (closeConnection): add debug info when server is disabled.
13815
13816         * ColorHandler.C (getGCForeground): send debug message to GUI
13817         channel.
13818
13819         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13820
13821         * kbmap.C (bind): modify because return conventions of
13822         kb_sequence::parse have changed.
13823
13824         * kbsequence.C (parse): only ignore spaces and not any stupid
13825         control character. This avoids tests like s[i] <= ' ', which are
13826         guaranteed to fail with 8bit characters and signed chars.
13827         Change return code to string::npos when there have been no error
13828         (0 was a bad idea when error is at first character)
13829
13830 2001-11-14  José Matos  <jamatos@fep.up.pt>
13831
13832         * buffer.h:
13833         * buffer.C (simpleDocBookOnePar): removed unused argument.
13834
13835 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13838         insets which are part of a word. Paragraph::isLetter takes care of
13839         that now. Use Paragraph::isInset to identify insets.
13840         (selectSelectedWord): do not test for hyphenation break.
13841
13842         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13843         that protected spaces are considered as spaces.
13844
13845         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13846         Inset::isLetter.
13847
13848 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13849
13850         * lyxserver.h:
13851         * lyxserver.C: fix it. and small cleanup.
13852
13853 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * BufferView_pimpl.C: use inline helpers
13856
13857         * LaTeXFeatures.h:
13858         * LaTeXFeatures.C: fix typos
13859
13860         * Spacing.h:
13861         * Spacing.C: move spacing_string into class
13862
13863         * ToolbarDefaults.C: move stuff into namespace anon
13864
13865         * layout.h: update enum
13866
13867         * lyxfunc.C: use better debug
13868
13869         * minibuffer.h: fix typo
13870
13871         * debug.h:
13872         * debug.C:
13873         * WorkArea.C: add and use Debug::WORKAREA
13874
13875         * lyxtext.h:
13876         * text.C:
13877         * text2.C: code re-organisation, inline helpers
13878
13879 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13880
13881         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13882         std::vector.empty().
13883
13884 2001-11-09  Allan Rae  <rae@lyx.org>
13885
13886         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13887         '\n's after tables.  Tabular and ERT inset work now makes this no
13888         longer necessary.
13889
13890 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * minibuffer.h:
13893         * minibuffer.C: fix crash, improve drop-down completion
13894
13895 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * lyxserver.h:
13898         * lyxserver.C: invalidate fd's when doing endPipe()
13899
13900 2001-11-08  José Matos  <jamatos@fep.up.pt>
13901
13902         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13903         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13904
13905         * paragraph.h:
13906         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13907
13908 2001-11-07  José Matos  <jamatos@fep.up.pt>
13909
13910         * buffer.h:
13911         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13912         const qualifier.
13913
13914         * buffer.C (sgmlOpenTag):
13915         * buffer.C (sgmlCloseTag): removed debug info.
13916
13917         * buffer.h (sgmlOpenTag):
13918         * buffer.h (sgmlCloseTag): made public.
13919
13920 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13921
13922         * buffer.C (saveParamsAsDefaults):
13923         * lyx_cb.C (MenuLayoutSave): remove
13924
13925         * LyXAction.C (init):
13926         * commandtags.h:
13927         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13928
13929 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * buffer.C (setPaperStuff): removed from here...
13932
13933         * bufferparams.C (setPaperStuff): ... and moved there.
13934
13935 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * minibuffer.h:
13938         * minibuffer.C:
13939         * XFormsView.C: add support for drop-down completion
13940
13941 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13942
13943         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13944         commands.
13945
13946 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13949         disabled.
13950
13951 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13952
13953         * lyx_main.C: change ref to known bugs
13954
13955 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13956
13957         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13958         to work around older babel problems.
13959
13960 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13961
13962         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13963
13964 2001-10-24  Juergen Vigna  <jug@sad.it>
13965
13966         * tabular-old.C (ReadOld): below variable changes reflected.
13967
13968         * tabular.[Ch]: added ltType struct for longtable header/footer
13969         defines and changed all instances where they are used. Added
13970         future support for double top/bottom rows.
13971
13972 2001-10-24  José Matos  <jamatos@fep.up.pt>
13973
13974         * buffer.h (docbookHandleCaption):
13975         * buffer.C (docbookHandleCaption): removed unused function.
13976         (makeDocBookFile): moved docbook supported version to v4.1.
13977
13978 2001-10-24  José Matos  <jamatos@fep.up.pt>
13979
13980         * tabular.h:
13981         * tabular.C (docbookRow): new function to export docbook code of a row.
13982         (DocBook): now honors the longtable flags.
13983
13984 2001-10-23  José Matos  <jamatos@fep.up.pt>
13985
13986         * LaTeXFeatures.h:
13987         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13988         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13989
13990         * buffer.C (makeLinuxDocFile):
13991         (makeDocBookFile): reworked the preamble, more clean, and with
13992         support for lyx defined entities. Changed the document declaration
13993         to be more XML friendly.
13994
13995         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13996         if we need to output XML that should be done with a filter.
13997
13998 2001-10-22  Juergen Vigna  <jug@sad.it>
13999
14000         * sp_pspell.h (class PSpell): add alive function needed in the
14001         controller to see if the spellchecker could be started.
14002
14003 2001-10-22  Juergen Vigna  <jug@sad.it>
14004
14005         * buffer.C (insertStringAsLines): modify the font for inserting
14006         chars in certain conditions by calling checkInsertChar(font).
14007
14008 2001-10-19  Juergen Vigna  <jug@sad.it>
14009
14010         * text.C (workWidth): use getRow instead of wrong algorithm.
14011         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14012
14013 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14014
14015         * lyxserver.h:
14016         * lyxserver.C:
14017         * lyx_main.h:
14018         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14019
14020 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14021
14022         * text.C (workWidth): do not search for the exact row when
14023         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14024         optimization for big documents.
14025
14026 2001-10-18  Juergen Vigna  <jug@sad.it>
14027
14028         * text.C (workWidth): new function with added Inset * parameter.
14029
14030 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14033
14034         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14035         change return type of getColumnNearX.
14036
14037
14038         * text.C (changeRegionCase): use uppercase/lowercase instead of
14039         toupper/tolower.
14040         (leftMargin):
14041         (rightMargin): simplify code by factoring out the uses of
14042         textclasslist.
14043         (labelFill):
14044         (numberOfHfills):
14045         (setHeightOfRow):
14046         (appendParagraph): use Paragraph::size_type
14047
14048 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14049
14050         * vspace.C (asLatexString): add a missing break
14051
14052 2001-10-15  Herbert Voss  <voss@perce.de>
14053
14054         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14055
14056 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14057
14058         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14059         is not available.
14060
14061 2001-10-10  André Pönitz <poenitz@gmx.net>
14062
14063         * lyxfunc.C: removed greek_kb_flag.
14064
14065 2001-10-10  Herbert Voss  <voss@perce.de>
14066
14067         * lyx_main.C: delete global string help_lyxdir.
14068
14069 2001-10-09  Herbert Voss  <voss@perce.de>
14070
14071         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14072
14073         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14074
14075         * lyx_main.C: added global string help_lyxdir.
14076
14077         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14078
14079 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14080
14081         * lyxrc.C (set_font_norm_type): support iso8859-4
14082
14083 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14084
14085         * LaTeX.C (deplog): add another regex for MikTeX
14086
14087 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14088
14089         * lyxrc.C (set_font_norm_type): support iso8859-3
14090
14091 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14094
14095         * LaTeXFeatures.C: remove special case of french and index
14096
14097         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14098         before \begin{document}). This solves several incompatibilities.
14099
14100 2001-10-03  Garst Reese  <reese@isn.net>
14101
14102         * lyx_cb.C: change CheckTex error msg.
14103
14104 2001-10-03  José Matos  <jamatos@fep.up.pt>
14105
14106         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14107
14108 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * .cvsignore: update
14111
14112         * lyx_main.C (commandLineVersionInfo): use new style version info.
14113
14114         * buffer.C (writeFile):
14115         (makeLaTeXFile):
14116         (makeLinuxDocFile):
14117         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14118
14119         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14120
14121         * version.h: update to use stuff in version.C
14122
14123         * version.C.in: new file. Contains version information determined
14124         at compile time. This is a merging of version.h and
14125         version_info.h.in.
14126
14127 2001-10-03  Juergen Vigna  <jug@sad.it>
14128
14129         * BufferView_pimpl.C (update): don't change "dirty" status in
14130         updateInset call.
14131
14132 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * WorkArea.C (c-tor): re-position version string slightly.
14135
14136 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14137
14138         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14139         revert to previous code.
14140
14141         WorkArea.[Ch]: (show, destroySplash): methods removed.
14142
14143         WorkArea.C: rework code so that it's an amalgam of the codes before and
14144         after the splash screen was moved to WorkArea.
14145
14146 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * lyxrc.C (read):
14149         * vspace.C (inPixels):
14150         (lyx_advance):
14151         * kbmap.C (bind):
14152         * buffer.C (insertStringAsLines):
14153         (asciiParagraph): fix types to be large enough
14154
14155         * lyxlex_pimpl.h: change member status from short to int
14156
14157         * layout.h: fix type of endlabeltype
14158
14159         * kbmap.C (bind):
14160         * kbsequence.C (parse): change return type to string::size_type
14161
14162         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14163         variable
14164
14165         * Bullet.C (bulletSize):
14166         (bulletEntry): do not use short ints as parameters
14167
14168         * BufferView2.C (insertLyXFile): change a char to an int.
14169
14170         * WorkArea.C (WorkArea): remove unneeded floats in computation
14171
14172 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14173
14174         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14175
14176         * paragraph.C (asString): Do not ignore newline/hfill chars when
14177         copying to the clipboard.
14178
14179 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14180
14181         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14182         after a multi-line inset.
14183
14184 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14185
14186         * paragraph.C (validate): Set NeedLyXFootnoteCode
14187
14188 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14189
14190         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14191         and decrease-error to decrease.
14192
14193 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14194
14195         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14196         it more readable (should be equivalent)
14197
14198 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14199
14200         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14201
14202 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14203
14204         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14205         of a cursor (row, etc.) after a character has been deleted
14206         (deleteEmptyParagraphMechanism): call the method above on _all_
14207         cursors held by the LyXText when a double space has been
14208         detected/deleted.
14209
14210 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14211
14212         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14213         pixmap.
14214         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14215
14216         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14217         background. Use greyOut() and the new show() methods to toggle between
14218         the foreground and background. Add code to remove the splash after
14219         its initial showing.
14220
14221         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14222         (create_forms): no longer call Dialogs::showSplash.
14223
14224 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14225
14226         * .cvsignore: add version_info.h
14227
14228 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * version_info.h.in: new file
14231
14232         * Makefile.am: add version_info.h.in
14233
14234         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14235         version_info.h instead of VERSION_INFO
14236
14237 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14238
14239         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14240         The ERT inset now returns string().
14241
14242 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14243
14244         * lyxtext.h, text.C (selectNextWord): renamed as
14245         selectNextWordToSpellcheck.
14246
14247         * text.C (selectNextWordToSpellcheck): Modified to not select
14248         words inside an ERT inset.
14249
14250 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * lyx_cb.C (MenuLayoutSave): change a bit the question
14253
14254         * sp_base.h: include <sys/types.h>
14255
14256 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14257
14258         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14259
14260 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14261
14262         * several files: fix typos in user-visible strings
14263
14264 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14265
14266         * text2.C (pasteSelection): do not set the selection, since it
14267         will be cleared later. Actually, the intent was to fix the way the
14268         selection was set, but I figured rmoving the code was just as good.
14269
14270 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14271
14272         * FontLoader.C (available): Check if font is available without
14273         loading the font.
14274
14275 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14276
14277         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14278
14279 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14280
14281         * lyxrc.[Ch]: added display_graphics variable and associated code.
14282
14283 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14284
14285         * bufferparams.C (hasClassDefaults): new method. Returns true if
14286         the buffer parameters correspond to known class defaults
14287
14288 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14289
14290         * XFormsView.C (show): set minimum size to the main window.
14291
14292 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14293
14294         * text2.C (copySelection):
14295         (cutSelection):
14296         * lyxfind.C (LyXReplace):
14297         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14298         LyXText::selectionAsString.
14299
14300         * paragraph.C (asString): add "label" argument to the second form
14301
14302         * text2.C (selectionAsString): add "label" argument and pass it to
14303         Paragraph::asString.
14304
14305 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14306
14307         * lyx_main.C (commandLineHelp): remove version information
14308
14309 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14310
14311         * lyx_main.C: add -version commandline option
14312
14313 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14314
14315         * paragraph.h: make the optional constructor arg required instead.
14316         some modifications to other files because of this.
14317
14318         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14319
14320         * lyxserver.C (C_LyXComm_callback): make it static
14321
14322         * lyx_main.C (error_handler): make it static
14323
14324         * lyx_gui.C (LyX_XErrHandler): make it static
14325
14326         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14327
14328         * WorkArea.C: make the extern "C" methods static.
14329
14330         * Makefile.am (lyx_LDADD): simplify
14331
14332 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14333
14334         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14335         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14336
14337         * LyXAction.C (init):
14338         * lyxfunc.C (dispatch): associated code removal.
14339
14340 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14341
14342         * lyxfont.h (isSymbolFont): shut off warning
14343
14344         * text.C (setHeightOfRow):
14345         (getVisibleRow): fix crash with empty paragraphs which have a
14346         bottom line
14347
14348 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14349
14350         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14351         code.
14352
14353 2001-09-04  José Matos  <jamatos@fep.up.pt>
14354         * buffer.C
14355         * buffer.h
14356         * tabular.C (docbook): rename docBook method to docbook.
14357
14358 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14359
14360         * Makefile.am: add dependencies to main.o.
14361
14362 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14363
14364         * FontLoader.C (available): Return false if !lyxrc.use_gui
14365
14366 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14367
14368         * FontInfo.C (query):
14369         * converter.C (view):
14370         * importer.C (Import):
14371         * exporter.C (Export): Can not -> cannot.
14372
14373 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14374
14375         * BufferView_pimpl.C: allow to create index inset even if
14376           string is empty
14377
14378 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14379
14380         * buffer.C (getLists): replace boost::tie code with an explicit pair
14381         as boost::tie can break some compilers.
14382
14383         * iterators.h: Added a std:: declaration to the return type of
14384         ParIterator::size.
14385
14386 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14387
14388         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14389           case.
14390
14391 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14392
14393         * iterators.[Ch]: New files. Provide paragraph iterators.
14394
14395         * buffer.C (changeLanguage): Use paragraph iterators.
14396         (isMultiLingual): ditto
14397
14398         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14399
14400 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14401
14402         * FontLoader.C: Support for cmr font.
14403
14404 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14405
14406         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14407         (available): New method.
14408
14409         * FontInfo.C (getFontname): Use scalable fonts even when
14410         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14411         found.
14412
14413 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14414
14415         * converter.C (Formats::view): reverted! Incorrect fix.
14416
14417 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14418
14419         * converter.C (Formats::view): only output the -paper option
14420         if the dvi viewer is xdvi, thereby fixing bug #233429.
14421
14422 2001-08-23  Herbert Voss  <voss@perce>
14423
14424         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14425
14426 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14427
14428         * Spacing.h (Spacing): Set space to Default on in the default
14429         constructor.
14430
14431 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14432
14433         * vc-backend.h (RCS::versionString): add RCS to version
14434         (CVS::versionString): add CVS to version
14435
14436         * vc-backend.C (scanMaster): do not add CVS to version.
14437         (scanMaster): do not add RCS to version
14438
14439         * lyxvc.C (versionString): new method
14440
14441         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14442
14443 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14444
14445         * Spacing.C (set): initialize fval
14446
14447 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14448
14449         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14450         " or \.
14451
14452 2001-08-16  Juergen Vigna  <jug@sad.it>
14453
14454         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14455
14456 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * BufferView_pimpl.C:
14459         * figureForm.C:
14460         * lyxtext.h:
14461         * text2.C: setParagraph takes linespacing now
14462
14463 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14464
14465         * LyxAction.C: add internal LFUN_CITATION_INSERT
14466
14467         * LyXView.C: actually apply fix
14468
14469         * bufferlist.C: fix open non-existent file
14470
14471         * lyxfind.C: fix indentation
14472
14473         * lyxfunc.C: remove unneeded assert, fix typo
14474
14475 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14476
14477         * MenuBackend.C: use "Floatname List"
14478
14479 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14480
14481         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14482         when converting LaTeX layout to insetERT.
14483         Generate a non-collapsed float when reading old float
14484
14485 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14486
14487         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14488         ERT insets.
14489
14490 2001-08-13  Juergen Vigna  <jug@sad.it>
14491
14492         * text.C (fill): return 0 instead of 20 as this seems to be the more
14493         correct value.
14494
14495 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14496
14497         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14498         lyxrc.font_norm.
14499
14500 2001-08-13  Juergen Vigna  <jug@sad.it>
14501
14502         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14503         casesensitive off.
14504         (SearchBackward): comment out the unlocking of the inset_owner this
14505         should not be needed!
14506
14507 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14508
14509         * Many files: Remove inherit_language, and add latex_language
14510
14511         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14512         collapsible insets.
14513
14514 2001-08-10  Juergen Vigna  <jug@sad.it>
14515
14516         * text.C (prepareToPrint): fixed hfill-width in draw!
14517
14518         * BufferView2.C (selectLastWord): save the selection cursor as this
14519         now is cleared in the function LyXText::clearSelection!
14520
14521 2001-08-08  Juergen Vigna  <jug@sad.it>
14522
14523         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14524         BACKSPACE type functions.
14525
14526         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14527         is only cutted from the document but not put in the cut-buffer, where
14528         still the old stuff should be.
14529
14530         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14531
14532         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14533
14534         * tabular.C (SetWidthOfCell): fixed special case where the width
14535         was not updated!
14536         (LeftLine): handle '|' in align_special.
14537         (RightLine): ditto
14538         (LeftAlreadyDrawed): ditto
14539         (SetWidthOfCell): ditto
14540
14541 2001-08-07  Juergen Vigna  <jug@sad.it>
14542
14543         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14544
14545 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14548         * lyxlex.[hC]: ditto
14549
14550 2001-08-06  Juergen Vigna  <jug@sad.it>
14551
14552         * text.C (getVisibleRow): fix up row clearing a bit.
14553
14554 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * minibuffer.C: make sure the X server sees the changes in the input.
14557
14558 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * paragraph.C (getFont): split into...
14561         (getLabelFont): this
14562         (getLayoutFont): and this
14563         * paragraph_pimpl.C (realizeFont): calling this
14564
14565         * text2.C (getFont): split into...
14566         (getLayoutFont): this
14567         (getLabelFont): and this
14568         (realizeFont): all three calling this
14569
14570         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14571         files where used.
14572
14573 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14574
14575         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14576
14577 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14578
14579         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14580         layouts from the Quote inset insertion.
14581
14582 2001-08-03  Juergen Vigna  <jug@sad.it>
14583
14584         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14585
14586         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14587         only if status not is already CHANGED_IN_DRAW (second level).
14588
14589         * text.C (draw): don't set the need_break_row when inside an
14590         InsetText LyXText.
14591
14592 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14593
14594         * buffer.C (parseSingleLyXformat2Token): handle more latex
14595         conversion cases.
14596
14597         * bufferview_funcs.[hC]: change function names to
14598         begin with small char, adjust other files.
14599
14600 2001-08-02  André Pönitz <poenitz@gmx.net>
14601
14602         * lyxfunc.C:
14603         BufferView_pimpl.C: remove broken special code for math-greek
14604
14605 2001-08-02  Juergen Vigna  <jug@sad.it>
14606
14607         * BufferView_pimpl.C (update): redone this function so that we
14608         update the text again if there was a CHANGE_IN_DRAW.
14609
14610         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14611         (drawFromTo): added a new internal bool which is used by draw() and
14612         redraw() function.
14613         (general): some cursor drawing problems fixed.
14614
14615 2001-08-01  Juergen Vigna  <jug@sad.it>
14616
14617         * lyxfind.C (LyXFind): fixed
14618         (SearchForward): ditto
14619         (SearchBackward): ditto
14620
14621         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14622         spurius drawing of the cursor in the main area.
14623
14624         * text2.C (status): small fix which could lead to a segfault!
14625         (clearSelection): remove unneeded BufferView param.
14626
14627 2001-08-01  André Pönitz <poenitz@gmx.net>
14628
14629         * lyxfunc.C: small change due to changed mathed interface
14630
14631 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14634
14635 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14636
14637         * lyxfunc.c: fail gracefully if file doesn't exist
14638
14639         * LyXSendto.C:
14640         * buffer.C:
14641         * lyxfunc.C:
14642         * BufferView_pimpl.C: IsDirWriteable() proto changed
14643
14644         * LyXView.C: fix updateWindowTitle() to store the last title
14645
14646 2001-07-31  Juergen Vigna  <jug@sad.it>
14647
14648         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14649         the font (wrong since using of Paragraph::highestFontInRange).
14650
14651         * paragraph.C (highestFontInRange): added a default_size parameter.
14652
14653         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14654         (setHeightOfRow): reformat
14655
14656 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * converter.[hC] + affected files: move to (inital-char)lowercase
14659         function names.
14660
14661         * ParagraphParameters.C (ParagraphParameters): remove commented code
14662
14663         * PainterBase.[Ch]: remove commented code
14664
14665         * LaTeXFeatures.h: add "bool floats" for float.sty
14666
14667         * LaTeXFeatures.C (LaTeXFeatures): init floats
14668         (require): handle float
14669         (getPackages): do it with floats
14670
14671 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14672
14673         * BufferView_pimpl.C (Dispatch): improve handling of
14674         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14675
14676         * commandtags.h: #include lyxfont.h here temporarily to avoid
14677         keybinding bug.
14678
14679         * bufferlist.h: include LString.h here.
14680
14681 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * text2.C (getStringToIndex): new method.
14684
14685 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14686
14687         * *: Reduced header file dependencies all over.
14688
14689 2001-07-30  Baruch Even  <baruch@lyx.org>
14690
14691         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14692
14693 2001-07-29  Baruch Even  <baruch@lyx.org>
14694
14695         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14696
14697 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14698
14699         * ParameterStruct.h (endif): add a default constructor to make
14700         sure that all variables is initialized.
14701
14702         * ParagraphParameters.C (ParagraphParameters): adjust
14703
14704 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14705
14706         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14707         index; also, check that there is something to index, and that it
14708         does not span over several paragraphs.
14709         (doubleClick): use WHOLE_WORD_STRICT for double click.
14710
14711         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14712
14713         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14714         scheme.
14715
14716 2001-07-26  Baruch Even  <baruch@lyx.org>
14717
14718         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14719         an InsetFig figure, backwards compatible reading of old figure code.
14720
14721 2001-07-27  Juergen Vigna  <jug@sad.it>
14722
14723         * text2.C: font.realize function adaption.
14724
14725         * text.C (draw): add a warnings lyxerr text if needed.
14726
14727         * layout.C: font.realize function adaption.
14728
14729         * language.C: add inherit_language and implement it's handlings
14730
14731         * bufferview_funcs.C (StyleReset): remove language parameter from
14732         font creation (should be language_inherit now).
14733
14734         * bufferparams.C (writeFile): handle ignore_language.
14735
14736         * paragraph.C (getFontSettings): the language has to be resolved
14737         otherwise we have problems in LyXFont!
14738
14739         * lyxfont.C (lyxWriteChanges): added document_language parameter
14740         (update): removed unneeded language parameter
14741
14742         * paragraph.C (validate): fixed wrong output of color-package when
14743         using interface colors for certain fonts in certain environments,
14744         which should not seen as that on the final output.
14745
14746 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * BufferView_pimpl.C:
14749         * Thesaurus.h:
14750         * Thesaurus.C:
14751         * Makefile.am:
14752         * commandtags.h:
14753         * LyXAction.C: add thesaurus support
14754
14755         * lyxfind.h:
14756         * lyxfind.C: add "once" parameter, for thesaurus, to not
14757           move to the next match
14758
14759 2001-07-26  Juergen Vigna  <jug@sad.it>
14760
14761         * lyxfont.C (realize): honor ignore_language too!
14762         (resolved): ditto.
14763
14764         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14765
14766         * text.C (draw): one place more for ignore_language to not draw
14767         itself!
14768
14769 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14770
14771         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14772
14773 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14776         the minipage conversion problem.
14777
14778 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14779
14780         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14781         insert an inset.
14782
14783 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * BufferView.h: don't forward declare WorkArea
14786
14787         * BufferView.C: don't include WorkArea.h
14788
14789 2001-07-25  André Pönitz <poenitz@gmx.net>
14790
14791         * commandtags.h:
14792         * LyXAction.C:
14793         * lyxfunc.C:  new LFUN 'math-space'
14794
14795         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14796
14797 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * text2.C (toggleInset): call open/close
14800
14801 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14802
14803         * lyxfunc.C (dispatch): add debug for the disabled case
14804
14805         * font.C (buttonText): make similar to rectText
14806
14807         * buffer.C (readInset): comment out parsing of insetlist and
14808         insttheorem
14809
14810         * PainterBase.C (rectText): small correction
14811
14812         * BufferView_pimpl.C: comment out insettheorem and insetlist
14813         * LyXAction.C: ditto
14814         * commandtags.h: ditto
14815
14816 2001-07-24  Juergen Vigna  <jug@sad.it>
14817
14818         * text.C (draw): honor the ignore_language.
14819
14820         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14821
14822 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14823
14824         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14825         char inset.
14826
14827 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14828
14829         * lyxtext.h: remove unused (and unimplemented) methods
14830
14831 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14832
14833         * text.C (getVisibleRow): honor background color
14834
14835         * PainterBase.h:
14836         * Painter.h: remove default color argument for fillRectangle
14837
14838         * text.C (backgroundColor): new method
14839
14840 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14841
14842         * text.C (getVisibleRow): adjust
14843
14844         * font.[Ch] (rectText): new method, metrics
14845         (buttonText): new method, metrics
14846
14847         * PainterBase.[hC]: make rectText and buttonText always draw and take
14848         fewer paramteres.
14849
14850 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14851
14852         * ToolbarDefaults.C (read):
14853         * MenuBackend.C (read): allow escaping in all strings
14854
14855         * BufferView_pimpl.C (insertAndEditInset): new method.
14856         (Dispatch): use insertAndEditInset whenever appropriate.
14857
14858         * BufferView_pimpl.C (insertNote): removed
14859
14860         * BufferView_pimpl.C (smartQuote): new method, moved from
14861         BufferView; if an insetquote cannot be inserted, insert a '"'
14862         character instead.
14863
14864         * BufferView2.C: remove insertCorrectQuote();
14865
14866         * lyxfunc.C (getStatus): Add support for all remaingin
14867         inset-insert lfuns.
14868
14869         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14870
14871         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14872         command (necessary to pass " as parameter of self-insert.
14873
14874         * text.C (selectWordWhenUnderCursor):
14875         (selectWord): add word_location parameter
14876         (selectWordWhenUnderCursor): same + remove special code for word
14877         boundary.
14878         (selectNextWord): use kind() to guess type of insetspecialchar,
14879         not latex().
14880
14881         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14882         (insertErtContents): create ert insets as collapsed.
14883         (readInset): better compatibility code for Info inset.
14884
14885 2001-07-20  Juergen Vigna  <jug@sad.it>
14886
14887         * lyxfunc.C (dispatch): use always LyXFind now!
14888
14889         * text2.C (init): add a reinit flag so that the LyXText can be
14890         reinited instead of deleted and reallocated (used in InsetText).
14891
14892         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14893
14894         * text.C: ditto
14895
14896         * text2.C: ditto
14897
14898 2001-07-18  Juergen Vigna  <jug@sad.it>
14899
14900         * text.C (selectNextWord): handle insets inside inset by calling
14901         always the bv->text functions so that we can go up the_locking_inset!
14902
14903         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14904         in strange locations when inside an inset!
14905
14906         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14907         handling to include insets.
14908
14909         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14910
14911 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * LyXAction.C (init):
14914         * commandtags.h:
14915         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14916         LIGATURE_BREAK, since the name is so stupid.
14917
14918 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14919
14920         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14921         InsetInfos.
14922
14923         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14924
14925         * sp_form.[Ch]: remove.
14926
14927         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14928
14929         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14930         InsetInfo.
14931
14932         * src/buffer.C (readInset): ditto.
14933
14934 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14935
14936         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14937         menuSeparator(), endOfSentenceDot(), ldots() and
14938         hyphenationPoint(), which are therefore removed.
14939         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14940
14941         * LyXAction.C (init):
14942         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14943
14944         * paragraph.C (getWord): removed.
14945
14946         * BufferView_pimpl.C (Dispatch): use last word or selection for
14947         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14948
14949         * lyx_main.C (queryUserLyXDir): do not ask before creating
14950         user_dir, except if it has been named explicitely.
14951
14952 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14953
14954         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14955         a document of zero size.
14956
14957 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14958
14959         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14960         approriately in the c-tor and in require().
14961         (getPackages): output the appropriate LaTeX for natbib support.
14962
14963         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14964         variables "use_natbib" and "use_numerical_citations" when reading the
14965         LyX file.
14966         (readInset): read the various natbib cite commands.
14967         (validate): white-space change.
14968
14969         * bufferparams.[Ch]: new variables "bool use_natbib" and
14970         "bool use_numerical_citations".
14971         (writeFile): output them in the LyX file.
14972
14973 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14974
14975         * lyxfunc.C (getStatus): add support for all the inset insertion
14976         commands.
14977
14978         * text2.C (insertInset):
14979         * paragraph.C (insetAllowed):
14980         * BufferView_pimpl.C (insertInset): update to take in account the
14981         renaming of insertInsetAllowed
14982
14983         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14984
14985         * text2.C (getInset): new method. returns inset at cursor position.
14986
14987         * BufferView_pimpl.C (Dispatch): changes because of this.
14988
14989         * LyXAction.C (init): rename open-stuff to inset-toggle.
14990
14991         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14992
14993         * text2.C (toggleInset): renamed from openStuff; use
14994         Inset::open().
14995
14996 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14997
14998         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14999
15000         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15001
15002 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * buffer.C (readLyXformat2): Add filename to the error dialog
15005
15006 2001-07-18  Juergen Vigna  <jug@sad.it>
15007
15008         * tabular.C (GetCellNumber): put an assert here instead of the check!
15009
15010 2001-07-17  Juergen Vigna  <jug@sad.it>
15011
15012         * BufferView_pimpl.C (toggleSelection): adapted too.
15013
15014         * text.C (selectNextWord): adapted for use with insets.
15015         (selectSelectedWord): ditto
15016
15017 2001-07-17  Juergen Vigna  <jug@sad.it>
15018
15019         * sp_spell.C (PSpell): fix initialitation order.
15020
15021 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15022
15023         * paragraph.C: spacing
15024
15025 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15026
15027         * sp_spell.C: repair language selection for pspell
15028
15029 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15030
15031         * lyxfunc.h: change more methods to begin with lower char.
15032
15033 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15034
15035         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15036         for unknown layouts.
15037
15038 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15039
15040         * buffer.C (readLyXformat2): Generate an error dialog if there are
15041         unknown layouts.
15042
15043 2001-07-16  Juergen Vigna  <jug@sad.it>
15044
15045         * sp_spell.C: always compile ISpell part.
15046
15047         * lyxrc.C: added use_pspell entry and it's handling.
15048
15049 2001-07-13  Juergen Vigna  <jug@sad.it>
15050
15051         * sp_spell.C: removed double includes.
15052
15053 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15054
15055         Consistent use of Lsstream.h:
15056         * Lsstream.h: added using std::stringstream for consistencies sake.
15057
15058         * buffer.C: removed using std::stringstream
15059
15060         * lyxfont.C (stateText):
15061         * paragraph.C (asString):
15062         * text.C (selectNextWord, selectSelectedWord):
15063         * text2.C (setCounter):
15064         * vspace.C (asString, asLatexString):
15065         std::ostringstream -> ostringstream.
15066
15067 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15068
15069         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15070         * commandtags.h: add LFUN_HELP_ABOUTLYX
15071         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15072
15073 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15074
15075         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15076         cursorToggle()
15077         * lyx_gui_misc.C: remove spellchecker
15078         * lyxfunc.C: showSpellchecker
15079         * sp_base.h: added
15080         * sp_ispell.h: added
15081         * sp_pspell.h: added
15082         * sp_spell.C: added
15083         * sp_form.[Ch]: removed
15084         * spellchecker.[Ch]: removed
15085
15086 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15087
15088         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15089         is set.
15090         (simpleTeXSpecialChars): Simply print the input character without
15091         any special translation if pass_thru is set.
15092
15093         * layout.h: Added bool pass_thru to layout class for being able to
15094         implement pass through of a paragraph for Literate Programming.
15095
15096         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15097         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15098         * layout.C (Read): add "passthru" to list of layout tags and add
15099         code to set the pass_thru boolean when it is read.
15100
15101 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * trans_decl.h: remove allowed from KmodInfo
15104
15105         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15106         remove allowed code
15107         (Load): adjust
15108
15109         * paragraph_pimpl.C (erase): use boost::prior
15110
15111         * Painter.C (text): use data() instead of c_str() when length is
15112         also provided.
15113         * WorkArea.C (putClipboard): ditto
15114         * font.h (width): ditto
15115
15116         * BufferView2.C: use it-> instead of (*it). for iterators
15117         * texrow.C: ditto
15118         * paragraph_pimpl.C: ditto
15119         * paragraph.C: ditto
15120         * minibuffer.C: ditto
15121         * language.C: ditto
15122         * kbmap.C: ditto
15123         * encoding.C: ditto
15124         * counters.C: ditto
15125         * converter.C: ditto
15126         * chset.C: ditto
15127         * Variables.C: ditto
15128         * TextCache.C: ditto
15129         * MenuBackend.C: ditto
15130         * LyXAction.C: ditto
15131         * LColor.C: ditto
15132         * FloatList.C: ditto
15133         * DepTable.C: ditto
15134         * ColorHandler.C (LyXColorHandler): ditto
15135
15136 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15139
15140         * text2.C (openStuff): reintroduce this method (which had been
15141         nuked in NEW_INSETS frenzy).
15142
15143         * lyxfunc.C (Dispatch): when an action has not been handled, use
15144         its name in the error message, not its number.
15145
15146         * paragraph.C (inInset): change method name to begin with lowercase.
15147
15148         * undo_funcs.C:
15149         * text2.C: updates because of this.
15150
15151 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15152
15153         * ToolbarDefaults.C (add): add spaces in error message
15154
15155 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15158         (readLyXformat2): rename return_par to first_par, use lyxlex's
15159         pushToken and remove the manual push handling.
15160         (parseSingleLyXformat2Token): add another ert comp. variable:
15161         in_tabular, rename return_par to first_par. handle newlines better
15162
15163 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15166
15167 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15168
15169         * text2.C (getParFromID): removed
15170
15171         * buffer.C (getParFromID): new method moved form lyxtext.
15172         * BufferView2.C (insertErrors): adjust
15173         (setCursorFromRow): adjust
15174         * BufferView_pimpl.C (restorePosition): adjust
15175         * lyxfunc.C (Dispatch): adjust
15176         * undo_funcs.C (textUndo): adjust
15177         (textRedo): adjust
15178         (textHandleUndo): adjust
15179         (textHandleUndo): adjust
15180
15181 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15182
15183         * buffer.C: up' the LYX_FORMAT
15184
15185         * lyxfont.h: turn NO_LATEX on as default
15186
15187         * buffer.C (insertErtContents): new methods of tex style compability.
15188         (parseSingleLyXformat2Token): use it several places.
15189         * tabular.C (OldFormatRead): and here
15190
15191 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15192
15193         * text2.C: remove some commented code.
15194         reindent file.
15195
15196         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15197         * trans.C: changes because of the above.
15198
15199 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * text2.C (setCounter): Fix counters bug with bibliography layout.
15202
15203 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15206         own member functions
15207         (simpleTeXSpecialChars): ditto
15208
15209 2001-07-06  Juergen Vigna  <jug@sad.it>
15210
15211         * a lot of files: changed the access to LyXText::status and the
15212         call of undo-functions.
15213
15214         * undo.[Ch]: added a inset_id to the undo informations.
15215
15216         * undo_funcs.[Ch]: added and moved here all undo functions.
15217
15218         * lyxtext.h: give the status enum a weight, made status_ a private
15219         variable and made accessor functions for it, removed the whole bunch
15220         of undo-functions as they are now in their own file, make some
15221         functions publically available. Added function ownerParagraph with
15222         int parameter.
15223
15224         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15225         made InInset() a const function, added getParFromID() function.
15226
15227         * buffer.[Ch]: added const version for inset_iterator functions,
15228         added getInsetFromID() function.
15229
15230         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15231         changed undo functions for new version.
15232
15233 2001-07-05  Juergen Vigna  <jug@sad.it>
15234
15235         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15236         unknow mechanism does not call the proper constructor but only this
15237         one also if I request the other!?
15238
15239 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15240
15241         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15242
15243         * text2.C (LyXText): use initialization lists.
15244
15245         * lyxtext.h (Selection): initialize set_ and mark_
15246         (init): remove method
15247
15248 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15249
15250         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15251
15252 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15253
15254         * screen.[Ch]: change method names to begin with lowercase
15255
15256         * BufferView_pimpl.C (updateScrollbar): simplify further and
15257         hopefully make it a bit faster.
15258
15259 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15262         calling directly xforms functions.
15263
15264         * Painter.C (Painter):
15265         * lyx_cb.C (MenuWrite):
15266         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15267         fl_display.
15268
15269         * lyx_gui.C: remove bogus guiruntime extern declaration.
15270
15271 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15272
15273         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15274         in NEW_INSETS
15275         (redoDrawingOfParagraph): ditto
15276         (redoParagraphs): ditto
15277         (cutSelection): don't create a object for CutAndPaste use the
15278         static method directly
15279         (pasteSelection): ditto
15280
15281         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15282         LyXview (+ rename)
15283
15284 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15285
15286         * modifications to some other files because of this.
15287
15288         * Makefile.am (lyx_SOURCES): add XFormsView
15289
15290         * XFormsView.[Ch]: new files
15291
15292         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15293         the main window. Move the gui dependent stuff to XFormsView
15294
15295 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * tabular.C (GetCellInset): update cur_cell also in the row/col
15298         version of this function.
15299
15300         * lyxfunc.C: no need to include figure_form.h here.
15301
15302         * FontLoader.h:
15303         * lyxfunc.h:
15304         * lyxscreen.h:
15305         * text2.C:
15306         * lyxvc.C: no need to include forms.h here.
15307
15308 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15309
15310         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15311
15312         * lyxfunc.C (Dispatch):
15313         * Spacing.C (set):
15314         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15315         constructor argument.
15316
15317 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15318
15319         * paragraph.C (Paragraph): dont't clear, and just set layout.
15320         (makeSameLayout): use params's copy contructor.
15321
15322         * ParagraphParameters.[Ch] (makeSame): delete method
15323
15324 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15325
15326         * Variables.[Ch]: fix indentation, rename set to isSet
15327
15328 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15329
15330         * lyxfunc.C (Dispatch): fix typo
15331
15332 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15333
15334         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15335         upper_bound.
15336
15337         * bufferlist.C: include assert.h for emergencyWrite().
15338
15339 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15340
15341         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15342           give up at last (bug #425202) !
15343
15344 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * lyx_gui_misc.C:
15347         * sp_form.h:
15348         * sp_form.C:
15349         * spellchecker.h:
15350         * spellchecker.C: strip spellchecker options and bring up
15351           preferences tab instead
15352
15353 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15356         the istringstream constructor
15357
15358 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * paragraph.C (getLayout): fix return value
15361
15362         * paragraph.h: do not declare getLayout as inline.
15363
15364         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15365
15366 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15367
15368         * lyxcursor.h (operator<): new func
15369         (operator>): new func
15370         (operator>=): new func
15371         (operator<=): new func
15372
15373         * text.C (changeCase): use selection.start and selection.end
15374         (changeRegionCase): require from to be <= to. Require par to be a
15375         valid paragraph.
15376
15377         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15378
15379 2001-06-27  Juergen Vigna  <jug@sad.it>
15380
15381         * text.C (cursorLeftOneWord): changed to return the cursor and added
15382         overlay with BufferView * parameter which calls this one.
15383         (getWord): added
15384         (selectWord): use new getWord function.
15385         (changeCase): renamed from changeWordCase as and extended to work
15386         also on selections.
15387
15388         * lyxtext.h: added enum word_location
15389
15390         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15391         changeCase as this operates now also on selections.
15392
15393 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15394
15395         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15396
15397         * many files: send debug output to Debug::INFO instead of
15398         Debug::ANY.
15399
15400         * converter.C (View):
15401         (Convert):
15402         (Move): send debug output to Debug::FILES instead of console.
15403
15404 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15405
15406         * lyxfunc.C (getStatus): use func_status
15407
15408         * func_status.h: new header, describing the results of
15409         LyXFunc::getStatus;
15410
15411         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15412         LFUN_MATH_HALIGN.
15413
15414 2001-06-25  The LyX Project  <jug@sad.it>
15415
15416         * buffer.C (sgmlOpenTag):
15417         (sgmlCloseTag):
15418         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15419
15420 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15421
15422         * text2.C: remove some dead code
15423
15424         * tabular.C (GetCellInset): store the last cell checked (gotten)
15425
15426         * tabular.h: add the helper for the speedup
15427
15428         * lyxtext.h: remove some dead code
15429
15430 2001-06-26  The LyX Project  <Asger>
15431
15432         * paragraph.C: Change export to LaTeX of alignment to
15433         \begin{center} and family for better roundtrip work with reLyX.
15434
15435         * Tune the math drawing a bit.
15436
15437 2001-06-25  The LyX Project  <Asger>
15438
15439         * LColor.C (LColor): New color for math background. New color
15440         for buttons.
15441
15442 2001-06-25  The LyX Project  <jug@sad.it>
15443
15444         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15445
15446         * lyxfunc.C (Open):
15447         * bufferlist.C (newFile): do not restrict to files ending with
15448         .lyx
15449
15450         * BufferView_pimpl.C (MenuInsertLyXFile):
15451
15452 2001-06-24  The LyX Project  <jug@sad.it>
15453
15454         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15455         of compare_no_case
15456
15457 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15458
15459         * lyxtext.h: rename most methods to begin with a small char.
15460         Lots of changes because of this.
15461
15462         * paragraph.C (Paragraph): do not call fitToSize
15463         (erase): call Pimpl::erase
15464         (insertChar): call Pimpl::insertChar
15465         (insertInset): call Pipl::insertInset
15466         (breakParagraph): do not call fitToSize
15467         (breakParagraphConservative): do not call fitToSize
15468         (fitToSize): remove method
15469
15470         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15471
15472 2001-06-24  The LyX Project  <Asger>
15473
15474         * Fix Qt compilation^2
15475
15476 2001-06-24  The LyX Project  <jug@sad.it>
15477
15478         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15479         depthHook(getDepth()-1).
15480
15481         * paragraph.h:
15482         * ParagraphParameters.h:
15483         * ParameterStruct.h: change type of depth to unsigned int ==
15484         depth_type. Many adaptations to other files before of that.
15485
15486 2001-06-24  The LyX Project  <Asger>
15487
15488         * Fix Qt compilation.
15489
15490 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15491
15492         * paragraph.h: renamed several methods to begin with small letter.
15493         several changes to many parts of the code because of this.
15494
15495 2001-06-23  The LyX Project  <jug@sad.it>
15496
15497         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15498         rewritten to discard all double spaces when KeepEmpty is off
15499         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15500         to only handle newlines but not fiddle with spaces and friends.
15501
15502         * lyxfunc.C (MenuNew): when doing 'new from template', use
15503         template_path as default directory
15504
15505 2001-06-23  The LyX Project  <Asger>
15506
15507         * Clean-up of header file includes all over
15508         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15509
15510 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * paragraph.h: renamed from lyxparagraph.h
15513
15514 2001-06-23  Asger  <lyx@violet.home.sad.it>
15515
15516         * Buffer.h: Removed Buffer::resize
15517         * BufferList.h: Removed BufferList::resize
15518         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15519         the document lazily when we change the width, or the font settings.
15520
15521 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15524
15525 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15526
15527         * buffer.h: remove out of date comment
15528
15529 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * lyxscreen.h:
15532         * screen.C: fix "theoretical" GC leak
15533
15534 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15535
15536         * LaTeX.C (scanAuxFile):
15537         (deplog): remove trailing \r when reading stream (useful under
15538         win32)
15539
15540 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15541
15542         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15543         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15544         and BufferView::theLockingInset(Inset*), so should use them and not
15545         access bv_->text->the_locking_inset directly.
15546
15547         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15548
15549 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15550
15551         * Makefile.am:
15552         * tex-defs.h: remove old unused file
15553
15554 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15555
15556         * BufferView_pimpl.C: fix typo, remove minibuffer message
15557           when buffer has loaded
15558
15559 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * lyxfunc.C (Dispatch): use stringstream
15562         (MenuNew): use stringstream
15563         (Open): use stringstream
15564
15565         * importer.C (Import): use stringstream
15566
15567         * bufferview_funcs.C (CurrentState): use stringstream
15568
15569         * LaTeX.C (run): use stringstream
15570
15571         * BufferView_pimpl.C (savePosition): use stringstream
15572         (restorePosition): use stringstream
15573         (MenuInsertLyXFile): use stringstream
15574
15575 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15576
15577         * BufferView.C:
15578         * Bullet.C:
15579         * ColorHandler.C:
15580         * FontInfo.C:
15581         * FontLoader.C:
15582         * LColor.C:
15583         * LaTeXFeatures.C:
15584         * Painter.C:
15585         * gettext.C:
15586         * lyx_gui_misc.C:
15587         * lyxserver.C:
15588         * vspace.C: removed // -*- C++ -*- as first line.
15589
15590         * lyxfind.h:
15591         * version.h: added // -*- C++ -*- as first line.
15592
15593 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15594
15595         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15596
15597         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15598         of string
15599
15600 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15601
15602         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15603         of floats.
15604
15605 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15606
15607         * gettext.C: include LString.h even when --disable-nls is on.
15608
15609 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15610
15611         * converter.h (Get): changed argument type from int to
15612         FormatList::size_type to avoid unnecessary conversion.
15613
15614         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15615         before using it.
15616
15617 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * gettext.h: include LString.h even when --disable-nls is on.
15620
15621 2001-06-07  Juergen Vigna  <jug@sad.it>
15622
15623         * text.C (BreakAgain): subst spaces with tabs.
15624
15625         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15626         (resizeInsetsLyXText): set force on resizeLyXText.
15627
15628 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15629
15630         * gettext.h (gettext_init):
15631         (locale_init): use a real definition instead of a macro
15632
15633 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15634
15635         * Bufferview_pimpl.C:
15636         * LColor.h:
15637         * LColor.C: further lcolor tidies
15638
15639 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * BufferView_pimpl.C (updateScrollbar): simplify.
15642
15643         * BufferView2.C: don't include insets/insetinfo.h, change
15644         prototype for insertInset and call the Pimpl version. let
15645         updateInset call Pimpl version.
15646
15647         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15648         gotoInset to BufferView::Pimpl
15649
15650 2001-06-01  Juergen Vigna  <jug@sad.it>
15651
15652         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15653         inside a LockingInset (is the update needed at all?).
15654
15655 2001-05-31  Juergen Vigna  <jug@sad.it>
15656
15657         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15658         here not the old one otherwise how should we compare it afterwards
15659         if it's the same!
15660
15661 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15662
15663         * lyxfont.C:
15664         * tabular.C:
15665         * tabular-old.C:
15666         * FontInfo.C: bring C functions into global namespace when
15667         necessary
15668
15669 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15670
15671         * LString.h: make sure config.h has been loaded before LString.h.
15672
15673         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15674         (one for each char read by EatLine!).
15675
15676         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15677         variables.
15678
15679 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15680
15681         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15682         to the same as the par we break from
15683
15684 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15685
15686         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15687
15688         * MenuBackend.C (expand): also create menu entries for wide
15689         versions of the floats.
15690
15691         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15692
15693         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15694
15695         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15696         frontends/Makefile.am
15697
15698         * text2.C: adjust
15699         * text.C: adjust
15700
15701
15702         * tabular.C (getTokenValue): add std::
15703
15704         * tabular-old.C (getTokenValue): add std::
15705         (getTokenValue): ditto
15706         (getTokenValue): ditto
15707
15708         * screen.C (ToggleSelection): adjust
15709
15710         * lyxtext.h: put selection cursors inside a Selection struct.
15711
15712         * lyxfunc.C (moveCursorUpdate): adjust
15713
15714         * lyxfont.C (latexWriteStartChanges): add std::
15715
15716         * lyxfind.C: adjust
15717
15718         * font.h: delete with(char const *, LyXFont const &)
15719
15720         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15721
15722         * FontInfo.C (getFontname): add std::
15723
15724         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15725         (workAreaButtonPress): adjust
15726         (tripleClick): adjust
15727         (update): adjust
15728         (moveCursorUpdate): adjust
15729         (Dispatch): adjust
15730
15731         * BufferView2.C (gotoInset): adjust
15732
15733 2001-05-30  Juergen Vigna  <jug@sad.it>
15734
15735         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15736         to check pspell I add this as default as I now have new pspell
15737         libraries and they seem to use this.
15738
15739 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * text2.C (CutSelection): make the cursor valid before the call to
15742         ClearSelection.
15743
15744 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15745
15746         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15747         relied on 0 terminated strings and other horrors. Bug found due to
15748         the new assert in lyxstring!
15749
15750         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15751         KP_ keys.
15752
15753 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15754
15755         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15756         to latinkeys.bind.
15757
15758         * lyxfunc.C (processKeySym): change method of getting to the
15759         self-insert char.
15760
15761         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15762         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15763         * BufferView_pimpl.[Ch]: here as private methods.
15764
15765 2001-05-28  Juergen Vigna  <jug@sad.it>
15766
15767         * text.C (SetHeightOfRow): added the update() call again as it is
15768         needed to initialize inset dimensions!
15769
15770 2001-05-16  Juergen Vigna  <jug@sad.it>
15771
15772         * text2.C (SetCharFont): Add new function with BufferView * and
15773         bool toggleall parameters for setting insets internal fonts.
15774         (SetFont): Freeze the undo as we may change fonts in Insets and
15775         all this change should be inside only one Undo!
15776
15777         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15778         setting font's in insets as for them we have the SetFont function!
15779
15780 2001-05-15  Juergen Vigna  <jug@sad.it>
15781
15782         * text2.C (ClearSelection): to be sure we REALLY don't have any
15783         selection anymore!
15784
15785         * tabular.C (TeXCellPreamble): fixed the left border problem for
15786         multicolumn cells.
15787
15788 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15789
15790         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15791         dependancy file
15792
15793 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15794
15795         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15796         LFUN_BREAKPARAGRAPH.
15797
15798         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15799         help test to "internal only", similar for LFUN_INSERT_URL
15800
15801         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15802         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15803         auto_region_delete and deadkeys.
15804
15805 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15806
15807         * LColor.h:
15808         * LColor.C: remove some dead entries, tidy a little
15809
15810 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15811
15812         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15813         commented code.
15814         (Dispatch): implement LFUN_ESCAPE
15815
15816         * commandtags.h: add LFUN_ESCAPE
15817
15818         * LyXAction.C (init): add entry for LFUN_ESCAPE
15819
15820         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15821         Remove commented code.
15822         (insertNote): moved here
15823         (open_new_inset): moved here
15824
15825         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15826         BufferView_pimpl
15827
15828 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15829
15830         * kbmap.C (findbinding): clean it up and make it work correctly.
15831
15832         * lyx_main.C (init): do not pass argc and argv as parameters
15833
15834 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15835
15836         * buffer.C: fix path for OS/2 & Win32
15837
15838         * lyx_gui.C:
15839         * lyx_main:
15840         * lyx_main.C: Added os:: class.
15841
15842         * os2_defines.h: update
15843
15844 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15847         better by trying again with reduced state.
15848
15849 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15850
15851         * lyxrc.C (read): print error about invalid key sequence only when
15852         debugging (because not all latinX keysyms are known to some X
15853         servers)
15854
15855         * kbsequence.C (getiso): add a few std:: qualifiers
15856         (getiso): comment out extra return statement.
15857
15858 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15859
15860         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15861         handling.
15862         (Dispatch): enhance the accent inset a bit. (not perfect)
15863
15864 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15865
15866         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15867
15868 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * bufferlist.C (emergencyWrite): fix assert() call
15871
15872 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15873
15874         * text.C (InsertChar): Added trivial patch to only send the "you
15875         can not do multiple spaces this way" message once during a
15876         session.
15877
15878 2001-05-08  Baruch Even  <baruch@lyx.org>
15879
15880         * Makefile.am: Changed order of libraries to get LyX to link properly
15881         with the gnome frontend.
15882
15883 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * LaTeXFeatures.h: add a std:: qualifier
15886
15887 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15888
15889         * paragraph.C (String): use stringstream
15890
15891 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15892
15893         * paragraph.C (writeFile): remove footflag arg
15894
15895         * buffer.C (makeLaTeXFile): use stringstream
15896         (latexParagraphs): remove footnot gurba
15897
15898         * LaTeXFeatures.C (getPackages): use stringstream
15899         (getMacros): likewise
15900         (getTClassPreamble): likewise
15901         (getFloatDefinitions): new method
15902
15903         * paragraph.C (writeFile): reindent
15904         (Erase): reindent
15905
15906         * WorkArea.h: revert the xpos + etc changes.
15907
15908         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15909
15910         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15911
15912         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15913         (pasteSelection): likewise
15914         * text2.C (CreateUndo): likewise
15915
15916 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15917
15918         * minibuffer.C (peek_event): temporarily reduce the functionality
15919         of the minibuffer (to allow args on lfuns)
15920
15921         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15922         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15923
15924         * buffer.C (readInset): add compability reading of old float
15925         lists, add reading of new style float list.
15926         (readInset): avoid reevaluation of inscmd.getCmdName()
15927         (getLists): reindent
15928
15929         * MenuBackend.C (MenuItem): implement parsing of
15930         md_floatlistinsert and md_floatinsert.
15931         (expand::LastFiles): move initalizaton of iterators out of loop,
15932         avoid reevaluation.
15933         (expand::Documents): introduce typdedef vector<string> Strings,
15934         and use it.
15935         (expand::ExportFormats): introduce typedef vector<Format const *>
15936         Formats, and use it.
15937         (expand): implement FloatListInsert and FloatInsert.
15938
15939         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15940         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15941         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15942
15943         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15944         handling.
15945         (Dispatch::LFUN_FLOAT_LIST): implement
15946
15947 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15948
15949         * LaTeX.C (run): Fix problem with --export code.
15950
15951 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15952
15953         * BufferView.[Ch] (workarea): removed.
15954         (getClipboard) new method; wrapper for workarea()->getClipboard()
15955
15956         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15957         bug.
15958
15959         * WorkArea.h (width, height, xpos, ypos): These methods all
15960         returned the dimensions of the work_area sub-area of WorkArea,
15961         resulting in a position error if the WorkArea were resized. Now
15962         return the dimensions of the entire WorkArea.
15963
15964         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15965
15966 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15967
15968         * LaTeX.C (deplog): correct the syntax of regex reg1
15969
15970 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * undo.C: remove !NEW_INSETS cruft
15973
15974 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15975
15976         * text2.C: remove !NEW_INSETS cruft
15977
15978         * text.C: remove !NEW_INSETS cruft
15979
15980         * tabular.C: remove !NEW_INSETS cruft
15981
15982         * spellchecker.C: remove !NEW_INSETS cruft
15983
15984         * lyxtext.h: remove !NEW_INSETS cruft
15985
15986         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15987
15988         * lyxfunc.C: remove !NEW_INSETS cruft
15989
15990         * lyxfind.C: remove !NEW_INSETS cruft
15991
15992         * lyx_cb.C: remove !NEW_INSETS cruft
15993
15994         * figureForm.C: remove  !NEW_INSETS cruft
15995
15996         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15997
15998         * buffer.[Ch]: remove !NEW_INSETS cruft
15999
16000         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16001
16002         * CutAndPaste.C: remove !NEW_INSETS cruft
16003
16004         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16005
16006         * BufferView2.C: remove !NEW_INSETS cruft
16007
16008         * BufferView.h: remove !NEW_INSETS cruft
16009
16010 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16011
16012         * Lsstream.h: include LString.h before the sstream headers to
16013         fix problem with gcc 2.95.3 and lyxstring
16014
16015 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16016
16017         * lyx_main.C: add using directives when needed for C functions
16018         declared in std:: namespace.
16019
16020 2001-04-27  Juergen Vigna  <jug@sad.it>
16021
16022         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16023         (SetHeightOfRow): comment out the update call should not be needed!
16024
16025 2001-04-13  Juergen Vigna  <jug@sad.it>
16026
16027         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16028         (LyXTabular): tried to minimize operator= operations (and realized
16029         hopfully Lars wish).
16030
16031 2001-04-27  Juergen Vigna  <jug@sad.it>
16032
16033         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16034
16035 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16036
16037         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16038
16039         * buffer.C (readInset): hack to make listof algorithm work
16040
16041         * BufferView_pimpl.C: hack to make listof algorithm work
16042
16043 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16044
16045         * LyXAction.C: removed all !NEW_INSETS cruft
16046         (init): moved lfun_item in method
16047
16048         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16049
16050 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16051
16052         * BufferView2.C (theLockingInset): white space.
16053
16054 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16055
16056         * minibuffer.C: include <iostream>
16057
16058         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16059
16060         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16061
16062         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16063
16064         * text.[Ch] (TransposeChars): new method
16065
16066 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16067
16068         * call message directly through LyXView instead of through LyXFunc
16069         * BufferView2.C: adjust
16070         * BufferView_pimpl.C: adjust
16071         * FontLoader.C: adjust
16072         * buffer.C: adjust
16073         * bufferview_funcs.C: adjust
16074         * converter.C: adjust
16075         * figureForm.C: adjust
16076         * importer.C: adjust
16077         * lyx_cb.C: adjust
16078         * lyx_gui_misc.C: adjust
16079         * lyxfunc.C: adjust
16080         * lyxvc.C: adjust
16081         * text2.C: adjust
16082         + more files in subdirs
16083
16084         * lyxparagraph.h (size): move up int file
16085         (GetLayout): ditto
16086
16087         * adjust all uses of Assert to lyx::Assert.
16088
16089         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16090         lyxfunctional in namespace lyx
16091         * layout.C (hasLayout): ditto
16092         (GetLayout): ditto
16093         (GetLayout): ditto
16094         (delete_layout): ditto
16095         (NumberOfClass): ditto
16096         * converter.C (GetFormat): ditto
16097         (GetNumber): ditto
16098         (Add): ditto
16099         (Delete): ditto
16100         (SetViewer): ditto
16101         * bufferlist.C (getFileNames): ditto
16102         (emergencyWriteAll): ditto
16103         (exists): ditto
16104         (getBuffer): ditto
16105         * MenuBackend.C (hasSubmenu): ditto
16106         (hasMenu): ditto
16107         (getMenu): ditto
16108         * BufferView_pimpl.C (getInsetByCode): ditto
16109
16110 2001-04-18  Juergen Vigna  <jug@sad.it>
16111
16112         * vspace.C (asLatexString): fixed the 100% problem.
16113
16114 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16115
16116         * lyxfunc.C (Dispatch):
16117         * minibuffer.C:
16118         * minibuffer.h: add a few std:: qualifiers
16119
16120 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16121
16122         * minibuffer.[Ch]: reimplement so that commands is initiated and
16123         run from lyxfunc, simplified som handling, and made the completion
16124         and history code for complete. wip.
16125
16126         * lyxfunc.C (processKeySym): call message
16127         (miniDispatch): new temporary method
16128         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16129         (LFUN_MESSAGE): implement
16130         (LFUN_MESSAGE_PUSH): implement
16131         (LFUN_MESSAGE_POP): implement
16132         (initMiniBuffer): the initial/defualt minibuffer message.
16133
16134         * lyxfont.[Ch]: inline some more getters
16135
16136         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16137
16138         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16139
16140         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16141         (AutoSave): use LFUN_MESSAGE
16142         (Reconfigure): ditto
16143
16144         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16145
16146         * figureForm.C: use LFUN_MESSAGE
16147
16148         * converter.C (runLaTeX): use LFUN_MESSAGE
16149
16150         * bufferview_funcs.C: use LFUN_MESSAGE
16151         (Melt): ditto
16152         (changeDepth): ditto
16153
16154         * bufferparams.h: use boost::
16155
16156         * bufferlist.h: inherit privately from noncopyable
16157
16158         * bufferlist.C (loadLyXFile): remove some commented code.
16159
16160         * buffer.C (runChktex): use LFUN_MESSAGE
16161
16162         * ShareContainer.h: inherit privately from noncopyable
16163
16164         * ParagraphParameters.[hC] (depth): inline it.
16165
16166         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16167         methods.
16168         (message): new method
16169         (messagePush): ditto
16170         (messagePop): ditto
16171         (show): init minibuffer
16172         (showState): direct call
16173
16174         * LaTeX.[Ch]: inherit privately from noncopyable
16175         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16176         instead of WriteStatus.
16177
16178         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16179
16180         * BufferView_pimpl.C (buffer): don't init minibuffer
16181         (workAreaButtonPress): use LFUN_MESSAGE
16182         (workAreaButtonRelease): ditto
16183         (savePosition): ditto
16184         (restorePosition): ditto
16185         (MenuInsertLyXFile): ditto
16186         (workAreaExpose): don't init minibuffer
16187         (update): remove commented code, simplify
16188
16189         * BufferView2.C (openStuff): use LFUN_MESSAGE
16190         (toggleFloat): ditto
16191         (menuUndo): ditto
16192         (menuRedo): ditto
16193         (copyEnvironment): ditto
16194         (pasteEnvironment): ditto
16195         (copy): ditto
16196         (cut): ditto
16197         (paste): ditto
16198         (gotoInset): ditto
16199         (updateInset): remove some commented code
16200
16201         * lastfiles.h: inherit privately from noncopyable
16202         * layout.h: ditto
16203         * lyx_gui.h: ditto
16204         * lyx_main.h: ditto
16205         * lyxlex.h: ditto
16206         * lyxlex_pimpl.h: ditto
16207
16208         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16209         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16210         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16211
16212         * LyXAction.h: inherit privately from noncopyable, add methods
16213         func_begin, func_end, returning iterators to the func map.
16214
16215         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16216         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16217         (func_begin): new method
16218         (func_end): new method
16219
16220         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16221         and not)
16222         (copySelection): ditto
16223         (pasteSelection): ditto
16224
16225         * BufferView.C: whitespace change
16226         * BufferView.h: inherit privately from noncopyable
16227
16228 2001-04-16  Allan Rae  <rae@lyx.org>
16229
16230         * tabular-old.C (l_getline):
16231         * spellchecker.C (sc_check_word):
16232         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16233         an unrecognised preprocessor directive.  So ensure they're wrapped.
16234
16235 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16236
16237         * src/exporter.C (Export): Give an error message when path to file
16238         contains spaces.
16239
16240 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16241
16242         * LaTeX.C (deplog): Always check that foundfile exists.
16243
16244 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16245
16246         * lyx_main.h:
16247         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16248
16249 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * tabular.[Ch] (getLabelList): implement new method
16252
16253         * minibuffer.h: comment ouf setTiimer
16254
16255         * minibuffer.C (ExecutingCB): constify res
16256         (peek_event): constify s
16257         (Set): constify ntext
16258         (Init): constify nicename
16259
16260         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16261
16262         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16263         (savePosition): use two params to Minibuffer::Set
16264         (restorePosition): ditto
16265
16266 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16267
16268         * lyx_main.C: include language.h
16269
16270         * Makefile.am (lyx_main.o): add language.h
16271
16272 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16273
16274         * exporter.C:
16275         * paragraph.C:
16276         * screen.C:
16277         * tabular.C:
16278         * CutAndPaste.C: include gettext.h
16279
16280         * lyxfont.h: remove old hack with ON and OFF.
16281
16282         * lyxparagraph.h:
16283         * lyxfont.h: do not include language.h...
16284
16285         * BufferView2.C:
16286         * LaTeXFeatures.C:
16287         * Painter.C:
16288         * bufferview_funcs.C:
16289         * font.C:
16290         * lyxfont.C:
16291         * text.C:
16292         * text2.C:
16293         * trans_mgr.C:
16294         * paragraph.C: ... but do it here instead
16295
16296 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16297
16298         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16299
16300         * tabular.C: small reformat
16301
16302         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16303         NEW_INSETS version
16304         (GetChar): ditto
16305         (BreakParagraph): ditto
16306         (SetOnlyLayout): ditto
16307         (SetLayout): ditto
16308
16309         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16310         with one arg less.
16311
16312         * lastfiles.C: removed most using decl, add std:: where needed
16313
16314         * buffer.C: ws changes
16315
16316         * MenuBackend.C (class compare_format): put into anon namespace
16317         (expand): constify label, names, action, action2
16318         (expand):
16319
16320         * text.C (SingleWidth): constify font
16321         (IsBoundary): constify rtl2
16322         (GetVisibleRow): constify ww
16323
16324         * LaTeX.C (deplog): constify logfile
16325
16326         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16327         start_x, end_x
16328         (workAreaExpose): constify widthChange, heightChange
16329
16330         * lyxrow.C (par): moved
16331         (height): moved
16332         (next): moved
16333         * lyxrow.h: as inlines here
16334
16335         * lyxfont.h (shape): moved from lyxfont.C
16336         (emph): moved from lyxfont.C
16337
16338         * lyxfont.C (LyXFont): use initialization list for all
16339         constructors
16340         (shape): move to lyxfont.h as inline
16341         (emph): move to lyxfont.h as inline
16342
16343
16344 2001-04-04  Juergen Vigna  <jug@sad.it>
16345
16346         * vspace.C: had to include stdio.h for use of sscanf
16347
16348 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16349
16350         * BufferView.h:
16351         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16352         independent of xforms.
16353
16354 2001-04-02  Juergen Vigna  <jug@sad.it>
16355
16356         * spellchecker.C: fixed namespace placing!
16357
16358 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16359
16360         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16361         the LyXParagraph * is 0.
16362
16363 2001-03-29  Juergen Vigna  <jug@sad.it>
16364
16365         * vspace.C: added support for %, c%, p%, l%.
16366         (stringFromUnit): added helper function.
16367         (asLatexString): changed to give right results for the %-values.
16368
16369         * buffer.C: convert the widthp in a width%.
16370
16371 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16372
16373         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16374         figureForm.[Ch].
16375
16376         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16377         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16378
16379         * lyx_cb.[Ch]: see above.
16380
16381         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16382         form1.[Ch].
16383
16384         * form1.[Ch]:
16385         * lyx.[Ch]: replaced by figure_form.[Ch].
16386
16387         * lyx_gui.C:
16388         * lyx_gui_misc.C:
16389         * lyxfunc.C: changed headers associated with above changes.
16390
16391 2001-03-27  Juergen Vigna  <jug@sad.it>
16392
16393         * BufferView_pimpl.C: set the temporary cursor right!
16394
16395 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16396
16397         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16398
16399 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16400
16401         * LString.h: removed "using std::getline"!
16402
16403         * BufferView_pimpl.C (Dispatch): changes due to changes in
16404         InsetInclude::Params.
16405
16406         * buffer.C (tag_name): removed redundant break statements as they were
16407         producing lots of warnings with my compiler.
16408
16409 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16410
16411         * LString.h: add "using std::getline" when using the real <string>.
16412
16413 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16414
16415         * buffer.C: removed bitset usage.
16416         PAR_TAG moved to an anonymous name space.
16417         (tag_name): new funtion, also in the anonymous namespace.
16418         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16419         (makeDocBookFile): clean code. Completed transition from string arrays
16420         to string vectors.
16421         (SimpleDocBookOnePar): code clean.
16422
16423 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16424
16425         * tabular.C: add some comments.
16426
16427 2001-03-22  Juergen Vigna  <jug@sad.it>
16428
16429         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16430         compatibility read a bit and fixed bug with minipage in different
16431         depth.
16432
16433 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16434
16435         * buffer.C (pop_tag): removed.
16436         (push_tag): removed.
16437         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16438         array replaced with vector. Added support for CDATA sections.
16439         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16440         at any nest level.
16441         (makeDocBookFile): XML conformant declaration of CDATA section,
16442         fixed bug related to <emphasis> in the first paragraph char.
16443         (sgmlOpenTag): exclude empty tags.
16444         (sgmlCloseTag): ditto.
16445
16446         * buffer.h (pop_tag): removed.
16447         (push_tag): removed.
16448
16449 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16450
16451         * language.h (Languages): added size_type and size().
16452
16453 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16454
16455         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16456         response on compability reading of minipages. One probliem is that
16457         the old usage of minipages was «flertydig»
16458
16459         * several files here and in subdirs: don't use static at file
16460         scope use anon namespaces instead.
16461
16462 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16463
16464         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16465         LaTeX output. This is necessary for Literate document
16466         processing.
16467
16468 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16469
16470         * buffer.C: insert hfill when needed.
16471
16472         * tabular.C (l_getline): use string::erase, small whitespace change.
16473
16474         * BufferView_pimpl.C: try the anon namespace.
16475         * WorkArea.C: ditto
16476
16477 2001-03-16  Juergen Vigna  <jug@sad.it>
16478
16479         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16480         otherwise it won't open options-dialogs.
16481
16482         * buffer.C: honor pextraWidth(p) on converting minipages.
16483
16484         * tabular.C (l_getline): changed the functions to strip trailing \r.
16485
16486 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16487
16488         * BufferView_pimpl.C:
16489         * minibuffer..C: added "using SigC::slot" declaration.
16490
16491 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16492
16493         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16494
16495         * text2.C: ditto
16496
16497         * text.C: ditto
16498
16499         * paragraph.C: ditto
16500
16501         * lyxtext.h: NO_PEXTRA
16502
16503         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16504
16505         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16506         * ParameterStruct.h: ditto
16507         * ParagraphParameters.h: ditto
16508         * lyxparagraph.h: ditto
16509
16510 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16511
16512         * buffer.C: add compability for minipage alignment.
16513         (latexParagraphs): remove unwanted pextra check.
16514
16515         * several files: remove CXX_WORKING_NAMESPACES
16516
16517         * buffer.C (pop_tag): tie is in namespace boost
16518
16519         * BufferView.h: noncopyable is in namespace boost
16520         * lyxlex.h: ditto
16521         * lyx_main.h: ditto
16522         * lyx_gui.h: ditto
16523         * layout.h: ditto
16524         * lastfiles.h: ditto
16525         * bufferlist.h: ditto
16526         * ShareContainer.h: ditto
16527         * LyXView.h: ditto
16528         * LyXAction.h: ditto
16529         * LaTeX.h: ditto
16530
16531 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16532
16533         * Merging changes from BRANCH_MVC back into HEAD.
16534
16535         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16536
16537 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16538
16539         * BufferView_pimpl.C: change from intl.C
16540
16541         * combox.h:
16542         * combox.C:
16543         * Makefile.am: move combox.*
16544
16545         * form1.h:
16546         * form1.C:
16547         * lyx_gui.C:
16548         * intl.h:
16549         * intl.C: remove dialog (covered by prefs)
16550
16551 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16552
16553         * lyxfunc.C (Dispatch): removed redundant break statement.
16554
16555 2001-03-14  Juergen Vigna  <jug@sad.it>
16556
16557         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16558
16559 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16560
16561         * buffer.C: add hack to fix compability reading of minipages.
16562
16563 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16564
16565         * buffer.C (getLists): Cleanup.
16566
16567 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16568
16569         * lyxfont.C (update): don't honor toggleall on font size.
16570
16571 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16572
16573         * bmtable.c:
16574         * bmtable.h:
16575         * Makefile.am: moved to frontends/xforms/
16576
16577         * lyx_gui_misc.C:
16578         * lyxfunc.C:
16579         * BufferView_pimpl.C: changes for moved mathpanel
16580
16581 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16582
16583         * gettext.h: fix gettext_init() in --disable-nls
16584
16585 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16586
16587         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16588
16589 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16590
16591         * lyx.C:
16592         * lyx.h: strip external form
16593
16594 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16595
16596         * BufferView_pimpl.C: add comment, destroySplash()
16597
16598 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16599
16600         * BufferView_pimpl.C:
16601         * LyXAction.C:
16602         * buffer.C:
16603         * commandtags.h:
16604         * lyxfunc.C: use re-worked insetinclude
16605
16606 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16607
16608         * buffer.C: add using std::stringstream.
16609
16610         * lyx_cb.C: readd using std::ios.
16611
16612         * buffer.C: add using std::map.
16613
16614         * BufferView_pimpl.C: add using std::vector.
16615
16616         * ShareContainer.h: add std:: to swap.
16617
16618         * buffer.h: add some typedefs
16619         * buffer.C (getLists): use them
16620         (getLists): renamed from getTocList.
16621         add a counter for the different float types and use it in the
16622         generated string.
16623         (getLists): use the same counter for the NEW_INSETS and the "non"
16624         NEW_INSETS
16625
16626         * lyx_cb.h: remove unused items, includes, using etc.
16627
16628         * ShareContainer.h: remove some commented code, add more comments
16629         and "documentation".
16630
16631 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16632
16633         * buffer.C (getTocList): make the list also when NEW_INSETS is
16634         defined.
16635
16636         * buffer.h: remove TocType
16637
16638         * buffer.C (getTocList): change to return a map<string,
16639         vector<TocItem> >, implement for dynamic number of list.
16640
16641         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16642         * text2.C (PasteSelection): adjust
16643         * CutAndPaste.C (pasteSelection): adjust
16644
16645         * FloatList.C (FloatList): update from the new_insets branch.
16646         * Floating.[Ch]: ditto
16647         * LaTeXFeatures.C: ditto
16648         * buffer.C: ditto
16649         * lyxlex_pimpl.C: ditto
16650
16651         * paragraph.C (Last): remove when NEW_INSETS is defined.
16652
16653         * other file: changes because of the above.
16654
16655 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16656
16657         * lyxparagraph.h: rename next to next_, previous to previous_,
16658         make them private for NEW_INSETS. Rename Next() to next(),
16659         Previous() to previous().
16660
16661         * other files: changes because of the above.
16662
16663 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16664
16665         * BufferView.h:
16666         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16667         problem.
16668
16669 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16670
16671         * main.C (main): pass lyx_localedir to gettext_init().
16672
16673         * gettext.h: remove locale_init and gettext_init macros
16674
16675         * gettext.C (locale_init): new function
16676         (gettext_init): new function
16677
16678         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16679         setlocale().
16680
16681 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16682
16683         * Moved credits to frontends:
16684         * credits.[Ch]: removed
16685         * credits_form.[Ch]: removed
16686         * lyx_gui_misc.C: remove credits stuff
16687         * Makefile.am:
16688
16689 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16690
16691         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16692
16693         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16694         unneeded destructor.
16695
16696         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16697         a standalone pointer again.
16698
16699         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16700
16701 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16702
16703         * Makefile.am:
16704         * filedlg.h:
16705         * filedlg.C:
16706         * LyXAction.C:
16707         * ToolbarDefaults.C:
16708         * bufferlist.C:
16709         * commandtags.h:
16710         * form1.C:
16711         * form1.h:
16712         * lyx_cb.C:
16713         * lyx_cb.h:
16714         * lyxfunc.h:
16715         * lyxfunc.C:
16716         * BufferView_pimpl.C: use new file dialog in GUII
16717
16718         * lyx_cb.h:
16719         * lyx_cb.C: remove LayoutsCB to Toolbar
16720
16721 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16722
16723         * ShareContainer.h (get): add std:: qualifier
16724
16725 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16726
16727         * ShareContainer.h: define a proper ShareContainer::value_type
16728         type (and use typename to please compaq cxx)
16729
16730 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16731
16732         * lyxparagraph.h: move serveral local vars to
16733         ParameterStruct/ParagraphParameters., use ShareContainer in
16734         FontTable., make vars in FontTable private and add getter and
16735         setter.
16736
16737         * paragraph.C: changes because of the above.
16738
16739         * lyxfont.h: remove copy constructor and copy assignment. (the
16740         default ones is ok), move number inside FontBits. move inlines to
16741         lyxfont.C
16742
16743         * lyxfont.C: add number to initializaton of statics, move several
16744         inlines here. constify several local vars. some whitespace
16745         cleanup. Dont hide outerscope variables.
16746
16747         * Spacing.h: add two new constructors to match the set methods.
16748
16749         * ShareContainer.h: new file, will perhaps be moved to support
16750
16751         * ParameterStruct.h: new file
16752
16753         * ParagraphParameters.h: new file
16754
16755         * ParagraphParameters.C: new file
16756
16757         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16758         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16759
16760         * BufferView_pimpl.C: ParagraphParameter changes.
16761         * buffer.C: Likewise.
16762         * bufferview_funcs.C: Likewise.
16763         * text.C: Likewise.
16764         * text2.C: Likewise.
16765
16766 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16767
16768         * lyxfind.C (LyXReplace): do not redefine default argument in
16769         implementation.
16770         (IsStringInText): ditto
16771         (SearchForward): ditto
16772         (SearchBackward): ditto
16773
16774 2001-03-06  Juergen Vigna  <jug@sad.it>
16775
16776         * lyxfind.C (IsStringInText): put parentes around expressions.
16777
16778 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16779
16780         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16781
16782 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16783
16784         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16785
16786         * stl_string_fwd.h: add comment
16787
16788         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16789
16790         * tabular.h:
16791         * tabular.C: remove unused DocBook methods
16792
16793         * intl.C:
16794         * language.C:
16795         * paragraph.C:
16796         * buffer.C:
16797         killed DO_USE_DEFAULT_LANGUAGE
16798
16799 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16800
16801         * lyx_gui.C: do not include language.h.
16802
16803         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16804         arguments in function implementation.
16805
16806 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16807
16808         * BufferView_pimpl.C: add <ctime>
16809
16810 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16811
16812         * BufferView_pimpl.C: add using std::find_if
16813
16814 2001-02-27  José Matos  <jamatos@fep.up.pt>
16815
16816         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16817         by OnlyPath.
16818
16819 2001-02-11  José Matos  <jamatos@fep.up.pt>
16820
16821         * buffer.C (makeDocBookFile): command styles now have a parameter as
16822         "title" by default.
16823
16824 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16825
16826         * layout_forms.[Ch]: removed
16827         * lyx_cb.[Ch]: out character
16828         * lyx_gui.C: out character
16829         * lyx_gui_misc.C: out character
16830         * bufferview_funcs.C: : out character,
16831         added toggleall as parameter in ToggleAndShow
16832
16833 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16834
16835         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16836
16837         * text2.C (SetCurrentFont): Disable number property at boundary.
16838
16839 2001-02-26  Juergen Vigna  <jug@sad.it>
16840
16841         * lyxfunc.C (getStatus): added a string argument override function so
16842         that this is correctly called from LyXFunc::Dispatch if it contains a
16843         do_not_use_argument which is used!
16844         (Dispatch): added check for "custom" export and call appropriate func.
16845
16846 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16847
16848         * lyxrc.C: Add language_command_local, language_use_babel and
16849         language_global_options.
16850
16851         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16852
16853         * buffer.C (makeLaTeXFile): Use language_use_babel and
16854         language_global_options.
16855
16856 2001-02-23  Juergen Vigna  <jug@sad.it>
16857
16858         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16859         which works with LyXText and putted it inside BufferView. Here now we
16860         only call for that part the BufferView::Dispatch() function.
16861
16862         * BufferView.C (Dispatch): added.
16863
16864         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16865         functions which needs to use a LyXText over from LyXFunc.
16866         (MenuInsertLyXFile): added
16867         (getInsetByCode): added
16868         (moveCursorUpdate): added
16869         (static TEXT): added
16870
16871 2001-02-22  Juergen Vigna  <jug@sad.it>
16872
16873         * BufferView_pimpl.C (update): call a status update to see if LyXText
16874         needs it.
16875
16876 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16877
16878         * vc-backend.C (revert): implement for CVS
16879         (getLog): implement for CVS
16880
16881 2001-02-20  Juergen Vigna  <jug@sad.it>
16882
16883         * text2.C (ClearSelection): added BufferView param for inset_owner call
16884
16885         * lyxfunc.C (TEXT): added this function and use it instead of
16886         directly owner->view()-text of getLyXText().
16887
16888 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16889
16890         * src/layout_forms.C: out preamble
16891         * src/layout_forms.h: out preamble
16892         * src/lyx_cb.C: out preamble
16893         * src/lyx_cb.h: out preamble
16894         * src/lyx_gui.C: out preamble
16895         * src/lyx_gui_misc.C: out preamble
16896         * src/lyxfunc.C: connect with guii preamble
16897
16898 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16899
16900         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16901
16902 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16903
16904         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16905         whether to run bibtex.
16906
16907 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16908
16909         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16910
16911 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16912
16913         * Makefile.am (lyx_SOURCES): removed bibforms.h
16914
16915         * vspace.h: doxygen
16916
16917         * text.C (GetVisibleRow): make several local vars const
16918
16919         * tabular.C: small cleanup.
16920
16921         * lyxserver.C (callback): use compare instead of strncmp
16922
16923         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16924         inlines to after class or to paragraph.C
16925
16926         * lyxfont.h: remove friend operator!=
16927
16928         * converter.h: move friend bool operator< to non friend and after
16929         class def.
16930
16931         * combox.h: small cleanup
16932
16933         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16934         to inlines after class def.
16935
16936         * buffer.C (pop_tag): use string operations instead of strcmp
16937
16938         * bmtable.c: doxygen, small cleanup
16939
16940         * LaTeX.h: remove friend operator==
16941
16942 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16943
16944         * screen.C:
16945         * lyxrc.[Ch]:
16946         * lyxfunc.C:
16947         * lyxfont.[Ch]:
16948         * lyx_cb.C:
16949         * intl.[Ch]:
16950         * commandtags.h:
16951         * buffer.C:
16952         * WorkArea.[Ch]:
16953         * LyXAction.C:
16954         * BufferView_pimpl.C:
16955         * BufferView.[Ch]: remove cruft
16956
16957 2001-02-14  Juergen Vigna  <jug@sad.it>
16958
16959         * lyxfunc.C: removed #if 0 unused code
16960
16961         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16962
16963         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16964
16965         * text2.C (SetSelection): added a BufferView * parameter
16966
16967 2001-02-13  Juergen Vigna  <jug@sad.it>
16968
16969         * lyxfunc.C (Dispatch): fixed protected blank problem.
16970         * BufferView2.C (protectedBlank): added LyxText * parameter.
16971
16972         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16973         (AppendColumn): same as above for column_info.
16974
16975         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16976         (moveCursorUpdate): use a LyXText param for support of InsetText.
16977
16978         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16979         (tripleClick): ditto
16980
16981         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16982
16983         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16984
16985         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16986
16987         * text2.C (SetSelection): set correct update status if inset_owner
16988         (ToggleFree): ditto
16989
16990 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16991
16992         * tabular.C: remove some commented code.
16993
16994 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16995
16996         * BufferView_pimpl.C: call hideSplash()
16997
16998         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16999
17000         * include_form.h:
17001         * bibforms.h: remove
17002
17003         * lyxfunc.C:
17004         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17005           add LFUN_CHILD_CREATE
17006
17007         * counters.h: fix tiny typo
17008
17009         * lyx_cb.C:
17010         * lyx.h:
17011         * lyx_gui.C:
17012         * lyx.C: move splash to frontends/xforms/
17013
17014         * lyx_gui_misc.C: move Include and Bibform to frontends
17015
17016         * lyxvc.h: clarify comment
17017
17018         * vspace.C: tiny housekeeping
17019
17020 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17021
17022         * text.C (PrepareToPrint): RTL Fix.
17023
17024         * paragraph.C (GetUChar): New method.
17025         (String):  Use GetUChar.
17026
17027         * buffer.C (asciiParagraph): Use GetUChar.
17028
17029 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17030
17031         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17032
17033 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17034
17035         * buffer.h:
17036         * buffer.C: rename to getLogName(), handle
17037           build log / latex log nicely
17038
17039 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17040
17041         * MenuBackend.C:
17042         * MenuBackend.h: remove support for reference menuitem type.
17043
17044 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17045
17046         * BufferView_pimpl.C: housekeeping
17047         * BufferView_pimpl.h:
17048         * LyXView.h:
17049         * Makefile.am:
17050         * Timeout.C:
17051         * Timeout.h:
17052         * minibuffer.h: move Timeout GUI-I
17053
17054 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17055
17056         * lyxrc.C (read): Update converters data-structures.
17057
17058 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17059
17060         * LaTeX.h (operator!=): add operator != for Aux_Info
17061
17062 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17063
17064         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17065
17066         * LaTeXLog.C: deleted, useful code moved to Buffer
17067
17068         * buffer.h:
17069         * buffer.C: new function getLatexLogName()
17070
17071         * lyx_gui_misc.C:
17072         * lyx_gui.C:
17073         * lyxvc.C:
17074         * lyxvc.h:
17075         * lyxfunc.C: use frontends for LaTeX and VC logs
17076
17077 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17078
17079         * LaTeX.h: yet another std:: that Allan forgot.
17080
17081         * Variables.C (set): renamed from isset(), because this clashes
17082         with some HP-UX macros (grr).
17083
17084 2001-02-06  Allan Rae  <rae@lyx.org>
17085
17086         * LaTeX.h: Another bug fix.  Missing std:: this time.
17087
17088 2001-02-04  Allan Rae  <rae@lyx.org>
17089
17090         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17091         floats problem. I've left it commented out because it's not quite
17092         correct.  It should also test that the current object is a table or
17093         figure inset.  But I haven't gotten around to figuring out how to do
17094         that.  I *think* it'll be something like: "table" == inset.type()
17095
17096         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17097         bool.
17098
17099 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17100
17101         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17102         all the citation/databases/styles in the auxilary file.
17103         (run): Rerun latex if there was a babel language error.
17104
17105 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17106
17107         * text.C (Backspace): Preserve the font when changing newline char
17108         with a space.
17109         (BreakParagraph): If the cursor is before a space, delete the space.
17110
17111         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17112
17113 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17114
17115         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17116         new argument (code).
17117         (ChangeCitationsIfUnique): New method.
17118
17119         * paragraph.C (GetPositionOfInset): Handle bibkey.
17120
17121 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17122
17123         * BufferView_pimpl.h: change type of Position::par_pos to
17124         LyXParagraph::size_type.
17125
17126 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17127
17128         * BufferView_pimpl.C (savePosition, restorePosition): Write
17129         messages to minibuffer.
17130
17131 2001-01-28  José Matos  <jamatos@fep.up.pt>
17132
17133         * buffer.C (makeDocBookFile): adds support for document language.
17134         A silly restriction on the name of LatexCommand types where removed.
17135         Added support for CDATA sections, allows to chars unescaped, used
17136         among others in code, to avoid escape < and >.
17137
17138 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17139
17140         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17141         saved positions instrad of a stack. Furthermore, a position is
17142         stored using paragraph id/paragraph position.
17143
17144         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17145         Remove LFUN_REF_BACK.
17146
17147 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17148
17149         * converter.C (dvipdfm_options): New method.
17150
17151 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17152
17153         * vspace.C (isValidLength): Fix for empty input string.
17154
17155 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17156
17157         * LyXAction.C (init): change description of LFUN_FIGURE to
17158         "Insert Graphics"
17159
17160 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17161
17162         * LaTeX.C: add using directive
17163
17164 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17165
17166         * MenuBackend.C (expand): Fix the sorting of the formats.
17167
17168 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17169
17170         * lyx_main.C: tiny error message fix
17171
17172 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17173
17174         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17175         calling fl_initialize(). This fixes the problem with ',' as
17176         decimal separator in text files.
17177
17178 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17179
17180         * trans.C (process): Fix the keymap bug.
17181
17182 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17183
17184         * LaTeX.C (scanAuxFiles): New method. Provides support for
17185         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17186         (scanLogFile) Scan for "run BibTeX" messages.
17187
17188         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17189         OT1 font encoding. Also, load the aecompl package if the ae
17190         package is loaded.
17191
17192         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17193
17194 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17195
17196         * texrow.C (increasePos): turn two error messages into debug
17197         messages.
17198
17199 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17200
17201         * LaTeX.C (scanAux): Handle the \@input macro.
17202         (runBibTeX): Use scanAux().
17203
17204         * language.C (latex_options_): New field.
17205
17206         * LaTeXFeatures.C (getMacros): Add language macros.
17207
17208         * buffer.C (makeLaTeXFile): Small fix.
17209
17210 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17211
17212         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17213
17214         * text2.C: add a using directive.
17215
17216 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17217
17218         * BufferView2.C:
17219         * lyx_gui_misc.h:
17220         * lyxfr1.C:
17221         * lyxfunc.C: kill LyXBell.
17222
17223 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17224
17225         * text.C (IsBoundary): Remove the error message
17226
17227         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17228
17229         * lyxrc.C (setDefaults): Correct initialization value for
17230         font_norm_type.
17231
17232 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17233
17234         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17235         gotoError().
17236
17237         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17238         and GotoNextNote().
17239
17240         * src/LyXAction.C: Added reference-next.
17241
17242         * text.C (InsertChar): Use contains instead of strchr.
17243
17244         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17245
17246 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17247
17248         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17249         alignment commands (when needed).
17250
17251         * text.C (InsertChar): Add ':' to number separator chars.