]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
a07b6a14b494778a876727e5c26d4be856cc63ec
[lyx.git] / src / ChangeLog
1 2005-02-15  Angus Leeming  <leeming@lyx.org>
2
3         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
4         can be used meaningfully in a comparison.
5
6 2005-02-13  André Pönitz  <poenitz@gmx.net>
7
8         * bufferview_funcs.C (coordOffset): improve cursor drawing
9
10 2005-02-13  André Pönitz  <poenitz@gmx.net>
11
12         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
13         * Cursor.C (dispatch): use fixIfBroken
14         * lyxfunc.C (getStatus): use fixIfBroken
15
16 2005-02-15  Angus Leeming  <leeming@lyx.org>
17
18         * lyx_main.C (error_handler):
19         * lyxfunc.C:
20         * lyxrc.C (setDefaults):
21         s/GetEnv/getEnv/.
22         #include "environment.h".
23
24         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
25
26 2005-02-15  Angus Leeming  <leeming@lyx.org>
27
28         * lyxserver.C (startPipe): squash MSVC warning "local variable
29         'fd' used without having been initialized".
30
31 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
32
33         * BufferView_pimpl.C: revert accidental commit.
34
35 2005-02-14  André Pönitz  <poenitz@gmx.net>
36
37         * dociterator.[Ch]: new member forwardPosNoDescent(),
38         which doesn't enter nested insets.
39         * text2.C (setFont): use forwardPosNoDescent() instead
40         of ForwardPos() (fixes crash on font change).
41
42 2005-02-13  Angus Leeming  <leeming@lyx.org>
43
44         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
45         only if lyxrc.path_prefix is not empty.
46
47 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
48
49         * bufferparams.C (readGraphicsDriver): prevent crash
50
51 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * text2.C (setCounter): check for inInset() == 0
54
55 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
58         but use update() to get correct screen display; use convert
59         instead of istringstream. 
60         (getStatus): handle LFUN_GOTO_PARAGRAPH 
61
62         * lyxfunc.C (dispatch, getStatus): do not handle
63         LFUN_GOTO_PARAGRAPH here.
64
65 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
66
67         * text3.C (dispatch): size() -> depth()
68
69         * text2.C: remove some debug output
70
71         * paragraph.C: ws changes only
72
73         * lyxfunc.C (getStatus): size() -> depth()
74
75         * dociterator.h (clear, push_back, pop_back, internalData,
76         operator[], resize, empty): new functions
77         Make StableDocIterator and operator== be friends. Don't inherit
78         from std::vector use a privat class variable slices_ instead.
79         Modify to fit.
80
81         * dociterator.C: update because of not inheriting from std::vector
82         anymore. Call explictly to slices_ instead. Use depth() instead of
83         size() and top() instead of back()
84
85         * cursor.C: chagne size() -> depth and back() -> top(). Also
86         remove some direct operator[](i) calls in favour of foo[i]
87         (getFont): remove some dead code
88
89         * bufferview_funcs.C (coordOffset): size() -> depth()
90
91         * buffer.C: ws changes only
92
93         * CutAndPaste.C (eraseSelection): back() -> top()
94
95         * BufferView_pimpl.C (selectionRequested): back() -> top()
96
97         * BufferView.C (setCursor): size() -> depth()
98
99 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
100
101         * text3.C (cursorPrevious): return true if depm changed something
102         (cursorNext): ditto
103         (dispatch): rename sl to oldTopSlice, remove moving use the new
104         NoUpdate func attrib instead. Make sure that needsUpdate is set
105         for function that have NoUpdate, but where depm might have changed
106         the buffer anyway.
107
108         * text2.C (cursorLeft): make us return true if depm changed
109         something
110         (cursorRight): ditto
111         (cursorUpParagraph): ditto
112         (curosrDownParagraph): ditto
113         (cursorUp, cursorDown): ditto, make sure to read comments in code
114         (deleteEmptyParagraphMechanism): remove an assert, also return
115         true if just a single char was deleted.
116
117         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
118         cursor that we modify, to avoid modifying an active cursor before
119         we call setCursor. This allows depm to run. Also return true if
120         depm deleted something.
121
122         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
123         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
124         cursorDownParagraph, cursorPrevious and cursorNext, return true if
125         something was changed in the buffer because of them (ie. depm run)
126
127         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
128         debug messages. Make update by default be false. Make sure that
129         the result of update is retained throught several calls down to
130         dispatch.
131
132         * LyXAction.h: add a new func_attrib: NoUpdate
133
134         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
135         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
136         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
137         and LFUN_WORDLEFT
138         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
139
140 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
143         bv_->owner(), bv_->buffer() by direct references to the private
144         members.
145         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
146         (getStatus): isSavedPosition() is in BufferView::Pimpl.
147         (fitCursor): center() is in BufferView::Pimpl.
148         (getStatus, trackChanges, dispatch): no need for a temporary buf
149         variable
150         (fitCursor, workAreaDispatch): use workarea().workheight()
151
152 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
153
154         * CutAndPaste.C (pasteSelectionHelper): fix a crash
155
156 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
157
158         * buffer.C: format up to 241.
159         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
160         break if pasting into ERT
161         * lyxfunc.C (getStatus): suppress mathpanel and
162         LFUN_DIALOG_SHOW_NEW_INSET in ERT
163
164 2005-02-01  Angus Leeming  <leeming@lyx.org>
165
166         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
167
168 2005-02-01  Angus Leeming  <leeming@lyx.org>
169
170         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
171         calling fs::is_directory().
172
173 2005-01-31  Angus Leeming  <leeming@lyx.org>
174
175         * lyx_main.C (priv_exec): specify explicitly the relative location
176         of the top level build directory when run in-place.
177
178 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
181         LyXText containing the cursor, not the top-level one.
182
183         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
184         true.
185         (insertStringAsLines): rename par to pit; use temporary variable
186         par to hold a Paragraph; do not store par.layout() in a variable,
187         since the pointer may die when breaking paragraphs; pass pars to
188         breakParagraph() instead of Buffer::paragraphs().
189
190 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
191
192         * lyxlex_pimpl.h: #include <fstream>.
193
194         * BufferView.[Ch] (getLyXText): add a const version.
195
196         * BufferView_pimpl.C: add debug aids.
197
198         * RowList_fwd.h:
199         * buffer.h:
200         * lyxrow.h:
201         * paragraph_funcs.h: add commentary explaining what the class does.
202
203
204         * coordcache.[Ch]: add lots of commentary.
205         (startUpdating, doneUpdating): debug aids.
206         (arrays, insets, parPos, getParPos): accessors to private data.
207
208         * cursor_slice.[Ch] (text): add a const version.
209         * dociterator.[Ch] (text, innerText): add const versions.
210
211         * lyxtext.h (breakParagraph): change the keep_layout arg to a
212         bool.
213
214         * paragraph.C (getRow, pos2ros): add asserts.
215
216         * paragraph.h: add commentary. Lots of.
217
218         * paragraph.[Ch] (metrucs, draw): removed.
219
220         * cursor.C:
221         * rowpainter.[Ch]: const-correct changes.
222
223         * text.C: various obvious clean-ups. Removal of ancient cruft.
224         Bug fixes, even.
225
226 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
227
228         * vc-backend.C (find_file): rewrite to use boost.filesystem
229         (scanMaster): ditto
230
231         * main.C (main): set default name check for boost.filesystem to
232         no check
233
234         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
235         (open): ditto
236         (doImport): ditto
237         (actOnUpdatedPrefs): ditto
238
239         * lyx_main.C (init): rewrite to use boost.filesystem
240         (queryUserLyXDir): ditto
241
242         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
243         (getContentsOfAsciiFile): ditto
244
245         * lastfiles.C (readFile): rewrite to use boost.filesystem
246
247         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
248
249         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
250         (loadLyXFile): ditto
251
252         * buffer.C (Buffer): adjust for destroydir
253         (getLogName): rewrite to use boost.filesystem
254         (setFileName): ditto
255         (save): use fs::copy_file (from fs_extras)
256
257         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
258
259         * LaTeX.C (run): rewrite to use boost.filesystem
260         (scanAuxFiles): ditto
261         (handleFoundFile): ditto
262
263 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
264
265         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
266
267         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
268
269 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * lyxlayout.[Ch]: change some vars from float to double
272
273         * buffer.C (readFile): make a local var const
274
275         * Several files: use convert<> instead of atoi,strToXXX and friends
276
277 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
278
279         * LaTeXFeatures.[Ch]: Add a static list packages_ that
280         holds the contents of packages.lst. New functions getAvailable
281         and isAvailable to parse and check that list, resp.
282
283         * LyXAction.C:
284         * lfuns.h:
285         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
286
287         * bufferparams.[Ch]: new param output_changes.
288
289         * Buffer.C: increase file format to 240.
290         Use output_changes and isVailable.
291
292         * changes.[Ch]:
293         * paragraph.C:
294         * paragraph_pimpl.C: Use output_changes and isVailable.
295
296 2005-01-23  Angus Leeming  <leeming@lyx.org>
297
298         * output_latex.C: #include "insetbibitem.h", rather than
299         forward declare function bibitemWidest.
300
301 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
302
303         * lyx_main.C (init): make it compile on the Mac.
304
305 2005-01-20  Angus Leeming  <leeming@lyx.org>
306
307         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
308         (setLyXMisc): (char string literal) != (char string literal) is
309         performing a comparison on the addresses. Convert one operand
310         explicitly to string to guarantee expected behaviour.
311         From MSVC warning.
312
313 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
314
315         * buffer.C:
316         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
317
318         * output_plaintext.C: remove unneeded #include gzstream.h.
319
320 2005-01-20  Angus Leeming  <leeming@lyx.org>
321
322         * SpellBase.h: rename some of the elements of the Result enum.
323
324         * aspell_local.h:
325         * ispell.h:
326         * pspell.h:
327         * aspell.C (check):
328         * ispell.C (check):
329         * pspell.C (check): ditto
330
331 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
332
333         * buffer.C: add #include <fstream>.
334
335         * lyx_main.C (init): Compile fix.
336
337         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
338
339 2005-01-20  Angus Leeming  <leeming@lyx.org>
340
341         * mover.h: change commentary to reflect the changed meaning of
342         the $$s placeholder.
343
344 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * output_linuxdoc.C (linuxdocParagraphs): silence warning
347
348         * lyxfind.C (MatchString::operator()): remove bogus semicolon
349
350 2005-01-20  Angus Leeming  <leeming@lyx.org>
351
352         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
353         printing diagnostic data by not dereferecing an iterator past the
354         end.
355
356 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
357
358         * buffer.C (readHeader): use "&&" rather than "and".
359
360         * lyxserver.h (inPipeName, outPipeName): make these const.
361
362 2005-01-19  Angus Leeming  <leeming@lyx.org>
363
364         * lyx_main.C (error_handler, init): protect SIGHUP with
365         #ifdef SIGHUP guards.
366
367 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
370
371 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * text.C (setHeightOfRow): add a margin at the top and bottom of
374         the document (bug 1761)
375
376 2005-01-17  Angus Leeming  <leeming@lyx.org>
377
378         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
379         with "python ". Workaround for a brain-dead Windows.
380
381 2005-01-16  Angus Leeming  <leeming@lyx.org>
382
383         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
384         for MacOSX and Windows to use prependEnvPath.
385         Strip out the hard-coded block to add elements to the PATH for
386         MacOSX and replace it with a call to prependEnvPath using the
387         contents of LyXRC::path_prefix.
388         (queryUserLyXDir): strip out the code to run reconfigure, instead
389         returning a boolean indicating the necessity to do so.
390         (reconfigureUserLyXDir): contains the code to reconfigure the
391         user support directory. Is now called after the various LyXRC data
392         files have been read.
393
394         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
395
396 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
397
398         * converter.[Ch] (convert): take a new parameter try_default. Use
399         a default converter (imagemagick) if try_default is true.
400
401 2005-01-13  Angus Leeming  <leeming@lyx.org>
402
403         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
404         os::cygwin_path_fix.
405         (write): output LyXRC::cygwin_path_fix as necessary.
406
407 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
408
409         * lyxrc.h:
410         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
411
412 2005-01-12  Angus Leeming  <leeming@lyx.org>
413
414         * lyx_main.C (init): set the PATH variable to include the
415         directory containing the LyX binary when running on Mac or Windows.
416
417 2005-01-12  Angus Leeming  <leeming@lyx.org>
418
419         * lyx_main.C (init): remove cruft that purports to set the locale
420         dir. It doesn't and is not needed anyway.
421
422 2005-01-10  Angus Leeming  <leeming@lyx.org>
423
424         * Makefile.am: remove the lyx_main.C special casing.
425
426         * BufferView_pimpl.C:
427         * bufferlist.C:
428         * exporter.C:
429         * lyx_cb.C:
430         * lyx_main.C:
431         * lyxfunc.C:
432         * messages.C: use support/package.h to provide the paths to the
433         various directories used by LyX.
434
435 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
436
437         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
438         layout if pasting into an empty paragraph)
439
440 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
441
442         * tex-accent.C: add <string>
443
444 2005-01-06  José Matos  <jamatos@lyx.org>
445
446         * ParagraphParameters.C (write): put every parameter in its own line.
447         * paragraph.C (write): reduce number of consecutive empty lines exported.
448         * buffer.C (LYX_FORMAT): increase file format to 239.
449
450 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
451
452         * everywhere: change support/tostr.h -> support/convert.h
453
454         * tabular.C: make all write_attributes templates, tostr -> convert
455
456         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
457         (emptyTag): and -> &&, and fix type for ret from getChar
458         (getFirstWord): fix type for ret from getChar
459         (onlyText): and -> &&
460         (simpleDocBookOnePar): and not -> && !, fix type for ret from
461         getChar
462
463         * toc.C (goTo, action):
464         * text3.C (dispatch):
465         * text.C (currentState):
466         * tex-accent.C (DoAccent):
467         * sgml.C:
468         * lyxrc.C:
469         * lyxfunc.C (menuNew):
470         * lyxfinc.C (replace):
471         * counters.C (laberItem):
472         * bufferview_funcs.C (font2string):
473         * bufferparams.C (writeFile):
474         * buffer.C (readFile):
475         * Spacing.C (set):
476         * MenuBackend.C: tostr -> convert
477
478         * LaTeX.C (runMessage): fix format
479         (scanAuxFiles): tostr -> convert
480
481         * BufferView_pimpl.C (savePosition): fix format
482         (restorePosition): ditto
483         (dispatch): ditto
484
485 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
486
487         * Spacing.[Ch]: New method getValueAsString().
488
489         * Spacing.[Ch]:
490         * bufferparams.C:
491         * ParagraphParameters.C:
492         * lyxlayout.C:
493         * text.C:
494         * text3.C: store/read spacing value as string.
495
496         * rowpainter.C: change float value (spacing_val) to double.
497
498         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
499         broken custom document spacing).
500
501 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
502
503         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
504         namespace, also more use of temp references and const
505
506         * cursor.[Ch] (getStatus): move to lyxfunc.C
507
508         * bufferparams.C: reformat slightly
509
510         * bufferview_funcs.C (font2string): constify arg
511
512         * changes.C:
513         * converter.C:
514         * counters.C:
515         * bufferlist.C:
516         * buffer_funcs.C: (many funcs): constify arg on function
517         definitions, also make more local vars const, also add ASSERTS on
518         pointer args.
519
520         * buffer.C (LYX_FORMAT): put const in correct place
521         (many funcs): constify arg on function definitions, also make
522         more local vars const
523
524         * aspell_local.h: remove "struct" from typdef setup
525
526         * aspell.C (check): make word_ok const
527         (nextMiss): simplify slightly
528         (error): ditto
529
530 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
531
532         * lyxrc.[Ch]: store all float values as strings.
533         use int (not float) for lyxrc.dpi.
534
535 2005-01-04  Angus Leeming  <leeming@lyx.org>
536
537         * lyx_cb.C (Reconfigure):
538         * lyx_main.C (queryUserLyXDir):
539         to run the <system_lyxdir>/configure correctly on Windows, prefix
540         the path to the script with "sh " when generating the string that
541         is passed to system().
542
543 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
544
545         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
546
547 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
548
549         * lyxlength.C (asLatexString): get rid of setprecision
550
551 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * text2.C (setLayout): remove unused variable endpit.
554         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
555
556         * paragraph.C (onlyText): remove unused variable style.
557
558         * cursor.C (bruteFind): remove unused variables beg and end.
559
560         * Makefile.am (dist_noinset_DATA): not needed anymore
561
562         * cheaders/*: remove.
563
564 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * text3.C: fix LFUN_MATH_MODE.
567
568 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
569
570         * buffer_funcs.C (countWords): new function. Counts words between
571         two iterators.
572
573         * BufferView_pimpl.C (getStatus, dispatch): handle
574         LFUN_WORDS_COUNT.
575
576         * LyXAction.C (init):
577         * lfuns.h: add LFUN_WORDS_COUNT.
578
579 2004-12-19  Angus Leeming  <leeming@lyx.org>
580
581         * buffer.C (save): s/slashify_path/internal_path/.
582
583 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
584
585         * lyxfind.C (findChange): do not search for end of pars, because
586         the change tracker cannot handle this (fixes bug 1719).
587
588 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
589
590         * paragraph.[Ch] (autoBreakRows): remove
591
592         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
593
594         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
595         avoid using the paragraph one
596
597         * text2.C (LyXText, insertStringAsLines): adjust
598
599 2004-12-16  Angus Leeming  <leeming@lyx.org>
600
601         * bufferlist.C:
602         * lyx_main.C:
603         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
604
605 2004-12-14  Angus Leeming  <leeming@lyx.org>
606
607         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
608
609         * bufferlist.C (emergencyWrite):
610         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
611         GetEnvPath("HOME").
612
613 2004-12-14  Angus Leeming  <leeming@lyx.org>
614
615         * main.C: (main): no longer pass pointers to os::init.
616
617 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
618
619         * undo.C (textUndoOrRedo): simplify logic, fix a crash
620         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
621
622 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
623
624         * lyxfunc.C:
625         * text3.C: remove selection_possible global flag
626
627 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
628
629         * text2.C (getSelectionSpan): remove
630         (changeDepth, changeDepthAllowed): adjust
631
632 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
633
634         * Makefile.am (BOOST_LIBS): use boost variables
635
636 2004-12-03  José Matos  <jamatos@lyx.org>
637
638         * buffer.C: format up to 238.
639
640 2004-12-03  José Matos  <jamatos@lyx.org>
641
642         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
643
644 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
645
646         * cursor.C (goUpDown): remove call to idxUpDown2
647
648 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
649
650         * tabular.[Ch]: use size_t-like types for cell, row and column
651         indices
652
653 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
654
655         * lyxfunc.C (getStatus): do not lose previous information when
656         calling BufferView::getStatus; do not set a default "Command
657         disabled" message at the beginning, but just before returning.
658
659 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
660
661         * cursor.h (getStatus): add better comment from src/cursor.C
662
663 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
664
665         * text3.C (getStatus): return false when the lfun is not handled
666
667 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668
669         * broken_headers.h: remove
670
671         * Makefile.am (lyx_SOURCES): remove broken_headers.h
672
673 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
674
675         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
676         offset_ref accessors
677
678         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
679         top_y_, merge fitcursor with update
680         (updateScrollbar, scrollDocView, fitCursor, center, update): new
681         coord scheme
682         (metrics): introduce
683         (workAreaDispatch): adapt to new coord scheme
684         (redoCurrentBuffer): remove
685
686         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
687
688         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
689         CurStatus enum.
690
691         * coordcache.[Ch]: add paragraph cache and helpers
692
693         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
694         adjust everywhere
695
696         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
697         (targetX, setTargetX): introduce
698
699         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
700         baseline -> ascent, as the rest of lyx
701
702         * lyxtext.h: remove redoParagraphs, updateParPositions,
703         fullRebreak, redoParagraphInternal. move dist to anon namespace in
704         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
705         have ascent/descent (ascent is ascent of first par)
706
707         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
708         step of BufferView
709
710         * paragraph.[Ch]: unify dimension handling with the rest of lyx
711
712         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
713
714         * pariterator.C: fix infinite loop introduced in par->pit renaming
715
716         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
717         in insets and LyXText, draw two off-screen paragraphs using
718         NullPainter, and adapt to new coord scheme
719
720         * text.C:
721         * text2.C:
722         * text3.C: adapt lfun handlers to the new coord scheme, which
723         means: there's only guaranteed coord information for onscreen pars
724         plus one above and one below. This implies that one can do search
725         from y coordinates in the range [-1,workHeight]
726
727 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
728
729         * rename a lot of InsetOld to InsetBase
730
731 2004-11-25  Angus Leeming  <leeming@lyx.org>
732
733         * BufferView_pimpl.C:
734         * lyx_cb.C:
735         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
736
737 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
738
739         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
740         call BufferView::getStatus if LCursor::getStatus did nothing
741         (setStatusMessage, getStatusMessage): removed.
742
743         * FuncStatus.C (message): new methods. Used to provide an error
744         message indicating why a command is disabled.
745         (clear, |=, FuncStatus): update for message.
746
747 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
748
749         * lyxfunc.C (dispatch): always call sendDispatchMessage
750
751 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
752
753         * BufferView.C:
754         * BufferView_pimpl.C:
755         * CutAndPaste.C:
756         * FontIterator.C:
757         * buffer.C:
758         * cursor.C:
759         * cursor_slice.[Ch]:
760         * dociterator.[Ch]:
761         * lyxfind.C:
762         * paragraph_funcs.C:
763         * pariterator.C:
764         * rowpainter.C:
765         * text.C:
766         * text2.C:
767         * text3.C:
768         * undo.C: par->pit renaming
769
770 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
771
772         * tabular.C (cellstruct): use initialization, store a shared_ptr
773         to insettext instead of the insettext directly, adjust to fit.
774         (operator=):  new function
775         (swap): new function
776         (rowstruct): use initialization
777         (columnstruct): use initialization
778         (ltType): use initialization
779
780
781         * lyxlength.h (swap): new function
782
783         * LColor.[Ch] (operator=): use the common semantics
784
785 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * lyxfind.C (findNextChange): update the bufferview after setting
788         the selection.
789
790 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
793         number of InsetOptArgs has already been inserted.
794
795         * output_latex.C (latexOptArgInsets): new method. This outputs all
796         the optarg insets, up to the limit defined in the layout file.
797         (optArgInset): removed
798         (TeXOnePar): call latexOptArgInsets; correctly update texrow
799
800 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
801
802         * paragraph.C (isLetter): remove special spellchecker-related
803         code; return true also for digits
804         (isWord, isKomma): remove
805
806         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
807         * lyxfind.C (MatchString()): use isLetter instead of isWord
808
809 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
810
811         * pariterator.h (operatir=): comment out un-implemented member
812         function.
813
814         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
815         static cast.
816
817 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
818
819         * lyxfont.h: include LColor.h to satisfy concept checks.
820
821 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
822
823         * pariterator.h: add typdefs for value_type, difference_type,
824         pointer and reference to satisfy concept checks. Also add default
825         constructor for same reason.
826
827         * pariterator.C (operator++): add post-increment operator to
828         satisfy concept checks.
829
830         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
831         checks.
832
833         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
834
835         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
836         checks. Also rename base_type to BaseType to follow naming
837         standard better.
838
839         * FloatList.h: include Floating.h to satisfy concept checks.
840
841 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
842
843         * lyxfunc.C (getStatus): when the origin of the request is menu or
844         toolbar, and the LyXView does not have focus, do as if there was
845         no buffer (bug 1720)
846
847         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
848         FuncRequest to individual entries of LFUN_SEQUENCE
849
850 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * output_latex.C (TeXOnePar): override runparams.moving_arg
853         according to the needprotect value of the current paragraph (bug
854         1739)
855
856         * paragraph.C (simpleTeXOnePar): no need to override
857         runparams.moving_args here
858
859 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
860
861         * vspace.C: fix off-by-one-error, related to fix #1682
862
863 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
864
865         * lengthcommon.C: a more general fix for bug 1682
866
867 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
868
869         * text.C (backspace): fix crash
870
871 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
872
873         * format.[Ch] (getFormatFromFile): new method
874         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
875
876 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
879
880 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * lyxfunc.C (dispatch): remove the verbose argument
883         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
884         instead
885
886         * kbmap.C (defkey): set the origin of func to KEYBOARD
887
888         * MenuBackend.C (MenuItem):
889         * ToolbarBackend.C (add): set the origin of func to UI
890
891         * funcrequest.[Ch]: add origin member, which indicates which part
892         of LyX requests an action
893
894 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
895
896         * converter.C (move): don't lie in the error message
897         * converter.h (isReachable, move): document
898
899 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
900
901         * buffer.C: remove unused using lyx::support::atoi
902         * paragraph_funcs.C: ditto
903
904 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
905
906         * bufferlist.C (exists): use bind and equal_to instead of
907         compare_memfun
908         (getBuffer): ditto
909         * lyxtextclasslist.C (NumberOfClass): ditto
910
911         * cursor.C (insert): use for_each instead of explicit for loop
912
913         * bufferlist.C (getFileNames): use std::transform and
914         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
915
916         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
917         for loop
918
919         * buffer.C (changeLanguage): use for_each instead of explicit for
920         loop
921         (hasParWithID): implement using getParFromID
922
923         * LaTeXFeatures.C: ws change only
924
925         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
926         to cleanup a bit.
927
928         * BufferView_pimpl.C (trackChanges): use for_each instead of
929         expilicit for loop
930
931 2004-11-04  André Pönitz  <poenitz@gmx.net>
932
933         * undo.h:
934         * undo.C (textUndoOrRedo): fix crash when creating undo information.
935
936         * dociterator.C (asDocIterator): use hard assert again.
937
938 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * lyxlength.C (asLatexString): rewrite so that it does not use
941         snprintf anymore
942
943 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * text3.C (specialChar, dispatch): make sure cursor moves to the
946         right after inserting an inset
947
948 2004-11-02  José Matos  <jamatos@lyx.org>
949
950         * output_docbook.C (docbook):
951         * paragraph.C (getID):
952         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
953         garantee that the output is always legal.
954
955         * tabular.C (docbook):
956         * outputprams.[Ch]: remove mixed contents.
957
958 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
959
960         * text2.C (setCounter): prevent endless loop
961
962 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
963
964         * exporter.C (copyFile): use the mover instead of support::copy()
965         * exporter.C (Export): pass format and latex name to copyFile()
966         * exporter.h (addExternalFile): document
967         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
968
969 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
970
971         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
972
973 2004-10-30  José Matos  <jamatos@lyx.org>
974
975         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
976         text and no inset or font change. This allows to use CDATA
977         sections just for the whole paragraph.
978
979 2004-10-30  José Matos  <jamatos@lyx.org>
980
981         * paragraph.C (getFirstWord): remove unused variable.
982
983 2004-10-30  José Matos  <jamatos@lyx.org>
984
985         * paragraph.C (getFirstWord): the content should always be escaped
986         there.
987         (simpleDocBookOnePar):
988         * output_docbook.C (makeEnvironment): replace reference to CDATA
989         to style pass_thru.
990
991 2004-10-30  José Matos  <jamatos@lyx.org>
992
993         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
994
995 2004-10-30  José Matos  <jamatos@lyx.org>
996
997         * output_docbook.C (makeParagraphs):
998         * paragraph.[Ch] (emptyTag): for docbook and company, if the
999         standard paragraph has only a given type of content drop the wrapper.
1000
1001 2004-10-29  José Matos  <jamatos@lyx.org>
1002
1003         * output_docbook.C (makeEnvironment):
1004         * sgml.C (openTag):
1005         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1006
1007 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1008
1009         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1010         (cleanID): sanitize any id.
1011
1012 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1013
1014         * buffer.C, lyxlex_pimpl.C:
1015         * lyxlex_pimpl.C (setFile):
1016         s/getExtFromContents/getFormatFromContents/
1017
1018 2004-10-28  José Matos  <jamatos@lyx.org>
1019
1020         * output_docbook.C (makeEnvironment): move id to broadest possible
1021         scope.
1022
1023         * sgml.C (openTag): apply substitution of <> for all attributes.
1024
1025 2004-10-28  José Matos  <jamatos@lyx.org>
1026
1027         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1028         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1029         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1030
1031         * sgml.[Ch]: new version for open and closeTag for paragraph and
1032         for strings. Now they handle the ids of paragraphs.
1033
1034 2004-10-26  Angus Leeming  <leeming@lyx.org>
1035
1036         * Makefile.am: add mover.[Ch].
1037
1038         * converter.C (convert, move): use the new Movers to move external
1039         files to the temp directory.
1040
1041         * lyx_main.C (init): ensure that the global system_movers data
1042         is initialised.
1043
1044         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1045         preferences file.
1046
1047         * mover.[Ch]: new files, defining a Mover as a utility to move an
1048         external file between directories and, if necessary, manipulate this
1049         file using a helper script.
1050
1051 2004-10-25  José Matos  <jamatos@lyx.org>
1052
1053         * output_docbook.C (makeCommand): merge two if's that tested the
1054         same condition.
1055
1056 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1057
1058         * sgml.C (escapeString): fix warning in a better way
1059
1060 2004-10-25  José Matos  <jamatos@lyx.org>
1061
1062         * sgml.C (escapeString): import the require boosts header file for
1063         tie, and avoid a signed unsigned comparison.
1064
1065 2004-10-25  José Matos  <jamatos@lyx.org>
1066
1067         * sgml.h: add #include <string>
1068
1069 2004-10-25  José Matos  <jamatos@lyx.org>
1070
1071         * sgml.[Ch] (escapeString): new function to escape all the string.
1072
1073 2004-10-24  José Matos  <jamatos@lyx.org>
1074
1075         * paragraph.[Ch] (getFirstWord): new function to get the first
1076         word. Useful for description.
1077         (simpleDocBookOnePar): remove depth argument, add another that
1078         says where to start the paragraph.
1079
1080         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1081         use the new functions to fix cleanly the support for descriptions.
1082
1083 2004-10-24  José Matos  <jamatos@lyx.org>
1084
1085         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1086         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1087         * output_linuxdoc.C (linuxdocParagraphs):
1088         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1089         add buffer as argument.
1090
1091 2004-10-24  José Matos  <jamatos@lyx.org>
1092
1093         * output_docbook.C (makeEnvironment, searchEnvironment): place
1094         CDATA inside paragraphs and fix scope for listitems.
1095
1096 2004-10-24  José Matos  <jamatos@lyx.org>
1097
1098         * output_docbook.C: remove using statement for stack.
1099
1100 2004-10-23  José Matos  <jamatos@lyx.org>
1101
1102         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1103         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1104         docbook. The new scheme is recursive and makes use of iterators, the
1105         same as latex export works.
1106         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1107         directly with the paragraph contents. This code was moved up to
1108         output_docbook.C (docbookParagraphs).
1109         * sgml.C (openTag, closeTag): removed unneeded newlines.
1110         (closeEnvTags) removed.
1111
1112 2004-10-23  André Pönitz  <poenitz@gmx.net>
1113
1114         * undo.C (textUndoOrRedo):
1115         * dociterator.C (asDocIterator): work around crash
1116
1117         * cursor.C (getStatus): replace ASSERT by more verbose error message
1118           and manual correction of the problem. Should increase stability
1119           while providing more sensible information.
1120
1121 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1122
1123         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1124
1125         * bufferlist.C (previous, next): new methods
1126
1127         * lfuns.h:
1128         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1129
1130 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1131
1132         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1133         entities to preamble.
1134
1135 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1136
1137         * messages.C (Pimpl): strip off translation context information
1138
1139 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1142         the cursor is correct (bug 1694)
1143
1144 2004-10-13  José Matos  <jamatos@lyx.org>
1145
1146         * output_docbook.C (docbookParagraphs): fix closing tags in the
1147         end of the document.
1148
1149 2004-10-09  José Matos  <jamatos@lyx.org>
1150
1151         * buffer.C: format up to 237.
1152         * bufferparams.C (write): use tostr to convert booleans to strings.
1153
1154 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1155
1156         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1157
1158 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1159
1160         * LaTeX.C: implement use of babel language in xindy.
1161
1162 2004-10-05  José Matos  <jamatos@lyx.org>
1163
1164         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1165         Add new translators to help reading and writing the lyx file.
1166
1167 2004-10-05  José Matos  <jamatos@lyx.org>
1168
1169         * ParagraphParameters.C (read):
1170         * text.C (readParToken): replace nexToken by more appropriate lex
1171         methods.
1172
1173 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1174
1175         * LaTeX.C (runMakeIndex):
1176         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1177         (usually 'makeindex') configurable.
1178
1179         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1180         with a variable rather than with a number.
1181
1182 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * output_latex.C (TeXOnePar): make sure font setting is the first
1185         thing that gets output (and the last at the end). Should fix bug
1186         1404.
1187
1188 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1189
1190         * pch.h: use proper signal include
1191
1192         * LaTeX.h: Use preferred calling of Boost.Signal
1193         * buffer.h: ditto
1194
1195 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1196
1197         * pch.h: dont include <boost/function/function0.hpp>
1198
1199         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1200
1201         * paragraph_pimpl.h: remove usage of ShareContainer
1202
1203         * paragraph_pimpl.C: remove initialization of ShareContainer.
1204
1205 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1206
1207         Fix bug #1666
1208
1209         * BufferView.C (putSelectionAt): change the semantics when
1210         backwards == true: now, this just swaps cursor and anchor wrt the
1211         forward case
1212
1213         * BufferView.h (putSelectionAt): add some documentation
1214
1215         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1216         make sure backwardChar is done at least once (to avoid getting
1217         stuck)
1218         (findNextChange): use putSelectionAt in the forward direction
1219         (operator()): use Paragraph::isWord
1220
1221 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1222
1223         * Spacing.C (set): c_str fix
1224
1225 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * lyx_cb.C (Reconfigure): quote the name of configure script in
1228         case it contains spaces
1229
1230 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1231
1232         * client: new dir
1233
1234         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1235         (BOOST_LIBS): use top_buildir when looking for the file
1236
1237 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1238
1239         * pch.h: do not use include boost/format.hpp, multiple symbols
1240                 will result (gcc bug)
1241
1242
1243 2004-08-23  José Matos  <jamatos@lyx.org>
1244
1245         * bufferparams.C (readToken): fix reading of the author field.
1246
1247 2004-08-20  José Matos  <jamatos@lyx.org>
1248
1249         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1250
1251 2004-08-20  José Matos  <jamatos@lyx.org>
1252
1253         * lyxlex.[Ch] (findToken): remove function.
1254
1255         * ParagraphParameters.C (findToken):
1256         * bufferparams.C (findToken): replace call for previous function
1257         with local copy. This local function has one more argument, the
1258         read string argument.
1259
1260 2004-08-16  José Matos  <jamatos@lyx.org>
1261
1262         * ParagraphParameters.C (write):
1263         * Spacing.C (writeFile):
1264         * bufferparams.C (writeLaTeX):
1265         * lyx_cb.C (Reconfigure):
1266         * paragraph.C (write):
1267         * tabular.C (write): remove unnecessary space at end of line.
1268
1269
1270 2004-08-16  José Matos  <jamatos@lyx.org>
1271
1272         * text.C (readParagraph): remove debug message.
1273
1274 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1275
1276         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1277         crash
1278
1279         * output_plaintext.C (asciiParagraph): set depth correctly
1280
1281         * outputparams.h: add member depth
1282
1283         * paragraph_funcs.C (ownerPar): remove.
1284
1285         * text2.C (setCounter): remove first_pit; comment out some
1286         non-working code that uses ownerPar
1287
1288         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1289         uses ownerPar
1290
1291 2004-08-16  José Matos  <jamatos@lyx.org>
1292
1293         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1294         For the same level of importance use the same chanel to report problems.
1295         (read): add code to deal with \begin_body and \end_body.
1296
1297
1298 2004-08-15  José Matos  <jamatos@lyx.org>
1299
1300         * lyxlex.C (getString): fix comment, buffer::readBody is now
1301         buffer:readDocument.
1302
1303         * tex-strings.C (string_papersize): Default -> default,
1304         Custom -> custom, for consistency with other options.
1305
1306 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1307
1308         * pch.h: new file
1309
1310         * Makefile.am: support pch
1311
1312 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * text.C (readParToken): remove the static LyXFont variable and
1315         pass it as a parameter instead. This fixes a nasty bug where an
1316         inset will be inserted with a bad font in some situations
1317         (readParagraph): adapt
1318
1319         * text2.C (setCounter): reduce number of calls to pars_[pit]
1320
1321         * text.C (singleWidth): add an assert, fix a test
1322
1323         * rowpainter.C (paintText): reduce number of calls to singleWidth
1324
1325         * paragraph.C (isHfill):
1326         (isNewline): ws only
1327
1328 2004-08-14  André Pönitz  <poenitz@gmx.net>
1329
1330         * text.C:
1331         * text2.C:
1332         * rowpainter.C:
1333         * lyxtext.h (several functions): use a Paragraph & argument
1334         instead of par_type
1335
1336 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337
1338         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1339
1340         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1341
1342         * text.C (singleWidth): remove useless test
1343
1344 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1345
1346         * tabular.h: remove bogus comments
1347
1348         * tabular.C (getDescentOfRow):
1349         (isPartOfMultiColumn): add assertions
1350
1351         * lyxlength.C (inPixels): remove #warning
1352
1353 2004-08-14  André Pönitz  <poenitz@gmx.net>
1354
1355         * paragraph.h: inline getChar()
1356
1357         * BufferView.h: remove unused declarations
1358
1359 2004-08-14  José Matos  <jamatos@lyx.org>
1360
1361         * Buffer.[Ch] (readDocument): new name for old readBody.
1362         * Buffer.C: new file format, new keywords: \begin_document,
1363         \begin_header, \begin_body, \end_body.
1364
1365         * bufferparams.C (readToken): replace all calls to lex.nextToken
1366         by lex.next(). Do the same to eatLine except where really needed.
1367
1368         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1369         line when writing to the lyx file.
1370
1371         * output_plaintext.C (asciiParagraph): fix Bibliography style
1372         handling.
1373
1374         * text.C (read): fix end of file handling.
1375
1376 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1377
1378         * MenuBackend.C (Menu::operator[]): new method to access
1379         individual menu items
1380         (Menu::hasFunc): new method. search for an item that corresponds
1381         to a given func
1382         (MenuBackend::specialMenu): new method
1383         (MenuBackend::expand): if a special menu has been set, skip
1384         entries whose func() appears in this menu
1385
1386 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1387
1388         * text3.C: use Debug::DEBUG a bit more
1389
1390         * text.C (leftMargin): try to simplify a tiny bit change var x to
1391         l_margin. Dont output the wide margins always.
1392         (rightMargin): no margin in inner texts
1393
1394         * rowpainter.h (nestMargin): new func
1395         (changebarMargin): new func
1396         (rightMargin): new func
1397
1398         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1399         now functions.
1400         (paintLast): ditto
1401
1402         * factory.C (createInset): modify setDrawFrame
1403
1404         * cursor.C: use Debug::DEBUG a bit more
1405
1406 2004-08-14  André Pönitz  <poenitz@gmx.net>
1407
1408         * coordcache.[Ch]:
1409         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1410         cache for all insets in (at least partially) visible (top-level)
1411         paragraphs.
1412
1413         * BufferView_pimpl.C: reset external coord cache before every update.
1414         This means the coord cache only contains valid entries.
1415
1416 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1417
1418         bug 1096
1419         * BufferView_pimpl.C (getInsetByCode): move function out of class
1420         and change in to a template in anon namespace. Also fix to do what
1421         suits us better.
1422
1423 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1424
1425         bug 1305
1426         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1427         of char
1428         (breakParagraph): rename par to par_offset and use a local
1429         reference. Add code to keep the language over a rebreak.
1430         (breakParagraphConservative): rename par to par_offset, use a
1431         local reference
1432         (mergeParagraph): ditto
1433         (outerHook): ditto
1434         (isFirstInSequence): ditto
1435         (outerFont): rename pit to par_offset
1436
1437         * paragraph.C: ws change
1438         * paragraph.h: ditto
1439         * text3.C: ditto
1440         * text.C: ditto
1441
1442 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1445         treatment for ']'
1446
1447         * paragraph.C (simpleTeXOnePar): when we have a \item with
1448         optional argument, enclose the argument with curly brackets (in
1449         case it contains a closing square bracket)
1450
1451         * text2.C (editXY):
1452         * text2.C (editXY):
1453         * text3.C (checkInsetHit): constify
1454
1455 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1456
1457         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1458         documents (bug 1629)
1459
1460 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         Fix toggling of collapsable insets with the mouse (bug 1558)
1463
1464         * lyxfunc.C (dispatch): adapt to LCursor changes
1465
1466         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1467         make sure that dispatch is not invoked twice
1468
1469         * cursor.C (needsUpdate): new method
1470         (dispatch): return void
1471         (result): new method, to access the DispatchResult of the cursor.
1472
1473 2004-08-13  José Matos  <jamatos@lyx.org>
1474
1475         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1476
1477 2004-08-13  André Pönitz  <poenitz@gmx.net>
1478
1479         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1480
1481         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1482           multiple cells
1483
1484 2004-08-12  André Pönitz  <poenitz@gmx.net>
1485
1486         * text3.C: take out the 'cursor right' form insertInset and only
1487         do it in those places when it is really needed. Fixes crash on
1488         C-m...
1489
1490 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1491
1492         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1493
1494         * BufferView_pimpl.C (setBuffer): initialize the current font of
1495         the underlying LyXText
1496
1497 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1498
1499         * kbsequence.C (print): use UI native formatting for menu
1500         shortcuts
1501
1502         * text.C (insertChar): call Paragraph::insertChar with a font
1503         argument (cosmetic)
1504
1505         * paragraph.C (insertInset, insertChar): the version that takes a
1506         LyXFont argument is now a wrapper around the other one (the
1507         opposite used to be true).
1508
1509         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1510         argument. Font setting is done in Paragraph now.
1511
1512 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1513
1514         * outputparams.h: add new members intitle and lang.
1515
1516         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1517         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1518
1519 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1520
1521         * text3.C (dispatch): remove special handling of button 4 and 5,
1522         it is now taken care of in the frontend code.
1523
1524 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1525
1526         * Spacing.h: add <string> (STLPort compile fix)
1527
1528 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1529
1530         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1531
1532 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1533
1534         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1535         to bool.
1536
1537         * converter.C (showMessage): inherit from unary_function, make
1538         operator() const.
1539
1540         * buffer.C (writeFile): initialize retval
1541
1542         * InsetList.h: rename private variable list to list_
1543         * InsetList.[Ch]: adjust accordingly.
1544
1545 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1546
1547         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1548         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1549         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1550         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1551         * ParagraphParameters.C, LaTeXFeatures.C: replace
1552         "support/std_sstream.h" with <sstream>
1553
1554 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1555
1556         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1557         * lyxsocket.C (LyXServerSocket): ditto
1558         (serverCallback): ditto
1559
1560 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1561
1562         * LaTeXFeatures.C: check release date when loading jurabib.
1563
1564 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1565
1566         * lyxserver.C (startPipe): call register_socket_callback
1567         (endPipe): call unregister_socket_callback
1568
1569 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1570
1571         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1572         (LyXServerSocket): register the callback
1573         (LyXServerSocket): unregister the callback
1574         (fd): delete function
1575         (serverCallback): improve error checking and setup the callbacks.
1576         (dataCallback): change arg to fd.
1577         (writeln): new func (copied fro the client socket) used for server
1578         write to client.
1579         (LyXDataSocket): simplify
1580         (~LyXDataSocket): close ann unregiser callback
1581         (server): delete function
1582         (fd): delete function
1583         (readln): small changes, improve some std::string usage
1584         (writeln): constify a bit
1585
1586 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1587
1588         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1589         Qt frontend
1590
1591 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1592
1593         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1594         after it has been populated
1595
1596 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * text2.C (insertInset): move cursor when inserting inset.
1599
1600 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * kbmap.C (findbindings): a couple of new methods. returns a
1603         container of kb_sequence objects. The real work is done by the
1604         private recursive version
1605         (printbindings): uses findbindings to print out a bracketed list
1606         of bindings (renamed from findbinding).
1607
1608         * MenuBackend.C (binding): use kb_keymap::findbindings
1609
1610         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1611
1612 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1613
1614         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1615
1616 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1617
1618         * paragraph.C (isWord): return true on insets that report
1619         isLetter().
1620
1621         * text.C (getWord): use Paragraph::isWord to decide what is in a
1622         word and what is not; fix bug 1609.
1623
1624 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1625
1626         * tex-strings.C: add "none" to string_paperpackages[], fixes
1627         off-by-one-error in the paperpackage selection.
1628
1629         * lyxlex.[Ch]:
1630         * tex-strings.[Ch]: char const * string[n]
1631         -> char const * const string[]
1632
1633 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1634
1635         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1636         command, return early.
1637
1638 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1639
1640         * debug.h: add DEBUG to enum and fix size of ANY.
1641
1642         * debug.C: add support for Debug::DEBUG
1643         (showTags): cast errorTags.level to unsigned int
1644
1645         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1646         (redoCurrentBuffer): ditto
1647         (updateScrollbar): ditto
1648         * cursor.C (dispatch): ditto
1649         * text2.C (setLayout): ditto
1650         (setFont): ditto
1651         (updateCounters): ditto
1652         (editXY): ditto
1653         (deleteEmptyParagraphMechanism): ditto
1654
1655 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1656
1657         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1658         annotations to cleanup the Makefile slightly.
1659
1660 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1661
1662         * lyxrc.C: do not set user_email to a default value but use empty
1663         instead. The entry used to be translated, which does not work
1664         since at the point where lyxrc is constructed there is no
1665         translation service available
1666
1667         * messages.C (getLocaleDir): remove and use directly
1668         lyx_localedir() instead
1669
1670 2004-06-02  Angus Leeming  <leeming@lyx.org>
1671
1672         Fix crash caused by dereferencing null pointer 'exportdata' in
1673         OutputParams by creating a new ExportData variable on the heap,
1674         storing it in a boost::shared_ptr.
1675         The crash was triggered when generating an Instant Preview
1676         of an external inset.
1677
1678         * Makefile.am: add outputparams.C
1679
1680         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1681         (c-tor): allocate memory to it.
1682
1683         * exporter.C (c-tor): associated changes.
1684
1685 2004-06-01  Angus Leeming  <leeming@lyx.org>
1686
1687         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1688         contains data before calling isInset(0). (Bug 1513.)
1689
1690 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1691
1692         * exporter.C (checkOverwrite): new method
1693         * exporter.C (copyFile): new method
1694         * exporter.C (Export): copy referenced files to the document dir
1695         * exporter.[Ch]: new class ExportedFile
1696         * exporter.[Ch]: new class ExportData. Contains currently the
1697         names of referenced external files
1698         * outputparams.h: add exportdata member.
1699
1700 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1701
1702         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1703         version.C-tmp
1704
1705 2004-05-19  Angus Leeming  <leeming@lyx.org>
1706
1707         * LaTeXFeatures.C:
1708         * ToolbarBackend.C:
1709         * bufferparams.C:
1710         * lyxfunc.C: small changes due to the introduction of namespace
1711         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1712
1713 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1714
1715         * text3.C (dispatch): supress update when only moving the cursor
1716         * cursor.C (selHandle): remove commented code
1717
1718 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1719
1720         * paragraph.C (startTeXParParams): correct column count
1721         * CutAndPaste.C (pasteSelection): remove const_cast
1722         * output_docbook.C (docbookParagraphs): remove const_cast
1723         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1724         const_cast and return ParagraphList::const_iterator
1725         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1726         * output_plaintext.C (writeFileAscii): remove const_cast
1727         * paragraph.[Ch] (simpleTeXOnePar): make const
1728         * paragraph_funcs.C (outerPar): use const iterators
1729         * paragraph_pimpl.C (validate): use const iterators
1730         * text.C (setHeightOfRow): use const iterators
1731
1732 2004-05-17  Angus Leeming  <leeming@lyx.org>
1733
1734         * lfuns.h:
1735         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1736
1737         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1738         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1739         if the citation engine has changed.
1740
1741 2004-05-14  José Matos  <jamatos@lyx.org>
1742
1743         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1744         if the textclass does not provide it. Have it different for sgml and
1745         xml.
1746         support the language of document.
1747         * output_docbook.C (docbookParagraphs):
1748         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1749         first anchor as the id of the paragraph, remove special case code.
1750         * sgml.C (escapeChar): escape only < & >.
1751
1752 2004-05-14  Angus Leeming  <leeming@lyx.org>
1753
1754         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1755         dependencies on src/frontends/controllers/biblio.h. Define a
1756         CiteEngine_enum wrapper class to enable the enum to be forward
1757         declared.
1758
1759 2004-05-12  Angus Leeming  <leeming@lyx.org>
1760
1761         * buffer.C: up LYX_FORMAT to 234.
1762         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1763         use_numerical_citations with a single biblio::CiteEngine cite_engine
1764         variable.
1765         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1766
1767 2004-05-13  José Matos  <jamatos@lyx.org>
1768
1769         * converter.h:
1770         * converter.C (Converter, readFlags): add xml member.
1771         * outputparams.h: add XML flavor.
1772         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1773
1774 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * lyxfunc.C (dispatch):
1777         (getStatus): fix handling of LFUN_SEQUENCE
1778
1779 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1780
1781         * debug.C (showLevel): do not forget the end-of-line marker
1782
1783 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1784
1785         * kbmap.C (read): do not stop parsing a bind file when an error
1786         occurs (bug 1575)
1787
1788 2004-04-29  Angus Leeming  <leeming@lyx.org>
1789
1790         * cursor.C:
1791         * factory.C:
1792         * pariterator.C:
1793         * text2.C: wrap a bunch of #warning statements
1794         inside #ifdef WITH_WARNINGS blocks.
1795
1796 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1797
1798         * buffer.C: increment format to 233.
1799
1800 2004-04-28  Angus Leeming  <leeming@lyx.org>
1801
1802         * BufferView_pimpl.C:
1803         * lyxfunc.C:
1804         * text3.C:
1805         s/updateToolbar()/updateToolbars()/
1806         s/Toolbar.h/Toolbars.h/
1807
1808 2004-04-28  Angus Leeming  <leeming@lyx.org>
1809
1810         * BufferView.[Ch] (c-tor):
1811         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1812         No longer passes these data to the WorkArea generator.
1813
1814 2004-04-28  Angus Leeming  <leeming@lyx.org>
1815
1816         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1817
1818 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1819
1820         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1821
1822 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1823
1824         * output_latex.C (TeXEnvironment): make sure that there is a line
1825         break before \end{foo} for the last paragraph of a document
1826         (TeXOnePar): if the paragraph is at the end of the document (or
1827         inset) and the language has to be reset, then make sure that the
1828         line break is _before_ the language command, not after (fixes bug
1829         1225); also make sure that the language reset command is the first
1830         thing after the paragraph (to ensure proper nesting of
1831         environments and thus fix bug 1404)
1832
1833 2004-04-21  John Levon  <levon@movementarian.org>
1834
1835         * ToolbarBackend.h:
1836         * ToolbarBackend.C: make "name" be a programmatic name
1837         and a gui_name field.
1838
1839         * lyxfunc.C: display the minibuffer on M-x
1840
1841 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1844         (bug 1526)
1845
1846 2004-04-19  Angus Leeming  <leeming@lyx.org>
1847
1848         * BufferView_pimpl.C (setBuffer): changed preview interface.
1849
1850         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1851         possible values.
1852
1853 2004-04-19  John Levon  <levon@movementarian.org>
1854
1855         * BufferView_pimpl.C:
1856         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1857
1858 2004-04-05  Angus Leeming  <leeming@lyx.org>
1859
1860         * text.C (redoParagraphs): add call to updateCounters(), thereby
1861         fixing the missing "Figure #:" label from the caption of a
1862         figure float.
1863
1864 2004-04-13  Angus Leeming  <leeming@lyx.org>
1865
1866         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1867         cursor is clicked out of an inset.
1868
1869 2004-04-13  Angus Leeming  <leeming@lyx.org>
1870
1871         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1872         than an InsetOld one.
1873
1874 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1875
1876         * format.[Ch]: add editor to Format
1877         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1878         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1879
1880 2004-04-08  André Pönitz  <poenitz@gmx.net>
1881
1882         * metricsinfo.h: remove PainterInfo::width member
1883
1884 2004-04-08  Angus Leeming  <leeming@lyx.org>
1885
1886         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1887         "\providecommand" rather than "\newcommand", thereby preventing
1888         clashes with packages that define "\boldsymbol" themselves.
1889         Eg, beamer.
1890
1891 2004-04-08  Angus Leeming  <leeming@lyx.org>
1892
1893         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1894         thereby squashing an unnecessary warning.
1895
1896 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1897
1898         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1899         setBuffer()
1900
1901 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1902
1903         * BufferView.C (setCursor): call redoParagraph (some insets could
1904         have been opened)
1905         (putSelectionAt): remove the 'double update' trick
1906
1907         * BufferView_pimpl.C (fitCursor): call refreshPar
1908         (workAreaDispatch): remove an uneeded update call
1909         (dispatch): remove some manual update calls
1910
1911         * cursor.[Ch]: remove cached_y_, updatePos
1912         (selHandle): set noUpdate when appropriate
1913
1914         * lyxfunc.C (dispatch): track if we need an update
1915
1916         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1917
1918         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1919         (paintSelection): cheap optimization, do not call cursorX when not
1920         needed
1921         (paintPars): change signature
1922         (refreshPar): add
1923         (paintText): adjust
1924         (paintTextInset): adjust
1925
1926         * text.C: adjust
1927
1928 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * lengthcommon.C: compilation fix: remove explicit array size from
1931         unit_name[] and friends
1932
1933 2004-04-05  Angus Leeming  <leeming@lyx.org>
1934
1935         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1936
1937         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1938         present only for the preferences dialog.
1939         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1940
1941 2004-04-05  Angus Leeming  <leeming@lyx.org>
1942
1943         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1944         to enable the frontends to export changes to lyxrc correctly.
1945
1946         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1947
1948 2004-04-07  André Pönitz  <poenitz@gmx.net>
1949
1950         * cursor.[Ch] (selClear, adjust): remove math
1951
1952         * cursor_slice.C: more agressive assert
1953
1954         * lyxfunc.C:
1955         * BufferView_pimpl.C: rework mouse event dispatch
1956
1957         * dociterator.C:
1958         * paragraph.C:
1959         * text2.C:
1960         * text3.C: adjust
1961
1962 2004-04-05  André Pönitz  <poenitz@gmx.net>
1963
1964         * cursor.[Ch] (valign, halign...): remove unneeded functions
1965
1966 2004-04-05  Angus Leeming  <leeming@lyx.org>
1967
1968         * lyxlength.[Ch] (unit_name et al.): const-correct.
1969
1970 2004-04-05  Angus Leeming  <leeming@lyx.org>
1971
1972         * BufferView_pimpl.C:
1973         * buffer.C:
1974         * counters.C:
1975         * cursor.C:
1976         * lyxfunc.C
1977         * paragraph.C:
1978         * pariterator.C:
1979         * text.C:
1980         * text2.C:
1981         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1982
1983 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1984
1985         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1986
1987 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1988
1989         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1990         * BufferView_pimpl.[Ch] (getStatus)
1991         * BufferView.[Ch] (getStatus): add
1992         * lyxfunc.C (getStatus): move lfuns handled in
1993         BufferView::dispatch to te function above
1994         * Cursor.C (setSelection): set selection() = true
1995
1996 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1997
1998         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1999
2000 2004-03-31  Angus Leeming  <leeming@lyx.org>
2001
2002         * lyxfunc.C (dispatch): Fall through to the generic
2003         Dialogs::show("preamble").
2004
2005 2004-03-31  Angus Leeming  <leeming@lyx.org>
2006
2007         * lyxfunc.C (dispatch): Fall through to the generic
2008         Dialogs::show("spellchecker").
2009
2010 2004-03-31  Angus Leeming  <leeming@lyx.org>
2011
2012         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2013         preferences dialog.
2014
2015 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2016
2017         * BufferView.C
2018         * cursor.[Ch]
2019         * dociterator.[Ch]:
2020         * insetiterator.[Ch]:
2021         * lyxfind.C:
2022         * lyxfunc.C:
2023         * pariterator.[Ch]:
2024         * text2.C:
2025         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2026
2027 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2028
2029         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2030         insets where we are putting the cursor.
2031
2032 2004-03-31  Angus Leeming  <leeming@lyx.org>
2033
2034         * lfuns.h:
2035         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2036
2037         * lyxrc.[Ch] (read, write): overloaded member functions taking
2038         a std::[io]stream arguments.
2039
2040         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2041
2042 2004-03-31  Angus Leeming  <leeming@lyx.org>
2043
2044         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2045         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2046
2047         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2048         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2049
2050 2004-03-31  Angus Leeming  <leeming@lyx.org>
2051
2052         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2053         the LFUN_ALL_INSETS_TOGGLE code.
2054
2055 2004-03-30  Angus Leeming  <leeming@lyx.org>
2056
2057         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2058         has died. Fall through to the generic Dialogs::show("document").
2059
2060 2004-03-30  Angus Leeming  <leeming@lyx.org>
2061
2062         * lfuns.h:
2063         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2064         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2065
2066         * lyxfunc.C (getStatus, dispatch): define the actions for these
2067         lfuns. Little more than a cut and pste job from ControlDocument.C
2068
2069         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2070
2071 2004-03-30  Angus Leeming  <leeming@lyx.org>
2072
2073         * lfuns.h:
2074         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2075         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2076
2077         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2078         open/closed state of ollapsable insets. Usage:
2079
2080         all-inset-toggle <state> <name>, where
2081         <state> == "open" || "closed" || "toggle" and
2082         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2083
2084         * lyxtext.h, text2.C (toggleInset): removed.
2085
2086         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2087         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2088         now passes LFUN_INSET_TOGGLE to the found inset.
2089
2090         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2091         is now invoked as "all-insets-toggle toggle branch".
2092
2093 2004-03-30  Angus Leeming  <leeming@lyx.org>
2094
2095         * dociterator.C:
2096         * insetiterator.C:
2097         * pariterator.[Ch]: added/corrected header blurb.
2098
2099 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2100
2101         * dociterator.[Ch]: add an inset_ member
2102         (backwardPos): implemented
2103         (backwardPos, forwardPos): use inset_ when the stack is empty.
2104         (doc_iterator_begin, doc_iterator_end): implemented
2105         * pariterator.[Ch]: adjust, add begin, end
2106         * insetiterator.[Ch]: adjust, add begin, end
2107         * cursor.C:
2108         * document.C:
2109         * BufferView.C:
2110         * BufferView_pimpl.C:
2111         * CutAndPaste.C: adjust
2112
2113 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2114
2115         * buffer.C: increment file format to 232.
2116         * LaTeXFeatures.C: add bibtopic package.
2117         * bufferparams.[Ch]: param \use_bibtopic.
2118
2119         * lyxrc.[Ch]: add lyxrc bibtex_command
2120         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2121
2122         * buffer.C: increment file format to 231.
2123
2124 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2125
2126         * dociterator.C: implement forwardPar
2127         * iterators.[Ch]: remove, replaced by
2128         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2129         * BufferView.C:
2130         * BufferView_pimpl.C:
2131         * CutAndPaste.C:
2132         * buffer.C:
2133         * bufferview_funcs.C:
2134         * cursor.C:
2135         * lyxfind.C
2136         * lyxfunc.C
2137         * paragraph_funcs.C
2138         * toc.C:
2139         * Makefile.am: adjust
2140
2141 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * CutAndPaste.C (pasteSelection): fix 2 crashes
2144         (eraseSelection): fix a crash
2145         * paragraph_funcs.C: remove a warning
2146
2147 2004-03-28  Angus Leeming  <leeming@lyx.org>
2148
2149         * lfuns.h:
2150         * LyXAction.C (init): new LFUN_PRINT.
2151
2152         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2153
2154 2004-03-27  Angus Leeming  <leeming@lyx.org>
2155
2156         * lfuns.h:
2157         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2158
2159         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2160
2161 2004-03-27  Angus Leeming  <leeming@lyx.org>
2162
2163         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2164         insetlist always contains non-null pointers to insets.
2165
2166 2004-03-26  Angus Leeming  <leeming@lyx.org>
2167
2168         * src/BufferView_pimpl.C:
2169         * src/CutAndPaste.C:
2170         * src/buffer.C:
2171         * src/iterators.C:
2172         * src/output_plaintext.C:
2173         * src/outputparams.h:
2174         * src/paragraph_funcs.C:
2175         * src/rowpainter.C:
2176         * src/text.C:
2177         * src/text2.C:
2178         * src/frontends/controllers/ControlErrorList.C:
2179         * src/frontends/gtk/FileDialogPrivate.C:
2180         * src/frontends/gtk/GPainter.C:
2181         * src/frontends/gtk/GToolbar.C:
2182         * src/frontends/qt2/QRef.C:
2183         * src/mathed/math_scriptinset.C: squash compiler warnings.
2184
2185 2004-03-26  Angus Leeming  <leeming@lyx.org>
2186
2187         * ispell.C (LaunchIspell::start):
2188         * lyx_cb.C (AutoSaveBuffer::start):
2189         invoke run(DontWait) rather than runNonBlocking().
2190
2191 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2194
2195 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2196
2197         * kbsequence.C (print): adjust
2198
2199         * kbmap.C (printKeySym): rename and change signature
2200         (printKey): use LyXKeySym::print()
2201
2202 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2203
2204         * undo.C: add using std::advance to compile for stlport
2205
2206 2004-03-24  Angus Leeming  <leeming@lyx.org>
2207
2208         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2209         it leads to a crash when no buffer is present.
2210
2211 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2212             Martin Vermeer  <martin.vermeer@hut.fi>
2213
2214         * lyxfunc.C (dispatch):
2215         * bufferparams.C (readToken): use the new LColor::setColor
2216
2217         * LColor.[Ch] (setColor): new version that takes two strings as
2218         argument and creates a new color entry if necessary
2219
2220 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2221
2222         * buffer.C (makeLaTeXFile): if the main latex file that is
2223         processed is usually a subdocument of some master, then pretend
2224         for a while that it is actually the master
2225
2226 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2227
2228         * buffer.C (getLabelList):
2229         (getBibkeyList): use getMasterBuffer()
2230         (getMasterBuffer): new method. Returns the main document in the
2231         case where one is using included documents.
2232
2233 2004-03-25  André Pönitz  <poenitz@gmx.net>
2234
2235         * Makefile.am:
2236         * iterators.[Ch]:
2237         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2238
2239         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2240
2241         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2242         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2243
2244         * ParameterStruct.h: merge with ParagraphParameters
2245
2246         * lyxtext.h: remove LyXText::parOffset() and getPar()
2247
2248         * text3.C: Remove all 'manual' update calls. We do now one per user
2249         interaction which is completely sufficient.
2250
2251         * Bidi.C:
2252         * BufferView.[Ch]:
2253         * BufferView_pimpl.C:
2254         * FontIterator.[Ch]:
2255         * MenuBackend.C:
2256         * ParagraphParameters.[Ch]:
2257         * buffer.C:
2258         * buffer.h:
2259         * bufferlist.C:
2260         * cursor.[Ch]:
2261         * cursor_slice.[Ch]:
2262         * dociterator.[Ch]:
2263         * errorlist.[Ch]:
2264         * factory.C:
2265         * lfuns.h:
2266         * lyxfind.C:
2267         * lyxfunc.C:
2268         * output_docbook.[Ch]:
2269         * output_latex.[Ch]:
2270         * output_linuxdoc.[Ch]:
2271         * output_plaintext.[Ch]:
2272         * paragraph.[Ch]:
2273         * paragraph_funcs.[Ch]:
2274         * paragraph_pimpl.[Ch]:
2275         * rowpainter.C:
2276         * tabular.[Ch]:
2277         * text.C:
2278         * text2.C:
2279         * toc.C:
2280         * undo.[Ch]: adjust
2281
2282         * frontends/controllers/ControlDocument.C:
2283         * frontends/controllers/ControlErrorList.C:
2284         * frontends/controllers/ControlSpellchecker.C:
2285         * insets/inset.C:
2286         * insets/inset.h:
2287         * insets/insetbase.h:
2288         * insets/insetbibitem.C:
2289         * insets/insetbox.C:
2290         * insets/insetbranch.C:
2291         * insets/insetcaption.C:
2292         * insets/insetcharstyle.C:
2293         * insets/insetcharstyle.h:
2294         * insets/insetcollapsable.C:
2295         * insets/insetcollapsable.h:
2296         * insets/insetert.C:
2297         * insets/insetfloat.C:
2298         * insets/insetfoot.C:
2299         * insets/insetmarginal.C:
2300         * insets/insetnote.C:
2301         * insets/insetoptarg.C:
2302         * insets/insettabular.C:
2303         * insets/insettext.C:
2304         * insets/insettext.h:
2305         * insets/insetwrap.C:
2306         * mathed/math_mboxinset.C:
2307         * mathed/math_nestinset.C:
2308         * mathed/math_scriptinset.C:
2309         * mathed/math_scriptinset.h:
2310         * support/types.h:
2311
2312 2004-03-24  Angus Leeming  <leeming@lyx.org>
2313
2314         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2315         deal with any child processes that have finished but are waiting to
2316         communicate this fact to the rest of LyX.
2317
2318 2004-03-24  Angus Leeming  <leeming@lyx.org>
2319
2320         64-bit compile fixes.
2321
2322         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2323         (c-tor): pass lyx::pos_types rather than ints.
2324
2325         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2326         lyx::pos_type.
2327
2328         * text.C (Delete): compile fix.
2329         (getPar): ensure that function declaration is the same as that in
2330         the header file.
2331
2332 2004-03-23  Angus Leeming  <leeming@lyx.org>
2333
2334         * ispell.C (LaunchIspell):
2335         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2336         a boost::shred_ptr rather than a std::auto_ptr.
2337
2338 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2339
2340         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2341         handle LFUN_FILE_INSERT_*
2342
2343         * lyxrc.C (setDefaults, getDescription, output, read):
2344         * lyxrc.h: remove ps_command
2345
2346 2004-03-22  Angus Leeming  <leeming@lyx.org>
2347
2348         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2349         Ensure that error_handler is processed once only and that all data
2350         is saved before attempting to output any warning messages.
2351
2352         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2353
2354 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2355
2356         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2357
2358 2004-03-19  André Pönitz  <poenitz@gmx.net>
2359
2360         * cursor.[Ch] (reset): take main text inset as argument
2361
2362         * BufferView: adjust
2363         * BufferView_pimpl.C: adjust
2364
2365         * paragraph.[Ch]: fix completely broken operator=()
2366
2367 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2368
2369         * LColor.C (getFromLyXName): make sure that the color name is used
2370         as lowercase.
2371
2372 2004-03-17  Angus Leeming  <leeming@lyx.org>
2373
2374         * lfuns.h:
2375         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2376
2377         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2378         dialog and to kill a forked process.
2379
2380 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2381
2382         * text2.C (setCursorFromCoordinates): fix font problem
2383
2384 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2385
2386         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2387         bogus "rebuild cursor" code
2388
2389 2004-03-11  André Pönitz  <poenitz@gmx.net>
2390
2391         * buffer.[Ch]: use InsetText instead of LyXText as container for
2392         the main lyx text.
2393
2394         * dociterator.[Ch]: drop the BufferView * member which is not needed
2395         anymore after the change to buffer.C
2396
2397         * paragraph_funcs.C:
2398         * text.C:
2399         * text2.C:
2400         * BufferView.[Ch]:
2401         * BufferView_pimpl.[Ch]:
2402         * cursor.[Ch]:
2403         * cursor_slice.[Ch]: adjust
2404
2405         * text3.C: fix bug in mathDispatch
2406
2407 2004-03-08  André Pönitz  <poenitz@gmx.net>
2408
2409         * undo.[Ch]: use 'StableDocumentIterator' as base for
2410         the Undo struct.
2411
2412 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2413
2414         * LaTeXFeatures.C:
2415         * bufferparams.[Ch]: add jurabib support and param.
2416
2417         * LaTeX.C: add FIXME/comment.
2418
2419 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2420
2421         * buffer.C: increment file format to 230.
2422
2423 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2424
2425         * cursor.C (dispatch): avoid infinite loops
2426
2427 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2428
2429         * rowpainter.C (paintSelection): fix x coordinates
2430
2431 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * text.C (rowBreakPoint): fix breaking before displayed insets
2434
2435 2004-03-01  André Pönitz  <poenitz@gmx.net>
2436
2437         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2438
2439         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2440
2441         * Makefile.am:
2442         * BufferView.C:
2443         * BufferView_pimpl.C:
2444         * buffer.C:
2445         * lyxfind.C:
2446         * lyxfunc.C:
2447         * text.C:
2448         * text2.C:
2449         * text3.C: adjust
2450
2451 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * lyxtext.h:
2454         * text.C:
2455         * text2.C:
2456         * rowpainter.C:
2457         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2458         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2459
2460 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2461
2462         * Bidi.[Ch] (computeTables): const correctness
2463         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2464         fill_hfill, fill_label_hfill and x from Row
2465         * lyxtext.h: prepareToPrint returns a RowMetrics
2466         * rowPainter.C: adjust
2467         * text.C (prepareToPrint): use width, not textWidth. adjust
2468         (redoParagraphInternal, cursorX): adjust
2469         * text2.C (getColumnNearX): adjust
2470         (init): put a default value to the top LyXText::width
2471
2472 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2473
2474         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2475
2476 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * lyxtext.h: add FontIterator class
2479
2480         * text.C (FontIterator, operator*, operator->, operator++): add
2481         (rowBreakPoint, setRowWidth): adjust (fixing a
2482         rebreaking bug)
2483
2484 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2485
2486         * BufferView_pimpl.C (workAreaDispatch): allow also
2487         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2488
2489 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2490
2491         * text.C (rowBreakPoint): fix a bug showing with very large insets
2492
2493 2004-02-25  André Pönitz  <poenitz@gmx.net>
2494
2495         * text3.C:
2496         * cursor.[Ch]: move some mathed specific code to mathed
2497
2498 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2499
2500         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2501         use_tempdir in preferences
2502         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2503         tempfile creation
2504         * lyx_main.C: ensure that tempdir is valid
2505         * lyxlex.h: correct typo
2506         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2507         * paragraph.[Ch] (isMultiLingual): make const
2508         * cursor.[Ch] (openable): make const
2509
2510 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2511
2512         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2513
2514 2004-02-20  André Pönitz  <poenitz@gmx.net>
2515
2516         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2517
2518         * cursor.[Ch]: prepare for localized getStatus()
2519
2520         * lyxtext.h:
2521         * tabular.C:
2522         * text.C:
2523         * text2.C:
2524         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2525
2526 2004-02-20  André Pönitz  <poenitz@gmx.net>
2527
2528         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2529
2530 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2531
2532         * text2.C (setCursorFromCoordinates): switch to absolute coords
2533         (cursorUp): adjust
2534         (cursorDown): adjust
2535         * text3.C (dispatch): adjust
2536
2537 2004-02-16  André Pönitz  <poenitz@gmx.net>
2538
2539         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2540           insets/ChangeLog)
2541
2542         * cursor_slice.[Ch]: remove unneeded acessor function
2543
2544         * lyxtext.h: rename rtl() to isRTL()
2545
2546         * rowpainter.C:
2547         * tabular.C:
2548         * text.C:
2549         * text2.C:
2550         * text3.C: adjust
2551
2552 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2553
2554         * rowpainter.C (paintSelection): coord fix
2555
2556 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2557
2558         * Spacing.C: compile fix
2559
2560 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2561
2562         * cursor.C (dispatch): restore current_ before returning
2563
2564 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2565
2566         * text2.C (cursorUp, cursorDown): fix coords
2567         (moveUp): fix crash
2568
2569 2004-02-12  André Pönitz  <poenitz@gmx.net>
2570
2571         * lyxtext.h:
2572         * text.C:
2573         * text2.C:
2574         * text3.C: add LCursor & parameter to most cursor movement functions
2575           remove usage of LyXText::cursorRow() and cursorPar()
2576
2577         * cursor.[Ch]: add textRow() needed members
2578
2579         * BufferView.C:
2580         * BufferView_pimpl.C:
2581         * paragraph.[Ch]:
2582         * BufferView.C:
2583         * BufferView_pimpl.C: adjust
2584
2585 2004-02-11  André Pönitz  <poenitz@gmx.net>
2586
2587         * lyxfunc.C:
2588         * BufferView.[Ch]:
2589         * BufferView_pimpl.C: shift undo/redo handling
2590
2591         * cursor.[Ch]: fix mathed crash
2592
2593         * lyxfind.C:
2594         * lyxtext.h: move selectionAsText to LCursor
2595
2596         * output_latex.C:
2597         * paragraph.C:
2598         * text.C:
2599         * text2.C:
2600         * text3.C: adjust
2601
2602         * rowpainter.C: fix excessive drawing
2603
2604 2004-02-06  André Pönitz  <poenitz@gmx.net>
2605
2606         * BufferView.[Ch]:
2607         * BufferView_pimpl.[Ch]:
2608         * text3.C: move some text specific LFUN handling
2609
2610 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2611
2612         * text3.C (checkInsetHit): adjust coords
2613         * text2.C (getColumnNearX): adjust coords
2614         (edit): adjust coords
2615         * text.C (getRowNearY): add two asserts
2616
2617 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2618
2619         * converter.C:
2620         * format.C: add using std::distance to compile on gcc 2.95/stlport
2621
2622 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2623
2624         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2625
2626 2004-02-04  André Pönitz  <poenitz@gmx.net>
2627
2628         * BufferView.[Ch] (insertInset):
2629         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2630
2631         * text2.C:
2632         * text3.C: adjust
2633
2634 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2635
2636         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2637         on the default clause of the switch
2638         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2639         wasn't catched by LCursor::dispatch
2640
2641 2004-02-03  André Pönitz  <poenitz@gmx.net>
2642
2643         * BufferView.C:
2644         * cursor.[Ch]: some additional asserts
2645
2646         * undo.[Ch]: remove LyXText dependency in interface
2647
2648         * lyxfunc.C: adjust
2649
2650         * lyxtext.h (firstPar, lastPar): remove dead functions
2651
2652         * text.C:
2653         * text2.C:
2654         * text3.C:
2655         * paragraph.[Ch]: adjust
2656
2657 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * lyxfind.C (find): fix argument order in call to ::find
2660
2661 2004-02-02  André Pönitz  <poenitz@gmx.net>
2662
2663         * cursor.[Ch]: remove direct access to anchor
2664
2665         * text.C: remove findText() hack
2666
2667 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2668
2669         * iterators.[Ch] (lockPath): remove in favour of...
2670         * BufferView.[Ch] (setCursor): this addition
2671         * BufferView.C (putSelectionAt): adjust
2672         * undo.C (performUndoOrRedo): adjust
2673         * lyxfunc.C (dispatch): adjust
2674
2675 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2676
2677         * iterators.C (lockPath): add a missing slice
2678         * undo.C (performUndoOrRedo): remove redundant positioning code
2679
2680 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2681
2682         * vc-backend.C (scanMaster): ";" -> ';'
2683
2684 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2685
2686         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2687         std::binary_function
2688
2689         * lyxtextclass.C (compare_name): rename to...
2690         (LayoutNamesEqual): ...this
2691
2692         * lyxlex_pimpl.C (compare_tags): inherit from
2693         std::binary_function, put back into anon namespace
2694
2695         * lyxfind.C (MatchString): inherig from std::binary_function
2696         (findChange): use empty() istead of !size()
2697
2698         * format.C (FormatNamesEqual): new functor
2699         (getFormat): use it
2700         (getNumber): use it
2701         (add): use it
2702         (erase): use it
2703         (setViewer): use it
2704
2705         * converter.C (compare_Converter): rename to...
2706         (ConverterEqual): ...this, and fixup a bit.
2707         (getConverter): use it, and make function const
2708         (getNumber): use it, and make function const
2709         (add): use it
2710         (erase): use it:
2711
2712         * bufferlist.C: add using boost::bind
2713
2714         * MenuBackend.C (MenuNamesEqual): new functor
2715         (hasMenu): use it, and make function const
2716         (hasSubmenu): use nested bind to get rid of compare_memfun.
2717
2718 2004-01-30  André Pönitz  <poenitz@gmx.net>
2719
2720         * BufferView_pimpl.C:
2721         * cursor.C:
2722         * cursor.h:
2723         * cursor_slice.[Ch]:
2724         * lyxfunc.C:
2725         * lyxtext.h:
2726         * paragraph_funcs.C:
2727         * paragraph_funcs.h:
2728         * rowpainter.C:
2729         * text.C:
2730         * text2.C:
2731         * text3.C: move some of the edit(x,y) handling to the insets
2732         some coordinate changes.
2733
2734 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2735
2736         * text.C: add using statements for std::advance and std::distance
2737
2738         * paragraph.C: add using statement for std::distance
2739
2740         * lyxfind.C: add using statement for std::advance
2741
2742         * cursor.C (region): remove std:: from swap
2743         (openable): use nucleus in stead of operator->
2744
2745         * BufferView.C: add using statements for std::distance and std::swap
2746
2747 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2748
2749         * iterators.C: Remove the pimple, move the needed structures to
2750         the header file. Create accessor for the positions stack.
2751         (asPosIterator): remove function
2752
2753         * PosIterator.C (PosIterator): move constructors to top of file
2754         (PosIterator): reimplement the constructor taking a ParIterator in
2755         terms of setFrom.
2756         (setFrom): new function
2757         (operator!=): inline it
2758
2759 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2760
2761         * lyxfind.C (replaceAll): use std::advance
2762
2763         * iterators.h: inherit from std::iterator.
2764
2765         * PosIterator.C (advance, distance): remove
2766         * PosIterator.h: interit from std::iterator.
2767
2768 2004-01-26  André Pönitz  <poenitz@gmx.net>
2769
2770         * BufferView.[Ch]:
2771         * BufferView_pimpl.[Ch]:
2772         * InsetList.[Ch]:
2773         * PosIterator.[Ch]:
2774         * buffer.h:
2775         * bufferview_funcs.C:
2776         * cursor.[Ch]:
2777         * cursor_slice.h:
2778         * factory.[Ch]:
2779         * iterators.[Ch]:
2780         * lyxfind.C:
2781         * lyxfunc.C:
2782         * lyxtext.h:
2783         * output_docbook.C:
2784         * output_latex.C:
2785         * output_linuxdoc.C:
2786         * output_plaintext.C:
2787         * paragraph.[Ch]:
2788         * paragraph_funcs.[Ch]:
2789         * paragraph_pimpl.[Ch]:
2790         * rowpainter.C:
2791         * tabular.C:
2792         * tabular.h:
2793         * text.C:
2794         * text2.C:
2795         * text3.C: more IU:  dumps most of the rest of the mathcursor
2796     implementation into cursor.[Ch]; "globalize" a bit of it.
2797
2798 2004-01-25  Angus Leeming  <leeming@lyx.org>
2799
2800         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2801
2802 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2803
2804         * LaTeXFeatures.h: add nice_ and nice() const
2805         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2806
2807 2004-01-20  André Pönitz  <poenitz@gmx.net>
2808
2809         * BufferView.[Ch]:
2810         * BufferView_pimpl.C:
2811         * PosIterator.C:
2812         * bufferview_funcs.C:
2813         * cursor.[Ch]:
2814         * cursor_slice.[Ch]:
2815         * factory.C:
2816         * iterators.C:
2817         * lyx_cb.C:
2818         * lyxfind.C:
2819         * lyxfunc.C:
2820         * lyxtext.h:
2821         * rowpainter.C:
2822         * text.C:
2823         * text2.C:
2824         * text3.C:
2825         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2826           LCursor and mathcursor parts to LCursor and InsetBase.
2827
2828 2004-01-15  André Pönitz  <poenitz@gmx.net>
2829
2830         * cursor_slice.[Ch]: add a few covienience functions
2831
2832         * funcrequest.[Ch]: remove BufferView * member
2833
2834         * BufferView_pimpl.C:
2835         * cursor.C:
2836         * factory.[Ch]:
2837         * lyxfind.[Ch]:
2838         * lyxfunc.C:
2839         * lyxtext.h:
2840         * text3.C:
2841         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2842
2843 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2844
2845         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2846         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2847
2848 2004-01-13  André Pönitz  <poenitz@gmx.net>
2849
2850         * textcursor.[Ch]:
2851         * lyxtext.h: hide cursor and selection anchor behind accessor function
2852
2853         * BufferView.C:
2854         * BufferView_pimpl.[Ch]:
2855         * PosIterator.C:
2856         * bufferview_funcs.C:
2857         * cursor.h:
2858         * lyxfind.C:
2859         * lyxfunc.C:
2860         * text.C:
2861         * text2.C:
2862         * text3.C:
2863         * undo.C: adjust
2864
2865         * cursor.h:
2866         * cursor_slice.[Ch]: some integer type changes for inset unification
2867
2868         * lyxcursor.[hC]: remove, it's CursorSlice now.
2869
2870         * Makefile.am:
2871         * BufferView_pimpl.[Ch]:
2872         * bufferview_funcs.C:
2873         * cursor_slice.C:
2874         * lyxtext.h:
2875         * text.C:
2876         * text2.C:
2877         * text3.C:
2878         * textcursor.[Ch]: adjust
2879
2880 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * text2.C (undoSpan): add and use
2883         * text.C (breakParagraph): use undoSpan (fix bug 578)
2884         * lyxtext.h: adjust
2885
2886 2004-01-08  Angus Leeming  <leeming@lyx.org>
2887
2888         * BufferView_pimpl.C (MenuInsertLyXFile):
2889         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2890         * lyxfunc.C (menuNew, open, doImport):
2891         FileFilterList change to the FileDialog open and save functions.
2892
2893 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2894
2895         * ShareContainer.h: make isEqual and isUnique adaptable
2896
2897         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2898
2899 2004-01-07  Angus Leeming  <leeming@lyx.org>
2900
2901         * LyXAction.C:
2902         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2903
2904         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2905
2906         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2907         functions replacing find, replace and replaceAll.
2908
2909         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2910         LFUN_WORDFIND(FORWARD|BACKWARD).
2911
2912 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2913
2914         * text.C (breakParagraph): remove an outdated #warning
2915
2916 2004-01-07  André Pönitz  <poenitz@gmx.net>
2917
2918         * lyxfind.C: somewhat clearer logic
2919
2920         * text.C: prevent crash in cursorX on unitialized row cache
2921
2922 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * lyxcursor.[Ch] (operator>): add
2925         * textcursor.C (selStart, selEnd): use std::min and std::max
2926
2927 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2928
2929         * Chktex.C: include boost/format.hpp
2930
2931 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2932
2933         * InsetList.C: replace functor MathcIt with adaptable functor
2934         InsetTablePosLess
2935         (insetIterator): modify accordingly
2936
2937         * BranchList.h: move the BranchNamesEqual functor here from...
2938         * BranchList.C: ... to here
2939
2940         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2941         SameName and match.
2942         (add): replace a finding loop with std::find_if.
2943
2944 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2945
2946         * output_docbook.C: moving LatexParam functionality into
2947         .layout files
2948
2949 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2950
2951         * buffer.C: increment format to 229.
2952
2953 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2954
2955         * LaTeXFeatures.C:
2956         * lyx_sty.[Ch]: remove minipageindent_def
2957
2958         * LyXAction.C:
2959         * factory.C:
2960         * lfuns.h:
2961         * lyxfunc.C:
2962         * text3.C: remove LFUN_INSET_MINIPAGE
2963
2964 2003-12-28  Angus Leeming  <leeming@lyx.org>
2965
2966         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2967
2968 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2969
2970         * text2.C (setParagraph): fix off-by-one crash
2971
2972 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2973
2974         * output_docbook.C: header stuff for AGU
2975
2976 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * text2.C (redoCursor): remove
2979         * text.C:
2980         * text3.C:
2981         * BufferView_pimpl.C: remove calls to redoCursor and
2982         setCursor(cursor.par(), cursor.pos()) all around
2983
2984 2003-12-15  Angus Leeming  <leeming@lyx.org>
2985
2986         * buffer.C: up the format to 228.
2987
2988 2003-12-15  André Pönitz  <poenitz@gmx.net>
2989
2990         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2991         slices
2992
2993         * Makefile.am:
2994
2995         * BufferView_pimpl.C:
2996         * cursor.[Ch]:
2997         * lyxcursor.[Ch]:
2998         * rowpainter.[Ch]:
2999         * lyxtext.h:
3000         * text.C:
3001         * text2.C:
3002         * text3.C: adjust
3003
3004 2003-12-15  Angus Leeming  <leeming@lyx.org>
3005
3006         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3007         than getFromGUIName to manipulate the color.
3008
3009 2003-12-14  Angus Leeming  <leeming@lyx.org>
3010
3011         * BranchList.[Ch]: minimize the API.
3012         (Branch::getBranch, getColor): now return a 'const &'.
3013         (Branch::setSelected) now returns a bool set to true if the
3014         selection status changes.
3015         (BranchList::clear, size, getColor, setColor, setSelected,
3016         allBranches, allSelected, separator): removed.
3017         (BranchList::find): new functions, returning the Branch with
3018         the given name.
3019         (BranchList::add, remove): return a bool indicating that
3020         the operation was successful.
3021
3022         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3023         new InsetBranch::isBranchSlected member function.
3024
3025         * LColor.[Ch]: mimimize the API.
3026         (fill): renamed as addColor and made private.
3027         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3028         versions of these functions taking a string arg have been removed.
3029
3030         * bufferparams.C (readToken):
3031         * lyxfunc.C (dispatch):
3032         * lyxrc.C (read): changes due to the altered BranchList and
3033         LColor APIs.
3034
3035         * factory.C (createInset, readInset): changes due to altered
3036         InsetBranch c-tor.
3037
3038 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3039
3040         * factory.C:
3041         * lyxfunc.C: remove insetminipage. "minipage-insert"
3042         now produces a frameless minipage box inset.
3043
3044 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3045
3046         * textcursor.[Ch] (selStart,selEnd): add new methods
3047         remove selection::start, end, use LyXCursor::operator<
3048         * lyxcursor.[Ch] (operator<): add
3049         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3050         * BufferView.[Ch] (unsetXSel): add
3051         * text2.C (clearSelection): use unsetXSel,adjust
3052         * text.C: adjust
3053         * text3.C: adjust
3054         * rowpainter.C: adjust
3055         * bufferview_funcs.C (put_selection_at): adjust
3056
3057 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3058
3059         * BufferView_pimpl.C: small coord. correction
3060
3061 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3064         dragging over the splash screen.
3065
3066 2003-12-11  Angus Leeming  <leeming@lyx.org>
3067
3068         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3069         as it is now handled in LyXText::dispatch.
3070
3071         * text3.C (doInsertInset): remove a level of nesting.
3072
3073 2003-12-11  Angus Leeming  <leeming@lyx.org>
3074
3075         * factory.C (createInset): changes due to the changed interface to
3076         InsetCommandMailer::string2params.
3077
3078 2003-12-10  Angus Leeming  <leeming@lyx.org>
3079
3080         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3081         'dialog-show-new-inset <inset name>'
3082
3083 2003-12-10  Angus Leeming  <leeming@lyx.org>
3084
3085         * buffer.C: up the format to 227.
3086
3087         * factory.C: the box inset is now identified simply by 'Box'.
3088
3089 2003-12-10  Angus Leeming  <leeming@lyx.org>
3090
3091         * buffer.C: up the format to 226.
3092
3093         * factory.C: the note inset is now identified simply by 'Note'.
3094
3095 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3098         when a pit is enough. Standarize a couple of loops.
3099
3100 2003-12-05  Angus Leeming  <leeming@lyx.org>
3101
3102         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3103         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3104         data to the re-worked "log" dialog.
3105
3106 2003-12-03  André Pönitz  <poenitz@gmx.net>
3107
3108         * PosIterator.C:
3109         * iterators.C:
3110         * lyxtext.h:
3111         * output_latex.C:
3112         * paragraph_funcs.C:
3113         * text.C:
3114         * text2.C: use Inset::getText instead of Inset::getParagraph
3115
3116 2003-12-03  André Pönitz  <poenitz@gmx.net>
3117
3118         * buffer.[Ch]:
3119         * lyxtext.h:
3120         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3121         InsetText::read() as LyXText::read()
3122
3123 2003-12-02  Angus Leeming  <leeming@lyx.org>
3124
3125         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3126         type. Add a comment in the implementation that the function uses
3127         the stream's bad() function rather than fail() as the std::streams
3128         would do.
3129
3130 2003-12-02  André Pönitz  <poenitz@gmx.net>
3131
3132         * lyxlex.[Ch]: make interface more similar to std::stream
3133
3134         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3135
3136 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3137
3138         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3139
3140 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3141
3142         * vspace.[Ch]: remove VSpace::NONE
3143
3144 2003-12-01  André Pönitz  <poenitz@gmx.net>
3145
3146         * buffer.[Ch]:
3147         * lyxtext.h: move ParagraphList member to LyXText
3148         rename LyXText::ownerParagraphs to LyXText::paragraph
3149
3150         * CutAndPaste.C:
3151         * bufferview_funcs.C:
3152         * iterators.[Ch]:
3153         * lyx_cb.C:
3154         * paragraph.C:
3155         * rowpainter.C:
3156         * tabular.C:
3157         * text.C:
3158         * text2.C:
3159         * text3.C: adjust
3160
3161         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3162
3163         * undo.C: fix cursor positioning
3164
3165 2003-12-01  John Levon  <levon@movementarian.org>
3166
3167         * BufferView_pimpl.C: fix a crash on exit with
3168         a buffer open
3169
3170 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3171
3172         * BranchList.C: fix setSelected() method.
3173
3174 2003-11-28  André Pönitz  <poenitz@gmx.net>
3175
3176         * ParagraphParameters.[Ch]:
3177         * ParameterStruct.h: remove space above/below from Paragraph to
3178          InsetVSpace
3179
3180         * BufferView_pimpl.C:
3181         * factory.C:
3182         * lyxfunc.C:
3183         * lyxtext.h:
3184         * output_latex.C:
3185         * paragraph.C:
3186         * paragraph_funcs.C:
3187         * rowpainter.[Ch]:
3188         * text.C:
3189         * text2.C:
3190         * text3.C: adjust
3191
3192 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3193
3194         * factory.C: Syntax change for CharStyles
3195
3196 2003-11-28  André Pönitz  <poenitz@gmx.net>
3197
3198         * BufferView.[Ch]:
3199         * BufferView.[Ch]:
3200         * buffer.[Ch]:
3201         * buffer.[Ch]: move LyXText member
3202
3203 2003-11-28  André Pönitz  <poenitz@gmx.net>
3204
3205         * BufferView.[Ch]: make LyXText * text a private member
3206
3207         * BufferView_pimpl.C:
3208         * cursor.C:
3209         * iterators.C:
3210         * lyx_cb.C:
3211         * lyxfind.C:
3212         * lyxtext.h:
3213         * rowpainter.[Ch]:
3214         * text.C:
3215         * text2.C:
3216         * undo.C: adjust
3217
3218         * output_plaintext.C: cleanup
3219
3220 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3221
3222         * buffer.C:
3223         * lyxtextclass.[Ch]: parametrize SGML document header
3224
3225 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3226
3227         * converter.[Ch]:
3228         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3229         getFlavor().
3230
3231 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3232
3233         * text2.C (setFont): rework using PosIterator (no more recursive)
3234         (setCharFont): no more needed
3235         (setLayout): no more selection cursors fiddling (done by redoCursor)
3236         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3237         destroy remaining ones)
3238
3239 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3240
3241         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3242         * lyxtext.h: ditto
3243         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3244         selection cursors
3245         * lyxfunc.C: adjust
3246         * text3.C: adjust + re-allow multi par depth changes
3247         * textcursor.C: simplify a bit
3248
3249 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3250
3251         * src/buffer.C:
3252         * src/lyxlayout.C:
3253         * src/lyxlayout.h:
3254         * src/lyxtext.h:
3255         * src/output_docbook.C:
3256         * src/output_latex.C:
3257         * src/paragraph.C:
3258         * src/paragraph.h:
3259         * src/sgml.C:
3260         * src/sgml.h:
3261         * src/text2.C: Introducing a number of tags parametrizing various
3262         XML formats that we may want to support
3263
3264 2003-11-25  André Pönitz  <poenitz@gmx.net>
3265
3266         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3267
3268         * lyxtext.h (leftMargin/rightMargin): simplify interface
3269
3270         * rowpainter.C:
3271         * text.C:
3272         * text2.C:
3273         * text3.C: adjust
3274
3275 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3276
3277         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3278         master file to any child files. Fixes bug 546.
3279
3280 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3281
3282         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3283
3284 2003-11-24  André Pönitz  <poenitz@gmx.net>
3285
3286         * rowpainter.C: simplification
3287
3288         * text2.C (updateCounters): remove call to redoParagraph on
3289         changed labels as this is far too expensive.
3290
3291 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3292
3293         * converter.C (convert): fix a crash: this function gets
3294         called with buffer == 0 from importer code.
3295
3296 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3297
3298         * text3.C (cursorPrevious): make sure that we do not compare
3299         iterators form different containers.
3300         (cursorNext): ditto
3301
3302         * rowpainter.C (paintSelection): make sure that we do not compare
3303         iterators from different containers.
3304
3305         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3306         iterators from different ParagraphList containers.
3307         [NEXT] ditto
3308
3309         * text2.C (LyXText): change order of initialization slightly
3310         (operator=): new function. copy all variables except cache_par_
3311         (moveUp): make sure that we do not compare iterators from
3312         different ParagraphList constainers.
3313         (moveDown): ditto
3314
3315         * text.C (firstPar): new function
3316         (lastPar): new function
3317         (endPar): new function
3318
3319         * lyxtext.h: move things around and group public functions, public
3320         variables, private functions, private variables
3321
3322 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3323
3324         * factory.C: change call to InsetERT constructor to avoid
3325         additional invocation of method status
3326         * text2.C (toggleInset): remove redundant update() call
3327         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3328         instead of a Bufferview pointer
3329
3330 2003-11-21  André Pönitz  <poenitz@gmx.net>
3331
3332         * rowpainter.C: simplification
3333
3334 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * text3.C (dispatch): make possible to extend a word/row selection
3337         with the mouse
3338
3339 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3340
3341         * lyxtext.h: x0_,y0_ -> xo_,yo_
3342         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3343         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3344         * rowpainter.C (paintRows): paint full paragraphs
3345
3346 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3347
3348         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3349         screen coordinates)
3350
3351 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3352
3353         * lyxtext.h: add x0_, y0_
3354         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3355         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3356
3357 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3358
3359         * text2.C (setCursorIntern): move the x_target update here *
3360         * text3.C: change some bv() to true/false in calls to
3361         cursorUp/Down/Right/Left
3362         * cursor.C: use helper function.
3363
3364 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3367         * paragraph_funcs.[Ch]: correct comment
3368         * rowpainter.C: do not paint selections away from bv->cursor()
3369         Fix a long standing selection painting bug.
3370         * text3.C: generalize mouse-selection code to LyXTexts other that
3371         top one
3372         * textcursor.C: do not use y coords if we can use par offsets
3373
3374 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3375
3376         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3377         cursor position after e.g. inset insert)
3378
3379 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3380
3381         * lyxfind.C (replace): adjust to locking removal + some
3382         code simplification
3383
3384 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3385
3386         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3387         of the path
3388
3389 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3390
3391         * lyxlayout.[Ch]:
3392         * output_docbook.C: XML sanitation: new layout
3393         parameters InnerTag and CommandDepth
3394
3395 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3396
3397         * BufferView_pimpl.C:
3398         * factory.C:
3399         * text3.C: Fix the insertion and modification of button-style
3400         insets
3401
3402 2003-11-13  André Pönitz  <poenitz@gmx.net>
3403
3404         * InsetList.[Ch]: remove deleteLyXText
3405
3406         * paragraph.[Ch]: cache beginOfBody position
3407
3408         * Bidi.C:
3409         * text.C:
3410         * text2.C:
3411         * text3.C: remove superfluous update() calls
3412
3413         * vspace.C: cleanup
3414
3415 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3416
3417         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3418         * BufferView.C (fitLockedInsetCursor): remove
3419         * cursor.[Ch] (getDim): add
3420         * text.C (getRowNearY): add faster version
3421         * text3.C: remove some update calls
3422
3423 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3424
3425         * LaTeXFeatures.C:
3426         * LyXAction.C:
3427         * MenuBackend.C:
3428         * MenuBackend.h:
3429         * dispatchresult.h:
3430         * factory.C:
3431         * lfuns.h:
3432         * lyxfunc.C:
3433         * lyxtextclass.C:
3434         * lyxtextclass.h:
3435         * text3.C: The Character Style /XML short element patch.
3436
3437 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3438
3439         * text3.C:
3440         * factory.C: Small step to solving 'unable to insert some insets'
3441         problem
3442
3443 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3444
3445         * cursor.[Ch] (updatePos): new function for updating the y
3446         position of the tip inset
3447         * bufferview_funcs.C (put_selection_at):
3448         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3449
3450 2003-11-11  André Pönitz  <poenitz@gmx.net>
3451
3452         * text.C: remove big comment on invalid Paragraph pointers as it is
3453         not valid anymore
3454
3455 2003-11-11  André Pönitz  <poenitz@gmx.net>
3456
3457         * text_funcs.[Ch]: merge with ...
3458
3459         * text.C: ... this
3460
3461         * lyxtext.h:
3462         * text2.C:
3463         * text3.C: adjust
3464
3465         * Makefile.am: remove text_funcs.[Ch]
3466
3467 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3468
3469         * cursor.C (getPos): return absolute cached y coord
3470
3471         * BufferView_pimpl.C (fitCursor): new simplistic code
3472         (workAreaDispatch): add a fitCursor call
3473
3474 2003-11-10  André Pönitz  <poenitz@gmx.net>
3475
3476         * BufferView.[Ch]:
3477         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3478
3479 2003-11-10  André Pönitz  <poenitz@gmx.net>
3480
3481         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3482         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3483         indicate that the cursor needs to leave an inset
3484
3485         * lyxtext.h: remove inset locking
3486
3487         * cursor.[Ch]: re-implement functionality provided by inset locking
3488
3489         * BufferView.[Ch]:
3490         * BufferView_pimpl.[Ch]:
3491         * LyXAction.C:
3492         * bufferview_funcs.[Ch]:
3493         * factory.C:
3494         * funcrequest.[Ch]:
3495         * iterators.C:
3496         * lyx_cb.C:
3497         * lyxfind.C:
3498         * lyxfunc.C:
3499         * text.C:
3500         * text2.C:
3501         * text3.C:
3502         * undo.C: adjust
3503
3504 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3505
3506         * PosIterator.[Ch]: replace the stack with a vector, add inset
3507         accesor
3508         * iterators.[C]: adjust
3509
3510 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3511
3512         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3513         replaced
3514         * paragraph_funcs.C (readParToken): put the correct id in the
3515         error item, not the id of the top paragraph
3516
3517 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3520         * bufferview_funcs.C (put_selection_at): use the above
3521
3522 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3523
3524         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3525
3526 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3527
3528         * output_linuxdoc.h:
3529         * output_plaintext.h:
3530         * output.h:
3531         * output_docbook.h: add #include statements
3532
3533 2003-11-05  José Matos  <jamatos@lyx.org>
3534
3535         * output_docbook.[Ch]:
3536         * output_latex.[Ch]:
3537         * output_linuxdoc.[Ch]:
3538         * output_plaintext.[Ch]: New files for output formats.
3539         * output.[Ch]: New file for helper functions.
3540
3541         * buffer.[Ch]:
3542         * paragraph_funcs.[Ch]: output functions moved to new files.
3543
3544         * outputparams.h: rename of latexrunparams.h
3545
3546         * LaTeX.[Ch]:
3547         * buffer.[Ch]:
3548         * bufferlist.[Ch]:
3549         * converter.[Ch]:
3550         * exporter.C:
3551         * paragraph.[Ch]:
3552         * paragraph_funcs.[Ch]:
3553         * paragraph_pimpl.[Ch]:
3554         * tabular.[Ch]: rename ascii to plaintext
3555         and LatexRunParams to OutputParams.
3556
3557 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3558
3559         * iterators.[Ch] (text): require bv argument
3560         * undo.C (recordUndo):
3561         * lyxfunc.C (dispatch):
3562         * bufferview_funcs.C (put_selection_at): adjust
3563
3564 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3565
3566         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3567
3568 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3571         nestings
3572
3573 2003-11-04  André Pönitz  <poenitz@gmx.net>
3574
3575         * cursor.[Ch]: restructure
3576
3577         * BufferView.[Ch]:
3578         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3579
3580         * iterators.[Ch] (asCursor): remove
3581
3582         * lfuns.h: remove LFUN_INSET_EDIT
3583
3584         * lyxfunc.C:
3585         * tabular.C:
3586         * text.C:
3587         * text2.C:
3588         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3589
3590 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * lyxfind.[Ch]: complete overhaul
3593         * BufferView_pimpl.C:
3594         * lyxfunc.C: adjust
3595         * paragraph.[Ch] (insert): add
3596
3597 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3598
3599         * BufferView.[Ch]:
3600         * lyxtext.h:
3601         * text.C: remove dead spellcheck code
3602
3603 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * dispatchresult.h: add a val setter
3606
3607         * cursor.C (dispatch): use a tempvar for data_[i]
3608
3609 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3610
3611         * PosIterator.[Ch]: compile fix
3612
3613 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * text.C (cursorPar): deactivate the cursor cache
3616
3617 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3618
3619         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3620
3621 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3622
3623         * text3.C (dispatch): adjust for new DisptchResult semantics.
3624
3625         * lyxfunc.C (dispatch): handle update when return from
3626         Cursor::dispatch, adjust for new DispatchResult semantics.
3627
3628         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3629         DispatchResult(true) mean to not update. Add class functions for
3630         setting dispatched and update, as well as reading.
3631
3632         * cursor.C (dispatch): don't handle update here
3633
3634 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3635
3636         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3637         * trans_mgr.C: adjust
3638
3639         * paragraph_funcs.C (readParToken): exception safety
3640
3641         * lyxvc.h: store the vcs pointer in a scoped_ptr
3642         * lyxvc.C: adjust
3643
3644         * lyxsocket.C (serverCallback): exception safety
3645
3646         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3647
3648         * ispell.C (clone): make it return a auto_ptr
3649
3650         * factory.C (createInset): exception safety
3651         (readInset): exception safety
3652
3653         * bufferlist.C (newBuffer): exception safety
3654
3655         * Thesaurus.C (Thesaurus): use initialization for aik_
3656
3657         * MenuBackend.C (expandToc): exception safety.
3658
3659 2003-11-03  André Pönitz  <poenitz@gmx.net>
3660
3661         * buffer.C:
3662         * buffer.h:
3663         * bufferview_funcs.C: remove getInsetFromId()
3664
3665         * lyxcursor.[Ch]:
3666         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3667
3668         * lyxfunc.C:
3669         * text2.C:
3670         * text3.C: adjust
3671
3672 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3673
3674         * PosIterator.C (distance, advance): new
3675         * bufferview_funcs.[Ch] (put_selection_at): new
3676         * iterators.[Ch] (lockPath): new
3677
3678 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3679
3680         * iterators.[Ch] (asPosIterator): added
3681         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3682         * PosIterator.[Ch]: added
3683
3684 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * text3.C:
3687         * lyxfunc.C:
3688         * cursor.C (dispatch):
3689         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3690
3691         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3692         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3693         contructor, add a class function dispatched. Remove operator>=
3694
3695 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * debug.C: only use the default constructor for debugstream
3698         (lyxerr) here.
3699
3700         * main.C (main): include debug.h and setup the lyxerr streambuf
3701         here.
3702
3703 2003-10-31  José Matos  <jamatos@lyx.org>
3704
3705         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3706
3707         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3708         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3709         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3710         * paragraph_pimpl.C (simpleTeXSpecialC):
3711         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3712         add LatexRunParams argument.
3713
3714         * exporter.C (Export): change call accordingly.
3715
3716         * latexrunparams.h: add new member to take care of the other backends.
3717 2003-10-30  José Matos  <jamatos@lyx.org>
3718
3719         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3720         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3721         factorise code for paragraph output.
3722         * buffer.[Ch]:
3723         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3724         move functions.
3725
3726 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * text3.C (dispatch):
3729         * lyxfunc.C (dispatch):
3730         * cursor.C (dispatch):
3731         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3732
3733         * dispatchresult.h: make the dispatch_result_t ctor explicit
3734
3735 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3736
3737         * sgml.[Ch]:
3738         * buffer.C: small refactoring of docbook stuff
3739
3740 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3741
3742         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3743         meaning.
3744
3745 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3746
3747         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3748         operator dispatch_result_t, and operators for == != and >=
3749
3750         * cursor.C (dispatch): adjust for operator dispatch_result_t
3751         removal. comment out call to update
3752
3753         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3754
3755 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3756
3757         * text3.C:
3758         * text2.C:
3759         * text.C:
3760         * lyxtext.h:
3761         * lyxfunc.C:
3762         * cursor.C:
3763         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3764         (dispatch):
3765
3766         * dispatchresult.h: new file, DispatchResult broken out of
3767         insets/insetbase.h
3768
3769         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3770
3771 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3772
3773         * text.C (rowBreakPoint): put a hack inside #if 0
3774
3775 2003-10-28  André Pönitz  <poenitz@gmx.net>
3776
3777         * lyxtext.h:
3778         * metricsinfo.C:
3779         * paragraph_funcs.C:
3780         * rowpainter.C:
3781         * text.C:
3782         * text2.C: general cleanup (lots of small stuff)
3783
3784 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * text2.C (cursorEnd): simple fix to the "end key goes to one
3787         before the end on last row" bug
3788
3789 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3790
3791         * text.C (backspace): fix the "zombie characters"
3792
3793 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3796
3797 2003-10-27  André Pönitz  <poenitz@gmx.net>
3798
3799         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3800
3801         * factory.C: handle new InsetPagebreak, InsetLine
3802
3803         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3804         and move handling into new InsetPagebreak, InsetLine
3805
3806         * BufferView_pimpl.C:
3807         * LyXAction.C:
3808         * ParagraphParameters.C:
3809         * ParameterStruct.h:
3810         * lyxfunc.C:
3811         * lyxtext.h:
3812         * paragraph.C:
3813         * paragraph.h:
3814         * paragraph_funcs.C:
3815         * paragraph_pimpl.C:
3816         * rowpainter.C:
3817         * text.C:
3818         * text2.C:
3819         * text3.C: adjust
3820
3821 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3822
3823         * text.C:
3824         * lyxrow_funcs.[Ch]:
3825         * Bidi.C:
3826         * paragraph.C:
3827         * lyxtext.h:
3828         * rowpainter.C:
3829         * text2.C:
3830         * text3.C: remove lastPos uses in favour of Row::endpos
3831
3832 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3833
3834         * undo.C (performUndoOrRedo): fix two crashes by setting a
3835         cursor by hand and reordering some calls. Use bv->lockInset instead
3836         of inset->edit because the latter loses cursor information
3837
3838 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3839
3840         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3841         by Martin
3842         (rowBreakPoint): fix width. change point to point + 1.
3843         Add a missing check.
3844
3845 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3846
3847         * MenuBackend.C:
3848         * lyxfunc.C: fix (at least partly) the problems
3849         with the Nav menu and headers inside branch insets
3850         reported by Kayvan
3851
3852 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * paragraph.C (getChar): add strong asserts
3855
3856         * lyxrow_funcs.C (lastPos): remove hideous hack
3857
3858         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3859         (fill): adjust to that (avoid an infinite loop)
3860
3861 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3864
3865 2003-10-23  André Pönitz  <poenitz@gmx.net>
3866
3867         * RowList_fwd.h: change list<> to vector<> to gain speed
3868         after suggestion from Alfredo
3869
3870 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3871
3872         * lyxtext.h: move the bidi stuff from here...
3873         * text.C: and here
3874         * text2.C: and here
3875         * Bidi.[Ch]: ... to here
3876
3877 2003-10-23  André Pönitz  <poenitz@gmx.net>
3878
3879         * lyxtext.h:
3880         * text.C (isLastRow, isFirstRow): new functions
3881
3882         * paragraph.h: new width cache member
3883
3884         * rowpainter.C: replace RowList::iterator with Row & where possible
3885
3886         * lyxfunc.C: replace several view()->text with a single call
3887
3888         * toc.C: fix 'unused' warning
3889
3890 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3891
3892         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3893         when woring with stream::pos_type
3894         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3895
3896 2003-10-22  André Pönitz  <poenitz@gmx.net>
3897
3898         * lyxtext.h:
3899         * text.C: use Row & instead of RowList::iterator
3900
3901         * lyxrow.h: rename end() to endpos()
3902
3903         * rowpainter.C:
3904         * text.C:
3905         * text2.C: adjust
3906
3907 2003-10-22  Angus Leeming  <leeming@lyx.org>
3908
3909         * buffer.[Ch] (fully_loaded): new member function, returning true
3910         only when the file has been loaded fully.
3911         Used to prevent the premature generation of previews and by the
3912         citation inset to prevent computation of the natbib-style label.
3913
3914         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3915         templates are all set up.
3916
3917         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3918
3919 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3920
3921         * text.C: fixed an "oops" in the "is a bit silly"
3922         bug fix
3923
3924 2003-10-21  André Pönitz  <poenitz@gmx.net>
3925
3926         * FuncStatus.[Ch]: small stuff, whitespace
3927
3928         * lyxfont.[Ch]: operator<<() for debug reasons
3929
3930         * lyxfunc.C:
3931         * lyxrow_funcs.C:
3932         * lyxtext.h: whitespace, spelling
3933
3934         * paragraph.C: naming of variables
3935
3936         * text.C:
3937         * text2.C: small stuff
3938
3939
3940 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3941
3942         * text.C: (1) finish off the inset display() work;
3943         (2) fix the "is a bit silly" bug (accessing char
3944         past end of par).
3945
3946 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3947
3948         * text.C: re-introduce display() for insets, fixing the
3949         various bugs (stretch of line above, math inset
3950         positioning, ...)
3951
3952 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3953
3954         * text.C (rightMargin): remove spurious semicolon
3955
3956         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3957         1415)
3958
3959 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3960
3961         * text3.C: fix one crash due to wrong cursor def
3962
3963 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * vc-backend.C (scanMaster): make the regex static
3966
3967         * LaTeX.C (scanAuxFile): make the regexs static
3968
3969         * text3.C (doInsertInset, dispatch, dispatch):
3970         * text2.C (cursorUp, cursorDown):
3971         * text.C (selectNextWordToSpellcheck):
3972         * BufferView_pimpl.C (dispatch):
3973         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3974
3975 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3976
3977         * lyxsocket.C: include <cerrno>
3978
3979 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * lyxfunc.C (dispatch): remove textcache stuff
3982
3983         * bufferlist.C (release): remove textcache stuff
3984         (closeAll): ditto
3985
3986         * TextCache.C: delete file
3987         * TextCache.h: delete file
3988
3989         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3990
3991         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3992         delete of the bv_->text.
3993         (resizeCurrentBuffer): remove texcache stuff
3994         (workAreaResize): ditto
3995
3996 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3999         action.
4000
4001 2003-10-16  André Pönitz  <poenitz@gmx.net>
4002
4003         * lyxrow.[Ch]:
4004         * paragraph.h:
4005         * rowpainter.C:
4006         * text.C:
4007         * text2.C:
4008         * text3.C: speed up by storing y positions per paragraph plus per-row
4009         offset instead of having a 'full' y position in the row.
4010
4011 2003-10-15  André Pönitz  <poenitz@gmx.net>
4012
4013         * iterators.[Ch]:
4014         * iterators.[Ch]:
4015         * undo.[Ch]: make undo aware of inner insets
4016
4017 2003-10-14  Angus Leeming  <leeming@lyx.org>
4018
4019         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4020         static member functions LyX::ref() and LyX::cref.
4021         (lastfiles): new accessor functions for the new lastfiles_ member var.
4022         (addLyXView, views_): add a new LyXView to the list of views_.
4023         (updateInset): loop over all LyXViews to call their own updateInset
4024         member function, returning a pointer to the Buffer owning the inset.
4025
4026         * BufferView_pimpl.C (loadLyXFile):
4027         * MenuBackend.C (expandLastfiles):
4028         * bufferlist.C (MenuWrite, QuitLyX):
4029         lastfiles is no longer a global variable.
4030         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4031
4032         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4033         static function. Access through LyX::cref().emergencyCleanup().
4034
4035 2003-10-14  André Pönitz  <poenitz@gmx.net>
4036
4037         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4038
4039         * undo.[Ch]: restoring part of 'undo in insets'
4040
4041         * Makefile.am:
4042         * undo_funcs.[Ch]: merge with undo.[Ch]
4043
4044         * tabular.C: small cleansing stuff
4045
4046 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4047
4048         * paragraph_funcs.C (readParToken): report unknown insets as error
4049         boxes. Use the outer paragraph as location (also for unknown
4050         tokens).
4051
4052         * factory.C (readInset): do not abort on reading an unknown inset.
4053         Eat it and return 0.
4054
4055 2003-10-13  Angus Leeming  <leeming@lyx.org>
4056
4057         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4058
4059         * lyxrc.C: displayTranslator is now a function,
4060         declared in GraphicsTypes.h.
4061
4062 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4063
4064         * format.C: new placeholder $$a to pass the socket address.
4065
4066         * bufferlist.[Ch]: new function getBufferFromTmp.
4067
4068         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4069           files in the temporary dir.
4070
4071 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4072
4073         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4074
4075         * Makefile.am: add lyxsocket.[Ch].
4076
4077         * lyx_main.C (error_handler): handle SIGPIPE.
4078
4079 2003-10-13  André Pönitz  <poenitz@gmx.net>
4080
4081         * BufferView_pimpl.C:
4082         * lyxtext.h:
4083         * text.C:
4084         * text2.C:
4085         * text3.C:
4086         * undo_funcs.[Ch]: use paroffset_type instead of
4087           ParagraphList::iterators to prevent multiple conversion
4088           (and get a more robust interface)
4089
4090 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4093         * lyxtext.h: ditto
4094         * text3.C (dispatch): ditto
4095
4096 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4097
4098         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4099         move the onlyfile, use onlyfile instead of foundfile in a couple
4100         of places.
4101
4102         * DepTable.C (update): flush the error stream a bit more
4103
4104 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4105
4106         * lyxserver.C (callback): adjust
4107
4108         * lyxfunc.C (getStatus): add a missing brace in commented code
4109         (ensureBufferClean): reindent
4110         (dispatch): delete version taking a string
4111
4112 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * LaTeX.C (deplog): move found file handlig from here...
4115         (handleFoundFile): .. to new function here.
4116         (deplog): make sure to discover several files mentioned on the
4117         same log line.
4118
4119 2003-10-10  André Pönitz  <poenitz@gmx.net>
4120
4121         * lyxfunc.C:
4122         * lyxtext.h:
4123         * tabular.C:
4124         * text.C:
4125         * text2.C:
4126         * text3.C: fix some of the tabular crashes
4127
4128 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4129
4130         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4131
4132         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4133
4134 2003-10-09  André Pönitz  <poenitz@gmx.net>
4135
4136         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4137
4138         * BufferView.C:
4139         * BufferView_pimpl.C:
4140         * bufferview_funcs.C:
4141         * lyx_cb.C:
4142         * lyxcursor.C:
4143         * lyxfind.C:
4144         * lyxfunc.C:
4145         * lyxtext.h:
4146         * text.C:
4147         * text2.C:
4148         * text3.C:
4149         * text_funcs.[Ch]:
4150         * textcursor.[Ch]:
4151         * undo_funcs.C: adjust
4152
4153 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * text2.C (incrementItemDepth): new function, use a backtracking
4156         algorithm to discover the correct item depth.
4157         (resetEnumCounterIfNeeded): new function, use a backtracking
4158         algorithm to discover if counter reset is needed.
4159         (setCounter): use them. Simplify a bit. Add different labels for
4160         different item depths for itemize.
4161
4162         * paragraph.C (Paragraph): remove initialization of enumdepth
4163         (operator=): ditto
4164
4165         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4166         enumerate and itemize. Change the type of itemdepth to signed char.
4167
4168 2003-10-08  André Pönitz  <poenitz@gmx.net>
4169
4170         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4171           thing assignable.
4172         * text.C:
4173         * text2.C: adjust
4174
4175         * tabular.[Ch]: fix crash after 'row-insert'
4176
4177 2003-10-08  Angus Leeming  <leeming@lyx.org>
4178
4179         Fix doxygen warnings.
4180
4181         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4182         Remove CutAndPaste:: prefix from header file declaration.
4183
4184         * LColor.h (fill): remove LColor:: prefix from declaration.
4185
4186         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4187         use lyx::depth_type rather than Paragraph::depth_type so that
4188         header file and .C file match.
4189
4190         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4191
4192         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4193         * aspell.C: \file aspell_local.C -> \file aspell.C
4194         * gettext.C: \file gettext.C -> \file src/gettext.C
4195         * gettext.h: \file gettext.h -> \file src/gettext.h
4196         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4197         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4198         * text.C: \file text.C -> \file src/text.C
4199
4200         * toc.C: move comment so that doxygen is not confused.
4201
4202 2003-10-07  Angus Leeming  <leeming@lyx.org>
4203
4204         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4205
4206 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4207
4208         * aspell.C:
4209         * aspell_local.h: add forgotten std::string's.
4210
4211 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4212
4213         * LaTeXFeatures.C:
4214         * LyXAction.C:
4215         * factory.C:
4216         * lfuns.h:
4217         * lyxfunc.C:
4218         * text3.C: The Box patch. Fancybox support, minipage, parbox
4219
4220 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4221
4222         * CutAndPaste.h:
4223         * DepTable.h:
4224         * FloatList.h:
4225         * LaTeXFeatures.h:
4226         * ParagraphParameters.h:
4227         * TextCache.h:
4228         * Thesaurus.h:
4229         * bufferlist.h:
4230         * exporter.h:
4231         * importer.h:
4232         * lastfiles.h:
4233         * lyxfind.h:
4234         * lyxfont.h:
4235         * lyxlex.h:
4236         * lyxtextclasslist.h:
4237         * messages.h:
4238         * paragraph.h:
4239         * paragraph_pimpl.C:
4240         * textcursor.h: add <string> and other small fixes to make Lars'
4241         std::string patch compile with STLport.
4242
4243 2003-10-06  Angus Leeming  <leeming@lyx.org>
4244
4245         * LColor.h: Add missing #include <string>.
4246
4247 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * All most all file in all subdirs: Make <string> be the prefered
4250         way of getting to std::string, add using declarations.
4251
4252 2003-10-06  André Pönitz  <poenitz@gmx.net>
4253
4254         * metricsinfo.C: initialize LyXFont before changing attribute.
4255         (fixes the 'math in \emph is upright' bug)
4256
4257 2003-10-06  André Pönitz  <poenitz@gmx.net>
4258
4259         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4260
4261 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4262
4263         * graph.C:
4264         * paragraph_pimpl.C: Small fixes to build using STLport
4265
4266 2003-10-02  André Pönitz  <poenitz@gmx.net>
4267
4268         * lyxfunc.C:
4269         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4270
4271 2003-10-01  André Pönitz  <poenitz@gmx.net>
4272
4273         * factory.C: assert early
4274
4275 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * lyx_main.C: remove the global debug object
4278
4279         * debug.h: adjust for new debugstream
4280
4281         * debug.C: adjust for new debugstream and keep the global debug
4282         object here.
4283
4284 2003-09-22  Angus Leeming  <leeming@lyx.org>
4285
4286         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4287         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4288         an incomplete class LyXFont.
4289
4290 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4291
4292         * factory.C: bug fix in branches
4293
4294 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * lyxfunc.C (processKeySym): adjust
4297         (dispatch): adjust
4298         (dispatch): change arg name from ev to func, adjust
4299         (sendDispatchMessage): ditto
4300
4301         * lyx_main.C (defaultKeyBindings): adjust keybindings
4302         (deadKeyBindings): ditto
4303
4304         * kbsequence.C (addkey): return a FuncRequest
4305
4306         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4307
4308         * kbmap.C (bind): take a FuncRequest as arg, adjust
4309         (read): adjust
4310         (lookup): adjust
4311         (defkey): change to take a FuncRequest as arg, adjust
4312         (findbinding): take a FuncRequest as arg, adjust.
4313
4314         * funcrequest.h (operator=): added
4315
4316         * funcrequest.C (FuncRequest): default kb_action changed from
4317         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4318
4319         * buffer.C (dispatch): simplify
4320         (dispatch): adjust to take a FuncRequest as arg, adjust
4321
4322         * boost.C (assertion_failed): change assertion message slightly
4323
4324         * ToolbarBackend.C (read): simplify
4325
4326         * MenuBackend.C (binding): adjust call to findbinding, add a
4327         message if no binding is found.
4328         (read): simplify
4329         (expandToc): correct by adding a empty FuncRequest
4330
4331         * LyXAction.C: include <boost/assert.hpp>
4332         (isPseudoAction): delete function
4333         (LookupFunc): change name to...
4334         (lookupFunc): this. change return type to FuncRequest.
4335         (getActionName): take kb_action as arg, simplify
4336         (funcHasFlag): add an assert, simplify.
4337
4338 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * toc.C (action): return a FuncRequest, simplify
4341
4342         * lyxfunc.C (processKeySym): adjust
4343         (getStatus): delete version that takes an int.
4344         (getStatus): adjust
4345         (dispatch): delete version that takes action as int
4346         (dispatch): adjust
4347         (sendDispatchMessage): simplify and adjust
4348
4349         * funcrequest.C (getArg): take unsigned int as arg
4350
4351         * ToolbarBackend.C (read): adjust
4352         (add): delete version that takes func as a string.
4353         (getIton): take a FuncRequest as arg
4354
4355         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4356         action.
4357
4358         * MenuBackend.C (MenuItem): add a new construct that only takes a
4359         Kind, simplify the constructor use for submenus.
4360         (add): adjust
4361         (expandLastfiles): adjust
4362         (expandDocuments): adjust
4363         (expandFormats): adjust
4364         (expandFloatListInsert): adjust
4365         (expandFloatInsert): adjust
4366         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4367
4368         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4369         Remove class variables lyx_pseudo_map and lyx_arg_map
4370
4371         * LyXAction.C (searchActionArg): delete function
4372         (getPseudoAction): delete function
4373         (retrieveActionArg): delete function
4374         (LookupFunc): make it return kb_action, simplify.
4375         (getActionName): simplify
4376
4377         * factory.C (createInset): fix new bug
4378
4379 2003-09-19  Angus Leeming  <leeming@lyx.org>
4380
4381         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4382         masterFilename_ parameter in the include inset.
4383
4384         * factory.C (createInset): changes due to the changes to InsetInclude.
4385
4386 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4387
4388         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4389
4390 2003-09-18  Angus Leeming  <leeming@lyx.org>
4391
4392         * buffer.C:
4393         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4394         Inset::fillWithBibKeys.
4395         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4396
4397 2003-09-18  Angus Leeming  <leeming@lyx.org>
4398
4399         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4400         variables.
4401         (ctor): pass and store a 'Buffer const &'
4402         (buffer): new member function.
4403
4404         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4405         '*this' to the LaTeXFeatures ctor.
4406
4407 2003-09-18  Angus Leeming  <leeming@lyx.org>
4408
4409         * LColor.h:
4410         * lyxfont.C:
4411         * lyxfont.h:
4412         * lyxtext.h:
4413         * text.C: rename EnumLColor as LColor_color.
4414
4415 2003-09-18  Angus Leeming  <leeming@lyx.org>
4416
4417         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4418         remove #include "insets/insetbase.h" from cursor.h.
4419
4420 2003-09-18  Angus Leeming  <leeming@lyx.org>
4421
4422         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4423         InsetOld_code to remove #include "inset.h".
4424
4425         * iterators.C: add #include "insets/inset.h"
4426
4427 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4428
4429         * BufferView.C: remove more locking stuff that apparently doesn't
4430         do anything sensible.
4431
4432 2003-09-16  André Pönitz  <poenitz@gmx.net>
4433
4434         * paragraph.[Ch]:
4435         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4436           performance boost.
4437
4438 2003-09-16  Angus Leeming  <leeming@lyx.org>
4439
4440         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4441
4442         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4443         arg/return type.
4444
4445         * paragraph.h: remove #include "lyxfont.h". Forward declare
4446         LyXFont_size.
4447
4448 2003-09-16  Angus Leeming  <leeming@lyx.org>
4449
4450         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4451         of support/textutils.h.
4452         (isWord): move the contents of support/textutils.h's IsWordChar here.
4453
4454         * buffer.C:
4455         * lyxfind.C:
4456         * rowpainter.C:
4457         * text.C:
4458         * text2.C: add #include "paragraph.h".
4459
4460         * rowpainter.C:
4461         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4462
4463 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * main.C:
4466         * lyx_main.C:
4467         * lyx_cb.C:
4468         * buffer.C:
4469         * LaTeX.C: use namespace alias for lyx::support::os
4470
4471 2003-09-16  Angus Leeming  <leeming@lyx.org>
4472
4473         * bufferparams.C:
4474         * bufferview_funcs.C:
4475         * factory.C:
4476         * lyxfunc.C:
4477         * paragraph_pimpl.C:
4478         * rowpainter.C:
4479         * text.C: add #include "LColor.h".
4480
4481 2003-09-16  Angus Leeming  <leeming@lyx.org>
4482
4483         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4484         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4485         return LyXFont &.
4486         Store the FontBits::color variable as an int rather than as an
4487         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4488         file.
4489
4490         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4491         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4492         string calls together.
4493
4494         * lyxrc.C: add #include "LColor.h".
4495
4496 2003-09-15  Angus Leeming  <leeming@lyx.org>
4497
4498         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4499         a cow_ptr.
4500
4501 2003-09-15  Angus Leeming  <leeming@lyx.org>
4502
4503         * LColor.h: add an EnumLColor wrapper for LColor::color.
4504
4505         * lyxfont.[Ch] (color, setColor, realColor):
4506         * lyxtext.h, text.C (backgroundColor):
4507         pass EnumLColor args to/from the functions, rather than LColor::color
4508         ones.
4509
4510         * lyxfont.h:
4511         * lyxtext.h: forward declare EnumLColor.
4512
4513         * lyx_main.C: add #include "LColor.h".
4514
4515 2003-09-15  Angus Leeming  <leeming@lyx.org>
4516
4517         * .cvsignore: add lyx-gtk.
4518
4519 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * Chktex.C
4522         * LaTeX.C
4523         * LaTeXFeatures.C
4524         * ParagraphParameters.C
4525         * Spacing.C
4526         * buffer.C
4527         * bufferparams.C
4528         * bufferview_funcs.C
4529         * chset.C
4530         * counters.C
4531         * funcrequest.C
4532         * lyxfont.C
4533         * lyxgluelength.C
4534         * lyxlength.C
4535         * paragraph.C
4536         * paragraph_funcs.C
4537         * text3.C
4538         * vc-backend.C: remove usage of STRCONV
4539
4540 2003-09-15  Angus Leeming  <leeming@lyx.org>
4541
4542         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4543         explicitly define the color passed to the painter.
4544
4545 2003-09-15  Angus Leeming  <leeming@lyx.org>
4546
4547         * bufferparams.C (BufferParams): reorder member initializers to avoid
4548         compiler warning.
4549
4550 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4553         * text.C (updateRowPositions): remove an unusual nop
4554
4555 2003-09-12  André Pönitz  <poenitz@gmx.net>
4556
4557         * BufferView_pimpl.C:
4558         * Bullet.C:
4559         * layout.h:
4560         * lyxfunc.C:
4561         * lyxlayout.[Ch]:
4562         * lyxtextclass.C:
4563         * rowpainter.C:
4564         * text.C:
4565         * text2.C:
4566         * Counters.[Ch]: finish the 'automatic counters' job
4567
4568 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4569
4570         * aspell.C: include <boost/assert.cpp> (compile fix)
4571
4572 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4573
4574         * boost.C (assertion_failed): use lyx::support::abort instead of
4575         assert.
4576
4577 2003-09-10  Angus Leeming  <leeming@lyx.org>
4578
4579         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4580         with their _fwd progeny.
4581
4582 2003-09-09  Angus Leeming  <leeming@lyx.org>
4583
4584         134 files throughtout the source tree: replace 'using namespace abc;'
4585         directives with the appropriate 'using abc::xyz;' declarations.
4586
4587 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4588
4589         * boost.C (emergencyCleanup): moved here from LAssert.c
4590         (assertion_failed): new function, called by BOOST_ASSERT
4591
4592         * several files: change Assert to BOOST_ASSERT
4593
4594 2003-09-09  Angus Leeming  <leeming@lyx.org>
4595
4596         * buffer.[Ch]: Add an Impl class and move Buffer's member
4597         variables into it. As a result move several header files out of
4598         buffer.h.
4599
4600         Add header files to lots of .C files all over the tree as a result.
4601
4602 2003-09-09  Angus Leeming  <leeming@lyx.org>
4603
4604         * buffer.[Ch]: make Buffer's member variables private. Add
4605         accessor functions.
4606
4607         Lots of changes all over the tree as a result.
4608
4609 2003-09-08  Angus Leeming  <leeming@lyx.org>
4610
4611         * graph.C: #include <config.h>.
4612
4613 2003-09-08  Angus Leeming  <leeming@lyx.org>
4614
4615         * BranchList.C:
4616         * BufferView.C:
4617         * BufferView_pimpl.C:
4618         * CutAndPaste.C:
4619         * DepTable.C:
4620         * LaTeX.C:
4621         * LaTeXFeatures.C:
4622         * LyXAction.C:
4623         * MenuBackend.C:
4624         * TextCache.C:
4625         * aspell.C:
4626         * buffer.C:
4627         * bufferlist.C:
4628         * changes.C:
4629         * chset.C:
4630         * converter.C:
4631         * counters.C:
4632         * debug.C:
4633         * graph.C:
4634         * ispell.C:
4635         * lyx_cb.C:
4636         * lyxfind.C:
4637         * lyxfunc.C:
4638         * lyxlex_pimpl.C:
4639         * lyxrc.C:
4640         * lyxrow.C:
4641         * paragraph.C:
4642         * rowpainter.C:
4643         * texrow.C:
4644         * text.C:
4645         * text2.C:
4646         * toc.C: remove redundant using directives.
4647
4648 2003-09-07  Angus Leeming  <leeming@lyx.org>
4649
4650         * LaTeXFeatures.h: remove #include "support/types.h".
4651         * ToolbarBackend.h: remove #include <algorithm>.
4652         * changes.h: remove #include <ctime>.
4653         * debug.h: remove #include <iosfwd>.
4654         * graph.h: remove #include "support/std_string.h".
4655         * lyx_main.h: remove #include <csignal>.
4656         * lyxlex_pimpl.h: remove #include <fstream>.
4657         * sgml.h: remove #include <algorithm>, <utility>.
4658         * toc.h: remove #include "support/std_ostream.h".
4659         Add #include <iosfwd>.
4660
4661 2003-09-07  Angus Leeming  <leeming@lyx.org>
4662
4663         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4664
4665         * converter.h: forward declare LatexRunParams.
4666         * encoding.h: remove #include "lyxrc.h".
4667         * lyxtext.h: remove #include "LColor.h".
4668         * lyxtextclass.h: remove #include "support/types.h".
4669         * trans.h: remove #include "tex-accent.h".
4670         * trans_mgr.h: remove #include "tex-accent.h".
4671         * insets/inset.h: remove #include "support/types.h", <vector>.
4672         * insets/insetcollapsable.h: remove #include "LColor.h".
4673         * insets/insetinclude.h: remove #include "dimension.h".
4674         * insets/insetlatexaccent.h: remove #include "dimension.h".
4675         * insets/insetoptarg.h:: remove #include "insettext.h".
4676         * insets/insettext.h: remove #include "dimension.h",
4677         <boost/shared_ptr.hpp>
4678
4679         * insets/renderers.h: add #include "dimension.h".
4680         * insets/updatableinset.h: add #include "support/types.h".
4681
4682         * many .C files: Associated changes.
4683
4684 2003-09-06  Angus Leeming  <leeming@lyx.org>
4685
4686         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4687         one, inside testInvariant.
4688
4689         * PrinterParams.C: new file.
4690         * PrinterParams.[Ch]: move the function bodies out of line.
4691
4692 2003-09-06  Angus Leeming  <leeming@lyx.org>
4693
4694         * ParagraphParameters.h: forward declare ParameterStruct rather than
4695         including its header file.
4696         (depth): moved out-of-line.
4697
4698 2003-09-06  Angus Leeming  <leeming@lyx.org>
4699
4700         * BufferView_pimpl.h:
4701         * kbmap.h:
4702         * kbsequence.h:
4703         * lyxfunc.h: forward declare LyXKeySym rather than
4704         #include "frontends/LyXKeySym.h".
4705
4706         * BufferView_pimpl.C:
4707         * kbmap.C:
4708         * kbsequence.C:
4709         * lyxfunc.C: associated changes.
4710
4711 2003-09-06  Angus Leeming  <leeming@lyx.org>
4712
4713         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4714         As a result, can remove the #include "insets/inset.h" from BufferView.h
4715
4716 2003-09-06  Angus Leeming  <leeming@lyx.org>
4717
4718         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4719         As a result, can remove the #include "insets/inset.h" from BufferView.h
4720
4721 2003-09-06  Angus Leeming  <leeming@lyx.org>
4722
4723         * buffer_funcs.C:
4724         * buffer.h:
4725         * bufferlist.C:
4726         * BufferView.C:
4727         * bufferview_funcs.C:
4728         * BufferView_pimpl.C:
4729         * CutAndPaste.C:
4730         * lyx_cb.C:
4731         * lyxfunc.C:
4732         * paragraph.h:
4733         * ParagraphParameters.C:
4734         * tabular.C:
4735         * text3.C:
4736         * toc.C:
4737         * undo_funcs.C:
4738         * frontends/controllers/ControlDocument.C:
4739         * insets/insetcaption.C: rearrange the #includes into some sort of
4740         coherent order.
4741
4742         * buffer.h: remove #includes ErrorList.h, undo.h
4743
4744 2003-09-06  Angus Leeming  <leeming@lyx.org>
4745
4746         * support/types.h: add a 'depth_type' typedef, used to store the
4747         nesting depth of a paragraph.
4748
4749         * paragraph.h:
4750         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4751         defining explicitly.
4752
4753         * buffer.h:
4754         * paragraph_funcs.h:
4755         * ParagraphParameters.h:
4756         * sgml.h: use lyx::depth_type rather than Paragraph or
4757         ParameterStruct's depth_type.
4758
4759         * buffer.h
4760         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4761
4762         * BufferView.C:
4763         * BufferView_pimpl.C:
4764         * CutAndPaste.C:
4765         * ParagraphParameters.C:
4766         * buffer_funcs.C:
4767         * bufferlist.C:
4768         * bufferview_funcs.C:
4769         * lyx_cb.C:
4770         * lyxfunc.C:
4771         * tabular.C:
4772         * text3.C:
4773         * toc.C:
4774         * undo_funcs.C:
4775         * frontends/LyXView.C:
4776         * frontends/controllers/ControlDocument.C:
4777         * frontends/controllers/ControlErrorList.C:
4778         * insets/insetbibitem.C:
4779         * insets/insetbranch.C:
4780         * insets/insetcaption.C:
4781         * insets/insetcollapsable.C:
4782         * insets/insetenv.C:
4783         * insets/insetert.C:
4784         * insets/insetfloat.C:
4785         * insets/insetfoot.C:
4786         * insets/insetfootlike.C:
4787         * insets/insetnewline.C:
4788         * insets/insetquotes.C:
4789         * insets/insettabular.C:
4790         * insets/insettext.C:
4791         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4792
4793         * frontends/controllers/ControlChanges.C: #include "changes.h".
4794
4795 2003-09-06  Angus Leeming  <leeming@lyx.org>
4796
4797         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4798         than #including paragraph.h.
4799
4800         * ParagraphList.h:
4801         * RowList.h: deleted. Superfluous.
4802
4803         * CutAndPaste.h:
4804         * iterators.h:
4805         * lyxcursor.h:
4806         * lyxtext.h:
4807         * text_funcs.h:
4808         * undo.h:
4809         * undo_funcs.h:
4810         * insets/inset.h:
4811         * insets/insettext.h: use ParagraphList_fwd.h rather than
4812         ParagraphList.h.
4813
4814         * paragraph.h: don't forward declare ParagraphList.
4815
4816         * buffer.h:
4817         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4818         rather than ParagraphList.h. paragraph.h is still needed for the
4819         Paragraph::depth_type parameters.
4820
4821         * textcursor.h: enable it to compile stand-alone in light of the
4822         above changes.
4823
4824         * bufferview_funcs.C:
4825         * iterators.C:
4826         * lyxfunc.C:
4827         * lyxrow_funcs.C:
4828         * paragraph.C:
4829         * rowpainter.C:
4830         * text.C:
4831         * text2.C:
4832         * text3.C:
4833         * text_funcs.C:
4834         * textcursor.C:
4835         * undo.C:
4836         * frontends/controllers/ControlParagraph.C:
4837         * frontends/controllers/ControlTabular.C:
4838         * insets/insetmarginal.C:
4839         * insets/insetminipage.C:
4840         * insets/insetnote.C:
4841         * insets/insetoptarg.C: add header files needed to compile again.
4842
4843 2003-09-06  Angus Leeming  <leeming@lyx.org>
4844
4845         * RowList_fwd.h: new file, forward-declaring Row rather than
4846         #including lyxrow.h.
4847
4848         * lyxrow_funcs.h:
4849         * lyxtext.h:
4850         * paragraph.h:
4851         * insets/insettext.h: use it instead of RowList.h
4852
4853         * bufferview_funcs.C:
4854         * lyxfunc.C:
4855         * lyxrow_funcs.C:
4856         * paragraph.C:
4857         * rowpainter.C:
4858         * text.C:
4859         * text2.C:
4860         * text3.C: #include "RowList.h".
4861
4862 2003-09-05  Angus Leeming  <leeming@lyx.org>
4863
4864         * factory.C (createInset):
4865         * vspace.C (c-tor): replace sscanf call with an istringstream.
4866         * ispell.C: re-add missing HP/UX headers.
4867         * lyxserver.C: re-add missing  os2 headers.
4868
4869 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4870
4871         * BranchList.C:
4872         * graph.C:
4873         * ispell.C:
4874         * lastfiles.C:
4875         * lyx_cb.C:
4876         * lyxserver.C:
4877         * texrow.C:
4878         * text3.C: re-add missing system headers, needed for 2.95.2.
4879
4880 2003-09-05  Angus Leeming  <leeming@lyx.org>
4881
4882         Changes most place everywhere due to the removal of using directives
4883         from support/std_sstream.h.
4884
4885 2003-09-05  Angus Leeming  <leeming@lyx.org>
4886
4887         Replace LString.h with support/std_string.h,
4888         Lsstream.h with support/std_sstream.h,
4889         support/LIstream.h with support/std_istream.h,
4890         support/LOstream.h with support/std_ostream.h.
4891
4892         Changes resulting throughout the tree.
4893
4894 2003-09-05  Angus Leeming  <leeming@lyx.org>
4895
4896         * sgml.h: ensure that the header file can be compiled stand-alone.
4897         * *.C: strip out redundant #includes. (320 in total.)
4898
4899 2003-09-04  Angus Leeming  <leeming@lyx.org>
4900
4901         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4902         here (from getPackages).
4903
4904         * debug.[Ch]: add a new EXTERNAL tag.
4905
4906 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4907
4908         * text2.C (cursorEnd): simplify
4909         (setCursor): adjust
4910         (getColumnNearX): adjust
4911
4912         * text.C (computeBidiTables): adjust
4913         (fill): adjust
4914
4915         * rowpainter.C (paintChars): adjust
4916         (paintSelection): adjust
4917         (paintChangeBar): adjust
4918         (paintText): adjust
4919
4920         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4921         lastPos instead.
4922         (numberOfSeparators): adjust
4923
4924 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4925
4926         * LyXAction.C:
4927         * box.[Ch]:
4928         * lfuns.h:
4929         * lyxfunc.C:
4930         * text3.C: Restricts the mouse click functionality
4931         of insets like bibtex, include, toc and floatlist to the visible
4932         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4933         up the dialogs. Cursor has to be in front of the inset (i.e.
4934         start of row) for this to function.
4935
4936 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4937
4938         * bufferview_funcs.C (currentState): output row information
4939
4940 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4941
4942         * bufferview_funcs.C (currentState): output paragraph position
4943
4944 2003-09-04  Angus Leeming  <leeming@lyx.org>
4945
4946         * FloatList.h: move out #include "Floating.h".
4947         * LaTeX.h: move out #include "DepTable.h".
4948         * LyXAction.h: move out #include "funcrequest.h".
4949         * buffer.h: move out #include "author.h", "iterators.h".
4950         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4951         * lyx_main.h: move out #include "errorlist.h".
4952         * lyxfunc.h: move out #include "FuncStatus.h".
4953         * lyxtext: move out #include "lyxcursor.h".
4954         * paragraph_pimpl.h: move out #include "counters.h".
4955
4956 2003-09-03  Angus Leeming  <leeming@lyx.org>
4957
4958         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4959         preamble_snippets list, enabling us to add snippets to the preamble
4960         only if the snippet was not there already.
4961
4962 2003-09-04  Angus Leeming  <leeming@lyx.org>
4963
4964         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4965
4966 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4969         update
4970
4971 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4972
4973         * BranchList.C: point fix, earlier forgotten
4974
4975 2003-09-02  Angus Leeming  <leeming@lyx.org>
4976
4977         * box.C (contains): renamed from 'contained' after a fantastic
4978         amount of hot air.
4979
4980 2003-09-02  John Levon  <levon@movementarian.org>
4981
4982         * BufferView.C:
4983         * lyxcursor.h:
4984         * lyxcursor.C:
4985         * lyxfunc.C:
4986         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4987
4988 2003-09-02  John Levon  <levon@movementarian.org>
4989
4990         * text2.C: simplification of cursorEnd(), including partial
4991         fix for bug 1376
4992
4993 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * buffer.C (readFile): add a space
4996
4997 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5000
5001 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * buffer.C (readFile): new function, take a filename and a
5004         ParagraphList::iterator
5005         (readFile): adjust
5006         (readFile): adjust, make it private. don't use setStream, make
5007         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5008         always contain the filename.
5009
5010         * BufferView.C (insertLyXFile): simplify and make it work for
5011         gzipped files.
5012
5013 2003-08-30  John Levon  <levon@movementarian.org>
5014
5015         * Makefile.am: fix dist (from Kayvan)
5016
5017 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * most files: change to use const Buffer refs
5020
5021 2003-08-27  André Pönitz  <poenitz@gmx.net>
5022
5023         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5024         on top of ownerPar().
5025
5026 2003-08-27  John Levon  <levon@movementarian.org>
5027
5028         * funcrequest.C: properly initialise POD members
5029
5030 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * lyxtext.h (top_y): move top_y from here
5033         * text.C:
5034         * text2.C:
5035         * text3.C:
5036         * BufferView.[Ch]:
5037         * BufferView_pimpl.[Ch]: to here
5038         * frontends/screen.C:
5039         * insets/insettabular.C:
5040         * insets/insettext.C: adjust
5041         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5042
5043 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * BufferView.[Ch]:
5046         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5047
5048 2003-08-26  André Pönitz  <poenitz@gmx.net>
5049
5050         * paragraph_func.[Ch] (outerPar): new function
5051
5052         * paragraph.C:
5053         * paragraph_funcs.C:
5054         * paragraph_funcs.h:
5055         * paragraph_pimpl.C:
5056         * text2.C: remove Inset::par_owner
5057
5058 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5059
5060         * lyxrow_funcs.C:
5061         * lyxtext.h:
5062         * text.C:
5063         * text2.C: eliminates the needFullRow/display() stuff
5064         altogether, putting the logic in metrics/draw in the insets.
5065
5066 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5067
5068         * text2.C (redoParagraphInternal, redoParagraphs):
5069         * text.C (redoParagraph): add a call to updateRowPositions at the
5070         end of each 'metrics-like' call. Remove all others.
5071         (getRow): remove the 'y-computing' version.
5072         (getRowNearY): do not compute nor return the real y. Solve the
5073         'y < 0' problem and simplify.
5074
5075 2003-08-22  Angus Leeming  <leeming@lyx.org>
5076
5077         * *.[Ch]: clean-up of licence and author blurbs.
5078         Also move config.h out of a few .h files and into a few .C files.
5079
5080 2003-08-22  André Pönitz  <poenitz@gmx.net>
5081
5082         * lyxrow.[Ch]: add x_ and *fill_ members
5083
5084         * lyxtext.h:
5085         * text.C:
5086         * rowpainter.C:
5087         * text2.C: adjust/remove prepareToPrint() calls
5088
5089 2003-08-22  André Pönitz  <poenitz@gmx.net>
5090
5091         * lyxrow.[Ch]: add  end_ member
5092
5093         * lyxrow_funcs.C: use LyXRow::end_
5094
5095         * lyxtext.h (singleWidth): add LyXFont parameter
5096
5097         * rowpainter.C:
5098         * text2.C: adjust LyXText::singleWidth() calls
5099
5100         * text.C (redoParagraph): simplify row breaking logic
5101
5102
5103 2003-08-19  André Pönitz  <poenitz@gmx.net>
5104
5105         * funcrequest.C: initialize button_ member
5106
5107         * text3.C:
5108         * rowpainter.[Ch]: interface consolidation
5109
5110 2003-08-18  André Pönitz  <poenitz@gmx.net>
5111
5112         * BufferView.C:
5113         * BufferView_pimpl.C:
5114         * lyxfind.C:
5115         * paragraph_funcs.C:
5116         * rowpainter.C:
5117         * text3.C: remove LyXScreen::draw() and fitCursor calls
5118
5119         * BranchList.h: remove spurious semicolons
5120
5121         * MenuBackend.C: fix branchlist related crash
5122
5123 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5124
5125         * BranchList.[Ch]:
5126         * InsetList.[Ch]:
5127         * LColor.[Ch]:
5128         * LyXAction.C:
5129         * Makefile.am:
5130         * MenuBackend.[Ch]:
5131         * bufferparams.[Ch]:
5132         * factory.C:
5133         * lfuns.h:
5134         * lyxfunc.C:
5135         * text3.C: implements the 'branch inset'
5136         idea. This allows the output of various versions of a document
5137         from a single source version, selectively outputing or suppressing
5138         output of parts of the text.
5139         This implementation contains a 'branch list editor' in a separate
5140         tab of the document settings dialog. Branches are user definable
5141         and have a "display colour" to distinguish them on-screen.
5142
5143         ColorHandler was somewhat cleaned up.
5144         (1) make possible a dynamically growing LColor list by allowing
5145         the graphic context cache to grow along (vector);
5146         (2) eliminate an IMHO unnecessary step in colour allocation.
5147
5148 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5149
5150         * BufferView_pimpl.C: compile fix
5151
5152 2003-08-15  André Pönitz  <poenitz@gmx.net>
5153
5154         * rowpainter.C: remove extra metrics calls
5155
5156         * lyxtext.h: merge the two constructors into a single one,
5157           pass reference to owner's par list
5158
5159         * BufferView_pimpl.C:
5160         * text.C:
5161         * text2.C: adjust
5162
5163 2003-08-15  André Pönitz  <poenitz@gmx.net>
5164
5165         * lyxrow_funcs.[Ch]:
5166         * lyxtext.h:
5167         * paragraph.h:
5168         * paragraph_funcs.C:
5169         * rowpainter.C:
5170         * text.C:
5171         * text2.C:
5172         * text3.C:
5173         * text_funcs.C: split LyXText::rowlist_ into individual
5174         Paragraph::rows_ chunks
5175
5176         * BufferView.[Ch]:
5177         * BufferView_pimpl.[Ch]:
5178         * lyxfind.C:
5179         * lyxtext.h:
5180         * text3.C: remove toggleSelection()
5181
5182 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5183
5184         * bufferlist.C: beautify two alerts (shorter text of buttons)
5185         * buffer.C: Remove redundant ' ' from message
5186         * tabular.h:
5187         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5188         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5189         rename VALIGN_CENTER to VALIGN_MIDDLE
5190
5191 2003-08-11  André Pönitz  <poenitz@gmx.net>
5192
5193         * lyxtext.h (getPar):
5194         * text.C: new function
5195
5196 2003-08-11  André Pönitz  <poenitz@gmx.net>
5197
5198         * Makefile.am:
5199         * tracer.[Ch]: remove unneeded files
5200
5201         * InsetList.[Ch]: remove resizeInsetsLyXText()
5202
5203         * lyxtext.h:
5204         * text.C:
5205         * text2.C:
5206         * text3.C: merge insertParagraphs() and appendParagraph()
5207         remove breakAgain(), update()
5208
5209         * BufferView_pimpl.[Ch]:
5210         * bufferview_funcs.[Ch]:
5211         * lyxfunc.C:
5212         * paragraph.[Ch]:
5213         * rowpainter.C:
5214         * tabular.C: adjust after text & InsetList changes.
5215
5216 2003-08-08  André Pönitz  <poenitz@gmx.net>
5217
5218         * text.C (insertChar, backspace): replace rowlist fiddling
5219         with rebreak of full par
5220
5221         * lyxtext.h:
5222         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5223         checkParagraph, updateInset): removed
5224
5225 2003-08-07  André Pönitz  <poenitz@gmx.net>
5226
5227         * paragraph.C:
5228         * text3.C: merge some LFUN handlers, remove dead code
5229
5230 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5231
5232         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5233
5234 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * text2.C (DEPM): fix part of bug 1255 and 1256
5237
5238 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5239
5240         * BufferView_pimpl.C (workAreaDispatch): change to use
5241         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5242         that are no mouse related.
5243
5244 2003-08-05  André Pönitz  <poenitz@gmx.net>
5245
5246         * BufferView.[Ch]:
5247         * BufferView_pimpl.[Ch]:
5248         * bufferview_funcs.C:
5249         * text2.C:
5250         * text3.C: rip out "deep update"
5251
5252         * textcursor.[Ch] (last_sel_cursor): remove unused member
5253
5254 2003-08-04  André Pönitz  <poenitz@gmx.net>
5255
5256         * BufferView.[Ch]:
5257         * BufferView_pimpl.[Ch]:
5258         * ParagraphParameters.C:
5259         * bufferview_funcs.C:
5260         * lyx_cb.C:
5261         * lyxfind.C:
5262         * lyxfunc.C:
5263         * text.C:
5264         * text2.C:
5265         * text3.C: replace "complicated" BufferView::update(...) calls with
5266         simpler ones.
5267
5268         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5269
5270 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5271
5272         * Makefile.am (lyx_SOURCES): add paper.h
5273
5274 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5275
5276         * Makefile.am: move things around so that both lyx-qt and
5277         lyx-xforms can be built (according to --with-frontend). Then lyx
5278         is a symbolic link to lyx-[firstfrontend]
5279
5280 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5281
5282         * Always use std::endl with lyxerr
5283
5284 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5285
5286         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5287
5288 2003-08-01  André Pönitz  <poenitz@gmx.net>
5289
5290         * BufferView.[Ch]:
5291         * BufferView_pimpl.[Ch]:
5292         * lyxfunc.C:
5293         * text3.C: merge BufferView::repaint() and BufferView::update()
5294
5295 2003-08-01  José Matos  <jamatos@lyx.org>
5296
5297         * buffer.[Ch]: file_format is no longer a buffer data element.
5298
5299 2003-08-01  André Pönitz  <poenitz@gmx.net>
5300
5301         * BufferView.C:
5302         * lyxtext.h:
5303         * text.C:
5304         * text2.C: make redoParagraph more independent of current cursor
5305
5306         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5307         * text.C:
5308         * text2.C: remove unneeded members
5309
5310 2003-07-30  André Pönitz  <poenitz@gmx.net>
5311
5312         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5313
5314         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5315           create a single function...
5316
5317         * paragraph_funcs.C (moveItem): ... here.
5318
5319         * text.C:
5320           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5321
5322 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5323
5324         * LColor.[Ch]: Add comment and greyedout logical colors.
5325
5326 2003-07-30  André Pönitz  <poenitz@gmx.net>
5327
5328         * tabular.C: don't use Assert too heavily. This crashes where it
5329           shouldn't
5330
5331 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5334         is disabled (bug 1232)
5335
5336 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5337
5338         * factory.C: limited 'arg' scope
5339
5340 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5341
5342         * factory.C: fixed Note submenu issues
5343
5344 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5345
5346         * factory.C: submenu for Note/Comment/Greyedout
5347
5348 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5349
5350         * lyx_main.C (LyX):
5351         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5352
5353 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5354
5355         * LaTeXFeatures.C:
5356         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5357         greyedout. Patch provided by Jürgen Spitzmüller.
5358
5359 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5360
5361         * kbmap.C (read): fix error message when reading bind files
5362
5363 2003-07-29  Angus Leeming  <leeming@lyx.org>
5364
5365         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5366         certainly does not do what it purports to do. I am doing it, and
5367         us, a favour by killing it.
5368
5369 2003-07-28  José Matos  <jamatos@lyx.org>
5370
5371         * buffer.C (readBody, do_writeFile):
5372         * paragraph.C(readParagraph): \end_document replaces \the_end.
5373
5374 2003-07-29  André Pönitz  <poenitz@gmx.net>
5375
5376         * BufferView.[Ch]:
5377         * BufferView_pimpl.[Ch]:
5378         * lyxfunc.C:
5379         * text2.C:
5380         * text3.C:
5381         * textcursor.[Ch]: remove toggleToggle & Co
5382
5383 2003-07-28  José Matos  <jamatos@fep.up.pt>
5384
5385         * buffer.C (readParagraph):
5386         * params_func (readParToken, readParagraph):
5387         * paragraph.C (write): \layout -> \begin_layout.
5388
5389 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * lyxlex_pimpl.C (setFile): clean up slightly.
5392
5393         * bufferparams.h: add compressed var
5394
5395         * buffer_funcs.C (readFile): adjust for LyXLex change
5396         (newFile): ditto + simplify
5397
5398         * buffer.C (writeFile): handle writing of compressed files
5399
5400         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5401         Check if the file is compressed and set a bufferparm if so.
5402
5403         * Makefile.am (lyx_LDADD): remove explicit -lz
5404
5405 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5406
5407         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5408         makeDocBookFile): put the real LyX version in the first line of
5409         the file
5410
5411         * version.h:
5412         * version.C.in: remove lyx_docversion
5413
5414         * tabular.C (write_attribute): add a template-based version to
5415         write enums properly
5416
5417 2003-07-28  André Pönitz  <poenitz@gmx.net>
5418
5419         * lyxtext.h:
5420         * text.C:
5421         * text2.C:
5422         * text3.C: use doubles again for x-coordinates. They are needed.
5423
5424 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * messages.C (getLocaleDir): use lyx_localedir()
5427
5428         * lyxlex_pimpl.C (setFile): compress stuff
5429
5430         * buffer.C (writeFile): add some compression stuff
5431         (do_writeFile): new func, dont call expliti close... will this
5432         breake anything?
5433
5434         * Makefile.am (lyx_LDADD): add -lz
5435
5436 2003-07-28  José Matos  <jamatos@fep.up.pt>
5437
5438         * buffer.C: increment file format.
5439         * paragraph_funcs (readParagraph, readParToken):
5440         * paragraph.C (readParagraph): add \end_layout.
5441
5442 2003-07-27  Angus Leeming  <leeming@lyx.org>
5443
5444         * Makefile.am: remove special casing for configure-time setting of
5445         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5446
5447         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5448         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5449
5450 2003-07-26  André Pönitz  <poenitz@gmx.net>
5451
5452         * paragraph_func.[Ch]:
5453         * paragraph.C (realizeFont): inline it whereever it is used
5454
5455         * rowpainter.C:
5456         * text.C:
5457         * text2.C:
5458         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5459
5460
5461 2003-07-26  André Pönitz  <poenitz@gmx.net>
5462
5463         *       lyxtext.h:
5464         * text.C:
5465         * text2.C: get rid of LyXText::need_break_row
5466
5467 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * toc.[Ch]: put namespace toc inside namespace lyx
5470
5471         * MenuBackend.C (expandToc2): adjust for lyx::toc
5472         (expandToc): ditto
5473
5474         * lyxfunc.C (dispatch): adjust for lyx::find
5475
5476         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5477         lyx::find instead. Reorganize a bit.
5478         (LyXReplace): rename to replace
5479         (LyXFind): rename to find
5480
5481         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5482         (dispatch): ditto
5483
5484 2003-07-26  André Pönitz  <poenitz@gmx.net>
5485
5486         * text.C (setHeightOfRow): restrict scope of temporary variable
5487
5488         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5489           code (never has been used?)
5490
5491 2003-07-27  Asger Alstrup  <alstrup@local>
5492
5493         * text.C (fill): Optimise algorithm to exploit that we can reuse
5494         the LyXFont for many characters.
5495         (setHeightOfRow): Same thing.
5496         (rowBreakPoint): Same thing.
5497
5498 2003-07-26  Asger Alstrup  <alstrup@local>
5499
5500         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5501
5502         * text.C (singleWidth): Spurious font copying in hot-spot
5503         singleWidth avoided. Reorder tests for arabic for efficiency.
5504
5505         * text.C (fill): handle empty paragraphs better.
5506
5507 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5508
5509         * ispell.C:
5510         * encoding.h: add includes
5511
5512         * lyxrc.C: remove reading of bind files
5513
5514         * lyx_main.C (init): setup bindings and menus only if we have a
5515         gui.
5516
5517         * kbmap.C (read): new method. Do the actual reading of bind
5518         files.
5519
5520         * converter.C (dvipdfm_options):
5521         * bufferparams.C:
5522         * lyxrc.C (read):
5523         (output): adapt PAPER_* enums.
5524
5525         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5526
5527         * bufferparams.h: remove paper-related enums from there
5528
5529         * paper.h: New file. A trivial header file to hold paper-related
5530         enums. It should later expand to contain many paper-related
5531         horrors access.
5532
5533         * lyxrc.C: declare extern displayTranslator
5534
5535 2003-07-27  José Matos  <jamatos@fep.up.pt>
5536
5537         * tabular.[Ch] (linuxdoc): add support for tables and figures
5538         (linuxdoc).
5539
5540 2003-07-27  José Matos  <jamatos@fep.up.pt>
5541
5542         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5543         consistency in both functions.
5544         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5545
5546 2003-07-26  Asger Alstrup  <alstrup@local>
5547
5548         * rowpainter.C (paintRows): Change algorithm to work directly on
5549         the insets rather than asking every character in the document
5550         whether its an inset.
5551
5552 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5553
5554         * buffer.C (openFileWrite): factorize some code
5555
5556 2003-07-26  Angus Leeming  <leeming@lyx.org>
5557
5558         * lyx_cb.C:
5559         * lyx_main.[Ch]: replace occurances of system_tempdir with
5560         os::getTmpDir().
5561
5562 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5563
5564         * rename Inset to InsetOld
5565
5566 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5567
5568         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5569         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5570         which I think is a bit clearer. EDIT is gone, since it was
5571         premature optimisation, and broken for mathed anyway.
5572         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5573         with cursor positioning in insets as well (math insets still do not
5574         work, but that's a different story anyway.) It mysteriously
5575         crashes sometimes with undo in the first paragraph, but I'm fairly
5576         confident that this is a compiler bug.
5577
5578 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * paragraph.C (Paragraph): adjust for new clone return type
5581         (operator==): ditto
5582         (copyIntoMinibuffer): ditto
5583
5584 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5585
5586         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5587         by not having a special case, and always doing a full rebreak of
5588         the document after undo.
5589
5590 2003-07-23  Angus Leeming  <leeming@lyx.org>
5591
5592         * factory.C (createInset): InsetExternal::setParams now takes a
5593         Buffer const * arg.
5594
5595 2003-07-23  Angus Leeming  <leeming@lyx.org>
5596
5597         * factory.C (createInset): changed interface to the external and
5598         graphics mailers' string2params functions.
5599
5600 2003-07-23  Angus Leeming  <leeming@lyx.org>
5601
5602         * factory.C (createInset): pass a
5603         Buffer const * parameter to InsetExternalMailer's string2params.
5604
5605 2003-07-22  John Levon  <levon@movementarian.org>
5606
5607         * Thesaurus.h: include the right aiksaurus header
5608
5609 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5610
5611         * MenuBackend.C (expand): check menu shortcuts unconditionally
5612
5613 2003-07-21  Angus Leeming  <leeming@lyx.org>
5614
5615         * factory.C (createInset): pass a
5616         buffer_path parameter to InsetGraphicsMailer's string2params.
5617
5618 2003-07-21  Angus Leeming  <leeming@lyx.org>
5619
5620         * BufferView_pimpl.C (buffer):
5621         * buffer.C (d-tor):
5622         * lyx_main.C (LyX):
5623         * lyxfunc.C (dispatch):
5624         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5625         rather than the grfx shortcut.
5626
5627 2003-07-21  André Pönitz  <poenitz@gmx.net>
5628
5629         * rowpainter.C: remove unused variables
5630
5631         * tabular_funcs.C:
5632         * tabular_funcs.h: move to tabular.C
5633         * Makefile.am: adjust
5634
5635         * tabular.[Ch]: basic optical cleaning
5636
5637         * author.h: pass references, not values
5638
5639 2003-07-18  André Pönitz  <poenitz@gmx.net>
5640
5641         * lyxtext.h:
5642         * metricsinfo.C:
5643         * metricsinfo.h:
5644         * rowpainter.C:
5645         * text.C:
5646         * text2.C:
5647         * text3.C: two-phase drawing for InsetText and InsetTabular
5648         some float -> int changes.
5649
5650 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5651
5652         * lyx_main.C: fix the fix
5653
5654 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5655
5656         * lyx_main.C: fix a crash in batch mode if no files specified
5657         * converter.C: ws
5658
5659 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5660
5661         * format.[Ch] (papersize): moved to BufferParams
5662         * converter.[Ch] (dvips_options): moved to BufferParams
5663         (dvipdfm_options): moved to anon namespace
5664         * bufferparams.[Ch]: added above functions.
5665
5666 2003-07-17  André Pönitz  <poenitz@gmx.net>
5667
5668         * lyxtext.h:
5669         * rowpainter.C:
5670         * text2.C: don't call inset->update() anymore
5671
5672         * metricsinfo.[Ch]: add convenience constructor
5673
5674 2003-07-16  André Pönitz  <poenitz@gmx.net>
5675
5676         * lyxcursor.[Ch]:
5677         * lyxfunc.[Ch]:
5678         * text.C:
5679         * text2.C: replace the LyXCursor::irow_ member with
5680          on-demand computation of the value
5681
5682 2003-07-16  John Levon  <levon@movementarian.org>
5683
5684         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5685
5686 2003-07-15  André Pönitz  <poenitz@gmx.net>
5687
5688         * text.C:
5689         * text2.C: remove no more needed refresh_row
5690
5691 2003-07-15  André Pönitz  <poenitz@gmx.net>
5692
5693         * lyxtext.h:
5694         * rowpainter.C:
5695         * text2.C:
5696         * text3.C: refresh_status tristate -> need_update bool
5697
5698 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5699
5700         * lyxtext.h (init): remove reinit argument (act as if always true)
5701         * text2.C: adjust to that
5702
5703 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5704
5705         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5706         * text3.C: use it to delete selections in some cases
5707         (bugs 441, 673, 702, 954).
5708
5709 2003-07-14  André Pönitz  <poenitz@gmx.net>
5710
5711         * rowpainter.[Ch]: reduce interface
5712
5713 2003-07-14  André Pönitz  <poenitz@gmx.net>
5714
5715         * BufferView_pimpl.C:
5716         * text2.C: adjust after removing unused BufferView * argument
5717
5718 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5719
5720         * text2.C (init): fix a crash fired on resize
5721
5722 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5723
5724         * buffer.[Ch]: added new closing signal
5725         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5726         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5727         BufferView::Pimpl via the closing the signal
5728
5729 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5730
5731         * buffer.[Ch]: take out all bv-related from buffer
5732         * BufferView.C:
5733         * BufferView_pimpl.[Ch]: connect to new signals
5734         * CutAndPaste.C: removed useless asserts
5735         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5736         * lyxvc.[Ch]:
5737         * vc-backend.[Ch]:
5738         * lyxfunc.C: moved view-related funciontality from vc here
5739         * paragraph.C: removed outdated comments
5740         * text.C: ws
5741
5742 2003-07-10  André Pönitz  <poenitz@gmx.net>
5743
5744         * BufferView_pimpl.C:
5745         * tabular.h:
5746         * tabular_funcs.C:
5747         * text.C:
5748         * text2.C: remove InsetText::InnerCache, clean up consequences
5749
5750 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5751
5752         * ispell.C: fix two typos in error messages
5753
5754 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5755
5756         * Extend Note inset to other forms of annotation like Comment
5757         and Greyedout. Right button click gives dialog.
5758
5759         Files modified or added (+):
5760
5761         * insetnote.[Ch]
5762         * FormNote.[Ch]      +
5763         * ControlNote.[Ch]   +
5764         * form_note.fd       +
5765         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5766         frontends/controllers
5767         * xforms/Dialogs.C
5768         * factory.C
5769
5770 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5771
5772         * aspell.C: add missing namespace lyx::support
5773
5774 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5775
5776         * BufferView.[Ch] (newFile): Add
5777         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5778         * LaTeX.[Ch] (message): added this signal and use it
5779         * buffer.[Ch] (busy, message): added these signals and use them
5780         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5781         * converter.C:
5782         * exporter.C:
5783         * format.C:
5784         * importer.C: use buffer signals instead of direct bv calling
5785         * lyx_cb.[Ch] (ShowMessage): removed
5786         * lyx_main.C:
5787         * lyxfunc.C:
5788         * paragraph_funcs.C:
5789         * text2.C: use buffer signals
5790
5791 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5792
5793         * introduce namespace lyx::graphics
5794
5795 2003-07-02  André Pönitz  <poenitz@gmx.net>
5796
5797         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5798
5799 2003-07-01  André Pönitz  <poenitz@gmx.net>
5800
5801         * text.C:
5802         * text2.C:
5803         * text3.C:
5804         * text_funcs.[Ch]:
5805         * textcursor.h:
5806         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5807           text*.C to text_func.C
5808
5809 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * introduce namespace lyx::support
5812
5813 2003-06-30  André Pönitz  <poenitz@gmx.net>
5814
5815         * Chktex.C:
5816         * funcrequest.C:
5817         * lyxtext.h:
5818         * text.C: re-enable --with-included-string
5819
5820 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * textcursor.C: add <config.h>
5823
5824         * text.C (getWord): remove const from word_location arg
5825
5826         * lyxvc.C (getLogFile): fix const type order
5827
5828         * lyxtext.h: remove const from word_location arg, add arg name
5829
5830         * lyxlayout.h: currect type on labeltype.
5831
5832         * importer.C: correct \file
5833
5834         * converter.C (intToFormat): use std:: on ret val, ws changes
5835
5836         * bufferlist.h: correct \file
5837
5838         * buffer.C (makeLinuxDocFile): fix const type order
5839         (makeDocBookFile): ditto
5840         (fillWithBibKeys): use std:: on stdlib args.
5841
5842         * CutAndPaste.C: fix authors.
5843         (availableSelections): use std:: on return vector
5844
5845 2003-06-27  André Pönitz  <poenitz@gmx.net>
5846
5847         * BufferView_pimpl.C:
5848         * bufferview_funcs.C:
5849         * lyxcursor.C:
5850         * lyxcursor.h:
5851         * lyxfunc.C:
5852         * lyxtext.h:
5853         * rowpainter.C:
5854         * text.C:
5855         * text2.C:
5856         * text3.C: remove LyXCursor::row_ member
5857
5858         * lyxtext.h:
5859         * text.C: rename fullRebreak() to partialRebreak() and implement
5860           a fullRebreak() that really bereks fully
5861
5862         * textcursor.h: new struct for cursor-related data
5863
5864 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5865
5866         * lyx_main.C (LyX): get full path of document loaded on the
5867         command line
5868
5869 2003-06-26  André Pönitz  <poenitz@gmx.net>
5870
5871         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5872           remove unused/broken operator>,<,>=.
5873
5874         *       text.C: remove only use of broken operator<= in an Assert().
5875
5876 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5877
5878         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5879         moved errorlist_.clear to showErrorList
5880
5881 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5882
5883         * converter.C (scanLog, runLaTeX):
5884         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5885         move the bv->showErrorList call to the callers
5886         * lyxfunc.C: i.e. here...
5887         * text2.C: and here
5888         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5889         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5890         namespace, the second to...
5891         * buffer_funcs (BufferFormat, parseErrors): added
5892         * errorlist.C (ErrorList(TeXErrors const &)): removed
5893
5894 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5895
5896         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5897
5898 2003-06-24  "Garst R. Reese" <reese@isn.net>
5899
5900         * debug.C: fix typo
5901
5902 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5903
5904         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5905
5906         * version.C.in: change docversion to 1.4
5907
5908 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5909
5910         * buffer.C: fix a bug just introduced
5911
5912 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5913
5914         * buffer.[Ch]: added the parseError signal and use it, removed
5915         sgmlError
5916         * BufferView.[Ch] (addError): moved to ...
5917         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5918         to the Buffer::parseError signal to catch (guess what) parse errors
5919         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5920
5921 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5922
5923         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5924         ability to create a buffer and to return an existing one from
5925         the list. Moved these functions to...
5926         * buffer_funcs.[Ch]: added
5927         * BufferView.[Ch] (loadLyXFile): added
5928         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5929         job removed from bufferlist::loadLyXFile.
5930         * buffer.C (setReadOnly): make it work without view
5931         (i.e added an if (users))
5932
5933 2003-06-19  Angus Leeming  <leeming@lyx.org>
5934
5935         * lfuns.h:
5936         * LyXAction.C (init):
5937         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5938         with LFUN_DIALOG_SHOW <name> <data>.
5939
5940 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5941
5942         * CutAndPaste.C (availableSelections): small compilation fix for
5943         ancient (gcc 2.9x) compilers
5944
5945 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * text3.C (cursorNext): add tmp var
5948
5949         * text2.C (updateCounters): for function calling out of for clause
5950         (replaceSelectionWithString): ditto
5951         (insertStringAsParagraphs): ditto
5952         (getColumnNearX): add tmp var
5953         (setCursorFromCoordinates): add tmp var
5954         (cursorDownParagraph): add tmp var
5955         (deleteEmptyParagraphMechanism): add tmp var
5956
5957         * text.C (insertChar): add tmp var
5958
5959         * rowpainter.C (paintDepthBar): add tmp var
5960
5961         * CutAndPaste.C (availableSelections): potentially check all
5962         paragraphs in a cut to fill the shown strings.
5963
5964 2003-06-18  André Pönitz  <poenitz@gmx.net>
5965
5966         * kbmap.[Ch]: use vector<> instead of list<>
5967
5968 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5969
5970         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5971         pasteSelection with index
5972
5973         * text2.C (pasteSelection): modify, call pasteSelection with index
5974
5975         * paragraph.C (asString): reimplement version with no interval to
5976         call the one with interval.
5977
5978         * lyxtext.h: add index arg to pasteSelection
5979
5980         * MenuBackend.C (MenuItem): handle PasteRecent
5981         (Menu::read::Menutags): add md_pasterecent
5982         (read): handle it
5983         (expandPasteRecent): new function
5984         (expand): use it
5985
5986         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5987
5988         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5989         the limited stack
5990         (availableSelections): new function
5991
5992 2003-06-17  Angus Leeming  <leeming@lyx.org>
5993
5994         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5995
5996 2003-06-17  Angus Leeming  <leeming@lyx.org>
5997
5998         * lfuns.h:
5999         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6000
6001         * lyxfunc.C (dispatch): invoke it.
6002
6003 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6004
6005         * iterators.C (operator++, ParPosition): reintroduce some
6006         const_cast for the benefit of older compilers.
6007
6008 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6009
6010         * text3.C (dispatch): do not modify clipboard when doing
6011         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6012         LFUN_DELETE_SKIP on a selection selection
6013
6014 2003-06-16  André Pönitz  <poenitz@gmx.net>
6015
6016         * BufferView.C:
6017         * buffer.C:
6018         * buffer.h:
6019         * paragraph.C:
6020         * tabular.[Ch]: IU of clone() and getLabelList();
6021
6022 2003-06-13  André Pönitz  <poenitz@gmx.net>
6023
6024         * tabular.h: compactification
6025
6026 2003-06-12  André Pönitz  <poenitz@gmx.net>
6027
6028         * tabular.C:
6029         * tabular.h:
6030         * tabular_funcs.h: some renaming plus whitespace
6031
6032 2003-06-12  André Pönitz  <poenitz@gmx.net>
6033
6034         * BufferView.C:
6035         * BufferView_pimpl.C:
6036         * CutAndPaste.C:
6037         * buffer.C:
6038         * iterators.[Ch]:
6039         * lyxfunc.C:
6040         * text.C:
6041         * toc.C: Return a Paragraph & for ParIterator::operator*()
6042
6043 2003-06-11  John Levon  <levon@movementarian.org>
6044
6045         * lyx_main.C:
6046         * ToolbarBackend.h:
6047         * ToolbarBackend.C: add "Toolbars" section and
6048         put the flags there
6049
6050 2003-06-10  Angus Leeming  <leeming@lyx.org>
6051
6052         * lfuns.h:
6053         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6054
6055         * lyxfunc.C (dispatch): invoke it.
6056
6057 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * main.C: protect <ios> with HAVE_IOS
6060         (main): protect sync_with_stdio with HAVE_IOS
6061
6062 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6063
6064         * text2.C (cutSelection): adjust
6065         (pasteSelection): adjust
6066
6067         * messages.C: handle get of empty string
6068
6069         * main.C (main): use sync_with_stdio(false)
6070
6071         * lyxfunc.C (dispatch): adjust
6072
6073         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6074         (WriteAs): remove unneeded BufferView arg.
6075
6076         * bufferparams.h: use correct types on papersize, papersize2 and
6077         paperpackage.
6078
6079         * bufferparams.C (readToken): adjust for type
6080         (writeLaTeX): add missing cases to switch.
6081
6082         * bufferlist.C (quitWriteBuffer): adjust
6083         (close): adjust
6084
6085         * buffer.C (asciiParagraph): remove some commented code.
6086
6087         * CutAndPaste.C: remove current_view extern variable.
6088         (cutSelection): add BufferParams arg.
6089         (eraseSelection): add BufferParams arg.
6090         (pasteSelection): add Buffer const & arg
6091
6092 2003-06-07  John Levon  <levon@movementarian.org>
6093
6094         * buffer.C:
6095         * paragraph_funcs.C:
6096         * paragraph_pimpl.C:
6097         * text.C:
6098         * text2.C:
6099         * paragraph.h:
6100         * paragraph.C: allow InsetERT to freely space lines,
6101         and some consolidation of code
6102
6103 2003-06-06  José Matos  <jamatos@fep.up.pt>
6104
6105         * buffer.C (makeDocBookFile): fix bug #821
6106
6107 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6108
6109         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6110
6111 2003-06-04  Angus Leeming  <leeming@lyx.org>
6112
6113         * buffer.C: bump format to 224.
6114
6115 2003-06-05  André Pönitz  <poenitz@gmx.net>
6116
6117         * text2.C (redoParagraphs): remove two const_cast<>
6118
6119 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6120
6121         * ParagraphList.h: remove last remnants of NO_STD_LIST
6122
6123 2003-06-03  Angus Leeming  <leeming@lyx.org>
6124
6125         * factory.C (createInset): small change to the way InsetExternal's params
6126         are set.
6127
6128 2003-06-04  André Pönitz  <poenitz@gmx.net>
6129
6130         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6131
6132         * paragraph_pimpl.h:
6133         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6134
6135         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6136
6137         * undo_funcs.C: make some simple cases of undo work again
6138
6139 2003-06-03  John Levon  <levon@movementarian.org>
6140
6141         * ispell.C: HPUX doesn't have sys/select.h
6142         (from Albert Chin)
6143
6144 2003-06-03  John Levon  <levon@movementarian.org>
6145
6146         * CutAndPaste.C: update tabular and include inset
6147         buffer references
6148
6149         * buffer.h:
6150         * paragraph.h:
6151         * paragraph.C: remove owningBuffer(), don't pass Buffer
6152         to clone()
6153
6154         * factory.C: insetGraphicsParams changed
6155
6156 2003-06-02  John Levon  <levon@movementarian.org>
6157
6158         * LyXAction.C:
6159         * factory.C:
6160         * lfuns.h:
6161         * lyxfunc.C:
6162         * text3.C: remove insetparent
6163
6164 2003-06-02  John Levon  <levon@movementarian.org>
6165
6166         * buffer.h:
6167         * buffer.C: fix inset_iterator.end(), move out of line
6168         (bug 1149)
6169
6170 2003-06-01  John Levon  <levon@movementarian.org>
6171
6172         * text3.C: use a proper cut/paste when doing inset
6173         insert (from Jürgen Spitzmüller)
6174
6175 2003-06-01  John Levon  <levon@movementarian.org>
6176
6177         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6178
6179 2003-05-30  André Pönitz  <poenitz@gmx.net>
6180
6181         * rowpainter.C: unify second drawing phase
6182
6183 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6184
6185         * trans_mgr.C: remove one case of current_view
6186
6187         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6188
6189         * paragraph_funcs.h: remove paragraph.h include
6190
6191         * paragraph.h: delete NO_STD_LIST stuff
6192
6193         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6194
6195         * buffer.h: remove paragraph.h include
6196
6197         * ParagraphList.C: delete file
6198
6199         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6200
6201         * toc.C (getTocList): adjust
6202
6203         * paragraph_pimpl.C (validate): adjust
6204
6205         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6206
6207         * paragraph.C (Paragraph): adjust
6208         (getPositionOfInset): use const_iterator, adjust
6209         (bibitem): use const_iterator, adjust
6210         (setInsetOwner): adjust
6211
6212         * iterators.C (operator++): adjust
6213
6214         * InsetList.[Ch]: Replace selfmade iterator with standard
6215         vector::iterator also introduce const_iterator. Remove getPos,
6216         getInset and setInset from InsetTable. Adjust accordingly.
6217
6218         * BufferView.C (lockInset): adjust
6219         (ChangeInsets): adjust
6220
6221         * tabular.[Ch]: delete commented same_id functions
6222
6223 2003-05-28  John Levon  <levon@movementarian.org>
6224
6225         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6226
6227 2003-05-28  André Pönitz  <poenitz@gmx.net>
6228
6229         * metricsinfo.[Ch]: remove 'fullredraw' member
6230
6231 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6232
6233         * lyxtextclass.C (operator): remove caching.
6234
6235 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * text3.C: adjust
6238
6239         * text2.C (cursorBottom): adjust
6240         (setCounter): use ParagraphList::find, adjust
6241
6242         * text.C (workWidth): use ParagraphList::find, adjust
6243
6244         * lyxcursor.C (LyXCursor): adjust
6245
6246         * buffer.C (inset_iterator): adjust
6247
6248         * ParagraphList.h: make iterator(value_type) private, make
6249         ParagraphList a friend of iterator.
6250
6251         * ParagraphList.C (find): new function
6252
6253         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6254
6255 2003-05-27  André Pönitz  <poenitz@gmx.net>
6256
6257         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6258
6259 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6260
6261         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6262
6263 2003-05-26  John Levon  <levon@movementarian.org>
6264
6265         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6266
6267 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * remove same_id from function signatures, adjust.
6270
6271 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6274
6275         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6276
6277         * paragraph.C (Paragraph): get rid of same_ids parameter
6278
6279         * ParagraphList.C (insert): adjust
6280         (push_back): adjust
6281
6282 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * paragraph_funcs.C (breakParagraph): adjust
6285         (breakParagraphConservative): adjust
6286
6287         * buffer.C (readParagraph): adjust
6288
6289         * ParagraphList.C (insert): take a reference instead of a pointer
6290         (insert): adjust
6291
6292         * paragraph.[Ch] (id): new function
6293
6294         * bufferlist.C (newFile): adjust
6295
6296         * ParagraphList.C (ParagraphList): adjust
6297         (assign): adjust
6298         (push_back): take a reference instead of a pointer.
6299
6300         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6301
6302         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6303         instead.
6304
6305         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6306         set else use old code.
6307
6308         * ParagraphList.C: remove all NO_NEXT code and only compile this
6309         code of NO_STD_LIST is set.
6310
6311 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * BufferView_pimpl.C:
6314         * TextCache.C:
6315         * TextCache.h:
6316         * bufferlist.C:
6317         * errorlist.h:
6318         * format.C:
6319         * format.h:
6320         * graph.C:
6321         * lyxfunc.C:
6322         * lyxrc.C:
6323         * graphics/GraphicsConverter.C:
6324         * graphics/PreviewLoader.C: header adjustment
6325
6326 2003-05-23  Angus Leeming  <leeming@lyx.org>
6327
6328         * LaTeXFeatures.[Ch] (useBabel): new method.
6329         * bufferparams.C (writeLaTeX): use it.
6330
6331 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * ParagraphList.h (set): remove unused function.
6334
6335 2003-05-23  André Pönitz  <poenitz@gmx.net>
6336
6337         * BufferView.C:
6338         * BufferView_pimpl.C:
6339         * buffer.C:
6340         * buffer.h:
6341         * lyxfunc.C:
6342         * undo_funcs.C: setUndo reworked
6343
6344         * iterators.[Ch]: add access to topmost ParagraphList
6345
6346         * lyxtext.[Ch] (workWidth): add a const
6347
6348 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6349
6350         * texrow.[Ch] (increasePos): remove function
6351         * exporter.C (export): removed unused var and outdated comment
6352
6353 2003-05-23  Angus Leeming  <leeming@lyx.org>
6354
6355         * latexrunparams.h: rename fragile as moving_arg.
6356         * paragraph.C (simpleTeXOnePar): ditto.
6357         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6358
6359 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6360
6361         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6362         (createUndo): ditto
6363         (textUndoOrRedo): comment out a currently unused var.
6364
6365         * paragraph.h (NO_NEXT): enable NO_NEXT
6366
6367         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6368
6369         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6370
6371         * exporter.C (Export): adjust for removeAutoInsets removal.
6372
6373         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6374
6375         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6376
6377         * BufferView.[Ch] (removeAutoInsets): delete function
6378
6379 2003-05-22  Angus Leeming  <leeming@lyx.org>
6380
6381         * latexrunparams.h: add a free_spacing variable.
6382
6383         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6384         to pass moving_arg, as the data is stored in runparams.fragile.
6385
6386         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6387         to Inset::latexOptional or to simpleTeXOnePar.
6388
6389         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6390         free_spacing arg to Inset::latexOptional.
6391
6392         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6393         free_spacing arg.
6394
6395 2003-05-22  Angus Leeming  <leeming@lyx.org>
6396
6397         * latexrunparams.h: add fragile and use_babel variables.
6398
6399         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6400         * buffer.C (makeLaTeXFile): store this returned value in
6401         runparams.use_babel, thus passing it to the inset::latex methods.
6402
6403         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6404         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6405
6406         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6407         longer has a fragile arg, as it is stored in runparams.fragile.
6408
6409         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6410         moving_arg parameter as the data is stored in runparams.fragile.
6411
6412         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6413         a fragile parameter as the data is stored in runparams.fragile.
6414
6415 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6418
6419 2003-05-22  Angus Leeming  <leeming@lyx.org>
6420
6421         * latexrunparams.h: add a 'bool nice' which defaults to false.
6422
6423         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6424         now encapsulated within runparams.
6425
6426         * bufferlist.C (updateIncludedTeXfiles):
6427         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6428
6429 2003-05-22  Angus Leeming  <leeming@lyx.org>
6430
6431         * latexrunparams.h: new file containing struct LatexRunParams.
6432         * Makefile.am: add new file.
6433
6434         * LaTeX.[Ch] (c-tor, run):
6435         * buffer.[Ch] (makeLaTeXFile):
6436         * bufferlist.[Ch] (updateIncludedTeXfiles):
6437         * converter.C (convert, scanLog):
6438         * converter.[Ch] (runLaTeX):
6439         * exporter.C (Export):
6440         * paragraph.[Ch] (simpleTeXOnePar):
6441         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6442         * paragraph_funcs.[Ch] (latexParagraphs):
6443         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6444         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6445         pass around a LatexRunParams parameter.
6446
6447 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * paragraph.[Ch]: remove unused constructor
6450
6451         * ParagraphList.C (erase): new function, taking two iterators
6452
6453 2003-05-22  André Pönitz  <poenitz@gmx.net>
6454
6455         * undo_funcs.C: remove duplicated code
6456
6457         * iterator.[Ch]: operator=
6458
6459 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6460
6461         * tabular.C (SetMultiColumn): ws changes
6462
6463         * rowpainter.C (paintFirst): get rid of a ->previous
6464
6465         * lyx_cb.C (getPossibleLabel): parlist simplification
6466
6467         * BufferView.C (ChangeInsets): simplify slightly.
6468
6469 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6470
6471         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6472         * lfuns.h: new LFUN_SPACE
6473         * lyxfunc.C: protected space has a new lfun
6474         * paragraph_funcs.C: read new space insets
6475         * text3.C:
6476         * factory.C: handle new space insets
6477
6478 2003-05-22  André Pönitz  <poenitz@gmx.net>
6479
6480         * BufferView.C:
6481         * BufferView_pimpl.C:
6482         * buffer.[Ch]:
6483         * lyxfunc.C:
6484         * undo_funcs.C: return a ParIterator from getParFromID.
6485
6486         * iterators.[Ch]: add two const's
6487
6488 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * toc.C (getTocList): adjust
6491
6492         * iterators.[Ch]: rework for parlist
6493
6494         * buffer.C (par_iterator_begin): adjust
6495         (par_iterator_end): adjust
6496
6497         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6498
6499         * BufferView.C (removeAutoInsets): adjust
6500         (ChangeInsets): adjust
6501
6502 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * text.C (top_y): fix bug 1110
6505
6506 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * errorlist.[Ch]: added
6509         * buffer.C:
6510         * BufferView.[Ch]:
6511         * BufferView_pimpl.C:
6512         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6513         instead
6514
6515 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6516
6517         * Makefile.am: ensure that lyx is relinked upon changes to the
6518         various "convenience" libs.
6519
6520 2003-05-20  Angus Leeming  <leeming@lyx.org>
6521
6522         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6523         files are compiled in alphabetical order again.
6524
6525         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6526
6527 2003-05-19  Angus Leeming  <leeming@lyx.org>
6528
6529         * gettext.[Ch]: remove "char const * _(char const *)".
6530
6531 2003-05-19  André Pönitz  <poenitz@gmx.net>
6532
6533         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6534
6535         * Makefile.am:
6536         * BufferView.C:
6537         * DepTable.h:
6538         * LaTeXFeatures.C:
6539         * buffer.C:
6540         * lyxfont.C:
6541         * lyxlex.h:
6542         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6543
6544 2003-05-19  André Pönitz  <poenitz@gmx.net>
6545
6546         * buffer.C:
6547         * lyxlayout.[Ch]:
6548         * lyxtextclass.[Ch]:
6549         * paragraph.C:
6550         * paragraph_funcs.[Ch]:
6551         * text2.C:
6552         * text3.C: more insetenv work
6553
6554 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6555
6556         * ParagraphParameters.C (params2string): small bug fixed
6557
6558 2003-05-16  André Pönitz  <poenitz@gmx.net>
6559
6560         * debug.C:
6561         * bufferview_funcs.C: patch from Kornel Benko to prevent
6562           crash when _(...) is called twice in a statement
6563
6564 2003-05-16  André Pönitz  <poenitz@gmx.net>
6565
6566         * BufferView.C:
6567         * lyxfunc.C:
6568         * text.C:
6569         * text2.C:
6570         * text3.C:
6571         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6572
6573 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6574
6575         * lyx_main.C (init): remove spurious static_cast
6576
6577 2003-05-14  André Pönitz  <poenitz@gmx.net>
6578
6579         * BufferView.C: fix format string
6580
6581 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6582
6583         * BufferView.[Ch] (insertErrors): removed
6584         * BufferView.[Ch] (showErrorList): added
6585         * buffer.C (runChkTeX):
6586         * converter.C (scanLog): call showErrorList instead of inserterrors
6587
6588 2003-05-13  André Pönitz  <poenitz@gmx.net>
6589
6590         * BufferView_pimpl.C:
6591         * buffer.C:
6592         * bufferview_func.C:
6593         * MenuBackend.C:
6594         * lyxfunc.C:
6595         * lyxrc.C:
6596         * tex-accent.C:
6597         * text3.C:
6598         * toc.C:
6599         * tabular_funcs.h: tostr() from its own header
6600
6601         * ParagraphParameters.C:
6602         * ToolbarBackend.C:
6603         * bufferparams.C:
6604         * format.C:
6605         * lyxlex_pimpl.C:
6606         * text3.C: STRCONV()
6607
6608 2003-05-12  André Pönitz  <poenitz@gmx.net>
6609
6610         * BufferView.C:
6611         * BufferView_pimpl.C:
6612         * CutAndPaste.C:
6613         * LaTeX.C:
6614         * LaTeXFeatures.C:
6615         * ParagraphParameters.C:
6616         * buffer.C:
6617         * bufferlist.C:
6618         * bufferparams.C:
6619         * bufferview_funcs.C:
6620         * converter.C:
6621         * counters.C:
6622         * debug.C:
6623         * exporter.C:
6624         * format.C:
6625         * importer.C:
6626         * lyx_cb.C:
6627         * lyx_main.C:
6628         * lyxfont.C:
6629         * lyxfunc.C:
6630         * lyxvc.C:
6631         * paragraph.C:
6632         * paragraph_funcs.C:
6633         * tabular.C:
6634         * tabular_funcs.C:
6635         * text2.C:
6636         * text3.C:  boost::format -> bformat  all over the place
6637
6638
6639 2003-05-09  André Pönitz  <poenitz@gmx.net>
6640
6641         * LColor.[Ch]: Pimpl the #include <map> away
6642
6643 2003-05-09  John Levon  <levon@movementarian.org>
6644
6645         * bufferlist.C: never remove emergency saves
6646
6647 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * Makefile.am: better lib building
6650
6651 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6654         instead.
6655         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6656         (simpleTeXSpecialChars): adjust
6657         (simpleTeXSpecialChars): adjust
6658         * paragraph.C (simpleTeXOnePar): adjust
6659         * buffer.C (makeLaTeXFile): adjust
6660
6661         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6662
6663         * text2.C (changeDepth): parlist cleanup
6664         (getColumnNearX): ditto
6665
6666         * rowpainter.C (getLabelFont): parlist cleanup
6667
6668         * bufferlist.C (newFile): parlist cleanup
6669
6670         * CutAndPaste.C (eraseSelection): parlist cleanup
6671
6672         * BufferView_pimpl.C (trackChanges): parlist cleanup
6673         (dispatch): ditto
6674
6675         * BufferView.C (lockInset): parlist cleanup.
6676         (ChangeInsets): ditto
6677
6678 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * CutAndPaste.h: Update file header.
6681
6682         * CutAndPaste.C: Update file header.
6683         Store the parts cut out of the Document in a limited_stack.
6684         (copySelection): adjust
6685         (pasteSelection): new function, takes the index in the limited stack.
6686         (nrOfParagraphs): adjust
6687         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6688         simplify error inset insertion.
6689         (checkPastePossible): adjust
6690
6691 2003-05-06  John Levon  <levon@movementarian.org>
6692
6693         * text2.C: don't cast wrap inset to float
6694
6695 2003-05-05  André Pönitz  <poenitz@gmx.net>
6696
6697         * iterator.C:
6698         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6699
6700         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6701           few naked Paragraph *.
6702
6703 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6704
6705         * bufferparams.C: Output warning if a document with missing
6706         TeX document class is loaded
6707         * exporter.C: Disable TeX exports if the document class is missing
6708         * lyxtextclass.C:
6709         * lyxtextclass.h:
6710         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6711         isTeXClassAvailable()
6712
6713 2003-05-03  John Levon  <levon@movementarian.org>
6714
6715         * BufferView.h:
6716         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6717         explicit cursor show/hide
6718
6719         * BufferView_pimpl.h:
6720         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6721         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6722
6723         * lyxfunc.C: hide cursor before dispatching.
6724
6725         * lyx_cb.C:
6726         * lyxfind.C:
6727         * text.C:
6728         * text3.C: remove explicit cursor hides
6729
6730 2003-05-02  André Pönitz  <poenitz@gmx.net>
6731
6732         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6733
6734         * undo_funcs.C:
6735         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6736           linked lists
6737
6738         * text2.C: tiny whitespace
6739
6740 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * undo_funcs.C: almost only ws changes.
6743
6744         * ParagraphList.C (splice): just return if pl is empty.
6745
6746 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * ParagraphList.C (splice): new function.
6749
6750         * CutAndPaste.C (pasteSelection): use it
6751
6752 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6753
6754         * CutAndPaste.C (pasteSelection): remove the last next and
6755         previous from this file.
6756
6757 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6758
6759         * CutAndPaste.C (pasteSelection): more clean up, user proper
6760         ParagraphList functions for pasteing.
6761
6762         * ParagraphList.C (insert): new function, three arg insert
6763
6764 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * ParagraphList.C (insert): new function, three arg insert
6767
6768         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6769         not on paragraphs.
6770
6771 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6774
6775 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6778
6779 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6782         (copySelection): clean up a bit.
6783         (pasteSelection): use make_pair
6784
6785         * ParagraphList.C (ParagraphList): implement copy constructor
6786         (operator=): implement, base on copy constructor.
6787         (assign): new func
6788
6789         * paragraph.C (erase): return a bool
6790
6791         * paragraph_pimpl.C (erasePos): remove function, move contents...
6792         (erase): ... here. Return a bool.
6793         (erase): call erase instead of erasePos.
6794
6795 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6796
6797         * ParagraphList.h: define PitPosPair
6798         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6799         ParagraphList, fix a bug on pasting multiple pars
6800         * text2.C: change interface to C&P
6801
6802 2003-04-30  André Pönitz  <poenitz@gmx.net>
6803
6804         * undo_func.C: revert part of yesterday's patch 2
6805
6806 2003-04-30  John Levon  <levon@movementarian.org>
6807
6808         * LColor.C: s/tabular/table/
6809
6810 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6811
6812         * text3.C (dispatch): do not convert iterator -> pointer
6813         * undo_funcs.C (setCursorParUndo): ditto
6814         * text_funcs.C (transposeChars): ditto
6815
6816         * text2.C (setLayout): ws changes only
6817
6818         * text.C (breakParagraph): do not convert iterator -> pointer
6819         (insertChar): ditto
6820         (acceptChange): ditto
6821         (rejectChange): ditto
6822         (changeCase): ditto
6823         (Delete): ditto
6824         (backspace): ditto
6825
6826         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6827         pointer
6828
6829 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6830
6831         * text3.C (gotoInset): YABG (yet another bad getChar)
6832
6833 2003-04-29  André Pönitz  <poenitz@gmx.net>
6834
6835         * paragraph.h: make operator= private unimplemented as long as
6836           it is unusable
6837
6838         * ParagraphList.C: whitespace
6839
6840         * paragraph.[Ch]:
6841         * paragraph_pimpl.[Ch]:
6842         * paragraph_funcs.C:
6843         * CutAndPaste.C:
6844         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6845
6846         * text2.C:
6847           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6848
6849 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6850
6851         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6852         * paragraph.[Ch] (erase):
6853         * paragraph_pimpl.[Ch] (erase): change return type and value
6854         * text2.C (cutSelection): some rework
6855
6856 2003-04-28  John Levon  <levon@movementarian.org>
6857
6858         * bufferlist.C: changes for unsaved changes dialog
6859
6860 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * bufferlist.C (newFile): set language (messages_) for new
6863         documents also.
6864
6865         * buffer.C (readFile): ws changes only.
6866
6867 2003-04-28  André Pönitz  <poenitz@gmx.net>
6868
6869         * undo_funcs.C:
6870         * lyxfunc.C:
6871         * buffer.[Ch]:
6872         * BufferView_pimpl.C:
6873         * BufferView.C: getParFromID related ParagraphList::iterator changes
6874
6875 2003-04-28  André Pönitz  <poenitz@gmx.net>
6876
6877         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6878           Changes
6879
6880 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * messages.C: remove one more localedir class variable.
6883
6884 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * messages.C (getLocaleDir): singleton generation function
6887         (Pimpl): use it.
6888         (Messages): add a default constructor.
6889
6890         * main.C (main): do not setup localedir here, do not call
6891         gettext_init.
6892
6893         * gettext.C (_): use it.
6894         (gettext_init): delete funciton
6895
6896 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * gettext.C (getLyXMessages): new singleton generating function.
6899
6900         * buffer.C (updateDocLang): adjust
6901
6902         * Makefile.am (messages.o): add target
6903         (main.o): remove target
6904
6905 2003-04-27  John Levon  <levon@movementarian.org>
6906
6907         * bufferlist.C:
6908         * lyx_cb.C:
6909         * lyxfunc.C:
6910         * lyxvc.C: specify cancel button in Alert::prompt
6911
6912 2003-04-26  John Levon  <levon@movementarian.org>
6913
6914         * text3.C:
6915         * lyxfunc.C:
6916         * lfuns.h:
6917         * LyXAction.C: add LFUN_INSET_SETTINGS
6918
6919         * lyxfunc.C: don't enable tabular-feature when there's
6920         just any locking inset
6921
6922 2003-04-26  John Levon  <levon@movementarian.org>
6923
6924         * bufferlist.C: re-add Cancel to buffer close question
6925
6926         * lyxfunc.C: fix import UI a bit
6927
6928 2003-04-25  John Levon  <levon@movementarian.org>
6929
6930         * gettext.C: remove the broken asserts for now
6931
6932 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * messages.C: make case where setlocale cannot comply work better.
6935
6936         * buffer.C (updateDocLang): new function
6937         (changeLanguage): use it
6938         (readFile): use it
6939
6940         * text2.C (setCounter): use B_ a bit.
6941
6942         * lyxlayout.C (Read): be sure to trim the label strings.
6943
6944         * messages.C (Messages): fix typo in comment
6945
6946         * buffer.C (readFile): set message_ after file is loaded.
6947         (makeDocBookFile): remove double return
6948         (changeLanguage): reset message_ upon language change.
6949         (B_): new func, use this to get translated buffer strings.
6950
6951         * main.C: add myself and Jean Marc as authors.
6952
6953 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * messages.[hC]: pimplify Messages, and three different pimpls to be
6956         used in different circumstances.
6957
6958         * gettext.[Ch]: change for use with new message code.
6959
6960 2003-04-24 André Pönitz <poenitz@gmx.net>
6961
6962         * factory.C: support for eqref
6963
6964 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * messages.[Ch]: add missing char
6967
6968         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6969
6970         * messages.[Ch]: New files
6971
6972 2003-04-18  John Levon  <levon@movementarian.org>
6973
6974         * BufferView.h:
6975         * BufferView.C:
6976         * BufferView_pimpl.C:
6977         * lfuns.h:
6978         * LyXAction.C:
6979         * lyxtext.h:
6980         * text2.C: remove layout-copy/paste (bug 778)
6981
6982 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6983
6984         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6985
6986 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6987
6988         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6989         if they succeed. Act accordingly.
6990
6991 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6992
6993         * text2.C (setCharFont): adjust
6994         (setCounter): adjust
6995         (insertStringAsLines): adjust
6996
6997         * text.C (leftMargin): adjust
6998         (setHeightOfRow): adjust
6999
7000         * rowpainter.C (paintFirst): adjust
7001         (paintLast): adjust
7002
7003         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7004         (outerHook): ditto
7005         (isFirstInSequence): ditto
7006         (getEndLabel): ditto
7007         (outerFont): adjust
7008
7009         * paragraph.C (getParLanguage): comment out some hard stuff.
7010
7011         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7012         (sgmlError): ditto
7013         (simpleDocBookOnePar): ditto
7014         (makeDocBookFile): use ParagraphList::iterator
7015
7016         * CutAndPaste.C (pasteSelection): adjust
7017
7018 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7019
7020         * text2.C (getFont): adjust
7021         (getLayoutFont): adjust
7022         (getLabelFont): adjust
7023
7024         * paragraph_funcs.C (TeXOnePar): adjust
7025
7026         * buffer.C (simpleLinuxDocOnePar): adjust
7027         (simpleDocBookOnePar): adjust
7028
7029         * CutAndPaste.C (pasteSelection): adjust
7030
7031         * BufferView.C (getEncoding): adjust
7032
7033         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7034
7035 2003-04-16  John Levon  <levon@movementarian.org>
7036
7037         * lyxfind.C: use parlist stuff for search/changes
7038
7039 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7040
7041         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7042
7043         * text2.C (deleteEmptyParagraphMechanism): adjust
7044
7045         * text2.[Ch] (ownerParagraph): delete func (both of them
7046
7047 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7048
7049         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7050
7051 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * ParagraphList.C: prepare for NO_NEXT
7054
7055 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * text2.C (getFont): adjust
7058         (getLayoutFont): adjust
7059         (getLabelFont): adjust
7060
7061         * paragraph.C (getFont): adjust
7062         (getLabelFont): adjust
7063         (getLayoutFont): adjust
7064
7065         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7066
7067 2003-04-15  John Levon  <levon@movementarian.org>
7068
7069         From Angus Leeming
7070
7071         * lyx_main.C: handle Include in .ui files
7072
7073 2003-04-15  John Levon  <levon@movementarian.org>
7074
7075         * MenuBackend.C: make the doc files length shorter
7076
7077         * ToolbarBackend.h:
7078         * ToolbarBackend.C: handle toolbar placement flags,
7079         Minibuffer
7080
7081 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7084         adjust
7085
7086         * paragraph_funcs.C (TeXOnePar): adjust
7087
7088         * paragraph.C (getLabelFont): add outerfont arg, adjust
7089         (getLayoutFont): ditto
7090         (simpleTeXOnePar): adjust
7091
7092         * paragraph_pimpl.C (realizeFont): delete func
7093
7094 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7095
7096         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7097         row argument, constify cur argument.
7098
7099 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * text2.C (getFont): adjust
7102         (getLayoutFont): adjust
7103         (getLabelFont): adjust
7104
7105         * paragraph_funcs.C (TeXOnePar): adjust
7106         (outerFont): new func...
7107         (realizeFont): ...moved out from here, changed this to facilitate
7108         transition
7109
7110         * paragraph.C (getFont): take outerfont as arg, adjust
7111         (simpleTeXOnePar): add outerfont arg, adjust
7112
7113         * buffer.C (simpleLinuxDocOnePar): adjust
7114         (simpleDocBookOnePar): adjust
7115
7116         * CutAndPaste.C (pasteSelection): adjust
7117
7118         * BufferView.C (getEncoding): adjust
7119
7120 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7121
7122         * text2.C (setCharFont): adjust
7123         (setCounter): adjust
7124
7125         * text.C (leftMargin): adjust
7126         (setHeightOfRow): adjust
7127
7128         * rowpainter.C (paintFirst): adjust
7129         (paintLast): adjust
7130
7131         * paragraph_pimpl.C (realizeFont): adjust
7132
7133         * paragraph.C (isFirstInSequence): move from here...
7134         * paragraph_funcs.C (isFirstInSequence): ...to here
7135
7136         * paragraph.C (outerHook): move from here...
7137         * paragraph_funcs.C (outerHook): ...to here
7138
7139         * paragraph.C (depthHook): move from here...
7140         * paragraph_funcs.C (depthHook): ...to here
7141
7142         * paragraph.C (getEndLabel): move from here...
7143         * paragraph_funcs.C (getEndLabel): ...to here
7144
7145         * text2.C (realizeFont): move from here...
7146         * paragraph_funcs.C (realizeFont): ...to here
7147
7148 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7151
7152 2003-04-14  Angus Leeming  <leeming@lyx.org>
7153
7154         * LColor.[Ch]: scrap LColor mathcursor.
7155
7156 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * lyxlex.[Ch] (text): delete function
7159         * trans.C (Load): adjust
7160         * paragraph_funcs.C (readParToken): adjust
7161
7162 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7165         vector<char> instead of a char[].
7166
7167         * lyxlex_pimpl.C (getString): adjust
7168         (next): adjust
7169         (lex): use getString
7170         (eatLine): adjust
7171         (nextToken): adjust
7172
7173         * lyxlex.C (text): use pimpl_->getString()
7174         (getBool): ditto
7175         (findToken): ditto
7176
7177 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7180         (makeFontEntriesLayoutSpecific): temp var for par.size()
7181         (setLayout): temp var for ownerParagraphs().end()
7182         (fullRebreak): temp var for rows().end()
7183         (selectionAsString): temp var for boost::next(startpit), realize
7184         that the while really is a regular for loop.
7185         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7186         setCursor in one place.
7187         (setParagraph): temp vr for ownerParagraphs().end()
7188         (updateCounters): make the while loop a for loop
7189         (cutSelection): temp var for ownerParagraphs().end()
7190         (updateInset): make the do {} while() a regular for loop
7191         (getCursorX): use temp vars
7192         (setCurrentFont): use temp vars
7193         (getColumnNearX): use temp vars
7194
7195 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * text.C (transformChar): use temp var for getChar
7198         (computeBidiTables): use temp var for row->par()
7199         (fill): move temp vars for row->par() and pit->layout() earlier in
7200         the function.
7201         (labelFill): use temp var for row->par()
7202         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7203         asc and desc, realize that pit never changes and that firstpit is
7204         just a duplicate and not needed. Exchange rit->par() with pit in a
7205         lot of places.
7206         (breakAgain): use a temp var for boost::next(rit)
7207         (breakAgainOneRow): ditto
7208         (breakParagraph): use a temp var for rows().begin()
7209         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7210         (cursorRightOneWord): use temp var for cursor.par() and
7211         cursor.pos(), remove usage of tmpcursor.
7212         (cursorLeftOneWord): use temp var for cursor.par() and
7213         cursor.pos() only set cur at end of function.
7214
7215 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * text.C, text2.C: exchange all usage of Paragraph::next with
7218         boost::next(ParagraphList::iterator)
7219
7220         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7221
7222         * text2.C (cursorTop): simplify implementation
7223         (cursorBottom): ditto
7224         (setParagraph): use ParagraphList::iterator
7225         (setCurrentFont): adjust
7226         (getColumnNearX): adjust
7227         (cursorRight): adjust
7228         (cursorLeft): remove usage of Paragraph::previous
7229         (cursorUpParagraph): ditto
7230         (deleteEmptyParagraphMechanism): slight cleanup
7231
7232         * text.C (isBoundary): take a Paragraph const & instead of a
7233         pointer as arg.
7234         (addressBreakPoint): ditto
7235         (leftMargin): remove usage of Paragraph::previous.
7236         (setHeightOfRow): ditto
7237         (cursorLeftOneWord): ditto
7238         (selectNextWordToSpellcheck): ditto
7239         (Delete): ditto
7240         (backspace): ditto
7241         (breakParagraph): remove one usage of Paragraph::next
7242         (redoParagraph): ditto
7243         (acceptChange): ditto
7244         (insertChar): adjust
7245         (rowBreakPoint): adjust
7246
7247         * bufferview_funcs.C (toggleAndShow): adjust
7248
7249 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7250
7251         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7252         methods to access it.
7253         * lyxtext.h:
7254         * text.C: Added updateRowPositions to compute all row positions.
7255         Make top_y and getRowNearY() to use the cached y position
7256
7257 2003-04-11  John Levon  <levon@movementarian.org>
7258
7259         * text.C (rowBreakPoint): reintroduce the labelEnd
7260         checks, code copied from the row fill stuff. Deep voodoo.
7261
7262         * text.C (fill): add a comment and debugging for the
7263         next poor soul.
7264
7265 2003-04-11  John Levon  <levon@movementarian.org>
7266
7267         * text.C: make sure fullrow insets get wrapped to the next line,
7268         even when they're in a manual label
7269
7270 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7271
7272         * text2.C (insertParagraph): make it take ParagraphList::iterator
7273         as arg.
7274         (setLayout): make it return ParagraphList::iterator
7275         (redoParagraphs): ditto
7276         (setCounter): ditto
7277         (checkParagraph): ditto
7278
7279         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7280
7281         * text2.C: adjust several funcs.
7282         (realizeFont): take a ParagraphList::iterator as arg.
7283         (getLayoutFont): ditto
7284         (getLabelFont): ditto
7285         (setCharFont): ditto
7286
7287         * text.C: adjust several funcs.
7288
7289 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7290
7291         * text.C (selectNextWordToSpellcheck): don't accidentally
7292         skip insets
7293
7294 2003-04-10  John Levon  <levon@movementarian.org>
7295
7296         * ToolbarBackend.C (getIcon): special handling for
7297         LFUN_MATH_DELIM
7298
7299 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7300
7301         * text2.C (cursorRight): a getChar assert fixed
7302
7303 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * text2.C (getFont): change to take a ParagraphList::iterator
7306         instead of Paragraph*
7307         Adjust several functions.
7308
7309         * text.C (transformChar): change to take a ParagraphList::iterator
7310         instead of Paragraph*
7311         (singleWidth): ditto
7312         Adjust several functions.
7313
7314         * rowpainter.C: adjust several functions
7315         * rowpainter.h:store a ParagraphList::iterator and not a
7316         Paragraph&.
7317
7318
7319 2003-04-09  John Levon  <levon@movementarian.org>
7320
7321         * lyxfunc.C:
7322         * lfuns.h:
7323         * LyXAction.h:
7324         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7325         and the "help" bits as well
7326
7327 2003-04-09  John Levon  <levon@movementarian.org>
7328
7329         * ToolbarBackend.h:
7330         * ToolbarBackend.C: allow multiple toolbars
7331
7332 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7333
7334         * undo_funcs.C (setCursorParUndo): adjust
7335
7336         * text_funcs.C (transposeChars): adjust
7337
7338         * text3.C (gotoNextInset): adjust
7339         (dispatch): adjust
7340
7341         * text2.C (setLayout): adjust
7342         (changeDepth): adjust
7343         (setFont): adjust
7344         (redoParagraphs): adjust
7345         (selectionAsString): adjust
7346         (setParagraph): adjust
7347         (insertInset): adjust
7348         (cutSelection): adjust
7349         (copySelection): adjust
7350         (pasteSelection): adjust
7351         (insertStringAsLines): adjust
7352         (updateInset): adjust
7353         (setCursor): change to take a ParagraphList::iterator parameter
7354         (setCursorIntern): change to take a ParagraphList::iterator parameter
7355         (setCurrentFont): adjust
7356         (cursorLeft): adjust
7357         (cursorRight): adjust
7358         (deleteEmptyParagraphMechanism): adjust
7359
7360         * text.C (breakParagraph): adjust
7361         (insertChar): adjust
7362         (acceptChange): adjust
7363         (rejectChange): adjust
7364         (selectNextWordToSpellcheck): adjust
7365         (changeCase): adjust
7366         (Delete): adjust
7367         (backspace): adjust
7368
7369         * lyxfind.C (SearchForward): adjust
7370         (SearchBackward): adjust
7371         (nextChange): adjust
7372
7373         * lyxcursor.C (par): adjust
7374
7375         * lyxcursor.h: store a ParagraphList::iterator instead of a
7376         Paragraph*
7377
7378         * lyx_cb.C (getPossibleLabel): adjust
7379
7380         * bufferview_funcs.C (toggleAndShow): adjust
7381
7382         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7383         (dispatch): adjust
7384
7385         * BufferView.C (removeAutoInsets): adjust
7386         (lockedInsetStoreUndo): adjust
7387
7388 2003-04-09  John Levon  <levon@movementarian.org>
7389
7390         * ToolbarBackend.C: try icon without argument
7391         if with argument fails
7392
7393 2003-04-08  John Levon  <levon@movementarian.org>
7394
7395         * ToolbarBackend.h:
7396         * ToolbarBackend.C: add getIcon(), handle tooltip,
7397         and change from "Icon" to "Item".
7398
7399 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7400
7401         * BufferView.C (lockInset): another bad getchar crunched
7402
7403 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7404
7405         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7406         again)
7407
7408 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * lyxfind.C (searchForward, searchBackwards): bug 782
7411
7412 2003-04-07  John Levon  <levon@movementarian.org>
7413
7414         * paragraph.C: remove dead comment
7415
7416         * text.C: remove troublesome depth-fiddling code
7417         in leftMargin() and rightMargin() (bug 1017)
7418
7419         * text.C: fix breaking of rows in nested lists
7420         (bug 1004)
7421
7422         * text2.C (updateCounters): fix up depth values
7423         (bug 1013)
7424
7425 2003-04-07  John Levon  <levon@movementarian.org>
7426
7427         * BufferView_pimpl.C: clear message when doc finishes resizing,
7428         and after a mouse event
7429
7430         * lyxfunc.C: clear message after exiting inset
7431
7432 2003-04-07  John Levon  <levon@movementarian.org>
7433
7434         * bufferview_funcs.C: show math status not outside
7435         status in the statusbar
7436
7437 2003-04-07  John Levon  <levon@movementarian.org>
7438
7439         * lyxfunc.C: note status changed after a depth change
7440
7441 2003-04-04  Angus Leeming  <leeming@lyx.org>
7442
7443         * LaTeX.h: move AuxInfo operator==, != out of line.
7444         Remove LaTeX virtual destructor; nothing derives from it.
7445         Move operator()() out of public area and rename it startscript().
7446         Change protected for private.
7447
7448 2003-04-04  Angus Leeming  <leeming@lyx.org>
7449
7450         * lyxfunc.C:
7451         * text2.C: remove unneeded #includes.
7452
7453 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7454
7455         * text2.C (dEPM): fix the heigth of the next row
7456
7457 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7458
7459         * text.C: squashed an invalid getChar requester + some ws changes
7460
7461 2003-04-03  John Levon  <levon@movementarian.org>
7462
7463         * bufferview_funcs.h:
7464         * bufferview_funcs.C:
7465         * lyxfunc.C:
7466         * lyxtext.h:
7467         * text2.C: make getStatus work for the env depth lfuns
7468
7469 2003-04-03  John Levon  <levon@movementarian.org>
7470
7471         * bufferview_funcs.h:
7472         * bufferview_funcs.C:
7473         * lyxfunc.C:
7474         * lyxtext.h:
7475         * text2.C: parlistize decDepth(), by merging it with incDepth()
7476
7477 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * lyxrow.h: store a ParagraphList::iterator instead of a
7480         Paragraph* and adjust other class functions to suit.
7481
7482         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7483         above.
7484
7485 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7486
7487         * text2.C (setCursor): do not anchor to cursor row for the time being
7488
7489 2003-04-02  John Levon  <levon@movementarian.org>
7490
7491         * LyXAction.C:
7492         * lfuns.h:
7493         * lyx_main.C:
7494         * lyxtext.h:
7495         * text.C:
7496         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7497
7498 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * paragraph.h: make ParagraphList and ParagraphList::iterator
7501         friends of Paragraph.
7502
7503         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7504
7505         * ParagraphList.C: Use the private next_ and previous_ from
7506         Paragraph.
7507
7508 2003-04-01  John Levon  <levon@movementarian.org>
7509
7510         * ToolbarBackend.h:
7511         * ToolbarBackend.C:
7512         * Makefile.am: rename, remove defaults gunk
7513
7514         * MenuBackend.h:
7515         * MenuBackend.C: remove defaults gunk
7516
7517         * Languages.h:
7518         * Languages.C: remove defaults gunk
7519
7520         * lyx_main.h:
7521         * lyx_main.C: error out if files couldn't be found.
7522
7523 2003-04-02  John Levon  <levon@movementarian.org>
7524
7525         * text2.C: make incDepth() use parlist
7526
7527 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * undo_funcs.C (firstUndoParagraph): adjust
7530
7531         * text3.C (gotoInset): adjust
7532         (dispatch): adjust, and rewrite loop.
7533
7534         * text2.C (init): adjust, and rewrite loop.
7535         (redoParagraphs): adjust
7536         (updateInset): adjust, and rewrite loop.
7537         (deleteEmptyParagraphMechanism): adjust
7538
7539         * tabular.C (LyXTabular): adjust
7540         (SetMultiColumn): adjust
7541         (TeXRow): adjust
7542
7543         * lyxtext.[Ch] (ownerParagraph): delete function
7544         (ownerParagraphs): new function returns a ParagraphList.
7545
7546         * BufferView.C (removeAutoInsets): adjust
7547         (insertErrors): adjust
7548         (setCursorFromRow): adjust
7549
7550 2003-04-01  Angus Leeming  <leeming@lyx.org>
7551
7552         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7553         in the frontends.
7554
7555 2003-04-02  John Levon  <levon@movementarian.org>
7556
7557         * lyxtext.h:
7558         * text.C:
7559         * Makefile.am:
7560         * text_funcs.h:
7561         * text_funcs.C: make transposeChars a free function
7562
7563         * lyxrow_funcs.C: remove wrong comment
7564
7565 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * lyxtext.h: adjust
7568         * rowpainter.C: adjust
7569         * text.C: adjust
7570         * text2.C: adjust
7571         * text3.C: adjust
7572
7573         * lyxrow_funcs. [Ch]: new files
7574
7575         * lyxrow.[Ch]: remove next and previous pointers
7576         (next,previous): remove accessor functions
7577         (isParEnd): move to lyxrow_funcs
7578         (lastPos): move to lyxrow_funcs
7579         (nextRowIsAllInset): move to lyxrow_funcs
7580         (lastPrintablePos): move to lyxrow_funcs
7581         (numberOfSeparators): move to lyxrow_funcs
7582         (numberOfHfills): move to lyxrow_funcs
7583         (numberOfLabelHfills): move to lyxrow_funcs
7584         (hfillExpansion): move to lyxrow_funcs
7585
7586         * lyxfunc.C: adjust
7587
7588         * bufferview_funcs.C (toggleAndShow): adjust
7589
7590         * RowList.h: Remove class RowList from file leave just a
7591         std::list<Row>.
7592
7593         * RowList.C: delete file
7594
7595         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7596         and lyxrow_funcs.h
7597
7598 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * text3.C (cursorPrevious): adjust
7601         (cursorNext): adjust
7602         (dispatch): adjust
7603
7604         * text2.C (redoHeightOfParagraph): adjust
7605         (redoDrawingOfParagraph): adjust
7606         (setCursor): adjust
7607
7608         * text.C (breakParagraph): adjust
7609         (insertChar): adjust
7610         (backspace): adjust
7611
7612         * rowpainter.C (RowPainter): adjust
7613         (leftMargin): simplify and adjust
7614         (most rowpainter functions): adjust.
7615
7616         * rowpainter.h: store the row as RowList::iterator not as Row*
7617
7618         * lyxcursor.C (row): taka RowList::iterator as arg
7619         (irow): ditto
7620
7621         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7622         of Row*.
7623
7624 2003-04-01  Angus Leeming  <leeming@lyx.org>
7625
7626         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7627         stuff like bool Bool.
7628
7629 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7630
7631         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7632         rewrite a loop
7633
7634 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7637         RowList::iterator.
7638
7639         * lyxtext.h (rows): drop one version and leve a const variant that
7640         returns a RowList::iterator.
7641
7642 2003-03-31  Angus Leeming  <leeming@lyx.org>
7643
7644         * text.C (fill): ensure that the signature is the same as that in the
7645         header file.
7646
7647 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * text2.C (redoParagraphs): adjust
7650         (updateCounters): adjust
7651         (checkParagraph): adjust
7652         (getColumnNearX): adjust and reformat a bit.
7653
7654         * text.C (top_y): adjust
7655         (workWidth): adjust
7656         (leftMargin): adjust
7657         (prepareToPrint): adjust
7658         (getRow): adjust
7659         (getRowNearY): adjust
7660
7661         * lyxtext.h: make rowlist_ mutable.
7662
7663         * RowList.h: add const_iterator
7664         * RowList.C: adjust for RowList::const_iterator.
7665
7666         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7667         adjust.
7668
7669 2003-03-31  John Levon  <levon@movementarian.org>
7670
7671         * lyxrc.h:
7672         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7673
7674         * lyx_main.C: set default fonts from using lyx_gui funcs
7675
7676         * exporter.C: pdf_mode moved from lyxrc
7677
7678         * lyx_cb.C:
7679         * lyxfunc.C: changes from above
7680
7681 2003-03-31  John Levon  <levon@movementarian.org>
7682
7683         * lyx_main.C: fix to the last fix
7684
7685 2003-03-31  John Levon  <levon@movementarian.org>
7686
7687         * bufferlist.C: "Load original" -> "Load Original"
7688
7689         * converter.C:
7690         * exporter.C:
7691         * importer.C:
7692         * lyx_main.C:
7693         * format.C: more Alert cleanups
7694
7695 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * text2.C (removeParagraph): make it take a RowList::iterator as
7698         arg, adjust.
7699         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7700         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7701
7702         * text.C (anchor_row): make it take a RowList::iterator as arg,
7703         adjust.
7704         (computeBidiTables): make it take a const reference to Row instead
7705         of Row pointer, adjust.
7706         (leftMargin): make it take a RowList::iterator as arg, adjust.
7707         (rowBreakPoint): adjust
7708         (breakAgainOneRow): make it take a RowList::iterator as arg,
7709         adjust.
7710         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7711
7712         * bufferview_funcs.C (toggleAndShow): adjust
7713
7714 2003-03-30  John Levon  <levon@movementarian.org>
7715
7716         * Makefile.am:
7717         * BoostFormat.h:
7718         * boost-inst.C: moved to support
7719
7720         * several files: changes as a result
7721
7722 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7723
7724         * text2.C (LyXText): adjust.
7725         (init): adjust
7726         (removeRow): make it take a RowList::iterator as arg, adjust.
7727         (fullRebreak): adjust
7728         (deleteEmptyParagraphMechanism): adjust
7729         (clearPaint): adjust
7730         (postPaint): adjust
7731
7732         * text.C (top_y): adjust
7733         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7734         (breakAgain): make it take a RowList::iterator as arg, adjust.
7735         (breakParagraph): adjust
7736         (insertChar): adjust
7737         (backspace): adjust
7738
7739         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7740         need_break_row, and refresh_row.
7741
7742         * text3.C (dispatch): adjust
7743
7744         * text2.C (checkParagraph): adjust
7745         (setCursor): adjust
7746         (setCursorFromCoordinates): adjust
7747
7748         * text.C (top_y): adjust
7749         (workWidth): adjust
7750         (getRow): make it return a RowList::iterator, adjust
7751         (getRowNearY): make it return a RowList::iterator, adjust
7752
7753         * text2.C (init): adjust
7754         (insertRow): remove function
7755         (insertParagraph): adjust
7756         (redoParagraphs): adjust
7757         (fullRebreak): adjust
7758         (updateCounters): adjust
7759
7760         * text.C (top_y): rewrite to use RowList iterators.
7761         (top_y): adjust
7762         (setHeightOfRow): rewrite to sue RowList iterators.
7763         (appendParagraph): adjust
7764         (breakAgain): adjust
7765         (breakAgainOneRow): adjust
7766         (breakParagraph): adjust
7767         (getRow): adjust
7768         (getRowNearY): adjust, and remove commented code.
7769
7770         * lyxtext.h (firstRow): delete function
7771         (lastRow): delete function
7772         (rows): new function (const and non-const versions.)
7773         (insertRow): delete function
7774
7775         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7776
7777 2003-03-29  John Levon  <levon@movementarian.org>
7778
7779         * BufferView_pimpl.C: always update scrollbar top
7780         because pasting text when we're anchored could mean we
7781         miss an update altogether
7782
7783 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * text2.C (init): use rowlist_.end() and not 0.
7786         (insertRow): change to take a RowList::iterator as arg, adjust
7787         for this.
7788         (insertParagraph): change to take a RowList::iterator as arg,
7789         adjust for this.
7790         (redoParagraphs): remove some debug msgs.
7791
7792         * text.C (appendParagraph): change to take a RowList::iterator
7793         arg, adjust for this.
7794         (breakAgain): add an assert
7795         (breakAgainOneRow): ditto
7796
7797 2003-03-29  John Levon  <levon@movementarian.org>
7798
7799         * text2.C: do not clear selection after inc/decDepth
7800         (bug 550)
7801
7802 2003-03-29  John Levon  <levon@movementarian.org>
7803
7804         * BufferView.C:
7805         * buffer.C: fix broken strerrors according to Lars
7806
7807 2003-03-29  John Levon  <levon@movementarian.org>
7808
7809         * converters.C: more Alert cleanups
7810
7811 2003-03-29  John Levon  <levon@movementarian.org>
7812
7813         * bufferview_funcs.C: remove pointless Alert
7814
7815         * buffer.C: fix confusing error message when
7816         a template is chmoded 000
7817
7818 2003-03-29  John Levon  <levon@movementarian.org>
7819
7820         * BufferView.C:
7821         * BufferView.h:
7822         * BufferView_pimpl.C: Alert fixes
7823
7824         * Makefile.am:
7825         * tabular.C:
7826         * tabular-old.C: remove unused table compat reading
7827
7828 2003-03-29  John Levon  <levon@movementarian.org>
7829
7830         * BufferView.C:
7831         * buffer.C:
7832         * lyx_cb.h:
7833         * lyx_cb.C: more Alert cleanups
7834
7835         * lyxfunc.C: don't allow chktex if not latex document
7836
7837 2003-03-29  John Levon  <levon@movementarian.org>
7838
7839         * lyx_cb.C:
7840         * BufferView.C:
7841         * buffer.C: warnings pushed down from support/,
7842         kill err_alert
7843
7844 2003-03-29  John Levon  <levon@movementarian.org>
7845
7846         * lyxfunc.C: safety check for C-r (revert)
7847
7848 2003-03-29  John Levon  <levon@movementarian.org>
7849
7850         * bufferlist.h:
7851         * bufferlist.C: several UI fixes using Alert::prompt.
7852         Fix the pointless looping quit code. Fix stupid revert
7853         behaviour (bug 938)
7854
7855         * lyxvc.h:
7856         * lyxvc.C:
7857         * lyx_cb.C: use Alert::prompt
7858
7859         * lyx_main.C: remove a silly question
7860
7861         * lyxfunc.C: remove a couple of silly questions,
7862         use Alert::prompt
7863
7864 2003-03-28  John Levon  <levon@movementarian.org>
7865
7866         * text2.C: fix bug 974 (End on empty par)
7867
7868 2003-03-28  John Levon  <levon@movementarian.org>
7869
7870         * BufferView_pimpl.C:
7871         * LyXAction.C:
7872         * lfuns.h: remove do-nothing math greek lfuns
7873
7874 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * lyxgluelength.h (isValidGlueLength): add default arg on
7877         parameter 2. Remove default arg from friend in class.
7878
7879         * lyxlength.h (isValidLength): add default arg on parameter 2.
7880         Remove default arg from friend in class.
7881
7882         * text2.C (LyXText): adjust, initialize refresh_row.
7883         (init): adjust
7884         (removeRow): adjust
7885         (insertRow): adjust
7886         (insertParagraph): adjst
7887         (redoParagraphs): adjust
7888         (fullRebreak): adjust
7889         (updateCounters): adjust
7890         (deleteEmptyParagraphMechanism): first attempt at fixing a
7891         crashing bug.
7892
7893         * text.C (top_y): adjust
7894         (setHeightOfRow): adjust
7895         (getRow): adjust
7896         (getRowNearY): adjust
7897
7898         * lyxtext.h: include RowList.h
7899         (~LyXText): not needed anymore, deleted.
7900         (firstRow): modify for RowList
7901         (lastRow): new function
7902         Delete firstrow and lastrow class variables, add a Rowlist
7903         rowlist_ class variable.
7904
7905         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7906         paragraph is empty.
7907
7908         * RowList.C (insert): fix case where it == begin().
7909
7910 2003-03-26  Angus Leeming  <leeming@lyx.org>
7911
7912         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7913         the thesaurus dialog.
7914
7915 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7916
7917         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7918
7919         * RowList.[Ch]: new files
7920
7921         * ParagraphList.C (erase): handle the case where it == begin
7922         correctly.
7923
7924 2003-03-25  John Levon  <levon@movementarian.org>
7925
7926         * Makefile.am:
7927         * aspell_local.h:
7928         * aspell.C: add new aspell support
7929
7930         * lyxrc.h:
7931         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7932         have it accessible.
7933
7934 2003-03-25  Angus Leeming  <leeming@lyx.org>
7935
7936         * lfuns.h:
7937         * LyXAction.C (init): new LFUN_INSET_INSERT.
7938
7939         * BufferView_pimpl.C (dispatch): split out part of the
7940         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7941
7942         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7943         LFUN_INSET_APPLY.
7944
7945 2003-03-25  Angus Leeming  <leeming@lyx.org>
7946
7947         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7948
7949 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7950
7951         * text2.C:
7952         * text3.C: remove useless row->height(0)
7953
7954 2003-03-25  John Levon  <levon@movementarian.org>
7955
7956         * lyxtext.h:
7957         * text2.C:
7958         * text3.C: rename the refreshing stuff to better names
7959
7960 2003-03-24  John Levon  <levon@movementarian.org>
7961
7962         * BufferView_pimpl.h:
7963         * BufferView_pimpl.C: update layout choice on a mouse
7964         press/release
7965
7966 2003-03-23  John Levon  <levon@movementarian.org>
7967
7968         * Makefile.am: fix commandtags.h reference
7969
7970 2003-03-22  John Levon  <levon@movementarian.org>
7971
7972         * BufferView_pimpl.C:
7973         * lyxtext.h:
7974         * rowpainter.C:
7975         * rowpainter.h:
7976         * text.C:
7977         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7978
7979 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7980
7981         * lyxtext.h:
7982         * text.C: take the rtl methods out of line
7983
7984 2003-03-21 André Pönitz <poenitz@gmx.net>
7985
7986         * metricsinfo.[Ch]: new files containing structures to be passed around
7987         during the two-phase-drawing...
7988
7989 2003-03-21 André Pönitz <poenitz@gmx.net>
7990
7991         * lyxtextclass.C: read 'environment' tag.
7992
7993 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7994
7995         * text2.C (removeRow): fix bug 964
7996
7997 2003-03-20  John Levon  <levon@movementarian.org>
7998
7999         * rowpainter.C:
8000         * text.C:
8001         * text2.C: paint cleanups. Inset::update() dropped font
8002         parameter
8003
8004 2003-03-19  John Levon  <levon@movementarian.org>
8005
8006         * lyxfunc.C: only fitcursor/markDirty if available()
8007
8008 2003-03-19  John Levon  <levon@movementarian.org>
8009
8010         * commandtags.h: rename to ...
8011
8012         * lfuns.h: ... this, and renumber / cleanup
8013
8014 2003-03-19  John Levon  <levon@movementarian.org>
8015
8016         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8017         fit the cursor after an lfun
8018
8019         * BufferView.h:
8020         * BufferView.C:
8021         * BufferView_pimpl.h:
8022         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8023
8024         * LyXAction.C: layout-character should have ReadOnly
8025
8026         * ParagraphParameters.C:
8027         * buffer.C:
8028         * bufferview_funcs.C:
8029         * lyx_cb.C:
8030         * lyxfind.C:
8031         * lyxtext.h:
8032         * text.C:
8033         * text2.C:
8034         * text3.C:
8035         * undo_funcs.C: changes from above
8036
8037 2003-03-18  John Levon  <levon@movementarian.org>
8038
8039         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8040         remove it from update()
8041
8042         * lyxfunc.C: update layout choice after an lfun
8043
8044         * text3.C: remove extra updateLayoutChoice()s
8045
8046 2003-03-18  John Levon  <levon@movementarian.org>
8047
8048         * text.C: top_y change means full repaint, fix
8049         a drawing bug with cursor movement
8050
8051 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8052
8053         * lyxtext.h:
8054         * text.C:
8055         * text2.C: anchor row on setCursor
8056
8057 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8058
8059         * lyxtext.h: remove almost all mutable keywords
8060         * text.C:
8061         * text2.C:
8062         * text3.C: remove const keywords accordingly
8063
8064 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8065
8066         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8067         anon namespace
8068         (TeXEnvironment): ditto
8069         (TeXOnePar): ditto
8070
8071 2003-03-17  John Levon  <levon@movementarian.org>
8072
8073         * text.C (rowBreakPoint): remove attempt to fix displayed
8074         math insets inside a manual label
8075
8076 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * lyxtext.h: remove BufferView* as first arg from almost all class
8079         functions.
8080         * other files: adjust.
8081
8082 2003-03-17  John Levon  <levon@movementarian.org>
8083
8084         * lyxtext.h:
8085         * undo_funcs.C:
8086         * text2.C: more paint cleanups
8087
8088         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8089
8090         * rowpainter.h:
8091         * rowpainter.C: remove "smart" background painting code
8092
8093 2003-03-16  John Levon  <levon@movementarian.org>
8094
8095         * lyxtext.h:
8096         * text.C:
8097         * text2.C:
8098         * text3.C: add helper functions for setting refresh_row/y
8099
8100 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8101
8102         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8103         newline inset which *can* get inserted in the pass_thru layouts.
8104         This is primarily for literate documents.
8105
8106 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8107
8108         * buffer.C: increment LYX_FORMAT to 223
8109
8110 2003-03-14 André Pönitz <poenitz@gmx.net>
8111
8112         * textclass.h: prepare for environment handling, ws changes
8113         * lyxlayout.C: read latexheader and latexfooter tags
8114
8115 2003-03-14  John Levon  <levon@movementarian.org>
8116
8117         * text2.C: rewrite ::status() a bit
8118
8119 2003-03-13  John Levon  <levon@movementarian.org>
8120
8121         * lyxtext.h: add some docs
8122
8123 2003-03-13  John Levon  <levon@movementarian.org>
8124
8125         * lyxtext.h:
8126         * text.C:
8127         * text2.C:
8128         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8129
8130 2003-03-13  John Levon  <levon@movementarian.org>
8131
8132         * text3.C: fix appendix redrawing
8133
8134 2003-03-13  John Levon  <levon@movementarian.org>
8135
8136         * text.C (setHeightOfRow):
8137         * rowpainter.h:
8138         * rowpainter.C: make appendix mark have the text
8139           "Appendix" so the user knows what it is
8140
8141         * LColor.h:
8142         * LColor.C: s/appendixline/appendix/ from above
8143
8144 2003-03-13  John Levon  <levon@movementarian.org>
8145
8146         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8147
8148         * text.C: fix a getChar(pos) bug properly
8149
8150 2003-03-13  Angus Leeming  <leeming@lyx.org>
8151
8152         * commandtags.h:
8153         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8154         Probably only temporary. Let's see how things pan out.
8155
8156         * BufferView.C (unlockInset):
8157         * BufferView_pimpl.C (fitCursor):
8158         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8159
8160         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8161         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8162
8163         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8164         new functions that convert ParagraphParameters to and from a string.
8165
8166         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8167         BufferView::Pimpl's dispatch.
8168         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8169
8170 2003-03-13 André Pönitz <poenitz@gmx.net>
8171
8172         * lyxfunc.C:
8173         * text3.C:
8174         * factory.C: make it aware of InsetEnv
8175
8176 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * text2.C (setCursor): never ask for one past last
8179         (setCursor): add some debugging messages.
8180
8181         * text.C (singleWidth): never ask for one past last
8182         (singleWidth): ditto
8183         (leftMargin): ditto
8184         (rightMargin): ditto
8185         (rowBreakPoint): ditto
8186         (setHeightOfRow): ditto
8187         (prepareToPrint): ditto
8188
8189         * rowpainter.C (paintBackground): never ask for one past last
8190         (paintText): never ask for one past last
8191
8192         * paragraph_pimpl.C (getChar): make the assert stricter, never
8193         allow the one past last pos to be taken
8194
8195         * paragraph.C (getChar): ws changes only
8196
8197         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8198         (numberOfSeparators): ditto
8199         (numberOfHfills): ditto
8200
8201 2003-03-12  John Levon  <levon@movementarian.org>
8202
8203         * author.h:
8204         * author.C:
8205         * bufferparams.h:
8206         * bufferparams.C:
8207         * paragraph_funcs.C: fix per-buffer authorlists
8208
8209 2003-03-12  John Levon  <levon@movementarian.org>
8210
8211         * text.C: fix newline in right address
8212
8213 2003-03-12  Angus Leeming  <leeming@lyx.org>
8214
8215         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8216         duplicate those in LyXFunc::dispatch.
8217
8218         * commandtags.h:
8219         * LyXAction.C:
8220         * ToolbarDefaults.C:
8221         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8222         Add LFUN_FONTFREE_UPDATE.
8223
8224         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8225         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8226
8227         * bufferview_func.[Ch]: several new functions to facilliate
8228         transfer of data to and from the character dialog.
8229
8230 2003-03-12  John Levon  <levon@movementarian.org>
8231
8232         * buffer.C:
8233         * paragraph.h:
8234         * paragraph.C:
8235         * paragraph_funcs.C:
8236         * paragraph_pimpl.C:
8237         * sgml.C:
8238         * tabular.C:
8239         * text.C:
8240         * text3.C: remove META_NEWLINE in favour of an inset
8241
8242         * rowpainter.h:
8243         * rowpainter.C: remove paintNewline (done by inset)
8244
8245 2003-03-12  John Levon  <levon@movementarian.org>
8246
8247         * paragraph_pimpl.C: complain about bad getChar()s
8248         for a while at least
8249
8250 2003-03-12  John Levon  <levon@movementarian.org>
8251
8252         * buffer.h:
8253         * buffer.C: move paragraph read into a separate function,
8254         a little renaming to reflect that.
8255
8256         * bufferparams.h:
8257         * bufferparams.C: remove the author_ids map, not necessary now
8258
8259         * factory.h:
8260         * factory.C: moved Buffer::readInset to here
8261
8262         * paragraph_funcs.h:
8263         * paragraph_funcs.C: readParagraph free function moved from
8264         buffer.C
8265
8266         * tabular.C: name change
8267
8268 2003-03-12  John Levon  <levon@movementarian.org>
8269
8270         * buffer.C:
8271         * ParagraphParameters.C: move par params input to
8272         a read() method
8273
8274         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8275         behave like a normal read from the stream wrt reading
8276         a line vs. a \\token
8277
8278 2003-03-12  John Levon  <levon@movementarian.org>
8279
8280         * paragraph.C:
8281         * ParagraphParameters.h:
8282         * ParagraphParameters.C: move output code to a
8283         ::write() method
8284
8285 2003-03-12  John Levon  <levon@movementarian.org>
8286
8287         * BufferView.C (insertLyXFile):
8288         * buffer.h:
8289         * buffer.C:
8290         * tabular.C: use a parlist iterator for creating the
8291           document.
8292
8293 2003-03-12  John Levon  <levon@movementarian.org>
8294
8295         * buffer.C: make current_change static local not
8296           static file-scope
8297
8298 2003-03-12  John Levon  <levon@movementarian.org>
8299
8300         * buffer.C: fix insertStringAsLines for change tracking
8301
8302 2003-03-12  John Levon  <levon@movementarian.org>
8303
8304         * BufferView.C:
8305         * tabular.C:
8306         * buffer.h:
8307         * buffer.C:
8308         * bufferparams.h:
8309         * bufferparams.C: move author list into params. Rename some
8310           functions. Move the header reading into a separate token
8311           loop. Move the header token reading into BufferParams.
8312
8313 2003-03-12  John Levon  <levon@movementarian.org>
8314
8315         * changes.C: put debug inside lyxerr.debugging() checks
8316
8317 2003-03-11 André Pönitz <poenitz@gmx.net>
8318
8319         * factory.C: make it aware of InsetHFill
8320
8321 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8322
8323         * buffer.C (latexParagraphs): move function from here...
8324         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8325         args.
8326
8327 2003-03-10  Angus Leeming  <leeming@lyx.org>
8328
8329         * LyXAction.C (init): fix bug in poplating array with multiple entries
8330         with the same LFUN (spotted by JMarc).
8331
8332 2003-03-10  John Levon  <levon@movementarian.org>
8333
8334         * text.C:
8335         * text2.C: move getColumnNearX() near its
8336         only call site
8337
8338 2003-03-10  John Levon  <levon@movementarian.org>
8339
8340         * text.C: fix break before a minipage
8341
8342 2003-03-10  John Levon  <levon@movementarian.org>
8343
8344         * text.C: fix the last commit
8345
8346 2003-03-09  John Levon  <levon@movementarian.org>
8347
8348         * lyxtext.h:
8349         * text.C:
8350         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8351         bug 365 (don't break before insets unless needed). Don't
8352         return a value > last under any circumstances.
8353
8354 2003-03-09  Angus Leeming  <leeming@lyx.org>
8355
8356         * BufferView_pimpl.C (trackChanges, dispatch): call
8357         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8358
8359 2003-03-09  Angus Leeming  <leeming@lyx.org>
8360
8361         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8362         than Dialogs::showAboutlyx().
8363
8364 2003-03-09  Angus Leeming  <leeming@lyx.org>
8365
8366         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8367         than Dialogs::showTabularCreate().
8368
8369 2003-03-09  John Levon  <levon@movementarian.org>
8370
8371         * lyxtext.h:
8372         * text.C:
8373         * text2.C: 3rd arg to nextBreakPoint was always the same.
8374           Use references.
8375
8376 2003-03-08  John Levon  <levon@movementarian.org>
8377
8378         * lyxrow.C:
8379         * paragraph.C:
8380         * paragraph.h:
8381         * rowpainter.C:
8382         * text.C:
8383         * text2.C: Remove the "main" bit from the "main body"
8384           notion.
8385
8386 2003-03-08  John Levon  <levon@movementarian.org>
8387
8388         * text.C (leftMargin): The left margin of an empty
8389         manual label paragraph should not include the label width
8390         string length.
8391
8392         * text.C (prepareToPrint): don't attempt to measure hfills
8393         for empty manual label paragraphs - the answer should be 0
8394
8395 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8396
8397         * CutAndPaste.C: remove commented code and reindent.
8398
8399 2003-03-08  John Levon  <levon@movementarian.org>
8400
8401         * lyxfunc.h:
8402         * lyxfunc.C: move reloadBuffer()
8403
8404         * BufferView.h:
8405         * BufferView.C: to here
8406
8407         * lyxvc.C: add comment
8408
8409         * vc-backend.h:
8410         * vc-backend.C: call bv->reload() to avoid
8411           getStatus() check on MENURELOAD
8412
8413 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8414
8415         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8416         to an old format .dep file.
8417
8418 2003-03-07  Angus Leeming  <leeming@lyx.org>
8419
8420         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8421         when the LFUN_MOUSE_RELEASE should have been handled by
8422         inset->localDispatch.
8423
8424 2003-03-07  Angus Leeming  <leeming@lyx.org>
8425
8426         * BufferView_pimpl.C (dispatch):
8427         * LyXAction.C (init):
8428         * ToolbarDefaults.C (init):
8429         * commandtags.h:
8430         * lyxfunc.C (getStatus):
8431         remove LFUN_INSET_GRAPHICS.
8432
8433         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8434
8435 2003-03-07  Angus Leeming  <leeming@lyx.org>
8436
8437         * commandtags.h:
8438         * LyXAction.C (init):
8439         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8440
8441         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8442
8443         * commandtags.h:
8444         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8445
8446         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8447         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8448
8449 2003-03-07  Angus Leeming  <leeming@lyx.org>
8450
8451         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8452         remove "ert".
8453
8454 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8455
8456         * ParagraphList.C (front): new function
8457         (back): implement
8458
8459 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8460
8461         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8462         and top_row_offset_. removed var first_y.
8463         * text.C (top_y):
8464         * text2.C (LyXText, removeRow):
8465         * text3.C:
8466         * BufferView_pimpl.C:
8467         use these methods instead of using first_y
8468
8469 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8470
8471         * text2.C (pasteSelection): adjust for checkPastePossible
8472
8473         * CutAndPaste.C: remove Paragraph * buf and replace with
8474         ParagraphList paragraphs.
8475         (DeleteBuffer): delete
8476         (cutSelection): change the tc type to textclass_type
8477         (copySelection): change the tc type to textclass_type
8478         (copySelection): adjust for ParagraphList
8479         (pasteSelection): change the tc type to textclass_type
8480         (pasteSelection): adjust for Paragraphlist
8481         (nrOfParagraphs): simplify for ParagraphList
8482         (checkPastePossible): simplify for ParagraphList
8483         (checkPastePossible): remove unused arg
8484
8485         * ParagraphList.C (insert): handle the case where there are no
8486         paragraphs yet.
8487
8488         * CutAndPaste.h: make CutAndPaste a namespace.
8489
8490         * text3.C (dispatch): adjust
8491
8492         * text.C (breakParagraph): add a ParagraphList as arg
8493
8494         * paragraph_funcs.C (breakParagraph): change to take a
8495         BufferParams and a ParagraphList as args.
8496         (breakParagraphConservative): ditto
8497         (mergeParagraph): ditto
8498         (TeXDeeper): add a ParagraphList arg
8499         (TeXEnvironment): ditto
8500         (TeXOnePar): ditto
8501
8502         * buffer.C (readLyXformat2): adjust
8503         (insertStringAsLines): adjust
8504         (latexParagraphs): adjust
8505
8506         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8507         (cutSelection): adjust
8508         (pasteSelection): adjust
8509
8510         * BufferView_pimpl.C (insertInset): adjust
8511
8512 2003-03-05  Angus Leeming  <leeming@lyx.org>
8513
8514         * commandtags.h:
8515         * LyXAction.C (init):
8516         * BufferView_pimpl.C (dispatch):
8517         * lyxfunc.C (getStatus):
8518         remove LFUN_CHILD_INSERT.
8519
8520         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8521
8522 2003-03-05  Angus Leeming  <leeming@lyx.org>
8523
8524         * commandtags.h:
8525         * LyXAction.C (init):
8526         * src/factory.C (createInset):
8527         * lyxfunc.C (getStatus):
8528         * text3.C (dispatch):
8529         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8530
8531         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8532
8533 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8534
8535         * ParagraphList.C (insert): handle insert right before end()
8536         (erase): fix cases where it can be first or last paragraph.
8537
8538 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8541         Paragraph::next and Paragraph::previous
8542         (TeXOnePar): ditto
8543
8544         * text.C (breakParagraph): adjust
8545
8546         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8547         BufferParams& as arg.
8548         (breakParagraph): use ParagraphList::insert
8549         (breakParagraphConservative): take a Buffer* instead of a
8550         BufferParams& as arg.
8551         (breakParagraphConservative): use ParagraphList::insert.
8552
8553         * buffer.C (insertStringAsLines): un-const it
8554         (insertStringAsLines): adjust
8555
8556         * ParagraphList.C (insert): new function
8557
8558         * CutAndPaste.C (pasteSelection): adjust
8559
8560         * text.C (backspace): adjust
8561
8562         * tabular.C (SetMultiColumn): adjust
8563
8564         * CutAndPaste.C (cutSelection): adjust
8565         (pasteSelection): adjust
8566
8567         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8568         Buffer const * as arg
8569
8570         * ParagraphList.C (erase): new function
8571         * paragraph_funcs.C (mergeParagraph): use it
8572         (mergeParagraph): make it take a Buffer* instead of a
8573         BufferParams* as arg
8574
8575         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8576         as arg
8577         (breakParagraphConservative): ditto
8578
8579         * paragraph.h: remove the breakParagraph friend
8580
8581         * paragraph.C (eraseIntern): new function
8582         (setChange): new function
8583
8584         * paragraph_funcs.C (mergeParagraph): make it take a
8585         ParagraphList::iterator instead of a Paragraph *, adjust
8586         accordingly.
8587
8588         * paragraph.h: move an #endif so that the change tracking stuff
8589         also works in the NO_NEXT case.
8590
8591 2003-03-04  Angus Leeming  <leeming@lyx.org>
8592
8593         * commandtags.h:
8594         * LyXAction.C: new LFUN_INSET_MODIFY.
8595
8596         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8597         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8598
8599 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8600
8601         * several files: ws changes only
8602
8603         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8604         (TeXEnvironment): ditto
8605         (TeXDeeper): ditto
8606
8607         * buffer.C (makeLaTeXFile): adjust
8608         (latexParagraphs): make it take ParagraphList::iterator as args
8609
8610 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * buffer.C (latexParagraphs): adjust
8613
8614         * paragraph.C (TeXOnePar): move function...
8615         (optArgInset): move function...
8616         (TeXEnvironment): move function...
8617         * paragraph_pimpl.C (TeXDeeper): move function...
8618         * paragraph_funcs.C: ...here
8619
8620         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8621
8622 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * buffer.C (readInset): remove compability code for old Figure and
8625         InsetInfo insets
8626
8627 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8628
8629         * buffer.C: ws changes
8630         (readInset):
8631
8632         * BufferView_pimpl.C: ditto
8633         * author.C: ditto
8634         * buffer.h: ditto
8635         * bufferlist.h: ditto
8636         * changes.h: ditto
8637         * lyxfunc.C: ditto
8638
8639 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8640
8641         * converter.[Ch]: split into itself +
8642         * graph.[Ch]
8643         * format.[Ch]
8644         * Makefile.am: += graph.[Ch] + format.[Ch]
8645         * MenuBackend.C
8646         * buffer.C
8647         * exporter.C
8648         * importer.C
8649         * lyx_main.C
8650         * lyxfunc.C
8651         * lyxrc.C: added #include "format.h"
8652
8653 2003-02-27  Angus Leeming  <leeming@lyx.org>
8654
8655         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8656           a label.
8657
8658         * factory.C (createInset): add "label" to the factory.
8659
8660         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8661           string and do no more.
8662
8663 2003-02-27  Angus Leeming  <leeming@lyx.org>
8664
8665         * commandtags.h:
8666         * LyXAction.C (init):
8667         * factory.C (createInset):
8668         * BufferView_pimpl.C (dispatch):
8669           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8670
8671         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8672
8673         * lyxfunc.C (dispatch):
8674         * text3.C (dispatch): pass name to params2string.
8675
8676 2003-02-26  Angus Leeming  <leeming@lyx.org>
8677
8678         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8679           blocks together.
8680           Rearrange the ~includes. Strip out the unnecessary ones.
8681
8682         * factory.C (createInset): reformat.
8683           create new insets for the various LFUN_XYZ_APPLY lfuns.
8684
8685 2003-02-26  John Levon  <levon@movementarian.org>
8686
8687         * lyxrow.h:
8688         * lyxrow.C: add isParStart,isParEnd helpers
8689
8690         * paragraph.h: make isInserted/DeletedText take refs
8691
8692         * paragraph_funcs.h:
8693         * paragraph_funcs.C: remove #if 0'd code
8694
8695         * lyxtext.h:
8696         * text3.C:
8697         * text2.C:
8698         * text.C: use lyxrow helpers above.
8699           Move draw and paint routines to RowPainter.
8700           Make several methods use refs not pointers.
8701           Make backgroundColor() const.
8702           Add markChangeInDraw(), isInInset().
8703           Merge changeRegionCase into changeCase.
8704           Make workWidth() shouldn't-happen code into an Assert.
8705
8706         * rowpainter.h:
8707         * rowpainter.C: new class for painting a row.
8708
8709         * vspace.h:
8710         * vspace.C: make inPixels take a ref
8711
8712 2003-02-26  Angus Leeming  <leeming@lyx.org>
8713
8714         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8715         LFUN_REF_APPLY.
8716
8717 2003-02-25  John Levon  <levon@movementarian.org>
8718
8719         * ispell.C: give the forked command a more accurate name
8720
8721 2003-02-22  John Levon  <levon@movementarian.org>
8722
8723         * toc.h:
8724         * toc.C: make TocItem store an id not a Paragraph *
8725           (bug #913)
8726
8727 2003-02-21  Angus Leeming  <leeming@lyx.org>
8728
8729         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8730           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8731           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8732           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8733           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8734           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8735
8736         * BufferView_pimpl.C (dispatch):
8737         * LyXAction.C (init):
8738         * factory.C (createInset):
8739         * lyxfunc.C (getStatus, dispatch):
8740         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8741
8742 2003-02-21  Angus Leeming  <leeming@lyx.org>
8743
8744         * BufferView_pimpl.C (MenuInsertLyXFile):
8745         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8746         * lyxfunc.C (menuNew, open, doImport):
8747           no longer pass a LyXView & to fileDlg.
8748
8749 2003-02-21  Angus Leeming  <leeming@lyx.org>
8750
8751         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8752         * LyXAction.C: change, BIBKEY to BIBITEM.
8753         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8754         Change InsetBibKey to InsetBibitem.
8755         Change BIBKEY_CODE to BIBITEM_CODE.
8756         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8757         * factory.C: replace insetbib.h with insetbibitem.h.
8758         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8759         * paragraph.C: replace insetbib.h with insetbibitem.h.
8760         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8761         Change bibkey() to bibitem().
8762         * text.C: remove insetbib.h.
8763         * text2.C: replace insetbib.h with insetbibitem.h.
8764         change bibkey() to bibitem().
8765         * text3.C: remove insetbib.h.
8766         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8767
8768 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8769
8770         * lyxrc.C (output): enclose user email in quotes (in case there are
8771         several words)
8772
8773 2003-02-18  John Levon  <levon@movementarian.org>
8774
8775         * buffer.h: add std::
8776
8777 2003-02-17  John Levon  <levon@movementarian.org>
8778
8779         * SpellBase.h:
8780         * ispell.h:
8781         * ispell.C:
8782         * pspell.h:
8783         * pspell.C: reworking. Especially in ispell, a large
8784           number of clean ups and bug fixes.
8785
8786         * lyxfunc.C: fix revert to behave sensibly
8787
8788 2003-02-17 André Pönitz <poenitz@gmx.net>
8789
8790         * LyXAction.C:
8791         * commandtags.h: new LFUN_INSERT_BIBKEY
8792
8793         * layout.h:
8794         * lyxlayout.C:
8795         * buffer.C:
8796         * factory.C:
8797         * text.C:
8798         * text2.C:
8799         * text3.C:
8800         * paragraph.[Ch]:
8801         * paragraph_func.C: remove special bibkey handling
8802
8803 2003-02-17  John Levon  <levon@movementarian.org>
8804
8805         * text.C (Delete): fix case where delete at the end of
8806           the very first paragraph would not merge the pars
8807
8808 2003-02-17  John Levon  <levon@movementarian.org>
8809
8810         * lyxrow.C: fix lastPrintablePos()
8811
8812 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8813
8814         * bufferparams.C (writeLaTeX): add a std:here
8815
8816         * buffer.C: and remove a using directive there
8817
8818 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8819
8820         * buffer.C (makeLaTeXFile): move the code that generates the
8821           preamble...
8822
8823         * bufferparams.C (writeLaTeX): ... in this new method
8824
8825         * LaTeXFeatures.C (getEncodingSet): make const
8826           (getLanguages): make const
8827
8828         * MenuBackend.C (binding): returns the binding associated to this
8829           action
8830           (add): sets the status of each item by calling getStatus. Adds
8831           some intelligence.
8832           (read): add support for OptSubMenu
8833           (expand): remove extra separator at the end of expanded menu
8834
8835 2003-02-15  John Levon  <levon@movementarian.org>
8836
8837         * BufferView.C:
8838         * BufferView_pimpl.C:
8839         * bufferlist.h:
8840         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8841           inset code that had no actual effect. Remove unneeded status
8842           code.
8843
8844 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8847           in preamble
8848
8849 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8850
8851         * text.C (drawLengthMarker): also draw an arrow marker for
8852           symbolic lengths (medskip...)
8853
8854 2003-02-14  John Levon  <levon@movementarian.org>
8855
8856         * tabular.h:
8857         * tabular.C: better method names
8858
8859 2003-02-14  John Levon  <levon@movementarian.org>
8860
8861         * BufferView_pimpl.C:
8862         * bufferlist.C:
8863         * buffer.C:
8864         * converter.C:
8865         * lyx_cb.C:
8866         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8867           it's a more accurate name. Remove some pointless uses.
8868
8869 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8870
8871         * text2.C (LyXText): change order of initilizers to shut off
8872           warnings
8873
8874 2003-02-14  John Levon  <levon@movementarian.org>
8875
8876         * buffer.C: use ParIterator for getParFromID()
8877
8878         * paragraph.h:
8879         * paragraph.C:
8880         * paragraph_pimpl.h:
8881         * paragraph_pimpl.C: remove unused getParFromID()
8882
8883 2003-02-14  John Levon  <levon@movementarian.org>
8884
8885         * buffer.C: remove some very old #if 0'd parse code
8886
8887 2003-02-13  John Levon  <levon@movementarian.org>
8888
8889         * text.h:
8890         * text.C:
8891         * text2.C: move hfillExpansion(), numberOfSeparators(),
8892           rowLast(), rowLastPrintable(), numberofHfills(),
8893           numberOfLabelHfills() ...
8894
8895         * lyxrow.h:
8896         * lyxrow.C: ... to member functions here.
8897
8898         * paragraph.h:
8899         * paragraph.C:
8900         * lyxtext.h:
8901         * text.C: remove LyXText::beginningOfMainBody(), and call
8902           p->beginningOfMainBody() directly. Move the check for
8903           LABEL_MANUAL into the latter.
8904
8905         * text.h:
8906         * text.C:
8907         * text2.C:
8908         * vspace.C:
8909         * BufferView.h:
8910         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8911
8912         * text.h:
8913         * text.C:
8914         * text2.C:
8915         * text3.C:
8916         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8917           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8918
8919 2003-02-13  John Levon  <levon@movementarian.org>
8920
8921         * CutAndPaste.C: remove debug
8922
8923 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * paragraph.C (asString): remove two unused variables
8926
8927         * lyxtextclass.C (readTitleType):
8928           (Read):
8929           (LyXTextClass): handle new members titletype_ and titlename_
8930
8931         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8932
8933 2003-02-09  John Levon  <levon@movementarian.org>
8934
8935         * buffer.h:
8936         * buffer.C: replace hand-coded list with a map for the dep clean
8937
8938 2003-02-08  John Levon  <levon@movementarian.org>
8939
8940         * LaTeX.C: consolidate code into showRunMessage() helper
8941
8942 2003-02-08  John Levon  <levon@movementarian.org>
8943
8944         * lyxfind.C:
8945         * lyxtext.h:
8946         * text2.C:
8947         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8948           and pass the size in explicitly
8949
8950         * BufferView_pimpl.h:
8951         * BufferView_pimpl.C:
8952         * BufferView.h:
8953         * BufferView.C: add getCurrentChange()
8954
8955         * BufferView_pimpl.h:
8956         * BufferView_pimpl.C: handle change lfuns
8957
8958         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8959           for changes. Mark pasted paragraphs as new.
8960
8961         * support/lyxtime.h:
8962         * support/lyxtime.C:
8963         * DepTable.C: abstract time_t as lyx::time_type
8964
8965         * LColor.h:
8966         * LColor.C: add colours for new text, deleted text, changebars
8967
8968         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8969           package use "usenames" option.
8970
8971         * commandtags.h:
8972         * lyxfunc.C:
8973         * LyXAction.C: add change lfuns
8974
8975         * Makefile.am:
8976         * author.h:
8977         * author.C: author handling
8978
8979         * buffer.h:
8980         * buffer.C: add a per-buffer author list, with first entry as
8981           current author. Handle new .lyx tokens for change tracking. Output
8982           author list to .lyx file. Output dvipost stuff to .tex preamble.
8983           Bump lyx format to 222.
8984
8985         * bufferlist.h:
8986         * bufferlist.C: add setCurrentAuthor() to reset current author details
8987           in all buffers.
8988
8989         * bufferparams.h:
8990         * bufferparams.C: add param for tracking
8991
8992         * bufferview_funcs.C: output change info in minibuffer
8993
8994         * Makefile.am:
8995         * changes.h:
8996         * changes.C: add change-tracking structure
8997
8998         * debug.h:
8999         * debug.C: add CHANGES debug flag
9000
9001         * lyxfind.h:
9002         * lyxfind.C: add code for finding the next change piece
9003
9004         * lyxrc.h:
9005         * lyxrc.C: add user_name and user_email
9006
9007         * lyxrow.h:
9008         * lyxrow.C: add a metric for the top of the text line
9009
9010         * lyxtext.h:
9011         * text.C: implement accept/rejectChange()
9012
9013         * lyxtext.h:
9014         * text.C: paint changebars. Paint new/deleted text in the chosen
9015         colours. Strike through deleted text.
9016
9017         * paragraph.h:
9018         * paragraph.C:
9019         * paragraph_pimpl.h:
9020         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9021           in the current change to the insert functions. Rework erase to
9022           mark text as deleted, adding an eraseIntern() and a range-based
9023           erase(). Implement per-paragraph change lookup and
9024           accept/reject.
9025
9026         * paragraph_funcs.C: Fixup paste for change tracking.
9027
9028         * tabular.C: mark added row/columns as new.
9029
9030         * text.C: fix rowLast() to never return -1. Don't allow
9031           spellchecking of deleted text. Track transpose changes. Don't
9032           allow paragraph break or merge where appropriate.
9033
9034         * text2.C: leave cursor at end of selection after a cut.
9035
9036 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9037
9038         * text.C (getLengthMarkerHeight):
9039         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9040         visible on screen too.
9041
9042 2003-02-07  John Levon  <levon@movementarian.org>
9043
9044         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9045
9046 2003-02-05  Angus Leeming  <leeming@lyx.org>
9047
9048         * lyxserver.C (read_ready): revert my patch of 11 September last year
9049         as it sends PC cpu through the roof. Presumably this means that
9050         the lyxserver will no longer run on an Alpha...
9051
9052 2003-01-30  Angus Leeming  <leeming@lyx.org>
9053
9054         * factory.C (createInset): create an InsetCommandParam of type "index"
9055         and use it to 'do the right thing'.
9056
9057         * text2.C (getStringToIndex): ensure that cursor position is always
9058         reset to the reset_cursor position.
9059
9060 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9061
9062         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9063         disabled.
9064
9065 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9066
9067         * bufferview.C:
9068         * lyxcb.C:
9069         * lyxfunc.C: Output messages with identical spelling, punctuation,
9070         and spaces
9071
9072 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9073
9074         * MenuBackend.C (expandFormats): List only viewable export formats
9075         in "View" menu
9076
9077         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9078         message
9079
9080         * lyxfunc.C (getStatus): Make sure that formats other than
9081         "fax" can also be disabled
9082
9083 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9084
9085         * text3.C (dispatch): put the lfuns that insert insets in 3
9086         groups, and call doInsertInset with appropriate arguments.
9087         (doInsertInset): new function, that creates an inset and inserts
9088         it according to some boolean parameters.
9089
9090 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9091
9092         * buffer.C (readFile): remember to pass on 'par' when calling
9093         readFile recursively.
9094
9095 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9096
9097         * MenuBackend.C (expandFormats): add "..." to import formats.
9098
9099 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9100
9101         * paragraph.C (asString): Remove XForms RTL hacks.
9102
9103 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9104         * buffer.C: fix typo
9105
9106 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9107
9108         * Makefile.am (LIBS): delete var
9109         (lyx_LDADD): add @LIBS@ here instead.
9110
9111 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9112
9113         * Clarify the meaning of "wheel mouse jump"
9114
9115 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9116
9117         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9118         tabular in a float
9119
9120 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9121
9122         * importer.C (Loaders): do not preallocate 3 elements in the
9123         vector, since one ends up with 6 elements otherwise
9124
9125 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9126
9127         * DepTable.C (write): write the file name as last element of the
9128         .dep file (because it may contain spaces)
9129         (read): read info in the right order
9130
9131 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9132
9133         * paragraph_pimpl.C (simpleTeXBlanks):
9134         (simpleTeXSpecialChars):
9135         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9136
9137         * tabular.C (latex): add some missing case statements. Reindent.
9138
9139         * MenuBackend.C (expandToc): remove unused variable.
9140
9141 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9142
9143         * LColor.C:
9144         * LaTeX.C:
9145         * LyXAction.C:
9146         * MenuBackend.C:
9147         * buffer.C:
9148         * exporter.C:
9149         * lyxfunc.C:
9150         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9151         and the like.
9152
9153 2003-01-05  John Levon  <levon@movementarian.org>
9154
9155         * BufferView.h:
9156         * BufferView.C: add getEncoding()
9157
9158         * kbsequence.h:
9159         * kbsequence.C: do not store last keypress
9160
9161         * lyxfunc.h:
9162         * lyxfunc.C: store last keypress here instead. Pass encoding
9163           to getISOEncoded()
9164
9165 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9166
9167         * lyx_main.C (init): remove annoying error message when following
9168         symbolic links (bug #780)
9169
9170 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9171
9172         * text.C (insertChar):
9173         * lyxrc.C (getDescription): remove extra spaces
9174
9175 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9176
9177         * lyxrc.C (getDescription): remove extra spaces
9178
9179 2002-12-20  John Levon  <levon@movementarian.org>
9180
9181         * text3.C: hack fix for page up/down across tall rows
9182
9183 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9184
9185         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9186         not been invoked
9187
9188 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9189
9190         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9191         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9192         thesaurus is not compiled in
9193
9194 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9195
9196         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9197
9198 2002-12-16  Angus Leeming  <leeming@lyx.org>
9199
9200         * lyxrc.[Ch]:
9201         * lyx_main.C (init): remove override_x_deadkeys stuff.
9202
9203 2002-12-12  John Levon  <levon@movementarian.org>
9204
9205         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9206           insert. Only remove shift modifier under strict
9207           circumstances.
9208
9209 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9210
9211         * MenuBackend.C (expandToc): fix crash.
9212
9213 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9214
9215         * MenuBackend.C (expandToc): gettext on float names.
9216
9217 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9218
9219         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9220         implement bool empty() [bug 490]
9221
9222 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9225
9226 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * several files: ws changes
9229
9230 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9231
9232         * text2.C (setCounter): clean up a bit, use boost.format.
9233         (updateCounters): initialize par upon declaration.
9234
9235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9236         if the layout exists. We do not just store the layout any more.
9237         (SwitchLayoutsBetweenClasses): use boost.format
9238
9239 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9240
9241         * converter.C (convert): if from and to files are the same, use a
9242         temporary files as intermediary
9243
9244 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9245
9246         * commandtags.h:
9247         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9248
9249 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9250
9251         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9252
9253 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9254
9255         * tabular.C (asciiPrintCell): use string(size, char) instead of
9256         explicit loop.
9257
9258         * sgml.C (openTag): fix order of arguments to string constructor
9259         (closeTag): ditto
9260
9261         * lyxfunc.C (dispatch): use boost.format
9262
9263         * lots of files: change "c" -> 'c'
9264
9265 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9266
9267         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9268
9269 2002-11-25  Angus Leeming  <leeming@lyx.org>
9270
9271         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9272
9273         * lyx_main.C (init): compile fix.
9274
9275 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9276
9277         * lyx_cb.C (start): boost.formatify
9278         do not include <iostream>
9279
9280         * lengthcommon.C: ws only
9281
9282         * boost-inst.C,BoostFormat.h: add more explict instantations
9283
9284 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * lots of files: handle USE_BOOST_FORMAT
9287
9288 2002-11-21  John Levon  <levon@movementarian.org>
9289
9290         * pspell.C: fix compile
9291
9292 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9293
9294         * lyxfunc.C (dispatch): use boost::format
9295         (open): ditto
9296         (doImport): ditto
9297
9298         * lyxfont.C (stateText): use boost::format
9299
9300         * lyx_main.C (LyX): use boost::format
9301         (init): ditto
9302         (queryUserLyXDir): ditto
9303         (readRcFile): ditto
9304         (parse_dbg): ditto
9305         (typedef boost::function): use the recommened syntax.
9306
9307         * importer.C (Import): use boost::format
9308
9309         * debug.C (showLevel): use boost::format
9310
9311         * converter.C (view): use boost::format
9312         (convert): ditto
9313         (move): ditto
9314         (scanLog): ditto
9315
9316         * bufferview_funcs.C (currentState): use boost::format
9317
9318         * bufferlist.C (emergencyWrite): use boost::format
9319
9320         * buffer.C (readLyXformat2): use boost::format
9321         (parseSingleLyXformat2Token): ditto
9322
9323         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9324
9325         * LaTeX.C (run): use boost::format
9326
9327         * Chktex.C (scanLogFile): use boost::format
9328
9329         * BufferView_pimpl.C (savePosition): use boost::format
9330         (restorePosition): ditto
9331         (MenuInsertLyXFile): ditto
9332
9333         * BoostFormat.h: help file for explicit instation.
9334
9335 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9336
9337         * tabular.C (latex): Support for block alignment in fixed width
9338         columns.
9339
9340 2002-11-17  John Levon  <levon@movementarian.org>
9341
9342         * BufferView_pimpl.C:
9343         * lyx_cb.C:
9344         * lyxfunc.C: split filedialog into open/save
9345
9346 2002-11-08  Juergen Vigna  <jug@sad.it>
9347
9348         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9349         by my last patch (hopefully).
9350
9351 2002-11-08  John Levon  <levon@movementarian.org>
9352
9353         * iterators.h:
9354         * iterators.C:
9355         * buffer.h:
9356         * buffer.C:
9357         * paragraph.h:
9358         * paragraph.C:
9359         * toc.h:
9360         * toc.C: ParConstIterator, and use it (from Lars)
9361
9362 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9363
9364         * lyxtextclass.[Ch]: revise and add doxygen comments
9365
9366 2002-11-07  John Levon  <levon@movementarian.org>
9367
9368         * text.C: fix progress value for spellchecker
9369
9370         * toc.C: fix navigate menu for insetwrap inside minipage
9371
9372         * paragraph_funcs.C: added FIXME for suspect code
9373
9374 2002-11-07  John Levon  <levon@movementarian.org>
9375
9376         * BufferView_pimpl.C: fix redrawing of insets
9377           on buffer switch
9378
9379 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9380
9381         * text2.C (updateCounters): fix bug 668
9382
9383 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9384
9385         * text3.C (dispatch): Do not make the buffer dirty when moving the
9386         cursor.
9387
9388 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9389
9390         * vc-backend.C: STRCONV
9391         (scanMaster): ditto
9392
9393         * text2.C (setCounter): STRCONV
9394
9395         * paragraph.C (asString): STRCONV
9396
9397         * lyxlength.C (asString): STRCONV
9398         (asLatexString): ditto
9399
9400         * lyxgluelength.C (asString): STRCONV
9401         (asLatexString): ditto
9402
9403         * lyxfunc.C (dispatch): STRCONV
9404         (open): ditto
9405
9406         * lyxfont.C (stateText): STRCONV
9407
9408         * importer.C (Import): STRCONV
9409
9410         * counters.C (labelItem): STRCONV
9411         (numberLabel): ditto
9412         (numberLabel): remove unused ostringstream o
9413
9414         * chset.C: STRCONV
9415         (loadFile): ditto
9416
9417         * bufferview_funcs.C (currentState): STRCONV
9418
9419         * buffer.C (readFile): STRCONV
9420         (asciiParagraph): ditto
9421         (makeLaTeXFile): ditto
9422
9423         * Spacing.C (writeEnvirBegin): STRCONV
9424
9425         * LaTeXFeatures.C (getLanguages): STRCONV
9426         (getPackages): ditto
9427         (getMacros): ditto
9428         (getBabelOptions): ditto
9429         (getTClassPreamble): ditto
9430         (getLyXSGMLEntities): ditto
9431         (getIncludedFiles): ditto
9432
9433         * LaTeX.C: STRCONV
9434         (run): ditto
9435         (scanAuxFile): ditto
9436         (deplog): ditto
9437
9438         * LString.h: add the STRCONV macros
9439
9440         * BufferView_pimpl.C (savePosition): STRCONV
9441         (restorePosition): ditto
9442         (MenuInsertLyXFile): ditto
9443
9444         * vc-backend.C (scanMaster): change from submatch[...] to
9445         submatch.str(...)
9446
9447         * funcrequest.C: include config.h
9448
9449         * factory.C: include config.h
9450
9451         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9452
9453         * box.C: include config.h
9454
9455         * LaTeX.C (scanAuxFile): change from submatch[...] to
9456         submatch.str(...)
9457         (deplog): ditto
9458
9459 2002-10-25  Angus Leeming  <leeming@lyx.org>
9460
9461         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9462
9463         * ispell.[Ch] (setError): new method.
9464         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9465         Use setError() insetead of goto END.
9466
9467         * lyx_cb.C (AutoSave): move out child process into new class
9468         AutoSaveBuffer.
9469
9470 2002-10-30  John Levon  <levon@movementarian.org>
9471
9472         * text3.C: make start appendix undoable
9473
9474 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9475
9476         * lyxlength.C (inPixels): Fix returned value.
9477
9478         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9479         environment.
9480
9481 2002-10-24  Angus Leeming  <leeming@lyx.org>
9482
9483         * lyxgluelength.h: no need to forward declare BufferParams
9484         or BufferView, so don't.
9485
9486 2002-10-21  John Levon  <levon@movementarian.org>
9487
9488         * BufferView.C: menuUndo ->undo, redo
9489
9490         * BufferView.h: document, remove dead, make some methods private
9491
9492         * paragraph_funcs.h:
9493         * paragraph_funcs.C:
9494         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9495
9496         * buffer.h:
9497         * buffer.C:
9498         * sgml.h:
9499         * sgml.C: move sgml open/close tag into sgml.C
9500
9501         * bufferview_funcs.h: unused prototype
9502
9503         * lyxfunc.h:
9504         * lyxfunc.C: remove unused
9505
9506         * lyxtext.h:
9507         * text.C: remove unused
9508
9509 2002-10-21  John Levon  <levon@movementarian.org>
9510
9511         * BufferView.h:
9512         * BufferView.C:
9513         * BufferView_pimpl.h:
9514         * BufferView_pimpl.C: fix mouse wheel handling based on
9515           patch from Darren Freeman
9516
9517 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9520
9521 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9522
9523         * lyxlength.C (inPixels): Fix hanfling of negative length.
9524         Fix LyXLength::MU case.
9525
9526 2002-10-16  John Levon  <levon@movementarian.org>
9527
9528         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9529
9530 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9531
9532         * converter.C (view): add support for $$i (file name) and $$p
9533         (file path) for the viewer command. If $$i is not specified, then
9534         it is appended to the command (for compatibility with old syntax)
9535
9536 2002-10-14  Juergen Vigna  <jug@sad.it>
9537
9538         * undo_funcs.C (textHandleUndo): alter the order in which the
9539         new undopar is added to the LyXText, as we have to set first
9540         the right prev/next and then add it as otherwise the rebuild of
9541         LyXText is not correct. Also reset the cursor to the right paragraph,
9542         with this IMO we could remove the hack in "redoParagraphs()".
9543
9544 2002-10-09  Angus Leeming  <leeming@lyx.org>
9545
9546         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9547         to turn off an optimisation if a new inset is to be inserted.
9548
9549 2002-10-11 André Pönitz <poenitz@gmx.net>
9550
9551         * lyxtext.h: make some functions public to allow access
9552         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9553
9554 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9555
9556         * text3.C (dispatch): when changing layout, avoid an infinite loop
9557         [bug #652]
9558
9559 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9560
9561         * lyxrc.C (read): treat a viewer or converter command of "none" as
9562         if it were empty.
9563
9564         * MenuBackend.C (expandFormats): for an update, also allow the
9565         formats that are not viewable
9566
9567         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9568         script if it is newer than the lyxrc.defaults in user directory
9569
9570 2002-10-07 André Pönitz <poenitz@gmx.net>
9571
9572         * text.C: Vitaly Lipatov's small i18n fix
9573
9574 2002-09-25  Angus Leeming  <leeming@lyx.org>
9575
9576         * ispell.h: doxygen fix.
9577
9578 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9579
9580         * buffer.h (readFile): Add a new argument to the method, to allow
9581         reading of old-format templates.
9582
9583 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9584
9585         * toc.C (getTocList): Get TOC from InsetWrap.
9586
9587 2002-09-16  John Levon  <levon@movementarian.org>
9588
9589         * lyxfunc.C: check tabular for cut/copy too
9590
9591 2002-09-12  John Levon  <levon@movementarian.org>
9592
9593         * LyXAction.C: tidy
9594
9595         * factory.h:
9596         * factory.C: add header
9597
9598         * paragraph_funcs.h:
9599         * paragraph_funcs.C: cleanup
9600
9601 2002-09-11  John Levon  <levon@movementarian.org>
9602
9603         * PrinterParams.h: odd/even default to true
9604
9605 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9606
9607         * PrinterParams.h: update printer parameters for new xforms dialog
9608
9609 2002-09-11  Angus Leeming  <leeming@lyx.org>
9610
9611         * lyxserver.C (read_ready): re-write to make it more transparent
9612         and to make it work in coherent fashion under Tru64 Unix.
9613
9614 2002-09-11  André Pönitz <poenitz@gmx.net>
9615
9616         * commandtags.h:
9617         * LyXAction.C:
9618         * text3.C: implement LFUN_WORDSEL
9619
9620 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9621
9622         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9623         make floatlist_ a boost::shared_ptr<FloatList>
9624
9625         * lyxtextclass.C: include FloatList.h
9626         (LyXTextClass): initialize floatlist_
9627         (TextClassTags): add TC_NOFLOAT
9628         (Read): match "nofloat" to TC_NOFLOAT and use it.
9629         (readFloat): modify call to floatlist_
9630         (floats): ditto
9631         (floats): ditto
9632
9633         * FloatList.[Ch] (FloatList): remove commented out float
9634         initialization.
9635         (erase): new function
9636
9637 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9638
9639         * MenuBackend.C (expandToc): fix crash when there is no document
9640         open
9641
9642 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9643
9644         * many files: Add insetwrap.
9645
9646 2002-09-09  John Levon  <levon@movementarian.org>
9647
9648         * text2.C: remove confusing and awkward depth wraparound
9649
9650 2002-09-09  John Levon  <levon@movementarian.org>
9651
9652         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9653
9654         * buffer.h:
9655         * buffer.C: remove getIncludeonlyList()
9656
9657         * paragraph.C:
9658         * lyxfunc.C: remove headers
9659
9660 2002-09-09  Juergen Vigna  <jug@sad.it>
9661
9662         * text.C (getColumnNearX): fix form Michael this is most
9663         probably a cut&paste bug.
9664
9665 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9666
9667         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9668
9669         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9670         references, ws changes.
9671
9672         * text2.C (init): update counters after init
9673         (insertParagraph): no need to set counter on idividual paragraphs.
9674         (setCounter): access the counters object in the textclass object
9675         on in the buffer object.
9676         (updateCounters): ditto
9677
9678         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9679         shared_ptr<Counters> to avoid loading counters.h in all
9680         compilation units.
9681         (LyXTextClass): initialize ctrs_
9682         (TextClassTags): add TC_COUNTER, and ...
9683         (Read): use it here.
9684         (CounterTags): new tags
9685         (readCounter): new function
9686         (counters): new funtion
9687         (defaultLayoutName): return a const reference
9688
9689         * counters.C (Counters): remove contructor
9690         (newCounter): remove a couple of unneeded statements.
9691         (newCounter): simplify a bit.
9692         (numberLabel): some small formatting changes.
9693
9694         * buffer.[Ch]: remove all traces of counters, move the Counters
9695         object to the LyXTextClass.
9696
9697 2002-09-06  Alain Castera  <castera@in2p3.fr>
9698
9699         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9700         package to set the horizontal alignment on fixed width columns.
9701
9702         * lyx_sty.C:
9703         * lyx_sty.h: added tabularnewline macro def.
9704
9705         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9706
9707 2002-09-06  John Levon  <levon@movementarian.org>
9708
9709         * LyXAction.C: tooltips for sub/superscript
9710
9711         * MenuBackend.C: a bit more verbose
9712
9713         * lyxfunc.C: tiny clean
9714
9715         * undo_funcs.C: document undo_frozen
9716
9717 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9718
9719         * counters.C (Counters): add missing algorithm counter.
9720
9721         * text2.C (setCounter): lookup the counter with layouts latexname
9722         instead of by section number.
9723         (setCounter): use a hackish way to lookup the correct enum
9724         counter.
9725         a float name->type change
9726         reset enum couners with counter name directly instead of depth value.
9727
9728         * counters.C (Counters): remove the push_backs, change to use the
9729         float type not the float name.
9730         (labelItem): remove unused string, float name->type change
9731
9732         * counters.h: don't include vector, loose the enums and sects vectors
9733
9734 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9735
9736         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9737         (Read): add float->TC_FLOAT to textclassTags
9738         (Read): and handle it in the switch
9739         (readFloat): new function
9740
9741         * FloatList.C (FloatList): comment out the hardcoded float
9742         definitions.
9743
9744         * lyxlayout.h: ws change.
9745
9746 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9747
9748         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9749
9750 2002-09-03  Angus Leeming  <leeming@lyx.org>
9751
9752         * BufferView_pimpl.h: qualified name is not allowed in member
9753         declaration: WorkArea & Pimpl::workarea() const;
9754
9755         * factory.C: added using std::endl directive.
9756
9757         * text3.C: added using std::find and std::vector directives.
9758
9759 2002-08-29  André Pönitz <poenitz@gmx.net>
9760
9761         * lyxtext.h:
9762         * text2.C: remove unused member number_of_rows
9763
9764         * Makefile.am:
9765         * BufferView2.C: remove file, move contents to...
9766         * BufferView.C: ... here
9767
9768         * BufferView_pimpl.C:
9769         * factory.C: move more inset creation to factory
9770
9771         * vspace.C: avoid direct usage of LyXText, ws changes
9772
9773         * BufferView.[Ch]:
9774                 don't provide direct access to WorkArea, use two simple
9775                 acessors haveSelction() and workHeight() instead
9776
9777
9778 2002-08-29  John Levon  <levon@movementarian.org>
9779
9780         * BufferView_pimpl.C (dispatch): do not continue when
9781           no buffer
9782
9783 2002-08-28  André Pönitz <poenitz@gmx.net>
9784
9785         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9786
9787         * BufferView.h:
9788         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9789
9790 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9791
9792         * buffer.C: increment LYX_FORMAT to 221
9793
9794         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9795         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9796
9797         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9798
9799         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9800
9801 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9802
9803         * factory.C (createInset): use LyXTextClass::floats
9804
9805         * MenuBackend.C (expandFloatListInsert):
9806         (expandFloatInsert):
9807         (expandToc):
9808
9809         * text2.C (setCounter):
9810
9811         * LaTeXFeatures.C (useFloat):
9812         (getFloatDefinitions):
9813
9814         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9815
9816         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9817         floatlist_, with accessor floats().
9818
9819         * FloatList.h: remove global FloatList
9820
9821 2002-08-26  André Pönitz <poenitz@gmx.net>
9822
9823         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9824
9825         * BufferView.h:
9826         * BufferView2.C:
9827         * BufferView_pimpl.C:
9828         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9829
9830 2002-08-25  John Levon  <levon@movementarian.org>
9831
9832         * LyXAction.C: fix margin note description
9833
9834 2002-08-24  John Levon  <levon@movementarian.org>
9835
9836         * buffer.C:
9837         * bufferlist.C:
9838         * bufferview_funcs.C:
9839         * lyxfont.C:
9840         * undo_funcs.C: cleanups
9841
9842         * lyxfunc.C: disable CUT/COPY when no selection
9843
9844 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9845
9846         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9847         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9848
9849         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9850         Add backward compatibility to "mono", "gray" and "no".
9851
9852 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9853
9854         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9855         (and file_format >= 200).
9856
9857 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9858
9859         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9860
9861 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9862
9863         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9864
9865 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9866
9867         * BufferView_pimpl.C:
9868         * LyXAction.C:
9869         * buffer.C:
9870         * commandtags.h:
9871         * lyxfunc.C:
9872         * paragraph.[Ch]:
9873         * text2.C:
9874         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9875         inset and code to make it  work with the paragraph code. The inset
9876         can be anywhere in the paragraph, but will only do the expected
9877         thing in LaTeX if the layout file contains the parameter line
9878                         OptionalArgs    1
9879         (or more generally, a nonzero value) for that layout.
9880
9881 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9882
9883         * paragraph.h: remove the declaration of undefined counters class
9884         function.
9885
9886 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9887
9888         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9889         Dr. Richard Hawkins.
9890
9891 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * paragraph_funcs.h: remove some unneeded includes
9894
9895         * text.C (backspace): pasteParagraph now in global scipe
9896
9897         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9898         (pasteSelection): ditto
9899
9900         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9901         * paragraph_funcs.C (pasteParagraph): ... here
9902
9903 2002-08-20  André Pönitz <poenitz@gmx.net>
9904
9905         * commandtags.h: new LFUNs for swapping/copying table row/colums
9906
9907         * LyXAction.C:
9908         * lyxfunc.C: support for new lfuns
9909
9910 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9911
9912         * tabular.C:
9913         * buffer.[Ch]: remove NO_COMPABILITY stuff
9914
9915 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9916
9917         * boost.C (throw_exception): new file, with helper function for
9918         boost compiled without exceptions.
9919
9920         * paragraph.h:
9921         * lyxlength.C:
9922         * buffer.C:
9923         * ParameterStruct.h:
9924         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9925
9926         * bufferlist.C (emergencyWriteAll): use boost bind
9927
9928         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9929
9930         * text.C: include paragraph_funcs.h
9931         (breakParagraph): breakParagraph is now in global scope
9932
9933         * paragraph_funcs.[Ch]: new files
9934
9935         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9936         global scope
9937
9938         * buffer.C: include paragraph_funcs.h
9939         (insertStringAsLines): breakParagraph is now in global scope
9940
9941         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9942         paragraph_funcs.C
9943
9944         * CutAndPaste.C: include paragraph_funcs.h
9945         (cutSelection): breakParagraphConservative is now in global scope
9946         (pasteSelection): ditto
9947
9948         * buffer.h: declare oprator== and operator!= for
9949         Buffer::inset_iterator
9950
9951         * bufferlist.C (emergencyWrite): don't use fmt(...)
9952
9953         * text3.C: add using std::endl
9954
9955         * BufferView.C (moveCursorUpdate): remove default arg
9956
9957 2002-08-20  André Pönitz <poenitz@gmx.net>
9958
9959         * buffer.[Ch]: move inline functions to .C
9960
9961         * BufferView2.C:
9962         * BufferView_pimpl.C:
9963         * text.C:
9964         * buffer.[Ch]: use improved inset_iterator
9965
9966         * buffer.C:
9967         * paragraph.[Ch]: write one paragraph at a time
9968
9969 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9970
9971         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9972         style if style is not specified.
9973
9974 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9975
9976         * text2.C (setCounter): when searching for right label for a
9977         caption, make sure to recurse to parent insets (so that a caption
9978         in a minipage in a figure float works) (bug #568)
9979
9980 2002-08-20  André Pönitz <poenitz@gmx.net>
9981
9982         * text3.C: new file for LyXText::dispatch() and helpers
9983
9984         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9985
9986         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9987
9988 2002-08-19  André Pönitz <poenitz@gmx.net>
9989
9990         * lyxtext.h:
9991         * text.C: new LyXText::dispatch()
9992
9993         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9994
9995 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9996
9997         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9998
9999         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10000         Hebrew text.
10001
10002 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10003
10004         * Makefile.am: use $(variables) instead of @substitutions@
10005
10006 2002-08-15  André Pönitz <poenitz@gmx.net>
10007
10008         * lyxfunc.C:
10009         * BufferView_pimpl.C: streamlining mathed <-> outer world
10010         interaction
10011
10012         * commandtags.h:
10013         * LyXAction.C: remove unused LFUN_MATH
10014
10015 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10016
10017         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10018
10019 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10020
10021         * paragraph.C (Paragraph): reformat a bit
10022         (cutIntoMinibuffer): use builtin InsetList function instad of
10023         doing it manually.
10024         (getInset): ditto
10025
10026         * buffer.C: include boost/bind.hpp, add using std::for_each
10027         (writeFileAscii): use ParagraphList iterators
10028         (validate): use for_each for validate traversal of paragraphs
10029         (getBibkeyList): use ParagraphList iterators
10030         (resizeInsets): use for_each to resizeInsetsLyXText for all
10031         paragraphs.
10032         (getParFromID): use ParagraphList iterators
10033
10034         * BufferView2.C (lockInset): use paragraph list and iterators
10035
10036 2002-08-14  John Levon  <levon@movementarian.org>
10037
10038         * lyxserver.C: remove spurious xforms include
10039
10040 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10041
10042         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10043
10044 2002-08-13  André Pönitz <poenitz@gmx.net>
10045
10046         * LyXAction.[Ch]:
10047         * lyxfunc.C: further cleaning
10048
10049 2002-08-13  André Pönitz <poenitz@gmx.net>
10050
10051         * funcrequest.h: new constructor
10052
10053         * funcrequest.C: move stuff here from .h
10054
10055         * Makefile.am:
10056         * BufferView_pimpl.C:
10057         * LyXAction.C:
10058         * toc.C:
10059         * lyxfunc.C: subsequent changes
10060
10061         * lyxfunc.h: new view() member function
10062
10063         * lyxfunc.C: subsequent changes
10064
10065 2002-08-13  Angus Leeming  <leeming@lyx.org>
10066
10067         * BufferView2.C:
10068         * BufferView_pimpl.C:
10069         * buffer.C:
10070         * converter.C:
10071         * importer.C:
10072         * lyxfunc.C:
10073         * lyxvc.C:
10074         * toc.C:
10075         * vc-backend.C:
10076         changes due to the changed LyXView interface that now returns references
10077         to member variables not pointers.
10078
10079 2002-08-13  Angus Leeming  <leeming@lyx.org>
10080
10081         * WordLangTuple (word, lang_code): return references to strings,
10082         not strings.
10083
10084         * BufferView.h:
10085         * SpellBase.h:
10086         * lyxtext.h: forward-declare WordLangTuple.
10087
10088         * BufferView2.C:
10089         * ispell.C:
10090         * pspell.C:
10091         * text.C: #include "WordLangTuple.h".
10092
10093         * lyxtext.h:
10094         * text.C: (selectNextWordToSpellcheck): constify return type.
10095
10096 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10097
10098         * buffer.C:
10099         * buffer.h:
10100         * lyxtext.h:
10101         * paragraph.C:
10102         * paragraph_pimpl.h:
10103         * text.C:
10104         * text2.C:
10105         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10106         suggested by Angus.
10107         Made updateCounter always count from start of buffer, and removed
10108         second argument (par).
10109         Reverted floats number display to '#'. Perhaps I'll try again when the
10110         code base is sanitized a bit.
10111
10112 2002-08-12  Angus Leeming  <leeming@lyx.org>
10113
10114         * buffer.[Ch] (getLabelList): constify.
10115
10116 2002-08-07  André Pönitz <poenitz@gmx.net>
10117
10118         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10119
10120         * funcrequest.h: extension to keep mouse (x,y) position
10121
10122 2002-08-12  Juergen Vigna  <jug@sad.it>
10123
10124         * BufferView2.C (insertErrors): forbid undo when inserting error
10125         insets.
10126
10127         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10128
10129 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10130
10131         * ParagraphList.[Ch]: new files
10132
10133         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10134
10135         * BufferView2.C (lockInset): ParagraphList changes
10136         * toc.C: ditto
10137         * text2.C: ditto
10138         * bufferlist.C: ditto
10139         * buffer.h: ditto
10140         * buffer.C: ditto
10141
10142 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10143
10144         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10145         unused class variable counter_,
10146
10147         * paragraph.[Ch] (getFirstCounter): delete unused function
10148
10149         * counters.C: include LAssert.h
10150         (reset): add a new function with no arg, change other version to
10151         not have def. arg and to not allow empty arg.
10152
10153         * text2.C (setCounter): remove empty arg from call to Counters::reset
10154
10155 2002-08-11  John Levon  <levon@movementarian.org>
10156
10157         * Makefile.am: add WordLangTuple.h
10158
10159 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10160
10161         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10162         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10163
10164         * insets/insettext.C: InsetList changes
10165
10166         * graphics/GraphicsSupport.C (operator()): InsetList changes
10167
10168         * toc.C (getTocList): InsetList changes
10169
10170         * paragraph_pimpl.[Ch]: InsetList changes
10171
10172         * paragraph.[Ch]: InsetList changes
10173
10174         * buffer.C (inset_iterator): InsetList changes
10175         (setParagraph): ditto
10176         * buffer.h (inset_iterator): ditto
10177         * iterators.C (operator++): ditto
10178         * iterators.h: ditto
10179
10180         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10181
10182         * InsetList.[Ch]: new files, most InsetList handling moved out of
10183         paragraph.C.
10184
10185         * BufferView2.C (removeAutoInsets): InsetList changes
10186         (lockInset): ditto
10187         (ChangeInsets): ditto
10188
10189 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10190
10191         * paragraph_pimpl.h (empty): new function
10192
10193         * paragraph.[Ch] (empty): new function
10194
10195         * other files: use the new Paragraph::empty function
10196
10197 2002-08-09  John Levon  <levon@movementarian.org>
10198
10199         * lyxtext.h: remove unused refresh_height
10200
10201 2002-08-09  John Levon  <levon@movementarian.org>
10202
10203         * Makefile.am:
10204         * sgml.h:
10205         * sgml.C:
10206         * buffer.C:
10207         * paragraph.h:
10208         * paragraph.C: move sgml char escaping out of paragraph
10209
10210         * paragraph.h:
10211         * paragraph.C: remove id setter
10212
10213         * buffer.C:
10214         * paragraph.C:
10215         * paragraph_pimpl.C: remove dead tex_code_break_column
10216
10217         * bufferview_funcs.C: small cleanup
10218
10219         * lyxfunc.C: remove dead proto
10220
10221         * lyxtext.h: make some stuff private. Remove some dead stuff.
10222
10223         * lyxgluelength.C: make as[LyX]String() readable
10224
10225 2002-08-08  John Levon  <levon@movementarian.org>
10226
10227         * LyXAction.h:
10228         * LyXAction.C:
10229         * MenuBackend.C:
10230         * ToolbarDefaults.C:
10231         * lyxfunc.C:
10232         * lyxrc.C:
10233         * toc.C: lyxaction cleanup
10234
10235 2002-08-08  John Levon  <levon@movementarian.org>
10236
10237         * BufferView2.C: small cleanup
10238
10239         * lyxfind.h:
10240         * lyxfind.C: move unnecessary header into the .C
10241
10242 2002-08-08  John Levon  <levon@movementarian.org>
10243
10244         * funcrequest.h: just tedious nonsense
10245
10246         * lyx_main.h:
10247         * lyx_main.C: cleanups
10248
10249         * buffer.C:
10250         * vspace.C: remove dead header lyx_main.h
10251
10252 2002-08-07  Angus Leeming  <leeming@lyx.org>
10253
10254         * Paragraph.[Ch]:
10255         * paragraph_pimpl.h:
10256         Forward declare class Counters in paragraph.h by moving the ctrs member
10257         variable into Paragraph::Pimpl.
10258         (counters): new method, returning a reference to pimpl_->ctrs.
10259
10260         * text2.C: ensuing changes.
10261
10262 2002-08-07  John Levon  <levon@movementarian.org>
10263
10264         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10265
10266         * BufferView_pimpl.C: announce X selection on double/triple
10267           click
10268
10269         * lyx_main.C: use correct bool in batch dispatch
10270
10271         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10272
10273 2002-08-07  André Pönitz <poenitz@gmx.net>
10274
10275         * funcrequest.h: new class to wrap a kb_action and its argument
10276
10277         * BufferView.[Ch]:
10278         * BufferView_pimpl[Ch]:
10279         * LaTeX.C:
10280         * LyXAction.[Ch]:
10281         * lyxfunc.[Ch]:
10282         * lyxrc.C: subsequent changes
10283
10284
10285 2002-08-07  John Levon  <levon@movementarian.org>
10286
10287         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10288           document options change.
10289
10290 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10291
10292         * counters.[Ch]
10293         * text2.C
10294         * paragraph.[Ch]
10295         * makefile.am: move counters functionality over from
10296         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10297
10298 2002-08-06  John Levon  <levon@movementarian.org>
10299
10300         * WordLangTuple.h: new file for word + language code tuple
10301
10302         * SpellBase.h:
10303         * pspell.h:
10304         * pspell.C:
10305         * ispell.h:
10306         * ispell.C:
10307         * lyxtext.h:
10308         * text.C:
10309         * text2.C:
10310         * BufferView.h:
10311         * BufferView2.C: use WordLangTuple
10312
10313         * layout.h:
10314         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10315
10316 2002-08-06  John Levon  <levon@movementarian.org>
10317
10318         * lyx_main.C: fix cmdline batch handling
10319
10320 2002-08-06  André Pönitz <poenitz@gmx.net>
10321
10322         * lyxrc.C: set default for show_banner to true
10323
10324 2002-08-06  John Levon  <levon@movementarian.org>
10325
10326         * pspell.C: fix a crash, and allow new aspell to work
10327
10328 2002-08-06  John Levon  <levon@movementarian.org>
10329
10330         * lyxfunc.C:
10331         * kbmap.C: small cleanup
10332
10333         * vspace.h:
10334         * vspace.C: add const
10335
10336 2002-08-05  John Levon  <levon@movementarian.org>
10337
10338         * LyXAction.C: back to tabular-insert
10339
10340 2002-08-04  John Levon  <levon@movementarian.org>
10341
10342         * BufferView.h:
10343         * BufferView.C: cosmetic change
10344
10345         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10346
10347         * bufferlist.C:
10348         * buffer.h:
10349         * buffer.C:
10350         * lyxcb.h:
10351         * lyxcb.C:
10352         * lyxserver.C:
10353         * lyxvc.C:
10354         * vc-backend.C:
10355         * BufferView2.C: purge all "Lyx" not "LyX" strings
10356
10357         * lyxcursor.h:
10358         * lyxcursor.C: attempt to add some documentation
10359
10360         * lyxfunc.C:
10361         * commandtags.h:
10362         * LyXAction.C:
10363         * ToolbarDefaults.C:
10364         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10365           merge with LFUN_TABULAR_INSERT
10366
10367         * Makefile.am:
10368         * SpellBase.h:
10369         * ispell.h:
10370         * ispell.C:
10371         * pspell.h:
10372         * pspell.C: split up i/pspell implementations into separate
10373           files, many cleanups
10374
10375         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10376
10377         * text2.C: some cleanup
10378
10379         * lyxfunc.C: don't check for isp_command == "none" any more, it
10380           didn't make any sense
10381
10382 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10383
10384         * counters.[Ch]
10385         * text2.C
10386         * paragraph.[Ch]
10387         * makefile.am: move counters functionality over
10388         from text2.C/paragraph.[Ch] to counters.[Ch], and
10389         make proper C++.
10390 2002-08-02  John Levon  <levon@movementarian.org>
10391
10392         * buffer.C: s/lyxconvert/lyx2lyx/
10393
10394 2002-08-02  Angus Leeming  <leeming@lyx.org>
10395
10396         * lyxlex.C: revert John's change as it breaks reading of the user
10397         preamble.
10398
10399 2002-08-02  Angus Leeming  <leeming@lyx.org>
10400
10401         * importer.C (Import):
10402         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10403         changes due to LyXView::view() now returning a boost::shared_ptr.
10404
10405 2002-08-02  John Levon  <levon@movementarian.org>
10406
10407         * lyxlex.C: small cleanup
10408
10409 2002-08-02  John Levon  <levon@movementarian.org>
10410
10411         * text2.C (status): small cleanup, no logic change
10412
10413 2002-08-01  John Levon  <levon@movementarian.org>
10414
10415         * buffer.h:
10416         * buffer.C (writeFile): don't output alerts, caller
10417           handles this
10418
10419         * bufferlist.C:
10420         * lyx_cb.C: from above
10421
10422         * lyxfunc.C: allow to open non-existent files
10423
10424 2002-07-31  John Levon  <levon@movementarian.org>
10425
10426         * lyxserver.C: don't let incidental errors get
10427           in the way (errno)
10428
10429 2002-07-30  John Levon  <levon@movementarian.org>
10430
10431         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10432
10433 2002-07-30  John Levon  <levon@movementarian.org>
10434
10435         * lyxserver.h:
10436         * lyxserver.C: remove I/O callback too
10437
10438 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10441         log.
10442
10443 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10444
10445         * many files: strip,frontStrip -> trim,ltrim,rtrim
10446
10447 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10448
10449         * PrinterParams.h: remove extern containsOnly, and include
10450         support/lstrings.h instead.
10451
10452         * LaTeX.C (scanAuxFile): modify because of strip changes
10453         (deplog): ditto
10454         * buffer.C (makeLaTeXFile): ditto
10455         * bufferparams.C (writeFile): ditt
10456         * lyxfont.C (stateText): ditto
10457         * lyxserver.C (read_ready): ditto
10458         * vc-backend.C (scanMaster): ditto
10459
10460         * BufferView_pimpl.h: ws changes
10461
10462         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10463
10464 2002-07-26  André Pönitz <poenitz@gmx.net>
10465
10466         * kb_sequence.C: remove unnedred usings
10467
10468 2002-07-26  Juergen Vigna  <jug@sad.it>
10469
10470         * lyxfind.C (LyXReplace): we have to check better if the returned
10471         text is not of theLockingInset()->getLockingInset().
10472
10473 2002-07-25  Juergen Vigna  <jug@sad.it>
10474
10475         * lyxfind.C (LyXReplace): don't replace if we don't get the
10476         right LyXText.
10477
10478         * undo_funcs.C (createUndo): remove debugging code.
10479
10480 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10481
10482         * buffer.C (parseSingleLyXformat2Token): Use default placement
10483         when reading old floats.
10484
10485         * FloatList.C (FloatList): Change the default placement of figure
10486         and tables to "tbp".
10487
10488 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * MenuBackend.C: using std::max
10491
10492 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10493
10494         * MenuBackend.C (expandToc):
10495         (expandToc2): code moved from xforms menu frontend. It is now
10496         generic and TOCs are transparent to menu frontends.
10497
10498 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * toc.C (getTocList): protect against buf=0
10501
10502         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10503         Menu as first parameter. Now, this calls itself recursively to
10504         expand a whole tree (this will be useful for TOC handling)
10505         (expandFloatInsert): remove 'wide' version of floats
10506
10507         * MenuBackend.h (submenuname): returns the name of the submenu.
10508         (submenu): returns the submenu itself, provided it has been
10509         created by MenuBackend::expand
10510
10511 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10512
10513         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10514         insets which have noFontChange == true. (bug #172)
10515
10516 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * BufferView_pimpl.C: add connection objects and use them...
10519         (Pimpl): here.
10520
10521 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10522
10523         * MenuBackend.C (expandLastfiles):
10524         (expandDocuments):
10525         (expandFormats):
10526         (expandFloatListInsert):
10527         (expandFloatInsert):
10528         (expand): split expand in parts
10529
10530 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * lyx_gui.C: use lyx_gui::exit()
10533
10534 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * LyXAction.C: show the failing pseudo action
10537
10538 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10539
10540         * buffer.C (readFile): Run the lyxconvert script in order to read
10541         old files.
10542
10543 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10544
10545         * LyXAction.C:
10546         * commandtags.h:
10547         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10548
10549 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10550
10551         * LyXAction.C:
10552         * commandtags.h:
10553         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10554
10555 2002-07-22  Herbert Voss  <voss@lyx.org>
10556
10557         * lengthcommon.C:
10558         * lyxlength.[Ch]: add support for the vertical lengths
10559
10560 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * toc.[Ch]: std:: fixes
10563
10564 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10565
10566         * lyxrc.C: do not include lyx_main.h
10567
10568         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10569         for layouts
10570
10571         * lyxrc.C:
10572         * encoding.C:
10573         * bufferlist.C:
10574         * BufferView2.C: include "lyxlex.h"
10575
10576         * tabular.h:
10577         * bufferparams.h: do not #include "lyxlex.h"
10578
10579         * lyxtextclasslist.C (Add): remove method
10580         (classlist): renamed to classlist_
10581
10582         * paragraph_pimpl.C:
10583         * paragraph.C:
10584         * text2.C:
10585         * CutAndPaste.C:
10586         * bufferview_funcs.C:
10587         * bufferlist.C:
10588         * text.C:
10589         * LaTeXFeatures.C:
10590         * buffer.C:
10591         * toc.C (getTocList): use BufferParams::getLyXTextClass
10592
10593         * toc.C (getTocList): use InsetFloat::addToToc
10594
10595         * toc.[Ch]: new files, containing helper functions to handle table
10596         of contents
10597
10598         * lyxfunc.C (dispatch): no need to remove spaces around command
10599         given as a string
10600         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10601         first command of the sequence; it is not very clever, but I do not
10602         have a better idea, actually
10603
10604         * LyXAction.C (LookupFunc): make sure to remove space at the
10605         beginning and end of the command
10606
10607 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * MenuBackend.C (getMenubar): new method: return the menubar of
10610         this menu set
10611         (read): treat differently reading of menu and menubar (in
10612         particular, the menubar has no name now)
10613         (Menu::menubar): remove
10614
10615         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10616         saving is finished
10617
10618 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10621         a bibitem inset in a RTL paragraph.
10622
10623 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * paragraph_pimpl.C: constify
10626
10627         * BufferView_pimpl.C:
10628         * LaTeX.C:
10629         * lyxfunc.C: fix dispatch in a nicer way
10630
10631 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * lyxfunc.C (dispatch):
10634         * BufferView_pimpl.C:
10635         * BufferView_pimpl.h:
10636         * BufferView.C:
10637         * BufferView.h: rename Dispatch() to dispatch()
10638
10639         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10640
10641         * lyxlayout.C (Read): honor DependsOn tag
10642
10643         * lyxlayout.[Ch] (depends_on): new method
10644
10645         * version.C.in: update lyx_docversion
10646
10647         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10648
10649         * paragraph.C (validate): remove from here...
10650         * paragraph_pimpl.C (validate): ... and move here
10651         (isTextAt): make it const
10652
10653         * buffer.C (getLists): ws cleanup
10654
10655 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10656
10657         * language.C (read): Use iso8859-1 encoding in latex_lang
10658         (this prevents LyX from crashing when using iso10646-1 encoding).
10659
10660 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * text2.C (toggleInset): if cursor is inside an inset, close the
10663         inset and leave cursor _after_ it
10664
10665 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * lyxfunc.C: move minibuffer completion handling out of here
10668
10669 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * BufferView_pimpl.C:
10672         * LaTeX.C: fix dispatch calls
10673
10674 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10675
10676         * text.C (drawChars): Fix Arabic text rendering.
10677
10678 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10679
10680         * LyXAction.C:
10681         * commandtags.h:
10682         * lyxfunc.C: remove message-push/pop
10683
10684         * lyxserver.C:
10685         * lyxfunc.h:
10686         * lyxfunc.C: rationalise some code by removing verboseDispatch
10687           in favour of a bool argument to dispatch()
10688
10689 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10690
10691         * lyx_main.C (init): make sure to read symlinks as absolute paths
10692
10693 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * lyxfunc.h:
10696         * lyxfunc.C: no need for commandshortcut to be a member
10697
10698 2002-07-15  André Pönitz <poenitz@gmx.net>
10699
10700         * converter.C: add support for $$s (scripts from lib/scripts dir)
10701         * lyx_main.C: white space
10702
10703 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * bufferlist.C:
10706         * lyxrc.h:
10707         * lyxrc.C: remove second exit confirmation
10708
10709 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * BufferView.h:
10712         * BufferView.C:
10713         * BufferView2.C:
10714         * BufferView_pimpl.h:
10715         * BufferView_pimpl.C:
10716         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10717
10718 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * MenuBackend.C (expand): add numeric shortcuts to document menu
10721
10722         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10723
10724 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10725
10726         * lyxfont.C (setLyXFamily):
10727         (setLyXSeries):
10728         (setLyXShape):
10729         (setLyXSize):
10730         (setLyXMisc):
10731         (lyxRead):
10732         * debug.C (value):
10733         * buffer.C (asciiParagraph): use ascii_lowercase
10734
10735 2002-07-15  Mike Fabian  <mfabian@suse.de>
10736
10737         * lyxlex_pimpl.C (search_kw):
10738         * lyxlex.C (getLongString):
10739         * converter.h (operator<):
10740         * converter.C (operator<):
10741         * buffer.C (parseSingleLyXformat2Token):
10742         (asciiParagraph):
10743         * ToolbarDefaults.C (read):
10744         * MenuBackend.C (checkShortcuts):
10745         (read):
10746         * LColor.C (getFromGUIName):
10747         (getFromLyXName): use the compare_ascii_no_case instead of
10748         compare_no_case, because in turkish, 'i' is not the lowercase
10749         version of 'I', and thus turkish locale breaks parsing of tags.
10750
10751 2002-07-16  Angus Leeming  <leeming@lyx.org>
10752
10753         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10754         now takes a Buffer const & argument.
10755
10756 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * BufferView.C (resize): check there's a buffer to resize
10759
10760 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * lyxfunc.C: remove dead code
10763
10764         * lyxserver.h:
10765         * lyxserver.C: use lyx_guii::set_read_callback
10766
10767 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10768
10769         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10770         an inset in a RTL paragraph.
10771
10772 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10773
10774         * lyxfunc.C: repaint after a font size update
10775
10776 2002-07-15  André Pönitz <poenitz@gmx.net>
10777
10778         * lyxlength.C: inBP should be able to return negative values
10779
10780 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * lyxfunc.C: use lyx_gui::update_fonts()
10783
10784 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * lyxfunc.C: use lyx_gui::update_color()
10787
10788 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * bufferlist.C:
10791         * lyxfunc.h:
10792         * lyxfunc.C:
10793         * lyxrc.h:
10794         * lyxrc.C: remove file->new asks for name option, and let
10795           buffer-new take an argument
10796
10797 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10798
10799         * BufferView_pimpl.C: remove unneeded extra repaint()
10800
10801 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * LyXAction.C: allow command-sequence with NoBuffer
10804
10805         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10806
10807 2002-07-10  Angus Leeming  <leeming@lyx.org>
10808
10809         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10810
10811 2002-07-09  Angus Leeming  <leeming@lyx.org>
10812
10813         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10814
10815 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10816
10817         * lengthcommon.h: whitespace
10818
10819         * lyxfunc.C: update scrollbar after goto paragraph
10820
10821         * lyxtext.h: factor out page break drawing, and fix it so
10822           page break/added space paints as selected nicely
10823
10824 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * BufferView_pimpl.C: add FIXMEs, clean up a little
10827
10828 2002-07-09  André Pönitz <poenitz@gmx.net>
10829
10830         * lyxfont.[Ch]: support for wasy symbols
10831
10832 2002-07-08  André Pönitz <poenitz@gmx.net>
10833
10834         * BufferView_pimpl.C: apply John's patch for #93.
10835
10836 2002-07-05  Angus Leeming  <leeming@lyx.org>
10837
10838         * BufferView_pimpl.C (buffer): generate previews if desired.
10839
10840         * LColor.h: add "preview" to the color enum.
10841
10842         * LColor.C (LColor): add a corresponding entry to the items array.
10843
10844         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10845         with this buffer.
10846
10847 2002-07-05  Angus Leeming  <leeming@lyx.org>
10848
10849         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10850         The body of the code is now in the method that is passed an ostream &
10851         rather than a file name.
10852         Pass an additional only_preamble parameter, useful for the forthcoming
10853         preview stuff.
10854
10855 2002-07-03  André Pönitz <poenitz@gmx.net>
10856
10857         * lyxfunc.C: simplify getStatus() a bit for math stuff
10858
10859 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10860
10861         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10862
10863 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10864
10865         * text.C (changeRegionCase): do not change case of all the
10866         document when region ends at paragraph end (bug #461)
10867
10868 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10869
10870         * paragraph.C (startTeXParParams):
10871         (endTeXParParams): add \protect when necessary
10872
10873 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10874
10875         * BufferView_pimpl.C (workAreaExpose): remove warning
10876
10877 2002-06-27  Angus Leeming  <leeming@lyx.org>
10878
10879         * Makefile.am: add lyxlayout_ptr_fwd.h.
10880
10881 2002-06-26  André Pönitz <poenitz@gmx.net>
10882
10883         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10884
10885 2002-06-25  Angus Leeming  <leeming@lyx.org>
10886
10887         * lyxfunc.C (dispatch): Comment out the call to
10888         grfx::GCache::changeDisplay. The method no longer exists now that the
10889         pixmap generation part of the graphics loader has been moved into
10890         InsetGraphics.
10891
10892 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * text2.C: layout as layout
10895
10896         * text.C: layout as layout
10897
10898         * tabular.C (OldFormatRead): layout as layout
10899
10900         * paragraph_pimpl.C (TeXDeeper): layout as layout
10901         (realizeFont): layout as layout
10902
10903         * paragraph.C (writeFile): layout as layout
10904         (validate): layout as layout
10905         (getFont): layout as layout
10906         (getLabelFont): layout as layout
10907         (getLayoutFont): layout as layout
10908         (breakParagraph): layout as layout
10909         (stripLeadingSpaces): layout as layout
10910         (getEndLabel): layout as layout
10911         (getMaxDepthAfter): layout as layout
10912         (applyLayout): layout as layout
10913         (TeXOnePar): layout as layout
10914         (simpleTeXOnePar): layout as layout
10915         (TeXEnvironment): layout as layout
10916         (layout): layout as layout
10917         (layout): layout as layout
10918
10919         * lyxtextclass.C (compare_name): new functor to work with
10920         shared_ptr, layout as layout
10921         (Read): layout as layout
10922         (hasLayout): layout as layout
10923         (operator): layout as layout
10924         (delete_layout): layout as layout
10925         (defaultLayout): layout as layout
10926
10927         * lyxlayout_ptr_fwd.h: new file
10928
10929         * lyxlayout.C (Read): layout as layout
10930
10931         * lyx_cb.C (MenuInsertLabel): layout as layout
10932
10933         * bufferlist.C (newFile): layout as layout
10934
10935         * buffer.C (readLyXformat2): layout as layout
10936         (parseSingleLyXformat2Token): layout as layout
10937         (insertStringAsLines): layout as layout
10938         (asciiParagraph): layout as layout
10939         (latexParagraphs): layout as layout
10940         (makeLinuxDocFile): layout as layout
10941         (simpleLinuxDocOnePar): layout as layout
10942         (makeDocBookFile): layout as layout
10943         (simpleDocBookOnePar): layout as layout
10944         (getLists): layout as layout
10945
10946         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10947
10948         * CutAndPaste.C (cutSelection): layout as layout
10949         (pasteSelection): layout as layout
10950         (SwitchLayoutsBetweenClasses): layout as layout
10951
10952         * BufferView_pimpl.C (Dispatch): layout as layout
10953         (smartQuote): layout as layout
10954
10955         * BufferView2.C (unlockInset): layout as layout
10956
10957 2002-06-24  André Pönitz <poenitz@gmx.net>
10958
10959         * lyxfunc.C: fix #487
10960
10961 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * lyxrc.h:
10964         * lyxrc.C:
10965         * lyxfunc.C: remove display_shortcuts, show_banner
10966
10967 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * Buffer_pimpl.C: oops, update on resize
10970
10971 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * buffer.C:
10974         * converter.C:
10975         * exporter.C:
10976         * lyxfunc.C:
10977         * BufferView.h:
10978         * BufferView.C: use repaint()
10979
10980         * BufferView_pimpl.h:
10981         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10982           as it's a clearer description. Remove superfluous
10983           redraws.
10984
10985 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * text.C: fix bug 488. Not ideal, but getting
10988           getWord() to work properly for the insets that
10989           matter is more difficult ...
10990
10991 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * BufferView_pimpl.C:
10994         * LyXAction.C:
10995         * commandtags.h:
10996         * lyxfunc.C: remove the six million index lyxfuncs to just
10997           one, and DTRT (bug 458)
10998
10999 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * BufferView.h:
11002         * BufferView.C:
11003         * BufferView_pimpl.h:
11004         * BufferView_pimpl.C: clean up resize() stuff,
11005           and unnecessary updateScreen()s
11006
11007 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * BufferView.h:
11010         * BufferView.C:
11011         * BufferView_pimpl.h:
11012         * BufferView_pimpl.C:
11013         * lyxfind.h:
11014         * lyxfind.C:
11015         * minibuffer.C: remove focus management of workarea,
11016           not needed. Use screen's greyOut()
11017
11018 2002-06-17  Herbert Voss  <voss@lyx.org>
11019
11020         * converter.C: (convert) do not post a message, when converting
11021         fails, let the calling function decide what to do in this case
11022
11023 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11024
11025         * lyxfunc.C: tidy up a little
11026
11027 2002-06-16    <alstrup@diku.dk>
11028
11029         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11030         Got rid of FORMS_H_LOCATION include. Now we are
11031         GUII.
11032
11033 2002-06-15  LyX Development team  <lyx@rilke>
11034
11035         * buffer.[Ch] (sgmlOpenTag):
11036         (sgmlCloseTag): Added support for avoiding pernicious mixed
11037         content. Return number of lines written.
11038
11039         (makeLinuxDocFile):
11040         (makeDocBookFile): Fixed calls to sgml*Tag.
11041         Simple white space clean.
11042
11043         (simpleDocBookOnePar): Simple white space clean.
11044
11045         * tabular.[Ch] (docBook): Renamed to docbook and got another
11046         argument to related with the pernicious mixed content.
11047
11048         (docbookRow): Fixed calls for docbook inset method.
11049
11050 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11051
11052         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11053         so it's X11 independent.
11054
11055         * kb*.[Ch]: ditto.
11056
11057         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11058
11059 2002-06-15  Lyx Development team  <lyx@electronia>
11060
11061         * intl.h: Renamed getTrans to getTransManager.
11062
11063 2002-06-14  Angus Leeming  <leeming@lyx.org>
11064
11065         * Makefile.am: nuke forgotten stl_string_fwd.h.
11066
11067 2002-06-12  Angus Leeming  <leeming@lyx.org>
11068
11069         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11070
11071 2002-06-13  Angus Leeming  <leeming@lyx.org>
11072
11073         * LaTeX.C:
11074         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11075
11076 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11077
11078         * kbmap.C (getiso): add support for cyrillic and greek
11079
11080 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * BufferView.h:
11083         * BufferView.C:
11084         * BufferView_pimpl.h:
11085         * BufferView_pimpl.C: move bogus scrolling logic
11086           to xforms
11087
11088 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * lyxfunc.C:
11091         * BufferView_pimpl.C: view->resize() change
11092
11093 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * BufferView_pimpl.C: topCursorVisible
11096           prototype change
11097
11098 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11099
11100         * Makefile.am:
11101         * lyx_gui.h:
11102         * lyx_gui.C: move to frontends/
11103
11104         * main.C:
11105         * lyx_main.h:
11106         * lyx_main.C: changes from above
11107
11108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11109
11110         * intl.C:
11111         * intl.h:
11112         * kbmap.C:
11113         * kbsequence.C:
11114         * lyx_cb.C:
11115         * lyx_main.C: minor tidy
11116
11117 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * BufferView_pimpl.h:
11120         * BufferView_pimpl.C:
11121         * BufferView.h:
11122         * BufferView.C: make painter() const,
11123           remove dead code
11124
11125         * BufferView2.C: use screen() accessor
11126
11127         * lyx_main.h:
11128         * lyx_main.C: some minor cleanup
11129
11130 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11131
11132         * BufferView_pimpl.h:
11133         * BufferView_pimpl.C: remove enter/leaveView,
11134           use workHeight()
11135
11136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * BufferView.h:
11139         * BufferView.C:
11140         * BufferView2.C:
11141         * BufferView_pimpl.h:
11142         * BufferView_pimpl.C: only construct screen once,
11143           rename
11144
11145         * lyxrc.C: remove pointless comment
11146
11147 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * BufferView.h:
11150         * BufferView.C: remove active() and belowMouse()
11151
11152         * BufferView_pimpl.h:
11153         * BufferView_pimpl.C: use workarea() not workarea_,
11154           and make it use a scoped_ptr instead
11155
11156 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * lyx_gui.C: add debug message on BadWindow
11159
11160 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * sp_spell.C: fdopen is not part of the C++ standard.
11163
11164         * paragraph.C (InsetIterator): use >= instead of ==
11165
11166 2002-06-07  Angus Leeming  <leeming@lyx.org>
11167
11168         Fixes needed to compile with Compaq cxx 6.5.
11169         * BufferView_pimpl.C:
11170         * DepTable.C:
11171         * buffer.C:
11172         * converter.C:
11173         * encoding.C:
11174         * lyx_gui.C:
11175         * lyx_main.C:
11176         * lyxtextclasslist.C:
11177         * minibuffer.C:
11178         * sp_spell.C:
11179         * tabular_funcs.C:
11180         * vc-backend.C:
11181         all c-library variables have been moved into namespace std. Wrap
11182         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11183
11184         * lyxlength.C:
11185         * tabular-old.C:
11186         * tabular.C:
11187         Add a using std::abs declaration.
11188
11189         * kbmap.h (modifier_pair):
11190         * paragraph.h (InsetTable, InsetList):
11191         * lyxfont.h (FontBits):
11192         type definition made public.
11193
11194         * bufferlist.C (emergencyWriteAll): the compiler complains that
11195         there is more than one possible lyx::class_fun template to choose from.
11196         I re-named the void specialisation as lyx::void_class_fun.
11197
11198         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11199
11200         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11201         the compiler is is unable to find tostr in write_attribute.
11202
11203 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * buffer.C (sgmlError): hide #warning
11206
11207 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * xtl/*: get rid of xtl, which is not in use anyway
11210
11211         * LyXAction.C (init):
11212         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11213         were unimplemented xtl experimentation
11214
11215 2002-06-04  André Pönitz <poenitz@gmx.net>
11216
11217         * lyxfunc.C: disable array operation on simple formulae
11218
11219 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * converter.C: constify a bit
11222
11223 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * lyx_gui.C: check xforms version correctly
11226
11227 2002-04-30  Herbert Voss  <voss@lyx.org>
11228
11229         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11230         "keep" option
11231
11232 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11235           attempt to register it with a VCS)
11236
11237 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * lyx_main.C (init): honor variables LYX_DIR_13x and
11240         LYX_USERDIR_13x
11241
11242 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11243
11244         * buffer.h:
11245         * buffer.C:
11246         * lyx_main.C: fix a crash on bad command line,
11247           and give a useful exit status on error
11248
11249         * lyxfunc.C (doImport): allow -i lyx to work
11250
11251 2002-03-30  André Pönitz <poenitz@gmx.net>
11252
11253         * lyxfunc.C: mathed font changes
11254
11255 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * LaTeX.C:
11258         * importer.h:
11259         * importer.C:
11260         * lyx_sty.h:
11261         * lyx_sty.C:
11262         * lyxlex.C:
11263         * lyxrow.h:
11264         * lyxtext.h:
11265         * paragraph.h:
11266         * paragraph.C:
11267         * texrow.h:
11268         * texrow.C:
11269         * text.C:
11270         * trans_mgr.h: srcdocs, and some minor cleanups
11271
11272 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11273
11274         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11275         call getFont all the time)
11276
11277 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11278
11279         * switch from SigC signals to boost::signals
11280
11281 2002-05-29  André Pönitz <poenitz@gmx.net>
11282
11283         * paragraph_pimpl.C (getChar): don't call size() too often...
11284
11285 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * paragraph_pimpl.C (insertChar): do not try to update tables when
11288         appending (pos == size())
11289
11290         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11291         in order to reduce drastically the number of comparisons needed to
11292         parse a large document
11293
11294 2002-05-29  André Pönitz <poenitz@gmx.net>
11295
11296         * text.C:
11297         * text2.C:
11298         * lyxtextclass.C:
11299         * sp_pspell.h:
11300         * textclasslist.[Ch]:
11301         * sp_ispell.h: whitespace change
11302
11303 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11306         lyxaction directly now.
11307
11308 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * trans.C:
11311         * lyxfont.C:
11312         * lyxvc.C: remove unused headers
11313
11314 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11315
11316         * Makefile.am:
11317         * buffer.h:
11318         * undostack.h:
11319         * undostack.C:
11320         * undo_funcs.h:
11321         * undo_funcs.C: some cleanups. Use shared_ptr
11322           and a template for the undo stacks.
11323
11324 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * BufferView_pimpl.h:
11327         * BufferView_pimpl.C:
11328         * kbmap.h:
11329         * kbmap.C:
11330         * kbsequence.h:
11331         * kbsequence.C:
11332         * lyxfunc.h:
11333         * lyxfunc.C:
11334         * text2.C: use key_state/mouse_state
11335
11336 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11339         and LSubstring
11340
11341         * chset.C: change include order
11342         (loadFile): use boost regex and get rid of LRegex and LSubstring
11343
11344         * Makefile.am (BOOST_LIBS): new variable
11345         (lyx_LDADD): use it
11346
11347         * LaTeX.C: change include order.
11348         (scanAuxFile): use boost regex and get rid of LRegex and
11349         LSubstring
11350         (deplog): ditto
11351
11352 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * ColorHandler.h:
11355         * ColorHandler.C:
11356         * FontInfo.h:
11357         * FontInfo.C: moved to frontends/xforms/
11358
11359         * FontLoader.h:
11360         * FontLoader.C: moved into frontends for GUIIzation
11361
11362         * Makefile.am:
11363         * lyx_gui.C:
11364         * lyxfont.C:
11365         * lyxfunc.C: changes from above
11366
11367 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * LColor.C: remove spurious X include
11370
11371         * BufferView_pimpl.C:
11372         * Makefile.am:
11373         * font.h:
11374         * font.C:
11375         * text.C:
11376         * text2.C: move font metrics to frontends/
11377
11378 2002-05-24  Juergen Vigna  <jug@sad.it>
11379
11380         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11381         setting the undo_cursor.
11382
11383         * ParagraphParameters.h: include local includes first.
11384
11385 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * BufferView_pimpl.C:
11388         * BufferView_pimpl.h:
11389         * Makefile.am:
11390         * WorkArea.h:
11391         * WorkArea.C:
11392         * screen.C: move WorkArea into frontends/
11393
11394         * lyxscreen.h:
11395         * screen.C:
11396         * text.C:
11397         * BufferView.C:
11398         * BufferView2.C: move LyXScreen into frontends/
11399
11400         * lyxlookup.h:
11401         * lyxlookup.C:
11402         * lyx_gui.C: move lyxlookup into frontends/xforms/
11403
11404 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * BufferView2.C:
11407         * BufferView_pimpl.C:
11408         * FontLoader.C:
11409         * LyXView.h:
11410         * LyXView.C:
11411         * Makefile.am:
11412         * WorkArea.C:
11413         * XFormsView.h:
11414         * XFormsView.C:
11415         * buffer.C:
11416         * bufferlist.C:
11417         * bufferview_funcs.C:
11418         * converter.C:
11419         * importer.C:
11420         * lyx_cb.C:
11421         * lyx_gui.C:
11422         * lyx_main.C:
11423         * lyx_find.C:
11424         * lyxfunc.C:
11425         * lyxvc.C:
11426         * minibuffer.C:
11427         * text.C:
11428         * text2.C:
11429         * trans.C:
11430         * vc-backend.C: move LyX/XFormsView into frontends/
11431
11432 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * Makefile.am:
11435         * PainterBase.C:
11436         * PainterBase.h:
11437         * Painter.C:
11438         * Painter.h:
11439         * WorkArea.C:
11440         * WorkArea.h:
11441         * screen.C:
11442         * tabular.C:
11443         * text.C:
11444         * text2.C: move Painter to frontends/
11445
11446 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11447
11448         * buffer.C: comment out some some code that depend upon lyx_format
11449         < 220
11450
11451         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11452         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11453
11454         * buffer.h (NO_COMPABILITY): turn off compability
11455
11456         * ColorHandler.C: include scoped_array.hpp
11457
11458         * font.C: Use more specific smart_ptr header.
11459         * Painter.C: ditto
11460         * gettext.C: ditto
11461         * ShareContainer.h: ditto
11462         * lyx_main.h: ditto
11463         * kbmap.h: ditto
11464         * FontInfo.h: ditto
11465         * BufferView_pimpl.h: ditto
11466         * ColorHandler.h: ditto
11467
11468         * kbmap.C (defkey): change call to shared_ptr::reset
11469
11470 2002-05-21  Juergen Vigna  <jug@sad.it>
11471
11472         * buffer.C (insertErtContents): fix to insert ert asis if it is
11473         non empty. Skip it completely if it contains only whitespaces.
11474
11475 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * BufferView_pimpl.C:
11478         * BufferView2.C: clear selection on paste (bug 393)
11479
11480 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11481
11482         * DepTable.C: include ctime
11483
11484 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11485
11486         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11487
11488 2002-05-14  Juergen Vigna  <jug@sad.it>
11489
11490         * text.C (breakParagraph): fixed function to honor the keepempty
11491         layout in the right maner and also to permit the right breaking
11492         algorithm on empty or non empyt keepempty paragraphs.
11493
11494         * paragraph.C (breakParagraph): we have to check also if the par
11495         is really empty (!size()) for isempty otherwise we do the wrong
11496         paragraph break.
11497
11498 2002-05-10  Juergen Vigna  <jug@sad.it>
11499
11500         * buffer.[Ch] : The following are only changes to the ert
11501         compatibility read reading old LaTeX layout and font stuff and
11502         convert it to ERTInsets.
11503
11504         * buffer.h: added isErtInset().
11505
11506         * buffer.C (struct ErtComp): add a fromlayout bool to check
11507         if we're inside a LaTeX layout.
11508         (isErtInset): new helper function.
11509         (insertErtContents): look for other ert insets before this one
11510         and insert the contents there, so that we don't have subsequent
11511         ERT insets with nothing between them. This way we create only one
11512         inset with multiple paragraphs. Also check if we don't insert only
11513         spaces ' ' as they are ignored anyway afterwards in the .tex file
11514         so if we have only spaces we will ignore this latex part in the
11515         new file.
11516         (parseSingleLyXformat2Token \\layout): better compatibility when
11517         reading layout-latex stuff.
11518         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11519         language tag.
11520         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11521         stuff after reading the inset only get the information back from
11522         the stack.
11523
11524 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11525
11526         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11527
11528         * LaTeXFeatures.C (getBabelOptions): New method.
11529
11530 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * BufferView_pimpl.C (Dispatch): work around missing argument for
11533         'layout'
11534
11535 2002-05-08  Juergen Vigna  <jug@sad.it>
11536
11537         * text.C (leftMargin): handle paragraph leftindent.
11538
11539         * paragraph.C (writeFile): write the new \\leftindent tag.
11540         (validate): handle leftindent code.
11541         (TeXEnvironment): handle paragraphleftindent code again.
11542
11543         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11544
11545         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11546         for paragrap_extra indent code and new token \\leftindent.
11547         (latexParagraphs): handle the leftindent as environment.
11548
11549         * ParameterStruct.h: added leftindent support.
11550
11551         * ParagraphParameters.C (leftIndent): added support functions for
11552         the paragraph left indent.
11553
11554         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11555         more appropriate.
11556
11557 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11558
11559         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11560         inside insetERT.
11561
11562         * text.C (computeBidiTables): No bidi in insetERT.
11563
11564         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11565         in RTL documents.
11566
11567 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * version.C.in: pre 5
11570
11571 2002-05-02  José Matos  <jamatos@fep.up.pt>
11572         * buffer.C (makeDocBookFile): white space changes, add newline to
11573         command styles.
11574         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11575
11576         * tabular.C (docBook): fix typo.
11577
11578 2002-05-03  Juergen Vigna  <jug@sad.it>
11579
11580         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11581         change in LyXText as we can not be sure it was not freed.
11582         (drawOneRow): remove unused code.
11583
11584         * text.C (drawInset): redo the calculation of the need_break_row as
11585         it could have a row which was already freed.
11586         (draw): look at the return value of drawInset and return false if
11587         it also returned false.
11588         (paintRowText): look at the return value of draw and return false if
11589         it also returned false.
11590
11591         * lyxtext.h: added bool return type to drawInset() and draw() so that
11592         if we have a change in the row so that the rowbreak has to be redone
11593         we abort drawing as it will be called again.
11594
11595 2002-05-02  Juergen Vigna  <jug@sad.it>
11596
11597         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11598         a change in the maintext also if we're inside an inset.
11599         (Dispatch): set the cursor again after a break line and after the
11600         screen has been updated as it could be we're in a different row.
11601
11602         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11603         to set the cursor behind the pargraph with > size().
11604         (setCursor): check also for the same paragraph when checking where
11605         to put the cursor if we have a NFR inset.
11606
11607         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11608         parts of layout read further up as it still was in the wrong
11609         position.
11610
11611 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * screen.C (drawFromTo): change sine fullRebreak always return
11614         true.
11615
11616         * buffer.C (parseSingleLyXformat2Token): reindent some
11617
11618         * BufferView_pimpl.C (update): change since fullRebreak always
11619         return true.
11620         (Dispatch): git rid of the last hardcoded "Standard"s.
11621
11622 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * text2.[Ch] (fullRebreak): make it return void now that we always
11625         returned true.
11626
11627 2002-04-30  Juergen Vigna  <jug@sad.it>
11628
11629         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11630         ert compatibility check for "latex" layout.
11631
11632 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11633
11634         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11635         minipages: use col% instead of p%, and also use the current font.
11636         (makeLaTeXFile): Fix use babel condition.
11637         (parseSingleLyXformat2Token): Correct font when reading old floats.
11638
11639 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11640
11641         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11642         inserting list of floats.
11643
11644 2002-04-25  Herbert Voss  <voss@lyx.org>
11645
11646         * MenuBackend.C (expand): don't add the graphics extensions to the
11647         export menu
11648
11649 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11650
11651         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11652         non-existing layout, do not complain if it was the default layout
11653         of the original class (bug #342)
11654
11655 2002-04-24  Juergen Vigna  <jug@sad.it>
11656
11657         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11658         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11659
11660 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11661
11662         * buffer.C (getBibkeyList): If using \bibliography, return the
11663         option field with the reference itself. Enables us to provide natbib
11664         support when using \bibliography.
11665
11666 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11667
11668         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11669
11670         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11671         natbib is provided by the LaTeX class.
11672
11673 2002-04-23  Juergen Vigna  <jug@sad.it>
11674
11675         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11676         Wakeup functions.
11677
11678         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11679
11680 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11681
11682         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11683
11684         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11685         ensuremath around textordmasculine, textordfeminine and
11686         textdegree.
11687
11688 2002-04-19  Juergen Vigna  <jug@sad.it>
11689
11690         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11691         reinitializing the buffer otherwise row-dimensions may be wrong.
11692         (update): reset also the selection cursors if they do exits otherwise
11693         their x/y positions may be wrong.
11694
11695         * text2.C (cursorDown): don't enter the inset if we came from a row
11696         above and are one row over the inset.
11697
11698         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11699         really leaving an inset.
11700
11701 2002-04-18  Juergen Vigna  <jug@sad.it>
11702
11703         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11704         of the selected paragraph does not have the selected layout also if
11705         the last one had!
11706
11707         * text2.C (setLayout): fixed bug which did not change last selected
11708         paragraph.
11709
11710         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11711         changed the read and substituted \\end_float with \\end_inset!
11712
11713         * BufferView_pimpl.C (cursorPrevious):
11714         (cursorNext): fixed to make it work with rows heigher than the work
11715         area without moving the cursor only the draw of the row.
11716         (workAreaMotionNotify): fix jumping over high rows.
11717
11718 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11721         Ressler.
11722
11723 2002-04-16  Juergen Vigna  <jug@sad.it>
11724
11725         * text2.C (setCursor): set also the irow().
11726         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11727         (cursorUp):
11728         (cursorDown): support for locking an inset if the x_fix value goes
11729         inside it. That way I can transverse insets too with cursor up/down.
11730
11731         * lyxrow.h: added irow helper function same as other (i) functions.
11732
11733         * BufferView_pimpl.C (cursorPrevious):
11734         (cursorNext): fixed for insets!
11735
11736 2002-04-15  Juergen Vigna  <jug@sad.it>
11737
11738         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11739         position otherwise it is wrong in some cases.
11740
11741         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11742         inside the inset before the call.
11743
11744 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * buffer.[Ch] (getBibkeyList): make it const.
11747
11748 2002-04-12  Juergen Vigna  <jug@sad.it>
11749
11750         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11751
11752         * text2.C (getCursorX): new helper function
11753         (setCursor): compute also ix_
11754         (setCursorFromCoordinates): set also ix.
11755
11756         * lyxcursor.h: added ix_ and helper functions.
11757
11758         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11759
11760         * buffer.C (insertStringAsLines): dont break paragraph if the this
11761         paragraph is inside an inset which does not permit it!
11762
11763         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11764         also with no chars on this paragraph.
11765         (paintRowText): only paint stuff if it's inside the workarea!
11766
11767         * paragraph.C (breakParagraph): honor keepempty flag and break the
11768         paragraph always below not above.
11769
11770         * BufferView2.C (unlockInset): update the paragraph layout on inset
11771         unlock as we changed paragraph in such a case.
11772
11773         * lyxfind.C (LyXFind): clear the former selection if not found!
11774
11775         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11776         again called in insertChar().
11777
11778         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11779         an inset which uses the whole row!
11780         (rightMargin): ditto.
11781         (insertChar): force a rebreak if we inserted an inset!
11782
11783 2002-03-28  Herbert Voss  <voss@lyx.org>
11784
11785         * lyxlength.[Ch]: add inBP() to get the right PS-point
11786         units (BigPoint). With inPixels we have rounding errors
11787
11788 2002-04-11  Juergen Vigna  <jug@sad.it>
11789
11790         * text2.C (setCursorFromCoordinates): set iy to the right value.
11791         (setCursor): add check if row->previous exists!
11792
11793         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11794         an old float_type as this was the case in the old code!
11795
11796         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11797
11798         * BufferView2.C (showLockedInsetCursor): use iy
11799         (fitLockedInsetCursor): ditto
11800
11801         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11802         locked insets as there we have the right value now.
11803
11804         * lyxcursor.C: added iy_ variable and iy functions to set to the
11805         baseline of cursor-y of the locked inset.
11806
11807         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11808         (setCursor): fixed for insets which need a full row.
11809
11810         * text.C (rowLastPrintable): don't ignore the last space when before
11811         an inset which needs a full row.
11812         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11813         as last character of a row when before a inset which needs a full row.
11814
11815 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * version.C.in: update date
11818
11819         * text2.C (fullRebreak): try to always return true and see what
11820         happens...
11821
11822 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11823
11824         * MenuBackend.C (expand): use Floating::listName
11825
11826         * FloatList.C (FloatList): add listName argument to the built-in
11827         floats
11828
11829         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11830         text associated with the float.
11831
11832 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11835
11836 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * ShareContainer.h: add a couple of missing typenames.
11839
11840 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11841
11842         * lyxrc.C (getDescription): use _() correctly rather than N_().
11843
11844 2002-03-28  Herbert Voss  <voss@lyx.org>
11845
11846         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11847         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11848
11849 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11852         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11853
11854 2002-03-29  Juergen Vigna  <jug@sad.it>
11855
11856         * lyxfunc.C (dispatch): add a missing fitCursor call.
11857
11858         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11859         it was scrolled by a cursor move, so return the bool status.
11860
11861         * BufferView.C (fitCursor): return the bool flag also to the outside
11862         world as this is needed.
11863
11864         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11865
11866         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11867         call the edit() as it is not needed (and wrong) IMO.
11868         (workAreaButtonPress): set the screen_first variable before evt.
11869         unlock the inset as this may change screen_first and then we have
11870         a wrong y position for the click!
11871
11872 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11873
11874         * MenuBackend.C (expand): another translation that I missed
11875
11876 2002-03-28  Juergen Vigna  <jug@sad.it>
11877
11878         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11879
11880         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11881
11882 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11885
11886         * MenuBackend.C (expand): fix export/view/update when there is no
11887         document open.
11888
11889 2002-03-27  Herbert Voss  <voss@lyx.org>
11890
11891         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11892         and text%
11893
11894 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * bufferview_funcs.C (currentState): only show paragraph number
11897         for is DEVEL_VERSION is set.
11898
11899         * lyxfunc.C (dispatch): put warning in INFO channel
11900
11901         * MenuBackend.C (expand): translate the name of floats
11902
11903         * FloatList.C (FloatList): mark the float names for translation
11904
11905         * converter.C (convert): use LibScriptSearch
11906
11907 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11908
11909         * MenuBackend.C (defaults): fix default menu (we might as well get
11910         rid of it...)
11911
11912 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11915         directory.
11916
11917 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * lyxvc.C: reorder includes.
11920
11921 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11924           properly
11925
11926 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * CutAndPaste.C: change layouts earlier on paste
11929           to avoid crashing when calling getFont()
11930
11931 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11932
11933         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11934         irritating #error.
11935
11936 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * WorkArea.C: remove 'Pending' debug message.
11939
11940         * most files: ws cleanup
11941
11942         * buffer.[Ch]: ws changes
11943
11944         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11945
11946 2002-03-21  Juergen Vigna  <jug@sad.it>
11947
11948         * tabular.C (SetMultiColumn): collapse also the contents of the
11949         cells and set the last border right. Added a Buffer const * param.
11950
11951 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11954         linking or not.
11955
11956 2002-03-19  Juergen Vigna  <jug@sad.it>
11957
11958         * text2.C (clearSelection): reset also xsel_cache.
11959
11960         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11961         where it needs to be called (John tells us to do so too :)
11962         (selectionLost): reset sel_cache.
11963
11964         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11965
11966 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11967
11968         * text2.C (setCursorIntern): put debuging code in INSETS channel
11969
11970 2002-03-19  André Pönitz <poenitz@gmx.net>
11971
11972         * lyxfunc.C: tiny whitespace change
11973
11974 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * ToolbarDefaults.C (init):
11977         * LyXAction.C (init):
11978         * commandtags.h:
11979         * BufferView_pimpl.C (Dispatch):
11980         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11981
11982 2002-03-19  Allan Rae  <rae@lyx.org>
11983
11984         * exporter.C (Export): removeAutoInsets before doing anything else.
11985         While I've just introduced a dependency on BufferView this really is
11986         the best place to clean the buffer otherwise you need to cleanup in
11987         a dozen places before calling export or cleanup in a dozen functions
11988         that export calls.
11989
11990         * converter.C (runLaTeX):
11991         (scanLog): Better handling of removeAutoInsets and screen updates.
11992
11993         * lyxfunc.C (dispatch): small whitespace changes
11994
11995 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * WorkArea.C (C_WorkAreaEvent): return a value.
11998         (event_cb): return 1 if we handled the event, 0 otherwise.
11999
12000         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12001
12002 2002-03-18  Juergen Vigna  <jug@sad.it>
12003
12004         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12005         (GetAdditionalWidth): ditto.
12006         (RightLine): ditto.
12007         (LeftLine): ditto.
12008
12009         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12010         inset if we're there actually (probably not used right now but this
12011         is the direction to go for unifying code).
12012         (paste): disable code to clear the selection.
12013
12014         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12015         inside an InsetText and move the check further up as it is in the
12016         wrong place.
12017
12018         * text2.C (pasteSelection): set a selection over the pasted text.
12019
12020 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12021
12022         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12023         and libgraphics to build on Cygwin.
12024
12025 2002-03-15  Juergen Vigna  <jug@sad.it>
12026
12027         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12028         inserting an Inset into the paragraph. I know this is not the best
12029         fix but we already use current_view in CutAndPaste so we will remove
12030         all of it's using at the same time.
12031
12032         * buffer.C (sgmlError): deactivated function till it is rewritten in
12033         the right mode, now it can create problems.
12034
12035         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12036         before accessing it.
12037
12038 2002-03-14  Juergen Vigna  <jug@sad.it>
12039
12040         * undo_funcs.C (textHandleUndo): do the right thing when updating
12041         the inset after the undo/redo.
12042
12043         * text2.C (setCursor): just some testcode for #44 not ready yet.
12044
12045         * undo_funcs.C (textHandleUndo): set the next() and previous()
12046         pointers of the paragraph to 0 before deleting otherwise we have
12047         problems with the Paragraph::[destructor].
12048
12049         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12050         on a paragraph insertion.
12051
12052 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * buffer.C (asciiParagraph): use += operator for char append to
12055         string.
12056
12057         * paragraph.C (getFontSettings): compare >= not just >
12058         (highestFontInRange): ditto
12059         (setFont): ditto
12060
12061 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * paragraph.C: change several algorithm to be more appripriate for
12064         the problem domain. This is lookip in FontList and in the InsetList.
12065
12066 2002-03-13  André Pönitz <poenitz@gmx.net>
12067
12068         * commandtags.h:
12069         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12070
12071 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * commandtags.h:
12074         * LyXAction.C:
12075         * lyxfunc.C:
12076         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12077
12078 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * Painter.C (display): anon helper function, adjust code for this
12081         change.
12082         (pixmap): remove function.
12083
12084         * Painter.h: remove private display variable.
12085
12086         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12087
12088 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12089
12090         * WorkArea.[Ch]: remove figinset_canvas cruft.
12091
12092 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12093
12094         * lyxtextclass.C (operator): add one item cache optimization.
12095
12096         * bufferlist.h: doxy changes
12097
12098         * bufferlist.C: ws changes
12099
12100         * DepTable.[Ch] (ext_exist): place const in the right spot.
12101
12102         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12103         call resizeInsets.
12104         (workAreaExpose): call resizeInsets when the with BufferView changes.
12105         (Dispatch): adjust for protectedBlank removal
12106         (specialChar): call updateInset if the insert went ok.
12107
12108         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12109         specialChar instead.
12110
12111         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12112
12113         * BufferView.h: doxy change
12114
12115         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12116
12117         * lyxtextclass.C (operator[]): remove non-const version
12118         (defaultLayout): remove non-const version
12119
12120 2002-03-12  Juergen Vigna  <jug@sad.it>
12121
12122         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12123         did resize the LyXText too.
12124
12125         * buffer.C (readLyXformat2): set layout information on newly allocated
12126         paragraphs.
12127
12128         * tabular.C (OldFormatRead): set layout information on the paragraph.
12129
12130 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12131
12132         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12133
12134 2002-03-11  Juergen Vigna  <jug@sad.it>
12135
12136         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12137         plainly wrong.
12138         (resizeCurrentBuffer): force also the insets to resize themselfes.
12139         (moveCursorUpdate): fixed up for InsetText.
12140
12141 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12142
12143         * commandtags.h:
12144         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12145         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12146         value of Dialogs::tooltipsEnabled().
12147         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12148
12149 2002-03-08  Juergen Vigna  <jug@sad.it>
12150
12151         * BufferView_pimpl.C (updateInset): update inset inside inset also
12152         if it isn't inside theLockingInset().
12153
12154 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * buffer.C (asciiParagraph): redo some of the word and line length
12157         handling.
12158         (getLists): look for Caption instead of caption.
12159
12160 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12161
12162         * buffer.C (Buffer): initialize niceFile to true
12163         (makeLaTeXFile):
12164         (makeLinuxDocFile):
12165         (makeDocBookFile): make sure niceFile is true on exit
12166
12167 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12168
12169         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12170
12171 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12172
12173         * LyXSendto.C: remove.
12174         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12175         * lyx_gui.C: remove now-redundant comment.
12176         * ColorHandler.h: remove forward declaration of class WorkArea.
12177         * lyxfunc.C: remove #include "WorkArea.h".
12178
12179 2002-03-07  Juergen Vigna  <jug@sad.it>
12180
12181         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12182         got moved away with the DEPM and also set the inset_owner always
12183         right which before could have been omitted.
12184
12185 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12186
12187         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12188         wanted layout is not found.
12189
12190 2002-03-07  Juergen Vigna  <jug@sad.it>
12191
12192         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12193
12194 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12195
12196         * paragraph.C (breakParagraph): use default layout not layout of
12197         prev paragraph.
12198         (Paragraph): clear ParagraphParameters.
12199
12200 2002-03-06  Juergen Vigna  <jug@sad.it>
12201
12202         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12203         otherwise it would not be a valid lenght. Fixed a special case in
12204         the minipage compatibility read where we end the document with a
12205         minipage.
12206
12207         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12208         was set as it could be 0 for InsetTexts first entry.
12209
12210 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12211
12212         * paragraph.C (writeFile): if layout is empty write out
12213         defaultLayoutName().
12214
12215         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12216         file without named layout we set layout to defaultLayoutName().
12217
12218 2002-03-06  Juergen Vigna  <jug@sad.it>
12219
12220         * CutAndPaste.C (copySelection): set layout for new paragraph.
12221
12222         * text.C (prepareToPrint): leave ERT inset left aligned
12223         (leftMargin): don't indent paragraphs inside ERT insets
12224
12225 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * paragraph.C (breakParagraph): dont call clear do the work manually
12228
12229         * paragraph.[Ch] (clear): remove function
12230
12231 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * paragraph.C (Paragraph): dont call clear, the work has already
12234         been done.
12235
12236         * lyxtextclass.C (operator): assert if n is empty
12237
12238         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12239         work manually instead.
12240
12241 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * BufferView_pimpl.C: protect selectionLost against text == 0
12244
12245 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * text.C (breakParagraph): fix a setting layout to '0' problem.
12248
12249 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12250
12251         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12252         final location of file, for the included files, and graphics.
12253
12254 2002-03-05  Juergen Vigna  <jug@sad.it>
12255
12256         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12257
12258 2002-03-04  Juergen Vigna  <jug@sad.it>
12259
12260         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12261
12262         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12263         last column of multicolumn cells.
12264         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12265
12266 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12267
12268         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12269         file if it doesn't go to a temporary file.
12270
12271         * buffer.C (sgmlOpenTag):
12272         (sgmlCloseTag):  remove extra newline insertion.
12273
12274 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * text.C (getRowNearY): comment out debug msg
12277
12278 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * text2.C: first -> first_y
12281
12282         * text.C (getRowNearY): add some attemts at a possible
12283         optimization, not working.
12284
12285         * tabular.[Ch]: add BufferParams to several function so that newly
12286         created paragraph can be initialized to he default layotu for the
12287         buffers textclass.
12288
12289         * tabular-old.C (ReadOld): add buf->params to call of Init
12290
12291         * screen.C: rename text->first to text->first_y
12292
12293         * paragraph.C (breakParagraph): always set layout in the broken
12294         paragraph
12295
12296         * lyxtextclass.C (Read): remove lowercase
12297         (hasLayout): ditto
12298         (operator): ditto
12299         (delete_layout): ditto
12300
12301         * lyxtext.h: rename first -> first_y
12302
12303         * lyxlayout.C (Read): remove lowercase
12304         (name): ditto
12305         (setName): ditto
12306         (obsoleted_by): ditto
12307
12308         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12309
12310         * buffer.C (insertErtContents): add params are to InsetERT
12311         (parseSingleLyXformat2Token): add code to check if a paragraphs
12312         layout really exist.
12313         (parseSingleLyXformat2Token): add params to several inset
12314         constructors
12315         (asciiParagraph): remove lowercase, do the layout comparisons with
12316         no_case
12317
12318         * BufferView_pimpl.C (cursorNext): first -> first_y
12319         (resizeCurrentBuffer): first -> first_y
12320         (updateScrollbar): first -> first_y
12321         (scrollCB): first -> first_y
12322         (workAreaMotionNotify): first -> first_y
12323         (workAreaButtonPress): first -> first_y
12324         (checkInsetHit): first -> first_y
12325         (cursorPrevious): first -> first_y
12326         (cursorNext): first -> first_y
12327         (Dispatch): add buffer_->params to severl inset contructors
12328
12329 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12330
12331         * lyxlayout.C (Read): remove some debug info that I forgot.
12332
12333         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12334         clean up the code slightly.
12335         (makeLinuxDocFile): ditto
12336         (makeDocBookFile): ditto
12337
12338         * text2.C: layout as string
12339
12340         * text.C: layout as string
12341
12342         * paragraph_pimpl.C: layout as string
12343
12344         * paragraph.[Ch]: layout as string
12345
12346         * lyxtextclasslist.[Ch]: layout as string
12347
12348         * lyxtextclass.[Ch]: layout as string
12349
12350         * lyxtext.h: layout as string
12351
12352         * lyxlayout.[Ch]: layout as string
12353
12354         * lyx_cb.C: layout as string
12355
12356         * bufferview_funcs.C: layout as string
12357
12358         * bufferparams.C: layout as string
12359
12360         * buffer.C: layout as string
12361
12362         * LyXView.[Ch]: layout as string
12363
12364         * LaTeXFeatures.[Ch]: layout as string
12365
12366         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12367
12368         * BufferView_pimpl.C: change current_layout to string, remove
12369         lyx::layout_type.
12370         (Dispatch):
12371         (smartQuote):
12372         (insertInset):
12373         (workAreaButtonRelease): layout as string
12374
12375         * BufferView2.C (unlockInset): adjust
12376
12377         * vspace.C (asLatexCommand): use an explict temp variable.
12378
12379 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * Makefile.am: use FRONTEND_*
12382
12383 2002-03-01  Juergen Vigna  <jug@sad.it>
12384
12385         * tabular.C (SetWidthOfMulticolCell): changed to something better
12386         I hope but still work in progress.
12387         (recalculateMulticolumnsOfColumn): renamed function from
12388         recalculateMulticolCells as it is more appropriate now.
12389         (SetWidthOfCell): calculate multicols better.
12390
12391 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12392
12393         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12394
12395         * lyxfunc.C (processKeySym): print sequence also if it is
12396         `deleted' (complete)
12397
12398         * kbsequence.C (print): print sequence even if it is deleted
12399         (complete would be a better word, actually).
12400
12401         * lyxfunc.C (dispatch): print complete options after a prefix key
12402
12403         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12404
12405 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12406
12407         * text2.C (setCharFont): eliminate setCharFont code duplication.
12408
12409 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12412         LFUN_TABULAR_FEATURE (bug #177)
12413
12414 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12415
12416         * Makefile.am: remove figure.h
12417
12418 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12419
12420         * Bufferview_pimpl.C:
12421         * CutAndPasteC:
12422         * LaTeX.C:
12423         * LyXSendto.C:
12424         * buffer.C:
12425         * bufferlist.C:
12426         * converter.C:
12427         * language.C:
12428         * lyxfunc.C:
12429         * lyxvc.C:
12430         * paragraph.C:
12431         * text.C:
12432         * text2.C: remove #include "lyx_gui_misc.h".
12433
12434         * LaTeX.C: added #include <cstdio>
12435
12436 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12437
12438         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12439         that the paragraph following this one can have.
12440
12441         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12442
12443         * vspace.C (asLatexCommand): fix bogus gcc warning
12444
12445         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12446
12447 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12448
12449         * text2.C (setLayout): get rid of redundant code
12450
12451 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12452
12453         * text2.C (incDepth): make sure depth cannot be increased beyond
12454         reasonable values.
12455
12456 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12457
12458         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12459         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12460
12461         * PainterBase.h (image):
12462         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12463         a LyXImage const *.
12464
12465 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * BufferView.C:
12468         * BufferView.h:
12469         * BufferView_pimpl.C:
12470         * BufferView_pimpl.h:
12471         * LaTeXFeatures.C:
12472         * LyXAction.C:
12473         * LyXView.C:
12474         * Makefile.am:
12475         * UpdateList.h:
12476         * UpdateList.C:
12477         * buffer.C:
12478         * figure.h:
12479         * figureForm.C:
12480         * figureForm.h:
12481         * figure_form.C:
12482         * figure_form.h:
12483         * lyx_cb.C:
12484         * lyx_gui.C:
12485         * lyx_gui_misc.C:
12486         * lyxfunc.C:
12487         * sp_base.h:
12488         * sp_ispell.h:
12489         * sp_pspell.h:
12490         * sp_spell.C: remove fig inset, and the crap house of
12491           cards that follows it
12492
12493 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * Makefile.am:
12496         * lyxserver.C:
12497         * os2_defines.h:
12498         * os2_errortable.h:
12499         * nt_defines.h: move .h into support/
12500
12501         * vms_defines.h: remove
12502
12503         * WorkArea.C: add space in debug output
12504
12505         * text2.C:
12506         * paragraph.C:
12507         * buffer.C: add WITH_WARNINGS
12508
12509         * vc-backend.h:
12510         * vc-backend.C:
12511         * bufferlist.C: s/retrive/retrieve/, add docs
12512
12513         * vspace.h:
12514         * vspace.C:
12515         * kbmap.h:
12516         * lyxlength.h:
12517         * lyxgluelength.h:
12518         * length_common.h:
12519         * chset.h:
12520         * chset.C: add docs
12521
12522         * lyxgui.C: add ID to X error handler
12523
12524         * lyxtestclass.c: fix typo
12525
12526 2002-02-26  Juergen Vigna  <jug@sad.it>
12527
12528         * tabular_funcs.C (write_attribute): changed so that some default
12529         attributes are not written at all.
12530         (getTokenValue): set default values before trying to read the
12531         value so we have the return value always set as default if we don't
12532         find the token we search for.
12533
12534         * tabular.C (Write): write bools as bools not as strings!
12535
12536 2002-02-22  Juergen Vigna  <jug@sad.it>
12537
12538         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12539         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12540
12541         * text.C (leftMargin): don't add an indent for paragraphs inside
12542         tabular cells (fix #208).
12543
12544 2002-02-21  José Matos  <jamatos@fep.up.pt>
12545
12546         * tabular.C (docBook): fixed support for long tables.
12547
12548 2002-02-20  Juergen Vigna  <jug@sad.it>
12549
12550         * text2.C (getFont): get the drawing font of the Inset if this
12551         paragraph is inside an inset (only important for InsetERT for now).
12552
12553         * buffer.C (insertErtContents): use new lanugage params in ERT
12554         constructor.
12555
12556         * CutAndPaste.C: commenting out seemingly uneeded code.
12557
12558 2002-02-19  Allan Rae  <rae@lyx.org>
12559
12560         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12561         Iterators might be simple to use but they also get invalidated.
12562         (removeAutoInsets): renamed saved cursor tracking variables and added
12563         some comments to clarify what everything does.
12564
12565 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12566
12567         * Chktex.C:
12568         * LaTeX.C:
12569         * LyXSendto.C:
12570         * converter.C:
12571         * lyx_cb.C:
12572         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12573         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12574
12575         * lyxfunc.C:
12576         * vc-backend.h: remove #include "support/syscall.h"
12577
12578         * LaTeX.C:
12579         * LyXSendto.C:
12580         * converter.C: rearrange #includes in Lars' approved fashion.
12581
12582         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12583         forward declare class Timeout in the header file.
12584
12585         * XFormsView.C: changes due to the above.
12586
12587         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12588         similar to LyXView.
12589
12590         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12591         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12592
12593 2002-02-18  José Matos  <jamatos@fep.up.pt>
12594
12595         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12596         insets contents.
12597
12598 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12599
12600         * a lot of small ws changes
12601         * add a lot of using std::XXX
12602         * use std construcs some places where approp.
12603         * use some exisint stuff from lyxfunctional where approp.
12604         * Make file changes to use partial linking (lets test this now...)
12605
12606 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12607
12608         * Chktex.C:
12609         * buffer.C:
12610         remove #include "support/syscontr.h" as it's redundant. Always has been.
12611
12612         * Chktex.C:
12613         * LaTeX.C:
12614         * LyXSendto.C:
12615         * converter.C:
12616         * lyx_cb.C:
12617         * vc-backend.C:
12618         change Systemcalls::System to Systemcalls::Wait and
12619         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12620         No change of functionality, just reflects the stripped down Systemcalls
12621         class.
12622
12623 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12624
12625         * debug.[Ch]: add a GRAPHICS type to the enum.
12626
12627 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12628
12629         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12630
12631         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12632         there is an inset.
12633
12634 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12635
12636         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12637         match the changes below.
12638
12639         * text2.C (toggleInset): if there is not editable inset at cursor
12640         position, try to see if cursor is _inside_ a collapsable inset
12641         and close it.
12642
12643 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12644
12645         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12646         document menu has a nice checkbox
12647
12648 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12649
12650         * lyxlength.C (asLatexString): change PW to output as percent of
12651         \textwidth.
12652
12653         * lengthcommon.C: change '%' to 't%'
12654
12655         * lyxfunc.C (dispatch): a few comments from Martin
12656
12657 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * WorkArea.h:
12660         * WorkArea.C:
12661         * BufferView_pimpl.h:
12662         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12663           the X selection.
12664
12665 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12666
12667         * vspace.C (inPixels): fix compiler warning
12668
12669 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * lyxfunc.C (getStatus): fix status message for disabled commands.
12672
12673 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12674
12675         * BufferView_pimpl.C: fix crash on close buffer
12676         during selection (#227)
12677
12678 2002-01-27  Herbert Voss  <voss@lyx.org>
12679
12680         * buffer.C: link old Figure to new graphic inset
12681
12682 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12683
12684         * FontLoader.C (getFontinfo): Change the latex font names in order
12685         to match the names of type1inst.
12686
12687 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12690
12691         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12692         (extchanged): ditto
12693         (ext_exist): ditto
12694         (remove_files_with_extension): ditto
12695         (remove_file): ditto
12696         (write): ditto
12697
12698         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12699         document is smaller than the work area height. Do not initialize
12700         static variables to 0.
12701
12702 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12703
12704         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12705
12706         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12707         LFUN_LAYOUT_PARAGRAPHS.
12708
12709         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12710         tabular. It is possible to provide a possible cell, which will
12711         typically be the actcell from the corresponding insettabular
12712
12713         * lyxfunc.C (getStatus): small cleanup; disable
12714         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12715         true
12716
12717 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12718
12719         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12720
12721         * paragraph.C (startTeXParParams):
12722         (endTeXParParams): new methods. The LaTeX code to
12723         start/end paragraph formatting
12724         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12725         empty (fixes bug #200)
12726
12727         * vspace.C (inPixels): adapt to the change below
12728         (inPixels): [later] more cleanups (remove unused variables)
12729
12730         * lyxlength.C (inPixels): change to use a width and a height as
12731         parameter.
12732
12733 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12734
12735         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12736         Replaced with \paperwidth
12737
12738         * DepTable.C (insert): add std:: qualifier
12739
12740 2002-01-18  Allan Rae  <rae@lyx.org>
12741
12742         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12743         updated also?
12744
12745         * text.C (drawInset): Turned out I didn't know enough about how
12746         rebreaking worked.  This fixes most of the redraw problems.  I see
12747         an occasional cursor trail when a line is broken now and the cursor
12748         placement can seem out by a few pixels also after a rebreak.
12749
12750 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * buffer.C (parseSingleLyXformat2Token): update because minipage
12753         width is now a LyXLength
12754
12755         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12756
12757         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12758         math insets
12759
12760 2002-01-17  Juergen Vigna  <jug@sad.it>
12761
12762         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12763
12764         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12765         is set correctly and the inset is updated correctly.
12766
12767 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12768
12769         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12770         the beginning of the loop.
12771
12772 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12773
12774         * lyxrc.C: improve help for use_scalable_fonts
12775
12776 2002-01-17  Allan Rae  <rae@lyx.org>
12777
12778         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12779
12780 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12781
12782         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12783         make sure to set their inset_owner to the right value (bug #171)
12784
12785 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12786
12787         * DepTable.h
12788         * DepTable.C: Implement mtime checking to reduce time spent doing
12789         CRCs.
12790
12791 2002-01-16  Juergen Vigna  <jug@sad.it>
12792
12793         * tabular.C (GetAdditionalHeight): one of error fixed.
12794
12795         * lyxrc.C (output): small fix in writing use_pspell.
12796
12797 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12798
12799         * sp_base.h: #include LString.h
12800
12801 2002-01-16  Allan Rae  <rae@lyx.org>
12802
12803         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12804         Can someone check this please?
12805
12806         * text.C (drawInset): It was possible that p.row would be removed by
12807         breakAgainOneRow upsetting a few other settings.  There may be another
12808         small tweak possible by setting need_break_row = 0 when p.row has been
12809         removed but I don't know enough about the logic here.
12810
12811 2002-01-15  Allan Rae  <rae@lyx.org>
12812
12813         * text.C (insertChar): removed conditional truism.
12814
12815         * BufferView2.C (removeAutoInsets): More tweaks.
12816         cur_par_prev could be a stray pointer.  Check for trailing empty line
12817         in case last line was cur_par and only had an error inset on it.
12818
12819 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12820
12821         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12822         absolute
12823
12824         * vc-backend.C (most methods):
12825         * exporter.C (Export):
12826         * converter.C (convert):
12827         (runLaTeX):
12828         * LyXSendto.C (SendtoApplyCB):
12829         * lyxfunc.C (dispatch):
12830         (menuNew):
12831         (open):
12832         (doImport):
12833         * lyx_cb.C (AutoSave):
12834         (InsertAsciiFile):
12835         * BufferView_pimpl.C (MenuInsertLyXFile):
12836         * buffer.C (runChktex): use Buffer::filePath().
12837
12838         * buffer.h: rename filename to filename_; rename filepath to
12839         filepath_ and make it private
12840         (filePath): new method
12841
12842         * buffer.C (writeFile): use fileName()
12843         (getLatexName):
12844
12845         * lyx_main.C (init): fix starting  of LyX when the binary is a
12846         link from so,ewhere else.
12847
12848         * minibuffer.C: include <cctype> for isprint
12849
12850 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12851
12852         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12853         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12854         name clash with InsetCollapsable's width function.
12855
12856 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * lastfiles.C: include <iterator>
12859
12860 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12861
12862         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12863         std::count.
12864
12865         * buffer.C (makeLaTeXFile): ditto.
12866         Also make loop operation more transparent.
12867
12868 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12869
12870         * ToolbarDefaults.C: remove trailing comma closing namespace.
12871
12872         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12873
12874         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12875         as in WorkArea.
12876
12877         * trans.C (Load): comment out unused variable, allowed.
12878
12879 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * minibuffer.[Ch] (append_char): new method to recieve input from the
12882         drop-down completion browser. If a key was pressed, then recieve this
12883         char and append it to the existing string.
12884         (peek_event): modify the positioning data passed to the completion
12885         browser so that it can be placed above the minibuffer rather than below.
12886 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * LyXAction.C (init): alloe error-next for readonly documents.
12889
12890         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12891         count.
12892
12893 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12894
12895         * bufferlist.C (readFile): create the buffer _after_ checking that
12896         the file exists.
12897
12898         * lyxfunc.C (verboseDispatch): fix handling of arguments
12899
12900         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12901
12902         * lyxrc.C: use string::erase() instead of initializing to "".
12903
12904
12905 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * BufferView_pimpl.h:
12908         * BufferView_pimpl.C:
12909         * WorkArea.h:
12910         * WorkArea.C:
12911         * text2.C: tell X when we have made a selection for copying
12912
12913 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * BufferView_pimpl.C (MenuInsertLyXFile):
12916         * lyxfunc.C (menuNew):
12917         (open):
12918         (doImport): add shortcuts to directory buttons
12919
12920         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12921         open a float)
12922
12923         * lyxfunc.C (setStatusMessage):
12924         (getStatusMessage): new methods
12925         (getStatus):use setStatusMessage instead of setErrorMessage
12926         (dispatch): when function is disabled, set error message here
12927         [instead of in getStatus previously]
12928
12929         * BufferView_pimpl.C (workAreaButtonRelease): update
12930         toolbar/menubar here too.
12931
12932 2002-01-13  Allan Rae  <rae@lyx.org>
12933
12934         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12935         Now seems indestructible.  Remaining task is to audit all other
12936         code affected by deleteEmptyParagraphMechanism.  One small quirk
12937         left is that an empty document with an error in the preamble can
12938         be made to report an error but no error box appears.  I don't know
12939         where it goes.
12940         (removeAutoInsets): Improved comments.
12941
12942 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * Thesaurus.h:
12945         * Thesaurus.C: update for Aiksaurus 0.14
12946
12947 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * text2.C (firstParagraph): removed member function, all uses
12950         replaces with ownerParagraph
12951         (redoParagraphs): here
12952         (updateInset): here
12953         (toggleAppendix): here
12954         * BufferView2.C (insertErrors): here
12955         (setCursorFromRow): here
12956
12957 2002-01-13  Allan Rae  <rae@lyx.org>
12958
12959         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12960         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12961         There is still a way to segfault this although you may have to do this
12962         multiple times: Have an InsetERT with an unknown command in it.
12963         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12964         <down-arrow>, <Enter> again, View->DVI, BANG!
12965
12966         * text2.C (setCursor):
12967         (deleteEmptyParagraphMechanism):
12968         * lyxtext.h (setCursor):
12969         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12970         Making use of the return value may help fix other bugs.
12971
12972 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12973
12974         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12975
12976         * LyXView.C (updateMenubar): call MenuBar::update here
12977         (updateToolbar): but not here
12978         (showState): do not update toolbar/menubar
12979
12980         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12981         should need to care about that.
12982
12983         * lyxfunc.C (verboseDispatch): simplify a bit
12984         (getStatus): have a version which takes a pseudoaction, and
12985         another which requires a (kb_action,string).
12986
12987         * LyXAction.C (retrieveActionArg): make it work also when action
12988         is not a pseudo-action.
12989         (getActionName): simplify a bit
12990         (helpText):
12991
12992 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12993
12994         * lyxfunc.C (verboseDispatch): new families of methods with
12995         several ways to specify a command and a bool to indicate whether
12996         the command name and shortcut should be displayed in minibuffer
12997         (eventually, we could extend that to a finer bitmask like
12998         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12999         (dispatch): the pristine dispatch command which just, well,
13000         dispatchs! Note it still sets its result to minibuffer; I'm not
13001         sure we want that.
13002
13003         * lyxfunc.h: remove setHintMessage
13004
13005         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13006
13007 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13008
13009         * BufferView_pimpl.C (specialChar): delete new inset if we have
13010         not been able to insert it.
13011
13012         * kbmap.C: revert to using int instead of kb_action, since all we
13013         are dealing with is pseudo-actions.
13014
13015         * LyXAction.C (searchActionArg): change to return int instead of
13016         kb_action, since the result is a pseudoaction.
13017
13018 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13019
13020         * buffer.C (insertErtContents): Fix (partially) the font bug.
13021
13022 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13023
13024         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13025         as the other one is broken on my machine!
13026
13027 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13028
13029         * commandtags.h:
13030         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13031
13032 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13033
13034         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13035         reflect their actual use. Provide compatibility code for older lyxrc
13036         files.
13037
13038         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13039         FL_NORMAL_STYLE.
13040         change names of popup font variables in line with the changes to lyxrc.C
13041
13042 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13043
13044         * buffer.C (asciiParagraph): avoid outputing a word twice after
13045         an inset.
13046
13047         * lyxrc.C (getDescription): document that document_path and
13048         template_path can be empty.
13049
13050 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13051
13052         * LaTeXFeatures.C (getMacros):
13053         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13054
13055         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13056
13057         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13058         getPackages.
13059         (getPackages): rename feature "floats" to "float". Use an array to
13060         iterate over 'simple' features (i.e. just a \usepackage). Add
13061         handling of "amsmath" (renamed from "amsstyle").
13062
13063 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13064
13065         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13066         features list.
13067
13068 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13069
13070         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13071         FuncStaus::FuncStatus & FuncStaus::some_method().
13072
13073 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13074
13075         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13076         of the func_satus stuff. Edited and massaged in various ways by
13077         JMarc.
13078
13079         * lyxfunc.C (getStatus): use FuncStatus
13080
13081 2002-01-08  Juergen Vigna  <jug@sad.it>
13082
13083         * text.C (nextBreakPoint): use function Inset::isChar().
13084
13085         * paragraph.C (TeXOnePar): use function
13086         Inset::forceDefaultParagraphs.
13087
13088         * buffer.C (latexParagraphs): use function
13089         Inset::forceDefaultParagraphs.
13090
13091 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13092
13093         * lyx_gui.C (init): set the style of the menu popups to
13094         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13095
13096 2002-01-07  Juergen Vigna  <jug@sad.it>
13097
13098         * text.C (setHeightOfRow): small fix
13099         (prepareToPrint): don't look at alignment if we don't have the place
13100         for doing it.
13101
13102 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13103
13104         * box.C: New file. Move the Box methods and functions out of box.h,
13105         following Lars' suggestion.
13106
13107 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13108
13109         * box.h: #include "support/LOstream.h", needed for inlined function.
13110
13111         * lyxtextclass.C:
13112         * lyxtextclasslist.C: added some using std declarations.
13113
13114 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13115
13116         * box.h: make signed dimensions to allow insets wider than
13117           the screen (bug #162)
13118
13119         * BufferView_pimpl.C: add some insetHit debug
13120
13121 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13122
13123         * vc-backend.C: add FIXME
13124
13125 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13126
13127         * lyxfunc.C (getStatus): enable code for showing math font status
13128         in toolbar/menu.
13129
13130 2002-01-07  Juergen Vigna  <jug@sad.it>
13131
13132         * text.C (nextBreakPoint): removed debug output not needed anymore.
13133
13134 2002-01-06  Juergen Vigna  <jug@sad.it>
13135
13136         * text.C (nextBreakPoint): fixed up this function we had this bug
13137         since ever but now hopefully we break row better.
13138         (insertChar): we have to check if an inset is the next char as it
13139         could now happen that a large inset is causing a break.
13140
13141 2002-01-05  Juergen Vigna  <jug@sad.it>
13142
13143         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13144         if it doesn't like to be drawed.
13145
13146 2002-01-04  Juergen Vigna  <jug@sad.it>
13147
13148         * BufferView2.C (lockInset): forgot to set a cursor.
13149
13150         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13151
13152 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13153
13154         * FormMathsPanel.C:
13155         * FormMathsPanel.h
13156         * MathsSymbols.C:
13157         * form_maths_panel.C:
13158         * form_maths_panel.h:
13159         * form_maths_panel.fd: implemented sub- and super- buttons in math
13160         panel.
13161
13162         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13163         (or ^ space) to be used as in TeX (req'd by André).
13164
13165         * lyxfunc.C: Allow ^ and _ again to be used both as
13166         super/subscript (mathed) and as themselves (in text).
13167
13168 2002-01-03  Allan Rae  <rae@lyx.org>
13169
13170         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13171         "LyX" or the filename of the current buffer if it has one.  This is a
13172         modified form of John Levon's patch.
13173
13174         * XFormsView.C (setWindowTitle): also set icon title.
13175
13176         * LyXView.h (setWindowTitle): signature changed.
13177         * XFormsView.h (setWindowTitle): ditto.
13178
13179 2002-01-02  Juergen Vigna  <jug@sad.it>
13180
13181         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13182
13183 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13184
13185         * screen.C (topCursorVisible): introduce a temp var for
13186         text->cursor.row(), handle the case where this row is null. (kindo
13187         hachish)
13188
13189         * text2.C (setCursor): add a couple of asserts.
13190
13191         * paragraph.h (inset_iterator): add -> operator
13192
13193         * paragraph.[Ch] (autoDeleteInsets): remove member function
13194
13195         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13196         cursor pos correctly and handle inset deletion by itself.
13197         (insertErrors): move iterator declaration out of for expression
13198
13199         * lyxtextclass.C: add <algorithm>
13200
13201         * Makefile.am: added the new files to sources, removed layout.C
13202
13203         * layout.C: removed file
13204
13205         * layout.h: remove LYX_DUMMY_LAYOUT
13206
13207         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13208         layout.
13209
13210         * lyxlayout.[Ch]:
13211         * lyxtextclass.[Ch]:
13212         * lyxtextclasslist.[Ch]: new files
13213
13214         * include order changes to a lot of files, also changes because of
13215         the six new files.
13216
13217 2001-12-27  Juergen Vigna  <jug@sad.it>
13218
13219         * buffer.C (asciiParagraph): more fixes.
13220
13221         * tabular.C (ascii): make ascii export support export of only the
13222         data separated by a column-delimiter.
13223         (ascii): better support for ascii export.
13224
13225         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13226
13227 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * tabular_funcs.C: use a "using std::getline" instead of the
13230         previous fix from Angus (necessary for cxx + lyxstring)
13231
13232 2001-12-24  Juergen Vigna  <jug@sad.it>
13233
13234         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13235
13236         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13237         problems. First check a minipage also if we have some ert-contents
13238         (not only on par->size(), second set the right depth of the paragraph
13239         on the relink to the root-paragraph-list!
13240
13241         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13242         which then did not anymore update the main paragraphs on undo/redo!
13243
13244 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13245
13246         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13247         code. Support all font-changing funcs (even those which are not in
13248         menu currently). Support for reporting font settings in
13249         mathed (disabled until Andre provides a function on mathed's side).
13250
13251         * func_status.h (toggle): small helper function to set toggle
13252         state on a flag.
13253
13254 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * tabular_funcs.C: getline -> std::getline
13257
13258 2001-12-21  Juergen Vigna  <jug@sad.it>
13259
13260         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13261         accessed and could be 0 (I couldn't generate this but it seems
13262         Michael could!).
13263
13264 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13267         * tabular_funcs.h: here and include iosfwd
13268
13269 2001-12-20  Juergen Vigna  <jug@sad.it>
13270
13271         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13272         inside inset but undo_par was.
13273
13274 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13275
13276         * Thesaurus.C: always include <config.h> in sources.
13277
13278         * Painter.h:
13279         * lyxlookup.h:
13280         * box.h: do not include <config.h> in header files
13281
13282         * text.C (paintLastRow): remove unused variable
13283
13284         * text.C (transformChar):
13285         (insertChar):
13286         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13287
13288         * Painter.C (text):
13289         * font.C (width): rewrite to use uppercase() instead of
13290         islower/toupper.
13291
13292         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13293
13294 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13295
13296         * lyxfind.C: clean up of find failure position change
13297
13298 2001-12-20  Juergen Vigna  <jug@sad.it>
13299
13300         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13301
13302         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13303         (TeXRow): added to LaTeX a single tabular row.
13304         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13305         (Latex): simplified and finally good LT-h/f support.
13306         (various_functions): just small adaptions for LT-h/f support.
13307
13308         * tabular_funcs.[hC]: added and moved here all not classfunctions
13309         of LyXTabular.
13310
13311 2001-12-19  Juergen Vigna  <jug@sad.it>
13312
13313         * tabular.[Ch]: better support for longtabular options (not finished
13314         yet!)
13315
13316 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13317
13318         * text.C (paintLastRow): use the label font instead of the font of
13319         the last character to compute the size of *_BOX. This makes more
13320         sense and avoids a crash with empty paragraphs.
13321         Use Painter::rectangle to draw EMPTY_BOX.
13322
13323 2001-12-19  Juergen Vigna  <jug@sad.it>
13324
13325         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13326         the paragraphs if the replaced paragraph is not the first one!
13327         Tried to delete not used paragraphs but does not work yet so for
13328         now it's inside #ifdef's and by default off!
13329
13330 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13331
13332         * MenuBackend.C: include "lyx_main.h" instead of declaring
13333         lastfiles (actually was declared as LastFiles* instead of a
13334         scoped_ptr).
13335
13336 2001-12-17  Juergen Vigna  <jug@sad.it>
13337
13338         * tabular.C (AppendColumn): applied John's fix
13339
13340 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * BufferView.h:
13343         * BufferView.C:
13344         * BufferView_pimpl.h:
13345         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13346
13347         * Makefile.am:
13348         * box.h: new start of class for above
13349
13350         * lyxfunc.C: ignore space-only minibuffer dispatches.
13351           Show the command name when it doesn't exist
13352
13353         * minibuffer.C: don't add empty lines to the history
13354
13355         * minibuffer.C: add a space on dropdown completion
13356
13357 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * text.C: fix line above/below drawing in insets
13360
13361 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * lyxlength.C (LyXLength): Initialize private variables.
13364
13365 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13366
13367         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13368         when inserting error insets.
13369
13370 2001-12-13  Juergen Vigna  <jug@sad.it>
13371
13372         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13373         actually sometimes the before-paragraph.
13374         (setUndo): don't clear the redostack if we're not actually undoing!
13375
13376 2001-12-06  Juergen Vigna  <jug@sad.it>
13377
13378         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13379         and fixed redoing of main paragraph, so we can use it now ;)
13380
13381         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13382
13383 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13384
13385         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13386         Juergen's request
13387
13388 2001-12-13  André Pönitz <poenitz@gmx.net>
13389
13390         * undostack.[Ch]:
13391         * undo_func.C: minor cleanup
13392
13393 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13394
13395         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13396         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13397         font in urw-fonts package which is marked as -urw-fontspecific and
13398         does not work (incidentally, changing the encoding in the
13399         fonts.dir of this package to -adobe-fontspecific fixes the
13400         problem).
13401
13402         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13403         is a crash when undoing first paragraph (Juergen, please take a
13404         look). THis does not mean the undo fix is wrong, just that it
13405         uncovers problems.
13406
13407         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13408         the (Paragraph*) version when needed instead of duplicating the
13409         code.
13410
13411         * text.C (workWidth): use Inset::parOwner to find out where the
13412         inset has been inserted. This is a huge performance gain for large
13413         documents with lots of insets. If Inset::parOwner is not set, fall
13414         back on the brute force method
13415
13416         * paragraph_pimpl.C (insertInset):
13417         * paragraph.C (Paragraph):
13418         (cutIntoMinibuffer): set parOwner of insets when
13419         inserting/removing them
13420
13421         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13422
13423 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13424
13425         * commandtags.h:
13426         * LyXAction.C:
13427         * lyx_main.C:
13428         * lyxfunc.C:
13429         * mathed/formulabase.C:
13430         * mathed/math_cursor.[Ch]:
13431         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13432
13433
13434 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * lyxlength.[Ch] (operator!=): new function
13437
13438 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13439
13440         * text.C (workWidth): use Inset::parOwner to find out where the
13441         inset has been inserted. This is a huge performance gain for large
13442         documents with lots of insets. If Inset::parOwner is not set, fall
13443         back on the brute force method
13444
13445         * paragraph_pimpl.C (insertInset):
13446         * paragraph.C (Paragraph):
13447         (cutIntoMinibuffer): set parOwner of insets when
13448         inserting/removing them
13449
13450         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13451
13452 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13453
13454         * tabular-old.C (getTokenValue):
13455         * tabular.C (getTokenValue):
13456         (write_attribute): new versions for LyXLength
13457         (everywhere): adjust the use of widths
13458
13459         * tabular.h: change the type of widths from string to LyXLength
13460
13461 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13462
13463         * paragraph.C: fixed missing line number count when exporting
13464         Environments to LaTeX file
13465
13466         * buffer.C: added informational message for checking line numbers.
13467
13468 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13471         paragraph, do the 'double space' part, but not the 'empty
13472         paragraph' one.
13473
13474         * text.C (workWidth): small optimization
13475         (getLengthMarkerHeight): use minimal size for negative lengths.
13476
13477 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13478
13479         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13480
13481         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13482
13483 2001-12-11  André Pönitz <poenitz@gmx.net>
13484
13485         * FontLoader.C:
13486         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13487
13488 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * text2.C: keep selection on a setFont()
13491
13492 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * lyx_cb.C: another bv->text misuse, from insert label
13495
13496 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * kbsequence.h:
13499         * kbsequence.C: re-instate nmodifier mask
13500
13501 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13502
13503         * lyx_main.h: make lyxGUI private.
13504
13505 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13506
13507         * lyxfind.C: place the cursor correctly on failed search
13508
13509 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13510
13511         * text.C (getLengthMarkerHeight): for small heights, the arrows
13512         are not always on top/bottom of the text
13513         (drawLengthMarker): smaller arrows; take the left margin in
13514         account; draw also vfills.
13515         (paintFirstRow):
13516         (paintLastRow): remove special code for vfill and standard spaces,
13517         since everything is handled in drawLengthMarker now.
13518
13519 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * buffer.C (insertErtContents): try to handle font and language
13522         interaction a bit better.g
13523
13524         * ColorHandler.C (updateColor): change the hash to cover the whole
13525         LColor enum, ws cleanup
13526         (getGCLinepars): ditto
13527         (getGCLinepars): only lookup in the linecache once.
13528
13529 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13530
13531         * iterators.C (operator++): Make the iterator more robust
13532
13533         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13534         (John's patch)
13535         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13536
13537 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13538
13539         * lyxtext.h:
13540         * text.C: better added space drawing
13541
13542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * LyXView.C:
13545         * BufferView2.C: fix layout combo update on inset unlock
13546
13547 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * Makefile.am: don't compile unused files
13550
13551 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * lyxfunc.C:
13554         * commandtags.h:
13555         * LyXAction.C: remove old LFUN_LAYOUTNO
13556
13557 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13558
13559         * paragraph_pimpl.h:
13560         * paragraph_pimpl.C: isTextAt() doesn't need font param
13561
13562 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13563
13564         * lyxlex.h:
13565         * lyxlex.C: little cleanup
13566
13567 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13568
13569         * BufferView_pimpl.C: fix insertAscii for insets
13570
13571 2001-12-05  Juergen Vigna  <jug@sad.it>
13572
13573         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13574         set the right font on the "multi" paragraph paste!
13575
13576 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * trans_decl.h:
13579         * trans_mgr.[Ch]:
13580         * trans.[Ch]:
13581         * lyxgluelength.C:
13582         * lyxlength.C: remove out-commented code.
13583
13584         * BufferView_pimpl:
13585         * CutAndPaste.C:
13586         * DepTable.C:
13587         * buffer.C:
13588         * chset.C:
13589         * lastfiles.C:
13590         * lyxlex.C:
13591         * lyxlex_pimpl.C:
13592         * lyxserver.C:
13593         * screen.C:
13594         * tabular-old.C:
13595         * tabular.C:
13596         * text.C:
13597         * trans_mgr.C:
13598         * vc-backend.C: change "while(" to "while ("
13599
13600         * lyxlength.[Ch]: add zero function to check if length is zero or
13601         not
13602         * lyxgluelength.C: use it
13603
13604 2001-12-05  Allan Rae  <rae@lyx.org>
13605
13606         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13607         Works for 2.95.3, from what I understand of Garst's reports this should
13608         work for other g++ versions.  We're screwed if the abs(int) definition
13609         changed between bugfix releases of gcc.
13610
13611 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * text.C: fix chapter label offset !
13614
13615 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * lyxtext.h:
13618         * text.C: fix hfill at end of line, clean up
13619
13620 2001-12-04  Juergen Vigna  <jug@sad.it>
13621
13622         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13623         that we force an update of the inset and it's owners if neccessary.
13624
13625 2001-12-03  Juergen Vigna  <jug@sad.it>
13626
13627         * text.C (rowLast): simplified code
13628
13629 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13630
13631         * lyxfunc.C: fix show options on timeout
13632
13633 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * screen.C (topCursorVisible): scroll half a page when the cursor
13636         reached top of bottom of screen
13637
13638 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * minibuffer.C: deactivate on loss of focus
13641
13642 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13643
13644         * vspace.[Ch] (operator!=): add operator.
13645
13646 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * BufferView_pimpl.C: refuse to open an inset when
13649         there's a selection.
13650
13651 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13652
13653         * BufferView_pimpl.C: allow to click on RHS of full row insets
13654
13655 2001-11-30  Juergen Vigna  <jug@sad.it>
13656
13657         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13658         insets for undo reasons.
13659
13660 2001-11-28  André Pönitz <poenitz@gmx.net>
13661
13662         * vspace.[Ch]: cosmetical changes
13663
13664 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * LyXAction.h:
13667         * LyXAction.C:
13668         * lyxfunc.h:
13669         * lyxfunc.C:
13670         * kbmap.h:
13671         * kbmap.C:
13672         * lyxrc.C:
13673         * kbsequence.h:
13674         * kbsequence.C: part re-write of old kb code
13675
13676         * Painter.C:
13677         * WorkArea.C: remove Lgb_bug_find_hack
13678
13679 2001-11-30  José Matos <jamatos@fep.up.pt>
13680
13681         * buffer.C (makeDocBookFile): add a comment to point a hack.
13682         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13683         Fixed a double write of labels.
13684
13685 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13686
13687         * LaTeX.C:
13688         * LaTeX.h Fixed bug in LaTeX class where it would not
13689         re-run latex if no depfiles were changed, but the .dvi was removed.
13690
13691 2001-11-28  André Pönitz <poenitz@gmx.net>
13692
13693         * all the files from the change on 2001/11/26:
13694         use lyx::layout_type instead of LyXTextClass::size_type
13695         use lyx::textclass_type instead of LyXTextClassList::size_type
13696
13697 2001-11-29  Juergen Vigna  <jug@sad.it>
13698
13699         * text.C: added support for paragraph::isFreeSpacing()
13700
13701         * buffer.C: same as above
13702
13703         * paragraph.h: inserted isFreeSpacing() function to enable
13704         FreeSpacing inside InsetERT.
13705
13706         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13707         of the paragraph's in the cut/copy buffer to 0!
13708
13709         * text2.C (removeRow): remove the assert as it can!
13710
13711         * lyxtext.h: added helper function firstRow returning firstrow and
13712         made firstrow private again.
13713
13714         * BufferView2.C (lockInset): don't relock if we're already locked!
13715
13716         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13717         the only paragraph.
13718         (removeRow): added Assert::(firstrow)
13719
13720         * debug.C: forgot to add INSETTEXT here.
13721
13722 2001-11-28  Juergen Vigna  <jug@sad.it>
13723
13724         * sp_spell.C (initialize): changed error text to more general
13725         spellchecker command use (not only ispell!)
13726
13727         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13728
13729         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13730
13731 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13732
13733         * vspace.C: initialise lyxgluelength on failure
13734
13735 2001-11-28  Allan Rae  <rae@lyx.org>
13736
13737         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13738         declaration & definition that looks like a function declaration.
13739
13740 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13741
13742         * BufferView2.C (copy):
13743         (copyEnvironment): do not clear the selection when doing a copy.
13744
13745         * text.C (paintFirstRow): compilation fix
13746
13747 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13748
13749         * tabular.C (Latex): correct line count when writing latex.
13750
13751 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * paragraph_pimpl.h:
13754         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13755           bug a bit
13756
13757 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13758
13759         * text.C:
13760         * LColor.h:
13761         * LColor.C: change vfillline->added_space
13762
13763         * text.C: add markers and text for added space
13764
13765         * vspace.C: fix comment
13766
13767 2001-11-28  André Pönitz <poenitz@gmx.net>
13768
13769         * paragraph.C: whitespace changes
13770         * all the other files from the change on 2001/11/26:
13771         change *::pos_type into lyx::pos_type
13772
13773 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13774
13775         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13776         language of the document when inserting error insets.
13777
13778 2001-11-26  André Pönitz <poenitz@gmx.net>
13779
13780         * BufferView_pimpl.[Ch]:
13781         *       CutAndPaste.C:
13782         * buffer.[Ch]:
13783         * lyxcursor.[Ch]:
13784         * lyxfind.C:
13785         * lyxfunc.C:
13786         * lyxrow.[Ch]:
13787         * paragraph.[Ch]:
13788         * paragraph_pimpl.[Ch]:
13789         * sp_spell.C:
13790         * text.C:
13791         * text2.C: reduce header dependencies, introduce type for positions
13792
13793 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13794
13795         * <various>: change to use Alert.h
13796
13797 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13798
13799         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13800         when encountering an unknown token.
13801         (readLyXformat2): Show an error message if there were unknown tokens.
13802
13803 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * BufferView2.C:
13806         * BufferView_pimpl.C:
13807         * buffer.C:
13808         * paragraph.h:
13809         * text.C:
13810         * text2.C: use par->isInset()
13811
13812 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13813
13814         * paragraph_pimpl.h:
13815         * paragraph_pimpl.C: cleanup
13816
13817 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13818
13819         * text2.C (removeRow):
13820         * text.C (setHeightOfRow): remove useless (and costly) call to
13821         getRow.
13822
13823 2001-11-20  Allan Rae  <rae@lyx.org>
13824
13825         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13826         Now need Inset*::checkInsertChar() to return true for appropriate
13827         cases so that the characters in the minibuffer will actually be
13828         inserted.
13829
13830 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13831
13832         * text.C: change the order of the includes.
13833         (workWidth): initialize it at once.
13834         (workWidth): make maxw unsigned
13835         (setHeightOfRow): remove unused variable (inset)
13836         (selectSelectedWord): remove unused variable (inset)
13837         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13838
13839 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13840
13841         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13842         server is not running.
13843         (openConnection):
13844         (closeConnection): add debug info when server is disabled.
13845
13846         * ColorHandler.C (getGCForeground): send debug message to GUI
13847         channel.
13848
13849         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13850
13851         * kbmap.C (bind): modify because return conventions of
13852         kb_sequence::parse have changed.
13853
13854         * kbsequence.C (parse): only ignore spaces and not any stupid
13855         control character. This avoids tests like s[i] <= ' ', which are
13856         guaranteed to fail with 8bit characters and signed chars.
13857         Change return code to string::npos when there have been no error
13858         (0 was a bad idea when error is at first character)
13859
13860 2001-11-14  José Matos  <jamatos@fep.up.pt>
13861
13862         * buffer.h:
13863         * buffer.C (simpleDocBookOnePar): removed unused argument.
13864
13865 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13866
13867         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13868         insets which are part of a word. Paragraph::isLetter takes care of
13869         that now. Use Paragraph::isInset to identify insets.
13870         (selectSelectedWord): do not test for hyphenation break.
13871
13872         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13873         that protected spaces are considered as spaces.
13874
13875         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13876         Inset::isLetter.
13877
13878 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * lyxserver.h:
13881         * lyxserver.C: fix it. and small cleanup.
13882
13883 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13884
13885         * BufferView_pimpl.C: use inline helpers
13886
13887         * LaTeXFeatures.h:
13888         * LaTeXFeatures.C: fix typos
13889
13890         * Spacing.h:
13891         * Spacing.C: move spacing_string into class
13892
13893         * ToolbarDefaults.C: move stuff into namespace anon
13894
13895         * layout.h: update enum
13896
13897         * lyxfunc.C: use better debug
13898
13899         * minibuffer.h: fix typo
13900
13901         * debug.h:
13902         * debug.C:
13903         * WorkArea.C: add and use Debug::WORKAREA
13904
13905         * lyxtext.h:
13906         * text.C:
13907         * text2.C: code re-organisation, inline helpers
13908
13909 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13910
13911         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13912         std::vector.empty().
13913
13914 2001-11-09  Allan Rae  <rae@lyx.org>
13915
13916         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13917         '\n's after tables.  Tabular and ERT inset work now makes this no
13918         longer necessary.
13919
13920 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * minibuffer.h:
13923         * minibuffer.C: fix crash, improve drop-down completion
13924
13925 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13926
13927         * lyxserver.h:
13928         * lyxserver.C: invalidate fd's when doing endPipe()
13929
13930 2001-11-08  José Matos  <jamatos@fep.up.pt>
13931
13932         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13933         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13934
13935         * paragraph.h:
13936         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13937
13938 2001-11-07  José Matos  <jamatos@fep.up.pt>
13939
13940         * buffer.h:
13941         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13942         const qualifier.
13943
13944         * buffer.C (sgmlOpenTag):
13945         * buffer.C (sgmlCloseTag): removed debug info.
13946
13947         * buffer.h (sgmlOpenTag):
13948         * buffer.h (sgmlCloseTag): made public.
13949
13950 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * buffer.C (saveParamsAsDefaults):
13953         * lyx_cb.C (MenuLayoutSave): remove
13954
13955         * LyXAction.C (init):
13956         * commandtags.h:
13957         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13958
13959 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13960
13961         * buffer.C (setPaperStuff): removed from here...
13962
13963         * bufferparams.C (setPaperStuff): ... and moved there.
13964
13965 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13966
13967         * minibuffer.h:
13968         * minibuffer.C:
13969         * XFormsView.C: add support for drop-down completion
13970
13971 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13974         commands.
13975
13976 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13977
13978         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13979         disabled.
13980
13981 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * lyx_main.C: change ref to known bugs
13984
13985 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13986
13987         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13988         to work around older babel problems.
13989
13990 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13991
13992         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13993
13994 2001-10-24  Juergen Vigna  <jug@sad.it>
13995
13996         * tabular-old.C (ReadOld): below variable changes reflected.
13997
13998         * tabular.[Ch]: added ltType struct for longtable header/footer
13999         defines and changed all instances where they are used. Added
14000         future support for double top/bottom rows.
14001
14002 2001-10-24  José Matos  <jamatos@fep.up.pt>
14003
14004         * buffer.h (docbookHandleCaption):
14005         * buffer.C (docbookHandleCaption): removed unused function.
14006         (makeDocBookFile): moved docbook supported version to v4.1.
14007
14008 2001-10-24  José Matos  <jamatos@fep.up.pt>
14009
14010         * tabular.h:
14011         * tabular.C (docbookRow): new function to export docbook code of a row.
14012         (DocBook): now honors the longtable flags.
14013
14014 2001-10-23  José Matos  <jamatos@fep.up.pt>
14015
14016         * LaTeXFeatures.h:
14017         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14018         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14019
14020         * buffer.C (makeLinuxDocFile):
14021         (makeDocBookFile): reworked the preamble, more clean, and with
14022         support for lyx defined entities. Changed the document declaration
14023         to be more XML friendly.
14024
14025         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14026         if we need to output XML that should be done with a filter.
14027
14028 2001-10-22  Juergen Vigna  <jug@sad.it>
14029
14030         * sp_pspell.h (class PSpell): add alive function needed in the
14031         controller to see if the spellchecker could be started.
14032
14033 2001-10-22  Juergen Vigna  <jug@sad.it>
14034
14035         * buffer.C (insertStringAsLines): modify the font for inserting
14036         chars in certain conditions by calling checkInsertChar(font).
14037
14038 2001-10-19  Juergen Vigna  <jug@sad.it>
14039
14040         * text.C (workWidth): use getRow instead of wrong algorithm.
14041         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14042
14043 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14044
14045         * lyxserver.h:
14046         * lyxserver.C:
14047         * lyx_main.h:
14048         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14049
14050 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14051
14052         * text.C (workWidth): do not search for the exact row when
14053         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14054         optimization for big documents.
14055
14056 2001-10-18  Juergen Vigna  <jug@sad.it>
14057
14058         * text.C (workWidth): new function with added Inset * parameter.
14059
14060 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14061
14062         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14063
14064         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14065         change return type of getColumnNearX.
14066
14067
14068         * text.C (changeRegionCase): use uppercase/lowercase instead of
14069         toupper/tolower.
14070         (leftMargin):
14071         (rightMargin): simplify code by factoring out the uses of
14072         textclasslist.
14073         (labelFill):
14074         (numberOfHfills):
14075         (setHeightOfRow):
14076         (appendParagraph): use Paragraph::size_type
14077
14078 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14079
14080         * vspace.C (asLatexString): add a missing break
14081
14082 2001-10-15  Herbert Voss  <voss@perce.de>
14083
14084         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14085
14086 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14089         is not available.
14090
14091 2001-10-10  André Pönitz <poenitz@gmx.net>
14092
14093         * lyxfunc.C: removed greek_kb_flag.
14094
14095 2001-10-10  Herbert Voss  <voss@perce.de>
14096
14097         * lyx_main.C: delete global string help_lyxdir.
14098
14099 2001-10-09  Herbert Voss  <voss@perce.de>
14100
14101         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14102
14103         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14104
14105         * lyx_main.C: added global string help_lyxdir.
14106
14107         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14108
14109 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14110
14111         * lyxrc.C (set_font_norm_type): support iso8859-4
14112
14113 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14114
14115         * LaTeX.C (deplog): add another regex for MikTeX
14116
14117 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14118
14119         * lyxrc.C (set_font_norm_type): support iso8859-3
14120
14121 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14122
14123         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14124
14125         * LaTeXFeatures.C: remove special case of french and index
14126
14127         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14128         before \begin{document}). This solves several incompatibilities.
14129
14130 2001-10-03  Garst Reese  <reese@isn.net>
14131
14132         * lyx_cb.C: change CheckTex error msg.
14133
14134 2001-10-03  José Matos  <jamatos@fep.up.pt>
14135
14136         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14137
14138 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14139
14140         * .cvsignore: update
14141
14142         * lyx_main.C (commandLineVersionInfo): use new style version info.
14143
14144         * buffer.C (writeFile):
14145         (makeLaTeXFile):
14146         (makeLinuxDocFile):
14147         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14148
14149         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14150
14151         * version.h: update to use stuff in version.C
14152
14153         * version.C.in: new file. Contains version information determined
14154         at compile time. This is a merging of version.h and
14155         version_info.h.in.
14156
14157 2001-10-03  Juergen Vigna  <jug@sad.it>
14158
14159         * BufferView_pimpl.C (update): don't change "dirty" status in
14160         updateInset call.
14161
14162 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14163
14164         * WorkArea.C (c-tor): re-position version string slightly.
14165
14166 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14167
14168         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14169         revert to previous code.
14170
14171         WorkArea.[Ch]: (show, destroySplash): methods removed.
14172
14173         WorkArea.C: rework code so that it's an amalgam of the codes before and
14174         after the splash screen was moved to WorkArea.
14175
14176 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14177
14178         * lyxrc.C (read):
14179         * vspace.C (inPixels):
14180         (lyx_advance):
14181         * kbmap.C (bind):
14182         * buffer.C (insertStringAsLines):
14183         (asciiParagraph): fix types to be large enough
14184
14185         * lyxlex_pimpl.h: change member status from short to int
14186
14187         * layout.h: fix type of endlabeltype
14188
14189         * kbmap.C (bind):
14190         * kbsequence.C (parse): change return type to string::size_type
14191
14192         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14193         variable
14194
14195         * Bullet.C (bulletSize):
14196         (bulletEntry): do not use short ints as parameters
14197
14198         * BufferView2.C (insertLyXFile): change a char to an int.
14199
14200         * WorkArea.C (WorkArea): remove unneeded floats in computation
14201
14202 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14203
14204         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14205
14206         * paragraph.C (asString): Do not ignore newline/hfill chars when
14207         copying to the clipboard.
14208
14209 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14210
14211         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14212         after a multi-line inset.
14213
14214 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14215
14216         * paragraph.C (validate): Set NeedLyXFootnoteCode
14217
14218 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14219
14220         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14221         and decrease-error to decrease.
14222
14223 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14224
14225         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14226         it more readable (should be equivalent)
14227
14228 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14229
14230         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14231
14232 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14233
14234         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14235         of a cursor (row, etc.) after a character has been deleted
14236         (deleteEmptyParagraphMechanism): call the method above on _all_
14237         cursors held by the LyXText when a double space has been
14238         detected/deleted.
14239
14240 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14241
14242         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14243         pixmap.
14244         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14245
14246         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14247         background. Use greyOut() and the new show() methods to toggle between
14248         the foreground and background. Add code to remove the splash after
14249         its initial showing.
14250
14251         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14252         (create_forms): no longer call Dialogs::showSplash.
14253
14254 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14255
14256         * .cvsignore: add version_info.h
14257
14258 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14259
14260         * version_info.h.in: new file
14261
14262         * Makefile.am: add version_info.h.in
14263
14264         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14265         version_info.h instead of VERSION_INFO
14266
14267 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14268
14269         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14270         The ERT inset now returns string().
14271
14272 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14273
14274         * lyxtext.h, text.C (selectNextWord): renamed as
14275         selectNextWordToSpellcheck.
14276
14277         * text.C (selectNextWordToSpellcheck): Modified to not select
14278         words inside an ERT inset.
14279
14280 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14281
14282         * lyx_cb.C (MenuLayoutSave): change a bit the question
14283
14284         * sp_base.h: include <sys/types.h>
14285
14286 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14287
14288         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14289
14290 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14291
14292         * several files: fix typos in user-visible strings
14293
14294 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * text2.C (pasteSelection): do not set the selection, since it
14297         will be cleared later. Actually, the intent was to fix the way the
14298         selection was set, but I figured rmoving the code was just as good.
14299
14300 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14301
14302         * FontLoader.C (available): Check if font is available without
14303         loading the font.
14304
14305 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14306
14307         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14308
14309 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * lyxrc.[Ch]: added display_graphics variable and associated code.
14312
14313 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * bufferparams.C (hasClassDefaults): new method. Returns true if
14316         the buffer parameters correspond to known class defaults
14317
14318 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14319
14320         * XFormsView.C (show): set minimum size to the main window.
14321
14322 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14323
14324         * text2.C (copySelection):
14325         (cutSelection):
14326         * lyxfind.C (LyXReplace):
14327         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14328         LyXText::selectionAsString.
14329
14330         * paragraph.C (asString): add "label" argument to the second form
14331
14332         * text2.C (selectionAsString): add "label" argument and pass it to
14333         Paragraph::asString.
14334
14335 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14336
14337         * lyx_main.C (commandLineHelp): remove version information
14338
14339 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14340
14341         * lyx_main.C: add -version commandline option
14342
14343 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14344
14345         * paragraph.h: make the optional constructor arg required instead.
14346         some modifications to other files because of this.
14347
14348         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14349
14350         * lyxserver.C (C_LyXComm_callback): make it static
14351
14352         * lyx_main.C (error_handler): make it static
14353
14354         * lyx_gui.C (LyX_XErrHandler): make it static
14355
14356         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14357
14358         * WorkArea.C: make the extern "C" methods static.
14359
14360         * Makefile.am (lyx_LDADD): simplify
14361
14362 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14363
14364         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14365         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14366
14367         * LyXAction.C (init):
14368         * lyxfunc.C (dispatch): associated code removal.
14369
14370 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14371
14372         * lyxfont.h (isSymbolFont): shut off warning
14373
14374         * text.C (setHeightOfRow):
14375         (getVisibleRow): fix crash with empty paragraphs which have a
14376         bottom line
14377
14378 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14379
14380         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14381         code.
14382
14383 2001-09-04  José Matos  <jamatos@fep.up.pt>
14384         * buffer.C
14385         * buffer.h
14386         * tabular.C (docbook): rename docBook method to docbook.
14387
14388 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14389
14390         * Makefile.am: add dependencies to main.o.
14391
14392 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14393
14394         * FontLoader.C (available): Return false if !lyxrc.use_gui
14395
14396 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14397
14398         * FontInfo.C (query):
14399         * converter.C (view):
14400         * importer.C (Import):
14401         * exporter.C (Export): Can not -> cannot.
14402
14403 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14404
14405         * BufferView_pimpl.C: allow to create index inset even if
14406           string is empty
14407
14408 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14409
14410         * buffer.C (getLists): replace boost::tie code with an explicit pair
14411         as boost::tie can break some compilers.
14412
14413         * iterators.h: Added a std:: declaration to the return type of
14414         ParIterator::size.
14415
14416 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14417
14418         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14419           case.
14420
14421 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14422
14423         * iterators.[Ch]: New files. Provide paragraph iterators.
14424
14425         * buffer.C (changeLanguage): Use paragraph iterators.
14426         (isMultiLingual): ditto
14427
14428         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14429
14430 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14431
14432         * FontLoader.C: Support for cmr font.
14433
14434 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14435
14436         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14437         (available): New method.
14438
14439         * FontInfo.C (getFontname): Use scalable fonts even when
14440         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14441         found.
14442
14443 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14444
14445         * converter.C (Formats::view): reverted! Incorrect fix.
14446
14447 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14448
14449         * converter.C (Formats::view): only output the -paper option
14450         if the dvi viewer is xdvi, thereby fixing bug #233429.
14451
14452 2001-08-23  Herbert Voss  <voss@perce>
14453
14454         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14455
14456 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14457
14458         * Spacing.h (Spacing): Set space to Default on in the default
14459         constructor.
14460
14461 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * vc-backend.h (RCS::versionString): add RCS to version
14464         (CVS::versionString): add CVS to version
14465
14466         * vc-backend.C (scanMaster): do not add CVS to version.
14467         (scanMaster): do not add RCS to version
14468
14469         * lyxvc.C (versionString): new method
14470
14471         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14472
14473 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * Spacing.C (set): initialize fval
14476
14477 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14478
14479         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14480         " or \.
14481
14482 2001-08-16  Juergen Vigna  <jug@sad.it>
14483
14484         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14485
14486 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14487
14488         * BufferView_pimpl.C:
14489         * figureForm.C:
14490         * lyxtext.h:
14491         * text2.C: setParagraph takes linespacing now
14492
14493 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14494
14495         * LyxAction.C: add internal LFUN_CITATION_INSERT
14496
14497         * LyXView.C: actually apply fix
14498
14499         * bufferlist.C: fix open non-existent file
14500
14501         * lyxfind.C: fix indentation
14502
14503         * lyxfunc.C: remove unneeded assert, fix typo
14504
14505 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14506
14507         * MenuBackend.C: use "Floatname List"
14508
14509 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14510
14511         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14512         when converting LaTeX layout to insetERT.
14513         Generate a non-collapsed float when reading old float
14514
14515 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14516
14517         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14518         ERT insets.
14519
14520 2001-08-13  Juergen Vigna  <jug@sad.it>
14521
14522         * text.C (fill): return 0 instead of 20 as this seems to be the more
14523         correct value.
14524
14525 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14526
14527         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14528         lyxrc.font_norm.
14529
14530 2001-08-13  Juergen Vigna  <jug@sad.it>
14531
14532         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14533         casesensitive off.
14534         (SearchBackward): comment out the unlocking of the inset_owner this
14535         should not be needed!
14536
14537 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14538
14539         * Many files: Remove inherit_language, and add latex_language
14540
14541         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14542         collapsible insets.
14543
14544 2001-08-10  Juergen Vigna  <jug@sad.it>
14545
14546         * text.C (prepareToPrint): fixed hfill-width in draw!
14547
14548         * BufferView2.C (selectLastWord): save the selection cursor as this
14549         now is cleared in the function LyXText::clearSelection!
14550
14551 2001-08-08  Juergen Vigna  <jug@sad.it>
14552
14553         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14554         BACKSPACE type functions.
14555
14556         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14557         is only cutted from the document but not put in the cut-buffer, where
14558         still the old stuff should be.
14559
14560         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14561
14562         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14563
14564         * tabular.C (SetWidthOfCell): fixed special case where the width
14565         was not updated!
14566         (LeftLine): handle '|' in align_special.
14567         (RightLine): ditto
14568         (LeftAlreadyDrawed): ditto
14569         (SetWidthOfCell): ditto
14570
14571 2001-08-07  Juergen Vigna  <jug@sad.it>
14572
14573         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14574
14575 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14578         * lyxlex.[hC]: ditto
14579
14580 2001-08-06  Juergen Vigna  <jug@sad.it>
14581
14582         * text.C (getVisibleRow): fix up row clearing a bit.
14583
14584 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14585
14586         * minibuffer.C: make sure the X server sees the changes in the input.
14587
14588 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * paragraph.C (getFont): split into...
14591         (getLabelFont): this
14592         (getLayoutFont): and this
14593         * paragraph_pimpl.C (realizeFont): calling this
14594
14595         * text2.C (getFont): split into...
14596         (getLayoutFont): this
14597         (getLabelFont): and this
14598         (realizeFont): all three calling this
14599
14600         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14601         files where used.
14602
14603 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14606
14607 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14608
14609         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14610         layouts from the Quote inset insertion.
14611
14612 2001-08-03  Juergen Vigna  <jug@sad.it>
14613
14614         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14615
14616         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14617         only if status not is already CHANGED_IN_DRAW (second level).
14618
14619         * text.C (draw): don't set the need_break_row when inside an
14620         InsetText LyXText.
14621
14622 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * buffer.C (parseSingleLyXformat2Token): handle more latex
14625         conversion cases.
14626
14627         * bufferview_funcs.[hC]: change function names to
14628         begin with small char, adjust other files.
14629
14630 2001-08-02  André Pönitz <poenitz@gmx.net>
14631
14632         * lyxfunc.C:
14633         BufferView_pimpl.C: remove broken special code for math-greek
14634
14635 2001-08-02  Juergen Vigna  <jug@sad.it>
14636
14637         * BufferView_pimpl.C (update): redone this function so that we
14638         update the text again if there was a CHANGE_IN_DRAW.
14639
14640         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14641         (drawFromTo): added a new internal bool which is used by draw() and
14642         redraw() function.
14643         (general): some cursor drawing problems fixed.
14644
14645 2001-08-01  Juergen Vigna  <jug@sad.it>
14646
14647         * lyxfind.C (LyXFind): fixed
14648         (SearchForward): ditto
14649         (SearchBackward): ditto
14650
14651         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14652         spurius drawing of the cursor in the main area.
14653
14654         * text2.C (status): small fix which could lead to a segfault!
14655         (clearSelection): remove unneeded BufferView param.
14656
14657 2001-08-01  André Pönitz <poenitz@gmx.net>
14658
14659         * lyxfunc.C: small change due to changed mathed interface
14660
14661 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14664
14665 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14666
14667         * lyxfunc.c: fail gracefully if file doesn't exist
14668
14669         * LyXSendto.C:
14670         * buffer.C:
14671         * lyxfunc.C:
14672         * BufferView_pimpl.C: IsDirWriteable() proto changed
14673
14674         * LyXView.C: fix updateWindowTitle() to store the last title
14675
14676 2001-07-31  Juergen Vigna  <jug@sad.it>
14677
14678         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14679         the font (wrong since using of Paragraph::highestFontInRange).
14680
14681         * paragraph.C (highestFontInRange): added a default_size parameter.
14682
14683         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14684         (setHeightOfRow): reformat
14685
14686 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14687
14688         * converter.[hC] + affected files: move to (inital-char)lowercase
14689         function names.
14690
14691         * ParagraphParameters.C (ParagraphParameters): remove commented code
14692
14693         * PainterBase.[Ch]: remove commented code
14694
14695         * LaTeXFeatures.h: add "bool floats" for float.sty
14696
14697         * LaTeXFeatures.C (LaTeXFeatures): init floats
14698         (require): handle float
14699         (getPackages): do it with floats
14700
14701 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * BufferView_pimpl.C (Dispatch): improve handling of
14704         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14705
14706         * commandtags.h: #include lyxfont.h here temporarily to avoid
14707         keybinding bug.
14708
14709         * bufferlist.h: include LString.h here.
14710
14711 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14712
14713         * text2.C (getStringToIndex): new method.
14714
14715 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14716
14717         * *: Reduced header file dependencies all over.
14718
14719 2001-07-30  Baruch Even  <baruch@lyx.org>
14720
14721         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14722
14723 2001-07-29  Baruch Even  <baruch@lyx.org>
14724
14725         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14726
14727 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * ParameterStruct.h (endif): add a default constructor to make
14730         sure that all variables is initialized.
14731
14732         * ParagraphParameters.C (ParagraphParameters): adjust
14733
14734 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14735
14736         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14737         index; also, check that there is something to index, and that it
14738         does not span over several paragraphs.
14739         (doubleClick): use WHOLE_WORD_STRICT for double click.
14740
14741         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14742
14743         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14744         scheme.
14745
14746 2001-07-26  Baruch Even  <baruch@lyx.org>
14747
14748         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14749         an InsetFig figure, backwards compatible reading of old figure code.
14750
14751 2001-07-27  Juergen Vigna  <jug@sad.it>
14752
14753         * text2.C: font.realize function adaption.
14754
14755         * text.C (draw): add a warnings lyxerr text if needed.
14756
14757         * layout.C: font.realize function adaption.
14758
14759         * language.C: add inherit_language and implement it's handlings
14760
14761         * bufferview_funcs.C (StyleReset): remove language parameter from
14762         font creation (should be language_inherit now).
14763
14764         * bufferparams.C (writeFile): handle ignore_language.
14765
14766         * paragraph.C (getFontSettings): the language has to be resolved
14767         otherwise we have problems in LyXFont!
14768
14769         * lyxfont.C (lyxWriteChanges): added document_language parameter
14770         (update): removed unneeded language parameter
14771
14772         * paragraph.C (validate): fixed wrong output of color-package when
14773         using interface colors for certain fonts in certain environments,
14774         which should not seen as that on the final output.
14775
14776 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * BufferView_pimpl.C:
14779         * Thesaurus.h:
14780         * Thesaurus.C:
14781         * Makefile.am:
14782         * commandtags.h:
14783         * LyXAction.C: add thesaurus support
14784
14785         * lyxfind.h:
14786         * lyxfind.C: add "once" parameter, for thesaurus, to not
14787           move to the next match
14788
14789 2001-07-26  Juergen Vigna  <jug@sad.it>
14790
14791         * lyxfont.C (realize): honor ignore_language too!
14792         (resolved): ditto.
14793
14794         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14795
14796         * text.C (draw): one place more for ignore_language to not draw
14797         itself!
14798
14799 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14800
14801         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14802
14803 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14804
14805         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14806         the minipage conversion problem.
14807
14808 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14809
14810         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14811         insert an inset.
14812
14813 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14814
14815         * BufferView.h: don't forward declare WorkArea
14816
14817         * BufferView.C: don't include WorkArea.h
14818
14819 2001-07-25  André Pönitz <poenitz@gmx.net>
14820
14821         * commandtags.h:
14822         * LyXAction.C:
14823         * lyxfunc.C:  new LFUN 'math-space'
14824
14825         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14826
14827 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * text2.C (toggleInset): call open/close
14830
14831 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * lyxfunc.C (dispatch): add debug for the disabled case
14834
14835         * font.C (buttonText): make similar to rectText
14836
14837         * buffer.C (readInset): comment out parsing of insetlist and
14838         insttheorem
14839
14840         * PainterBase.C (rectText): small correction
14841
14842         * BufferView_pimpl.C: comment out insettheorem and insetlist
14843         * LyXAction.C: ditto
14844         * commandtags.h: ditto
14845
14846 2001-07-24  Juergen Vigna  <jug@sad.it>
14847
14848         * text.C (draw): honor the ignore_language.
14849
14850         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14851
14852 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14853
14854         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14855         char inset.
14856
14857 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14858
14859         * lyxtext.h: remove unused (and unimplemented) methods
14860
14861 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14862
14863         * text.C (getVisibleRow): honor background color
14864
14865         * PainterBase.h:
14866         * Painter.h: remove default color argument for fillRectangle
14867
14868         * text.C (backgroundColor): new method
14869
14870 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14871
14872         * text.C (getVisibleRow): adjust
14873
14874         * font.[Ch] (rectText): new method, metrics
14875         (buttonText): new method, metrics
14876
14877         * PainterBase.[hC]: make rectText and buttonText always draw and take
14878         fewer paramteres.
14879
14880 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14881
14882         * ToolbarDefaults.C (read):
14883         * MenuBackend.C (read): allow escaping in all strings
14884
14885         * BufferView_pimpl.C (insertAndEditInset): new method.
14886         (Dispatch): use insertAndEditInset whenever appropriate.
14887
14888         * BufferView_pimpl.C (insertNote): removed
14889
14890         * BufferView_pimpl.C (smartQuote): new method, moved from
14891         BufferView; if an insetquote cannot be inserted, insert a '"'
14892         character instead.
14893
14894         * BufferView2.C: remove insertCorrectQuote();
14895
14896         * lyxfunc.C (getStatus): Add support for all remaingin
14897         inset-insert lfuns.
14898
14899         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14900
14901         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14902         command (necessary to pass " as parameter of self-insert.
14903
14904         * text.C (selectWordWhenUnderCursor):
14905         (selectWord): add word_location parameter
14906         (selectWordWhenUnderCursor): same + remove special code for word
14907         boundary.
14908         (selectNextWord): use kind() to guess type of insetspecialchar,
14909         not latex().
14910
14911         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14912         (insertErtContents): create ert insets as collapsed.
14913         (readInset): better compatibility code for Info inset.
14914
14915 2001-07-20  Juergen Vigna  <jug@sad.it>
14916
14917         * lyxfunc.C (dispatch): use always LyXFind now!
14918
14919         * text2.C (init): add a reinit flag so that the LyXText can be
14920         reinited instead of deleted and reallocated (used in InsetText).
14921
14922         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14923
14924         * text.C: ditto
14925
14926         * text2.C: ditto
14927
14928 2001-07-18  Juergen Vigna  <jug@sad.it>
14929
14930         * text.C (selectNextWord): handle insets inside inset by calling
14931         always the bv->text functions so that we can go up the_locking_inset!
14932
14933         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14934         in strange locations when inside an inset!
14935
14936         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14937         handling to include insets.
14938
14939         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14940
14941 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * LyXAction.C (init):
14944         * commandtags.h:
14945         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14946         LIGATURE_BREAK, since the name is so stupid.
14947
14948 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14949
14950         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14951         InsetInfos.
14952
14953         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14954
14955         * sp_form.[Ch]: remove.
14956
14957         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14958
14959         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14960         InsetInfo.
14961
14962         * src/buffer.C (readInset): ditto.
14963
14964 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14965
14966         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14967         menuSeparator(), endOfSentenceDot(), ldots() and
14968         hyphenationPoint(), which are therefore removed.
14969         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14970
14971         * LyXAction.C (init):
14972         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14973
14974         * paragraph.C (getWord): removed.
14975
14976         * BufferView_pimpl.C (Dispatch): use last word or selection for
14977         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14978
14979         * lyx_main.C (queryUserLyXDir): do not ask before creating
14980         user_dir, except if it has been named explicitely.
14981
14982 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14983
14984         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14985         a document of zero size.
14986
14987 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14988
14989         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14990         approriately in the c-tor and in require().
14991         (getPackages): output the appropriate LaTeX for natbib support.
14992
14993         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14994         variables "use_natbib" and "use_numerical_citations" when reading the
14995         LyX file.
14996         (readInset): read the various natbib cite commands.
14997         (validate): white-space change.
14998
14999         * bufferparams.[Ch]: new variables "bool use_natbib" and
15000         "bool use_numerical_citations".
15001         (writeFile): output them in the LyX file.
15002
15003 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15004
15005         * lyxfunc.C (getStatus): add support for all the inset insertion
15006         commands.
15007
15008         * text2.C (insertInset):
15009         * paragraph.C (insetAllowed):
15010         * BufferView_pimpl.C (insertInset): update to take in account the
15011         renaming of insertInsetAllowed
15012
15013         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15014
15015         * text2.C (getInset): new method. returns inset at cursor position.
15016
15017         * BufferView_pimpl.C (Dispatch): changes because of this.
15018
15019         * LyXAction.C (init): rename open-stuff to inset-toggle.
15020
15021         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15022
15023         * text2.C (toggleInset): renamed from openStuff; use
15024         Inset::open().
15025
15026 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15027
15028         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15029
15030         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15031
15032 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15033
15034         * buffer.C (readLyXformat2): Add filename to the error dialog
15035
15036 2001-07-18  Juergen Vigna  <jug@sad.it>
15037
15038         * tabular.C (GetCellNumber): put an assert here instead of the check!
15039
15040 2001-07-17  Juergen Vigna  <jug@sad.it>
15041
15042         * BufferView_pimpl.C (toggleSelection): adapted too.
15043
15044         * text.C (selectNextWord): adapted for use with insets.
15045         (selectSelectedWord): ditto
15046
15047 2001-07-17  Juergen Vigna  <jug@sad.it>
15048
15049         * sp_spell.C (PSpell): fix initialitation order.
15050
15051 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15052
15053         * paragraph.C: spacing
15054
15055 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15056
15057         * sp_spell.C: repair language selection for pspell
15058
15059 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15060
15061         * lyxfunc.h: change more methods to begin with lower char.
15062
15063 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15064
15065         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15066         for unknown layouts.
15067
15068 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15069
15070         * buffer.C (readLyXformat2): Generate an error dialog if there are
15071         unknown layouts.
15072
15073 2001-07-16  Juergen Vigna  <jug@sad.it>
15074
15075         * sp_spell.C: always compile ISpell part.
15076
15077         * lyxrc.C: added use_pspell entry and it's handling.
15078
15079 2001-07-13  Juergen Vigna  <jug@sad.it>
15080
15081         * sp_spell.C: removed double includes.
15082
15083 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15084
15085         Consistent use of Lsstream.h:
15086         * Lsstream.h: added using std::stringstream for consistencies sake.
15087
15088         * buffer.C: removed using std::stringstream
15089
15090         * lyxfont.C (stateText):
15091         * paragraph.C (asString):
15092         * text.C (selectNextWord, selectSelectedWord):
15093         * text2.C (setCounter):
15094         * vspace.C (asString, asLatexString):
15095         std::ostringstream -> ostringstream.
15096
15097 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15098
15099         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15100         * commandtags.h: add LFUN_HELP_ABOUTLYX
15101         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15102
15103 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15104
15105         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15106         cursorToggle()
15107         * lyx_gui_misc.C: remove spellchecker
15108         * lyxfunc.C: showSpellchecker
15109         * sp_base.h: added
15110         * sp_ispell.h: added
15111         * sp_pspell.h: added
15112         * sp_spell.C: added
15113         * sp_form.[Ch]: removed
15114         * spellchecker.[Ch]: removed
15115
15116 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15117
15118         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15119         is set.
15120         (simpleTeXSpecialChars): Simply print the input character without
15121         any special translation if pass_thru is set.
15122
15123         * layout.h: Added bool pass_thru to layout class for being able to
15124         implement pass through of a paragraph for Literate Programming.
15125
15126         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15127         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15128         * layout.C (Read): add "passthru" to list of layout tags and add
15129         code to set the pass_thru boolean when it is read.
15130
15131 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * trans_decl.h: remove allowed from KmodInfo
15134
15135         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15136         remove allowed code
15137         (Load): adjust
15138
15139         * paragraph_pimpl.C (erase): use boost::prior
15140
15141         * Painter.C (text): use data() instead of c_str() when length is
15142         also provided.
15143         * WorkArea.C (putClipboard): ditto
15144         * font.h (width): ditto
15145
15146         * BufferView2.C: use it-> instead of (*it). for iterators
15147         * texrow.C: ditto
15148         * paragraph_pimpl.C: ditto
15149         * paragraph.C: ditto
15150         * minibuffer.C: ditto
15151         * language.C: ditto
15152         * kbmap.C: ditto
15153         * encoding.C: ditto
15154         * counters.C: ditto
15155         * converter.C: ditto
15156         * chset.C: ditto
15157         * Variables.C: ditto
15158         * TextCache.C: ditto
15159         * MenuBackend.C: ditto
15160         * LyXAction.C: ditto
15161         * LColor.C: ditto
15162         * FloatList.C: ditto
15163         * DepTable.C: ditto
15164         * ColorHandler.C (LyXColorHandler): ditto
15165
15166 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15169
15170         * text2.C (openStuff): reintroduce this method (which had been
15171         nuked in NEW_INSETS frenzy).
15172
15173         * lyxfunc.C (Dispatch): when an action has not been handled, use
15174         its name in the error message, not its number.
15175
15176         * paragraph.C (inInset): change method name to begin with lowercase.
15177
15178         * undo_funcs.C:
15179         * text2.C: updates because of this.
15180
15181 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * ToolbarDefaults.C (add): add spaces in error message
15184
15185 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15186
15187         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15188         (readLyXformat2): rename return_par to first_par, use lyxlex's
15189         pushToken and remove the manual push handling.
15190         (parseSingleLyXformat2Token): add another ert comp. variable:
15191         in_tabular, rename return_par to first_par. handle newlines better
15192
15193 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15194
15195         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15196
15197 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15198
15199         * text2.C (getParFromID): removed
15200
15201         * buffer.C (getParFromID): new method moved form lyxtext.
15202         * BufferView2.C (insertErrors): adjust
15203         (setCursorFromRow): adjust
15204         * BufferView_pimpl.C (restorePosition): adjust
15205         * lyxfunc.C (Dispatch): adjust
15206         * undo_funcs.C (textUndo): adjust
15207         (textRedo): adjust
15208         (textHandleUndo): adjust
15209         (textHandleUndo): adjust
15210
15211 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * buffer.C: up' the LYX_FORMAT
15214
15215         * lyxfont.h: turn NO_LATEX on as default
15216
15217         * buffer.C (insertErtContents): new methods of tex style compability.
15218         (parseSingleLyXformat2Token): use it several places.
15219         * tabular.C (OldFormatRead): and here
15220
15221 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * text2.C: remove some commented code.
15224         reindent file.
15225
15226         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15227         * trans.C: changes because of the above.
15228
15229 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15230
15231         * text2.C (setCounter): Fix counters bug with bibliography layout.
15232
15233 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15234
15235         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15236         own member functions
15237         (simpleTeXSpecialChars): ditto
15238
15239 2001-07-06  Juergen Vigna  <jug@sad.it>
15240
15241         * a lot of files: changed the access to LyXText::status and the
15242         call of undo-functions.
15243
15244         * undo.[Ch]: added a inset_id to the undo informations.
15245
15246         * undo_funcs.[Ch]: added and moved here all undo functions.
15247
15248         * lyxtext.h: give the status enum a weight, made status_ a private
15249         variable and made accessor functions for it, removed the whole bunch
15250         of undo-functions as they are now in their own file, make some
15251         functions publically available. Added function ownerParagraph with
15252         int parameter.
15253
15254         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15255         made InInset() a const function, added getParFromID() function.
15256
15257         * buffer.[Ch]: added const version for inset_iterator functions,
15258         added getInsetFromID() function.
15259
15260         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15261         changed undo functions for new version.
15262
15263 2001-07-05  Juergen Vigna  <jug@sad.it>
15264
15265         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15266         unknow mechanism does not call the proper constructor but only this
15267         one also if I request the other!?
15268
15269 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15272
15273         * text2.C (LyXText): use initialization lists.
15274
15275         * lyxtext.h (Selection): initialize set_ and mark_
15276         (init): remove method
15277
15278 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15279
15280         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15281
15282 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15283
15284         * screen.[Ch]: change method names to begin with lowercase
15285
15286         * BufferView_pimpl.C (updateScrollbar): simplify further and
15287         hopefully make it a bit faster.
15288
15289 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15290
15291         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15292         calling directly xforms functions.
15293
15294         * Painter.C (Painter):
15295         * lyx_cb.C (MenuWrite):
15296         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15297         fl_display.
15298
15299         * lyx_gui.C: remove bogus guiruntime extern declaration.
15300
15301 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15302
15303         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15304         in NEW_INSETS
15305         (redoDrawingOfParagraph): ditto
15306         (redoParagraphs): ditto
15307         (cutSelection): don't create a object for CutAndPaste use the
15308         static method directly
15309         (pasteSelection): ditto
15310
15311         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15312         LyXview (+ rename)
15313
15314 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15315
15316         * modifications to some other files because of this.
15317
15318         * Makefile.am (lyx_SOURCES): add XFormsView
15319
15320         * XFormsView.[Ch]: new files
15321
15322         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15323         the main window. Move the gui dependent stuff to XFormsView
15324
15325 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15326
15327         * tabular.C (GetCellInset): update cur_cell also in the row/col
15328         version of this function.
15329
15330         * lyxfunc.C: no need to include figure_form.h here.
15331
15332         * FontLoader.h:
15333         * lyxfunc.h:
15334         * lyxscreen.h:
15335         * text2.C:
15336         * lyxvc.C: no need to include forms.h here.
15337
15338 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15339
15340         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15341
15342         * lyxfunc.C (Dispatch):
15343         * Spacing.C (set):
15344         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15345         constructor argument.
15346
15347 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15348
15349         * paragraph.C (Paragraph): dont't clear, and just set layout.
15350         (makeSameLayout): use params's copy contructor.
15351
15352         * ParagraphParameters.[Ch] (makeSame): delete method
15353
15354 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15355
15356         * Variables.[Ch]: fix indentation, rename set to isSet
15357
15358 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15359
15360         * lyxfunc.C (Dispatch): fix typo
15361
15362 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15363
15364         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15365         upper_bound.
15366
15367         * bufferlist.C: include assert.h for emergencyWrite().
15368
15369 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15370
15371         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15372           give up at last (bug #425202) !
15373
15374 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15375
15376         * lyx_gui_misc.C:
15377         * sp_form.h:
15378         * sp_form.C:
15379         * spellchecker.h:
15380         * spellchecker.C: strip spellchecker options and bring up
15381           preferences tab instead
15382
15383 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15384
15385         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15386         the istringstream constructor
15387
15388 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15389
15390         * paragraph.C (getLayout): fix return value
15391
15392         * paragraph.h: do not declare getLayout as inline.
15393
15394         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15395
15396 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15397
15398         * lyxcursor.h (operator<): new func
15399         (operator>): new func
15400         (operator>=): new func
15401         (operator<=): new func
15402
15403         * text.C (changeCase): use selection.start and selection.end
15404         (changeRegionCase): require from to be <= to. Require par to be a
15405         valid paragraph.
15406
15407         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15408
15409 2001-06-27  Juergen Vigna  <jug@sad.it>
15410
15411         * text.C (cursorLeftOneWord): changed to return the cursor and added
15412         overlay with BufferView * parameter which calls this one.
15413         (getWord): added
15414         (selectWord): use new getWord function.
15415         (changeCase): renamed from changeWordCase as and extended to work
15416         also on selections.
15417
15418         * lyxtext.h: added enum word_location
15419
15420         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15421         changeCase as this operates now also on selections.
15422
15423 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15424
15425         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15426
15427         * many files: send debug output to Debug::INFO instead of
15428         Debug::ANY.
15429
15430         * converter.C (View):
15431         (Convert):
15432         (Move): send debug output to Debug::FILES instead of console.
15433
15434 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15435
15436         * lyxfunc.C (getStatus): use func_status
15437
15438         * func_status.h: new header, describing the results of
15439         LyXFunc::getStatus;
15440
15441         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15442         LFUN_MATH_HALIGN.
15443
15444 2001-06-25  The LyX Project  <jug@sad.it>
15445
15446         * buffer.C (sgmlOpenTag):
15447         (sgmlCloseTag):
15448         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15449
15450 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * text2.C: remove some dead code
15453
15454         * tabular.C (GetCellInset): store the last cell checked (gotten)
15455
15456         * tabular.h: add the helper for the speedup
15457
15458         * lyxtext.h: remove some dead code
15459
15460 2001-06-26  The LyX Project  <Asger>
15461
15462         * paragraph.C: Change export to LaTeX of alignment to
15463         \begin{center} and family for better roundtrip work with reLyX.
15464
15465         * Tune the math drawing a bit.
15466
15467 2001-06-25  The LyX Project  <Asger>
15468
15469         * LColor.C (LColor): New color for math background. New color
15470         for buttons.
15471
15472 2001-06-25  The LyX Project  <jug@sad.it>
15473
15474         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15475
15476         * lyxfunc.C (Open):
15477         * bufferlist.C (newFile): do not restrict to files ending with
15478         .lyx
15479
15480         * BufferView_pimpl.C (MenuInsertLyXFile):
15481
15482 2001-06-24  The LyX Project  <jug@sad.it>
15483
15484         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15485         of compare_no_case
15486
15487 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15488
15489         * lyxtext.h: rename most methods to begin with a small char.
15490         Lots of changes because of this.
15491
15492         * paragraph.C (Paragraph): do not call fitToSize
15493         (erase): call Pimpl::erase
15494         (insertChar): call Pimpl::insertChar
15495         (insertInset): call Pipl::insertInset
15496         (breakParagraph): do not call fitToSize
15497         (breakParagraphConservative): do not call fitToSize
15498         (fitToSize): remove method
15499
15500         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15501
15502 2001-06-24  The LyX Project  <Asger>
15503
15504         * Fix Qt compilation^2
15505
15506 2001-06-24  The LyX Project  <jug@sad.it>
15507
15508         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15509         depthHook(getDepth()-1).
15510
15511         * paragraph.h:
15512         * ParagraphParameters.h:
15513         * ParameterStruct.h: change type of depth to unsigned int ==
15514         depth_type. Many adaptations to other files before of that.
15515
15516 2001-06-24  The LyX Project  <Asger>
15517
15518         * Fix Qt compilation.
15519
15520 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15521
15522         * paragraph.h: renamed several methods to begin with small letter.
15523         several changes to many parts of the code because of this.
15524
15525 2001-06-23  The LyX Project  <jug@sad.it>
15526
15527         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15528         rewritten to discard all double spaces when KeepEmpty is off
15529         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15530         to only handle newlines but not fiddle with spaces and friends.
15531
15532         * lyxfunc.C (MenuNew): when doing 'new from template', use
15533         template_path as default directory
15534
15535 2001-06-23  The LyX Project  <Asger>
15536
15537         * Clean-up of header file includes all over
15538         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15539
15540 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15541
15542         * paragraph.h: renamed from lyxparagraph.h
15543
15544 2001-06-23  Asger  <lyx@violet.home.sad.it>
15545
15546         * Buffer.h: Removed Buffer::resize
15547         * BufferList.h: Removed BufferList::resize
15548         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15549         the document lazily when we change the width, or the font settings.
15550
15551 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15552
15553         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15554
15555 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15556
15557         * buffer.h: remove out of date comment
15558
15559 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15560
15561         * lyxscreen.h:
15562         * screen.C: fix "theoretical" GC leak
15563
15564 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * LaTeX.C (scanAuxFile):
15567         (deplog): remove trailing \r when reading stream (useful under
15568         win32)
15569
15570 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15571
15572         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15573         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15574         and BufferView::theLockingInset(Inset*), so should use them and not
15575         access bv_->text->the_locking_inset directly.
15576
15577         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15578
15579 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15580
15581         * Makefile.am:
15582         * tex-defs.h: remove old unused file
15583
15584 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15585
15586         * BufferView_pimpl.C: fix typo, remove minibuffer message
15587           when buffer has loaded
15588
15589 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15590
15591         * lyxfunc.C (Dispatch): use stringstream
15592         (MenuNew): use stringstream
15593         (Open): use stringstream
15594
15595         * importer.C (Import): use stringstream
15596
15597         * bufferview_funcs.C (CurrentState): use stringstream
15598
15599         * LaTeX.C (run): use stringstream
15600
15601         * BufferView_pimpl.C (savePosition): use stringstream
15602         (restorePosition): use stringstream
15603         (MenuInsertLyXFile): use stringstream
15604
15605 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15606
15607         * BufferView.C:
15608         * Bullet.C:
15609         * ColorHandler.C:
15610         * FontInfo.C:
15611         * FontLoader.C:
15612         * LColor.C:
15613         * LaTeXFeatures.C:
15614         * Painter.C:
15615         * gettext.C:
15616         * lyx_gui_misc.C:
15617         * lyxserver.C:
15618         * vspace.C: removed // -*- C++ -*- as first line.
15619
15620         * lyxfind.h:
15621         * version.h: added // -*- C++ -*- as first line.
15622
15623 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15624
15625         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15626
15627         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15628         of string
15629
15630 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15633         of floats.
15634
15635 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * gettext.C: include LString.h even when --disable-nls is on.
15638
15639 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15640
15641         * converter.h (Get): changed argument type from int to
15642         FormatList::size_type to avoid unnecessary conversion.
15643
15644         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15645         before using it.
15646
15647 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15648
15649         * gettext.h: include LString.h even when --disable-nls is on.
15650
15651 2001-06-07  Juergen Vigna  <jug@sad.it>
15652
15653         * text.C (BreakAgain): subst spaces with tabs.
15654
15655         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15656         (resizeInsetsLyXText): set force on resizeLyXText.
15657
15658 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15659
15660         * gettext.h (gettext_init):
15661         (locale_init): use a real definition instead of a macro
15662
15663 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15664
15665         * Bufferview_pimpl.C:
15666         * LColor.h:
15667         * LColor.C: further lcolor tidies
15668
15669 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15670
15671         * BufferView_pimpl.C (updateScrollbar): simplify.
15672
15673         * BufferView2.C: don't include insets/insetinfo.h, change
15674         prototype for insertInset and call the Pimpl version. let
15675         updateInset call Pimpl version.
15676
15677         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15678         gotoInset to BufferView::Pimpl
15679
15680 2001-06-01  Juergen Vigna  <jug@sad.it>
15681
15682         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15683         inside a LockingInset (is the update needed at all?).
15684
15685 2001-05-31  Juergen Vigna  <jug@sad.it>
15686
15687         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15688         here not the old one otherwise how should we compare it afterwards
15689         if it's the same!
15690
15691 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * lyxfont.C:
15694         * tabular.C:
15695         * tabular-old.C:
15696         * FontInfo.C: bring C functions into global namespace when
15697         necessary
15698
15699 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15700
15701         * LString.h: make sure config.h has been loaded before LString.h.
15702
15703         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15704         (one for each char read by EatLine!).
15705
15706         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15707         variables.
15708
15709 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15710
15711         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15712         to the same as the par we break from
15713
15714 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15715
15716         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15717
15718         * MenuBackend.C (expand): also create menu entries for wide
15719         versions of the floats.
15720
15721         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15722
15723         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15724
15725         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15726         frontends/Makefile.am
15727
15728         * text2.C: adjust
15729         * text.C: adjust
15730
15731
15732         * tabular.C (getTokenValue): add std::
15733
15734         * tabular-old.C (getTokenValue): add std::
15735         (getTokenValue): ditto
15736         (getTokenValue): ditto
15737
15738         * screen.C (ToggleSelection): adjust
15739
15740         * lyxtext.h: put selection cursors inside a Selection struct.
15741
15742         * lyxfunc.C (moveCursorUpdate): adjust
15743
15744         * lyxfont.C (latexWriteStartChanges): add std::
15745
15746         * lyxfind.C: adjust
15747
15748         * font.h: delete with(char const *, LyXFont const &)
15749
15750         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15751
15752         * FontInfo.C (getFontname): add std::
15753
15754         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15755         (workAreaButtonPress): adjust
15756         (tripleClick): adjust
15757         (update): adjust
15758         (moveCursorUpdate): adjust
15759         (Dispatch): adjust
15760
15761         * BufferView2.C (gotoInset): adjust
15762
15763 2001-05-30  Juergen Vigna  <jug@sad.it>
15764
15765         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15766         to check pspell I add this as default as I now have new pspell
15767         libraries and they seem to use this.
15768
15769 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15770
15771         * text2.C (CutSelection): make the cursor valid before the call to
15772         ClearSelection.
15773
15774 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15775
15776         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15777         relied on 0 terminated strings and other horrors. Bug found due to
15778         the new assert in lyxstring!
15779
15780         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15781         KP_ keys.
15782
15783 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15784
15785         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15786         to latinkeys.bind.
15787
15788         * lyxfunc.C (processKeySym): change method of getting to the
15789         self-insert char.
15790
15791         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15792         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15793         * BufferView_pimpl.[Ch]: here as private methods.
15794
15795 2001-05-28  Juergen Vigna  <jug@sad.it>
15796
15797         * text.C (SetHeightOfRow): added the update() call again as it is
15798         needed to initialize inset dimensions!
15799
15800 2001-05-16  Juergen Vigna  <jug@sad.it>
15801
15802         * text2.C (SetCharFont): Add new function with BufferView * and
15803         bool toggleall parameters for setting insets internal fonts.
15804         (SetFont): Freeze the undo as we may change fonts in Insets and
15805         all this change should be inside only one Undo!
15806
15807         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15808         setting font's in insets as for them we have the SetFont function!
15809
15810 2001-05-15  Juergen Vigna  <jug@sad.it>
15811
15812         * text2.C (ClearSelection): to be sure we REALLY don't have any
15813         selection anymore!
15814
15815         * tabular.C (TeXCellPreamble): fixed the left border problem for
15816         multicolumn cells.
15817
15818 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15819
15820         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15821         dependancy file
15822
15823 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15824
15825         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15826         LFUN_BREAKPARAGRAPH.
15827
15828         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15829         help test to "internal only", similar for LFUN_INSERT_URL
15830
15831         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15832         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15833         auto_region_delete and deadkeys.
15834
15835 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15836
15837         * LColor.h:
15838         * LColor.C: remove some dead entries, tidy a little
15839
15840 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15841
15842         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15843         commented code.
15844         (Dispatch): implement LFUN_ESCAPE
15845
15846         * commandtags.h: add LFUN_ESCAPE
15847
15848         * LyXAction.C (init): add entry for LFUN_ESCAPE
15849
15850         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15851         Remove commented code.
15852         (insertNote): moved here
15853         (open_new_inset): moved here
15854
15855         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15856         BufferView_pimpl
15857
15858 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15859
15860         * kbmap.C (findbinding): clean it up and make it work correctly.
15861
15862         * lyx_main.C (init): do not pass argc and argv as parameters
15863
15864 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15865
15866         * buffer.C: fix path for OS/2 & Win32
15867
15868         * lyx_gui.C:
15869         * lyx_main:
15870         * lyx_main.C: Added os:: class.
15871
15872         * os2_defines.h: update
15873
15874 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15877         better by trying again with reduced state.
15878
15879 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15880
15881         * lyxrc.C (read): print error about invalid key sequence only when
15882         debugging (because not all latinX keysyms are known to some X
15883         servers)
15884
15885         * kbsequence.C (getiso): add a few std:: qualifiers
15886         (getiso): comment out extra return statement.
15887
15888 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15889
15890         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15891         handling.
15892         (Dispatch): enhance the accent inset a bit. (not perfect)
15893
15894 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15895
15896         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15897
15898 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * bufferlist.C (emergencyWrite): fix assert() call
15901
15902 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15903
15904         * text.C (InsertChar): Added trivial patch to only send the "you
15905         can not do multiple spaces this way" message once during a
15906         session.
15907
15908 2001-05-08  Baruch Even  <baruch@lyx.org>
15909
15910         * Makefile.am: Changed order of libraries to get LyX to link properly
15911         with the gnome frontend.
15912
15913 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15914
15915         * LaTeXFeatures.h: add a std:: qualifier
15916
15917 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15918
15919         * paragraph.C (String): use stringstream
15920
15921 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * paragraph.C (writeFile): remove footflag arg
15924
15925         * buffer.C (makeLaTeXFile): use stringstream
15926         (latexParagraphs): remove footnot gurba
15927
15928         * LaTeXFeatures.C (getPackages): use stringstream
15929         (getMacros): likewise
15930         (getTClassPreamble): likewise
15931         (getFloatDefinitions): new method
15932
15933         * paragraph.C (writeFile): reindent
15934         (Erase): reindent
15935
15936         * WorkArea.h: revert the xpos + etc changes.
15937
15938         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15939
15940         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15941
15942         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15943         (pasteSelection): likewise
15944         * text2.C (CreateUndo): likewise
15945
15946 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15947
15948         * minibuffer.C (peek_event): temporarily reduce the functionality
15949         of the minibuffer (to allow args on lfuns)
15950
15951         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15952         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15953
15954         * buffer.C (readInset): add compability reading of old float
15955         lists, add reading of new style float list.
15956         (readInset): avoid reevaluation of inscmd.getCmdName()
15957         (getLists): reindent
15958
15959         * MenuBackend.C (MenuItem): implement parsing of
15960         md_floatlistinsert and md_floatinsert.
15961         (expand::LastFiles): move initalizaton of iterators out of loop,
15962         avoid reevaluation.
15963         (expand::Documents): introduce typdedef vector<string> Strings,
15964         and use it.
15965         (expand::ExportFormats): introduce typedef vector<Format const *>
15966         Formats, and use it.
15967         (expand): implement FloatListInsert and FloatInsert.
15968
15969         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15970         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15971         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15972
15973         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15974         handling.
15975         (Dispatch::LFUN_FLOAT_LIST): implement
15976
15977 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15978
15979         * LaTeX.C (run): Fix problem with --export code.
15980
15981 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15982
15983         * BufferView.[Ch] (workarea): removed.
15984         (getClipboard) new method; wrapper for workarea()->getClipboard()
15985
15986         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15987         bug.
15988
15989         * WorkArea.h (width, height, xpos, ypos): These methods all
15990         returned the dimensions of the work_area sub-area of WorkArea,
15991         resulting in a position error if the WorkArea were resized. Now
15992         return the dimensions of the entire WorkArea.
15993
15994         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15995
15996 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15997
15998         * LaTeX.C (deplog): correct the syntax of regex reg1
15999
16000 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16001
16002         * undo.C: remove !NEW_INSETS cruft
16003
16004 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16005
16006         * text2.C: remove !NEW_INSETS cruft
16007
16008         * text.C: remove !NEW_INSETS cruft
16009
16010         * tabular.C: remove !NEW_INSETS cruft
16011
16012         * spellchecker.C: remove !NEW_INSETS cruft
16013
16014         * lyxtext.h: remove !NEW_INSETS cruft
16015
16016         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16017
16018         * lyxfunc.C: remove !NEW_INSETS cruft
16019
16020         * lyxfind.C: remove !NEW_INSETS cruft
16021
16022         * lyx_cb.C: remove !NEW_INSETS cruft
16023
16024         * figureForm.C: remove  !NEW_INSETS cruft
16025
16026         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16027
16028         * buffer.[Ch]: remove !NEW_INSETS cruft
16029
16030         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16031
16032         * CutAndPaste.C: remove !NEW_INSETS cruft
16033
16034         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16035
16036         * BufferView2.C: remove !NEW_INSETS cruft
16037
16038         * BufferView.h: remove !NEW_INSETS cruft
16039
16040 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * Lsstream.h: include LString.h before the sstream headers to
16043         fix problem with gcc 2.95.3 and lyxstring
16044
16045 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16046
16047         * lyx_main.C: add using directives when needed for C functions
16048         declared in std:: namespace.
16049
16050 2001-04-27  Juergen Vigna  <jug@sad.it>
16051
16052         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16053         (SetHeightOfRow): comment out the update call should not be needed!
16054
16055 2001-04-13  Juergen Vigna  <jug@sad.it>
16056
16057         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16058         (LyXTabular): tried to minimize operator= operations (and realized
16059         hopfully Lars wish).
16060
16061 2001-04-27  Juergen Vigna  <jug@sad.it>
16062
16063         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16064
16065 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16066
16067         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16068
16069         * buffer.C (readInset): hack to make listof algorithm work
16070
16071         * BufferView_pimpl.C: hack to make listof algorithm work
16072
16073 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * LyXAction.C: removed all !NEW_INSETS cruft
16076         (init): moved lfun_item in method
16077
16078         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16079
16080 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16081
16082         * BufferView2.C (theLockingInset): white space.
16083
16084 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16085
16086         * minibuffer.C: include <iostream>
16087
16088         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16089
16090         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16091
16092         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16093
16094         * text.[Ch] (TransposeChars): new method
16095
16096 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * call message directly through LyXView instead of through LyXFunc
16099         * BufferView2.C: adjust
16100         * BufferView_pimpl.C: adjust
16101         * FontLoader.C: adjust
16102         * buffer.C: adjust
16103         * bufferview_funcs.C: adjust
16104         * converter.C: adjust
16105         * figureForm.C: adjust
16106         * importer.C: adjust
16107         * lyx_cb.C: adjust
16108         * lyx_gui_misc.C: adjust
16109         * lyxfunc.C: adjust
16110         * lyxvc.C: adjust
16111         * text2.C: adjust
16112         + more files in subdirs
16113
16114         * lyxparagraph.h (size): move up int file
16115         (GetLayout): ditto
16116
16117         * adjust all uses of Assert to lyx::Assert.
16118
16119         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16120         lyxfunctional in namespace lyx
16121         * layout.C (hasLayout): ditto
16122         (GetLayout): ditto
16123         (GetLayout): ditto
16124         (delete_layout): ditto
16125         (NumberOfClass): ditto
16126         * converter.C (GetFormat): ditto
16127         (GetNumber): ditto
16128         (Add): ditto
16129         (Delete): ditto
16130         (SetViewer): ditto
16131         * bufferlist.C (getFileNames): ditto
16132         (emergencyWriteAll): ditto
16133         (exists): ditto
16134         (getBuffer): ditto
16135         * MenuBackend.C (hasSubmenu): ditto
16136         (hasMenu): ditto
16137         (getMenu): ditto
16138         * BufferView_pimpl.C (getInsetByCode): ditto
16139
16140 2001-04-18  Juergen Vigna  <jug@sad.it>
16141
16142         * vspace.C (asLatexString): fixed the 100% problem.
16143
16144 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16145
16146         * lyxfunc.C (Dispatch):
16147         * minibuffer.C:
16148         * minibuffer.h: add a few std:: qualifiers
16149
16150 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * minibuffer.[Ch]: reimplement so that commands is initiated and
16153         run from lyxfunc, simplified som handling, and made the completion
16154         and history code for complete. wip.
16155
16156         * lyxfunc.C (processKeySym): call message
16157         (miniDispatch): new temporary method
16158         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16159         (LFUN_MESSAGE): implement
16160         (LFUN_MESSAGE_PUSH): implement
16161         (LFUN_MESSAGE_POP): implement
16162         (initMiniBuffer): the initial/defualt minibuffer message.
16163
16164         * lyxfont.[Ch]: inline some more getters
16165
16166         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16167
16168         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16169
16170         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16171         (AutoSave): use LFUN_MESSAGE
16172         (Reconfigure): ditto
16173
16174         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16175
16176         * figureForm.C: use LFUN_MESSAGE
16177
16178         * converter.C (runLaTeX): use LFUN_MESSAGE
16179
16180         * bufferview_funcs.C: use LFUN_MESSAGE
16181         (Melt): ditto
16182         (changeDepth): ditto
16183
16184         * bufferparams.h: use boost::
16185
16186         * bufferlist.h: inherit privately from noncopyable
16187
16188         * bufferlist.C (loadLyXFile): remove some commented code.
16189
16190         * buffer.C (runChktex): use LFUN_MESSAGE
16191
16192         * ShareContainer.h: inherit privately from noncopyable
16193
16194         * ParagraphParameters.[hC] (depth): inline it.
16195
16196         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16197         methods.
16198         (message): new method
16199         (messagePush): ditto
16200         (messagePop): ditto
16201         (show): init minibuffer
16202         (showState): direct call
16203
16204         * LaTeX.[Ch]: inherit privately from noncopyable
16205         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16206         instead of WriteStatus.
16207
16208         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16209
16210         * BufferView_pimpl.C (buffer): don't init minibuffer
16211         (workAreaButtonPress): use LFUN_MESSAGE
16212         (workAreaButtonRelease): ditto
16213         (savePosition): ditto
16214         (restorePosition): ditto
16215         (MenuInsertLyXFile): ditto
16216         (workAreaExpose): don't init minibuffer
16217         (update): remove commented code, simplify
16218
16219         * BufferView2.C (openStuff): use LFUN_MESSAGE
16220         (toggleFloat): ditto
16221         (menuUndo): ditto
16222         (menuRedo): ditto
16223         (copyEnvironment): ditto
16224         (pasteEnvironment): ditto
16225         (copy): ditto
16226         (cut): ditto
16227         (paste): ditto
16228         (gotoInset): ditto
16229         (updateInset): remove some commented code
16230
16231         * lastfiles.h: inherit privately from noncopyable
16232         * layout.h: ditto
16233         * lyx_gui.h: ditto
16234         * lyx_main.h: ditto
16235         * lyxlex.h: ditto
16236         * lyxlex_pimpl.h: ditto
16237
16238         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16239         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16240         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16241
16242         * LyXAction.h: inherit privately from noncopyable, add methods
16243         func_begin, func_end, returning iterators to the func map.
16244
16245         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16246         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16247         (func_begin): new method
16248         (func_end): new method
16249
16250         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16251         and not)
16252         (copySelection): ditto
16253         (pasteSelection): ditto
16254
16255         * BufferView.C: whitespace change
16256         * BufferView.h: inherit privately from noncopyable
16257
16258 2001-04-16  Allan Rae  <rae@lyx.org>
16259
16260         * tabular-old.C (l_getline):
16261         * spellchecker.C (sc_check_word):
16262         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16263         an unrecognised preprocessor directive.  So ensure they're wrapped.
16264
16265 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16266
16267         * src/exporter.C (Export): Give an error message when path to file
16268         contains spaces.
16269
16270 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16271
16272         * LaTeX.C (deplog): Always check that foundfile exists.
16273
16274 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16275
16276         * lyx_main.h:
16277         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16278
16279 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16280
16281         * tabular.[Ch] (getLabelList): implement new method
16282
16283         * minibuffer.h: comment ouf setTiimer
16284
16285         * minibuffer.C (ExecutingCB): constify res
16286         (peek_event): constify s
16287         (Set): constify ntext
16288         (Init): constify nicename
16289
16290         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16291
16292         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16293         (savePosition): use two params to Minibuffer::Set
16294         (restorePosition): ditto
16295
16296 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16297
16298         * lyx_main.C: include language.h
16299
16300         * Makefile.am (lyx_main.o): add language.h
16301
16302 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16303
16304         * exporter.C:
16305         * paragraph.C:
16306         * screen.C:
16307         * tabular.C:
16308         * CutAndPaste.C: include gettext.h
16309
16310         * lyxfont.h: remove old hack with ON and OFF.
16311
16312         * lyxparagraph.h:
16313         * lyxfont.h: do not include language.h...
16314
16315         * BufferView2.C:
16316         * LaTeXFeatures.C:
16317         * Painter.C:
16318         * bufferview_funcs.C:
16319         * font.C:
16320         * lyxfont.C:
16321         * text.C:
16322         * text2.C:
16323         * trans_mgr.C:
16324         * paragraph.C: ... but do it here instead
16325
16326 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16327
16328         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16329
16330         * tabular.C: small reformat
16331
16332         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16333         NEW_INSETS version
16334         (GetChar): ditto
16335         (BreakParagraph): ditto
16336         (SetOnlyLayout): ditto
16337         (SetLayout): ditto
16338
16339         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16340         with one arg less.
16341
16342         * lastfiles.C: removed most using decl, add std:: where needed
16343
16344         * buffer.C: ws changes
16345
16346         * MenuBackend.C (class compare_format): put into anon namespace
16347         (expand): constify label, names, action, action2
16348         (expand):
16349
16350         * text.C (SingleWidth): constify font
16351         (IsBoundary): constify rtl2
16352         (GetVisibleRow): constify ww
16353
16354         * LaTeX.C (deplog): constify logfile
16355
16356         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16357         start_x, end_x
16358         (workAreaExpose): constify widthChange, heightChange
16359
16360         * lyxrow.C (par): moved
16361         (height): moved
16362         (next): moved
16363         * lyxrow.h: as inlines here
16364
16365         * lyxfont.h (shape): moved from lyxfont.C
16366         (emph): moved from lyxfont.C
16367
16368         * lyxfont.C (LyXFont): use initialization list for all
16369         constructors
16370         (shape): move to lyxfont.h as inline
16371         (emph): move to lyxfont.h as inline
16372
16373
16374 2001-04-04  Juergen Vigna  <jug@sad.it>
16375
16376         * vspace.C: had to include stdio.h for use of sscanf
16377
16378 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16379
16380         * BufferView.h:
16381         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16382         independent of xforms.
16383
16384 2001-04-02  Juergen Vigna  <jug@sad.it>
16385
16386         * spellchecker.C: fixed namespace placing!
16387
16388 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16389
16390         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16391         the LyXParagraph * is 0.
16392
16393 2001-03-29  Juergen Vigna  <jug@sad.it>
16394
16395         * vspace.C: added support for %, c%, p%, l%.
16396         (stringFromUnit): added helper function.
16397         (asLatexString): changed to give right results for the %-values.
16398
16399         * buffer.C: convert the widthp in a width%.
16400
16401 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16402
16403         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16404         figureForm.[Ch].
16405
16406         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16407         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16408
16409         * lyx_cb.[Ch]: see above.
16410
16411         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16412         form1.[Ch].
16413
16414         * form1.[Ch]:
16415         * lyx.[Ch]: replaced by figure_form.[Ch].
16416
16417         * lyx_gui.C:
16418         * lyx_gui_misc.C:
16419         * lyxfunc.C: changed headers associated with above changes.
16420
16421 2001-03-27  Juergen Vigna  <jug@sad.it>
16422
16423         * BufferView_pimpl.C: set the temporary cursor right!
16424
16425 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16426
16427         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16428
16429 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16430
16431         * LString.h: removed "using std::getline"!
16432
16433         * BufferView_pimpl.C (Dispatch): changes due to changes in
16434         InsetInclude::Params.
16435
16436         * buffer.C (tag_name): removed redundant break statements as they were
16437         producing lots of warnings with my compiler.
16438
16439 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16440
16441         * LString.h: add "using std::getline" when using the real <string>.
16442
16443 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16444
16445         * buffer.C: removed bitset usage.
16446         PAR_TAG moved to an anonymous name space.
16447         (tag_name): new funtion, also in the anonymous namespace.
16448         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16449         (makeDocBookFile): clean code. Completed transition from string arrays
16450         to string vectors.
16451         (SimpleDocBookOnePar): code clean.
16452
16453 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16454
16455         * tabular.C: add some comments.
16456
16457 2001-03-22  Juergen Vigna  <jug@sad.it>
16458
16459         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16460         compatibility read a bit and fixed bug with minipage in different
16461         depth.
16462
16463 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16464
16465         * buffer.C (pop_tag): removed.
16466         (push_tag): removed.
16467         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16468         array replaced with vector. Added support for CDATA sections.
16469         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16470         at any nest level.
16471         (makeDocBookFile): XML conformant declaration of CDATA section,
16472         fixed bug related to <emphasis> in the first paragraph char.
16473         (sgmlOpenTag): exclude empty tags.
16474         (sgmlCloseTag): ditto.
16475
16476         * buffer.h (pop_tag): removed.
16477         (push_tag): removed.
16478
16479 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16480
16481         * language.h (Languages): added size_type and size().
16482
16483 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16484
16485         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16486         response on compability reading of minipages. One probliem is that
16487         the old usage of minipages was «flertydig»
16488
16489         * several files here and in subdirs: don't use static at file
16490         scope use anon namespaces instead.
16491
16492 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16493
16494         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16495         LaTeX output. This is necessary for Literate document
16496         processing.
16497
16498 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16499
16500         * buffer.C: insert hfill when needed.
16501
16502         * tabular.C (l_getline): use string::erase, small whitespace change.
16503
16504         * BufferView_pimpl.C: try the anon namespace.
16505         * WorkArea.C: ditto
16506
16507 2001-03-16  Juergen Vigna  <jug@sad.it>
16508
16509         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16510         otherwise it won't open options-dialogs.
16511
16512         * buffer.C: honor pextraWidth(p) on converting minipages.
16513
16514         * tabular.C (l_getline): changed the functions to strip trailing \r.
16515
16516 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16517
16518         * BufferView_pimpl.C:
16519         * minibuffer..C: added "using SigC::slot" declaration.
16520
16521 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16522
16523         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16524
16525         * text2.C: ditto
16526
16527         * text.C: ditto
16528
16529         * paragraph.C: ditto
16530
16531         * lyxtext.h: NO_PEXTRA
16532
16533         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16534
16535         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16536         * ParameterStruct.h: ditto
16537         * ParagraphParameters.h: ditto
16538         * lyxparagraph.h: ditto
16539
16540 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16541
16542         * buffer.C: add compability for minipage alignment.
16543         (latexParagraphs): remove unwanted pextra check.
16544
16545         * several files: remove CXX_WORKING_NAMESPACES
16546
16547         * buffer.C (pop_tag): tie is in namespace boost
16548
16549         * BufferView.h: noncopyable is in namespace boost
16550         * lyxlex.h: ditto
16551         * lyx_main.h: ditto
16552         * lyx_gui.h: ditto
16553         * layout.h: ditto
16554         * lastfiles.h: ditto
16555         * bufferlist.h: ditto
16556         * ShareContainer.h: ditto
16557         * LyXView.h: ditto
16558         * LyXAction.h: ditto
16559         * LaTeX.h: ditto
16560
16561 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16562
16563         * Merging changes from BRANCH_MVC back into HEAD.
16564
16565         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16566
16567 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16568
16569         * BufferView_pimpl.C: change from intl.C
16570
16571         * combox.h:
16572         * combox.C:
16573         * Makefile.am: move combox.*
16574
16575         * form1.h:
16576         * form1.C:
16577         * lyx_gui.C:
16578         * intl.h:
16579         * intl.C: remove dialog (covered by prefs)
16580
16581 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16582
16583         * lyxfunc.C (Dispatch): removed redundant break statement.
16584
16585 2001-03-14  Juergen Vigna  <jug@sad.it>
16586
16587         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16588
16589 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16590
16591         * buffer.C: add hack to fix compability reading of minipages.
16592
16593 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16594
16595         * buffer.C (getLists): Cleanup.
16596
16597 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16598
16599         * lyxfont.C (update): don't honor toggleall on font size.
16600
16601 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16602
16603         * bmtable.c:
16604         * bmtable.h:
16605         * Makefile.am: moved to frontends/xforms/
16606
16607         * lyx_gui_misc.C:
16608         * lyxfunc.C:
16609         * BufferView_pimpl.C: changes for moved mathpanel
16610
16611 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16612
16613         * gettext.h: fix gettext_init() in --disable-nls
16614
16615 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16616
16617         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16618
16619 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16620
16621         * lyx.C:
16622         * lyx.h: strip external form
16623
16624 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16625
16626         * BufferView_pimpl.C: add comment, destroySplash()
16627
16628 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16629
16630         * BufferView_pimpl.C:
16631         * LyXAction.C:
16632         * buffer.C:
16633         * commandtags.h:
16634         * lyxfunc.C: use re-worked insetinclude
16635
16636 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16637
16638         * buffer.C: add using std::stringstream.
16639
16640         * lyx_cb.C: readd using std::ios.
16641
16642         * buffer.C: add using std::map.
16643
16644         * BufferView_pimpl.C: add using std::vector.
16645
16646         * ShareContainer.h: add std:: to swap.
16647
16648         * buffer.h: add some typedefs
16649         * buffer.C (getLists): use them
16650         (getLists): renamed from getTocList.
16651         add a counter for the different float types and use it in the
16652         generated string.
16653         (getLists): use the same counter for the NEW_INSETS and the "non"
16654         NEW_INSETS
16655
16656         * lyx_cb.h: remove unused items, includes, using etc.
16657
16658         * ShareContainer.h: remove some commented code, add more comments
16659         and "documentation".
16660
16661 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16662
16663         * buffer.C (getTocList): make the list also when NEW_INSETS is
16664         defined.
16665
16666         * buffer.h: remove TocType
16667
16668         * buffer.C (getTocList): change to return a map<string,
16669         vector<TocItem> >, implement for dynamic number of list.
16670
16671         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16672         * text2.C (PasteSelection): adjust
16673         * CutAndPaste.C (pasteSelection): adjust
16674
16675         * FloatList.C (FloatList): update from the new_insets branch.
16676         * Floating.[Ch]: ditto
16677         * LaTeXFeatures.C: ditto
16678         * buffer.C: ditto
16679         * lyxlex_pimpl.C: ditto
16680
16681         * paragraph.C (Last): remove when NEW_INSETS is defined.
16682
16683         * other file: changes because of the above.
16684
16685 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16686
16687         * lyxparagraph.h: rename next to next_, previous to previous_,
16688         make them private for NEW_INSETS. Rename Next() to next(),
16689         Previous() to previous().
16690
16691         * other files: changes because of the above.
16692
16693 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16694
16695         * BufferView.h:
16696         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16697         problem.
16698
16699 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16700
16701         * main.C (main): pass lyx_localedir to gettext_init().
16702
16703         * gettext.h: remove locale_init and gettext_init macros
16704
16705         * gettext.C (locale_init): new function
16706         (gettext_init): new function
16707
16708         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16709         setlocale().
16710
16711 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16712
16713         * Moved credits to frontends:
16714         * credits.[Ch]: removed
16715         * credits_form.[Ch]: removed
16716         * lyx_gui_misc.C: remove credits stuff
16717         * Makefile.am:
16718
16719 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16720
16721         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16722
16723         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16724         unneeded destructor.
16725
16726         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16727         a standalone pointer again.
16728
16729         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16730
16731 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16732
16733         * Makefile.am:
16734         * filedlg.h:
16735         * filedlg.C:
16736         * LyXAction.C:
16737         * ToolbarDefaults.C:
16738         * bufferlist.C:
16739         * commandtags.h:
16740         * form1.C:
16741         * form1.h:
16742         * lyx_cb.C:
16743         * lyx_cb.h:
16744         * lyxfunc.h:
16745         * lyxfunc.C:
16746         * BufferView_pimpl.C: use new file dialog in GUII
16747
16748         * lyx_cb.h:
16749         * lyx_cb.C: remove LayoutsCB to Toolbar
16750
16751 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * ShareContainer.h (get): add std:: qualifier
16754
16755 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16756
16757         * ShareContainer.h: define a proper ShareContainer::value_type
16758         type (and use typename to please compaq cxx)
16759
16760 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16761
16762         * lyxparagraph.h: move serveral local vars to
16763         ParameterStruct/ParagraphParameters., use ShareContainer in
16764         FontTable., make vars in FontTable private and add getter and
16765         setter.
16766
16767         * paragraph.C: changes because of the above.
16768
16769         * lyxfont.h: remove copy constructor and copy assignment. (the
16770         default ones is ok), move number inside FontBits. move inlines to
16771         lyxfont.C
16772
16773         * lyxfont.C: add number to initializaton of statics, move several
16774         inlines here. constify several local vars. some whitespace
16775         cleanup. Dont hide outerscope variables.
16776
16777         * Spacing.h: add two new constructors to match the set methods.
16778
16779         * ShareContainer.h: new file, will perhaps be moved to support
16780
16781         * ParameterStruct.h: new file
16782
16783         * ParagraphParameters.h: new file
16784
16785         * ParagraphParameters.C: new file
16786
16787         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16788         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16789
16790         * BufferView_pimpl.C: ParagraphParameter changes.
16791         * buffer.C: Likewise.
16792         * bufferview_funcs.C: Likewise.
16793         * text.C: Likewise.
16794         * text2.C: Likewise.
16795
16796 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16797
16798         * lyxfind.C (LyXReplace): do not redefine default argument in
16799         implementation.
16800         (IsStringInText): ditto
16801         (SearchForward): ditto
16802         (SearchBackward): ditto
16803
16804 2001-03-06  Juergen Vigna  <jug@sad.it>
16805
16806         * lyxfind.C (IsStringInText): put parentes around expressions.
16807
16808 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16809
16810         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16811
16812 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16813
16814         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16815
16816         * stl_string_fwd.h: add comment
16817
16818         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16819
16820         * tabular.h:
16821         * tabular.C: remove unused DocBook methods
16822
16823         * intl.C:
16824         * language.C:
16825         * paragraph.C:
16826         * buffer.C:
16827         killed DO_USE_DEFAULT_LANGUAGE
16828
16829 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * lyx_gui.C: do not include language.h.
16832
16833         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16834         arguments in function implementation.
16835
16836 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16837
16838         * BufferView_pimpl.C: add <ctime>
16839
16840 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16841
16842         * BufferView_pimpl.C: add using std::find_if
16843
16844 2001-02-27  José Matos  <jamatos@fep.up.pt>
16845
16846         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16847         by OnlyPath.
16848
16849 2001-02-11  José Matos  <jamatos@fep.up.pt>
16850
16851         * buffer.C (makeDocBookFile): command styles now have a parameter as
16852         "title" by default.
16853
16854 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16855
16856         * layout_forms.[Ch]: removed
16857         * lyx_cb.[Ch]: out character
16858         * lyx_gui.C: out character
16859         * lyx_gui_misc.C: out character
16860         * bufferview_funcs.C: : out character,
16861         added toggleall as parameter in ToggleAndShow
16862
16863 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16864
16865         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16866
16867         * text2.C (SetCurrentFont): Disable number property at boundary.
16868
16869 2001-02-26  Juergen Vigna  <jug@sad.it>
16870
16871         * lyxfunc.C (getStatus): added a string argument override function so
16872         that this is correctly called from LyXFunc::Dispatch if it contains a
16873         do_not_use_argument which is used!
16874         (Dispatch): added check for "custom" export and call appropriate func.
16875
16876 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16877
16878         * lyxrc.C: Add language_command_local, language_use_babel and
16879         language_global_options.
16880
16881         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16882
16883         * buffer.C (makeLaTeXFile): Use language_use_babel and
16884         language_global_options.
16885
16886 2001-02-23  Juergen Vigna  <jug@sad.it>
16887
16888         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16889         which works with LyXText and putted it inside BufferView. Here now we
16890         only call for that part the BufferView::Dispatch() function.
16891
16892         * BufferView.C (Dispatch): added.
16893
16894         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16895         functions which needs to use a LyXText over from LyXFunc.
16896         (MenuInsertLyXFile): added
16897         (getInsetByCode): added
16898         (moveCursorUpdate): added
16899         (static TEXT): added
16900
16901 2001-02-22  Juergen Vigna  <jug@sad.it>
16902
16903         * BufferView_pimpl.C (update): call a status update to see if LyXText
16904         needs it.
16905
16906 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16907
16908         * vc-backend.C (revert): implement for CVS
16909         (getLog): implement for CVS
16910
16911 2001-02-20  Juergen Vigna  <jug@sad.it>
16912
16913         * text2.C (ClearSelection): added BufferView param for inset_owner call
16914
16915         * lyxfunc.C (TEXT): added this function and use it instead of
16916         directly owner->view()-text of getLyXText().
16917
16918 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16919
16920         * src/layout_forms.C: out preamble
16921         * src/layout_forms.h: out preamble
16922         * src/lyx_cb.C: out preamble
16923         * src/lyx_cb.h: out preamble
16924         * src/lyx_gui.C: out preamble
16925         * src/lyx_gui_misc.C: out preamble
16926         * src/lyxfunc.C: connect with guii preamble
16927
16928 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16929
16930         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16931
16932 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16933
16934         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16935         whether to run bibtex.
16936
16937 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16938
16939         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16940
16941 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16942
16943         * Makefile.am (lyx_SOURCES): removed bibforms.h
16944
16945         * vspace.h: doxygen
16946
16947         * text.C (GetVisibleRow): make several local vars const
16948
16949         * tabular.C: small cleanup.
16950
16951         * lyxserver.C (callback): use compare instead of strncmp
16952
16953         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16954         inlines to after class or to paragraph.C
16955
16956         * lyxfont.h: remove friend operator!=
16957
16958         * converter.h: move friend bool operator< to non friend and after
16959         class def.
16960
16961         * combox.h: small cleanup
16962
16963         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16964         to inlines after class def.
16965
16966         * buffer.C (pop_tag): use string operations instead of strcmp
16967
16968         * bmtable.c: doxygen, small cleanup
16969
16970         * LaTeX.h: remove friend operator==
16971
16972 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16973
16974         * screen.C:
16975         * lyxrc.[Ch]:
16976         * lyxfunc.C:
16977         * lyxfont.[Ch]:
16978         * lyx_cb.C:
16979         * intl.[Ch]:
16980         * commandtags.h:
16981         * buffer.C:
16982         * WorkArea.[Ch]:
16983         * LyXAction.C:
16984         * BufferView_pimpl.C:
16985         * BufferView.[Ch]: remove cruft
16986
16987 2001-02-14  Juergen Vigna  <jug@sad.it>
16988
16989         * lyxfunc.C: removed #if 0 unused code
16990
16991         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16992
16993         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16994
16995         * text2.C (SetSelection): added a BufferView * parameter
16996
16997 2001-02-13  Juergen Vigna  <jug@sad.it>
16998
16999         * lyxfunc.C (Dispatch): fixed protected blank problem.
17000         * BufferView2.C (protectedBlank): added LyxText * parameter.
17001
17002         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17003         (AppendColumn): same as above for column_info.
17004
17005         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17006         (moveCursorUpdate): use a LyXText param for support of InsetText.
17007
17008         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17009         (tripleClick): ditto
17010
17011         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17012
17013         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17014
17015         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17016
17017         * text2.C (SetSelection): set correct update status if inset_owner
17018         (ToggleFree): ditto
17019
17020 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17021
17022         * tabular.C: remove some commented code.
17023
17024 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17025
17026         * BufferView_pimpl.C: call hideSplash()
17027
17028         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17029
17030         * include_form.h:
17031         * bibforms.h: remove
17032
17033         * lyxfunc.C:
17034         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17035           add LFUN_CHILD_CREATE
17036
17037         * counters.h: fix tiny typo
17038
17039         * lyx_cb.C:
17040         * lyx.h:
17041         * lyx_gui.C:
17042         * lyx.C: move splash to frontends/xforms/
17043
17044         * lyx_gui_misc.C: move Include and Bibform to frontends
17045
17046         * lyxvc.h: clarify comment
17047
17048         * vspace.C: tiny housekeeping
17049
17050 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17051
17052         * text.C (PrepareToPrint): RTL Fix.
17053
17054         * paragraph.C (GetUChar): New method.
17055         (String):  Use GetUChar.
17056
17057         * buffer.C (asciiParagraph): Use GetUChar.
17058
17059 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17060
17061         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17062
17063 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17064
17065         * buffer.h:
17066         * buffer.C: rename to getLogName(), handle
17067           build log / latex log nicely
17068
17069 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17070
17071         * MenuBackend.C:
17072         * MenuBackend.h: remove support for reference menuitem type.
17073
17074 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17075
17076         * BufferView_pimpl.C: housekeeping
17077         * BufferView_pimpl.h:
17078         * LyXView.h:
17079         * Makefile.am:
17080         * Timeout.C:
17081         * Timeout.h:
17082         * minibuffer.h: move Timeout GUI-I
17083
17084 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17085
17086         * lyxrc.C (read): Update converters data-structures.
17087
17088 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17089
17090         * LaTeX.h (operator!=): add operator != for Aux_Info
17091
17092 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17093
17094         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17095
17096         * LaTeXLog.C: deleted, useful code moved to Buffer
17097
17098         * buffer.h:
17099         * buffer.C: new function getLatexLogName()
17100
17101         * lyx_gui_misc.C:
17102         * lyx_gui.C:
17103         * lyxvc.C:
17104         * lyxvc.h:
17105         * lyxfunc.C: use frontends for LaTeX and VC logs
17106
17107 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17108
17109         * LaTeX.h: yet another std:: that Allan forgot.
17110
17111         * Variables.C (set): renamed from isset(), because this clashes
17112         with some HP-UX macros (grr).
17113
17114 2001-02-06  Allan Rae  <rae@lyx.org>
17115
17116         * LaTeX.h: Another bug fix.  Missing std:: this time.
17117
17118 2001-02-04  Allan Rae  <rae@lyx.org>
17119
17120         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17121         floats problem. I've left it commented out because it's not quite
17122         correct.  It should also test that the current object is a table or
17123         figure inset.  But I haven't gotten around to figuring out how to do
17124         that.  I *think* it'll be something like: "table" == inset.type()
17125
17126         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17127         bool.
17128
17129 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17130
17131         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17132         all the citation/databases/styles in the auxilary file.
17133         (run): Rerun latex if there was a babel language error.
17134
17135 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17136
17137         * text.C (Backspace): Preserve the font when changing newline char
17138         with a space.
17139         (BreakParagraph): If the cursor is before a space, delete the space.
17140
17141         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17142
17143 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17144
17145         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17146         new argument (code).
17147         (ChangeCitationsIfUnique): New method.
17148
17149         * paragraph.C (GetPositionOfInset): Handle bibkey.
17150
17151 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17152
17153         * BufferView_pimpl.h: change type of Position::par_pos to
17154         LyXParagraph::size_type.
17155
17156 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17157
17158         * BufferView_pimpl.C (savePosition, restorePosition): Write
17159         messages to minibuffer.
17160
17161 2001-01-28  José Matos  <jamatos@fep.up.pt>
17162
17163         * buffer.C (makeDocBookFile): adds support for document language.
17164         A silly restriction on the name of LatexCommand types where removed.
17165         Added support for CDATA sections, allows to chars unescaped, used
17166         among others in code, to avoid escape < and >.
17167
17168 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17169
17170         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17171         saved positions instrad of a stack. Furthermore, a position is
17172         stored using paragraph id/paragraph position.
17173
17174         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17175         Remove LFUN_REF_BACK.
17176
17177 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17178
17179         * converter.C (dvipdfm_options): New method.
17180
17181 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17182
17183         * vspace.C (isValidLength): Fix for empty input string.
17184
17185 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17186
17187         * LyXAction.C (init): change description of LFUN_FIGURE to
17188         "Insert Graphics"
17189
17190 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * LaTeX.C: add using directive
17193
17194 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17195
17196         * MenuBackend.C (expand): Fix the sorting of the formats.
17197
17198 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17199
17200         * lyx_main.C: tiny error message fix
17201
17202 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17203
17204         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17205         calling fl_initialize(). This fixes the problem with ',' as
17206         decimal separator in text files.
17207
17208 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17209
17210         * trans.C (process): Fix the keymap bug.
17211
17212 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17213
17214         * LaTeX.C (scanAuxFiles): New method. Provides support for
17215         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17216         (scanLogFile) Scan for "run BibTeX" messages.
17217
17218         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17219         OT1 font encoding. Also, load the aecompl package if the ae
17220         package is loaded.
17221
17222         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17223
17224 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17225
17226         * texrow.C (increasePos): turn two error messages into debug
17227         messages.
17228
17229 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17230
17231         * LaTeX.C (scanAux): Handle the \@input macro.
17232         (runBibTeX): Use scanAux().
17233
17234         * language.C (latex_options_): New field.
17235
17236         * LaTeXFeatures.C (getMacros): Add language macros.
17237
17238         * buffer.C (makeLaTeXFile): Small fix.
17239
17240 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17241
17242         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17243
17244         * text2.C: add a using directive.
17245
17246 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17247
17248         * BufferView2.C:
17249         * lyx_gui_misc.h:
17250         * lyxfr1.C:
17251         * lyxfunc.C: kill LyXBell.
17252
17253 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17254
17255         * text.C (IsBoundary): Remove the error message
17256
17257         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17258
17259         * lyxrc.C (setDefaults): Correct initialization value for
17260         font_norm_type.
17261
17262 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17263
17264         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17265         gotoError().
17266
17267         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17268         and GotoNextNote().
17269
17270         * src/LyXAction.C: Added reference-next.
17271
17272         * text.C (InsertChar): Use contains instead of strchr.
17273
17274         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17275
17276 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17277
17278         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17279         alignment commands (when needed).
17280
17281         * text.C (InsertChar): Add ':' to number separator chars.