]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
1194eb208cf16240b114ff0469210b84d7724e5a
[lyx.git] / src / ChangeLog
1 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
4
5 2005-02-15  Angus Leeming  <leeming@lyx.org>
6
7         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
8         can be used meaningfully in a comparison.
9
10 2005-02-13  André Pönitz  <poenitz@gmx.net>
11
12         * bufferview_funcs.C (coordOffset): improve cursor drawing
13
14 2005-02-13  André Pönitz  <poenitz@gmx.net>
15
16         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
17         * Cursor.C (dispatch): use fixIfBroken
18         * lyxfunc.C (getStatus): use fixIfBroken
19
20 2005-02-15  Angus Leeming  <leeming@lyx.org>
21
22         * lyx_main.C (error_handler):
23         * lyxfunc.C:
24         * lyxrc.C (setDefaults):
25         s/GetEnv/getEnv/.
26         #include "environment.h".
27
28         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
29
30 2005-02-15  Angus Leeming  <leeming@lyx.org>
31
32         * lyxserver.C (startPipe): squash MSVC warning "local variable
33         'fd' used without having been initialized".
34
35 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
36
37         * BufferView_pimpl.C: revert accidental commit.
38
39 2005-02-14  André Pönitz  <poenitz@gmx.net>
40
41         * dociterator.[Ch]: new member forwardPosNoDescent(),
42         which doesn't enter nested insets.
43         * text2.C (setFont): use forwardPosNoDescent() instead
44         of ForwardPos() (fixes crash on font change).
45
46 2005-02-13  Angus Leeming  <leeming@lyx.org>
47
48         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
49         only if lyxrc.path_prefix is not empty.
50
51 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
52
53         * bufferparams.C (readGraphicsDriver): prevent crash
54
55 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * text2.C (setCounter): check for inInset() == 0
58
59 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
62         but use update() to get correct screen display; use convert
63         instead of istringstream. 
64         (getStatus): handle LFUN_GOTO_PARAGRAPH 
65
66         * lyxfunc.C (dispatch, getStatus): do not handle
67         LFUN_GOTO_PARAGRAPH here.
68
69 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
70
71         * text3.C (dispatch): size() -> depth()
72
73         * text2.C: remove some debug output
74
75         * paragraph.C: ws changes only
76
77         * lyxfunc.C (getStatus): size() -> depth()
78
79         * dociterator.h (clear, push_back, pop_back, internalData,
80         operator[], resize, empty): new functions
81         Make StableDocIterator and operator== be friends. Don't inherit
82         from std::vector use a privat class variable slices_ instead.
83         Modify to fit.
84
85         * dociterator.C: update because of not inheriting from std::vector
86         anymore. Call explictly to slices_ instead. Use depth() instead of
87         size() and top() instead of back()
88
89         * cursor.C: chagne size() -> depth and back() -> top(). Also
90         remove some direct operator[](i) calls in favour of foo[i]
91         (getFont): remove some dead code
92
93         * bufferview_funcs.C (coordOffset): size() -> depth()
94
95         * buffer.C: ws changes only
96
97         * CutAndPaste.C (eraseSelection): back() -> top()
98
99         * BufferView_pimpl.C (selectionRequested): back() -> top()
100
101         * BufferView.C (setCursor): size() -> depth()
102
103 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
104
105         * text3.C (cursorPrevious): return true if depm changed something
106         (cursorNext): ditto
107         (dispatch): rename sl to oldTopSlice, remove moving use the new
108         NoUpdate func attrib instead. Make sure that needsUpdate is set
109         for function that have NoUpdate, but where depm might have changed
110         the buffer anyway.
111
112         * text2.C (cursorLeft): make us return true if depm changed
113         something
114         (cursorRight): ditto
115         (cursorUpParagraph): ditto
116         (curosrDownParagraph): ditto
117         (cursorUp, cursorDown): ditto, make sure to read comments in code
118         (deleteEmptyParagraphMechanism): remove an assert, also return
119         true if just a single char was deleted.
120
121         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
122         cursor that we modify, to avoid modifying an active cursor before
123         we call setCursor. This allows depm to run. Also return true if
124         depm deleted something.
125
126         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
127         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
128         cursorDownParagraph, cursorPrevious and cursorNext, return true if
129         something was changed in the buffer because of them (ie. depm run)
130
131         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
132         debug messages. Make update by default be false. Make sure that
133         the result of update is retained throught several calls down to
134         dispatch.
135
136         * LyXAction.h: add a new func_attrib: NoUpdate
137
138         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
139         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
140         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
141         and LFUN_WORDLEFT
142         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
143
144 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
147         bv_->owner(), bv_->buffer() by direct references to the private
148         members.
149         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
150         (getStatus): isSavedPosition() is in BufferView::Pimpl.
151         (fitCursor): center() is in BufferView::Pimpl.
152         (getStatus, trackChanges, dispatch): no need for a temporary buf
153         variable
154         (fitCursor, workAreaDispatch): use workarea().workheight()
155
156 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
157
158         * CutAndPaste.C (pasteSelectionHelper): fix a crash
159
160 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
161
162         * buffer.C: format up to 241.
163         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
164         break if pasting into ERT
165         * lyxfunc.C (getStatus): suppress mathpanel and
166         LFUN_DIALOG_SHOW_NEW_INSET in ERT
167
168 2005-02-01  Angus Leeming  <leeming@lyx.org>
169
170         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
171
172 2005-02-01  Angus Leeming  <leeming@lyx.org>
173
174         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
175         calling fs::is_directory().
176
177 2005-01-31  Angus Leeming  <leeming@lyx.org>
178
179         * lyx_main.C (priv_exec): specify explicitly the relative location
180         of the top level build directory when run in-place.
181
182 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
185         LyXText containing the cursor, not the top-level one.
186
187         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
188         true.
189         (insertStringAsLines): rename par to pit; use temporary variable
190         par to hold a Paragraph; do not store par.layout() in a variable,
191         since the pointer may die when breaking paragraphs; pass pars to
192         breakParagraph() instead of Buffer::paragraphs().
193
194 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
195
196         * lyxlex_pimpl.h: #include <fstream>.
197
198         * BufferView.[Ch] (getLyXText): add a const version.
199
200         * BufferView_pimpl.C: add debug aids.
201
202         * RowList_fwd.h:
203         * buffer.h:
204         * lyxrow.h:
205         * paragraph_funcs.h: add commentary explaining what the class does.
206
207
208         * coordcache.[Ch]: add lots of commentary.
209         (startUpdating, doneUpdating): debug aids.
210         (arrays, insets, parPos, getParPos): accessors to private data.
211
212         * cursor_slice.[Ch] (text): add a const version.
213         * dociterator.[Ch] (text, innerText): add const versions.
214
215         * lyxtext.h (breakParagraph): change the keep_layout arg to a
216         bool.
217
218         * paragraph.C (getRow, pos2ros): add asserts.
219
220         * paragraph.h: add commentary. Lots of.
221
222         * paragraph.[Ch] (metrucs, draw): removed.
223
224         * cursor.C:
225         * rowpainter.[Ch]: const-correct changes.
226
227         * text.C: various obvious clean-ups. Removal of ancient cruft.
228         Bug fixes, even.
229
230 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
231
232         * vc-backend.C (find_file): rewrite to use boost.filesystem
233         (scanMaster): ditto
234
235         * main.C (main): set default name check for boost.filesystem to
236         no check
237
238         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
239         (open): ditto
240         (doImport): ditto
241         (actOnUpdatedPrefs): ditto
242
243         * lyx_main.C (init): rewrite to use boost.filesystem
244         (queryUserLyXDir): ditto
245
246         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
247         (getContentsOfAsciiFile): ditto
248
249         * lastfiles.C (readFile): rewrite to use boost.filesystem
250
251         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
252
253         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
254         (loadLyXFile): ditto
255
256         * buffer.C (Buffer): adjust for destroydir
257         (getLogName): rewrite to use boost.filesystem
258         (setFileName): ditto
259         (save): use fs::copy_file (from fs_extras)
260
261         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
262
263         * LaTeX.C (run): rewrite to use boost.filesystem
264         (scanAuxFiles): ditto
265         (handleFoundFile): ditto
266
267 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
268
269         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
270
271         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
272
273 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * lyxlayout.[Ch]: change some vars from float to double
276
277         * buffer.C (readFile): make a local var const
278
279         * Several files: use convert<> instead of atoi,strToXXX and friends
280
281 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
282
283         * LaTeXFeatures.[Ch]: Add a static list packages_ that
284         holds the contents of packages.lst. New functions getAvailable
285         and isAvailable to parse and check that list, resp.
286
287         * LyXAction.C:
288         * lfuns.h:
289         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
290
291         * bufferparams.[Ch]: new param output_changes.
292
293         * Buffer.C: increase file format to 240.
294         Use output_changes and isVailable.
295
296         * changes.[Ch]:
297         * paragraph.C:
298         * paragraph_pimpl.C: Use output_changes and isVailable.
299
300 2005-01-23  Angus Leeming  <leeming@lyx.org>
301
302         * output_latex.C: #include "insetbibitem.h", rather than
303         forward declare function bibitemWidest.
304
305 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
306
307         * lyx_main.C (init): make it compile on the Mac.
308
309 2005-01-20  Angus Leeming  <leeming@lyx.org>
310
311         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
312         (setLyXMisc): (char string literal) != (char string literal) is
313         performing a comparison on the addresses. Convert one operand
314         explicitly to string to guarantee expected behaviour.
315         From MSVC warning.
316
317 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
318
319         * buffer.C:
320         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
321
322         * output_plaintext.C: remove unneeded #include gzstream.h.
323
324 2005-01-20  Angus Leeming  <leeming@lyx.org>
325
326         * SpellBase.h: rename some of the elements of the Result enum.
327
328         * aspell_local.h:
329         * ispell.h:
330         * pspell.h:
331         * aspell.C (check):
332         * ispell.C (check):
333         * pspell.C (check): ditto
334
335 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
336
337         * buffer.C: add #include <fstream>.
338
339         * lyx_main.C (init): Compile fix.
340
341         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
342
343 2005-01-20  Angus Leeming  <leeming@lyx.org>
344
345         * mover.h: change commentary to reflect the changed meaning of
346         the $$s placeholder.
347
348 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * output_linuxdoc.C (linuxdocParagraphs): silence warning
351
352         * lyxfind.C (MatchString::operator()): remove bogus semicolon
353
354 2005-01-20  Angus Leeming  <leeming@lyx.org>
355
356         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
357         printing diagnostic data by not dereferecing an iterator past the
358         end.
359
360 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
361
362         * buffer.C (readHeader): use "&&" rather than "and".
363
364         * lyxserver.h (inPipeName, outPipeName): make these const.
365
366 2005-01-19  Angus Leeming  <leeming@lyx.org>
367
368         * lyx_main.C (error_handler, init): protect SIGHUP with
369         #ifdef SIGHUP guards.
370
371 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
374
375 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * text.C (setHeightOfRow): add a margin at the top and bottom of
378         the document (bug 1761)
379
380 2005-01-17  Angus Leeming  <leeming@lyx.org>
381
382         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
383         with "python ". Workaround for a brain-dead Windows.
384
385 2005-01-16  Angus Leeming  <leeming@lyx.org>
386
387         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
388         for MacOSX and Windows to use prependEnvPath.
389         Strip out the hard-coded block to add elements to the PATH for
390         MacOSX and replace it with a call to prependEnvPath using the
391         contents of LyXRC::path_prefix.
392         (queryUserLyXDir): strip out the code to run reconfigure, instead
393         returning a boolean indicating the necessity to do so.
394         (reconfigureUserLyXDir): contains the code to reconfigure the
395         user support directory. Is now called after the various LyXRC data
396         files have been read.
397
398         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
399
400 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
401
402         * converter.[Ch] (convert): take a new parameter try_default. Use
403         a default converter (imagemagick) if try_default is true.
404
405 2005-01-13  Angus Leeming  <leeming@lyx.org>
406
407         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
408         os::cygwin_path_fix.
409         (write): output LyXRC::cygwin_path_fix as necessary.
410
411 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
412
413         * lyxrc.h:
414         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
415
416 2005-01-12  Angus Leeming  <leeming@lyx.org>
417
418         * lyx_main.C (init): set the PATH variable to include the
419         directory containing the LyX binary when running on Mac or Windows.
420
421 2005-01-12  Angus Leeming  <leeming@lyx.org>
422
423         * lyx_main.C (init): remove cruft that purports to set the locale
424         dir. It doesn't and is not needed anyway.
425
426 2005-01-10  Angus Leeming  <leeming@lyx.org>
427
428         * Makefile.am: remove the lyx_main.C special casing.
429
430         * BufferView_pimpl.C:
431         * bufferlist.C:
432         * exporter.C:
433         * lyx_cb.C:
434         * lyx_main.C:
435         * lyxfunc.C:
436         * messages.C: use support/package.h to provide the paths to the
437         various directories used by LyX.
438
439 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
440
441         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
442         layout if pasting into an empty paragraph)
443
444 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
445
446         * tex-accent.C: add <string>
447
448 2005-01-06  José Matos  <jamatos@lyx.org>
449
450         * ParagraphParameters.C (write): put every parameter in its own line.
451         * paragraph.C (write): reduce number of consecutive empty lines exported.
452         * buffer.C (LYX_FORMAT): increase file format to 239.
453
454 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
455
456         * everywhere: change support/tostr.h -> support/convert.h
457
458         * tabular.C: make all write_attributes templates, tostr -> convert
459
460         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
461         (emptyTag): and -> &&, and fix type for ret from getChar
462         (getFirstWord): fix type for ret from getChar
463         (onlyText): and -> &&
464         (simpleDocBookOnePar): and not -> && !, fix type for ret from
465         getChar
466
467         * toc.C (goTo, action):
468         * text3.C (dispatch):
469         * text.C (currentState):
470         * tex-accent.C (DoAccent):
471         * sgml.C:
472         * lyxrc.C:
473         * lyxfunc.C (menuNew):
474         * lyxfinc.C (replace):
475         * counters.C (laberItem):
476         * bufferview_funcs.C (font2string):
477         * bufferparams.C (writeFile):
478         * buffer.C (readFile):
479         * Spacing.C (set):
480         * MenuBackend.C: tostr -> convert
481
482         * LaTeX.C (runMessage): fix format
483         (scanAuxFiles): tostr -> convert
484
485         * BufferView_pimpl.C (savePosition): fix format
486         (restorePosition): ditto
487         (dispatch): ditto
488
489 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
490
491         * Spacing.[Ch]: New method getValueAsString().
492
493         * Spacing.[Ch]:
494         * bufferparams.C:
495         * ParagraphParameters.C:
496         * lyxlayout.C:
497         * text.C:
498         * text3.C: store/read spacing value as string.
499
500         * rowpainter.C: change float value (spacing_val) to double.
501
502         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
503         broken custom document spacing).
504
505 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
506
507         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
508         namespace, also more use of temp references and const
509
510         * cursor.[Ch] (getStatus): move to lyxfunc.C
511
512         * bufferparams.C: reformat slightly
513
514         * bufferview_funcs.C (font2string): constify arg
515
516         * changes.C:
517         * converter.C:
518         * counters.C:
519         * bufferlist.C:
520         * buffer_funcs.C: (many funcs): constify arg on function
521         definitions, also make more local vars const, also add ASSERTS on
522         pointer args.
523
524         * buffer.C (LYX_FORMAT): put const in correct place
525         (many funcs): constify arg on function definitions, also make
526         more local vars const
527
528         * aspell_local.h: remove "struct" from typdef setup
529
530         * aspell.C (check): make word_ok const
531         (nextMiss): simplify slightly
532         (error): ditto
533
534 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * lyxrc.[Ch]: store all float values as strings.
537         use int (not float) for lyxrc.dpi.
538
539 2005-01-04  Angus Leeming  <leeming@lyx.org>
540
541         * lyx_cb.C (Reconfigure):
542         * lyx_main.C (queryUserLyXDir):
543         to run the <system_lyxdir>/configure correctly on Windows, prefix
544         the path to the script with "sh " when generating the string that
545         is passed to system().
546
547 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
548
549         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
550
551 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * lyxlength.C (asLatexString): get rid of setprecision
554
555 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * text2.C (setLayout): remove unused variable endpit.
558         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
559
560         * paragraph.C (onlyText): remove unused variable style.
561
562         * cursor.C (bruteFind): remove unused variables beg and end.
563
564         * Makefile.am (dist_noinset_DATA): not needed anymore
565
566         * cheaders/*: remove.
567
568 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
569
570         * text3.C: fix LFUN_MATH_MODE.
571
572 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * buffer_funcs.C (countWords): new function. Counts words between
575         two iterators.
576
577         * BufferView_pimpl.C (getStatus, dispatch): handle
578         LFUN_WORDS_COUNT.
579
580         * LyXAction.C (init):
581         * lfuns.h: add LFUN_WORDS_COUNT.
582
583 2004-12-19  Angus Leeming  <leeming@lyx.org>
584
585         * buffer.C (save): s/slashify_path/internal_path/.
586
587 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
588
589         * lyxfind.C (findChange): do not search for end of pars, because
590         the change tracker cannot handle this (fixes bug 1719).
591
592 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
593
594         * paragraph.[Ch] (autoBreakRows): remove
595
596         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
597
598         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
599         avoid using the paragraph one
600
601         * text2.C (LyXText, insertStringAsLines): adjust
602
603 2004-12-16  Angus Leeming  <leeming@lyx.org>
604
605         * bufferlist.C:
606         * lyx_main.C:
607         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
608
609 2004-12-14  Angus Leeming  <leeming@lyx.org>
610
611         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
612
613         * bufferlist.C (emergencyWrite):
614         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
615         GetEnvPath("HOME").
616
617 2004-12-14  Angus Leeming  <leeming@lyx.org>
618
619         * main.C: (main): no longer pass pointers to os::init.
620
621 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
622
623         * undo.C (textUndoOrRedo): simplify logic, fix a crash
624         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
625
626 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
627
628         * lyxfunc.C:
629         * text3.C: remove selection_possible global flag
630
631 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
632
633         * text2.C (getSelectionSpan): remove
634         (changeDepth, changeDepthAllowed): adjust
635
636 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
637
638         * Makefile.am (BOOST_LIBS): use boost variables
639
640 2004-12-03  José Matos  <jamatos@lyx.org>
641
642         * buffer.C: format up to 238.
643
644 2004-12-03  José Matos  <jamatos@lyx.org>
645
646         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
647
648 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
649
650         * cursor.C (goUpDown): remove call to idxUpDown2
651
652 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
653
654         * tabular.[Ch]: use size_t-like types for cell, row and column
655         indices
656
657 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         * lyxfunc.C (getStatus): do not lose previous information when
660         calling BufferView::getStatus; do not set a default "Command
661         disabled" message at the beginning, but just before returning.
662
663 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
664
665         * cursor.h (getStatus): add better comment from src/cursor.C
666
667 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668
669         * text3.C (getStatus): return false when the lfun is not handled
670
671 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * broken_headers.h: remove
674
675         * Makefile.am (lyx_SOURCES): remove broken_headers.h
676
677 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
678
679         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
680         offset_ref accessors
681
682         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
683         top_y_, merge fitcursor with update
684         (updateScrollbar, scrollDocView, fitCursor, center, update): new
685         coord scheme
686         (metrics): introduce
687         (workAreaDispatch): adapt to new coord scheme
688         (redoCurrentBuffer): remove
689
690         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
691
692         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
693         CurStatus enum.
694
695         * coordcache.[Ch]: add paragraph cache and helpers
696
697         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
698         adjust everywhere
699
700         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
701         (targetX, setTargetX): introduce
702
703         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
704         baseline -> ascent, as the rest of lyx
705
706         * lyxtext.h: remove redoParagraphs, updateParPositions,
707         fullRebreak, redoParagraphInternal. move dist to anon namespace in
708         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
709         have ascent/descent (ascent is ascent of first par)
710
711         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
712         step of BufferView
713
714         * paragraph.[Ch]: unify dimension handling with the rest of lyx
715
716         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
717
718         * pariterator.C: fix infinite loop introduced in par->pit renaming
719
720         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
721         in insets and LyXText, draw two off-screen paragraphs using
722         NullPainter, and adapt to new coord scheme
723
724         * text.C:
725         * text2.C:
726         * text3.C: adapt lfun handlers to the new coord scheme, which
727         means: there's only guaranteed coord information for onscreen pars
728         plus one above and one below. This implies that one can do search
729         from y coordinates in the range [-1,workHeight]
730
731 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
732
733         * rename a lot of InsetOld to InsetBase
734
735 2004-11-25  Angus Leeming  <leeming@lyx.org>
736
737         * BufferView_pimpl.C:
738         * lyx_cb.C:
739         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
740
741 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
744         call BufferView::getStatus if LCursor::getStatus did nothing
745         (setStatusMessage, getStatusMessage): removed.
746
747         * FuncStatus.C (message): new methods. Used to provide an error
748         message indicating why a command is disabled.
749         (clear, |=, FuncStatus): update for message.
750
751 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
752
753         * lyxfunc.C (dispatch): always call sendDispatchMessage
754
755 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
756
757         * BufferView.C:
758         * BufferView_pimpl.C:
759         * CutAndPaste.C:
760         * FontIterator.C:
761         * buffer.C:
762         * cursor.C:
763         * cursor_slice.[Ch]:
764         * dociterator.[Ch]:
765         * lyxfind.C:
766         * paragraph_funcs.C:
767         * pariterator.C:
768         * rowpainter.C:
769         * text.C:
770         * text2.C:
771         * text3.C:
772         * undo.C: par->pit renaming
773
774 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
775
776         * tabular.C (cellstruct): use initialization, store a shared_ptr
777         to insettext instead of the insettext directly, adjust to fit.
778         (operator=):  new function
779         (swap): new function
780         (rowstruct): use initialization
781         (columnstruct): use initialization
782         (ltType): use initialization
783
784
785         * lyxlength.h (swap): new function
786
787         * LColor.[Ch] (operator=): use the common semantics
788
789 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * lyxfind.C (findNextChange): update the bufferview after setting
792         the selection.
793
794 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
797         number of InsetOptArgs has already been inserted.
798
799         * output_latex.C (latexOptArgInsets): new method. This outputs all
800         the optarg insets, up to the limit defined in the layout file.
801         (optArgInset): removed
802         (TeXOnePar): call latexOptArgInsets; correctly update texrow
803
804 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
805
806         * paragraph.C (isLetter): remove special spellchecker-related
807         code; return true also for digits
808         (isWord, isKomma): remove
809
810         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
811         * lyxfind.C (MatchString()): use isLetter instead of isWord
812
813 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
814
815         * pariterator.h (operatir=): comment out un-implemented member
816         function.
817
818         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
819         static cast.
820
821 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
822
823         * lyxfont.h: include LColor.h to satisfy concept checks.
824
825 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
826
827         * pariterator.h: add typdefs for value_type, difference_type,
828         pointer and reference to satisfy concept checks. Also add default
829         constructor for same reason.
830
831         * pariterator.C (operator++): add post-increment operator to
832         satisfy concept checks.
833
834         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
835         checks.
836
837         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
838
839         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
840         checks. Also rename base_type to BaseType to follow naming
841         standard better.
842
843         * FloatList.h: include Floating.h to satisfy concept checks.
844
845 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * lyxfunc.C (getStatus): when the origin of the request is menu or
848         toolbar, and the LyXView does not have focus, do as if there was
849         no buffer (bug 1720)
850
851         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
852         FuncRequest to individual entries of LFUN_SEQUENCE
853
854 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
855
856         * output_latex.C (TeXOnePar): override runparams.moving_arg
857         according to the needprotect value of the current paragraph (bug
858         1739)
859
860         * paragraph.C (simpleTeXOnePar): no need to override
861         runparams.moving_args here
862
863 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
864
865         * vspace.C: fix off-by-one-error, related to fix #1682
866
867 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
868
869         * lengthcommon.C: a more general fix for bug 1682
870
871 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
872
873         * text.C (backspace): fix crash
874
875 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
876
877         * format.[Ch] (getFormatFromFile): new method
878         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
879
880 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
883
884 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
885
886         * lyxfunc.C (dispatch): remove the verbose argument
887         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
888         instead
889
890         * kbmap.C (defkey): set the origin of func to KEYBOARD
891
892         * MenuBackend.C (MenuItem):
893         * ToolbarBackend.C (add): set the origin of func to UI
894
895         * funcrequest.[Ch]: add origin member, which indicates which part
896         of LyX requests an action
897
898 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
899
900         * converter.C (move): don't lie in the error message
901         * converter.h (isReachable, move): document
902
903 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
904
905         * buffer.C: remove unused using lyx::support::atoi
906         * paragraph_funcs.C: ditto
907
908 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
909
910         * bufferlist.C (exists): use bind and equal_to instead of
911         compare_memfun
912         (getBuffer): ditto
913         * lyxtextclasslist.C (NumberOfClass): ditto
914
915         * cursor.C (insert): use for_each instead of explicit for loop
916
917         * bufferlist.C (getFileNames): use std::transform and
918         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
919
920         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
921         for loop
922
923         * buffer.C (changeLanguage): use for_each instead of explicit for
924         loop
925         (hasParWithID): implement using getParFromID
926
927         * LaTeXFeatures.C: ws change only
928
929         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
930         to cleanup a bit.
931
932         * BufferView_pimpl.C (trackChanges): use for_each instead of
933         expilicit for loop
934
935 2004-11-04  André Pönitz  <poenitz@gmx.net>
936
937         * undo.h:
938         * undo.C (textUndoOrRedo): fix crash when creating undo information.
939
940         * dociterator.C (asDocIterator): use hard assert again.
941
942 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * lyxlength.C (asLatexString): rewrite so that it does not use
945         snprintf anymore
946
947 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * text3.C (specialChar, dispatch): make sure cursor moves to the
950         right after inserting an inset
951
952 2004-11-02  José Matos  <jamatos@lyx.org>
953
954         * output_docbook.C (docbook):
955         * paragraph.C (getID):
956         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
957         garantee that the output is always legal.
958
959         * tabular.C (docbook):
960         * outputprams.[Ch]: remove mixed contents.
961
962 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
963
964         * text2.C (setCounter): prevent endless loop
965
966 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
967
968         * exporter.C (copyFile): use the mover instead of support::copy()
969         * exporter.C (Export): pass format and latex name to copyFile()
970         * exporter.h (addExternalFile): document
971         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
972
973 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
974
975         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
976
977 2004-10-30  José Matos  <jamatos@lyx.org>
978
979         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
980         text and no inset or font change. This allows to use CDATA
981         sections just for the whole paragraph.
982
983 2004-10-30  José Matos  <jamatos@lyx.org>
984
985         * paragraph.C (getFirstWord): remove unused variable.
986
987 2004-10-30  José Matos  <jamatos@lyx.org>
988
989         * paragraph.C (getFirstWord): the content should always be escaped
990         there.
991         (simpleDocBookOnePar):
992         * output_docbook.C (makeEnvironment): replace reference to CDATA
993         to style pass_thru.
994
995 2004-10-30  José Matos  <jamatos@lyx.org>
996
997         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
998
999 2004-10-30  José Matos  <jamatos@lyx.org>
1000
1001         * output_docbook.C (makeParagraphs):
1002         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1003         standard paragraph has only a given type of content drop the wrapper.
1004
1005 2004-10-29  José Matos  <jamatos@lyx.org>
1006
1007         * output_docbook.C (makeEnvironment):
1008         * sgml.C (openTag):
1009         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1010
1011 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1012
1013         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1014         (cleanID): sanitize any id.
1015
1016 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1017
1018         * buffer.C, lyxlex_pimpl.C:
1019         * lyxlex_pimpl.C (setFile):
1020         s/getExtFromContents/getFormatFromContents/
1021
1022 2004-10-28  José Matos  <jamatos@lyx.org>
1023
1024         * output_docbook.C (makeEnvironment): move id to broadest possible
1025         scope.
1026
1027         * sgml.C (openTag): apply substitution of <> for all attributes.
1028
1029 2004-10-28  José Matos  <jamatos@lyx.org>
1030
1031         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1032         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1033         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1034
1035         * sgml.[Ch]: new version for open and closeTag for paragraph and
1036         for strings. Now they handle the ids of paragraphs.
1037
1038 2004-10-26  Angus Leeming  <leeming@lyx.org>
1039
1040         * Makefile.am: add mover.[Ch].
1041
1042         * converter.C (convert, move): use the new Movers to move external
1043         files to the temp directory.
1044
1045         * lyx_main.C (init): ensure that the global system_movers data
1046         is initialised.
1047
1048         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1049         preferences file.
1050
1051         * mover.[Ch]: new files, defining a Mover as a utility to move an
1052         external file between directories and, if necessary, manipulate this
1053         file using a helper script.
1054
1055 2004-10-25  José Matos  <jamatos@lyx.org>
1056
1057         * output_docbook.C (makeCommand): merge two if's that tested the
1058         same condition.
1059
1060 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         * sgml.C (escapeString): fix warning in a better way
1063
1064 2004-10-25  José Matos  <jamatos@lyx.org>
1065
1066         * sgml.C (escapeString): import the require boosts header file for
1067         tie, and avoid a signed unsigned comparison.
1068
1069 2004-10-25  José Matos  <jamatos@lyx.org>
1070
1071         * sgml.h: add #include <string>
1072
1073 2004-10-25  José Matos  <jamatos@lyx.org>
1074
1075         * sgml.[Ch] (escapeString): new function to escape all the string.
1076
1077 2004-10-24  José Matos  <jamatos@lyx.org>
1078
1079         * paragraph.[Ch] (getFirstWord): new function to get the first
1080         word. Useful for description.
1081         (simpleDocBookOnePar): remove depth argument, add another that
1082         says where to start the paragraph.
1083
1084         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1085         use the new functions to fix cleanly the support for descriptions.
1086
1087 2004-10-24  José Matos  <jamatos@lyx.org>
1088
1089         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1090         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1091         * output_linuxdoc.C (linuxdocParagraphs):
1092         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1093         add buffer as argument.
1094
1095 2004-10-24  José Matos  <jamatos@lyx.org>
1096
1097         * output_docbook.C (makeEnvironment, searchEnvironment): place
1098         CDATA inside paragraphs and fix scope for listitems.
1099
1100 2004-10-24  José Matos  <jamatos@lyx.org>
1101
1102         * output_docbook.C: remove using statement for stack.
1103
1104 2004-10-23  José Matos  <jamatos@lyx.org>
1105
1106         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1107         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1108         docbook. The new scheme is recursive and makes use of iterators, the
1109         same as latex export works.
1110         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1111         directly with the paragraph contents. This code was moved up to
1112         output_docbook.C (docbookParagraphs).
1113         * sgml.C (openTag, closeTag): removed unneeded newlines.
1114         (closeEnvTags) removed.
1115
1116 2004-10-23  André Pönitz  <poenitz@gmx.net>
1117
1118         * undo.C (textUndoOrRedo):
1119         * dociterator.C (asDocIterator): work around crash
1120
1121         * cursor.C (getStatus): replace ASSERT by more verbose error message
1122           and manual correction of the problem. Should increase stability
1123           while providing more sensible information.
1124
1125 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1126
1127         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1128
1129         * bufferlist.C (previous, next): new methods
1130
1131         * lfuns.h:
1132         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1133
1134 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1135
1136         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1137         entities to preamble.
1138
1139 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1140
1141         * messages.C (Pimpl): strip off translation context information
1142
1143 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144
1145         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1146         the cursor is correct (bug 1694)
1147
1148 2004-10-13  José Matos  <jamatos@lyx.org>
1149
1150         * output_docbook.C (docbookParagraphs): fix closing tags in the
1151         end of the document.
1152
1153 2004-10-09  José Matos  <jamatos@lyx.org>
1154
1155         * buffer.C: format up to 237.
1156         * bufferparams.C (write): use tostr to convert booleans to strings.
1157
1158 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1159
1160         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1161
1162 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1163
1164         * LaTeX.C: implement use of babel language in xindy.
1165
1166 2004-10-05  José Matos  <jamatos@lyx.org>
1167
1168         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1169         Add new translators to help reading and writing the lyx file.
1170
1171 2004-10-05  José Matos  <jamatos@lyx.org>
1172
1173         * ParagraphParameters.C (read):
1174         * text.C (readParToken): replace nexToken by more appropriate lex
1175         methods.
1176
1177 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1178
1179         * LaTeX.C (runMakeIndex):
1180         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1181         (usually 'makeindex') configurable.
1182
1183         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1184         with a variable rather than with a number.
1185
1186 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * output_latex.C (TeXOnePar): make sure font setting is the first
1189         thing that gets output (and the last at the end). Should fix bug
1190         1404.
1191
1192 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1193
1194         * pch.h: use proper signal include
1195
1196         * LaTeX.h: Use preferred calling of Boost.Signal
1197         * buffer.h: ditto
1198
1199 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1200
1201         * pch.h: dont include <boost/function/function0.hpp>
1202
1203         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1204
1205         * paragraph_pimpl.h: remove usage of ShareContainer
1206
1207         * paragraph_pimpl.C: remove initialization of ShareContainer.
1208
1209 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         Fix bug #1666
1212
1213         * BufferView.C (putSelectionAt): change the semantics when
1214         backwards == true: now, this just swaps cursor and anchor wrt the
1215         forward case
1216
1217         * BufferView.h (putSelectionAt): add some documentation
1218
1219         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1220         make sure backwardChar is done at least once (to avoid getting
1221         stuck)
1222         (findNextChange): use putSelectionAt in the forward direction
1223         (operator()): use Paragraph::isWord
1224
1225 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1226
1227         * Spacing.C (set): c_str fix
1228
1229 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * lyx_cb.C (Reconfigure): quote the name of configure script in
1232         case it contains spaces
1233
1234 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1235
1236         * client: new dir
1237
1238         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1239         (BOOST_LIBS): use top_buildir when looking for the file
1240
1241 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1242
1243         * pch.h: do not use include boost/format.hpp, multiple symbols
1244                 will result (gcc bug)
1245
1246
1247 2004-08-23  José Matos  <jamatos@lyx.org>
1248
1249         * bufferparams.C (readToken): fix reading of the author field.
1250
1251 2004-08-20  José Matos  <jamatos@lyx.org>
1252
1253         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1254
1255 2004-08-20  José Matos  <jamatos@lyx.org>
1256
1257         * lyxlex.[Ch] (findToken): remove function.
1258
1259         * ParagraphParameters.C (findToken):
1260         * bufferparams.C (findToken): replace call for previous function
1261         with local copy. This local function has one more argument, the
1262         read string argument.
1263
1264 2004-08-16  José Matos  <jamatos@lyx.org>
1265
1266         * ParagraphParameters.C (write):
1267         * Spacing.C (writeFile):
1268         * bufferparams.C (writeLaTeX):
1269         * lyx_cb.C (Reconfigure):
1270         * paragraph.C (write):
1271         * tabular.C (write): remove unnecessary space at end of line.
1272
1273
1274 2004-08-16  José Matos  <jamatos@lyx.org>
1275
1276         * text.C (readParagraph): remove debug message.
1277
1278 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1281         crash
1282
1283         * output_plaintext.C (asciiParagraph): set depth correctly
1284
1285         * outputparams.h: add member depth
1286
1287         * paragraph_funcs.C (ownerPar): remove.
1288
1289         * text2.C (setCounter): remove first_pit; comment out some
1290         non-working code that uses ownerPar
1291
1292         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1293         uses ownerPar
1294
1295 2004-08-16  José Matos  <jamatos@lyx.org>
1296
1297         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1298         For the same level of importance use the same chanel to report problems.
1299         (read): add code to deal with \begin_body and \end_body.
1300
1301
1302 2004-08-15  José Matos  <jamatos@lyx.org>
1303
1304         * lyxlex.C (getString): fix comment, buffer::readBody is now
1305         buffer:readDocument.
1306
1307         * tex-strings.C (string_papersize): Default -> default,
1308         Custom -> custom, for consistency with other options.
1309
1310 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1311
1312         * pch.h: new file
1313
1314         * Makefile.am: support pch
1315
1316 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * text.C (readParToken): remove the static LyXFont variable and
1319         pass it as a parameter instead. This fixes a nasty bug where an
1320         inset will be inserted with a bad font in some situations
1321         (readParagraph): adapt
1322
1323         * text2.C (setCounter): reduce number of calls to pars_[pit]
1324
1325         * text.C (singleWidth): add an assert, fix a test
1326
1327         * rowpainter.C (paintText): reduce number of calls to singleWidth
1328
1329         * paragraph.C (isHfill):
1330         (isNewline): ws only
1331
1332 2004-08-14  André Pönitz  <poenitz@gmx.net>
1333
1334         * text.C:
1335         * text2.C:
1336         * rowpainter.C:
1337         * lyxtext.h (several functions): use a Paragraph & argument
1338         instead of par_type
1339
1340 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1341
1342         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1343
1344         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1345
1346         * text.C (singleWidth): remove useless test
1347
1348 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1349
1350         * tabular.h: remove bogus comments
1351
1352         * tabular.C (getDescentOfRow):
1353         (isPartOfMultiColumn): add assertions
1354
1355         * lyxlength.C (inPixels): remove #warning
1356
1357 2004-08-14  André Pönitz  <poenitz@gmx.net>
1358
1359         * paragraph.h: inline getChar()
1360
1361         * BufferView.h: remove unused declarations
1362
1363 2004-08-14  José Matos  <jamatos@lyx.org>
1364
1365         * Buffer.[Ch] (readDocument): new name for old readBody.
1366         * Buffer.C: new file format, new keywords: \begin_document,
1367         \begin_header, \begin_body, \end_body.
1368
1369         * bufferparams.C (readToken): replace all calls to lex.nextToken
1370         by lex.next(). Do the same to eatLine except where really needed.
1371
1372         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1373         line when writing to the lyx file.
1374
1375         * output_plaintext.C (asciiParagraph): fix Bibliography style
1376         handling.
1377
1378         * text.C (read): fix end of file handling.
1379
1380 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * MenuBackend.C (Menu::operator[]): new method to access
1383         individual menu items
1384         (Menu::hasFunc): new method. search for an item that corresponds
1385         to a given func
1386         (MenuBackend::specialMenu): new method
1387         (MenuBackend::expand): if a special menu has been set, skip
1388         entries whose func() appears in this menu
1389
1390 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1391
1392         * text3.C: use Debug::DEBUG a bit more
1393
1394         * text.C (leftMargin): try to simplify a tiny bit change var x to
1395         l_margin. Dont output the wide margins always.
1396         (rightMargin): no margin in inner texts
1397
1398         * rowpainter.h (nestMargin): new func
1399         (changebarMargin): new func
1400         (rightMargin): new func
1401
1402         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1403         now functions.
1404         (paintLast): ditto
1405
1406         * factory.C (createInset): modify setDrawFrame
1407
1408         * cursor.C: use Debug::DEBUG a bit more
1409
1410 2004-08-14  André Pönitz  <poenitz@gmx.net>
1411
1412         * coordcache.[Ch]:
1413         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1414         cache for all insets in (at least partially) visible (top-level)
1415         paragraphs.
1416
1417         * BufferView_pimpl.C: reset external coord cache before every update.
1418         This means the coord cache only contains valid entries.
1419
1420 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1421
1422         bug 1096
1423         * BufferView_pimpl.C (getInsetByCode): move function out of class
1424         and change in to a template in anon namespace. Also fix to do what
1425         suits us better.
1426
1427 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1428
1429         bug 1305
1430         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1431         of char
1432         (breakParagraph): rename par to par_offset and use a local
1433         reference. Add code to keep the language over a rebreak.
1434         (breakParagraphConservative): rename par to par_offset, use a
1435         local reference
1436         (mergeParagraph): ditto
1437         (outerHook): ditto
1438         (isFirstInSequence): ditto
1439         (outerFont): rename pit to par_offset
1440
1441         * paragraph.C: ws change
1442         * paragraph.h: ditto
1443         * text3.C: ditto
1444         * text.C: ditto
1445
1446 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1449         treatment for ']'
1450
1451         * paragraph.C (simpleTeXOnePar): when we have a \item with
1452         optional argument, enclose the argument with curly brackets (in
1453         case it contains a closing square bracket)
1454
1455         * text2.C (editXY):
1456         * text2.C (editXY):
1457         * text3.C (checkInsetHit): constify
1458
1459 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1460
1461         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1462         documents (bug 1629)
1463
1464 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         Fix toggling of collapsable insets with the mouse (bug 1558)
1467
1468         * lyxfunc.C (dispatch): adapt to LCursor changes
1469
1470         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1471         make sure that dispatch is not invoked twice
1472
1473         * cursor.C (needsUpdate): new method
1474         (dispatch): return void
1475         (result): new method, to access the DispatchResult of the cursor.
1476
1477 2004-08-13  José Matos  <jamatos@lyx.org>
1478
1479         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1480
1481 2004-08-13  André Pönitz  <poenitz@gmx.net>
1482
1483         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1484
1485         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1486           multiple cells
1487
1488 2004-08-12  André Pönitz  <poenitz@gmx.net>
1489
1490         * text3.C: take out the 'cursor right' form insertInset and only
1491         do it in those places when it is really needed. Fixes crash on
1492         C-m...
1493
1494 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1497
1498         * BufferView_pimpl.C (setBuffer): initialize the current font of
1499         the underlying LyXText
1500
1501 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1502
1503         * kbsequence.C (print): use UI native formatting for menu
1504         shortcuts
1505
1506         * text.C (insertChar): call Paragraph::insertChar with a font
1507         argument (cosmetic)
1508
1509         * paragraph.C (insertInset, insertChar): the version that takes a
1510         LyXFont argument is now a wrapper around the other one (the
1511         opposite used to be true).
1512
1513         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1514         argument. Font setting is done in Paragraph now.
1515
1516 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1517
1518         * outputparams.h: add new members intitle and lang.
1519
1520         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1521         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1522
1523 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * text3.C (dispatch): remove special handling of button 4 and 5,
1526         it is now taken care of in the frontend code.
1527
1528 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1529
1530         * Spacing.h: add <string> (STLPort compile fix)
1531
1532 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1533
1534         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1535
1536 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1537
1538         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1539         to bool.
1540
1541         * converter.C (showMessage): inherit from unary_function, make
1542         operator() const.
1543
1544         * buffer.C (writeFile): initialize retval
1545
1546         * InsetList.h: rename private variable list to list_
1547         * InsetList.[Ch]: adjust accordingly.
1548
1549 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1550
1551         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1552         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1553         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1554         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1555         * ParagraphParameters.C, LaTeXFeatures.C: replace
1556         "support/std_sstream.h" with <sstream>
1557
1558 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1559
1560         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1561         * lyxsocket.C (LyXServerSocket): ditto
1562         (serverCallback): ditto
1563
1564 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1565
1566         * LaTeXFeatures.C: check release date when loading jurabib.
1567
1568 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1569
1570         * lyxserver.C (startPipe): call register_socket_callback
1571         (endPipe): call unregister_socket_callback
1572
1573 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1574
1575         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1576         (LyXServerSocket): register the callback
1577         (LyXServerSocket): unregister the callback
1578         (fd): delete function
1579         (serverCallback): improve error checking and setup the callbacks.
1580         (dataCallback): change arg to fd.
1581         (writeln): new func (copied fro the client socket) used for server
1582         write to client.
1583         (LyXDataSocket): simplify
1584         (~LyXDataSocket): close ann unregiser callback
1585         (server): delete function
1586         (fd): delete function
1587         (readln): small changes, improve some std::string usage
1588         (writeln): constify a bit
1589
1590 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1593         Qt frontend
1594
1595 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1596
1597         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1598         after it has been populated
1599
1600 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * text2.C (insertInset): move cursor when inserting inset.
1603
1604 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1605
1606         * kbmap.C (findbindings): a couple of new methods. returns a
1607         container of kb_sequence objects. The real work is done by the
1608         private recursive version
1609         (printbindings): uses findbindings to print out a bracketed list
1610         of bindings (renamed from findbinding).
1611
1612         * MenuBackend.C (binding): use kb_keymap::findbindings
1613
1614         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1615
1616 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1617
1618         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1619
1620 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * paragraph.C (isWord): return true on insets that report
1623         isLetter().
1624
1625         * text.C (getWord): use Paragraph::isWord to decide what is in a
1626         word and what is not; fix bug 1609.
1627
1628 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1629
1630         * tex-strings.C: add "none" to string_paperpackages[], fixes
1631         off-by-one-error in the paperpackage selection.
1632
1633         * lyxlex.[Ch]:
1634         * tex-strings.[Ch]: char const * string[n]
1635         -> char const * const string[]
1636
1637 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1638
1639         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1640         command, return early.
1641
1642 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1643
1644         * debug.h: add DEBUG to enum and fix size of ANY.
1645
1646         * debug.C: add support for Debug::DEBUG
1647         (showTags): cast errorTags.level to unsigned int
1648
1649         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1650         (redoCurrentBuffer): ditto
1651         (updateScrollbar): ditto
1652         * cursor.C (dispatch): ditto
1653         * text2.C (setLayout): ditto
1654         (setFont): ditto
1655         (updateCounters): ditto
1656         (editXY): ditto
1657         (deleteEmptyParagraphMechanism): ditto
1658
1659 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1660
1661         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1662         annotations to cleanup the Makefile slightly.
1663
1664 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         * lyxrc.C: do not set user_email to a default value but use empty
1667         instead. The entry used to be translated, which does not work
1668         since at the point where lyxrc is constructed there is no
1669         translation service available
1670
1671         * messages.C (getLocaleDir): remove and use directly
1672         lyx_localedir() instead
1673
1674 2004-06-02  Angus Leeming  <leeming@lyx.org>
1675
1676         Fix crash caused by dereferencing null pointer 'exportdata' in
1677         OutputParams by creating a new ExportData variable on the heap,
1678         storing it in a boost::shared_ptr.
1679         The crash was triggered when generating an Instant Preview
1680         of an external inset.
1681
1682         * Makefile.am: add outputparams.C
1683
1684         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1685         (c-tor): allocate memory to it.
1686
1687         * exporter.C (c-tor): associated changes.
1688
1689 2004-06-01  Angus Leeming  <leeming@lyx.org>
1690
1691         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1692         contains data before calling isInset(0). (Bug 1513.)
1693
1694 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1695
1696         * exporter.C (checkOverwrite): new method
1697         * exporter.C (copyFile): new method
1698         * exporter.C (Export): copy referenced files to the document dir
1699         * exporter.[Ch]: new class ExportedFile
1700         * exporter.[Ch]: new class ExportData. Contains currently the
1701         names of referenced external files
1702         * outputparams.h: add exportdata member.
1703
1704 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1705
1706         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1707         version.C-tmp
1708
1709 2004-05-19  Angus Leeming  <leeming@lyx.org>
1710
1711         * LaTeXFeatures.C:
1712         * ToolbarBackend.C:
1713         * bufferparams.C:
1714         * lyxfunc.C: small changes due to the introduction of namespace
1715         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1716
1717 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1718
1719         * text3.C (dispatch): supress update when only moving the cursor
1720         * cursor.C (selHandle): remove commented code
1721
1722 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1723
1724         * paragraph.C (startTeXParParams): correct column count
1725         * CutAndPaste.C (pasteSelection): remove const_cast
1726         * output_docbook.C (docbookParagraphs): remove const_cast
1727         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1728         const_cast and return ParagraphList::const_iterator
1729         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1730         * output_plaintext.C (writeFileAscii): remove const_cast
1731         * paragraph.[Ch] (simpleTeXOnePar): make const
1732         * paragraph_funcs.C (outerPar): use const iterators
1733         * paragraph_pimpl.C (validate): use const iterators
1734         * text.C (setHeightOfRow): use const iterators
1735
1736 2004-05-17  Angus Leeming  <leeming@lyx.org>
1737
1738         * lfuns.h:
1739         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1740
1741         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1742         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1743         if the citation engine has changed.
1744
1745 2004-05-14  José Matos  <jamatos@lyx.org>
1746
1747         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1748         if the textclass does not provide it. Have it different for sgml and
1749         xml.
1750         support the language of document.
1751         * output_docbook.C (docbookParagraphs):
1752         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1753         first anchor as the id of the paragraph, remove special case code.
1754         * sgml.C (escapeChar): escape only < & >.
1755
1756 2004-05-14  Angus Leeming  <leeming@lyx.org>
1757
1758         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1759         dependencies on src/frontends/controllers/biblio.h. Define a
1760         CiteEngine_enum wrapper class to enable the enum to be forward
1761         declared.
1762
1763 2004-05-12  Angus Leeming  <leeming@lyx.org>
1764
1765         * buffer.C: up LYX_FORMAT to 234.
1766         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1767         use_numerical_citations with a single biblio::CiteEngine cite_engine
1768         variable.
1769         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1770
1771 2004-05-13  José Matos  <jamatos@lyx.org>
1772
1773         * converter.h:
1774         * converter.C (Converter, readFlags): add xml member.
1775         * outputparams.h: add XML flavor.
1776         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1777
1778 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * lyxfunc.C (dispatch):
1781         (getStatus): fix handling of LFUN_SEQUENCE
1782
1783 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1784
1785         * debug.C (showLevel): do not forget the end-of-line marker
1786
1787 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1788
1789         * kbmap.C (read): do not stop parsing a bind file when an error
1790         occurs (bug 1575)
1791
1792 2004-04-29  Angus Leeming  <leeming@lyx.org>
1793
1794         * cursor.C:
1795         * factory.C:
1796         * pariterator.C:
1797         * text2.C: wrap a bunch of #warning statements
1798         inside #ifdef WITH_WARNINGS blocks.
1799
1800 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1801
1802         * buffer.C: increment format to 233.
1803
1804 2004-04-28  Angus Leeming  <leeming@lyx.org>
1805
1806         * BufferView_pimpl.C:
1807         * lyxfunc.C:
1808         * text3.C:
1809         s/updateToolbar()/updateToolbars()/
1810         s/Toolbar.h/Toolbars.h/
1811
1812 2004-04-28  Angus Leeming  <leeming@lyx.org>
1813
1814         * BufferView.[Ch] (c-tor):
1815         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1816         No longer passes these data to the WorkArea generator.
1817
1818 2004-04-28  Angus Leeming  <leeming@lyx.org>
1819
1820         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1821
1822 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1823
1824         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1825
1826 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * output_latex.C (TeXEnvironment): make sure that there is a line
1829         break before \end{foo} for the last paragraph of a document
1830         (TeXOnePar): if the paragraph is at the end of the document (or
1831         inset) and the language has to be reset, then make sure that the
1832         line break is _before_ the language command, not after (fixes bug
1833         1225); also make sure that the language reset command is the first
1834         thing after the paragraph (to ensure proper nesting of
1835         environments and thus fix bug 1404)
1836
1837 2004-04-21  John Levon  <levon@movementarian.org>
1838
1839         * ToolbarBackend.h:
1840         * ToolbarBackend.C: make "name" be a programmatic name
1841         and a gui_name field.
1842
1843         * lyxfunc.C: display the minibuffer on M-x
1844
1845 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1846
1847         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1848         (bug 1526)
1849
1850 2004-04-19  Angus Leeming  <leeming@lyx.org>
1851
1852         * BufferView_pimpl.C (setBuffer): changed preview interface.
1853
1854         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1855         possible values.
1856
1857 2004-04-19  John Levon  <levon@movementarian.org>
1858
1859         * BufferView_pimpl.C:
1860         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1861
1862 2004-04-05  Angus Leeming  <leeming@lyx.org>
1863
1864         * text.C (redoParagraphs): add call to updateCounters(), thereby
1865         fixing the missing "Figure #:" label from the caption of a
1866         figure float.
1867
1868 2004-04-13  Angus Leeming  <leeming@lyx.org>
1869
1870         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1871         cursor is clicked out of an inset.
1872
1873 2004-04-13  Angus Leeming  <leeming@lyx.org>
1874
1875         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1876         than an InsetOld one.
1877
1878 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1879
1880         * format.[Ch]: add editor to Format
1881         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1882         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1883
1884 2004-04-08  André Pönitz  <poenitz@gmx.net>
1885
1886         * metricsinfo.h: remove PainterInfo::width member
1887
1888 2004-04-08  Angus Leeming  <leeming@lyx.org>
1889
1890         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1891         "\providecommand" rather than "\newcommand", thereby preventing
1892         clashes with packages that define "\boldsymbol" themselves.
1893         Eg, beamer.
1894
1895 2004-04-08  Angus Leeming  <leeming@lyx.org>
1896
1897         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1898         thereby squashing an unnecessary warning.
1899
1900 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1901
1902         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1903         setBuffer()
1904
1905 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * BufferView.C (setCursor): call redoParagraph (some insets could
1908         have been opened)
1909         (putSelectionAt): remove the 'double update' trick
1910
1911         * BufferView_pimpl.C (fitCursor): call refreshPar
1912         (workAreaDispatch): remove an uneeded update call
1913         (dispatch): remove some manual update calls
1914
1915         * cursor.[Ch]: remove cached_y_, updatePos
1916         (selHandle): set noUpdate when appropriate
1917
1918         * lyxfunc.C (dispatch): track if we need an update
1919
1920         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1921
1922         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1923         (paintSelection): cheap optimization, do not call cursorX when not
1924         needed
1925         (paintPars): change signature
1926         (refreshPar): add
1927         (paintText): adjust
1928         (paintTextInset): adjust
1929
1930         * text.C: adjust
1931
1932 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1933
1934         * lengthcommon.C: compilation fix: remove explicit array size from
1935         unit_name[] and friends
1936
1937 2004-04-05  Angus Leeming  <leeming@lyx.org>
1938
1939         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1940
1941         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1942         present only for the preferences dialog.
1943         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1944
1945 2004-04-05  Angus Leeming  <leeming@lyx.org>
1946
1947         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1948         to enable the frontends to export changes to lyxrc correctly.
1949
1950         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1951
1952 2004-04-07  André Pönitz  <poenitz@gmx.net>
1953
1954         * cursor.[Ch] (selClear, adjust): remove math
1955
1956         * cursor_slice.C: more agressive assert
1957
1958         * lyxfunc.C:
1959         * BufferView_pimpl.C: rework mouse event dispatch
1960
1961         * dociterator.C:
1962         * paragraph.C:
1963         * text2.C:
1964         * text3.C: adjust
1965
1966 2004-04-05  André Pönitz  <poenitz@gmx.net>
1967
1968         * cursor.[Ch] (valign, halign...): remove unneeded functions
1969
1970 2004-04-05  Angus Leeming  <leeming@lyx.org>
1971
1972         * lyxlength.[Ch] (unit_name et al.): const-correct.
1973
1974 2004-04-05  Angus Leeming  <leeming@lyx.org>
1975
1976         * BufferView_pimpl.C:
1977         * buffer.C:
1978         * counters.C:
1979         * cursor.C:
1980         * lyxfunc.C
1981         * paragraph.C:
1982         * pariterator.C:
1983         * text.C:
1984         * text2.C:
1985         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1986
1987 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1988
1989         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1990
1991 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1992
1993         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1994         * BufferView_pimpl.[Ch] (getStatus)
1995         * BufferView.[Ch] (getStatus): add
1996         * lyxfunc.C (getStatus): move lfuns handled in
1997         BufferView::dispatch to te function above
1998         * Cursor.C (setSelection): set selection() = true
1999
2000 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2001
2002         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2003
2004 2004-03-31  Angus Leeming  <leeming@lyx.org>
2005
2006         * lyxfunc.C (dispatch): Fall through to the generic
2007         Dialogs::show("preamble").
2008
2009 2004-03-31  Angus Leeming  <leeming@lyx.org>
2010
2011         * lyxfunc.C (dispatch): Fall through to the generic
2012         Dialogs::show("spellchecker").
2013
2014 2004-03-31  Angus Leeming  <leeming@lyx.org>
2015
2016         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2017         preferences dialog.
2018
2019 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2020
2021         * BufferView.C
2022         * cursor.[Ch]
2023         * dociterator.[Ch]:
2024         * insetiterator.[Ch]:
2025         * lyxfind.C:
2026         * lyxfunc.C:
2027         * pariterator.[Ch]:
2028         * text2.C:
2029         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2030
2031 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2032
2033         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2034         insets where we are putting the cursor.
2035
2036 2004-03-31  Angus Leeming  <leeming@lyx.org>
2037
2038         * lfuns.h:
2039         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2040
2041         * lyxrc.[Ch] (read, write): overloaded member functions taking
2042         a std::[io]stream arguments.
2043
2044         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2045
2046 2004-03-31  Angus Leeming  <leeming@lyx.org>
2047
2048         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2049         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2050
2051         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2052         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2053
2054 2004-03-31  Angus Leeming  <leeming@lyx.org>
2055
2056         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2057         the LFUN_ALL_INSETS_TOGGLE code.
2058
2059 2004-03-30  Angus Leeming  <leeming@lyx.org>
2060
2061         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2062         has died. Fall through to the generic Dialogs::show("document").
2063
2064 2004-03-30  Angus Leeming  <leeming@lyx.org>
2065
2066         * lfuns.h:
2067         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2068         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2069
2070         * lyxfunc.C (getStatus, dispatch): define the actions for these
2071         lfuns. Little more than a cut and pste job from ControlDocument.C
2072
2073         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2074
2075 2004-03-30  Angus Leeming  <leeming@lyx.org>
2076
2077         * lfuns.h:
2078         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2079         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2080
2081         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2082         open/closed state of ollapsable insets. Usage:
2083
2084         all-inset-toggle <state> <name>, where
2085         <state> == "open" || "closed" || "toggle" and
2086         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2087
2088         * lyxtext.h, text2.C (toggleInset): removed.
2089
2090         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2091         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2092         now passes LFUN_INSET_TOGGLE to the found inset.
2093
2094         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2095         is now invoked as "all-insets-toggle toggle branch".
2096
2097 2004-03-30  Angus Leeming  <leeming@lyx.org>
2098
2099         * dociterator.C:
2100         * insetiterator.C:
2101         * pariterator.[Ch]: added/corrected header blurb.
2102
2103 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2104
2105         * dociterator.[Ch]: add an inset_ member
2106         (backwardPos): implemented
2107         (backwardPos, forwardPos): use inset_ when the stack is empty.
2108         (doc_iterator_begin, doc_iterator_end): implemented
2109         * pariterator.[Ch]: adjust, add begin, end
2110         * insetiterator.[Ch]: adjust, add begin, end
2111         * cursor.C:
2112         * document.C:
2113         * BufferView.C:
2114         * BufferView_pimpl.C:
2115         * CutAndPaste.C: adjust
2116
2117 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2118
2119         * buffer.C: increment file format to 232.
2120         * LaTeXFeatures.C: add bibtopic package.
2121         * bufferparams.[Ch]: param \use_bibtopic.
2122
2123         * lyxrc.[Ch]: add lyxrc bibtex_command
2124         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2125
2126         * buffer.C: increment file format to 231.
2127
2128 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * dociterator.C: implement forwardPar
2131         * iterators.[Ch]: remove, replaced by
2132         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2133         * BufferView.C:
2134         * BufferView_pimpl.C:
2135         * CutAndPaste.C:
2136         * buffer.C:
2137         * bufferview_funcs.C:
2138         * cursor.C:
2139         * lyxfind.C
2140         * lyxfunc.C
2141         * paragraph_funcs.C
2142         * toc.C:
2143         * Makefile.am: adjust
2144
2145 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2146
2147         * CutAndPaste.C (pasteSelection): fix 2 crashes
2148         (eraseSelection): fix a crash
2149         * paragraph_funcs.C: remove a warning
2150
2151 2004-03-28  Angus Leeming  <leeming@lyx.org>
2152
2153         * lfuns.h:
2154         * LyXAction.C (init): new LFUN_PRINT.
2155
2156         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2157
2158 2004-03-27  Angus Leeming  <leeming@lyx.org>
2159
2160         * lfuns.h:
2161         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2162
2163         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2164
2165 2004-03-27  Angus Leeming  <leeming@lyx.org>
2166
2167         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2168         insetlist always contains non-null pointers to insets.
2169
2170 2004-03-26  Angus Leeming  <leeming@lyx.org>
2171
2172         * src/BufferView_pimpl.C:
2173         * src/CutAndPaste.C:
2174         * src/buffer.C:
2175         * src/iterators.C:
2176         * src/output_plaintext.C:
2177         * src/outputparams.h:
2178         * src/paragraph_funcs.C:
2179         * src/rowpainter.C:
2180         * src/text.C:
2181         * src/text2.C:
2182         * src/frontends/controllers/ControlErrorList.C:
2183         * src/frontends/gtk/FileDialogPrivate.C:
2184         * src/frontends/gtk/GPainter.C:
2185         * src/frontends/gtk/GToolbar.C:
2186         * src/frontends/qt2/QRef.C:
2187         * src/mathed/math_scriptinset.C: squash compiler warnings.
2188
2189 2004-03-26  Angus Leeming  <leeming@lyx.org>
2190
2191         * ispell.C (LaunchIspell::start):
2192         * lyx_cb.C (AutoSaveBuffer::start):
2193         invoke run(DontWait) rather than runNonBlocking().
2194
2195 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2196
2197         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2198
2199 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2200
2201         * kbsequence.C (print): adjust
2202
2203         * kbmap.C (printKeySym): rename and change signature
2204         (printKey): use LyXKeySym::print()
2205
2206 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * undo.C: add using std::advance to compile for stlport
2209
2210 2004-03-24  Angus Leeming  <leeming@lyx.org>
2211
2212         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2213         it leads to a crash when no buffer is present.
2214
2215 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2216             Martin Vermeer  <martin.vermeer@hut.fi>
2217
2218         * lyxfunc.C (dispatch):
2219         * bufferparams.C (readToken): use the new LColor::setColor
2220
2221         * LColor.[Ch] (setColor): new version that takes two strings as
2222         argument and creates a new color entry if necessary
2223
2224 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2225
2226         * buffer.C (makeLaTeXFile): if the main latex file that is
2227         processed is usually a subdocument of some master, then pretend
2228         for a while that it is actually the master
2229
2230 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2231
2232         * buffer.C (getLabelList):
2233         (getBibkeyList): use getMasterBuffer()
2234         (getMasterBuffer): new method. Returns the main document in the
2235         case where one is using included documents.
2236
2237 2004-03-25  André Pönitz  <poenitz@gmx.net>
2238
2239         * Makefile.am:
2240         * iterators.[Ch]:
2241         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2242
2243         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2244
2245         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2246         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2247
2248         * ParameterStruct.h: merge with ParagraphParameters
2249
2250         * lyxtext.h: remove LyXText::parOffset() and getPar()
2251
2252         * text3.C: Remove all 'manual' update calls. We do now one per user
2253         interaction which is completely sufficient.
2254
2255         * Bidi.C:
2256         * BufferView.[Ch]:
2257         * BufferView_pimpl.C:
2258         * FontIterator.[Ch]:
2259         * MenuBackend.C:
2260         * ParagraphParameters.[Ch]:
2261         * buffer.C:
2262         * buffer.h:
2263         * bufferlist.C:
2264         * cursor.[Ch]:
2265         * cursor_slice.[Ch]:
2266         * dociterator.[Ch]:
2267         * errorlist.[Ch]:
2268         * factory.C:
2269         * lfuns.h:
2270         * lyxfind.C:
2271         * lyxfunc.C:
2272         * output_docbook.[Ch]:
2273         * output_latex.[Ch]:
2274         * output_linuxdoc.[Ch]:
2275         * output_plaintext.[Ch]:
2276         * paragraph.[Ch]:
2277         * paragraph_funcs.[Ch]:
2278         * paragraph_pimpl.[Ch]:
2279         * rowpainter.C:
2280         * tabular.[Ch]:
2281         * text.C:
2282         * text2.C:
2283         * toc.C:
2284         * undo.[Ch]: adjust
2285
2286         * frontends/controllers/ControlDocument.C:
2287         * frontends/controllers/ControlErrorList.C:
2288         * frontends/controllers/ControlSpellchecker.C:
2289         * insets/inset.C:
2290         * insets/inset.h:
2291         * insets/insetbase.h:
2292         * insets/insetbibitem.C:
2293         * insets/insetbox.C:
2294         * insets/insetbranch.C:
2295         * insets/insetcaption.C:
2296         * insets/insetcharstyle.C:
2297         * insets/insetcharstyle.h:
2298         * insets/insetcollapsable.C:
2299         * insets/insetcollapsable.h:
2300         * insets/insetert.C:
2301         * insets/insetfloat.C:
2302         * insets/insetfoot.C:
2303         * insets/insetmarginal.C:
2304         * insets/insetnote.C:
2305         * insets/insetoptarg.C:
2306         * insets/insettabular.C:
2307         * insets/insettext.C:
2308         * insets/insettext.h:
2309         * insets/insetwrap.C:
2310         * mathed/math_mboxinset.C:
2311         * mathed/math_nestinset.C:
2312         * mathed/math_scriptinset.C:
2313         * mathed/math_scriptinset.h:
2314         * support/types.h:
2315
2316 2004-03-24  Angus Leeming  <leeming@lyx.org>
2317
2318         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2319         deal with any child processes that have finished but are waiting to
2320         communicate this fact to the rest of LyX.
2321
2322 2004-03-24  Angus Leeming  <leeming@lyx.org>
2323
2324         64-bit compile fixes.
2325
2326         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2327         (c-tor): pass lyx::pos_types rather than ints.
2328
2329         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2330         lyx::pos_type.
2331
2332         * text.C (Delete): compile fix.
2333         (getPar): ensure that function declaration is the same as that in
2334         the header file.
2335
2336 2004-03-23  Angus Leeming  <leeming@lyx.org>
2337
2338         * ispell.C (LaunchIspell):
2339         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2340         a boost::shred_ptr rather than a std::auto_ptr.
2341
2342 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2343
2344         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2345         handle LFUN_FILE_INSERT_*
2346
2347         * lyxrc.C (setDefaults, getDescription, output, read):
2348         * lyxrc.h: remove ps_command
2349
2350 2004-03-22  Angus Leeming  <leeming@lyx.org>
2351
2352         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2353         Ensure that error_handler is processed once only and that all data
2354         is saved before attempting to output any warning messages.
2355
2356         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2357
2358 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2359
2360         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2361
2362 2004-03-19  André Pönitz  <poenitz@gmx.net>
2363
2364         * cursor.[Ch] (reset): take main text inset as argument
2365
2366         * BufferView: adjust
2367         * BufferView_pimpl.C: adjust
2368
2369         * paragraph.[Ch]: fix completely broken operator=()
2370
2371 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * LColor.C (getFromLyXName): make sure that the color name is used
2374         as lowercase.
2375
2376 2004-03-17  Angus Leeming  <leeming@lyx.org>
2377
2378         * lfuns.h:
2379         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2380
2381         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2382         dialog and to kill a forked process.
2383
2384 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2385
2386         * text2.C (setCursorFromCoordinates): fix font problem
2387
2388 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2389
2390         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2391         bogus "rebuild cursor" code
2392
2393 2004-03-11  André Pönitz  <poenitz@gmx.net>
2394
2395         * buffer.[Ch]: use InsetText instead of LyXText as container for
2396         the main lyx text.
2397
2398         * dociterator.[Ch]: drop the BufferView * member which is not needed
2399         anymore after the change to buffer.C
2400
2401         * paragraph_funcs.C:
2402         * text.C:
2403         * text2.C:
2404         * BufferView.[Ch]:
2405         * BufferView_pimpl.[Ch]:
2406         * cursor.[Ch]:
2407         * cursor_slice.[Ch]: adjust
2408
2409         * text3.C: fix bug in mathDispatch
2410
2411 2004-03-08  André Pönitz  <poenitz@gmx.net>
2412
2413         * undo.[Ch]: use 'StableDocumentIterator' as base for
2414         the Undo struct.
2415
2416 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2417
2418         * LaTeXFeatures.C:
2419         * bufferparams.[Ch]: add jurabib support and param.
2420
2421         * LaTeX.C: add FIXME/comment.
2422
2423 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2424
2425         * buffer.C: increment file format to 230.
2426
2427 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2428
2429         * cursor.C (dispatch): avoid infinite loops
2430
2431 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2432
2433         * rowpainter.C (paintSelection): fix x coordinates
2434
2435 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2436
2437         * text.C (rowBreakPoint): fix breaking before displayed insets
2438
2439 2004-03-01  André Pönitz  <poenitz@gmx.net>
2440
2441         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2442
2443         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2444
2445         * Makefile.am:
2446         * BufferView.C:
2447         * BufferView_pimpl.C:
2448         * buffer.C:
2449         * lyxfind.C:
2450         * lyxfunc.C:
2451         * text.C:
2452         * text2.C:
2453         * text3.C: adjust
2454
2455 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2456
2457         * lyxtext.h:
2458         * text.C:
2459         * text2.C:
2460         * rowpainter.C:
2461         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2462         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2463
2464 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * Bidi.[Ch] (computeTables): const correctness
2467         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2468         fill_hfill, fill_label_hfill and x from Row
2469         * lyxtext.h: prepareToPrint returns a RowMetrics
2470         * rowPainter.C: adjust
2471         * text.C (prepareToPrint): use width, not textWidth. adjust
2472         (redoParagraphInternal, cursorX): adjust
2473         * text2.C (getColumnNearX): adjust
2474         (init): put a default value to the top LyXText::width
2475
2476 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2479
2480 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2481
2482         * lyxtext.h: add FontIterator class
2483
2484         * text.C (FontIterator, operator*, operator->, operator++): add
2485         (rowBreakPoint, setRowWidth): adjust (fixing a
2486         rebreaking bug)
2487
2488 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2489
2490         * BufferView_pimpl.C (workAreaDispatch): allow also
2491         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2492
2493 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2494
2495         * text.C (rowBreakPoint): fix a bug showing with very large insets
2496
2497 2004-02-25  André Pönitz  <poenitz@gmx.net>
2498
2499         * text3.C:
2500         * cursor.[Ch]: move some mathed specific code to mathed
2501
2502 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2503
2504         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2505         use_tempdir in preferences
2506         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2507         tempfile creation
2508         * lyx_main.C: ensure that tempdir is valid
2509         * lyxlex.h: correct typo
2510         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2511         * paragraph.[Ch] (isMultiLingual): make const
2512         * cursor.[Ch] (openable): make const
2513
2514 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2515
2516         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2517
2518 2004-02-20  André Pönitz  <poenitz@gmx.net>
2519
2520         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2521
2522         * cursor.[Ch]: prepare for localized getStatus()
2523
2524         * lyxtext.h:
2525         * tabular.C:
2526         * text.C:
2527         * text2.C:
2528         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2529
2530 2004-02-20  André Pönitz  <poenitz@gmx.net>
2531
2532         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2533
2534 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2535
2536         * text2.C (setCursorFromCoordinates): switch to absolute coords
2537         (cursorUp): adjust
2538         (cursorDown): adjust
2539         * text3.C (dispatch): adjust
2540
2541 2004-02-16  André Pönitz  <poenitz@gmx.net>
2542
2543         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2544           insets/ChangeLog)
2545
2546         * cursor_slice.[Ch]: remove unneeded acessor function
2547
2548         * lyxtext.h: rename rtl() to isRTL()
2549
2550         * rowpainter.C:
2551         * tabular.C:
2552         * text.C:
2553         * text2.C:
2554         * text3.C: adjust
2555
2556 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * rowpainter.C (paintSelection): coord fix
2559
2560 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2561
2562         * Spacing.C: compile fix
2563
2564 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2565
2566         * cursor.C (dispatch): restore current_ before returning
2567
2568 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * text2.C (cursorUp, cursorDown): fix coords
2571         (moveUp): fix crash
2572
2573 2004-02-12  André Pönitz  <poenitz@gmx.net>
2574
2575         * lyxtext.h:
2576         * text.C:
2577         * text2.C:
2578         * text3.C: add LCursor & parameter to most cursor movement functions
2579           remove usage of LyXText::cursorRow() and cursorPar()
2580
2581         * cursor.[Ch]: add textRow() needed members
2582
2583         * BufferView.C:
2584         * BufferView_pimpl.C:
2585         * paragraph.[Ch]:
2586         * BufferView.C:
2587         * BufferView_pimpl.C: adjust
2588
2589 2004-02-11  André Pönitz  <poenitz@gmx.net>
2590
2591         * lyxfunc.C:
2592         * BufferView.[Ch]:
2593         * BufferView_pimpl.C: shift undo/redo handling
2594
2595         * cursor.[Ch]: fix mathed crash
2596
2597         * lyxfind.C:
2598         * lyxtext.h: move selectionAsText to LCursor
2599
2600         * output_latex.C:
2601         * paragraph.C:
2602         * text.C:
2603         * text2.C:
2604         * text3.C: adjust
2605
2606         * rowpainter.C: fix excessive drawing
2607
2608 2004-02-06  André Pönitz  <poenitz@gmx.net>
2609
2610         * BufferView.[Ch]:
2611         * BufferView_pimpl.[Ch]:
2612         * text3.C: move some text specific LFUN handling
2613
2614 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2615
2616         * text3.C (checkInsetHit): adjust coords
2617         * text2.C (getColumnNearX): adjust coords
2618         (edit): adjust coords
2619         * text.C (getRowNearY): add two asserts
2620
2621 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2622
2623         * converter.C:
2624         * format.C: add using std::distance to compile on gcc 2.95/stlport
2625
2626 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2627
2628         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2629
2630 2004-02-04  André Pönitz  <poenitz@gmx.net>
2631
2632         * BufferView.[Ch] (insertInset):
2633         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2634
2635         * text2.C:
2636         * text3.C: adjust
2637
2638 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2639
2640         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2641         on the default clause of the switch
2642         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2643         wasn't catched by LCursor::dispatch
2644
2645 2004-02-03  André Pönitz  <poenitz@gmx.net>
2646
2647         * BufferView.C:
2648         * cursor.[Ch]: some additional asserts
2649
2650         * undo.[Ch]: remove LyXText dependency in interface
2651
2652         * lyxfunc.C: adjust
2653
2654         * lyxtext.h (firstPar, lastPar): remove dead functions
2655
2656         * text.C:
2657         * text2.C:
2658         * text3.C:
2659         * paragraph.[Ch]: adjust
2660
2661 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * lyxfind.C (find): fix argument order in call to ::find
2664
2665 2004-02-02  André Pönitz  <poenitz@gmx.net>
2666
2667         * cursor.[Ch]: remove direct access to anchor
2668
2669         * text.C: remove findText() hack
2670
2671 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2672
2673         * iterators.[Ch] (lockPath): remove in favour of...
2674         * BufferView.[Ch] (setCursor): this addition
2675         * BufferView.C (putSelectionAt): adjust
2676         * undo.C (performUndoOrRedo): adjust
2677         * lyxfunc.C (dispatch): adjust
2678
2679 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2680
2681         * iterators.C (lockPath): add a missing slice
2682         * undo.C (performUndoOrRedo): remove redundant positioning code
2683
2684 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2685
2686         * vc-backend.C (scanMaster): ";" -> ';'
2687
2688 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2689
2690         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2691         std::binary_function
2692
2693         * lyxtextclass.C (compare_name): rename to...
2694         (LayoutNamesEqual): ...this
2695
2696         * lyxlex_pimpl.C (compare_tags): inherit from
2697         std::binary_function, put back into anon namespace
2698
2699         * lyxfind.C (MatchString): inherig from std::binary_function
2700         (findChange): use empty() istead of !size()
2701
2702         * format.C (FormatNamesEqual): new functor
2703         (getFormat): use it
2704         (getNumber): use it
2705         (add): use it
2706         (erase): use it
2707         (setViewer): use it
2708
2709         * converter.C (compare_Converter): rename to...
2710         (ConverterEqual): ...this, and fixup a bit.
2711         (getConverter): use it, and make function const
2712         (getNumber): use it, and make function const
2713         (add): use it
2714         (erase): use it:
2715
2716         * bufferlist.C: add using boost::bind
2717
2718         * MenuBackend.C (MenuNamesEqual): new functor
2719         (hasMenu): use it, and make function const
2720         (hasSubmenu): use nested bind to get rid of compare_memfun.
2721
2722 2004-01-30  André Pönitz  <poenitz@gmx.net>
2723
2724         * BufferView_pimpl.C:
2725         * cursor.C:
2726         * cursor.h:
2727         * cursor_slice.[Ch]:
2728         * lyxfunc.C:
2729         * lyxtext.h:
2730         * paragraph_funcs.C:
2731         * paragraph_funcs.h:
2732         * rowpainter.C:
2733         * text.C:
2734         * text2.C:
2735         * text3.C: move some of the edit(x,y) handling to the insets
2736         some coordinate changes.
2737
2738 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2739
2740         * text.C: add using statements for std::advance and std::distance
2741
2742         * paragraph.C: add using statement for std::distance
2743
2744         * lyxfind.C: add using statement for std::advance
2745
2746         * cursor.C (region): remove std:: from swap
2747         (openable): use nucleus in stead of operator->
2748
2749         * BufferView.C: add using statements for std::distance and std::swap
2750
2751 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2752
2753         * iterators.C: Remove the pimple, move the needed structures to
2754         the header file. Create accessor for the positions stack.
2755         (asPosIterator): remove function
2756
2757         * PosIterator.C (PosIterator): move constructors to top of file
2758         (PosIterator): reimplement the constructor taking a ParIterator in
2759         terms of setFrom.
2760         (setFrom): new function
2761         (operator!=): inline it
2762
2763 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2764
2765         * lyxfind.C (replaceAll): use std::advance
2766
2767         * iterators.h: inherit from std::iterator.
2768
2769         * PosIterator.C (advance, distance): remove
2770         * PosIterator.h: interit from std::iterator.
2771
2772 2004-01-26  André Pönitz  <poenitz@gmx.net>
2773
2774         * BufferView.[Ch]:
2775         * BufferView_pimpl.[Ch]:
2776         * InsetList.[Ch]:
2777         * PosIterator.[Ch]:
2778         * buffer.h:
2779         * bufferview_funcs.C:
2780         * cursor.[Ch]:
2781         * cursor_slice.h:
2782         * factory.[Ch]:
2783         * iterators.[Ch]:
2784         * lyxfind.C:
2785         * lyxfunc.C:
2786         * lyxtext.h:
2787         * output_docbook.C:
2788         * output_latex.C:
2789         * output_linuxdoc.C:
2790         * output_plaintext.C:
2791         * paragraph.[Ch]:
2792         * paragraph_funcs.[Ch]:
2793         * paragraph_pimpl.[Ch]:
2794         * rowpainter.C:
2795         * tabular.C:
2796         * tabular.h:
2797         * text.C:
2798         * text2.C:
2799         * text3.C: more IU:  dumps most of the rest of the mathcursor
2800     implementation into cursor.[Ch]; "globalize" a bit of it.
2801
2802 2004-01-25  Angus Leeming  <leeming@lyx.org>
2803
2804         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2805
2806 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2807
2808         * LaTeXFeatures.h: add nice_ and nice() const
2809         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2810
2811 2004-01-20  André Pönitz  <poenitz@gmx.net>
2812
2813         * BufferView.[Ch]:
2814         * BufferView_pimpl.C:
2815         * PosIterator.C:
2816         * bufferview_funcs.C:
2817         * cursor.[Ch]:
2818         * cursor_slice.[Ch]:
2819         * factory.C:
2820         * iterators.C:
2821         * lyx_cb.C:
2822         * lyxfind.C:
2823         * lyxfunc.C:
2824         * lyxtext.h:
2825         * rowpainter.C:
2826         * text.C:
2827         * text2.C:
2828         * text3.C:
2829         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2830           LCursor and mathcursor parts to LCursor and InsetBase.
2831
2832 2004-01-15  André Pönitz  <poenitz@gmx.net>
2833
2834         * cursor_slice.[Ch]: add a few covienience functions
2835
2836         * funcrequest.[Ch]: remove BufferView * member
2837
2838         * BufferView_pimpl.C:
2839         * cursor.C:
2840         * factory.[Ch]:
2841         * lyxfind.[Ch]:
2842         * lyxfunc.C:
2843         * lyxtext.h:
2844         * text3.C:
2845         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2846
2847 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2848
2849         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2850         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2851
2852 2004-01-13  André Pönitz  <poenitz@gmx.net>
2853
2854         * textcursor.[Ch]:
2855         * lyxtext.h: hide cursor and selection anchor behind accessor function
2856
2857         * BufferView.C:
2858         * BufferView_pimpl.[Ch]:
2859         * PosIterator.C:
2860         * bufferview_funcs.C:
2861         * cursor.h:
2862         * lyxfind.C:
2863         * lyxfunc.C:
2864         * text.C:
2865         * text2.C:
2866         * text3.C:
2867         * undo.C: adjust
2868
2869         * cursor.h:
2870         * cursor_slice.[Ch]: some integer type changes for inset unification
2871
2872         * lyxcursor.[hC]: remove, it's CursorSlice now.
2873
2874         * Makefile.am:
2875         * BufferView_pimpl.[Ch]:
2876         * bufferview_funcs.C:
2877         * cursor_slice.C:
2878         * lyxtext.h:
2879         * text.C:
2880         * text2.C:
2881         * text3.C:
2882         * textcursor.[Ch]: adjust
2883
2884 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * text2.C (undoSpan): add and use
2887         * text.C (breakParagraph): use undoSpan (fix bug 578)
2888         * lyxtext.h: adjust
2889
2890 2004-01-08  Angus Leeming  <leeming@lyx.org>
2891
2892         * BufferView_pimpl.C (MenuInsertLyXFile):
2893         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2894         * lyxfunc.C (menuNew, open, doImport):
2895         FileFilterList change to the FileDialog open and save functions.
2896
2897 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2898
2899         * ShareContainer.h: make isEqual and isUnique adaptable
2900
2901         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2902
2903 2004-01-07  Angus Leeming  <leeming@lyx.org>
2904
2905         * LyXAction.C:
2906         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2907
2908         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2909
2910         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2911         functions replacing find, replace and replaceAll.
2912
2913         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2914         LFUN_WORDFIND(FORWARD|BACKWARD).
2915
2916 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2917
2918         * text.C (breakParagraph): remove an outdated #warning
2919
2920 2004-01-07  André Pönitz  <poenitz@gmx.net>
2921
2922         * lyxfind.C: somewhat clearer logic
2923
2924         * text.C: prevent crash in cursorX on unitialized row cache
2925
2926 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2927
2928         * lyxcursor.[Ch] (operator>): add
2929         * textcursor.C (selStart, selEnd): use std::min and std::max
2930
2931 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2932
2933         * Chktex.C: include boost/format.hpp
2934
2935 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2936
2937         * InsetList.C: replace functor MathcIt with adaptable functor
2938         InsetTablePosLess
2939         (insetIterator): modify accordingly
2940
2941         * BranchList.h: move the BranchNamesEqual functor here from...
2942         * BranchList.C: ... to here
2943
2944         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2945         SameName and match.
2946         (add): replace a finding loop with std::find_if.
2947
2948 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2949
2950         * output_docbook.C: moving LatexParam functionality into
2951         .layout files
2952
2953 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2954
2955         * buffer.C: increment format to 229.
2956
2957 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2958
2959         * LaTeXFeatures.C:
2960         * lyx_sty.[Ch]: remove minipageindent_def
2961
2962         * LyXAction.C:
2963         * factory.C:
2964         * lfuns.h:
2965         * lyxfunc.C:
2966         * text3.C: remove LFUN_INSET_MINIPAGE
2967
2968 2003-12-28  Angus Leeming  <leeming@lyx.org>
2969
2970         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2971
2972 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2973
2974         * text2.C (setParagraph): fix off-by-one crash
2975
2976 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2977
2978         * output_docbook.C: header stuff for AGU
2979
2980 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * text2.C (redoCursor): remove
2983         * text.C:
2984         * text3.C:
2985         * BufferView_pimpl.C: remove calls to redoCursor and
2986         setCursor(cursor.par(), cursor.pos()) all around
2987
2988 2003-12-15  Angus Leeming  <leeming@lyx.org>
2989
2990         * buffer.C: up the format to 228.
2991
2992 2003-12-15  André Pönitz  <poenitz@gmx.net>
2993
2994         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2995         slices
2996
2997         * Makefile.am:
2998
2999         * BufferView_pimpl.C:
3000         * cursor.[Ch]:
3001         * lyxcursor.[Ch]:
3002         * rowpainter.[Ch]:
3003         * lyxtext.h:
3004         * text.C:
3005         * text2.C:
3006         * text3.C: adjust
3007
3008 2003-12-15  Angus Leeming  <leeming@lyx.org>
3009
3010         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3011         than getFromGUIName to manipulate the color.
3012
3013 2003-12-14  Angus Leeming  <leeming@lyx.org>
3014
3015         * BranchList.[Ch]: minimize the API.
3016         (Branch::getBranch, getColor): now return a 'const &'.
3017         (Branch::setSelected) now returns a bool set to true if the
3018         selection status changes.
3019         (BranchList::clear, size, getColor, setColor, setSelected,
3020         allBranches, allSelected, separator): removed.
3021         (BranchList::find): new functions, returning the Branch with
3022         the given name.
3023         (BranchList::add, remove): return a bool indicating that
3024         the operation was successful.
3025
3026         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3027         new InsetBranch::isBranchSlected member function.
3028
3029         * LColor.[Ch]: mimimize the API.
3030         (fill): renamed as addColor and made private.
3031         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3032         versions of these functions taking a string arg have been removed.
3033
3034         * bufferparams.C (readToken):
3035         * lyxfunc.C (dispatch):
3036         * lyxrc.C (read): changes due to the altered BranchList and
3037         LColor APIs.
3038
3039         * factory.C (createInset, readInset): changes due to altered
3040         InsetBranch c-tor.
3041
3042 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3043
3044         * factory.C:
3045         * lyxfunc.C: remove insetminipage. "minipage-insert"
3046         now produces a frameless minipage box inset.
3047
3048 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3049
3050         * textcursor.[Ch] (selStart,selEnd): add new methods
3051         remove selection::start, end, use LyXCursor::operator<
3052         * lyxcursor.[Ch] (operator<): add
3053         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3054         * BufferView.[Ch] (unsetXSel): add
3055         * text2.C (clearSelection): use unsetXSel,adjust
3056         * text.C: adjust
3057         * text3.C: adjust
3058         * rowpainter.C: adjust
3059         * bufferview_funcs.C (put_selection_at): adjust
3060
3061 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * BufferView_pimpl.C: small coord. correction
3064
3065 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3066
3067         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3068         dragging over the splash screen.
3069
3070 2003-12-11  Angus Leeming  <leeming@lyx.org>
3071
3072         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3073         as it is now handled in LyXText::dispatch.
3074
3075         * text3.C (doInsertInset): remove a level of nesting.
3076
3077 2003-12-11  Angus Leeming  <leeming@lyx.org>
3078
3079         * factory.C (createInset): changes due to the changed interface to
3080         InsetCommandMailer::string2params.
3081
3082 2003-12-10  Angus Leeming  <leeming@lyx.org>
3083
3084         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3085         'dialog-show-new-inset <inset name>'
3086
3087 2003-12-10  Angus Leeming  <leeming@lyx.org>
3088
3089         * buffer.C: up the format to 227.
3090
3091         * factory.C: the box inset is now identified simply by 'Box'.
3092
3093 2003-12-10  Angus Leeming  <leeming@lyx.org>
3094
3095         * buffer.C: up the format to 226.
3096
3097         * factory.C: the note inset is now identified simply by 'Note'.
3098
3099 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3100
3101         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3102         when a pit is enough. Standarize a couple of loops.
3103
3104 2003-12-05  Angus Leeming  <leeming@lyx.org>
3105
3106         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3107         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3108         data to the re-worked "log" dialog.
3109
3110 2003-12-03  André Pönitz  <poenitz@gmx.net>
3111
3112         * PosIterator.C:
3113         * iterators.C:
3114         * lyxtext.h:
3115         * output_latex.C:
3116         * paragraph_funcs.C:
3117         * text.C:
3118         * text2.C: use Inset::getText instead of Inset::getParagraph
3119
3120 2003-12-03  André Pönitz  <poenitz@gmx.net>
3121
3122         * buffer.[Ch]:
3123         * lyxtext.h:
3124         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3125         InsetText::read() as LyXText::read()
3126
3127 2003-12-02  Angus Leeming  <leeming@lyx.org>
3128
3129         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3130         type. Add a comment in the implementation that the function uses
3131         the stream's bad() function rather than fail() as the std::streams
3132         would do.
3133
3134 2003-12-02  André Pönitz  <poenitz@gmx.net>
3135
3136         * lyxlex.[Ch]: make interface more similar to std::stream
3137
3138         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3139
3140 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3141
3142         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3143
3144 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3145
3146         * vspace.[Ch]: remove VSpace::NONE
3147
3148 2003-12-01  André Pönitz  <poenitz@gmx.net>
3149
3150         * buffer.[Ch]:
3151         * lyxtext.h: move ParagraphList member to LyXText
3152         rename LyXText::ownerParagraphs to LyXText::paragraph
3153
3154         * CutAndPaste.C:
3155         * bufferview_funcs.C:
3156         * iterators.[Ch]:
3157         * lyx_cb.C:
3158         * paragraph.C:
3159         * rowpainter.C:
3160         * tabular.C:
3161         * text.C:
3162         * text2.C:
3163         * text3.C: adjust
3164
3165         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3166
3167         * undo.C: fix cursor positioning
3168
3169 2003-12-01  John Levon  <levon@movementarian.org>
3170
3171         * BufferView_pimpl.C: fix a crash on exit with
3172         a buffer open
3173
3174 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3175
3176         * BranchList.C: fix setSelected() method.
3177
3178 2003-11-28  André Pönitz  <poenitz@gmx.net>
3179
3180         * ParagraphParameters.[Ch]:
3181         * ParameterStruct.h: remove space above/below from Paragraph to
3182          InsetVSpace
3183
3184         * BufferView_pimpl.C:
3185         * factory.C:
3186         * lyxfunc.C:
3187         * lyxtext.h:
3188         * output_latex.C:
3189         * paragraph.C:
3190         * paragraph_funcs.C:
3191         * rowpainter.[Ch]:
3192         * text.C:
3193         * text2.C:
3194         * text3.C: adjust
3195
3196 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3197
3198         * factory.C: Syntax change for CharStyles
3199
3200 2003-11-28  André Pönitz  <poenitz@gmx.net>
3201
3202         * BufferView.[Ch]:
3203         * BufferView.[Ch]:
3204         * buffer.[Ch]:
3205         * buffer.[Ch]: move LyXText member
3206
3207 2003-11-28  André Pönitz  <poenitz@gmx.net>
3208
3209         * BufferView.[Ch]: make LyXText * text a private member
3210
3211         * BufferView_pimpl.C:
3212         * cursor.C:
3213         * iterators.C:
3214         * lyx_cb.C:
3215         * lyxfind.C:
3216         * lyxtext.h:
3217         * rowpainter.[Ch]:
3218         * text.C:
3219         * text2.C:
3220         * undo.C: adjust
3221
3222         * output_plaintext.C: cleanup
3223
3224 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3225
3226         * buffer.C:
3227         * lyxtextclass.[Ch]: parametrize SGML document header
3228
3229 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3230
3231         * converter.[Ch]:
3232         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3233         getFlavor().
3234
3235 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3236
3237         * text2.C (setFont): rework using PosIterator (no more recursive)
3238         (setCharFont): no more needed
3239         (setLayout): no more selection cursors fiddling (done by redoCursor)
3240         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3241         destroy remaining ones)
3242
3243 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3244
3245         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3246         * lyxtext.h: ditto
3247         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3248         selection cursors
3249         * lyxfunc.C: adjust
3250         * text3.C: adjust + re-allow multi par depth changes
3251         * textcursor.C: simplify a bit
3252
3253 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3254
3255         * src/buffer.C:
3256         * src/lyxlayout.C:
3257         * src/lyxlayout.h:
3258         * src/lyxtext.h:
3259         * src/output_docbook.C:
3260         * src/output_latex.C:
3261         * src/paragraph.C:
3262         * src/paragraph.h:
3263         * src/sgml.C:
3264         * src/sgml.h:
3265         * src/text2.C: Introducing a number of tags parametrizing various
3266         XML formats that we may want to support
3267
3268 2003-11-25  André Pönitz  <poenitz@gmx.net>
3269
3270         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3271
3272         * lyxtext.h (leftMargin/rightMargin): simplify interface
3273
3274         * rowpainter.C:
3275         * text.C:
3276         * text2.C:
3277         * text3.C: adjust
3278
3279 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3280
3281         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3282         master file to any child files. Fixes bug 546.
3283
3284 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3285
3286         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3287
3288 2003-11-24  André Pönitz  <poenitz@gmx.net>
3289
3290         * rowpainter.C: simplification
3291
3292         * text2.C (updateCounters): remove call to redoParagraph on
3293         changed labels as this is far too expensive.
3294
3295 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3296
3297         * converter.C (convert): fix a crash: this function gets
3298         called with buffer == 0 from importer code.
3299
3300 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3301
3302         * text3.C (cursorPrevious): make sure that we do not compare
3303         iterators form different containers.
3304         (cursorNext): ditto
3305
3306         * rowpainter.C (paintSelection): make sure that we do not compare
3307         iterators from different containers.
3308
3309         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3310         iterators from different ParagraphList containers.
3311         [NEXT] ditto
3312
3313         * text2.C (LyXText): change order of initialization slightly
3314         (operator=): new function. copy all variables except cache_par_
3315         (moveUp): make sure that we do not compare iterators from
3316         different ParagraphList constainers.
3317         (moveDown): ditto
3318
3319         * text.C (firstPar): new function
3320         (lastPar): new function
3321         (endPar): new function
3322
3323         * lyxtext.h: move things around and group public functions, public
3324         variables, private functions, private variables
3325
3326 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3327
3328         * factory.C: change call to InsetERT constructor to avoid
3329         additional invocation of method status
3330         * text2.C (toggleInset): remove redundant update() call
3331         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3332         instead of a Bufferview pointer
3333
3334 2003-11-21  André Pönitz  <poenitz@gmx.net>
3335
3336         * rowpainter.C: simplification
3337
3338 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3339
3340         * text3.C (dispatch): make possible to extend a word/row selection
3341         with the mouse
3342
3343 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3344
3345         * lyxtext.h: x0_,y0_ -> xo_,yo_
3346         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3347         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3348         * rowpainter.C (paintRows): paint full paragraphs
3349
3350 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3351
3352         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3353         screen coordinates)
3354
3355 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3356
3357         * lyxtext.h: add x0_, y0_
3358         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3359         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3360
3361 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3362
3363         * text2.C (setCursorIntern): move the x_target update here *
3364         * text3.C: change some bv() to true/false in calls to
3365         cursorUp/Down/Right/Left
3366         * cursor.C: use helper function.
3367
3368 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3369
3370         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3371         * paragraph_funcs.[Ch]: correct comment
3372         * rowpainter.C: do not paint selections away from bv->cursor()
3373         Fix a long standing selection painting bug.
3374         * text3.C: generalize mouse-selection code to LyXTexts other that
3375         top one
3376         * textcursor.C: do not use y coords if we can use par offsets
3377
3378 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3379
3380         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3381         cursor position after e.g. inset insert)
3382
3383 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3384
3385         * lyxfind.C (replace): adjust to locking removal + some
3386         code simplification
3387
3388 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3389
3390         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3391         of the path
3392
3393 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3394
3395         * lyxlayout.[Ch]:
3396         * output_docbook.C: XML sanitation: new layout
3397         parameters InnerTag and CommandDepth
3398
3399 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3400
3401         * BufferView_pimpl.C:
3402         * factory.C:
3403         * text3.C: Fix the insertion and modification of button-style
3404         insets
3405
3406 2003-11-13  André Pönitz  <poenitz@gmx.net>
3407
3408         * InsetList.[Ch]: remove deleteLyXText
3409
3410         * paragraph.[Ch]: cache beginOfBody position
3411
3412         * Bidi.C:
3413         * text.C:
3414         * text2.C:
3415         * text3.C: remove superfluous update() calls
3416
3417         * vspace.C: cleanup
3418
3419 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3420
3421         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3422         * BufferView.C (fitLockedInsetCursor): remove
3423         * cursor.[Ch] (getDim): add
3424         * text.C (getRowNearY): add faster version
3425         * text3.C: remove some update calls
3426
3427 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3428
3429         * LaTeXFeatures.C:
3430         * LyXAction.C:
3431         * MenuBackend.C:
3432         * MenuBackend.h:
3433         * dispatchresult.h:
3434         * factory.C:
3435         * lfuns.h:
3436         * lyxfunc.C:
3437         * lyxtextclass.C:
3438         * lyxtextclass.h:
3439         * text3.C: The Character Style /XML short element patch.
3440
3441 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3442
3443         * text3.C:
3444         * factory.C: Small step to solving 'unable to insert some insets'
3445         problem
3446
3447 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3448
3449         * cursor.[Ch] (updatePos): new function for updating the y
3450         position of the tip inset
3451         * bufferview_funcs.C (put_selection_at):
3452         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3453
3454 2003-11-11  André Pönitz  <poenitz@gmx.net>
3455
3456         * text.C: remove big comment on invalid Paragraph pointers as it is
3457         not valid anymore
3458
3459 2003-11-11  André Pönitz  <poenitz@gmx.net>
3460
3461         * text_funcs.[Ch]: merge with ...
3462
3463         * text.C: ... this
3464
3465         * lyxtext.h:
3466         * text2.C:
3467         * text3.C: adjust
3468
3469         * Makefile.am: remove text_funcs.[Ch]
3470
3471 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3472
3473         * cursor.C (getPos): return absolute cached y coord
3474
3475         * BufferView_pimpl.C (fitCursor): new simplistic code
3476         (workAreaDispatch): add a fitCursor call
3477
3478 2003-11-10  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView.[Ch]:
3481         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3482
3483 2003-11-10  André Pönitz  <poenitz@gmx.net>
3484
3485         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3486         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3487         indicate that the cursor needs to leave an inset
3488
3489         * lyxtext.h: remove inset locking
3490
3491         * cursor.[Ch]: re-implement functionality provided by inset locking
3492
3493         * BufferView.[Ch]:
3494         * BufferView_pimpl.[Ch]:
3495         * LyXAction.C:
3496         * bufferview_funcs.[Ch]:
3497         * factory.C:
3498         * funcrequest.[Ch]:
3499         * iterators.C:
3500         * lyx_cb.C:
3501         * lyxfind.C:
3502         * lyxfunc.C:
3503         * text.C:
3504         * text2.C:
3505         * text3.C:
3506         * undo.C: adjust
3507
3508 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * PosIterator.[Ch]: replace the stack with a vector, add inset
3511         accesor
3512         * iterators.[C]: adjust
3513
3514 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3517         replaced
3518         * paragraph_funcs.C (readParToken): put the correct id in the
3519         error item, not the id of the top paragraph
3520
3521 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3524         * bufferview_funcs.C (put_selection_at): use the above
3525
3526 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3527
3528         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3529
3530 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3531
3532         * output_linuxdoc.h:
3533         * output_plaintext.h:
3534         * output.h:
3535         * output_docbook.h: add #include statements
3536
3537 2003-11-05  José Matos  <jamatos@lyx.org>
3538
3539         * output_docbook.[Ch]:
3540         * output_latex.[Ch]:
3541         * output_linuxdoc.[Ch]:
3542         * output_plaintext.[Ch]: New files for output formats.
3543         * output.[Ch]: New file for helper functions.
3544
3545         * buffer.[Ch]:
3546         * paragraph_funcs.[Ch]: output functions moved to new files.
3547
3548         * outputparams.h: rename of latexrunparams.h
3549
3550         * LaTeX.[Ch]:
3551         * buffer.[Ch]:
3552         * bufferlist.[Ch]:
3553         * converter.[Ch]:
3554         * exporter.C:
3555         * paragraph.[Ch]:
3556         * paragraph_funcs.[Ch]:
3557         * paragraph_pimpl.[Ch]:
3558         * tabular.[Ch]: rename ascii to plaintext
3559         and LatexRunParams to OutputParams.
3560
3561 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3562
3563         * iterators.[Ch] (text): require bv argument
3564         * undo.C (recordUndo):
3565         * lyxfunc.C (dispatch):
3566         * bufferview_funcs.C (put_selection_at): adjust
3567
3568 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3569
3570         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3571
3572 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3575         nestings
3576
3577 2003-11-04  André Pönitz  <poenitz@gmx.net>
3578
3579         * cursor.[Ch]: restructure
3580
3581         * BufferView.[Ch]:
3582         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3583
3584         * iterators.[Ch] (asCursor): remove
3585
3586         * lfuns.h: remove LFUN_INSET_EDIT
3587
3588         * lyxfunc.C:
3589         * tabular.C:
3590         * text.C:
3591         * text2.C:
3592         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3593
3594 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * lyxfind.[Ch]: complete overhaul
3597         * BufferView_pimpl.C:
3598         * lyxfunc.C: adjust
3599         * paragraph.[Ch] (insert): add
3600
3601 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3602
3603         * BufferView.[Ch]:
3604         * lyxtext.h:
3605         * text.C: remove dead spellcheck code
3606
3607 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * dispatchresult.h: add a val setter
3610
3611         * cursor.C (dispatch): use a tempvar for data_[i]
3612
3613 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * PosIterator.[Ch]: compile fix
3616
3617 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3618
3619         * text.C (cursorPar): deactivate the cursor cache
3620
3621 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3622
3623         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3624
3625 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * text3.C (dispatch): adjust for new DisptchResult semantics.
3628
3629         * lyxfunc.C (dispatch): handle update when return from
3630         Cursor::dispatch, adjust for new DispatchResult semantics.
3631
3632         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3633         DispatchResult(true) mean to not update. Add class functions for
3634         setting dispatched and update, as well as reading.
3635
3636         * cursor.C (dispatch): don't handle update here
3637
3638 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3641         * trans_mgr.C: adjust
3642
3643         * paragraph_funcs.C (readParToken): exception safety
3644
3645         * lyxvc.h: store the vcs pointer in a scoped_ptr
3646         * lyxvc.C: adjust
3647
3648         * lyxsocket.C (serverCallback): exception safety
3649
3650         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3651
3652         * ispell.C (clone): make it return a auto_ptr
3653
3654         * factory.C (createInset): exception safety
3655         (readInset): exception safety
3656
3657         * bufferlist.C (newBuffer): exception safety
3658
3659         * Thesaurus.C (Thesaurus): use initialization for aik_
3660
3661         * MenuBackend.C (expandToc): exception safety.
3662
3663 2003-11-03  André Pönitz  <poenitz@gmx.net>
3664
3665         * buffer.C:
3666         * buffer.h:
3667         * bufferview_funcs.C: remove getInsetFromId()
3668
3669         * lyxcursor.[Ch]:
3670         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3671
3672         * lyxfunc.C:
3673         * text2.C:
3674         * text3.C: adjust
3675
3676 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3677
3678         * PosIterator.C (distance, advance): new
3679         * bufferview_funcs.[Ch] (put_selection_at): new
3680         * iterators.[Ch] (lockPath): new
3681
3682 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3683
3684         * iterators.[Ch] (asPosIterator): added
3685         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3686         * PosIterator.[Ch]: added
3687
3688 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * text3.C:
3691         * lyxfunc.C:
3692         * cursor.C (dispatch):
3693         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3694
3695         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3696         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3697         contructor, add a class function dispatched. Remove operator>=
3698
3699 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3700
3701         * debug.C: only use the default constructor for debugstream
3702         (lyxerr) here.
3703
3704         * main.C (main): include debug.h and setup the lyxerr streambuf
3705         here.
3706
3707 2003-10-31  José Matos  <jamatos@lyx.org>
3708
3709         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3710
3711         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3712         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3713         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3714         * paragraph_pimpl.C (simpleTeXSpecialC):
3715         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3716         add LatexRunParams argument.
3717
3718         * exporter.C (Export): change call accordingly.
3719
3720         * latexrunparams.h: add new member to take care of the other backends.
3721 2003-10-30  José Matos  <jamatos@lyx.org>
3722
3723         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3724         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3725         factorise code for paragraph output.
3726         * buffer.[Ch]:
3727         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3728         move functions.
3729
3730 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * text3.C (dispatch):
3733         * lyxfunc.C (dispatch):
3734         * cursor.C (dispatch):
3735         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3736
3737         * dispatchresult.h: make the dispatch_result_t ctor explicit
3738
3739 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3740
3741         * sgml.[Ch]:
3742         * buffer.C: small refactoring of docbook stuff
3743
3744 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3747         meaning.
3748
3749 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3750
3751         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3752         operator dispatch_result_t, and operators for == != and >=
3753
3754         * cursor.C (dispatch): adjust for operator dispatch_result_t
3755         removal. comment out call to update
3756
3757         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3758
3759 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * text3.C:
3762         * text2.C:
3763         * text.C:
3764         * lyxtext.h:
3765         * lyxfunc.C:
3766         * cursor.C:
3767         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3768         (dispatch):
3769
3770         * dispatchresult.h: new file, DispatchResult broken out of
3771         insets/insetbase.h
3772
3773         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3774
3775 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * text.C (rowBreakPoint): put a hack inside #if 0
3778
3779 2003-10-28  André Pönitz  <poenitz@gmx.net>
3780
3781         * lyxtext.h:
3782         * metricsinfo.C:
3783         * paragraph_funcs.C:
3784         * rowpainter.C:
3785         * text.C:
3786         * text2.C: general cleanup (lots of small stuff)
3787
3788 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3789
3790         * text2.C (cursorEnd): simple fix to the "end key goes to one
3791         before the end on last row" bug
3792
3793 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3794
3795         * text.C (backspace): fix the "zombie characters"
3796
3797 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3798
3799         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3800
3801 2003-10-27  André Pönitz  <poenitz@gmx.net>
3802
3803         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3804
3805         * factory.C: handle new InsetPagebreak, InsetLine
3806
3807         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3808         and move handling into new InsetPagebreak, InsetLine
3809
3810         * BufferView_pimpl.C:
3811         * LyXAction.C:
3812         * ParagraphParameters.C:
3813         * ParameterStruct.h:
3814         * lyxfunc.C:
3815         * lyxtext.h:
3816         * paragraph.C:
3817         * paragraph.h:
3818         * paragraph_funcs.C:
3819         * paragraph_pimpl.C:
3820         * rowpainter.C:
3821         * text.C:
3822         * text2.C:
3823         * text3.C: adjust
3824
3825 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3826
3827         * text.C:
3828         * lyxrow_funcs.[Ch]:
3829         * Bidi.C:
3830         * paragraph.C:
3831         * lyxtext.h:
3832         * rowpainter.C:
3833         * text2.C:
3834         * text3.C: remove lastPos uses in favour of Row::endpos
3835
3836 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3837
3838         * undo.C (performUndoOrRedo): fix two crashes by setting a
3839         cursor by hand and reordering some calls. Use bv->lockInset instead
3840         of inset->edit because the latter loses cursor information
3841
3842 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3843
3844         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3845         by Martin
3846         (rowBreakPoint): fix width. change point to point + 1.
3847         Add a missing check.
3848
3849 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3850
3851         * MenuBackend.C:
3852         * lyxfunc.C: fix (at least partly) the problems
3853         with the Nav menu and headers inside branch insets
3854         reported by Kayvan
3855
3856 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3857
3858         * paragraph.C (getChar): add strong asserts
3859
3860         * lyxrow_funcs.C (lastPos): remove hideous hack
3861
3862         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3863         (fill): adjust to that (avoid an infinite loop)
3864
3865 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3866
3867         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3868
3869 2003-10-23  André Pönitz  <poenitz@gmx.net>
3870
3871         * RowList_fwd.h: change list<> to vector<> to gain speed
3872         after suggestion from Alfredo
3873
3874 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3875
3876         * lyxtext.h: move the bidi stuff from here...
3877         * text.C: and here
3878         * text2.C: and here
3879         * Bidi.[Ch]: ... to here
3880
3881 2003-10-23  André Pönitz  <poenitz@gmx.net>
3882
3883         * lyxtext.h:
3884         * text.C (isLastRow, isFirstRow): new functions
3885
3886         * paragraph.h: new width cache member
3887
3888         * rowpainter.C: replace RowList::iterator with Row & where possible
3889
3890         * lyxfunc.C: replace several view()->text with a single call
3891
3892         * toc.C: fix 'unused' warning
3893
3894 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3897         when woring with stream::pos_type
3898         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3899
3900 2003-10-22  André Pönitz  <poenitz@gmx.net>
3901
3902         * lyxtext.h:
3903         * text.C: use Row & instead of RowList::iterator
3904
3905         * lyxrow.h: rename end() to endpos()
3906
3907         * rowpainter.C:
3908         * text.C:
3909         * text2.C: adjust
3910
3911 2003-10-22  Angus Leeming  <leeming@lyx.org>
3912
3913         * buffer.[Ch] (fully_loaded): new member function, returning true
3914         only when the file has been loaded fully.
3915         Used to prevent the premature generation of previews and by the
3916         citation inset to prevent computation of the natbib-style label.
3917
3918         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3919         templates are all set up.
3920
3921         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3922
3923 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3924
3925         * text.C: fixed an "oops" in the "is a bit silly"
3926         bug fix
3927
3928 2003-10-21  André Pönitz  <poenitz@gmx.net>
3929
3930         * FuncStatus.[Ch]: small stuff, whitespace
3931
3932         * lyxfont.[Ch]: operator<<() for debug reasons
3933
3934         * lyxfunc.C:
3935         * lyxrow_funcs.C:
3936         * lyxtext.h: whitespace, spelling
3937
3938         * paragraph.C: naming of variables
3939
3940         * text.C:
3941         * text2.C: small stuff
3942
3943
3944 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3945
3946         * text.C: (1) finish off the inset display() work;
3947         (2) fix the "is a bit silly" bug (accessing char
3948         past end of par).
3949
3950 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3951
3952         * text.C: re-introduce display() for insets, fixing the
3953         various bugs (stretch of line above, math inset
3954         positioning, ...)
3955
3956 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3957
3958         * text.C (rightMargin): remove spurious semicolon
3959
3960         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3961         1415)
3962
3963 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3964
3965         * text3.C: fix one crash due to wrong cursor def
3966
3967 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * vc-backend.C (scanMaster): make the regex static
3970
3971         * LaTeX.C (scanAuxFile): make the regexs static
3972
3973         * text3.C (doInsertInset, dispatch, dispatch):
3974         * text2.C (cursorUp, cursorDown):
3975         * text.C (selectNextWordToSpellcheck):
3976         * BufferView_pimpl.C (dispatch):
3977         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3978
3979 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3980
3981         * lyxsocket.C: include <cerrno>
3982
3983 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * lyxfunc.C (dispatch): remove textcache stuff
3986
3987         * bufferlist.C (release): remove textcache stuff
3988         (closeAll): ditto
3989
3990         * TextCache.C: delete file
3991         * TextCache.h: delete file
3992
3993         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3994
3995         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3996         delete of the bv_->text.
3997         (resizeCurrentBuffer): remove texcache stuff
3998         (workAreaResize): ditto
3999
4000 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4003         action.
4004
4005 2003-10-16  André Pönitz  <poenitz@gmx.net>
4006
4007         * lyxrow.[Ch]:
4008         * paragraph.h:
4009         * rowpainter.C:
4010         * text.C:
4011         * text2.C:
4012         * text3.C: speed up by storing y positions per paragraph plus per-row
4013         offset instead of having a 'full' y position in the row.
4014
4015 2003-10-15  André Pönitz  <poenitz@gmx.net>
4016
4017         * iterators.[Ch]:
4018         * iterators.[Ch]:
4019         * undo.[Ch]: make undo aware of inner insets
4020
4021 2003-10-14  Angus Leeming  <leeming@lyx.org>
4022
4023         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4024         static member functions LyX::ref() and LyX::cref.
4025         (lastfiles): new accessor functions for the new lastfiles_ member var.
4026         (addLyXView, views_): add a new LyXView to the list of views_.
4027         (updateInset): loop over all LyXViews to call their own updateInset
4028         member function, returning a pointer to the Buffer owning the inset.
4029
4030         * BufferView_pimpl.C (loadLyXFile):
4031         * MenuBackend.C (expandLastfiles):
4032         * bufferlist.C (MenuWrite, QuitLyX):
4033         lastfiles is no longer a global variable.
4034         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4035
4036         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4037         static function. Access through LyX::cref().emergencyCleanup().
4038
4039 2003-10-14  André Pönitz  <poenitz@gmx.net>
4040
4041         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4042
4043         * undo.[Ch]: restoring part of 'undo in insets'
4044
4045         * Makefile.am:
4046         * undo_funcs.[Ch]: merge with undo.[Ch]
4047
4048         * tabular.C: small cleansing stuff
4049
4050 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4051
4052         * paragraph_funcs.C (readParToken): report unknown insets as error
4053         boxes. Use the outer paragraph as location (also for unknown
4054         tokens).
4055
4056         * factory.C (readInset): do not abort on reading an unknown inset.
4057         Eat it and return 0.
4058
4059 2003-10-13  Angus Leeming  <leeming@lyx.org>
4060
4061         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4062
4063         * lyxrc.C: displayTranslator is now a function,
4064         declared in GraphicsTypes.h.
4065
4066 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4067
4068         * format.C: new placeholder $$a to pass the socket address.
4069
4070         * bufferlist.[Ch]: new function getBufferFromTmp.
4071
4072         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4073           files in the temporary dir.
4074
4075 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4076
4077         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4078
4079         * Makefile.am: add lyxsocket.[Ch].
4080
4081         * lyx_main.C (error_handler): handle SIGPIPE.
4082
4083 2003-10-13  André Pönitz  <poenitz@gmx.net>
4084
4085         * BufferView_pimpl.C:
4086         * lyxtext.h:
4087         * text.C:
4088         * text2.C:
4089         * text3.C:
4090         * undo_funcs.[Ch]: use paroffset_type instead of
4091           ParagraphList::iterators to prevent multiple conversion
4092           (and get a more robust interface)
4093
4094 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4097         * lyxtext.h: ditto
4098         * text3.C (dispatch): ditto
4099
4100 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4103         move the onlyfile, use onlyfile instead of foundfile in a couple
4104         of places.
4105
4106         * DepTable.C (update): flush the error stream a bit more
4107
4108 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * lyxserver.C (callback): adjust
4111
4112         * lyxfunc.C (getStatus): add a missing brace in commented code
4113         (ensureBufferClean): reindent
4114         (dispatch): delete version taking a string
4115
4116 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4117
4118         * LaTeX.C (deplog): move found file handlig from here...
4119         (handleFoundFile): .. to new function here.
4120         (deplog): make sure to discover several files mentioned on the
4121         same log line.
4122
4123 2003-10-10  André Pönitz  <poenitz@gmx.net>
4124
4125         * lyxfunc.C:
4126         * lyxtext.h:
4127         * tabular.C:
4128         * text.C:
4129         * text2.C:
4130         * text3.C: fix some of the tabular crashes
4131
4132 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4133
4134         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4135
4136         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4137
4138 2003-10-09  André Pönitz  <poenitz@gmx.net>
4139
4140         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4141
4142         * BufferView.C:
4143         * BufferView_pimpl.C:
4144         * bufferview_funcs.C:
4145         * lyx_cb.C:
4146         * lyxcursor.C:
4147         * lyxfind.C:
4148         * lyxfunc.C:
4149         * lyxtext.h:
4150         * text.C:
4151         * text2.C:
4152         * text3.C:
4153         * text_funcs.[Ch]:
4154         * textcursor.[Ch]:
4155         * undo_funcs.C: adjust
4156
4157 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * text2.C (incrementItemDepth): new function, use a backtracking
4160         algorithm to discover the correct item depth.
4161         (resetEnumCounterIfNeeded): new function, use a backtracking
4162         algorithm to discover if counter reset is needed.
4163         (setCounter): use them. Simplify a bit. Add different labels for
4164         different item depths for itemize.
4165
4166         * paragraph.C (Paragraph): remove initialization of enumdepth
4167         (operator=): ditto
4168
4169         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4170         enumerate and itemize. Change the type of itemdepth to signed char.
4171
4172 2003-10-08  André Pönitz  <poenitz@gmx.net>
4173
4174         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4175           thing assignable.
4176         * text.C:
4177         * text2.C: adjust
4178
4179         * tabular.[Ch]: fix crash after 'row-insert'
4180
4181 2003-10-08  Angus Leeming  <leeming@lyx.org>
4182
4183         Fix doxygen warnings.
4184
4185         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4186         Remove CutAndPaste:: prefix from header file declaration.
4187
4188         * LColor.h (fill): remove LColor:: prefix from declaration.
4189
4190         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4191         use lyx::depth_type rather than Paragraph::depth_type so that
4192         header file and .C file match.
4193
4194         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4195
4196         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4197         * aspell.C: \file aspell_local.C -> \file aspell.C
4198         * gettext.C: \file gettext.C -> \file src/gettext.C
4199         * gettext.h: \file gettext.h -> \file src/gettext.h
4200         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4201         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4202         * text.C: \file text.C -> \file src/text.C
4203
4204         * toc.C: move comment so that doxygen is not confused.
4205
4206 2003-10-07  Angus Leeming  <leeming@lyx.org>
4207
4208         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4209
4210 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4211
4212         * aspell.C:
4213         * aspell_local.h: add forgotten std::string's.
4214
4215 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4216
4217         * LaTeXFeatures.C:
4218         * LyXAction.C:
4219         * factory.C:
4220         * lfuns.h:
4221         * lyxfunc.C:
4222         * text3.C: The Box patch. Fancybox support, minipage, parbox
4223
4224 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4225
4226         * CutAndPaste.h:
4227         * DepTable.h:
4228         * FloatList.h:
4229         * LaTeXFeatures.h:
4230         * ParagraphParameters.h:
4231         * TextCache.h:
4232         * Thesaurus.h:
4233         * bufferlist.h:
4234         * exporter.h:
4235         * importer.h:
4236         * lastfiles.h:
4237         * lyxfind.h:
4238         * lyxfont.h:
4239         * lyxlex.h:
4240         * lyxtextclasslist.h:
4241         * messages.h:
4242         * paragraph.h:
4243         * paragraph_pimpl.C:
4244         * textcursor.h: add <string> and other small fixes to make Lars'
4245         std::string patch compile with STLport.
4246
4247 2003-10-06  Angus Leeming  <leeming@lyx.org>
4248
4249         * LColor.h: Add missing #include <string>.
4250
4251 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * All most all file in all subdirs: Make <string> be the prefered
4254         way of getting to std::string, add using declarations.
4255
4256 2003-10-06  André Pönitz  <poenitz@gmx.net>
4257
4258         * metricsinfo.C: initialize LyXFont before changing attribute.
4259         (fixes the 'math in \emph is upright' bug)
4260
4261 2003-10-06  André Pönitz  <poenitz@gmx.net>
4262
4263         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4264
4265 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4266
4267         * graph.C:
4268         * paragraph_pimpl.C: Small fixes to build using STLport
4269
4270 2003-10-02  André Pönitz  <poenitz@gmx.net>
4271
4272         * lyxfunc.C:
4273         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4274
4275 2003-10-01  André Pönitz  <poenitz@gmx.net>
4276
4277         * factory.C: assert early
4278
4279 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * lyx_main.C: remove the global debug object
4282
4283         * debug.h: adjust for new debugstream
4284
4285         * debug.C: adjust for new debugstream and keep the global debug
4286         object here.
4287
4288 2003-09-22  Angus Leeming  <leeming@lyx.org>
4289
4290         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4291         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4292         an incomplete class LyXFont.
4293
4294 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * factory.C: bug fix in branches
4297
4298 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * lyxfunc.C (processKeySym): adjust
4301         (dispatch): adjust
4302         (dispatch): change arg name from ev to func, adjust
4303         (sendDispatchMessage): ditto
4304
4305         * lyx_main.C (defaultKeyBindings): adjust keybindings
4306         (deadKeyBindings): ditto
4307
4308         * kbsequence.C (addkey): return a FuncRequest
4309
4310         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4311
4312         * kbmap.C (bind): take a FuncRequest as arg, adjust
4313         (read): adjust
4314         (lookup): adjust
4315         (defkey): change to take a FuncRequest as arg, adjust
4316         (findbinding): take a FuncRequest as arg, adjust.
4317
4318         * funcrequest.h (operator=): added
4319
4320         * funcrequest.C (FuncRequest): default kb_action changed from
4321         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4322
4323         * buffer.C (dispatch): simplify
4324         (dispatch): adjust to take a FuncRequest as arg, adjust
4325
4326         * boost.C (assertion_failed): change assertion message slightly
4327
4328         * ToolbarBackend.C (read): simplify
4329
4330         * MenuBackend.C (binding): adjust call to findbinding, add a
4331         message if no binding is found.
4332         (read): simplify
4333         (expandToc): correct by adding a empty FuncRequest
4334
4335         * LyXAction.C: include <boost/assert.hpp>
4336         (isPseudoAction): delete function
4337         (LookupFunc): change name to...
4338         (lookupFunc): this. change return type to FuncRequest.
4339         (getActionName): take kb_action as arg, simplify
4340         (funcHasFlag): add an assert, simplify.
4341
4342 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * toc.C (action): return a FuncRequest, simplify
4345
4346         * lyxfunc.C (processKeySym): adjust
4347         (getStatus): delete version that takes an int.
4348         (getStatus): adjust
4349         (dispatch): delete version that takes action as int
4350         (dispatch): adjust
4351         (sendDispatchMessage): simplify and adjust
4352
4353         * funcrequest.C (getArg): take unsigned int as arg
4354
4355         * ToolbarBackend.C (read): adjust
4356         (add): delete version that takes func as a string.
4357         (getIton): take a FuncRequest as arg
4358
4359         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4360         action.
4361
4362         * MenuBackend.C (MenuItem): add a new construct that only takes a
4363         Kind, simplify the constructor use for submenus.
4364         (add): adjust
4365         (expandLastfiles): adjust
4366         (expandDocuments): adjust
4367         (expandFormats): adjust
4368         (expandFloatListInsert): adjust
4369         (expandFloatInsert): adjust
4370         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4371
4372         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4373         Remove class variables lyx_pseudo_map and lyx_arg_map
4374
4375         * LyXAction.C (searchActionArg): delete function
4376         (getPseudoAction): delete function
4377         (retrieveActionArg): delete function
4378         (LookupFunc): make it return kb_action, simplify.
4379         (getActionName): simplify
4380
4381         * factory.C (createInset): fix new bug
4382
4383 2003-09-19  Angus Leeming  <leeming@lyx.org>
4384
4385         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4386         masterFilename_ parameter in the include inset.
4387
4388         * factory.C (createInset): changes due to the changes to InsetInclude.
4389
4390 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4391
4392         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4393
4394 2003-09-18  Angus Leeming  <leeming@lyx.org>
4395
4396         * buffer.C:
4397         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4398         Inset::fillWithBibKeys.
4399         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4400
4401 2003-09-18  Angus Leeming  <leeming@lyx.org>
4402
4403         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4404         variables.
4405         (ctor): pass and store a 'Buffer const &'
4406         (buffer): new member function.
4407
4408         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4409         '*this' to the LaTeXFeatures ctor.
4410
4411 2003-09-18  Angus Leeming  <leeming@lyx.org>
4412
4413         * LColor.h:
4414         * lyxfont.C:
4415         * lyxfont.h:
4416         * lyxtext.h:
4417         * text.C: rename EnumLColor as LColor_color.
4418
4419 2003-09-18  Angus Leeming  <leeming@lyx.org>
4420
4421         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4422         remove #include "insets/insetbase.h" from cursor.h.
4423
4424 2003-09-18  Angus Leeming  <leeming@lyx.org>
4425
4426         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4427         InsetOld_code to remove #include "inset.h".
4428
4429         * iterators.C: add #include "insets/inset.h"
4430
4431 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4432
4433         * BufferView.C: remove more locking stuff that apparently doesn't
4434         do anything sensible.
4435
4436 2003-09-16  André Pönitz  <poenitz@gmx.net>
4437
4438         * paragraph.[Ch]:
4439         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4440           performance boost.
4441
4442 2003-09-16  Angus Leeming  <leeming@lyx.org>
4443
4444         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4445
4446         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4447         arg/return type.
4448
4449         * paragraph.h: remove #include "lyxfont.h". Forward declare
4450         LyXFont_size.
4451
4452 2003-09-16  Angus Leeming  <leeming@lyx.org>
4453
4454         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4455         of support/textutils.h.
4456         (isWord): move the contents of support/textutils.h's IsWordChar here.
4457
4458         * buffer.C:
4459         * lyxfind.C:
4460         * rowpainter.C:
4461         * text.C:
4462         * text2.C: add #include "paragraph.h".
4463
4464         * rowpainter.C:
4465         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4466
4467 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * main.C:
4470         * lyx_main.C:
4471         * lyx_cb.C:
4472         * buffer.C:
4473         * LaTeX.C: use namespace alias for lyx::support::os
4474
4475 2003-09-16  Angus Leeming  <leeming@lyx.org>
4476
4477         * bufferparams.C:
4478         * bufferview_funcs.C:
4479         * factory.C:
4480         * lyxfunc.C:
4481         * paragraph_pimpl.C:
4482         * rowpainter.C:
4483         * text.C: add #include "LColor.h".
4484
4485 2003-09-16  Angus Leeming  <leeming@lyx.org>
4486
4487         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4488         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4489         return LyXFont &.
4490         Store the FontBits::color variable as an int rather than as an
4491         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4492         file.
4493
4494         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4495         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4496         string calls together.
4497
4498         * lyxrc.C: add #include "LColor.h".
4499
4500 2003-09-15  Angus Leeming  <leeming@lyx.org>
4501
4502         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4503         a cow_ptr.
4504
4505 2003-09-15  Angus Leeming  <leeming@lyx.org>
4506
4507         * LColor.h: add an EnumLColor wrapper for LColor::color.
4508
4509         * lyxfont.[Ch] (color, setColor, realColor):
4510         * lyxtext.h, text.C (backgroundColor):
4511         pass EnumLColor args to/from the functions, rather than LColor::color
4512         ones.
4513
4514         * lyxfont.h:
4515         * lyxtext.h: forward declare EnumLColor.
4516
4517         * lyx_main.C: add #include "LColor.h".
4518
4519 2003-09-15  Angus Leeming  <leeming@lyx.org>
4520
4521         * .cvsignore: add lyx-gtk.
4522
4523 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * Chktex.C
4526         * LaTeX.C
4527         * LaTeXFeatures.C
4528         * ParagraphParameters.C
4529         * Spacing.C
4530         * buffer.C
4531         * bufferparams.C
4532         * bufferview_funcs.C
4533         * chset.C
4534         * counters.C
4535         * funcrequest.C
4536         * lyxfont.C
4537         * lyxgluelength.C
4538         * lyxlength.C
4539         * paragraph.C
4540         * paragraph_funcs.C
4541         * text3.C
4542         * vc-backend.C: remove usage of STRCONV
4543
4544 2003-09-15  Angus Leeming  <leeming@lyx.org>
4545
4546         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4547         explicitly define the color passed to the painter.
4548
4549 2003-09-15  Angus Leeming  <leeming@lyx.org>
4550
4551         * bufferparams.C (BufferParams): reorder member initializers to avoid
4552         compiler warning.
4553
4554 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4557         * text.C (updateRowPositions): remove an unusual nop
4558
4559 2003-09-12  André Pönitz  <poenitz@gmx.net>
4560
4561         * BufferView_pimpl.C:
4562         * Bullet.C:
4563         * layout.h:
4564         * lyxfunc.C:
4565         * lyxlayout.[Ch]:
4566         * lyxtextclass.C:
4567         * rowpainter.C:
4568         * text.C:
4569         * text2.C:
4570         * Counters.[Ch]: finish the 'automatic counters' job
4571
4572 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4573
4574         * aspell.C: include <boost/assert.cpp> (compile fix)
4575
4576 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4577
4578         * boost.C (assertion_failed): use lyx::support::abort instead of
4579         assert.
4580
4581 2003-09-10  Angus Leeming  <leeming@lyx.org>
4582
4583         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4584         with their _fwd progeny.
4585
4586 2003-09-09  Angus Leeming  <leeming@lyx.org>
4587
4588         134 files throughtout the source tree: replace 'using namespace abc;'
4589         directives with the appropriate 'using abc::xyz;' declarations.
4590
4591 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4592
4593         * boost.C (emergencyCleanup): moved here from LAssert.c
4594         (assertion_failed): new function, called by BOOST_ASSERT
4595
4596         * several files: change Assert to BOOST_ASSERT
4597
4598 2003-09-09  Angus Leeming  <leeming@lyx.org>
4599
4600         * buffer.[Ch]: Add an Impl class and move Buffer's member
4601         variables into it. As a result move several header files out of
4602         buffer.h.
4603
4604         Add header files to lots of .C files all over the tree as a result.
4605
4606 2003-09-09  Angus Leeming  <leeming@lyx.org>
4607
4608         * buffer.[Ch]: make Buffer's member variables private. Add
4609         accessor functions.
4610
4611         Lots of changes all over the tree as a result.
4612
4613 2003-09-08  Angus Leeming  <leeming@lyx.org>
4614
4615         * graph.C: #include <config.h>.
4616
4617 2003-09-08  Angus Leeming  <leeming@lyx.org>
4618
4619         * BranchList.C:
4620         * BufferView.C:
4621         * BufferView_pimpl.C:
4622         * CutAndPaste.C:
4623         * DepTable.C:
4624         * LaTeX.C:
4625         * LaTeXFeatures.C:
4626         * LyXAction.C:
4627         * MenuBackend.C:
4628         * TextCache.C:
4629         * aspell.C:
4630         * buffer.C:
4631         * bufferlist.C:
4632         * changes.C:
4633         * chset.C:
4634         * converter.C:
4635         * counters.C:
4636         * debug.C:
4637         * graph.C:
4638         * ispell.C:
4639         * lyx_cb.C:
4640         * lyxfind.C:
4641         * lyxfunc.C:
4642         * lyxlex_pimpl.C:
4643         * lyxrc.C:
4644         * lyxrow.C:
4645         * paragraph.C:
4646         * rowpainter.C:
4647         * texrow.C:
4648         * text.C:
4649         * text2.C:
4650         * toc.C: remove redundant using directives.
4651
4652 2003-09-07  Angus Leeming  <leeming@lyx.org>
4653
4654         * LaTeXFeatures.h: remove #include "support/types.h".
4655         * ToolbarBackend.h: remove #include <algorithm>.
4656         * changes.h: remove #include <ctime>.
4657         * debug.h: remove #include <iosfwd>.
4658         * graph.h: remove #include "support/std_string.h".
4659         * lyx_main.h: remove #include <csignal>.
4660         * lyxlex_pimpl.h: remove #include <fstream>.
4661         * sgml.h: remove #include <algorithm>, <utility>.
4662         * toc.h: remove #include "support/std_ostream.h".
4663         Add #include <iosfwd>.
4664
4665 2003-09-07  Angus Leeming  <leeming@lyx.org>
4666
4667         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4668
4669         * converter.h: forward declare LatexRunParams.
4670         * encoding.h: remove #include "lyxrc.h".
4671         * lyxtext.h: remove #include "LColor.h".
4672         * lyxtextclass.h: remove #include "support/types.h".
4673         * trans.h: remove #include "tex-accent.h".
4674         * trans_mgr.h: remove #include "tex-accent.h".
4675         * insets/inset.h: remove #include "support/types.h", <vector>.
4676         * insets/insetcollapsable.h: remove #include "LColor.h".
4677         * insets/insetinclude.h: remove #include "dimension.h".
4678         * insets/insetlatexaccent.h: remove #include "dimension.h".
4679         * insets/insetoptarg.h:: remove #include "insettext.h".
4680         * insets/insettext.h: remove #include "dimension.h",
4681         <boost/shared_ptr.hpp>
4682
4683         * insets/renderers.h: add #include "dimension.h".
4684         * insets/updatableinset.h: add #include "support/types.h".
4685
4686         * many .C files: Associated changes.
4687
4688 2003-09-06  Angus Leeming  <leeming@lyx.org>
4689
4690         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4691         one, inside testInvariant.
4692
4693         * PrinterParams.C: new file.
4694         * PrinterParams.[Ch]: move the function bodies out of line.
4695
4696 2003-09-06  Angus Leeming  <leeming@lyx.org>
4697
4698         * ParagraphParameters.h: forward declare ParameterStruct rather than
4699         including its header file.
4700         (depth): moved out-of-line.
4701
4702 2003-09-06  Angus Leeming  <leeming@lyx.org>
4703
4704         * BufferView_pimpl.h:
4705         * kbmap.h:
4706         * kbsequence.h:
4707         * lyxfunc.h: forward declare LyXKeySym rather than
4708         #include "frontends/LyXKeySym.h".
4709
4710         * BufferView_pimpl.C:
4711         * kbmap.C:
4712         * kbsequence.C:
4713         * lyxfunc.C: associated changes.
4714
4715 2003-09-06  Angus Leeming  <leeming@lyx.org>
4716
4717         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4718         As a result, can remove the #include "insets/inset.h" from BufferView.h
4719
4720 2003-09-06  Angus Leeming  <leeming@lyx.org>
4721
4722         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4723         As a result, can remove the #include "insets/inset.h" from BufferView.h
4724
4725 2003-09-06  Angus Leeming  <leeming@lyx.org>
4726
4727         * buffer_funcs.C:
4728         * buffer.h:
4729         * bufferlist.C:
4730         * BufferView.C:
4731         * bufferview_funcs.C:
4732         * BufferView_pimpl.C:
4733         * CutAndPaste.C:
4734         * lyx_cb.C:
4735         * lyxfunc.C:
4736         * paragraph.h:
4737         * ParagraphParameters.C:
4738         * tabular.C:
4739         * text3.C:
4740         * toc.C:
4741         * undo_funcs.C:
4742         * frontends/controllers/ControlDocument.C:
4743         * insets/insetcaption.C: rearrange the #includes into some sort of
4744         coherent order.
4745
4746         * buffer.h: remove #includes ErrorList.h, undo.h
4747
4748 2003-09-06  Angus Leeming  <leeming@lyx.org>
4749
4750         * support/types.h: add a 'depth_type' typedef, used to store the
4751         nesting depth of a paragraph.
4752
4753         * paragraph.h:
4754         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4755         defining explicitly.
4756
4757         * buffer.h:
4758         * paragraph_funcs.h:
4759         * ParagraphParameters.h:
4760         * sgml.h: use lyx::depth_type rather than Paragraph or
4761         ParameterStruct's depth_type.
4762
4763         * buffer.h
4764         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4765
4766         * BufferView.C:
4767         * BufferView_pimpl.C:
4768         * CutAndPaste.C:
4769         * ParagraphParameters.C:
4770         * buffer_funcs.C:
4771         * bufferlist.C:
4772         * bufferview_funcs.C:
4773         * lyx_cb.C:
4774         * lyxfunc.C:
4775         * tabular.C:
4776         * text3.C:
4777         * toc.C:
4778         * undo_funcs.C:
4779         * frontends/LyXView.C:
4780         * frontends/controllers/ControlDocument.C:
4781         * frontends/controllers/ControlErrorList.C:
4782         * insets/insetbibitem.C:
4783         * insets/insetbranch.C:
4784         * insets/insetcaption.C:
4785         * insets/insetcollapsable.C:
4786         * insets/insetenv.C:
4787         * insets/insetert.C:
4788         * insets/insetfloat.C:
4789         * insets/insetfoot.C:
4790         * insets/insetfootlike.C:
4791         * insets/insetnewline.C:
4792         * insets/insetquotes.C:
4793         * insets/insettabular.C:
4794         * insets/insettext.C:
4795         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4796
4797         * frontends/controllers/ControlChanges.C: #include "changes.h".
4798
4799 2003-09-06  Angus Leeming  <leeming@lyx.org>
4800
4801         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4802         than #including paragraph.h.
4803
4804         * ParagraphList.h:
4805         * RowList.h: deleted. Superfluous.
4806
4807         * CutAndPaste.h:
4808         * iterators.h:
4809         * lyxcursor.h:
4810         * lyxtext.h:
4811         * text_funcs.h:
4812         * undo.h:
4813         * undo_funcs.h:
4814         * insets/inset.h:
4815         * insets/insettext.h: use ParagraphList_fwd.h rather than
4816         ParagraphList.h.
4817
4818         * paragraph.h: don't forward declare ParagraphList.
4819
4820         * buffer.h:
4821         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4822         rather than ParagraphList.h. paragraph.h is still needed for the
4823         Paragraph::depth_type parameters.
4824
4825         * textcursor.h: enable it to compile stand-alone in light of the
4826         above changes.
4827
4828         * bufferview_funcs.C:
4829         * iterators.C:
4830         * lyxfunc.C:
4831         * lyxrow_funcs.C:
4832         * paragraph.C:
4833         * rowpainter.C:
4834         * text.C:
4835         * text2.C:
4836         * text3.C:
4837         * text_funcs.C:
4838         * textcursor.C:
4839         * undo.C:
4840         * frontends/controllers/ControlParagraph.C:
4841         * frontends/controllers/ControlTabular.C:
4842         * insets/insetmarginal.C:
4843         * insets/insetminipage.C:
4844         * insets/insetnote.C:
4845         * insets/insetoptarg.C: add header files needed to compile again.
4846
4847 2003-09-06  Angus Leeming  <leeming@lyx.org>
4848
4849         * RowList_fwd.h: new file, forward-declaring Row rather than
4850         #including lyxrow.h.
4851
4852         * lyxrow_funcs.h:
4853         * lyxtext.h:
4854         * paragraph.h:
4855         * insets/insettext.h: use it instead of RowList.h
4856
4857         * bufferview_funcs.C:
4858         * lyxfunc.C:
4859         * lyxrow_funcs.C:
4860         * paragraph.C:
4861         * rowpainter.C:
4862         * text.C:
4863         * text2.C:
4864         * text3.C: #include "RowList.h".
4865
4866 2003-09-05  Angus Leeming  <leeming@lyx.org>
4867
4868         * factory.C (createInset):
4869         * vspace.C (c-tor): replace sscanf call with an istringstream.
4870         * ispell.C: re-add missing HP/UX headers.
4871         * lyxserver.C: re-add missing  os2 headers.
4872
4873 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4874
4875         * BranchList.C:
4876         * graph.C:
4877         * ispell.C:
4878         * lastfiles.C:
4879         * lyx_cb.C:
4880         * lyxserver.C:
4881         * texrow.C:
4882         * text3.C: re-add missing system headers, needed for 2.95.2.
4883
4884 2003-09-05  Angus Leeming  <leeming@lyx.org>
4885
4886         Changes most place everywhere due to the removal of using directives
4887         from support/std_sstream.h.
4888
4889 2003-09-05  Angus Leeming  <leeming@lyx.org>
4890
4891         Replace LString.h with support/std_string.h,
4892         Lsstream.h with support/std_sstream.h,
4893         support/LIstream.h with support/std_istream.h,
4894         support/LOstream.h with support/std_ostream.h.
4895
4896         Changes resulting throughout the tree.
4897
4898 2003-09-05  Angus Leeming  <leeming@lyx.org>
4899
4900         * sgml.h: ensure that the header file can be compiled stand-alone.
4901         * *.C: strip out redundant #includes. (320 in total.)
4902
4903 2003-09-04  Angus Leeming  <leeming@lyx.org>
4904
4905         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4906         here (from getPackages).
4907
4908         * debug.[Ch]: add a new EXTERNAL tag.
4909
4910 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4911
4912         * text2.C (cursorEnd): simplify
4913         (setCursor): adjust
4914         (getColumnNearX): adjust
4915
4916         * text.C (computeBidiTables): adjust
4917         (fill): adjust
4918
4919         * rowpainter.C (paintChars): adjust
4920         (paintSelection): adjust
4921         (paintChangeBar): adjust
4922         (paintText): adjust
4923
4924         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4925         lastPos instead.
4926         (numberOfSeparators): adjust
4927
4928 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4929
4930         * LyXAction.C:
4931         * box.[Ch]:
4932         * lfuns.h:
4933         * lyxfunc.C:
4934         * text3.C: Restricts the mouse click functionality
4935         of insets like bibtex, include, toc and floatlist to the visible
4936         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4937         up the dialogs. Cursor has to be in front of the inset (i.e.
4938         start of row) for this to function.
4939
4940 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4941
4942         * bufferview_funcs.C (currentState): output row information
4943
4944 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4945
4946         * bufferview_funcs.C (currentState): output paragraph position
4947
4948 2003-09-04  Angus Leeming  <leeming@lyx.org>
4949
4950         * FloatList.h: move out #include "Floating.h".
4951         * LaTeX.h: move out #include "DepTable.h".
4952         * LyXAction.h: move out #include "funcrequest.h".
4953         * buffer.h: move out #include "author.h", "iterators.h".
4954         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4955         * lyx_main.h: move out #include "errorlist.h".
4956         * lyxfunc.h: move out #include "FuncStatus.h".
4957         * lyxtext: move out #include "lyxcursor.h".
4958         * paragraph_pimpl.h: move out #include "counters.h".
4959
4960 2003-09-03  Angus Leeming  <leeming@lyx.org>
4961
4962         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4963         preamble_snippets list, enabling us to add snippets to the preamble
4964         only if the snippet was not there already.
4965
4966 2003-09-04  Angus Leeming  <leeming@lyx.org>
4967
4968         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4969
4970 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4973         update
4974
4975 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4976
4977         * BranchList.C: point fix, earlier forgotten
4978
4979 2003-09-02  Angus Leeming  <leeming@lyx.org>
4980
4981         * box.C (contains): renamed from 'contained' after a fantastic
4982         amount of hot air.
4983
4984 2003-09-02  John Levon  <levon@movementarian.org>
4985
4986         * BufferView.C:
4987         * lyxcursor.h:
4988         * lyxcursor.C:
4989         * lyxfunc.C:
4990         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4991
4992 2003-09-02  John Levon  <levon@movementarian.org>
4993
4994         * text2.C: simplification of cursorEnd(), including partial
4995         fix for bug 1376
4996
4997 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * buffer.C (readFile): add a space
5000
5001 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5004
5005 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5006
5007         * buffer.C (readFile): new function, take a filename and a
5008         ParagraphList::iterator
5009         (readFile): adjust
5010         (readFile): adjust, make it private. don't use setStream, make
5011         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5012         always contain the filename.
5013
5014         * BufferView.C (insertLyXFile): simplify and make it work for
5015         gzipped files.
5016
5017 2003-08-30  John Levon  <levon@movementarian.org>
5018
5019         * Makefile.am: fix dist (from Kayvan)
5020
5021 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * most files: change to use const Buffer refs
5024
5025 2003-08-27  André Pönitz  <poenitz@gmx.net>
5026
5027         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5028         on top of ownerPar().
5029
5030 2003-08-27  John Levon  <levon@movementarian.org>
5031
5032         * funcrequest.C: properly initialise POD members
5033
5034 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * lyxtext.h (top_y): move top_y from here
5037         * text.C:
5038         * text2.C:
5039         * text3.C:
5040         * BufferView.[Ch]:
5041         * BufferView_pimpl.[Ch]: to here
5042         * frontends/screen.C:
5043         * insets/insettabular.C:
5044         * insets/insettext.C: adjust
5045         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5046
5047 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * BufferView.[Ch]:
5050         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5051
5052 2003-08-26  André Pönitz  <poenitz@gmx.net>
5053
5054         * paragraph_func.[Ch] (outerPar): new function
5055
5056         * paragraph.C:
5057         * paragraph_funcs.C:
5058         * paragraph_funcs.h:
5059         * paragraph_pimpl.C:
5060         * text2.C: remove Inset::par_owner
5061
5062 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5063
5064         * lyxrow_funcs.C:
5065         * lyxtext.h:
5066         * text.C:
5067         * text2.C: eliminates the needFullRow/display() stuff
5068         altogether, putting the logic in metrics/draw in the insets.
5069
5070 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * text2.C (redoParagraphInternal, redoParagraphs):
5073         * text.C (redoParagraph): add a call to updateRowPositions at the
5074         end of each 'metrics-like' call. Remove all others.
5075         (getRow): remove the 'y-computing' version.
5076         (getRowNearY): do not compute nor return the real y. Solve the
5077         'y < 0' problem and simplify.
5078
5079 2003-08-22  Angus Leeming  <leeming@lyx.org>
5080
5081         * *.[Ch]: clean-up of licence and author blurbs.
5082         Also move config.h out of a few .h files and into a few .C files.
5083
5084 2003-08-22  André Pönitz  <poenitz@gmx.net>
5085
5086         * lyxrow.[Ch]: add x_ and *fill_ members
5087
5088         * lyxtext.h:
5089         * text.C:
5090         * rowpainter.C:
5091         * text2.C: adjust/remove prepareToPrint() calls
5092
5093 2003-08-22  André Pönitz  <poenitz@gmx.net>
5094
5095         * lyxrow.[Ch]: add  end_ member
5096
5097         * lyxrow_funcs.C: use LyXRow::end_
5098
5099         * lyxtext.h (singleWidth): add LyXFont parameter
5100
5101         * rowpainter.C:
5102         * text2.C: adjust LyXText::singleWidth() calls
5103
5104         * text.C (redoParagraph): simplify row breaking logic
5105
5106
5107 2003-08-19  André Pönitz  <poenitz@gmx.net>
5108
5109         * funcrequest.C: initialize button_ member
5110
5111         * text3.C:
5112         * rowpainter.[Ch]: interface consolidation
5113
5114 2003-08-18  André Pönitz  <poenitz@gmx.net>
5115
5116         * BufferView.C:
5117         * BufferView_pimpl.C:
5118         * lyxfind.C:
5119         * paragraph_funcs.C:
5120         * rowpainter.C:
5121         * text3.C: remove LyXScreen::draw() and fitCursor calls
5122
5123         * BranchList.h: remove spurious semicolons
5124
5125         * MenuBackend.C: fix branchlist related crash
5126
5127 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5128
5129         * BranchList.[Ch]:
5130         * InsetList.[Ch]:
5131         * LColor.[Ch]:
5132         * LyXAction.C:
5133         * Makefile.am:
5134         * MenuBackend.[Ch]:
5135         * bufferparams.[Ch]:
5136         * factory.C:
5137         * lfuns.h:
5138         * lyxfunc.C:
5139         * text3.C: implements the 'branch inset'
5140         idea. This allows the output of various versions of a document
5141         from a single source version, selectively outputing or suppressing
5142         output of parts of the text.
5143         This implementation contains a 'branch list editor' in a separate
5144         tab of the document settings dialog. Branches are user definable
5145         and have a "display colour" to distinguish them on-screen.
5146
5147         ColorHandler was somewhat cleaned up.
5148         (1) make possible a dynamically growing LColor list by allowing
5149         the graphic context cache to grow along (vector);
5150         (2) eliminate an IMHO unnecessary step in colour allocation.
5151
5152 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5153
5154         * BufferView_pimpl.C: compile fix
5155
5156 2003-08-15  André Pönitz  <poenitz@gmx.net>
5157
5158         * rowpainter.C: remove extra metrics calls
5159
5160         * lyxtext.h: merge the two constructors into a single one,
5161           pass reference to owner's par list
5162
5163         * BufferView_pimpl.C:
5164         * text.C:
5165         * text2.C: adjust
5166
5167 2003-08-15  André Pönitz  <poenitz@gmx.net>
5168
5169         * lyxrow_funcs.[Ch]:
5170         * lyxtext.h:
5171         * paragraph.h:
5172         * paragraph_funcs.C:
5173         * rowpainter.C:
5174         * text.C:
5175         * text2.C:
5176         * text3.C:
5177         * text_funcs.C: split LyXText::rowlist_ into individual
5178         Paragraph::rows_ chunks
5179
5180         * BufferView.[Ch]:
5181         * BufferView_pimpl.[Ch]:
5182         * lyxfind.C:
5183         * lyxtext.h:
5184         * text3.C: remove toggleSelection()
5185
5186 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5187
5188         * bufferlist.C: beautify two alerts (shorter text of buttons)
5189         * buffer.C: Remove redundant ' ' from message
5190         * tabular.h:
5191         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5192         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5193         rename VALIGN_CENTER to VALIGN_MIDDLE
5194
5195 2003-08-11  André Pönitz  <poenitz@gmx.net>
5196
5197         * lyxtext.h (getPar):
5198         * text.C: new function
5199
5200 2003-08-11  André Pönitz  <poenitz@gmx.net>
5201
5202         * Makefile.am:
5203         * tracer.[Ch]: remove unneeded files
5204
5205         * InsetList.[Ch]: remove resizeInsetsLyXText()
5206
5207         * lyxtext.h:
5208         * text.C:
5209         * text2.C:
5210         * text3.C: merge insertParagraphs() and appendParagraph()
5211         remove breakAgain(), update()
5212
5213         * BufferView_pimpl.[Ch]:
5214         * bufferview_funcs.[Ch]:
5215         * lyxfunc.C:
5216         * paragraph.[Ch]:
5217         * rowpainter.C:
5218         * tabular.C: adjust after text & InsetList changes.
5219
5220 2003-08-08  André Pönitz  <poenitz@gmx.net>
5221
5222         * text.C (insertChar, backspace): replace rowlist fiddling
5223         with rebreak of full par
5224
5225         * lyxtext.h:
5226         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5227         checkParagraph, updateInset): removed
5228
5229 2003-08-07  André Pönitz  <poenitz@gmx.net>
5230
5231         * paragraph.C:
5232         * text3.C: merge some LFUN handlers, remove dead code
5233
5234 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5235
5236         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5237
5238 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * text2.C (DEPM): fix part of bug 1255 and 1256
5241
5242 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5243
5244         * BufferView_pimpl.C (workAreaDispatch): change to use
5245         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5246         that are no mouse related.
5247
5248 2003-08-05  André Pönitz  <poenitz@gmx.net>
5249
5250         * BufferView.[Ch]:
5251         * BufferView_pimpl.[Ch]:
5252         * bufferview_funcs.C:
5253         * text2.C:
5254         * text3.C: rip out "deep update"
5255
5256         * textcursor.[Ch] (last_sel_cursor): remove unused member
5257
5258 2003-08-04  André Pönitz  <poenitz@gmx.net>
5259
5260         * BufferView.[Ch]:
5261         * BufferView_pimpl.[Ch]:
5262         * ParagraphParameters.C:
5263         * bufferview_funcs.C:
5264         * lyx_cb.C:
5265         * lyxfind.C:
5266         * lyxfunc.C:
5267         * text.C:
5268         * text2.C:
5269         * text3.C: replace "complicated" BufferView::update(...) calls with
5270         simpler ones.
5271
5272         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5273
5274 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5275
5276         * Makefile.am (lyx_SOURCES): add paper.h
5277
5278 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5279
5280         * Makefile.am: move things around so that both lyx-qt and
5281         lyx-xforms can be built (according to --with-frontend). Then lyx
5282         is a symbolic link to lyx-[firstfrontend]
5283
5284 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5285
5286         * Always use std::endl with lyxerr
5287
5288 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5289
5290         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5291
5292 2003-08-01  André Pönitz  <poenitz@gmx.net>
5293
5294         * BufferView.[Ch]:
5295         * BufferView_pimpl.[Ch]:
5296         * lyxfunc.C:
5297         * text3.C: merge BufferView::repaint() and BufferView::update()
5298
5299 2003-08-01  José Matos  <jamatos@lyx.org>
5300
5301         * buffer.[Ch]: file_format is no longer a buffer data element.
5302
5303 2003-08-01  André Pönitz  <poenitz@gmx.net>
5304
5305         * BufferView.C:
5306         * lyxtext.h:
5307         * text.C:
5308         * text2.C: make redoParagraph more independent of current cursor
5309
5310         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5311         * text.C:
5312         * text2.C: remove unneeded members
5313
5314 2003-07-30  André Pönitz  <poenitz@gmx.net>
5315
5316         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5317
5318         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5319           create a single function...
5320
5321         * paragraph_funcs.C (moveItem): ... here.
5322
5323         * text.C:
5324           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5325
5326 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5327
5328         * LColor.[Ch]: Add comment and greyedout logical colors.
5329
5330 2003-07-30  André Pönitz  <poenitz@gmx.net>
5331
5332         * tabular.C: don't use Assert too heavily. This crashes where it
5333           shouldn't
5334
5335 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5336
5337         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5338         is disabled (bug 1232)
5339
5340 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5341
5342         * factory.C: limited 'arg' scope
5343
5344 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5345
5346         * factory.C: fixed Note submenu issues
5347
5348 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5349
5350         * factory.C: submenu for Note/Comment/Greyedout
5351
5352 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5353
5354         * lyx_main.C (LyX):
5355         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5356
5357 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5358
5359         * LaTeXFeatures.C:
5360         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5361         greyedout. Patch provided by Jürgen Spitzmüller.
5362
5363 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5364
5365         * kbmap.C (read): fix error message when reading bind files
5366
5367 2003-07-29  Angus Leeming  <leeming@lyx.org>
5368
5369         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5370         certainly does not do what it purports to do. I am doing it, and
5371         us, a favour by killing it.
5372
5373 2003-07-28  José Matos  <jamatos@lyx.org>
5374
5375         * buffer.C (readBody, do_writeFile):
5376         * paragraph.C(readParagraph): \end_document replaces \the_end.
5377
5378 2003-07-29  André Pönitz  <poenitz@gmx.net>
5379
5380         * BufferView.[Ch]:
5381         * BufferView_pimpl.[Ch]:
5382         * lyxfunc.C:
5383         * text2.C:
5384         * text3.C:
5385         * textcursor.[Ch]: remove toggleToggle & Co
5386
5387 2003-07-28  José Matos  <jamatos@fep.up.pt>
5388
5389         * buffer.C (readParagraph):
5390         * params_func (readParToken, readParagraph):
5391         * paragraph.C (write): \layout -> \begin_layout.
5392
5393 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5394
5395         * lyxlex_pimpl.C (setFile): clean up slightly.
5396
5397         * bufferparams.h: add compressed var
5398
5399         * buffer_funcs.C (readFile): adjust for LyXLex change
5400         (newFile): ditto + simplify
5401
5402         * buffer.C (writeFile): handle writing of compressed files
5403
5404         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5405         Check if the file is compressed and set a bufferparm if so.
5406
5407         * Makefile.am (lyx_LDADD): remove explicit -lz
5408
5409 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5410
5411         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5412         makeDocBookFile): put the real LyX version in the first line of
5413         the file
5414
5415         * version.h:
5416         * version.C.in: remove lyx_docversion
5417
5418         * tabular.C (write_attribute): add a template-based version to
5419         write enums properly
5420
5421 2003-07-28  André Pönitz  <poenitz@gmx.net>
5422
5423         * lyxtext.h:
5424         * text.C:
5425         * text2.C:
5426         * text3.C: use doubles again for x-coordinates. They are needed.
5427
5428 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * messages.C (getLocaleDir): use lyx_localedir()
5431
5432         * lyxlex_pimpl.C (setFile): compress stuff
5433
5434         * buffer.C (writeFile): add some compression stuff
5435         (do_writeFile): new func, dont call expliti close... will this
5436         breake anything?
5437
5438         * Makefile.am (lyx_LDADD): add -lz
5439
5440 2003-07-28  José Matos  <jamatos@fep.up.pt>
5441
5442         * buffer.C: increment file format.
5443         * paragraph_funcs (readParagraph, readParToken):
5444         * paragraph.C (readParagraph): add \end_layout.
5445
5446 2003-07-27  Angus Leeming  <leeming@lyx.org>
5447
5448         * Makefile.am: remove special casing for configure-time setting of
5449         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5450
5451         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5452         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5453
5454 2003-07-26  André Pönitz  <poenitz@gmx.net>
5455
5456         * paragraph_func.[Ch]:
5457         * paragraph.C (realizeFont): inline it whereever it is used
5458
5459         * rowpainter.C:
5460         * text.C:
5461         * text2.C:
5462         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5463
5464
5465 2003-07-26  André Pönitz  <poenitz@gmx.net>
5466
5467         *       lyxtext.h:
5468         * text.C:
5469         * text2.C: get rid of LyXText::need_break_row
5470
5471 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5472
5473         * toc.[Ch]: put namespace toc inside namespace lyx
5474
5475         * MenuBackend.C (expandToc2): adjust for lyx::toc
5476         (expandToc): ditto
5477
5478         * lyxfunc.C (dispatch): adjust for lyx::find
5479
5480         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5481         lyx::find instead. Reorganize a bit.
5482         (LyXReplace): rename to replace
5483         (LyXFind): rename to find
5484
5485         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5486         (dispatch): ditto
5487
5488 2003-07-26  André Pönitz  <poenitz@gmx.net>
5489
5490         * text.C (setHeightOfRow): restrict scope of temporary variable
5491
5492         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5493           code (never has been used?)
5494
5495 2003-07-27  Asger Alstrup  <alstrup@local>
5496
5497         * text.C (fill): Optimise algorithm to exploit that we can reuse
5498         the LyXFont for many characters.
5499         (setHeightOfRow): Same thing.
5500         (rowBreakPoint): Same thing.
5501
5502 2003-07-26  Asger Alstrup  <alstrup@local>
5503
5504         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5505
5506         * text.C (singleWidth): Spurious font copying in hot-spot
5507         singleWidth avoided. Reorder tests for arabic for efficiency.
5508
5509         * text.C (fill): handle empty paragraphs better.
5510
5511 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5512
5513         * ispell.C:
5514         * encoding.h: add includes
5515
5516         * lyxrc.C: remove reading of bind files
5517
5518         * lyx_main.C (init): setup bindings and menus only if we have a
5519         gui.
5520
5521         * kbmap.C (read): new method. Do the actual reading of bind
5522         files.
5523
5524         * converter.C (dvipdfm_options):
5525         * bufferparams.C:
5526         * lyxrc.C (read):
5527         (output): adapt PAPER_* enums.
5528
5529         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5530
5531         * bufferparams.h: remove paper-related enums from there
5532
5533         * paper.h: New file. A trivial header file to hold paper-related
5534         enums. It should later expand to contain many paper-related
5535         horrors access.
5536
5537         * lyxrc.C: declare extern displayTranslator
5538
5539 2003-07-27  José Matos  <jamatos@fep.up.pt>
5540
5541         * tabular.[Ch] (linuxdoc): add support for tables and figures
5542         (linuxdoc).
5543
5544 2003-07-27  José Matos  <jamatos@fep.up.pt>
5545
5546         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5547         consistency in both functions.
5548         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5549
5550 2003-07-26  Asger Alstrup  <alstrup@local>
5551
5552         * rowpainter.C (paintRows): Change algorithm to work directly on
5553         the insets rather than asking every character in the document
5554         whether its an inset.
5555
5556 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5557
5558         * buffer.C (openFileWrite): factorize some code
5559
5560 2003-07-26  Angus Leeming  <leeming@lyx.org>
5561
5562         * lyx_cb.C:
5563         * lyx_main.[Ch]: replace occurances of system_tempdir with
5564         os::getTmpDir().
5565
5566 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * rename Inset to InsetOld
5569
5570 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5571
5572         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5573         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5574         which I think is a bit clearer. EDIT is gone, since it was
5575         premature optimisation, and broken for mathed anyway.
5576         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5577         with cursor positioning in insets as well (math insets still do not
5578         work, but that's a different story anyway.) It mysteriously
5579         crashes sometimes with undo in the first paragraph, but I'm fairly
5580         confident that this is a compiler bug.
5581
5582 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * paragraph.C (Paragraph): adjust for new clone return type
5585         (operator==): ditto
5586         (copyIntoMinibuffer): ditto
5587
5588 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5589
5590         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5591         by not having a special case, and always doing a full rebreak of
5592         the document after undo.
5593
5594 2003-07-23  Angus Leeming  <leeming@lyx.org>
5595
5596         * factory.C (createInset): InsetExternal::setParams now takes a
5597         Buffer const * arg.
5598
5599 2003-07-23  Angus Leeming  <leeming@lyx.org>
5600
5601         * factory.C (createInset): changed interface to the external and
5602         graphics mailers' string2params functions.
5603
5604 2003-07-23  Angus Leeming  <leeming@lyx.org>
5605
5606         * factory.C (createInset): pass a
5607         Buffer const * parameter to InsetExternalMailer's string2params.
5608
5609 2003-07-22  John Levon  <levon@movementarian.org>
5610
5611         * Thesaurus.h: include the right aiksaurus header
5612
5613 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5614
5615         * MenuBackend.C (expand): check menu shortcuts unconditionally
5616
5617 2003-07-21  Angus Leeming  <leeming@lyx.org>
5618
5619         * factory.C (createInset): pass a
5620         buffer_path parameter to InsetGraphicsMailer's string2params.
5621
5622 2003-07-21  Angus Leeming  <leeming@lyx.org>
5623
5624         * BufferView_pimpl.C (buffer):
5625         * buffer.C (d-tor):
5626         * lyx_main.C (LyX):
5627         * lyxfunc.C (dispatch):
5628         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5629         rather than the grfx shortcut.
5630
5631 2003-07-21  André Pönitz  <poenitz@gmx.net>
5632
5633         * rowpainter.C: remove unused variables
5634
5635         * tabular_funcs.C:
5636         * tabular_funcs.h: move to tabular.C
5637         * Makefile.am: adjust
5638
5639         * tabular.[Ch]: basic optical cleaning
5640
5641         * author.h: pass references, not values
5642
5643 2003-07-18  André Pönitz  <poenitz@gmx.net>
5644
5645         * lyxtext.h:
5646         * metricsinfo.C:
5647         * metricsinfo.h:
5648         * rowpainter.C:
5649         * text.C:
5650         * text2.C:
5651         * text3.C: two-phase drawing for InsetText and InsetTabular
5652         some float -> int changes.
5653
5654 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5655
5656         * lyx_main.C: fix the fix
5657
5658 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5659
5660         * lyx_main.C: fix a crash in batch mode if no files specified
5661         * converter.C: ws
5662
5663 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5664
5665         * format.[Ch] (papersize): moved to BufferParams
5666         * converter.[Ch] (dvips_options): moved to BufferParams
5667         (dvipdfm_options): moved to anon namespace
5668         * bufferparams.[Ch]: added above functions.
5669
5670 2003-07-17  André Pönitz  <poenitz@gmx.net>
5671
5672         * lyxtext.h:
5673         * rowpainter.C:
5674         * text2.C: don't call inset->update() anymore
5675
5676         * metricsinfo.[Ch]: add convenience constructor
5677
5678 2003-07-16  André Pönitz  <poenitz@gmx.net>
5679
5680         * lyxcursor.[Ch]:
5681         * lyxfunc.[Ch]:
5682         * text.C:
5683         * text2.C: replace the LyXCursor::irow_ member with
5684          on-demand computation of the value
5685
5686 2003-07-16  John Levon  <levon@movementarian.org>
5687
5688         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5689
5690 2003-07-15  André Pönitz  <poenitz@gmx.net>
5691
5692         * text.C:
5693         * text2.C: remove no more needed refresh_row
5694
5695 2003-07-15  André Pönitz  <poenitz@gmx.net>
5696
5697         * lyxtext.h:
5698         * rowpainter.C:
5699         * text2.C:
5700         * text3.C: refresh_status tristate -> need_update bool
5701
5702 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5703
5704         * lyxtext.h (init): remove reinit argument (act as if always true)
5705         * text2.C: adjust to that
5706
5707 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5708
5709         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5710         * text3.C: use it to delete selections in some cases
5711         (bugs 441, 673, 702, 954).
5712
5713 2003-07-14  André Pönitz  <poenitz@gmx.net>
5714
5715         * rowpainter.[Ch]: reduce interface
5716
5717 2003-07-14  André Pönitz  <poenitz@gmx.net>
5718
5719         * BufferView_pimpl.C:
5720         * text2.C: adjust after removing unused BufferView * argument
5721
5722 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5723
5724         * text2.C (init): fix a crash fired on resize
5725
5726 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5727
5728         * buffer.[Ch]: added new closing signal
5729         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5730         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5731         BufferView::Pimpl via the closing the signal
5732
5733 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5734
5735         * buffer.[Ch]: take out all bv-related from buffer
5736         * BufferView.C:
5737         * BufferView_pimpl.[Ch]: connect to new signals
5738         * CutAndPaste.C: removed useless asserts
5739         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5740         * lyxvc.[Ch]:
5741         * vc-backend.[Ch]:
5742         * lyxfunc.C: moved view-related funciontality from vc here
5743         * paragraph.C: removed outdated comments
5744         * text.C: ws
5745
5746 2003-07-10  André Pönitz  <poenitz@gmx.net>
5747
5748         * BufferView_pimpl.C:
5749         * tabular.h:
5750         * tabular_funcs.C:
5751         * text.C:
5752         * text2.C: remove InsetText::InnerCache, clean up consequences
5753
5754 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5755
5756         * ispell.C: fix two typos in error messages
5757
5758 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5759
5760         * Extend Note inset to other forms of annotation like Comment
5761         and Greyedout. Right button click gives dialog.
5762
5763         Files modified or added (+):
5764
5765         * insetnote.[Ch]
5766         * FormNote.[Ch]      +
5767         * ControlNote.[Ch]   +
5768         * form_note.fd       +
5769         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5770         frontends/controllers
5771         * xforms/Dialogs.C
5772         * factory.C
5773
5774 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5775
5776         * aspell.C: add missing namespace lyx::support
5777
5778 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5779
5780         * BufferView.[Ch] (newFile): Add
5781         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5782         * LaTeX.[Ch] (message): added this signal and use it
5783         * buffer.[Ch] (busy, message): added these signals and use them
5784         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5785         * converter.C:
5786         * exporter.C:
5787         * format.C:
5788         * importer.C: use buffer signals instead of direct bv calling
5789         * lyx_cb.[Ch] (ShowMessage): removed
5790         * lyx_main.C:
5791         * lyxfunc.C:
5792         * paragraph_funcs.C:
5793         * text2.C: use buffer signals
5794
5795 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * introduce namespace lyx::graphics
5798
5799 2003-07-02  André Pönitz  <poenitz@gmx.net>
5800
5801         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5802
5803 2003-07-01  André Pönitz  <poenitz@gmx.net>
5804
5805         * text.C:
5806         * text2.C:
5807         * text3.C:
5808         * text_funcs.[Ch]:
5809         * textcursor.h:
5810         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5811           text*.C to text_func.C
5812
5813 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * introduce namespace lyx::support
5816
5817 2003-06-30  André Pönitz  <poenitz@gmx.net>
5818
5819         * Chktex.C:
5820         * funcrequest.C:
5821         * lyxtext.h:
5822         * text.C: re-enable --with-included-string
5823
5824 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * textcursor.C: add <config.h>
5827
5828         * text.C (getWord): remove const from word_location arg
5829
5830         * lyxvc.C (getLogFile): fix const type order
5831
5832         * lyxtext.h: remove const from word_location arg, add arg name
5833
5834         * lyxlayout.h: currect type on labeltype.
5835
5836         * importer.C: correct \file
5837
5838         * converter.C (intToFormat): use std:: on ret val, ws changes
5839
5840         * bufferlist.h: correct \file
5841
5842         * buffer.C (makeLinuxDocFile): fix const type order
5843         (makeDocBookFile): ditto
5844         (fillWithBibKeys): use std:: on stdlib args.
5845
5846         * CutAndPaste.C: fix authors.
5847         (availableSelections): use std:: on return vector
5848
5849 2003-06-27  André Pönitz  <poenitz@gmx.net>
5850
5851         * BufferView_pimpl.C:
5852         * bufferview_funcs.C:
5853         * lyxcursor.C:
5854         * lyxcursor.h:
5855         * lyxfunc.C:
5856         * lyxtext.h:
5857         * rowpainter.C:
5858         * text.C:
5859         * text2.C:
5860         * text3.C: remove LyXCursor::row_ member
5861
5862         * lyxtext.h:
5863         * text.C: rename fullRebreak() to partialRebreak() and implement
5864           a fullRebreak() that really bereks fully
5865
5866         * textcursor.h: new struct for cursor-related data
5867
5868 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5869
5870         * lyx_main.C (LyX): get full path of document loaded on the
5871         command line
5872
5873 2003-06-26  André Pönitz  <poenitz@gmx.net>
5874
5875         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5876           remove unused/broken operator>,<,>=.
5877
5878         *       text.C: remove only use of broken operator<= in an Assert().
5879
5880 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5881
5882         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5883         moved errorlist_.clear to showErrorList
5884
5885 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5886
5887         * converter.C (scanLog, runLaTeX):
5888         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5889         move the bv->showErrorList call to the callers
5890         * lyxfunc.C: i.e. here...
5891         * text2.C: and here
5892         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5893         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5894         namespace, the second to...
5895         * buffer_funcs (BufferFormat, parseErrors): added
5896         * errorlist.C (ErrorList(TeXErrors const &)): removed
5897
5898 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5899
5900         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5901
5902 2003-06-24  "Garst R. Reese" <reese@isn.net>
5903
5904         * debug.C: fix typo
5905
5906 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5907
5908         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5909
5910         * version.C.in: change docversion to 1.4
5911
5912 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5913
5914         * buffer.C: fix a bug just introduced
5915
5916 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5917
5918         * buffer.[Ch]: added the parseError signal and use it, removed
5919         sgmlError
5920         * BufferView.[Ch] (addError): moved to ...
5921         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5922         to the Buffer::parseError signal to catch (guess what) parse errors
5923         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5924
5925 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5926
5927         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5928         ability to create a buffer and to return an existing one from
5929         the list. Moved these functions to...
5930         * buffer_funcs.[Ch]: added
5931         * BufferView.[Ch] (loadLyXFile): added
5932         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5933         job removed from bufferlist::loadLyXFile.
5934         * buffer.C (setReadOnly): make it work without view
5935         (i.e added an if (users))
5936
5937 2003-06-19  Angus Leeming  <leeming@lyx.org>
5938
5939         * lfuns.h:
5940         * LyXAction.C (init):
5941         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5942         with LFUN_DIALOG_SHOW <name> <data>.
5943
5944 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5945
5946         * CutAndPaste.C (availableSelections): small compilation fix for
5947         ancient (gcc 2.9x) compilers
5948
5949 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5950
5951         * text3.C (cursorNext): add tmp var
5952
5953         * text2.C (updateCounters): for function calling out of for clause
5954         (replaceSelectionWithString): ditto
5955         (insertStringAsParagraphs): ditto
5956         (getColumnNearX): add tmp var
5957         (setCursorFromCoordinates): add tmp var
5958         (cursorDownParagraph): add tmp var
5959         (deleteEmptyParagraphMechanism): add tmp var
5960
5961         * text.C (insertChar): add tmp var
5962
5963         * rowpainter.C (paintDepthBar): add tmp var
5964
5965         * CutAndPaste.C (availableSelections): potentially check all
5966         paragraphs in a cut to fill the shown strings.
5967
5968 2003-06-18  André Pönitz  <poenitz@gmx.net>
5969
5970         * kbmap.[Ch]: use vector<> instead of list<>
5971
5972 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5973
5974         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5975         pasteSelection with index
5976
5977         * text2.C (pasteSelection): modify, call pasteSelection with index
5978
5979         * paragraph.C (asString): reimplement version with no interval to
5980         call the one with interval.
5981
5982         * lyxtext.h: add index arg to pasteSelection
5983
5984         * MenuBackend.C (MenuItem): handle PasteRecent
5985         (Menu::read::Menutags): add md_pasterecent
5986         (read): handle it
5987         (expandPasteRecent): new function
5988         (expand): use it
5989
5990         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5991
5992         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5993         the limited stack
5994         (availableSelections): new function
5995
5996 2003-06-17  Angus Leeming  <leeming@lyx.org>
5997
5998         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5999
6000 2003-06-17  Angus Leeming  <leeming@lyx.org>
6001
6002         * lfuns.h:
6003         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6004
6005         * lyxfunc.C (dispatch): invoke it.
6006
6007 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6008
6009         * iterators.C (operator++, ParPosition): reintroduce some
6010         const_cast for the benefit of older compilers.
6011
6012 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6013
6014         * text3.C (dispatch): do not modify clipboard when doing
6015         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6016         LFUN_DELETE_SKIP on a selection selection
6017
6018 2003-06-16  André Pönitz  <poenitz@gmx.net>
6019
6020         * BufferView.C:
6021         * buffer.C:
6022         * buffer.h:
6023         * paragraph.C:
6024         * tabular.[Ch]: IU of clone() and getLabelList();
6025
6026 2003-06-13  André Pönitz  <poenitz@gmx.net>
6027
6028         * tabular.h: compactification
6029
6030 2003-06-12  André Pönitz  <poenitz@gmx.net>
6031
6032         * tabular.C:
6033         * tabular.h:
6034         * tabular_funcs.h: some renaming plus whitespace
6035
6036 2003-06-12  André Pönitz  <poenitz@gmx.net>
6037
6038         * BufferView.C:
6039         * BufferView_pimpl.C:
6040         * CutAndPaste.C:
6041         * buffer.C:
6042         * iterators.[Ch]:
6043         * lyxfunc.C:
6044         * text.C:
6045         * toc.C: Return a Paragraph & for ParIterator::operator*()
6046
6047 2003-06-11  John Levon  <levon@movementarian.org>
6048
6049         * lyx_main.C:
6050         * ToolbarBackend.h:
6051         * ToolbarBackend.C: add "Toolbars" section and
6052         put the flags there
6053
6054 2003-06-10  Angus Leeming  <leeming@lyx.org>
6055
6056         * lfuns.h:
6057         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6058
6059         * lyxfunc.C (dispatch): invoke it.
6060
6061 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * main.C: protect <ios> with HAVE_IOS
6064         (main): protect sync_with_stdio with HAVE_IOS
6065
6066 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6067
6068         * text2.C (cutSelection): adjust
6069         (pasteSelection): adjust
6070
6071         * messages.C: handle get of empty string
6072
6073         * main.C (main): use sync_with_stdio(false)
6074
6075         * lyxfunc.C (dispatch): adjust
6076
6077         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6078         (WriteAs): remove unneeded BufferView arg.
6079
6080         * bufferparams.h: use correct types on papersize, papersize2 and
6081         paperpackage.
6082
6083         * bufferparams.C (readToken): adjust for type
6084         (writeLaTeX): add missing cases to switch.
6085
6086         * bufferlist.C (quitWriteBuffer): adjust
6087         (close): adjust
6088
6089         * buffer.C (asciiParagraph): remove some commented code.
6090
6091         * CutAndPaste.C: remove current_view extern variable.
6092         (cutSelection): add BufferParams arg.
6093         (eraseSelection): add BufferParams arg.
6094         (pasteSelection): add Buffer const & arg
6095
6096 2003-06-07  John Levon  <levon@movementarian.org>
6097
6098         * buffer.C:
6099         * paragraph_funcs.C:
6100         * paragraph_pimpl.C:
6101         * text.C:
6102         * text2.C:
6103         * paragraph.h:
6104         * paragraph.C: allow InsetERT to freely space lines,
6105         and some consolidation of code
6106
6107 2003-06-06  José Matos  <jamatos@fep.up.pt>
6108
6109         * buffer.C (makeDocBookFile): fix bug #821
6110
6111 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6114
6115 2003-06-04  Angus Leeming  <leeming@lyx.org>
6116
6117         * buffer.C: bump format to 224.
6118
6119 2003-06-05  André Pönitz  <poenitz@gmx.net>
6120
6121         * text2.C (redoParagraphs): remove two const_cast<>
6122
6123 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6124
6125         * ParagraphList.h: remove last remnants of NO_STD_LIST
6126
6127 2003-06-03  Angus Leeming  <leeming@lyx.org>
6128
6129         * factory.C (createInset): small change to the way InsetExternal's params
6130         are set.
6131
6132 2003-06-04  André Pönitz  <poenitz@gmx.net>
6133
6134         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6135
6136         * paragraph_pimpl.h:
6137         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6138
6139         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6140
6141         * undo_funcs.C: make some simple cases of undo work again
6142
6143 2003-06-03  John Levon  <levon@movementarian.org>
6144
6145         * ispell.C: HPUX doesn't have sys/select.h
6146         (from Albert Chin)
6147
6148 2003-06-03  John Levon  <levon@movementarian.org>
6149
6150         * CutAndPaste.C: update tabular and include inset
6151         buffer references
6152
6153         * buffer.h:
6154         * paragraph.h:
6155         * paragraph.C: remove owningBuffer(), don't pass Buffer
6156         to clone()
6157
6158         * factory.C: insetGraphicsParams changed
6159
6160 2003-06-02  John Levon  <levon@movementarian.org>
6161
6162         * LyXAction.C:
6163         * factory.C:
6164         * lfuns.h:
6165         * lyxfunc.C:
6166         * text3.C: remove insetparent
6167
6168 2003-06-02  John Levon  <levon@movementarian.org>
6169
6170         * buffer.h:
6171         * buffer.C: fix inset_iterator.end(), move out of line
6172         (bug 1149)
6173
6174 2003-06-01  John Levon  <levon@movementarian.org>
6175
6176         * text3.C: use a proper cut/paste when doing inset
6177         insert (from Jürgen Spitzmüller)
6178
6179 2003-06-01  John Levon  <levon@movementarian.org>
6180
6181         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6182
6183 2003-05-30  André Pönitz  <poenitz@gmx.net>
6184
6185         * rowpainter.C: unify second drawing phase
6186
6187 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * trans_mgr.C: remove one case of current_view
6190
6191         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6192
6193         * paragraph_funcs.h: remove paragraph.h include
6194
6195         * paragraph.h: delete NO_STD_LIST stuff
6196
6197         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6198
6199         * buffer.h: remove paragraph.h include
6200
6201         * ParagraphList.C: delete file
6202
6203         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6204
6205         * toc.C (getTocList): adjust
6206
6207         * paragraph_pimpl.C (validate): adjust
6208
6209         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6210
6211         * paragraph.C (Paragraph): adjust
6212         (getPositionOfInset): use const_iterator, adjust
6213         (bibitem): use const_iterator, adjust
6214         (setInsetOwner): adjust
6215
6216         * iterators.C (operator++): adjust
6217
6218         * InsetList.[Ch]: Replace selfmade iterator with standard
6219         vector::iterator also introduce const_iterator. Remove getPos,
6220         getInset and setInset from InsetTable. Adjust accordingly.
6221
6222         * BufferView.C (lockInset): adjust
6223         (ChangeInsets): adjust
6224
6225         * tabular.[Ch]: delete commented same_id functions
6226
6227 2003-05-28  John Levon  <levon@movementarian.org>
6228
6229         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6230
6231 2003-05-28  André Pönitz  <poenitz@gmx.net>
6232
6233         * metricsinfo.[Ch]: remove 'fullredraw' member
6234
6235 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6236
6237         * lyxtextclass.C (operator): remove caching.
6238
6239 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * text3.C: adjust
6242
6243         * text2.C (cursorBottom): adjust
6244         (setCounter): use ParagraphList::find, adjust
6245
6246         * text.C (workWidth): use ParagraphList::find, adjust
6247
6248         * lyxcursor.C (LyXCursor): adjust
6249
6250         * buffer.C (inset_iterator): adjust
6251
6252         * ParagraphList.h: make iterator(value_type) private, make
6253         ParagraphList a friend of iterator.
6254
6255         * ParagraphList.C (find): new function
6256
6257         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6258
6259 2003-05-27  André Pönitz  <poenitz@gmx.net>
6260
6261         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6262
6263 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6264
6265         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6266
6267 2003-05-26  John Levon  <levon@movementarian.org>
6268
6269         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6270
6271 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * remove same_id from function signatures, adjust.
6274
6275 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6278
6279         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6280
6281         * paragraph.C (Paragraph): get rid of same_ids parameter
6282
6283         * ParagraphList.C (insert): adjust
6284         (push_back): adjust
6285
6286 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * paragraph_funcs.C (breakParagraph): adjust
6289         (breakParagraphConservative): adjust
6290
6291         * buffer.C (readParagraph): adjust
6292
6293         * ParagraphList.C (insert): take a reference instead of a pointer
6294         (insert): adjust
6295
6296         * paragraph.[Ch] (id): new function
6297
6298         * bufferlist.C (newFile): adjust
6299
6300         * ParagraphList.C (ParagraphList): adjust
6301         (assign): adjust
6302         (push_back): take a reference instead of a pointer.
6303
6304         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6305
6306         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6307         instead.
6308
6309         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6310         set else use old code.
6311
6312         * ParagraphList.C: remove all NO_NEXT code and only compile this
6313         code of NO_STD_LIST is set.
6314
6315 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6316
6317         * BufferView_pimpl.C:
6318         * TextCache.C:
6319         * TextCache.h:
6320         * bufferlist.C:
6321         * errorlist.h:
6322         * format.C:
6323         * format.h:
6324         * graph.C:
6325         * lyxfunc.C:
6326         * lyxrc.C:
6327         * graphics/GraphicsConverter.C:
6328         * graphics/PreviewLoader.C: header adjustment
6329
6330 2003-05-23  Angus Leeming  <leeming@lyx.org>
6331
6332         * LaTeXFeatures.[Ch] (useBabel): new method.
6333         * bufferparams.C (writeLaTeX): use it.
6334
6335 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6336
6337         * ParagraphList.h (set): remove unused function.
6338
6339 2003-05-23  André Pönitz  <poenitz@gmx.net>
6340
6341         * BufferView.C:
6342         * BufferView_pimpl.C:
6343         * buffer.C:
6344         * buffer.h:
6345         * lyxfunc.C:
6346         * undo_funcs.C: setUndo reworked
6347
6348         * iterators.[Ch]: add access to topmost ParagraphList
6349
6350         * lyxtext.[Ch] (workWidth): add a const
6351
6352 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * texrow.[Ch] (increasePos): remove function
6355         * exporter.C (export): removed unused var and outdated comment
6356
6357 2003-05-23  Angus Leeming  <leeming@lyx.org>
6358
6359         * latexrunparams.h: rename fragile as moving_arg.
6360         * paragraph.C (simpleTeXOnePar): ditto.
6361         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6362
6363 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6364
6365         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6366         (createUndo): ditto
6367         (textUndoOrRedo): comment out a currently unused var.
6368
6369         * paragraph.h (NO_NEXT): enable NO_NEXT
6370
6371         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6372
6373         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6374
6375         * exporter.C (Export): adjust for removeAutoInsets removal.
6376
6377         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6378
6379         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6380
6381         * BufferView.[Ch] (removeAutoInsets): delete function
6382
6383 2003-05-22  Angus Leeming  <leeming@lyx.org>
6384
6385         * latexrunparams.h: add a free_spacing variable.
6386
6387         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6388         to pass moving_arg, as the data is stored in runparams.fragile.
6389
6390         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6391         to Inset::latexOptional or to simpleTeXOnePar.
6392
6393         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6394         free_spacing arg to Inset::latexOptional.
6395
6396         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6397         free_spacing arg.
6398
6399 2003-05-22  Angus Leeming  <leeming@lyx.org>
6400
6401         * latexrunparams.h: add fragile and use_babel variables.
6402
6403         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6404         * buffer.C (makeLaTeXFile): store this returned value in
6405         runparams.use_babel, thus passing it to the inset::latex methods.
6406
6407         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6408         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6409
6410         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6411         longer has a fragile arg, as it is stored in runparams.fragile.
6412
6413         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6414         moving_arg parameter as the data is stored in runparams.fragile.
6415
6416         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6417         a fragile parameter as the data is stored in runparams.fragile.
6418
6419 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6422
6423 2003-05-22  Angus Leeming  <leeming@lyx.org>
6424
6425         * latexrunparams.h: add a 'bool nice' which defaults to false.
6426
6427         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6428         now encapsulated within runparams.
6429
6430         * bufferlist.C (updateIncludedTeXfiles):
6431         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6432
6433 2003-05-22  Angus Leeming  <leeming@lyx.org>
6434
6435         * latexrunparams.h: new file containing struct LatexRunParams.
6436         * Makefile.am: add new file.
6437
6438         * LaTeX.[Ch] (c-tor, run):
6439         * buffer.[Ch] (makeLaTeXFile):
6440         * bufferlist.[Ch] (updateIncludedTeXfiles):
6441         * converter.C (convert, scanLog):
6442         * converter.[Ch] (runLaTeX):
6443         * exporter.C (Export):
6444         * paragraph.[Ch] (simpleTeXOnePar):
6445         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6446         * paragraph_funcs.[Ch] (latexParagraphs):
6447         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6448         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6449         pass around a LatexRunParams parameter.
6450
6451 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * paragraph.[Ch]: remove unused constructor
6454
6455         * ParagraphList.C (erase): new function, taking two iterators
6456
6457 2003-05-22  André Pönitz  <poenitz@gmx.net>
6458
6459         * undo_funcs.C: remove duplicated code
6460
6461         * iterator.[Ch]: operator=
6462
6463 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6464
6465         * tabular.C (SetMultiColumn): ws changes
6466
6467         * rowpainter.C (paintFirst): get rid of a ->previous
6468
6469         * lyx_cb.C (getPossibleLabel): parlist simplification
6470
6471         * BufferView.C (ChangeInsets): simplify slightly.
6472
6473 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6474
6475         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6476         * lfuns.h: new LFUN_SPACE
6477         * lyxfunc.C: protected space has a new lfun
6478         * paragraph_funcs.C: read new space insets
6479         * text3.C:
6480         * factory.C: handle new space insets
6481
6482 2003-05-22  André Pönitz  <poenitz@gmx.net>
6483
6484         * BufferView.C:
6485         * BufferView_pimpl.C:
6486         * buffer.[Ch]:
6487         * lyxfunc.C:
6488         * undo_funcs.C: return a ParIterator from getParFromID.
6489
6490         * iterators.[Ch]: add two const's
6491
6492 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * toc.C (getTocList): adjust
6495
6496         * iterators.[Ch]: rework for parlist
6497
6498         * buffer.C (par_iterator_begin): adjust
6499         (par_iterator_end): adjust
6500
6501         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6502
6503         * BufferView.C (removeAutoInsets): adjust
6504         (ChangeInsets): adjust
6505
6506 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * text.C (top_y): fix bug 1110
6509
6510 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * errorlist.[Ch]: added
6513         * buffer.C:
6514         * BufferView.[Ch]:
6515         * BufferView_pimpl.C:
6516         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6517         instead
6518
6519 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * Makefile.am: ensure that lyx is relinked upon changes to the
6522         various "convenience" libs.
6523
6524 2003-05-20  Angus Leeming  <leeming@lyx.org>
6525
6526         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6527         files are compiled in alphabetical order again.
6528
6529         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6530
6531 2003-05-19  Angus Leeming  <leeming@lyx.org>
6532
6533         * gettext.[Ch]: remove "char const * _(char const *)".
6534
6535 2003-05-19  André Pönitz  <poenitz@gmx.net>
6536
6537         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6538
6539         * Makefile.am:
6540         * BufferView.C:
6541         * DepTable.h:
6542         * LaTeXFeatures.C:
6543         * buffer.C:
6544         * lyxfont.C:
6545         * lyxlex.h:
6546         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6547
6548 2003-05-19  André Pönitz  <poenitz@gmx.net>
6549
6550         * buffer.C:
6551         * lyxlayout.[Ch]:
6552         * lyxtextclass.[Ch]:
6553         * paragraph.C:
6554         * paragraph_funcs.[Ch]:
6555         * text2.C:
6556         * text3.C: more insetenv work
6557
6558 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6559
6560         * ParagraphParameters.C (params2string): small bug fixed
6561
6562 2003-05-16  André Pönitz  <poenitz@gmx.net>
6563
6564         * debug.C:
6565         * bufferview_funcs.C: patch from Kornel Benko to prevent
6566           crash when _(...) is called twice in a statement
6567
6568 2003-05-16  André Pönitz  <poenitz@gmx.net>
6569
6570         * BufferView.C:
6571         * lyxfunc.C:
6572         * text.C:
6573         * text2.C:
6574         * text3.C:
6575         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6576
6577 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6578
6579         * lyx_main.C (init): remove spurious static_cast
6580
6581 2003-05-14  André Pönitz  <poenitz@gmx.net>
6582
6583         * BufferView.C: fix format string
6584
6585 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6586
6587         * BufferView.[Ch] (insertErrors): removed
6588         * BufferView.[Ch] (showErrorList): added
6589         * buffer.C (runChkTeX):
6590         * converter.C (scanLog): call showErrorList instead of inserterrors
6591
6592 2003-05-13  André Pönitz  <poenitz@gmx.net>
6593
6594         * BufferView_pimpl.C:
6595         * buffer.C:
6596         * bufferview_func.C:
6597         * MenuBackend.C:
6598         * lyxfunc.C:
6599         * lyxrc.C:
6600         * tex-accent.C:
6601         * text3.C:
6602         * toc.C:
6603         * tabular_funcs.h: tostr() from its own header
6604
6605         * ParagraphParameters.C:
6606         * ToolbarBackend.C:
6607         * bufferparams.C:
6608         * format.C:
6609         * lyxlex_pimpl.C:
6610         * text3.C: STRCONV()
6611
6612 2003-05-12  André Pönitz  <poenitz@gmx.net>
6613
6614         * BufferView.C:
6615         * BufferView_pimpl.C:
6616         * CutAndPaste.C:
6617         * LaTeX.C:
6618         * LaTeXFeatures.C:
6619         * ParagraphParameters.C:
6620         * buffer.C:
6621         * bufferlist.C:
6622         * bufferparams.C:
6623         * bufferview_funcs.C:
6624         * converter.C:
6625         * counters.C:
6626         * debug.C:
6627         * exporter.C:
6628         * format.C:
6629         * importer.C:
6630         * lyx_cb.C:
6631         * lyx_main.C:
6632         * lyxfont.C:
6633         * lyxfunc.C:
6634         * lyxvc.C:
6635         * paragraph.C:
6636         * paragraph_funcs.C:
6637         * tabular.C:
6638         * tabular_funcs.C:
6639         * text2.C:
6640         * text3.C:  boost::format -> bformat  all over the place
6641
6642
6643 2003-05-09  André Pönitz  <poenitz@gmx.net>
6644
6645         * LColor.[Ch]: Pimpl the #include <map> away
6646
6647 2003-05-09  John Levon  <levon@movementarian.org>
6648
6649         * bufferlist.C: never remove emergency saves
6650
6651 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * Makefile.am: better lib building
6654
6655 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6658         instead.
6659         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6660         (simpleTeXSpecialChars): adjust
6661         (simpleTeXSpecialChars): adjust
6662         * paragraph.C (simpleTeXOnePar): adjust
6663         * buffer.C (makeLaTeXFile): adjust
6664
6665         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6666
6667         * text2.C (changeDepth): parlist cleanup
6668         (getColumnNearX): ditto
6669
6670         * rowpainter.C (getLabelFont): parlist cleanup
6671
6672         * bufferlist.C (newFile): parlist cleanup
6673
6674         * CutAndPaste.C (eraseSelection): parlist cleanup
6675
6676         * BufferView_pimpl.C (trackChanges): parlist cleanup
6677         (dispatch): ditto
6678
6679         * BufferView.C (lockInset): parlist cleanup.
6680         (ChangeInsets): ditto
6681
6682 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6683
6684         * CutAndPaste.h: Update file header.
6685
6686         * CutAndPaste.C: Update file header.
6687         Store the parts cut out of the Document in a limited_stack.
6688         (copySelection): adjust
6689         (pasteSelection): new function, takes the index in the limited stack.
6690         (nrOfParagraphs): adjust
6691         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6692         simplify error inset insertion.
6693         (checkPastePossible): adjust
6694
6695 2003-05-06  John Levon  <levon@movementarian.org>
6696
6697         * text2.C: don't cast wrap inset to float
6698
6699 2003-05-05  André Pönitz  <poenitz@gmx.net>
6700
6701         * iterator.C:
6702         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6703
6704         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6705           few naked Paragraph *.
6706
6707 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6708
6709         * bufferparams.C: Output warning if a document with missing
6710         TeX document class is loaded
6711         * exporter.C: Disable TeX exports if the document class is missing
6712         * lyxtextclass.C:
6713         * lyxtextclass.h:
6714         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6715         isTeXClassAvailable()
6716
6717 2003-05-03  John Levon  <levon@movementarian.org>
6718
6719         * BufferView.h:
6720         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6721         explicit cursor show/hide
6722
6723         * BufferView_pimpl.h:
6724         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6725         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6726
6727         * lyxfunc.C: hide cursor before dispatching.
6728
6729         * lyx_cb.C:
6730         * lyxfind.C:
6731         * text.C:
6732         * text3.C: remove explicit cursor hides
6733
6734 2003-05-02  André Pönitz  <poenitz@gmx.net>
6735
6736         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6737
6738         * undo_funcs.C:
6739         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6740           linked lists
6741
6742         * text2.C: tiny whitespace
6743
6744 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * undo_funcs.C: almost only ws changes.
6747
6748         * ParagraphList.C (splice): just return if pl is empty.
6749
6750 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * ParagraphList.C (splice): new function.
6753
6754         * CutAndPaste.C (pasteSelection): use it
6755
6756 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * CutAndPaste.C (pasteSelection): remove the last next and
6759         previous from this file.
6760
6761 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * CutAndPaste.C (pasteSelection): more clean up, user proper
6764         ParagraphList functions for pasteing.
6765
6766         * ParagraphList.C (insert): new function, three arg insert
6767
6768 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6769
6770         * ParagraphList.C (insert): new function, three arg insert
6771
6772         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6773         not on paragraphs.
6774
6775 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6778
6779 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6782
6783 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6784
6785         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6786         (copySelection): clean up a bit.
6787         (pasteSelection): use make_pair
6788
6789         * ParagraphList.C (ParagraphList): implement copy constructor
6790         (operator=): implement, base on copy constructor.
6791         (assign): new func
6792
6793         * paragraph.C (erase): return a bool
6794
6795         * paragraph_pimpl.C (erasePos): remove function, move contents...
6796         (erase): ... here. Return a bool.
6797         (erase): call erase instead of erasePos.
6798
6799 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6800
6801         * ParagraphList.h: define PitPosPair
6802         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6803         ParagraphList, fix a bug on pasting multiple pars
6804         * text2.C: change interface to C&P
6805
6806 2003-04-30  André Pönitz  <poenitz@gmx.net>
6807
6808         * undo_func.C: revert part of yesterday's patch 2
6809
6810 2003-04-30  John Levon  <levon@movementarian.org>
6811
6812         * LColor.C: s/tabular/table/
6813
6814 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * text3.C (dispatch): do not convert iterator -> pointer
6817         * undo_funcs.C (setCursorParUndo): ditto
6818         * text_funcs.C (transposeChars): ditto
6819
6820         * text2.C (setLayout): ws changes only
6821
6822         * text.C (breakParagraph): do not convert iterator -> pointer
6823         (insertChar): ditto
6824         (acceptChange): ditto
6825         (rejectChange): ditto
6826         (changeCase): ditto
6827         (Delete): ditto
6828         (backspace): ditto
6829
6830         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6831         pointer
6832
6833 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6834
6835         * text3.C (gotoInset): YABG (yet another bad getChar)
6836
6837 2003-04-29  André Pönitz  <poenitz@gmx.net>
6838
6839         * paragraph.h: make operator= private unimplemented as long as
6840           it is unusable
6841
6842         * ParagraphList.C: whitespace
6843
6844         * paragraph.[Ch]:
6845         * paragraph_pimpl.[Ch]:
6846         * paragraph_funcs.C:
6847         * CutAndPaste.C:
6848         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6849
6850         * text2.C:
6851           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6852
6853 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6856         * paragraph.[Ch] (erase):
6857         * paragraph_pimpl.[Ch] (erase): change return type and value
6858         * text2.C (cutSelection): some rework
6859
6860 2003-04-28  John Levon  <levon@movementarian.org>
6861
6862         * bufferlist.C: changes for unsaved changes dialog
6863
6864 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * bufferlist.C (newFile): set language (messages_) for new
6867         documents also.
6868
6869         * buffer.C (readFile): ws changes only.
6870
6871 2003-04-28  André Pönitz  <poenitz@gmx.net>
6872
6873         * undo_funcs.C:
6874         * lyxfunc.C:
6875         * buffer.[Ch]:
6876         * BufferView_pimpl.C:
6877         * BufferView.C: getParFromID related ParagraphList::iterator changes
6878
6879 2003-04-28  André Pönitz  <poenitz@gmx.net>
6880
6881         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6882           Changes
6883
6884 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * messages.C: remove one more localedir class variable.
6887
6888 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * messages.C (getLocaleDir): singleton generation function
6891         (Pimpl): use it.
6892         (Messages): add a default constructor.
6893
6894         * main.C (main): do not setup localedir here, do not call
6895         gettext_init.
6896
6897         * gettext.C (_): use it.
6898         (gettext_init): delete funciton
6899
6900 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * gettext.C (getLyXMessages): new singleton generating function.
6903
6904         * buffer.C (updateDocLang): adjust
6905
6906         * Makefile.am (messages.o): add target
6907         (main.o): remove target
6908
6909 2003-04-27  John Levon  <levon@movementarian.org>
6910
6911         * bufferlist.C:
6912         * lyx_cb.C:
6913         * lyxfunc.C:
6914         * lyxvc.C: specify cancel button in Alert::prompt
6915
6916 2003-04-26  John Levon  <levon@movementarian.org>
6917
6918         * text3.C:
6919         * lyxfunc.C:
6920         * lfuns.h:
6921         * LyXAction.C: add LFUN_INSET_SETTINGS
6922
6923         * lyxfunc.C: don't enable tabular-feature when there's
6924         just any locking inset
6925
6926 2003-04-26  John Levon  <levon@movementarian.org>
6927
6928         * bufferlist.C: re-add Cancel to buffer close question
6929
6930         * lyxfunc.C: fix import UI a bit
6931
6932 2003-04-25  John Levon  <levon@movementarian.org>
6933
6934         * gettext.C: remove the broken asserts for now
6935
6936 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6937
6938         * messages.C: make case where setlocale cannot comply work better.
6939
6940         * buffer.C (updateDocLang): new function
6941         (changeLanguage): use it
6942         (readFile): use it
6943
6944         * text2.C (setCounter): use B_ a bit.
6945
6946         * lyxlayout.C (Read): be sure to trim the label strings.
6947
6948         * messages.C (Messages): fix typo in comment
6949
6950         * buffer.C (readFile): set message_ after file is loaded.
6951         (makeDocBookFile): remove double return
6952         (changeLanguage): reset message_ upon language change.
6953         (B_): new func, use this to get translated buffer strings.
6954
6955         * main.C: add myself and Jean Marc as authors.
6956
6957 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * messages.[hC]: pimplify Messages, and three different pimpls to be
6960         used in different circumstances.
6961
6962         * gettext.[Ch]: change for use with new message code.
6963
6964 2003-04-24 André Pönitz <poenitz@gmx.net>
6965
6966         * factory.C: support for eqref
6967
6968 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * messages.[Ch]: add missing char
6971
6972         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6973
6974         * messages.[Ch]: New files
6975
6976 2003-04-18  John Levon  <levon@movementarian.org>
6977
6978         * BufferView.h:
6979         * BufferView.C:
6980         * BufferView_pimpl.C:
6981         * lfuns.h:
6982         * LyXAction.C:
6983         * lyxtext.h:
6984         * text2.C: remove layout-copy/paste (bug 778)
6985
6986 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6987
6988         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6989
6990 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6991
6992         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6993         if they succeed. Act accordingly.
6994
6995 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * text2.C (setCharFont): adjust
6998         (setCounter): adjust
6999         (insertStringAsLines): adjust
7000
7001         * text.C (leftMargin): adjust
7002         (setHeightOfRow): adjust
7003
7004         * rowpainter.C (paintFirst): adjust
7005         (paintLast): adjust
7006
7007         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7008         (outerHook): ditto
7009         (isFirstInSequence): ditto
7010         (getEndLabel): ditto
7011         (outerFont): adjust
7012
7013         * paragraph.C (getParLanguage): comment out some hard stuff.
7014
7015         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7016         (sgmlError): ditto
7017         (simpleDocBookOnePar): ditto
7018         (makeDocBookFile): use ParagraphList::iterator
7019
7020         * CutAndPaste.C (pasteSelection): adjust
7021
7022 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * text2.C (getFont): adjust
7025         (getLayoutFont): adjust
7026         (getLabelFont): adjust
7027
7028         * paragraph_funcs.C (TeXOnePar): adjust
7029
7030         * buffer.C (simpleLinuxDocOnePar): adjust
7031         (simpleDocBookOnePar): adjust
7032
7033         * CutAndPaste.C (pasteSelection): adjust
7034
7035         * BufferView.C (getEncoding): adjust
7036
7037         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7038
7039 2003-04-16  John Levon  <levon@movementarian.org>
7040
7041         * lyxfind.C: use parlist stuff for search/changes
7042
7043 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7046
7047         * text2.C (deleteEmptyParagraphMechanism): adjust
7048
7049         * text2.[Ch] (ownerParagraph): delete func (both of them
7050
7051 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7054
7055 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * ParagraphList.C: prepare for NO_NEXT
7058
7059 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7060
7061         * text2.C (getFont): adjust
7062         (getLayoutFont): adjust
7063         (getLabelFont): adjust
7064
7065         * paragraph.C (getFont): adjust
7066         (getLabelFont): adjust
7067         (getLayoutFont): adjust
7068
7069         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7070
7071 2003-04-15  John Levon  <levon@movementarian.org>
7072
7073         From Angus Leeming
7074
7075         * lyx_main.C: handle Include in .ui files
7076
7077 2003-04-15  John Levon  <levon@movementarian.org>
7078
7079         * MenuBackend.C: make the doc files length shorter
7080
7081         * ToolbarBackend.h:
7082         * ToolbarBackend.C: handle toolbar placement flags,
7083         Minibuffer
7084
7085 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7086
7087         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7088         adjust
7089
7090         * paragraph_funcs.C (TeXOnePar): adjust
7091
7092         * paragraph.C (getLabelFont): add outerfont arg, adjust
7093         (getLayoutFont): ditto
7094         (simpleTeXOnePar): adjust
7095
7096         * paragraph_pimpl.C (realizeFont): delete func
7097
7098 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7099
7100         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7101         row argument, constify cur argument.
7102
7103 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * text2.C (getFont): adjust
7106         (getLayoutFont): adjust
7107         (getLabelFont): adjust
7108
7109         * paragraph_funcs.C (TeXOnePar): adjust
7110         (outerFont): new func...
7111         (realizeFont): ...moved out from here, changed this to facilitate
7112         transition
7113
7114         * paragraph.C (getFont): take outerfont as arg, adjust
7115         (simpleTeXOnePar): add outerfont arg, adjust
7116
7117         * buffer.C (simpleLinuxDocOnePar): adjust
7118         (simpleDocBookOnePar): adjust
7119
7120         * CutAndPaste.C (pasteSelection): adjust
7121
7122         * BufferView.C (getEncoding): adjust
7123
7124 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7125
7126         * text2.C (setCharFont): adjust
7127         (setCounter): adjust
7128
7129         * text.C (leftMargin): adjust
7130         (setHeightOfRow): adjust
7131
7132         * rowpainter.C (paintFirst): adjust
7133         (paintLast): adjust
7134
7135         * paragraph_pimpl.C (realizeFont): adjust
7136
7137         * paragraph.C (isFirstInSequence): move from here...
7138         * paragraph_funcs.C (isFirstInSequence): ...to here
7139
7140         * paragraph.C (outerHook): move from here...
7141         * paragraph_funcs.C (outerHook): ...to here
7142
7143         * paragraph.C (depthHook): move from here...
7144         * paragraph_funcs.C (depthHook): ...to here
7145
7146         * paragraph.C (getEndLabel): move from here...
7147         * paragraph_funcs.C (getEndLabel): ...to here
7148
7149         * text2.C (realizeFont): move from here...
7150         * paragraph_funcs.C (realizeFont): ...to here
7151
7152 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7153
7154         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7155
7156 2003-04-14  Angus Leeming  <leeming@lyx.org>
7157
7158         * LColor.[Ch]: scrap LColor mathcursor.
7159
7160 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7161
7162         * lyxlex.[Ch] (text): delete function
7163         * trans.C (Load): adjust
7164         * paragraph_funcs.C (readParToken): adjust
7165
7166 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7169         vector<char> instead of a char[].
7170
7171         * lyxlex_pimpl.C (getString): adjust
7172         (next): adjust
7173         (lex): use getString
7174         (eatLine): adjust
7175         (nextToken): adjust
7176
7177         * lyxlex.C (text): use pimpl_->getString()
7178         (getBool): ditto
7179         (findToken): ditto
7180
7181 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7184         (makeFontEntriesLayoutSpecific): temp var for par.size()
7185         (setLayout): temp var for ownerParagraphs().end()
7186         (fullRebreak): temp var for rows().end()
7187         (selectionAsString): temp var for boost::next(startpit), realize
7188         that the while really is a regular for loop.
7189         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7190         setCursor in one place.
7191         (setParagraph): temp vr for ownerParagraphs().end()
7192         (updateCounters): make the while loop a for loop
7193         (cutSelection): temp var for ownerParagraphs().end()
7194         (updateInset): make the do {} while() a regular for loop
7195         (getCursorX): use temp vars
7196         (setCurrentFont): use temp vars
7197         (getColumnNearX): use temp vars
7198
7199 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * text.C (transformChar): use temp var for getChar
7202         (computeBidiTables): use temp var for row->par()
7203         (fill): move temp vars for row->par() and pit->layout() earlier in
7204         the function.
7205         (labelFill): use temp var for row->par()
7206         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7207         asc and desc, realize that pit never changes and that firstpit is
7208         just a duplicate and not needed. Exchange rit->par() with pit in a
7209         lot of places.
7210         (breakAgain): use a temp var for boost::next(rit)
7211         (breakAgainOneRow): ditto
7212         (breakParagraph): use a temp var for rows().begin()
7213         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7214         (cursorRightOneWord): use temp var for cursor.par() and
7215         cursor.pos(), remove usage of tmpcursor.
7216         (cursorLeftOneWord): use temp var for cursor.par() and
7217         cursor.pos() only set cur at end of function.
7218
7219 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * text.C, text2.C: exchange all usage of Paragraph::next with
7222         boost::next(ParagraphList::iterator)
7223
7224         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7225
7226         * text2.C (cursorTop): simplify implementation
7227         (cursorBottom): ditto
7228         (setParagraph): use ParagraphList::iterator
7229         (setCurrentFont): adjust
7230         (getColumnNearX): adjust
7231         (cursorRight): adjust
7232         (cursorLeft): remove usage of Paragraph::previous
7233         (cursorUpParagraph): ditto
7234         (deleteEmptyParagraphMechanism): slight cleanup
7235
7236         * text.C (isBoundary): take a Paragraph const & instead of a
7237         pointer as arg.
7238         (addressBreakPoint): ditto
7239         (leftMargin): remove usage of Paragraph::previous.
7240         (setHeightOfRow): ditto
7241         (cursorLeftOneWord): ditto
7242         (selectNextWordToSpellcheck): ditto
7243         (Delete): ditto
7244         (backspace): ditto
7245         (breakParagraph): remove one usage of Paragraph::next
7246         (redoParagraph): ditto
7247         (acceptChange): ditto
7248         (insertChar): adjust
7249         (rowBreakPoint): adjust
7250
7251         * bufferview_funcs.C (toggleAndShow): adjust
7252
7253 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7254
7255         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7256         methods to access it.
7257         * lyxtext.h:
7258         * text.C: Added updateRowPositions to compute all row positions.
7259         Make top_y and getRowNearY() to use the cached y position
7260
7261 2003-04-11  John Levon  <levon@movementarian.org>
7262
7263         * text.C (rowBreakPoint): reintroduce the labelEnd
7264         checks, code copied from the row fill stuff. Deep voodoo.
7265
7266         * text.C (fill): add a comment and debugging for the
7267         next poor soul.
7268
7269 2003-04-11  John Levon  <levon@movementarian.org>
7270
7271         * text.C: make sure fullrow insets get wrapped to the next line,
7272         even when they're in a manual label
7273
7274 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * text2.C (insertParagraph): make it take ParagraphList::iterator
7277         as arg.
7278         (setLayout): make it return ParagraphList::iterator
7279         (redoParagraphs): ditto
7280         (setCounter): ditto
7281         (checkParagraph): ditto
7282
7283         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7284
7285         * text2.C: adjust several funcs.
7286         (realizeFont): take a ParagraphList::iterator as arg.
7287         (getLayoutFont): ditto
7288         (getLabelFont): ditto
7289         (setCharFont): ditto
7290
7291         * text.C: adjust several funcs.
7292
7293 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7294
7295         * text.C (selectNextWordToSpellcheck): don't accidentally
7296         skip insets
7297
7298 2003-04-10  John Levon  <levon@movementarian.org>
7299
7300         * ToolbarBackend.C (getIcon): special handling for
7301         LFUN_MATH_DELIM
7302
7303 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7304
7305         * text2.C (cursorRight): a getChar assert fixed
7306
7307 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7308
7309         * text2.C (getFont): change to take a ParagraphList::iterator
7310         instead of Paragraph*
7311         Adjust several functions.
7312
7313         * text.C (transformChar): change to take a ParagraphList::iterator
7314         instead of Paragraph*
7315         (singleWidth): ditto
7316         Adjust several functions.
7317
7318         * rowpainter.C: adjust several functions
7319         * rowpainter.h:store a ParagraphList::iterator and not a
7320         Paragraph&.
7321
7322
7323 2003-04-09  John Levon  <levon@movementarian.org>
7324
7325         * lyxfunc.C:
7326         * lfuns.h:
7327         * LyXAction.h:
7328         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7329         and the "help" bits as well
7330
7331 2003-04-09  John Levon  <levon@movementarian.org>
7332
7333         * ToolbarBackend.h:
7334         * ToolbarBackend.C: allow multiple toolbars
7335
7336 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * undo_funcs.C (setCursorParUndo): adjust
7339
7340         * text_funcs.C (transposeChars): adjust
7341
7342         * text3.C (gotoNextInset): adjust
7343         (dispatch): adjust
7344
7345         * text2.C (setLayout): adjust
7346         (changeDepth): adjust
7347         (setFont): adjust
7348         (redoParagraphs): adjust
7349         (selectionAsString): adjust
7350         (setParagraph): adjust
7351         (insertInset): adjust
7352         (cutSelection): adjust
7353         (copySelection): adjust
7354         (pasteSelection): adjust
7355         (insertStringAsLines): adjust
7356         (updateInset): adjust
7357         (setCursor): change to take a ParagraphList::iterator parameter
7358         (setCursorIntern): change to take a ParagraphList::iterator parameter
7359         (setCurrentFont): adjust
7360         (cursorLeft): adjust
7361         (cursorRight): adjust
7362         (deleteEmptyParagraphMechanism): adjust
7363
7364         * text.C (breakParagraph): adjust
7365         (insertChar): adjust
7366         (acceptChange): adjust
7367         (rejectChange): adjust
7368         (selectNextWordToSpellcheck): adjust
7369         (changeCase): adjust
7370         (Delete): adjust
7371         (backspace): adjust
7372
7373         * lyxfind.C (SearchForward): adjust
7374         (SearchBackward): adjust
7375         (nextChange): adjust
7376
7377         * lyxcursor.C (par): adjust
7378
7379         * lyxcursor.h: store a ParagraphList::iterator instead of a
7380         Paragraph*
7381
7382         * lyx_cb.C (getPossibleLabel): adjust
7383
7384         * bufferview_funcs.C (toggleAndShow): adjust
7385
7386         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7387         (dispatch): adjust
7388
7389         * BufferView.C (removeAutoInsets): adjust
7390         (lockedInsetStoreUndo): adjust
7391
7392 2003-04-09  John Levon  <levon@movementarian.org>
7393
7394         * ToolbarBackend.C: try icon without argument
7395         if with argument fails
7396
7397 2003-04-08  John Levon  <levon@movementarian.org>
7398
7399         * ToolbarBackend.h:
7400         * ToolbarBackend.C: add getIcon(), handle tooltip,
7401         and change from "Icon" to "Item".
7402
7403 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7404
7405         * BufferView.C (lockInset): another bad getchar crunched
7406
7407 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7408
7409         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7410         again)
7411
7412 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7413
7414         * lyxfind.C (searchForward, searchBackwards): bug 782
7415
7416 2003-04-07  John Levon  <levon@movementarian.org>
7417
7418         * paragraph.C: remove dead comment
7419
7420         * text.C: remove troublesome depth-fiddling code
7421         in leftMargin() and rightMargin() (bug 1017)
7422
7423         * text.C: fix breaking of rows in nested lists
7424         (bug 1004)
7425
7426         * text2.C (updateCounters): fix up depth values
7427         (bug 1013)
7428
7429 2003-04-07  John Levon  <levon@movementarian.org>
7430
7431         * BufferView_pimpl.C: clear message when doc finishes resizing,
7432         and after a mouse event
7433
7434         * lyxfunc.C: clear message after exiting inset
7435
7436 2003-04-07  John Levon  <levon@movementarian.org>
7437
7438         * bufferview_funcs.C: show math status not outside
7439         status in the statusbar
7440
7441 2003-04-07  John Levon  <levon@movementarian.org>
7442
7443         * lyxfunc.C: note status changed after a depth change
7444
7445 2003-04-04  Angus Leeming  <leeming@lyx.org>
7446
7447         * LaTeX.h: move AuxInfo operator==, != out of line.
7448         Remove LaTeX virtual destructor; nothing derives from it.
7449         Move operator()() out of public area and rename it startscript().
7450         Change protected for private.
7451
7452 2003-04-04  Angus Leeming  <leeming@lyx.org>
7453
7454         * lyxfunc.C:
7455         * text2.C: remove unneeded #includes.
7456
7457 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7458
7459         * text2.C (dEPM): fix the heigth of the next row
7460
7461 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7462
7463         * text.C: squashed an invalid getChar requester + some ws changes
7464
7465 2003-04-03  John Levon  <levon@movementarian.org>
7466
7467         * bufferview_funcs.h:
7468         * bufferview_funcs.C:
7469         * lyxfunc.C:
7470         * lyxtext.h:
7471         * text2.C: make getStatus work for the env depth lfuns
7472
7473 2003-04-03  John Levon  <levon@movementarian.org>
7474
7475         * bufferview_funcs.h:
7476         * bufferview_funcs.C:
7477         * lyxfunc.C:
7478         * lyxtext.h:
7479         * text2.C: parlistize decDepth(), by merging it with incDepth()
7480
7481 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * lyxrow.h: store a ParagraphList::iterator instead of a
7484         Paragraph* and adjust other class functions to suit.
7485
7486         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7487         above.
7488
7489 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7490
7491         * text2.C (setCursor): do not anchor to cursor row for the time being
7492
7493 2003-04-02  John Levon  <levon@movementarian.org>
7494
7495         * LyXAction.C:
7496         * lfuns.h:
7497         * lyx_main.C:
7498         * lyxtext.h:
7499         * text.C:
7500         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7501
7502 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * paragraph.h: make ParagraphList and ParagraphList::iterator
7505         friends of Paragraph.
7506
7507         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7508
7509         * ParagraphList.C: Use the private next_ and previous_ from
7510         Paragraph.
7511
7512 2003-04-01  John Levon  <levon@movementarian.org>
7513
7514         * ToolbarBackend.h:
7515         * ToolbarBackend.C:
7516         * Makefile.am: rename, remove defaults gunk
7517
7518         * MenuBackend.h:
7519         * MenuBackend.C: remove defaults gunk
7520
7521         * Languages.h:
7522         * Languages.C: remove defaults gunk
7523
7524         * lyx_main.h:
7525         * lyx_main.C: error out if files couldn't be found.
7526
7527 2003-04-02  John Levon  <levon@movementarian.org>
7528
7529         * text2.C: make incDepth() use parlist
7530
7531 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * undo_funcs.C (firstUndoParagraph): adjust
7534
7535         * text3.C (gotoInset): adjust
7536         (dispatch): adjust, and rewrite loop.
7537
7538         * text2.C (init): adjust, and rewrite loop.
7539         (redoParagraphs): adjust
7540         (updateInset): adjust, and rewrite loop.
7541         (deleteEmptyParagraphMechanism): adjust
7542
7543         * tabular.C (LyXTabular): adjust
7544         (SetMultiColumn): adjust
7545         (TeXRow): adjust
7546
7547         * lyxtext.[Ch] (ownerParagraph): delete function
7548         (ownerParagraphs): new function returns a ParagraphList.
7549
7550         * BufferView.C (removeAutoInsets): adjust
7551         (insertErrors): adjust
7552         (setCursorFromRow): adjust
7553
7554 2003-04-01  Angus Leeming  <leeming@lyx.org>
7555
7556         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7557         in the frontends.
7558
7559 2003-04-02  John Levon  <levon@movementarian.org>
7560
7561         * lyxtext.h:
7562         * text.C:
7563         * Makefile.am:
7564         * text_funcs.h:
7565         * text_funcs.C: make transposeChars a free function
7566
7567         * lyxrow_funcs.C: remove wrong comment
7568
7569 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * lyxtext.h: adjust
7572         * rowpainter.C: adjust
7573         * text.C: adjust
7574         * text2.C: adjust
7575         * text3.C: adjust
7576
7577         * lyxrow_funcs. [Ch]: new files
7578
7579         * lyxrow.[Ch]: remove next and previous pointers
7580         (next,previous): remove accessor functions
7581         (isParEnd): move to lyxrow_funcs
7582         (lastPos): move to lyxrow_funcs
7583         (nextRowIsAllInset): move to lyxrow_funcs
7584         (lastPrintablePos): move to lyxrow_funcs
7585         (numberOfSeparators): move to lyxrow_funcs
7586         (numberOfHfills): move to lyxrow_funcs
7587         (numberOfLabelHfills): move to lyxrow_funcs
7588         (hfillExpansion): move to lyxrow_funcs
7589
7590         * lyxfunc.C: adjust
7591
7592         * bufferview_funcs.C (toggleAndShow): adjust
7593
7594         * RowList.h: Remove class RowList from file leave just a
7595         std::list<Row>.
7596
7597         * RowList.C: delete file
7598
7599         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7600         and lyxrow_funcs.h
7601
7602 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7603
7604         * text3.C (cursorPrevious): adjust
7605         (cursorNext): adjust
7606         (dispatch): adjust
7607
7608         * text2.C (redoHeightOfParagraph): adjust
7609         (redoDrawingOfParagraph): adjust
7610         (setCursor): adjust
7611
7612         * text.C (breakParagraph): adjust
7613         (insertChar): adjust
7614         (backspace): adjust
7615
7616         * rowpainter.C (RowPainter): adjust
7617         (leftMargin): simplify and adjust
7618         (most rowpainter functions): adjust.
7619
7620         * rowpainter.h: store the row as RowList::iterator not as Row*
7621
7622         * lyxcursor.C (row): taka RowList::iterator as arg
7623         (irow): ditto
7624
7625         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7626         of Row*.
7627
7628 2003-04-01  Angus Leeming  <leeming@lyx.org>
7629
7630         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7631         stuff like bool Bool.
7632
7633 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7634
7635         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7636         rewrite a loop
7637
7638 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7641         RowList::iterator.
7642
7643         * lyxtext.h (rows): drop one version and leve a const variant that
7644         returns a RowList::iterator.
7645
7646 2003-03-31  Angus Leeming  <leeming@lyx.org>
7647
7648         * text.C (fill): ensure that the signature is the same as that in the
7649         header file.
7650
7651 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * text2.C (redoParagraphs): adjust
7654         (updateCounters): adjust
7655         (checkParagraph): adjust
7656         (getColumnNearX): adjust and reformat a bit.
7657
7658         * text.C (top_y): adjust
7659         (workWidth): adjust
7660         (leftMargin): adjust
7661         (prepareToPrint): adjust
7662         (getRow): adjust
7663         (getRowNearY): adjust
7664
7665         * lyxtext.h: make rowlist_ mutable.
7666
7667         * RowList.h: add const_iterator
7668         * RowList.C: adjust for RowList::const_iterator.
7669
7670         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7671         adjust.
7672
7673 2003-03-31  John Levon  <levon@movementarian.org>
7674
7675         * lyxrc.h:
7676         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7677
7678         * lyx_main.C: set default fonts from using lyx_gui funcs
7679
7680         * exporter.C: pdf_mode moved from lyxrc
7681
7682         * lyx_cb.C:
7683         * lyxfunc.C: changes from above
7684
7685 2003-03-31  John Levon  <levon@movementarian.org>
7686
7687         * lyx_main.C: fix to the last fix
7688
7689 2003-03-31  John Levon  <levon@movementarian.org>
7690
7691         * bufferlist.C: "Load original" -> "Load Original"
7692
7693         * converter.C:
7694         * exporter.C:
7695         * importer.C:
7696         * lyx_main.C:
7697         * format.C: more Alert cleanups
7698
7699 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * text2.C (removeParagraph): make it take a RowList::iterator as
7702         arg, adjust.
7703         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7704         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7705
7706         * text.C (anchor_row): make it take a RowList::iterator as arg,
7707         adjust.
7708         (computeBidiTables): make it take a const reference to Row instead
7709         of Row pointer, adjust.
7710         (leftMargin): make it take a RowList::iterator as arg, adjust.
7711         (rowBreakPoint): adjust
7712         (breakAgainOneRow): make it take a RowList::iterator as arg,
7713         adjust.
7714         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7715
7716         * bufferview_funcs.C (toggleAndShow): adjust
7717
7718 2003-03-30  John Levon  <levon@movementarian.org>
7719
7720         * Makefile.am:
7721         * BoostFormat.h:
7722         * boost-inst.C: moved to support
7723
7724         * several files: changes as a result
7725
7726 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * text2.C (LyXText): adjust.
7729         (init): adjust
7730         (removeRow): make it take a RowList::iterator as arg, adjust.
7731         (fullRebreak): adjust
7732         (deleteEmptyParagraphMechanism): adjust
7733         (clearPaint): adjust
7734         (postPaint): adjust
7735
7736         * text.C (top_y): adjust
7737         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7738         (breakAgain): make it take a RowList::iterator as arg, adjust.
7739         (breakParagraph): adjust
7740         (insertChar): adjust
7741         (backspace): adjust
7742
7743         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7744         need_break_row, and refresh_row.
7745
7746         * text3.C (dispatch): adjust
7747
7748         * text2.C (checkParagraph): adjust
7749         (setCursor): adjust
7750         (setCursorFromCoordinates): adjust
7751
7752         * text.C (top_y): adjust
7753         (workWidth): adjust
7754         (getRow): make it return a RowList::iterator, adjust
7755         (getRowNearY): make it return a RowList::iterator, adjust
7756
7757         * text2.C (init): adjust
7758         (insertRow): remove function
7759         (insertParagraph): adjust
7760         (redoParagraphs): adjust
7761         (fullRebreak): adjust
7762         (updateCounters): adjust
7763
7764         * text.C (top_y): rewrite to use RowList iterators.
7765         (top_y): adjust
7766         (setHeightOfRow): rewrite to sue RowList iterators.
7767         (appendParagraph): adjust
7768         (breakAgain): adjust
7769         (breakAgainOneRow): adjust
7770         (breakParagraph): adjust
7771         (getRow): adjust
7772         (getRowNearY): adjust, and remove commented code.
7773
7774         * lyxtext.h (firstRow): delete function
7775         (lastRow): delete function
7776         (rows): new function (const and non-const versions.)
7777         (insertRow): delete function
7778
7779         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7780
7781 2003-03-29  John Levon  <levon@movementarian.org>
7782
7783         * BufferView_pimpl.C: always update scrollbar top
7784         because pasting text when we're anchored could mean we
7785         miss an update altogether
7786
7787 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7788
7789         * text2.C (init): use rowlist_.end() and not 0.
7790         (insertRow): change to take a RowList::iterator as arg, adjust
7791         for this.
7792         (insertParagraph): change to take a RowList::iterator as arg,
7793         adjust for this.
7794         (redoParagraphs): remove some debug msgs.
7795
7796         * text.C (appendParagraph): change to take a RowList::iterator
7797         arg, adjust for this.
7798         (breakAgain): add an assert
7799         (breakAgainOneRow): ditto
7800
7801 2003-03-29  John Levon  <levon@movementarian.org>
7802
7803         * text2.C: do not clear selection after inc/decDepth
7804         (bug 550)
7805
7806 2003-03-29  John Levon  <levon@movementarian.org>
7807
7808         * BufferView.C:
7809         * buffer.C: fix broken strerrors according to Lars
7810
7811 2003-03-29  John Levon  <levon@movementarian.org>
7812
7813         * converters.C: more Alert cleanups
7814
7815 2003-03-29  John Levon  <levon@movementarian.org>
7816
7817         * bufferview_funcs.C: remove pointless Alert
7818
7819         * buffer.C: fix confusing error message when
7820         a template is chmoded 000
7821
7822 2003-03-29  John Levon  <levon@movementarian.org>
7823
7824         * BufferView.C:
7825         * BufferView.h:
7826         * BufferView_pimpl.C: Alert fixes
7827
7828         * Makefile.am:
7829         * tabular.C:
7830         * tabular-old.C: remove unused table compat reading
7831
7832 2003-03-29  John Levon  <levon@movementarian.org>
7833
7834         * BufferView.C:
7835         * buffer.C:
7836         * lyx_cb.h:
7837         * lyx_cb.C: more Alert cleanups
7838
7839         * lyxfunc.C: don't allow chktex if not latex document
7840
7841 2003-03-29  John Levon  <levon@movementarian.org>
7842
7843         * lyx_cb.C:
7844         * BufferView.C:
7845         * buffer.C: warnings pushed down from support/,
7846         kill err_alert
7847
7848 2003-03-29  John Levon  <levon@movementarian.org>
7849
7850         * lyxfunc.C: safety check for C-r (revert)
7851
7852 2003-03-29  John Levon  <levon@movementarian.org>
7853
7854         * bufferlist.h:
7855         * bufferlist.C: several UI fixes using Alert::prompt.
7856         Fix the pointless looping quit code. Fix stupid revert
7857         behaviour (bug 938)
7858
7859         * lyxvc.h:
7860         * lyxvc.C:
7861         * lyx_cb.C: use Alert::prompt
7862
7863         * lyx_main.C: remove a silly question
7864
7865         * lyxfunc.C: remove a couple of silly questions,
7866         use Alert::prompt
7867
7868 2003-03-28  John Levon  <levon@movementarian.org>
7869
7870         * text2.C: fix bug 974 (End on empty par)
7871
7872 2003-03-28  John Levon  <levon@movementarian.org>
7873
7874         * BufferView_pimpl.C:
7875         * LyXAction.C:
7876         * lfuns.h: remove do-nothing math greek lfuns
7877
7878 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * lyxgluelength.h (isValidGlueLength): add default arg on
7881         parameter 2. Remove default arg from friend in class.
7882
7883         * lyxlength.h (isValidLength): add default arg on parameter 2.
7884         Remove default arg from friend in class.
7885
7886         * text2.C (LyXText): adjust, initialize refresh_row.
7887         (init): adjust
7888         (removeRow): adjust
7889         (insertRow): adjust
7890         (insertParagraph): adjst
7891         (redoParagraphs): adjust
7892         (fullRebreak): adjust
7893         (updateCounters): adjust
7894         (deleteEmptyParagraphMechanism): first attempt at fixing a
7895         crashing bug.
7896
7897         * text.C (top_y): adjust
7898         (setHeightOfRow): adjust
7899         (getRow): adjust
7900         (getRowNearY): adjust
7901
7902         * lyxtext.h: include RowList.h
7903         (~LyXText): not needed anymore, deleted.
7904         (firstRow): modify for RowList
7905         (lastRow): new function
7906         Delete firstrow and lastrow class variables, add a Rowlist
7907         rowlist_ class variable.
7908
7909         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7910         paragraph is empty.
7911
7912         * RowList.C (insert): fix case where it == begin().
7913
7914 2003-03-26  Angus Leeming  <leeming@lyx.org>
7915
7916         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7917         the thesaurus dialog.
7918
7919 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7922
7923         * RowList.[Ch]: new files
7924
7925         * ParagraphList.C (erase): handle the case where it == begin
7926         correctly.
7927
7928 2003-03-25  John Levon  <levon@movementarian.org>
7929
7930         * Makefile.am:
7931         * aspell_local.h:
7932         * aspell.C: add new aspell support
7933
7934         * lyxrc.h:
7935         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7936         have it accessible.
7937
7938 2003-03-25  Angus Leeming  <leeming@lyx.org>
7939
7940         * lfuns.h:
7941         * LyXAction.C (init): new LFUN_INSET_INSERT.
7942
7943         * BufferView_pimpl.C (dispatch): split out part of the
7944         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7945
7946         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7947         LFUN_INSET_APPLY.
7948
7949 2003-03-25  Angus Leeming  <leeming@lyx.org>
7950
7951         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7952
7953 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7954
7955         * text2.C:
7956         * text3.C: remove useless row->height(0)
7957
7958 2003-03-25  John Levon  <levon@movementarian.org>
7959
7960         * lyxtext.h:
7961         * text2.C:
7962         * text3.C: rename the refreshing stuff to better names
7963
7964 2003-03-24  John Levon  <levon@movementarian.org>
7965
7966         * BufferView_pimpl.h:
7967         * BufferView_pimpl.C: update layout choice on a mouse
7968         press/release
7969
7970 2003-03-23  John Levon  <levon@movementarian.org>
7971
7972         * Makefile.am: fix commandtags.h reference
7973
7974 2003-03-22  John Levon  <levon@movementarian.org>
7975
7976         * BufferView_pimpl.C:
7977         * lyxtext.h:
7978         * rowpainter.C:
7979         * rowpainter.h:
7980         * text.C:
7981         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7982
7983 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7984
7985         * lyxtext.h:
7986         * text.C: take the rtl methods out of line
7987
7988 2003-03-21 André Pönitz <poenitz@gmx.net>
7989
7990         * metricsinfo.[Ch]: new files containing structures to be passed around
7991         during the two-phase-drawing...
7992
7993 2003-03-21 André Pönitz <poenitz@gmx.net>
7994
7995         * lyxtextclass.C: read 'environment' tag.
7996
7997 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7998
7999         * text2.C (removeRow): fix bug 964
8000
8001 2003-03-20  John Levon  <levon@movementarian.org>
8002
8003         * rowpainter.C:
8004         * text.C:
8005         * text2.C: paint cleanups. Inset::update() dropped font
8006         parameter
8007
8008 2003-03-19  John Levon  <levon@movementarian.org>
8009
8010         * lyxfunc.C: only fitcursor/markDirty if available()
8011
8012 2003-03-19  John Levon  <levon@movementarian.org>
8013
8014         * commandtags.h: rename to ...
8015
8016         * lfuns.h: ... this, and renumber / cleanup
8017
8018 2003-03-19  John Levon  <levon@movementarian.org>
8019
8020         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8021         fit the cursor after an lfun
8022
8023         * BufferView.h:
8024         * BufferView.C:
8025         * BufferView_pimpl.h:
8026         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8027
8028         * LyXAction.C: layout-character should have ReadOnly
8029
8030         * ParagraphParameters.C:
8031         * buffer.C:
8032         * bufferview_funcs.C:
8033         * lyx_cb.C:
8034         * lyxfind.C:
8035         * lyxtext.h:
8036         * text.C:
8037         * text2.C:
8038         * text3.C:
8039         * undo_funcs.C: changes from above
8040
8041 2003-03-18  John Levon  <levon@movementarian.org>
8042
8043         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8044         remove it from update()
8045
8046         * lyxfunc.C: update layout choice after an lfun
8047
8048         * text3.C: remove extra updateLayoutChoice()s
8049
8050 2003-03-18  John Levon  <levon@movementarian.org>
8051
8052         * text.C: top_y change means full repaint, fix
8053         a drawing bug with cursor movement
8054
8055 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8056
8057         * lyxtext.h:
8058         * text.C:
8059         * text2.C: anchor row on setCursor
8060
8061 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8062
8063         * lyxtext.h: remove almost all mutable keywords
8064         * text.C:
8065         * text2.C:
8066         * text3.C: remove const keywords accordingly
8067
8068 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8069
8070         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8071         anon namespace
8072         (TeXEnvironment): ditto
8073         (TeXOnePar): ditto
8074
8075 2003-03-17  John Levon  <levon@movementarian.org>
8076
8077         * text.C (rowBreakPoint): remove attempt to fix displayed
8078         math insets inside a manual label
8079
8080 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * lyxtext.h: remove BufferView* as first arg from almost all class
8083         functions.
8084         * other files: adjust.
8085
8086 2003-03-17  John Levon  <levon@movementarian.org>
8087
8088         * lyxtext.h:
8089         * undo_funcs.C:
8090         * text2.C: more paint cleanups
8091
8092         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8093
8094         * rowpainter.h:
8095         * rowpainter.C: remove "smart" background painting code
8096
8097 2003-03-16  John Levon  <levon@movementarian.org>
8098
8099         * lyxtext.h:
8100         * text.C:
8101         * text2.C:
8102         * text3.C: add helper functions for setting refresh_row/y
8103
8104 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8105
8106         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8107         newline inset which *can* get inserted in the pass_thru layouts.
8108         This is primarily for literate documents.
8109
8110 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8111
8112         * buffer.C: increment LYX_FORMAT to 223
8113
8114 2003-03-14 André Pönitz <poenitz@gmx.net>
8115
8116         * textclass.h: prepare for environment handling, ws changes
8117         * lyxlayout.C: read latexheader and latexfooter tags
8118
8119 2003-03-14  John Levon  <levon@movementarian.org>
8120
8121         * text2.C: rewrite ::status() a bit
8122
8123 2003-03-13  John Levon  <levon@movementarian.org>
8124
8125         * lyxtext.h: add some docs
8126
8127 2003-03-13  John Levon  <levon@movementarian.org>
8128
8129         * lyxtext.h:
8130         * text.C:
8131         * text2.C:
8132         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8133
8134 2003-03-13  John Levon  <levon@movementarian.org>
8135
8136         * text3.C: fix appendix redrawing
8137
8138 2003-03-13  John Levon  <levon@movementarian.org>
8139
8140         * text.C (setHeightOfRow):
8141         * rowpainter.h:
8142         * rowpainter.C: make appendix mark have the text
8143           "Appendix" so the user knows what it is
8144
8145         * LColor.h:
8146         * LColor.C: s/appendixline/appendix/ from above
8147
8148 2003-03-13  John Levon  <levon@movementarian.org>
8149
8150         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8151
8152         * text.C: fix a getChar(pos) bug properly
8153
8154 2003-03-13  Angus Leeming  <leeming@lyx.org>
8155
8156         * commandtags.h:
8157         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8158         Probably only temporary. Let's see how things pan out.
8159
8160         * BufferView.C (unlockInset):
8161         * BufferView_pimpl.C (fitCursor):
8162         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8163
8164         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8165         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8166
8167         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8168         new functions that convert ParagraphParameters to and from a string.
8169
8170         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8171         BufferView::Pimpl's dispatch.
8172         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8173
8174 2003-03-13 André Pönitz <poenitz@gmx.net>
8175
8176         * lyxfunc.C:
8177         * text3.C:
8178         * factory.C: make it aware of InsetEnv
8179
8180 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8181
8182         * text2.C (setCursor): never ask for one past last
8183         (setCursor): add some debugging messages.
8184
8185         * text.C (singleWidth): never ask for one past last
8186         (singleWidth): ditto
8187         (leftMargin): ditto
8188         (rightMargin): ditto
8189         (rowBreakPoint): ditto
8190         (setHeightOfRow): ditto
8191         (prepareToPrint): ditto
8192
8193         * rowpainter.C (paintBackground): never ask for one past last
8194         (paintText): never ask for one past last
8195
8196         * paragraph_pimpl.C (getChar): make the assert stricter, never
8197         allow the one past last pos to be taken
8198
8199         * paragraph.C (getChar): ws changes only
8200
8201         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8202         (numberOfSeparators): ditto
8203         (numberOfHfills): ditto
8204
8205 2003-03-12  John Levon  <levon@movementarian.org>
8206
8207         * author.h:
8208         * author.C:
8209         * bufferparams.h:
8210         * bufferparams.C:
8211         * paragraph_funcs.C: fix per-buffer authorlists
8212
8213 2003-03-12  John Levon  <levon@movementarian.org>
8214
8215         * text.C: fix newline in right address
8216
8217 2003-03-12  Angus Leeming  <leeming@lyx.org>
8218
8219         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8220         duplicate those in LyXFunc::dispatch.
8221
8222         * commandtags.h:
8223         * LyXAction.C:
8224         * ToolbarDefaults.C:
8225         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8226         Add LFUN_FONTFREE_UPDATE.
8227
8228         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8229         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8230
8231         * bufferview_func.[Ch]: several new functions to facilliate
8232         transfer of data to and from the character dialog.
8233
8234 2003-03-12  John Levon  <levon@movementarian.org>
8235
8236         * buffer.C:
8237         * paragraph.h:
8238         * paragraph.C:
8239         * paragraph_funcs.C:
8240         * paragraph_pimpl.C:
8241         * sgml.C:
8242         * tabular.C:
8243         * text.C:
8244         * text3.C: remove META_NEWLINE in favour of an inset
8245
8246         * rowpainter.h:
8247         * rowpainter.C: remove paintNewline (done by inset)
8248
8249 2003-03-12  John Levon  <levon@movementarian.org>
8250
8251         * paragraph_pimpl.C: complain about bad getChar()s
8252         for a while at least
8253
8254 2003-03-12  John Levon  <levon@movementarian.org>
8255
8256         * buffer.h:
8257         * buffer.C: move paragraph read into a separate function,
8258         a little renaming to reflect that.
8259
8260         * bufferparams.h:
8261         * bufferparams.C: remove the author_ids map, not necessary now
8262
8263         * factory.h:
8264         * factory.C: moved Buffer::readInset to here
8265
8266         * paragraph_funcs.h:
8267         * paragraph_funcs.C: readParagraph free function moved from
8268         buffer.C
8269
8270         * tabular.C: name change
8271
8272 2003-03-12  John Levon  <levon@movementarian.org>
8273
8274         * buffer.C:
8275         * ParagraphParameters.C: move par params input to
8276         a read() method
8277
8278         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8279         behave like a normal read from the stream wrt reading
8280         a line vs. a \\token
8281
8282 2003-03-12  John Levon  <levon@movementarian.org>
8283
8284         * paragraph.C:
8285         * ParagraphParameters.h:
8286         * ParagraphParameters.C: move output code to a
8287         ::write() method
8288
8289 2003-03-12  John Levon  <levon@movementarian.org>
8290
8291         * BufferView.C (insertLyXFile):
8292         * buffer.h:
8293         * buffer.C:
8294         * tabular.C: use a parlist iterator for creating the
8295           document.
8296
8297 2003-03-12  John Levon  <levon@movementarian.org>
8298
8299         * buffer.C: make current_change static local not
8300           static file-scope
8301
8302 2003-03-12  John Levon  <levon@movementarian.org>
8303
8304         * buffer.C: fix insertStringAsLines for change tracking
8305
8306 2003-03-12  John Levon  <levon@movementarian.org>
8307
8308         * BufferView.C:
8309         * tabular.C:
8310         * buffer.h:
8311         * buffer.C:
8312         * bufferparams.h:
8313         * bufferparams.C: move author list into params. Rename some
8314           functions. Move the header reading into a separate token
8315           loop. Move the header token reading into BufferParams.
8316
8317 2003-03-12  John Levon  <levon@movementarian.org>
8318
8319         * changes.C: put debug inside lyxerr.debugging() checks
8320
8321 2003-03-11 André Pönitz <poenitz@gmx.net>
8322
8323         * factory.C: make it aware of InsetHFill
8324
8325 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8326
8327         * buffer.C (latexParagraphs): move function from here...
8328         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8329         args.
8330
8331 2003-03-10  Angus Leeming  <leeming@lyx.org>
8332
8333         * LyXAction.C (init): fix bug in poplating array with multiple entries
8334         with the same LFUN (spotted by JMarc).
8335
8336 2003-03-10  John Levon  <levon@movementarian.org>
8337
8338         * text.C:
8339         * text2.C: move getColumnNearX() near its
8340         only call site
8341
8342 2003-03-10  John Levon  <levon@movementarian.org>
8343
8344         * text.C: fix break before a minipage
8345
8346 2003-03-10  John Levon  <levon@movementarian.org>
8347
8348         * text.C: fix the last commit
8349
8350 2003-03-09  John Levon  <levon@movementarian.org>
8351
8352         * lyxtext.h:
8353         * text.C:
8354         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8355         bug 365 (don't break before insets unless needed). Don't
8356         return a value > last under any circumstances.
8357
8358 2003-03-09  Angus Leeming  <leeming@lyx.org>
8359
8360         * BufferView_pimpl.C (trackChanges, dispatch): call
8361         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8362
8363 2003-03-09  Angus Leeming  <leeming@lyx.org>
8364
8365         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8366         than Dialogs::showAboutlyx().
8367
8368 2003-03-09  Angus Leeming  <leeming@lyx.org>
8369
8370         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8371         than Dialogs::showTabularCreate().
8372
8373 2003-03-09  John Levon  <levon@movementarian.org>
8374
8375         * lyxtext.h:
8376         * text.C:
8377         * text2.C: 3rd arg to nextBreakPoint was always the same.
8378           Use references.
8379
8380 2003-03-08  John Levon  <levon@movementarian.org>
8381
8382         * lyxrow.C:
8383         * paragraph.C:
8384         * paragraph.h:
8385         * rowpainter.C:
8386         * text.C:
8387         * text2.C: Remove the "main" bit from the "main body"
8388           notion.
8389
8390 2003-03-08  John Levon  <levon@movementarian.org>
8391
8392         * text.C (leftMargin): The left margin of an empty
8393         manual label paragraph should not include the label width
8394         string length.
8395
8396         * text.C (prepareToPrint): don't attempt to measure hfills
8397         for empty manual label paragraphs - the answer should be 0
8398
8399 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * CutAndPaste.C: remove commented code and reindent.
8402
8403 2003-03-08  John Levon  <levon@movementarian.org>
8404
8405         * lyxfunc.h:
8406         * lyxfunc.C: move reloadBuffer()
8407
8408         * BufferView.h:
8409         * BufferView.C: to here
8410
8411         * lyxvc.C: add comment
8412
8413         * vc-backend.h:
8414         * vc-backend.C: call bv->reload() to avoid
8415           getStatus() check on MENURELOAD
8416
8417 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8418
8419         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8420         to an old format .dep file.
8421
8422 2003-03-07  Angus Leeming  <leeming@lyx.org>
8423
8424         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8425         when the LFUN_MOUSE_RELEASE should have been handled by
8426         inset->localDispatch.
8427
8428 2003-03-07  Angus Leeming  <leeming@lyx.org>
8429
8430         * BufferView_pimpl.C (dispatch):
8431         * LyXAction.C (init):
8432         * ToolbarDefaults.C (init):
8433         * commandtags.h:
8434         * lyxfunc.C (getStatus):
8435         remove LFUN_INSET_GRAPHICS.
8436
8437         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8438
8439 2003-03-07  Angus Leeming  <leeming@lyx.org>
8440
8441         * commandtags.h:
8442         * LyXAction.C (init):
8443         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8444
8445         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8446
8447         * commandtags.h:
8448         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8449
8450         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8451         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8452
8453 2003-03-07  Angus Leeming  <leeming@lyx.org>
8454
8455         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8456         remove "ert".
8457
8458 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8459
8460         * ParagraphList.C (front): new function
8461         (back): implement
8462
8463 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8464
8465         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8466         and top_row_offset_. removed var first_y.
8467         * text.C (top_y):
8468         * text2.C (LyXText, removeRow):
8469         * text3.C:
8470         * BufferView_pimpl.C:
8471         use these methods instead of using first_y
8472
8473 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * text2.C (pasteSelection): adjust for checkPastePossible
8476
8477         * CutAndPaste.C: remove Paragraph * buf and replace with
8478         ParagraphList paragraphs.
8479         (DeleteBuffer): delete
8480         (cutSelection): change the tc type to textclass_type
8481         (copySelection): change the tc type to textclass_type
8482         (copySelection): adjust for ParagraphList
8483         (pasteSelection): change the tc type to textclass_type
8484         (pasteSelection): adjust for Paragraphlist
8485         (nrOfParagraphs): simplify for ParagraphList
8486         (checkPastePossible): simplify for ParagraphList
8487         (checkPastePossible): remove unused arg
8488
8489         * ParagraphList.C (insert): handle the case where there are no
8490         paragraphs yet.
8491
8492         * CutAndPaste.h: make CutAndPaste a namespace.
8493
8494         * text3.C (dispatch): adjust
8495
8496         * text.C (breakParagraph): add a ParagraphList as arg
8497
8498         * paragraph_funcs.C (breakParagraph): change to take a
8499         BufferParams and a ParagraphList as args.
8500         (breakParagraphConservative): ditto
8501         (mergeParagraph): ditto
8502         (TeXDeeper): add a ParagraphList arg
8503         (TeXEnvironment): ditto
8504         (TeXOnePar): ditto
8505
8506         * buffer.C (readLyXformat2): adjust
8507         (insertStringAsLines): adjust
8508         (latexParagraphs): adjust
8509
8510         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8511         (cutSelection): adjust
8512         (pasteSelection): adjust
8513
8514         * BufferView_pimpl.C (insertInset): adjust
8515
8516 2003-03-05  Angus Leeming  <leeming@lyx.org>
8517
8518         * commandtags.h:
8519         * LyXAction.C (init):
8520         * BufferView_pimpl.C (dispatch):
8521         * lyxfunc.C (getStatus):
8522         remove LFUN_CHILD_INSERT.
8523
8524         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8525
8526 2003-03-05  Angus Leeming  <leeming@lyx.org>
8527
8528         * commandtags.h:
8529         * LyXAction.C (init):
8530         * src/factory.C (createInset):
8531         * lyxfunc.C (getStatus):
8532         * text3.C (dispatch):
8533         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8534
8535         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8536
8537 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8538
8539         * ParagraphList.C (insert): handle insert right before end()
8540         (erase): fix cases where it can be first or last paragraph.
8541
8542 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8543
8544         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8545         Paragraph::next and Paragraph::previous
8546         (TeXOnePar): ditto
8547
8548         * text.C (breakParagraph): adjust
8549
8550         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8551         BufferParams& as arg.
8552         (breakParagraph): use ParagraphList::insert
8553         (breakParagraphConservative): take a Buffer* instead of a
8554         BufferParams& as arg.
8555         (breakParagraphConservative): use ParagraphList::insert.
8556
8557         * buffer.C (insertStringAsLines): un-const it
8558         (insertStringAsLines): adjust
8559
8560         * ParagraphList.C (insert): new function
8561
8562         * CutAndPaste.C (pasteSelection): adjust
8563
8564         * text.C (backspace): adjust
8565
8566         * tabular.C (SetMultiColumn): adjust
8567
8568         * CutAndPaste.C (cutSelection): adjust
8569         (pasteSelection): adjust
8570
8571         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8572         Buffer const * as arg
8573
8574         * ParagraphList.C (erase): new function
8575         * paragraph_funcs.C (mergeParagraph): use it
8576         (mergeParagraph): make it take a Buffer* instead of a
8577         BufferParams* as arg
8578
8579         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8580         as arg
8581         (breakParagraphConservative): ditto
8582
8583         * paragraph.h: remove the breakParagraph friend
8584
8585         * paragraph.C (eraseIntern): new function
8586         (setChange): new function
8587
8588         * paragraph_funcs.C (mergeParagraph): make it take a
8589         ParagraphList::iterator instead of a Paragraph *, adjust
8590         accordingly.
8591
8592         * paragraph.h: move an #endif so that the change tracking stuff
8593         also works in the NO_NEXT case.
8594
8595 2003-03-04  Angus Leeming  <leeming@lyx.org>
8596
8597         * commandtags.h:
8598         * LyXAction.C: new LFUN_INSET_MODIFY.
8599
8600         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8601         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8602
8603 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8604
8605         * several files: ws changes only
8606
8607         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8608         (TeXEnvironment): ditto
8609         (TeXDeeper): ditto
8610
8611         * buffer.C (makeLaTeXFile): adjust
8612         (latexParagraphs): make it take ParagraphList::iterator as args
8613
8614 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * buffer.C (latexParagraphs): adjust
8617
8618         * paragraph.C (TeXOnePar): move function...
8619         (optArgInset): move function...
8620         (TeXEnvironment): move function...
8621         * paragraph_pimpl.C (TeXDeeper): move function...
8622         * paragraph_funcs.C: ...here
8623
8624         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8625
8626 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * buffer.C (readInset): remove compability code for old Figure and
8629         InsetInfo insets
8630
8631 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * buffer.C: ws changes
8634         (readInset):
8635
8636         * BufferView_pimpl.C: ditto
8637         * author.C: ditto
8638         * buffer.h: ditto
8639         * bufferlist.h: ditto
8640         * changes.h: ditto
8641         * lyxfunc.C: ditto
8642
8643 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8644
8645         * converter.[Ch]: split into itself +
8646         * graph.[Ch]
8647         * format.[Ch]
8648         * Makefile.am: += graph.[Ch] + format.[Ch]
8649         * MenuBackend.C
8650         * buffer.C
8651         * exporter.C
8652         * importer.C
8653         * lyx_main.C
8654         * lyxfunc.C
8655         * lyxrc.C: added #include "format.h"
8656
8657 2003-02-27  Angus Leeming  <leeming@lyx.org>
8658
8659         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8660           a label.
8661
8662         * factory.C (createInset): add "label" to the factory.
8663
8664         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8665           string and do no more.
8666
8667 2003-02-27  Angus Leeming  <leeming@lyx.org>
8668
8669         * commandtags.h:
8670         * LyXAction.C (init):
8671         * factory.C (createInset):
8672         * BufferView_pimpl.C (dispatch):
8673           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8674
8675         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8676
8677         * lyxfunc.C (dispatch):
8678         * text3.C (dispatch): pass name to params2string.
8679
8680 2003-02-26  Angus Leeming  <leeming@lyx.org>
8681
8682         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8683           blocks together.
8684           Rearrange the ~includes. Strip out the unnecessary ones.
8685
8686         * factory.C (createInset): reformat.
8687           create new insets for the various LFUN_XYZ_APPLY lfuns.
8688
8689 2003-02-26  John Levon  <levon@movementarian.org>
8690
8691         * lyxrow.h:
8692         * lyxrow.C: add isParStart,isParEnd helpers
8693
8694         * paragraph.h: make isInserted/DeletedText take refs
8695
8696         * paragraph_funcs.h:
8697         * paragraph_funcs.C: remove #if 0'd code
8698
8699         * lyxtext.h:
8700         * text3.C:
8701         * text2.C:
8702         * text.C: use lyxrow helpers above.
8703           Move draw and paint routines to RowPainter.
8704           Make several methods use refs not pointers.
8705           Make backgroundColor() const.
8706           Add markChangeInDraw(), isInInset().
8707           Merge changeRegionCase into changeCase.
8708           Make workWidth() shouldn't-happen code into an Assert.
8709
8710         * rowpainter.h:
8711         * rowpainter.C: new class for painting a row.
8712
8713         * vspace.h:
8714         * vspace.C: make inPixels take a ref
8715
8716 2003-02-26  Angus Leeming  <leeming@lyx.org>
8717
8718         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8719         LFUN_REF_APPLY.
8720
8721 2003-02-25  John Levon  <levon@movementarian.org>
8722
8723         * ispell.C: give the forked command a more accurate name
8724
8725 2003-02-22  John Levon  <levon@movementarian.org>
8726
8727         * toc.h:
8728         * toc.C: make TocItem store an id not a Paragraph *
8729           (bug #913)
8730
8731 2003-02-21  Angus Leeming  <leeming@lyx.org>
8732
8733         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8734           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8735           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8736           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8737           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8738           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8739
8740         * BufferView_pimpl.C (dispatch):
8741         * LyXAction.C (init):
8742         * factory.C (createInset):
8743         * lyxfunc.C (getStatus, dispatch):
8744         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8745
8746 2003-02-21  Angus Leeming  <leeming@lyx.org>
8747
8748         * BufferView_pimpl.C (MenuInsertLyXFile):
8749         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8750         * lyxfunc.C (menuNew, open, doImport):
8751           no longer pass a LyXView & to fileDlg.
8752
8753 2003-02-21  Angus Leeming  <leeming@lyx.org>
8754
8755         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8756         * LyXAction.C: change, BIBKEY to BIBITEM.
8757         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8758         Change InsetBibKey to InsetBibitem.
8759         Change BIBKEY_CODE to BIBITEM_CODE.
8760         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8761         * factory.C: replace insetbib.h with insetbibitem.h.
8762         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8763         * paragraph.C: replace insetbib.h with insetbibitem.h.
8764         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8765         Change bibkey() to bibitem().
8766         * text.C: remove insetbib.h.
8767         * text2.C: replace insetbib.h with insetbibitem.h.
8768         change bibkey() to bibitem().
8769         * text3.C: remove insetbib.h.
8770         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8771
8772 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8773
8774         * lyxrc.C (output): enclose user email in quotes (in case there are
8775         several words)
8776
8777 2003-02-18  John Levon  <levon@movementarian.org>
8778
8779         * buffer.h: add std::
8780
8781 2003-02-17  John Levon  <levon@movementarian.org>
8782
8783         * SpellBase.h:
8784         * ispell.h:
8785         * ispell.C:
8786         * pspell.h:
8787         * pspell.C: reworking. Especially in ispell, a large
8788           number of clean ups and bug fixes.
8789
8790         * lyxfunc.C: fix revert to behave sensibly
8791
8792 2003-02-17 André Pönitz <poenitz@gmx.net>
8793
8794         * LyXAction.C:
8795         * commandtags.h: new LFUN_INSERT_BIBKEY
8796
8797         * layout.h:
8798         * lyxlayout.C:
8799         * buffer.C:
8800         * factory.C:
8801         * text.C:
8802         * text2.C:
8803         * text3.C:
8804         * paragraph.[Ch]:
8805         * paragraph_func.C: remove special bibkey handling
8806
8807 2003-02-17  John Levon  <levon@movementarian.org>
8808
8809         * text.C (Delete): fix case where delete at the end of
8810           the very first paragraph would not merge the pars
8811
8812 2003-02-17  John Levon  <levon@movementarian.org>
8813
8814         * lyxrow.C: fix lastPrintablePos()
8815
8816 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8817
8818         * bufferparams.C (writeLaTeX): add a std:here
8819
8820         * buffer.C: and remove a using directive there
8821
8822 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8823
8824         * buffer.C (makeLaTeXFile): move the code that generates the
8825           preamble...
8826
8827         * bufferparams.C (writeLaTeX): ... in this new method
8828
8829         * LaTeXFeatures.C (getEncodingSet): make const
8830           (getLanguages): make const
8831
8832         * MenuBackend.C (binding): returns the binding associated to this
8833           action
8834           (add): sets the status of each item by calling getStatus. Adds
8835           some intelligence.
8836           (read): add support for OptSubMenu
8837           (expand): remove extra separator at the end of expanded menu
8838
8839 2003-02-15  John Levon  <levon@movementarian.org>
8840
8841         * BufferView.C:
8842         * BufferView_pimpl.C:
8843         * bufferlist.h:
8844         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8845           inset code that had no actual effect. Remove unneeded status
8846           code.
8847
8848 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8849
8850         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8851           in preamble
8852
8853 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8854
8855         * text.C (drawLengthMarker): also draw an arrow marker for
8856           symbolic lengths (medskip...)
8857
8858 2003-02-14  John Levon  <levon@movementarian.org>
8859
8860         * tabular.h:
8861         * tabular.C: better method names
8862
8863 2003-02-14  John Levon  <levon@movementarian.org>
8864
8865         * BufferView_pimpl.C:
8866         * bufferlist.C:
8867         * buffer.C:
8868         * converter.C:
8869         * lyx_cb.C:
8870         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8871           it's a more accurate name. Remove some pointless uses.
8872
8873 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8874
8875         * text2.C (LyXText): change order of initilizers to shut off
8876           warnings
8877
8878 2003-02-14  John Levon  <levon@movementarian.org>
8879
8880         * buffer.C: use ParIterator for getParFromID()
8881
8882         * paragraph.h:
8883         * paragraph.C:
8884         * paragraph_pimpl.h:
8885         * paragraph_pimpl.C: remove unused getParFromID()
8886
8887 2003-02-14  John Levon  <levon@movementarian.org>
8888
8889         * buffer.C: remove some very old #if 0'd parse code
8890
8891 2003-02-13  John Levon  <levon@movementarian.org>
8892
8893         * text.h:
8894         * text.C:
8895         * text2.C: move hfillExpansion(), numberOfSeparators(),
8896           rowLast(), rowLastPrintable(), numberofHfills(),
8897           numberOfLabelHfills() ...
8898
8899         * lyxrow.h:
8900         * lyxrow.C: ... to member functions here.
8901
8902         * paragraph.h:
8903         * paragraph.C:
8904         * lyxtext.h:
8905         * text.C: remove LyXText::beginningOfMainBody(), and call
8906           p->beginningOfMainBody() directly. Move the check for
8907           LABEL_MANUAL into the latter.
8908
8909         * text.h:
8910         * text.C:
8911         * text2.C:
8912         * vspace.C:
8913         * BufferView.h:
8914         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8915
8916         * text.h:
8917         * text.C:
8918         * text2.C:
8919         * text3.C:
8920         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8921           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8922
8923 2003-02-13  John Levon  <levon@movementarian.org>
8924
8925         * CutAndPaste.C: remove debug
8926
8927 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * paragraph.C (asString): remove two unused variables
8930
8931         * lyxtextclass.C (readTitleType):
8932           (Read):
8933           (LyXTextClass): handle new members titletype_ and titlename_
8934
8935         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8936
8937 2003-02-09  John Levon  <levon@movementarian.org>
8938
8939         * buffer.h:
8940         * buffer.C: replace hand-coded list with a map for the dep clean
8941
8942 2003-02-08  John Levon  <levon@movementarian.org>
8943
8944         * LaTeX.C: consolidate code into showRunMessage() helper
8945
8946 2003-02-08  John Levon  <levon@movementarian.org>
8947
8948         * lyxfind.C:
8949         * lyxtext.h:
8950         * text2.C:
8951         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8952           and pass the size in explicitly
8953
8954         * BufferView_pimpl.h:
8955         * BufferView_pimpl.C:
8956         * BufferView.h:
8957         * BufferView.C: add getCurrentChange()
8958
8959         * BufferView_pimpl.h:
8960         * BufferView_pimpl.C: handle change lfuns
8961
8962         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8963           for changes. Mark pasted paragraphs as new.
8964
8965         * support/lyxtime.h:
8966         * support/lyxtime.C:
8967         * DepTable.C: abstract time_t as lyx::time_type
8968
8969         * LColor.h:
8970         * LColor.C: add colours for new text, deleted text, changebars
8971
8972         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8973           package use "usenames" option.
8974
8975         * commandtags.h:
8976         * lyxfunc.C:
8977         * LyXAction.C: add change lfuns
8978
8979         * Makefile.am:
8980         * author.h:
8981         * author.C: author handling
8982
8983         * buffer.h:
8984         * buffer.C: add a per-buffer author list, with first entry as
8985           current author. Handle new .lyx tokens for change tracking. Output
8986           author list to .lyx file. Output dvipost stuff to .tex preamble.
8987           Bump lyx format to 222.
8988
8989         * bufferlist.h:
8990         * bufferlist.C: add setCurrentAuthor() to reset current author details
8991           in all buffers.
8992
8993         * bufferparams.h:
8994         * bufferparams.C: add param for tracking
8995
8996         * bufferview_funcs.C: output change info in minibuffer
8997
8998         * Makefile.am:
8999         * changes.h:
9000         * changes.C: add change-tracking structure
9001
9002         * debug.h:
9003         * debug.C: add CHANGES debug flag
9004
9005         * lyxfind.h:
9006         * lyxfind.C: add code for finding the next change piece
9007
9008         * lyxrc.h:
9009         * lyxrc.C: add user_name and user_email
9010
9011         * lyxrow.h:
9012         * lyxrow.C: add a metric for the top of the text line
9013
9014         * lyxtext.h:
9015         * text.C: implement accept/rejectChange()
9016
9017         * lyxtext.h:
9018         * text.C: paint changebars. Paint new/deleted text in the chosen
9019         colours. Strike through deleted text.
9020
9021         * paragraph.h:
9022         * paragraph.C:
9023         * paragraph_pimpl.h:
9024         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9025           in the current change to the insert functions. Rework erase to
9026           mark text as deleted, adding an eraseIntern() and a range-based
9027           erase(). Implement per-paragraph change lookup and
9028           accept/reject.
9029
9030         * paragraph_funcs.C: Fixup paste for change tracking.
9031
9032         * tabular.C: mark added row/columns as new.
9033
9034         * text.C: fix rowLast() to never return -1. Don't allow
9035           spellchecking of deleted text. Track transpose changes. Don't
9036           allow paragraph break or merge where appropriate.
9037
9038         * text2.C: leave cursor at end of selection after a cut.
9039
9040 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9041
9042         * text.C (getLengthMarkerHeight):
9043         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9044         visible on screen too.
9045
9046 2003-02-07  John Levon  <levon@movementarian.org>
9047
9048         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9049
9050 2003-02-05  Angus Leeming  <leeming@lyx.org>
9051
9052         * lyxserver.C (read_ready): revert my patch of 11 September last year
9053         as it sends PC cpu through the roof. Presumably this means that
9054         the lyxserver will no longer run on an Alpha...
9055
9056 2003-01-30  Angus Leeming  <leeming@lyx.org>
9057
9058         * factory.C (createInset): create an InsetCommandParam of type "index"
9059         and use it to 'do the right thing'.
9060
9061         * text2.C (getStringToIndex): ensure that cursor position is always
9062         reset to the reset_cursor position.
9063
9064 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9065
9066         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9067         disabled.
9068
9069 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9070
9071         * bufferview.C:
9072         * lyxcb.C:
9073         * lyxfunc.C: Output messages with identical spelling, punctuation,
9074         and spaces
9075
9076 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9077
9078         * MenuBackend.C (expandFormats): List only viewable export formats
9079         in "View" menu
9080
9081         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9082         message
9083
9084         * lyxfunc.C (getStatus): Make sure that formats other than
9085         "fax" can also be disabled
9086
9087 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9088
9089         * text3.C (dispatch): put the lfuns that insert insets in 3
9090         groups, and call doInsertInset with appropriate arguments.
9091         (doInsertInset): new function, that creates an inset and inserts
9092         it according to some boolean parameters.
9093
9094 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9095
9096         * buffer.C (readFile): remember to pass on 'par' when calling
9097         readFile recursively.
9098
9099 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9100
9101         * MenuBackend.C (expandFormats): add "..." to import formats.
9102
9103 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9104
9105         * paragraph.C (asString): Remove XForms RTL hacks.
9106
9107 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9108         * buffer.C: fix typo
9109
9110 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * Makefile.am (LIBS): delete var
9113         (lyx_LDADD): add @LIBS@ here instead.
9114
9115 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9116
9117         * Clarify the meaning of "wheel mouse jump"
9118
9119 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9120
9121         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9122         tabular in a float
9123
9124 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9125
9126         * importer.C (Loaders): do not preallocate 3 elements in the
9127         vector, since one ends up with 6 elements otherwise
9128
9129 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9130
9131         * DepTable.C (write): write the file name as last element of the
9132         .dep file (because it may contain spaces)
9133         (read): read info in the right order
9134
9135 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9136
9137         * paragraph_pimpl.C (simpleTeXBlanks):
9138         (simpleTeXSpecialChars):
9139         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9140
9141         * tabular.C (latex): add some missing case statements. Reindent.
9142
9143         * MenuBackend.C (expandToc): remove unused variable.
9144
9145 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9146
9147         * LColor.C:
9148         * LaTeX.C:
9149         * LyXAction.C:
9150         * MenuBackend.C:
9151         * buffer.C:
9152         * exporter.C:
9153         * lyxfunc.C:
9154         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9155         and the like.
9156
9157 2003-01-05  John Levon  <levon@movementarian.org>
9158
9159         * BufferView.h:
9160         * BufferView.C: add getEncoding()
9161
9162         * kbsequence.h:
9163         * kbsequence.C: do not store last keypress
9164
9165         * lyxfunc.h:
9166         * lyxfunc.C: store last keypress here instead. Pass encoding
9167           to getISOEncoded()
9168
9169 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9170
9171         * lyx_main.C (init): remove annoying error message when following
9172         symbolic links (bug #780)
9173
9174 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9175
9176         * text.C (insertChar):
9177         * lyxrc.C (getDescription): remove extra spaces
9178
9179 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9180
9181         * lyxrc.C (getDescription): remove extra spaces
9182
9183 2002-12-20  John Levon  <levon@movementarian.org>
9184
9185         * text3.C: hack fix for page up/down across tall rows
9186
9187 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9188
9189         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9190         not been invoked
9191
9192 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9193
9194         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9195         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9196         thesaurus is not compiled in
9197
9198 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9199
9200         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9201
9202 2002-12-16  Angus Leeming  <leeming@lyx.org>
9203
9204         * lyxrc.[Ch]:
9205         * lyx_main.C (init): remove override_x_deadkeys stuff.
9206
9207 2002-12-12  John Levon  <levon@movementarian.org>
9208
9209         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9210           insert. Only remove shift modifier under strict
9211           circumstances.
9212
9213 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9214
9215         * MenuBackend.C (expandToc): fix crash.
9216
9217 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * MenuBackend.C (expandToc): gettext on float names.
9220
9221 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9222
9223         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9224         implement bool empty() [bug 490]
9225
9226 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9229
9230 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9231
9232         * several files: ws changes
9233
9234 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * text2.C (setCounter): clean up a bit, use boost.format.
9237         (updateCounters): initialize par upon declaration.
9238
9239         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9240         if the layout exists. We do not just store the layout any more.
9241         (SwitchLayoutsBetweenClasses): use boost.format
9242
9243 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9244
9245         * converter.C (convert): if from and to files are the same, use a
9246         temporary files as intermediary
9247
9248 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9249
9250         * commandtags.h:
9251         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9252
9253 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9254
9255         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9256
9257 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9258
9259         * tabular.C (asciiPrintCell): use string(size, char) instead of
9260         explicit loop.
9261
9262         * sgml.C (openTag): fix order of arguments to string constructor
9263         (closeTag): ditto
9264
9265         * lyxfunc.C (dispatch): use boost.format
9266
9267         * lots of files: change "c" -> 'c'
9268
9269 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9270
9271         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9272
9273 2002-11-25  Angus Leeming  <leeming@lyx.org>
9274
9275         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9276
9277         * lyx_main.C (init): compile fix.
9278
9279 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9280
9281         * lyx_cb.C (start): boost.formatify
9282         do not include <iostream>
9283
9284         * lengthcommon.C: ws only
9285
9286         * boost-inst.C,BoostFormat.h: add more explict instantations
9287
9288 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9289
9290         * lots of files: handle USE_BOOST_FORMAT
9291
9292 2002-11-21  John Levon  <levon@movementarian.org>
9293
9294         * pspell.C: fix compile
9295
9296 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * lyxfunc.C (dispatch): use boost::format
9299         (open): ditto
9300         (doImport): ditto
9301
9302         * lyxfont.C (stateText): use boost::format
9303
9304         * lyx_main.C (LyX): use boost::format
9305         (init): ditto
9306         (queryUserLyXDir): ditto
9307         (readRcFile): ditto
9308         (parse_dbg): ditto
9309         (typedef boost::function): use the recommened syntax.
9310
9311         * importer.C (Import): use boost::format
9312
9313         * debug.C (showLevel): use boost::format
9314
9315         * converter.C (view): use boost::format
9316         (convert): ditto
9317         (move): ditto
9318         (scanLog): ditto
9319
9320         * bufferview_funcs.C (currentState): use boost::format
9321
9322         * bufferlist.C (emergencyWrite): use boost::format
9323
9324         * buffer.C (readLyXformat2): use boost::format
9325         (parseSingleLyXformat2Token): ditto
9326
9327         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9328
9329         * LaTeX.C (run): use boost::format
9330
9331         * Chktex.C (scanLogFile): use boost::format
9332
9333         * BufferView_pimpl.C (savePosition): use boost::format
9334         (restorePosition): ditto
9335         (MenuInsertLyXFile): ditto
9336
9337         * BoostFormat.h: help file for explicit instation.
9338
9339 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9340
9341         * tabular.C (latex): Support for block alignment in fixed width
9342         columns.
9343
9344 2002-11-17  John Levon  <levon@movementarian.org>
9345
9346         * BufferView_pimpl.C:
9347         * lyx_cb.C:
9348         * lyxfunc.C: split filedialog into open/save
9349
9350 2002-11-08  Juergen Vigna  <jug@sad.it>
9351
9352         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9353         by my last patch (hopefully).
9354
9355 2002-11-08  John Levon  <levon@movementarian.org>
9356
9357         * iterators.h:
9358         * iterators.C:
9359         * buffer.h:
9360         * buffer.C:
9361         * paragraph.h:
9362         * paragraph.C:
9363         * toc.h:
9364         * toc.C: ParConstIterator, and use it (from Lars)
9365
9366 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9367
9368         * lyxtextclass.[Ch]: revise and add doxygen comments
9369
9370 2002-11-07  John Levon  <levon@movementarian.org>
9371
9372         * text.C: fix progress value for spellchecker
9373
9374         * toc.C: fix navigate menu for insetwrap inside minipage
9375
9376         * paragraph_funcs.C: added FIXME for suspect code
9377
9378 2002-11-07  John Levon  <levon@movementarian.org>
9379
9380         * BufferView_pimpl.C: fix redrawing of insets
9381           on buffer switch
9382
9383 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9384
9385         * text2.C (updateCounters): fix bug 668
9386
9387 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9388
9389         * text3.C (dispatch): Do not make the buffer dirty when moving the
9390         cursor.
9391
9392 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9393
9394         * vc-backend.C: STRCONV
9395         (scanMaster): ditto
9396
9397         * text2.C (setCounter): STRCONV
9398
9399         * paragraph.C (asString): STRCONV
9400
9401         * lyxlength.C (asString): STRCONV
9402         (asLatexString): ditto
9403
9404         * lyxgluelength.C (asString): STRCONV
9405         (asLatexString): ditto
9406
9407         * lyxfunc.C (dispatch): STRCONV
9408         (open): ditto
9409
9410         * lyxfont.C (stateText): STRCONV
9411
9412         * importer.C (Import): STRCONV
9413
9414         * counters.C (labelItem): STRCONV
9415         (numberLabel): ditto
9416         (numberLabel): remove unused ostringstream o
9417
9418         * chset.C: STRCONV
9419         (loadFile): ditto
9420
9421         * bufferview_funcs.C (currentState): STRCONV
9422
9423         * buffer.C (readFile): STRCONV
9424         (asciiParagraph): ditto
9425         (makeLaTeXFile): ditto
9426
9427         * Spacing.C (writeEnvirBegin): STRCONV
9428
9429         * LaTeXFeatures.C (getLanguages): STRCONV
9430         (getPackages): ditto
9431         (getMacros): ditto
9432         (getBabelOptions): ditto
9433         (getTClassPreamble): ditto
9434         (getLyXSGMLEntities): ditto
9435         (getIncludedFiles): ditto
9436
9437         * LaTeX.C: STRCONV
9438         (run): ditto
9439         (scanAuxFile): ditto
9440         (deplog): ditto
9441
9442         * LString.h: add the STRCONV macros
9443
9444         * BufferView_pimpl.C (savePosition): STRCONV
9445         (restorePosition): ditto
9446         (MenuInsertLyXFile): ditto
9447
9448         * vc-backend.C (scanMaster): change from submatch[...] to
9449         submatch.str(...)
9450
9451         * funcrequest.C: include config.h
9452
9453         * factory.C: include config.h
9454
9455         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9456
9457         * box.C: include config.h
9458
9459         * LaTeX.C (scanAuxFile): change from submatch[...] to
9460         submatch.str(...)
9461         (deplog): ditto
9462
9463 2002-10-25  Angus Leeming  <leeming@lyx.org>
9464
9465         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9466
9467         * ispell.[Ch] (setError): new method.
9468         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9469         Use setError() insetead of goto END.
9470
9471         * lyx_cb.C (AutoSave): move out child process into new class
9472         AutoSaveBuffer.
9473
9474 2002-10-30  John Levon  <levon@movementarian.org>
9475
9476         * text3.C: make start appendix undoable
9477
9478 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9479
9480         * lyxlength.C (inPixels): Fix returned value.
9481
9482         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9483         environment.
9484
9485 2002-10-24  Angus Leeming  <leeming@lyx.org>
9486
9487         * lyxgluelength.h: no need to forward declare BufferParams
9488         or BufferView, so don't.
9489
9490 2002-10-21  John Levon  <levon@movementarian.org>
9491
9492         * BufferView.C: menuUndo ->undo, redo
9493
9494         * BufferView.h: document, remove dead, make some methods private
9495
9496         * paragraph_funcs.h:
9497         * paragraph_funcs.C:
9498         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9499
9500         * buffer.h:
9501         * buffer.C:
9502         * sgml.h:
9503         * sgml.C: move sgml open/close tag into sgml.C
9504
9505         * bufferview_funcs.h: unused prototype
9506
9507         * lyxfunc.h:
9508         * lyxfunc.C: remove unused
9509
9510         * lyxtext.h:
9511         * text.C: remove unused
9512
9513 2002-10-21  John Levon  <levon@movementarian.org>
9514
9515         * BufferView.h:
9516         * BufferView.C:
9517         * BufferView_pimpl.h:
9518         * BufferView_pimpl.C: fix mouse wheel handling based on
9519           patch from Darren Freeman
9520
9521 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9522
9523         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9524
9525 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9526
9527         * lyxlength.C (inPixels): Fix hanfling of negative length.
9528         Fix LyXLength::MU case.
9529
9530 2002-10-16  John Levon  <levon@movementarian.org>
9531
9532         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9533
9534 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9535
9536         * converter.C (view): add support for $$i (file name) and $$p
9537         (file path) for the viewer command. If $$i is not specified, then
9538         it is appended to the command (for compatibility with old syntax)
9539
9540 2002-10-14  Juergen Vigna  <jug@sad.it>
9541
9542         * undo_funcs.C (textHandleUndo): alter the order in which the
9543         new undopar is added to the LyXText, as we have to set first
9544         the right prev/next and then add it as otherwise the rebuild of
9545         LyXText is not correct. Also reset the cursor to the right paragraph,
9546         with this IMO we could remove the hack in "redoParagraphs()".
9547
9548 2002-10-09  Angus Leeming  <leeming@lyx.org>
9549
9550         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9551         to turn off an optimisation if a new inset is to be inserted.
9552
9553 2002-10-11 André Pönitz <poenitz@gmx.net>
9554
9555         * lyxtext.h: make some functions public to allow access
9556         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9557
9558 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9559
9560         * text3.C (dispatch): when changing layout, avoid an infinite loop
9561         [bug #652]
9562
9563 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9564
9565         * lyxrc.C (read): treat a viewer or converter command of "none" as
9566         if it were empty.
9567
9568         * MenuBackend.C (expandFormats): for an update, also allow the
9569         formats that are not viewable
9570
9571         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9572         script if it is newer than the lyxrc.defaults in user directory
9573
9574 2002-10-07 André Pönitz <poenitz@gmx.net>
9575
9576         * text.C: Vitaly Lipatov's small i18n fix
9577
9578 2002-09-25  Angus Leeming  <leeming@lyx.org>
9579
9580         * ispell.h: doxygen fix.
9581
9582 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9583
9584         * buffer.h (readFile): Add a new argument to the method, to allow
9585         reading of old-format templates.
9586
9587 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9588
9589         * toc.C (getTocList): Get TOC from InsetWrap.
9590
9591 2002-09-16  John Levon  <levon@movementarian.org>
9592
9593         * lyxfunc.C: check tabular for cut/copy too
9594
9595 2002-09-12  John Levon  <levon@movementarian.org>
9596
9597         * LyXAction.C: tidy
9598
9599         * factory.h:
9600         * factory.C: add header
9601
9602         * paragraph_funcs.h:
9603         * paragraph_funcs.C: cleanup
9604
9605 2002-09-11  John Levon  <levon@movementarian.org>
9606
9607         * PrinterParams.h: odd/even default to true
9608
9609 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9610
9611         * PrinterParams.h: update printer parameters for new xforms dialog
9612
9613 2002-09-11  Angus Leeming  <leeming@lyx.org>
9614
9615         * lyxserver.C (read_ready): re-write to make it more transparent
9616         and to make it work in coherent fashion under Tru64 Unix.
9617
9618 2002-09-11  André Pönitz <poenitz@gmx.net>
9619
9620         * commandtags.h:
9621         * LyXAction.C:
9622         * text3.C: implement LFUN_WORDSEL
9623
9624 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9625
9626         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9627         make floatlist_ a boost::shared_ptr<FloatList>
9628
9629         * lyxtextclass.C: include FloatList.h
9630         (LyXTextClass): initialize floatlist_
9631         (TextClassTags): add TC_NOFLOAT
9632         (Read): match "nofloat" to TC_NOFLOAT and use it.
9633         (readFloat): modify call to floatlist_
9634         (floats): ditto
9635         (floats): ditto
9636
9637         * FloatList.[Ch] (FloatList): remove commented out float
9638         initialization.
9639         (erase): new function
9640
9641 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9642
9643         * MenuBackend.C (expandToc): fix crash when there is no document
9644         open
9645
9646 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * many files: Add insetwrap.
9649
9650 2002-09-09  John Levon  <levon@movementarian.org>
9651
9652         * text2.C: remove confusing and awkward depth wraparound
9653
9654 2002-09-09  John Levon  <levon@movementarian.org>
9655
9656         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9657
9658         * buffer.h:
9659         * buffer.C: remove getIncludeonlyList()
9660
9661         * paragraph.C:
9662         * lyxfunc.C: remove headers
9663
9664 2002-09-09  Juergen Vigna  <jug@sad.it>
9665
9666         * text.C (getColumnNearX): fix form Michael this is most
9667         probably a cut&paste bug.
9668
9669 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9670
9671         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9672
9673         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9674         references, ws changes.
9675
9676         * text2.C (init): update counters after init
9677         (insertParagraph): no need to set counter on idividual paragraphs.
9678         (setCounter): access the counters object in the textclass object
9679         on in the buffer object.
9680         (updateCounters): ditto
9681
9682         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9683         shared_ptr<Counters> to avoid loading counters.h in all
9684         compilation units.
9685         (LyXTextClass): initialize ctrs_
9686         (TextClassTags): add TC_COUNTER, and ...
9687         (Read): use it here.
9688         (CounterTags): new tags
9689         (readCounter): new function
9690         (counters): new funtion
9691         (defaultLayoutName): return a const reference
9692
9693         * counters.C (Counters): remove contructor
9694         (newCounter): remove a couple of unneeded statements.
9695         (newCounter): simplify a bit.
9696         (numberLabel): some small formatting changes.
9697
9698         * buffer.[Ch]: remove all traces of counters, move the Counters
9699         object to the LyXTextClass.
9700
9701 2002-09-06  Alain Castera  <castera@in2p3.fr>
9702
9703         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9704         package to set the horizontal alignment on fixed width columns.
9705
9706         * lyx_sty.C:
9707         * lyx_sty.h: added tabularnewline macro def.
9708
9709         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9710
9711 2002-09-06  John Levon  <levon@movementarian.org>
9712
9713         * LyXAction.C: tooltips for sub/superscript
9714
9715         * MenuBackend.C: a bit more verbose
9716
9717         * lyxfunc.C: tiny clean
9718
9719         * undo_funcs.C: document undo_frozen
9720
9721 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9722
9723         * counters.C (Counters): add missing algorithm counter.
9724
9725         * text2.C (setCounter): lookup the counter with layouts latexname
9726         instead of by section number.
9727         (setCounter): use a hackish way to lookup the correct enum
9728         counter.
9729         a float name->type change
9730         reset enum couners with counter name directly instead of depth value.
9731
9732         * counters.C (Counters): remove the push_backs, change to use the
9733         float type not the float name.
9734         (labelItem): remove unused string, float name->type change
9735
9736         * counters.h: don't include vector, loose the enums and sects vectors
9737
9738 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9739
9740         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9741         (Read): add float->TC_FLOAT to textclassTags
9742         (Read): and handle it in the switch
9743         (readFloat): new function
9744
9745         * FloatList.C (FloatList): comment out the hardcoded float
9746         definitions.
9747
9748         * lyxlayout.h: ws change.
9749
9750 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9751
9752         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9753
9754 2002-09-03  Angus Leeming  <leeming@lyx.org>
9755
9756         * BufferView_pimpl.h: qualified name is not allowed in member
9757         declaration: WorkArea & Pimpl::workarea() const;
9758
9759         * factory.C: added using std::endl directive.
9760
9761         * text3.C: added using std::find and std::vector directives.
9762
9763 2002-08-29  André Pönitz <poenitz@gmx.net>
9764
9765         * lyxtext.h:
9766         * text2.C: remove unused member number_of_rows
9767
9768         * Makefile.am:
9769         * BufferView2.C: remove file, move contents to...
9770         * BufferView.C: ... here
9771
9772         * BufferView_pimpl.C:
9773         * factory.C: move more inset creation to factory
9774
9775         * vspace.C: avoid direct usage of LyXText, ws changes
9776
9777         * BufferView.[Ch]:
9778                 don't provide direct access to WorkArea, use two simple
9779                 acessors haveSelction() and workHeight() instead
9780
9781
9782 2002-08-29  John Levon  <levon@movementarian.org>
9783
9784         * BufferView_pimpl.C (dispatch): do not continue when
9785           no buffer
9786
9787 2002-08-28  André Pönitz <poenitz@gmx.net>
9788
9789         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9790
9791         * BufferView.h:
9792         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9793
9794 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9795
9796         * buffer.C: increment LYX_FORMAT to 221
9797
9798         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9799         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9800
9801         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9802
9803         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9804
9805 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9806
9807         * factory.C (createInset): use LyXTextClass::floats
9808
9809         * MenuBackend.C (expandFloatListInsert):
9810         (expandFloatInsert):
9811         (expandToc):
9812
9813         * text2.C (setCounter):
9814
9815         * LaTeXFeatures.C (useFloat):
9816         (getFloatDefinitions):
9817
9818         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9819
9820         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9821         floatlist_, with accessor floats().
9822
9823         * FloatList.h: remove global FloatList
9824
9825 2002-08-26  André Pönitz <poenitz@gmx.net>
9826
9827         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9828
9829         * BufferView.h:
9830         * BufferView2.C:
9831         * BufferView_pimpl.C:
9832         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9833
9834 2002-08-25  John Levon  <levon@movementarian.org>
9835
9836         * LyXAction.C: fix margin note description
9837
9838 2002-08-24  John Levon  <levon@movementarian.org>
9839
9840         * buffer.C:
9841         * bufferlist.C:
9842         * bufferview_funcs.C:
9843         * lyxfont.C:
9844         * undo_funcs.C: cleanups
9845
9846         * lyxfunc.C: disable CUT/COPY when no selection
9847
9848 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9849
9850         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9851         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9852
9853         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9854         Add backward compatibility to "mono", "gray" and "no".
9855
9856 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9857
9858         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9859         (and file_format >= 200).
9860
9861 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9862
9863         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9864
9865 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9866
9867         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9868
9869 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9870
9871         * BufferView_pimpl.C:
9872         * LyXAction.C:
9873         * buffer.C:
9874         * commandtags.h:
9875         * lyxfunc.C:
9876         * paragraph.[Ch]:
9877         * text2.C:
9878         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9879         inset and code to make it  work with the paragraph code. The inset
9880         can be anywhere in the paragraph, but will only do the expected
9881         thing in LaTeX if the layout file contains the parameter line
9882                         OptionalArgs    1
9883         (or more generally, a nonzero value) for that layout.
9884
9885 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9886
9887         * paragraph.h: remove the declaration of undefined counters class
9888         function.
9889
9890 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9891
9892         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9893         Dr. Richard Hawkins.
9894
9895 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9896
9897         * paragraph_funcs.h: remove some unneeded includes
9898
9899         * text.C (backspace): pasteParagraph now in global scipe
9900
9901         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9902         (pasteSelection): ditto
9903
9904         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9905         * paragraph_funcs.C (pasteParagraph): ... here
9906
9907 2002-08-20  André Pönitz <poenitz@gmx.net>
9908
9909         * commandtags.h: new LFUNs for swapping/copying table row/colums
9910
9911         * LyXAction.C:
9912         * lyxfunc.C: support for new lfuns
9913
9914 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9915
9916         * tabular.C:
9917         * buffer.[Ch]: remove NO_COMPABILITY stuff
9918
9919 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9920
9921         * boost.C (throw_exception): new file, with helper function for
9922         boost compiled without exceptions.
9923
9924         * paragraph.h:
9925         * lyxlength.C:
9926         * buffer.C:
9927         * ParameterStruct.h:
9928         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9929
9930         * bufferlist.C (emergencyWriteAll): use boost bind
9931
9932         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9933
9934         * text.C: include paragraph_funcs.h
9935         (breakParagraph): breakParagraph is now in global scope
9936
9937         * paragraph_funcs.[Ch]: new files
9938
9939         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9940         global scope
9941
9942         * buffer.C: include paragraph_funcs.h
9943         (insertStringAsLines): breakParagraph is now in global scope
9944
9945         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9946         paragraph_funcs.C
9947
9948         * CutAndPaste.C: include paragraph_funcs.h
9949         (cutSelection): breakParagraphConservative is now in global scope
9950         (pasteSelection): ditto
9951
9952         * buffer.h: declare oprator== and operator!= for
9953         Buffer::inset_iterator
9954
9955         * bufferlist.C (emergencyWrite): don't use fmt(...)
9956
9957         * text3.C: add using std::endl
9958
9959         * BufferView.C (moveCursorUpdate): remove default arg
9960
9961 2002-08-20  André Pönitz <poenitz@gmx.net>
9962
9963         * buffer.[Ch]: move inline functions to .C
9964
9965         * BufferView2.C:
9966         * BufferView_pimpl.C:
9967         * text.C:
9968         * buffer.[Ch]: use improved inset_iterator
9969
9970         * buffer.C:
9971         * paragraph.[Ch]: write one paragraph at a time
9972
9973 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9974
9975         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9976         style if style is not specified.
9977
9978 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9979
9980         * text2.C (setCounter): when searching for right label for a
9981         caption, make sure to recurse to parent insets (so that a caption
9982         in a minipage in a figure float works) (bug #568)
9983
9984 2002-08-20  André Pönitz <poenitz@gmx.net>
9985
9986         * text3.C: new file for LyXText::dispatch() and helpers
9987
9988         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9989
9990         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9991
9992 2002-08-19  André Pönitz <poenitz@gmx.net>
9993
9994         * lyxtext.h:
9995         * text.C: new LyXText::dispatch()
9996
9997         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9998
9999 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10000
10001         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10002
10003         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10004         Hebrew text.
10005
10006 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * Makefile.am: use $(variables) instead of @substitutions@
10009
10010 2002-08-15  André Pönitz <poenitz@gmx.net>
10011
10012         * lyxfunc.C:
10013         * BufferView_pimpl.C: streamlining mathed <-> outer world
10014         interaction
10015
10016         * commandtags.h:
10017         * LyXAction.C: remove unused LFUN_MATH
10018
10019 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10020
10021         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10022
10023 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10024
10025         * paragraph.C (Paragraph): reformat a bit
10026         (cutIntoMinibuffer): use builtin InsetList function instad of
10027         doing it manually.
10028         (getInset): ditto
10029
10030         * buffer.C: include boost/bind.hpp, add using std::for_each
10031         (writeFileAscii): use ParagraphList iterators
10032         (validate): use for_each for validate traversal of paragraphs
10033         (getBibkeyList): use ParagraphList iterators
10034         (resizeInsets): use for_each to resizeInsetsLyXText for all
10035         paragraphs.
10036         (getParFromID): use ParagraphList iterators
10037
10038         * BufferView2.C (lockInset): use paragraph list and iterators
10039
10040 2002-08-14  John Levon  <levon@movementarian.org>
10041
10042         * lyxserver.C: remove spurious xforms include
10043
10044 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10047
10048 2002-08-13  André Pönitz <poenitz@gmx.net>
10049
10050         * LyXAction.[Ch]:
10051         * lyxfunc.C: further cleaning
10052
10053 2002-08-13  André Pönitz <poenitz@gmx.net>
10054
10055         * funcrequest.h: new constructor
10056
10057         * funcrequest.C: move stuff here from .h
10058
10059         * Makefile.am:
10060         * BufferView_pimpl.C:
10061         * LyXAction.C:
10062         * toc.C:
10063         * lyxfunc.C: subsequent changes
10064
10065         * lyxfunc.h: new view() member function
10066
10067         * lyxfunc.C: subsequent changes
10068
10069 2002-08-13  Angus Leeming  <leeming@lyx.org>
10070
10071         * BufferView2.C:
10072         * BufferView_pimpl.C:
10073         * buffer.C:
10074         * converter.C:
10075         * importer.C:
10076         * lyxfunc.C:
10077         * lyxvc.C:
10078         * toc.C:
10079         * vc-backend.C:
10080         changes due to the changed LyXView interface that now returns references
10081         to member variables not pointers.
10082
10083 2002-08-13  Angus Leeming  <leeming@lyx.org>
10084
10085         * WordLangTuple (word, lang_code): return references to strings,
10086         not strings.
10087
10088         * BufferView.h:
10089         * SpellBase.h:
10090         * lyxtext.h: forward-declare WordLangTuple.
10091
10092         * BufferView2.C:
10093         * ispell.C:
10094         * pspell.C:
10095         * text.C: #include "WordLangTuple.h".
10096
10097         * lyxtext.h:
10098         * text.C: (selectNextWordToSpellcheck): constify return type.
10099
10100 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10101
10102         * buffer.C:
10103         * buffer.h:
10104         * lyxtext.h:
10105         * paragraph.C:
10106         * paragraph_pimpl.h:
10107         * text.C:
10108         * text2.C:
10109         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10110         suggested by Angus.
10111         Made updateCounter always count from start of buffer, and removed
10112         second argument (par).
10113         Reverted floats number display to '#'. Perhaps I'll try again when the
10114         code base is sanitized a bit.
10115
10116 2002-08-12  Angus Leeming  <leeming@lyx.org>
10117
10118         * buffer.[Ch] (getLabelList): constify.
10119
10120 2002-08-07  André Pönitz <poenitz@gmx.net>
10121
10122         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10123
10124         * funcrequest.h: extension to keep mouse (x,y) position
10125
10126 2002-08-12  Juergen Vigna  <jug@sad.it>
10127
10128         * BufferView2.C (insertErrors): forbid undo when inserting error
10129         insets.
10130
10131         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10132
10133 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10134
10135         * ParagraphList.[Ch]: new files
10136
10137         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10138
10139         * BufferView2.C (lockInset): ParagraphList changes
10140         * toc.C: ditto
10141         * text2.C: ditto
10142         * bufferlist.C: ditto
10143         * buffer.h: ditto
10144         * buffer.C: ditto
10145
10146 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10147
10148         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10149         unused class variable counter_,
10150
10151         * paragraph.[Ch] (getFirstCounter): delete unused function
10152
10153         * counters.C: include LAssert.h
10154         (reset): add a new function with no arg, change other version to
10155         not have def. arg and to not allow empty arg.
10156
10157         * text2.C (setCounter): remove empty arg from call to Counters::reset
10158
10159 2002-08-11  John Levon  <levon@movementarian.org>
10160
10161         * Makefile.am: add WordLangTuple.h
10162
10163 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10164
10165         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10166         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10167
10168         * insets/insettext.C: InsetList changes
10169
10170         * graphics/GraphicsSupport.C (operator()): InsetList changes
10171
10172         * toc.C (getTocList): InsetList changes
10173
10174         * paragraph_pimpl.[Ch]: InsetList changes
10175
10176         * paragraph.[Ch]: InsetList changes
10177
10178         * buffer.C (inset_iterator): InsetList changes
10179         (setParagraph): ditto
10180         * buffer.h (inset_iterator): ditto
10181         * iterators.C (operator++): ditto
10182         * iterators.h: ditto
10183
10184         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10185
10186         * InsetList.[Ch]: new files, most InsetList handling moved out of
10187         paragraph.C.
10188
10189         * BufferView2.C (removeAutoInsets): InsetList changes
10190         (lockInset): ditto
10191         (ChangeInsets): ditto
10192
10193 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10194
10195         * paragraph_pimpl.h (empty): new function
10196
10197         * paragraph.[Ch] (empty): new function
10198
10199         * other files: use the new Paragraph::empty function
10200
10201 2002-08-09  John Levon  <levon@movementarian.org>
10202
10203         * lyxtext.h: remove unused refresh_height
10204
10205 2002-08-09  John Levon  <levon@movementarian.org>
10206
10207         * Makefile.am:
10208         * sgml.h:
10209         * sgml.C:
10210         * buffer.C:
10211         * paragraph.h:
10212         * paragraph.C: move sgml char escaping out of paragraph
10213
10214         * paragraph.h:
10215         * paragraph.C: remove id setter
10216
10217         * buffer.C:
10218         * paragraph.C:
10219         * paragraph_pimpl.C: remove dead tex_code_break_column
10220
10221         * bufferview_funcs.C: small cleanup
10222
10223         * lyxfunc.C: remove dead proto
10224
10225         * lyxtext.h: make some stuff private. Remove some dead stuff.
10226
10227         * lyxgluelength.C: make as[LyX]String() readable
10228
10229 2002-08-08  John Levon  <levon@movementarian.org>
10230
10231         * LyXAction.h:
10232         * LyXAction.C:
10233         * MenuBackend.C:
10234         * ToolbarDefaults.C:
10235         * lyxfunc.C:
10236         * lyxrc.C:
10237         * toc.C: lyxaction cleanup
10238
10239 2002-08-08  John Levon  <levon@movementarian.org>
10240
10241         * BufferView2.C: small cleanup
10242
10243         * lyxfind.h:
10244         * lyxfind.C: move unnecessary header into the .C
10245
10246 2002-08-08  John Levon  <levon@movementarian.org>
10247
10248         * funcrequest.h: just tedious nonsense
10249
10250         * lyx_main.h:
10251         * lyx_main.C: cleanups
10252
10253         * buffer.C:
10254         * vspace.C: remove dead header lyx_main.h
10255
10256 2002-08-07  Angus Leeming  <leeming@lyx.org>
10257
10258         * Paragraph.[Ch]:
10259         * paragraph_pimpl.h:
10260         Forward declare class Counters in paragraph.h by moving the ctrs member
10261         variable into Paragraph::Pimpl.
10262         (counters): new method, returning a reference to pimpl_->ctrs.
10263
10264         * text2.C: ensuing changes.
10265
10266 2002-08-07  John Levon  <levon@movementarian.org>
10267
10268         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10269
10270         * BufferView_pimpl.C: announce X selection on double/triple
10271           click
10272
10273         * lyx_main.C: use correct bool in batch dispatch
10274
10275         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10276
10277 2002-08-07  André Pönitz <poenitz@gmx.net>
10278
10279         * funcrequest.h: new class to wrap a kb_action and its argument
10280
10281         * BufferView.[Ch]:
10282         * BufferView_pimpl[Ch]:
10283         * LaTeX.C:
10284         * LyXAction.[Ch]:
10285         * lyxfunc.[Ch]:
10286         * lyxrc.C: subsequent changes
10287
10288
10289 2002-08-07  John Levon  <levon@movementarian.org>
10290
10291         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10292           document options change.
10293
10294 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10295
10296         * counters.[Ch]
10297         * text2.C
10298         * paragraph.[Ch]
10299         * makefile.am: move counters functionality over from
10300         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10301
10302 2002-08-06  John Levon  <levon@movementarian.org>
10303
10304         * WordLangTuple.h: new file for word + language code tuple
10305
10306         * SpellBase.h:
10307         * pspell.h:
10308         * pspell.C:
10309         * ispell.h:
10310         * ispell.C:
10311         * lyxtext.h:
10312         * text.C:
10313         * text2.C:
10314         * BufferView.h:
10315         * BufferView2.C: use WordLangTuple
10316
10317         * layout.h:
10318         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10319
10320 2002-08-06  John Levon  <levon@movementarian.org>
10321
10322         * lyx_main.C: fix cmdline batch handling
10323
10324 2002-08-06  André Pönitz <poenitz@gmx.net>
10325
10326         * lyxrc.C: set default for show_banner to true
10327
10328 2002-08-06  John Levon  <levon@movementarian.org>
10329
10330         * pspell.C: fix a crash, and allow new aspell to work
10331
10332 2002-08-06  John Levon  <levon@movementarian.org>
10333
10334         * lyxfunc.C:
10335         * kbmap.C: small cleanup
10336
10337         * vspace.h:
10338         * vspace.C: add const
10339
10340 2002-08-05  John Levon  <levon@movementarian.org>
10341
10342         * LyXAction.C: back to tabular-insert
10343
10344 2002-08-04  John Levon  <levon@movementarian.org>
10345
10346         * BufferView.h:
10347         * BufferView.C: cosmetic change
10348
10349         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10350
10351         * bufferlist.C:
10352         * buffer.h:
10353         * buffer.C:
10354         * lyxcb.h:
10355         * lyxcb.C:
10356         * lyxserver.C:
10357         * lyxvc.C:
10358         * vc-backend.C:
10359         * BufferView2.C: purge all "Lyx" not "LyX" strings
10360
10361         * lyxcursor.h:
10362         * lyxcursor.C: attempt to add some documentation
10363
10364         * lyxfunc.C:
10365         * commandtags.h:
10366         * LyXAction.C:
10367         * ToolbarDefaults.C:
10368         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10369           merge with LFUN_TABULAR_INSERT
10370
10371         * Makefile.am:
10372         * SpellBase.h:
10373         * ispell.h:
10374         * ispell.C:
10375         * pspell.h:
10376         * pspell.C: split up i/pspell implementations into separate
10377           files, many cleanups
10378
10379         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10380
10381         * text2.C: some cleanup
10382
10383         * lyxfunc.C: don't check for isp_command == "none" any more, it
10384           didn't make any sense
10385
10386 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10387
10388         * counters.[Ch]
10389         * text2.C
10390         * paragraph.[Ch]
10391         * makefile.am: move counters functionality over
10392         from text2.C/paragraph.[Ch] to counters.[Ch], and
10393         make proper C++.
10394 2002-08-02  John Levon  <levon@movementarian.org>
10395
10396         * buffer.C: s/lyxconvert/lyx2lyx/
10397
10398 2002-08-02  Angus Leeming  <leeming@lyx.org>
10399
10400         * lyxlex.C: revert John's change as it breaks reading of the user
10401         preamble.
10402
10403 2002-08-02  Angus Leeming  <leeming@lyx.org>
10404
10405         * importer.C (Import):
10406         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10407         changes due to LyXView::view() now returning a boost::shared_ptr.
10408
10409 2002-08-02  John Levon  <levon@movementarian.org>
10410
10411         * lyxlex.C: small cleanup
10412
10413 2002-08-02  John Levon  <levon@movementarian.org>
10414
10415         * text2.C (status): small cleanup, no logic change
10416
10417 2002-08-01  John Levon  <levon@movementarian.org>
10418
10419         * buffer.h:
10420         * buffer.C (writeFile): don't output alerts, caller
10421           handles this
10422
10423         * bufferlist.C:
10424         * lyx_cb.C: from above
10425
10426         * lyxfunc.C: allow to open non-existent files
10427
10428 2002-07-31  John Levon  <levon@movementarian.org>
10429
10430         * lyxserver.C: don't let incidental errors get
10431           in the way (errno)
10432
10433 2002-07-30  John Levon  <levon@movementarian.org>
10434
10435         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10436
10437 2002-07-30  John Levon  <levon@movementarian.org>
10438
10439         * lyxserver.h:
10440         * lyxserver.C: remove I/O callback too
10441
10442 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10445         log.
10446
10447 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10448
10449         * many files: strip,frontStrip -> trim,ltrim,rtrim
10450
10451 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10452
10453         * PrinterParams.h: remove extern containsOnly, and include
10454         support/lstrings.h instead.
10455
10456         * LaTeX.C (scanAuxFile): modify because of strip changes
10457         (deplog): ditto
10458         * buffer.C (makeLaTeXFile): ditto
10459         * bufferparams.C (writeFile): ditt
10460         * lyxfont.C (stateText): ditto
10461         * lyxserver.C (read_ready): ditto
10462         * vc-backend.C (scanMaster): ditto
10463
10464         * BufferView_pimpl.h: ws changes
10465
10466         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10467
10468 2002-07-26  André Pönitz <poenitz@gmx.net>
10469
10470         * kb_sequence.C: remove unnedred usings
10471
10472 2002-07-26  Juergen Vigna  <jug@sad.it>
10473
10474         * lyxfind.C (LyXReplace): we have to check better if the returned
10475         text is not of theLockingInset()->getLockingInset().
10476
10477 2002-07-25  Juergen Vigna  <jug@sad.it>
10478
10479         * lyxfind.C (LyXReplace): don't replace if we don't get the
10480         right LyXText.
10481
10482         * undo_funcs.C (createUndo): remove debugging code.
10483
10484 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10485
10486         * buffer.C (parseSingleLyXformat2Token): Use default placement
10487         when reading old floats.
10488
10489         * FloatList.C (FloatList): Change the default placement of figure
10490         and tables to "tbp".
10491
10492 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * MenuBackend.C: using std::max
10495
10496 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10497
10498         * MenuBackend.C (expandToc):
10499         (expandToc2): code moved from xforms menu frontend. It is now
10500         generic and TOCs are transparent to menu frontends.
10501
10502 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * toc.C (getTocList): protect against buf=0
10505
10506         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10507         Menu as first parameter. Now, this calls itself recursively to
10508         expand a whole tree (this will be useful for TOC handling)
10509         (expandFloatInsert): remove 'wide' version of floats
10510
10511         * MenuBackend.h (submenuname): returns the name of the submenu.
10512         (submenu): returns the submenu itself, provided it has been
10513         created by MenuBackend::expand
10514
10515 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10516
10517         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10518         insets which have noFontChange == true. (bug #172)
10519
10520 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * BufferView_pimpl.C: add connection objects and use them...
10523         (Pimpl): here.
10524
10525 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * MenuBackend.C (expandLastfiles):
10528         (expandDocuments):
10529         (expandFormats):
10530         (expandFloatListInsert):
10531         (expandFloatInsert):
10532         (expand): split expand in parts
10533
10534 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * lyx_gui.C: use lyx_gui::exit()
10537
10538 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * LyXAction.C: show the failing pseudo action
10541
10542 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10543
10544         * buffer.C (readFile): Run the lyxconvert script in order to read
10545         old files.
10546
10547 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * LyXAction.C:
10550         * commandtags.h:
10551         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10552
10553 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * LyXAction.C:
10556         * commandtags.h:
10557         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10558
10559 2002-07-22  Herbert Voss  <voss@lyx.org>
10560
10561         * lengthcommon.C:
10562         * lyxlength.[Ch]: add support for the vertical lengths
10563
10564 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * toc.[Ch]: std:: fixes
10567
10568 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * lyxrc.C: do not include lyx_main.h
10571
10572         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10573         for layouts
10574
10575         * lyxrc.C:
10576         * encoding.C:
10577         * bufferlist.C:
10578         * BufferView2.C: include "lyxlex.h"
10579
10580         * tabular.h:
10581         * bufferparams.h: do not #include "lyxlex.h"
10582
10583         * lyxtextclasslist.C (Add): remove method
10584         (classlist): renamed to classlist_
10585
10586         * paragraph_pimpl.C:
10587         * paragraph.C:
10588         * text2.C:
10589         * CutAndPaste.C:
10590         * bufferview_funcs.C:
10591         * bufferlist.C:
10592         * text.C:
10593         * LaTeXFeatures.C:
10594         * buffer.C:
10595         * toc.C (getTocList): use BufferParams::getLyXTextClass
10596
10597         * toc.C (getTocList): use InsetFloat::addToToc
10598
10599         * toc.[Ch]: new files, containing helper functions to handle table
10600         of contents
10601
10602         * lyxfunc.C (dispatch): no need to remove spaces around command
10603         given as a string
10604         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10605         first command of the sequence; it is not very clever, but I do not
10606         have a better idea, actually
10607
10608         * LyXAction.C (LookupFunc): make sure to remove space at the
10609         beginning and end of the command
10610
10611 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * MenuBackend.C (getMenubar): new method: return the menubar of
10614         this menu set
10615         (read): treat differently reading of menu and menubar (in
10616         particular, the menubar has no name now)
10617         (Menu::menubar): remove
10618
10619         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10620         saving is finished
10621
10622 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10623
10624         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10625         a bibitem inset in a RTL paragraph.
10626
10627 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * paragraph_pimpl.C: constify
10630
10631         * BufferView_pimpl.C:
10632         * LaTeX.C:
10633         * lyxfunc.C: fix dispatch in a nicer way
10634
10635 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10636
10637         * lyxfunc.C (dispatch):
10638         * BufferView_pimpl.C:
10639         * BufferView_pimpl.h:
10640         * BufferView.C:
10641         * BufferView.h: rename Dispatch() to dispatch()
10642
10643         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10644
10645         * lyxlayout.C (Read): honor DependsOn tag
10646
10647         * lyxlayout.[Ch] (depends_on): new method
10648
10649         * version.C.in: update lyx_docversion
10650
10651         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10652
10653         * paragraph.C (validate): remove from here...
10654         * paragraph_pimpl.C (validate): ... and move here
10655         (isTextAt): make it const
10656
10657         * buffer.C (getLists): ws cleanup
10658
10659 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10660
10661         * language.C (read): Use iso8859-1 encoding in latex_lang
10662         (this prevents LyX from crashing when using iso10646-1 encoding).
10663
10664 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * text2.C (toggleInset): if cursor is inside an inset, close the
10667         inset and leave cursor _after_ it
10668
10669 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * lyxfunc.C: move minibuffer completion handling out of here
10672
10673 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * BufferView_pimpl.C:
10676         * LaTeX.C: fix dispatch calls
10677
10678 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * text.C (drawChars): Fix Arabic text rendering.
10681
10682 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * LyXAction.C:
10685         * commandtags.h:
10686         * lyxfunc.C: remove message-push/pop
10687
10688         * lyxserver.C:
10689         * lyxfunc.h:
10690         * lyxfunc.C: rationalise some code by removing verboseDispatch
10691           in favour of a bool argument to dispatch()
10692
10693 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10694
10695         * lyx_main.C (init): make sure to read symlinks as absolute paths
10696
10697 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * lyxfunc.h:
10700         * lyxfunc.C: no need for commandshortcut to be a member
10701
10702 2002-07-15  André Pönitz <poenitz@gmx.net>
10703
10704         * converter.C: add support for $$s (scripts from lib/scripts dir)
10705         * lyx_main.C: white space
10706
10707 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10708
10709         * bufferlist.C:
10710         * lyxrc.h:
10711         * lyxrc.C: remove second exit confirmation
10712
10713 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * BufferView.h:
10716         * BufferView.C:
10717         * BufferView2.C:
10718         * BufferView_pimpl.h:
10719         * BufferView_pimpl.C:
10720         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10721
10722 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * MenuBackend.C (expand): add numeric shortcuts to document menu
10725
10726         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10727
10728 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10729
10730         * lyxfont.C (setLyXFamily):
10731         (setLyXSeries):
10732         (setLyXShape):
10733         (setLyXSize):
10734         (setLyXMisc):
10735         (lyxRead):
10736         * debug.C (value):
10737         * buffer.C (asciiParagraph): use ascii_lowercase
10738
10739 2002-07-15  Mike Fabian  <mfabian@suse.de>
10740
10741         * lyxlex_pimpl.C (search_kw):
10742         * lyxlex.C (getLongString):
10743         * converter.h (operator<):
10744         * converter.C (operator<):
10745         * buffer.C (parseSingleLyXformat2Token):
10746         (asciiParagraph):
10747         * ToolbarDefaults.C (read):
10748         * MenuBackend.C (checkShortcuts):
10749         (read):
10750         * LColor.C (getFromGUIName):
10751         (getFromLyXName): use the compare_ascii_no_case instead of
10752         compare_no_case, because in turkish, 'i' is not the lowercase
10753         version of 'I', and thus turkish locale breaks parsing of tags.
10754
10755 2002-07-16  Angus Leeming  <leeming@lyx.org>
10756
10757         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10758         now takes a Buffer const & argument.
10759
10760 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * BufferView.C (resize): check there's a buffer to resize
10763
10764 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * lyxfunc.C: remove dead code
10767
10768         * lyxserver.h:
10769         * lyxserver.C: use lyx_guii::set_read_callback
10770
10771 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10772
10773         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10774         an inset in a RTL paragraph.
10775
10776 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * lyxfunc.C: repaint after a font size update
10779
10780 2002-07-15  André Pönitz <poenitz@gmx.net>
10781
10782         * lyxlength.C: inBP should be able to return negative values
10783
10784 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * lyxfunc.C: use lyx_gui::update_fonts()
10787
10788 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * lyxfunc.C: use lyx_gui::update_color()
10791
10792 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * bufferlist.C:
10795         * lyxfunc.h:
10796         * lyxfunc.C:
10797         * lyxrc.h:
10798         * lyxrc.C: remove file->new asks for name option, and let
10799           buffer-new take an argument
10800
10801 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10802
10803         * BufferView_pimpl.C: remove unneeded extra repaint()
10804
10805 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * LyXAction.C: allow command-sequence with NoBuffer
10808
10809         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10810
10811 2002-07-10  Angus Leeming  <leeming@lyx.org>
10812
10813         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10814
10815 2002-07-09  Angus Leeming  <leeming@lyx.org>
10816
10817         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10818
10819 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10820
10821         * lengthcommon.h: whitespace
10822
10823         * lyxfunc.C: update scrollbar after goto paragraph
10824
10825         * lyxtext.h: factor out page break drawing, and fix it so
10826           page break/added space paints as selected nicely
10827
10828 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * BufferView_pimpl.C: add FIXMEs, clean up a little
10831
10832 2002-07-09  André Pönitz <poenitz@gmx.net>
10833
10834         * lyxfont.[Ch]: support for wasy symbols
10835
10836 2002-07-08  André Pönitz <poenitz@gmx.net>
10837
10838         * BufferView_pimpl.C: apply John's patch for #93.
10839
10840 2002-07-05  Angus Leeming  <leeming@lyx.org>
10841
10842         * BufferView_pimpl.C (buffer): generate previews if desired.
10843
10844         * LColor.h: add "preview" to the color enum.
10845
10846         * LColor.C (LColor): add a corresponding entry to the items array.
10847
10848         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10849         with this buffer.
10850
10851 2002-07-05  Angus Leeming  <leeming@lyx.org>
10852
10853         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10854         The body of the code is now in the method that is passed an ostream &
10855         rather than a file name.
10856         Pass an additional only_preamble parameter, useful for the forthcoming
10857         preview stuff.
10858
10859 2002-07-03  André Pönitz <poenitz@gmx.net>
10860
10861         * lyxfunc.C: simplify getStatus() a bit for math stuff
10862
10863 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10864
10865         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10866
10867 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10868
10869         * text.C (changeRegionCase): do not change case of all the
10870         document when region ends at paragraph end (bug #461)
10871
10872 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * paragraph.C (startTeXParParams):
10875         (endTeXParParams): add \protect when necessary
10876
10877 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * BufferView_pimpl.C (workAreaExpose): remove warning
10880
10881 2002-06-27  Angus Leeming  <leeming@lyx.org>
10882
10883         * Makefile.am: add lyxlayout_ptr_fwd.h.
10884
10885 2002-06-26  André Pönitz <poenitz@gmx.net>
10886
10887         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10888
10889 2002-06-25  Angus Leeming  <leeming@lyx.org>
10890
10891         * lyxfunc.C (dispatch): Comment out the call to
10892         grfx::GCache::changeDisplay. The method no longer exists now that the
10893         pixmap generation part of the graphics loader has been moved into
10894         InsetGraphics.
10895
10896 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10897
10898         * text2.C: layout as layout
10899
10900         * text.C: layout as layout
10901
10902         * tabular.C (OldFormatRead): layout as layout
10903
10904         * paragraph_pimpl.C (TeXDeeper): layout as layout
10905         (realizeFont): layout as layout
10906
10907         * paragraph.C (writeFile): layout as layout
10908         (validate): layout as layout
10909         (getFont): layout as layout
10910         (getLabelFont): layout as layout
10911         (getLayoutFont): layout as layout
10912         (breakParagraph): layout as layout
10913         (stripLeadingSpaces): layout as layout
10914         (getEndLabel): layout as layout
10915         (getMaxDepthAfter): layout as layout
10916         (applyLayout): layout as layout
10917         (TeXOnePar): layout as layout
10918         (simpleTeXOnePar): layout as layout
10919         (TeXEnvironment): layout as layout
10920         (layout): layout as layout
10921         (layout): layout as layout
10922
10923         * lyxtextclass.C (compare_name): new functor to work with
10924         shared_ptr, layout as layout
10925         (Read): layout as layout
10926         (hasLayout): layout as layout
10927         (operator): layout as layout
10928         (delete_layout): layout as layout
10929         (defaultLayout): layout as layout
10930
10931         * lyxlayout_ptr_fwd.h: new file
10932
10933         * lyxlayout.C (Read): layout as layout
10934
10935         * lyx_cb.C (MenuInsertLabel): layout as layout
10936
10937         * bufferlist.C (newFile): layout as layout
10938
10939         * buffer.C (readLyXformat2): layout as layout
10940         (parseSingleLyXformat2Token): layout as layout
10941         (insertStringAsLines): layout as layout
10942         (asciiParagraph): layout as layout
10943         (latexParagraphs): layout as layout
10944         (makeLinuxDocFile): layout as layout
10945         (simpleLinuxDocOnePar): layout as layout
10946         (makeDocBookFile): layout as layout
10947         (simpleDocBookOnePar): layout as layout
10948         (getLists): layout as layout
10949
10950         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10951
10952         * CutAndPaste.C (cutSelection): layout as layout
10953         (pasteSelection): layout as layout
10954         (SwitchLayoutsBetweenClasses): layout as layout
10955
10956         * BufferView_pimpl.C (Dispatch): layout as layout
10957         (smartQuote): layout as layout
10958
10959         * BufferView2.C (unlockInset): layout as layout
10960
10961 2002-06-24  André Pönitz <poenitz@gmx.net>
10962
10963         * lyxfunc.C: fix #487
10964
10965 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * lyxrc.h:
10968         * lyxrc.C:
10969         * lyxfunc.C: remove display_shortcuts, show_banner
10970
10971 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * Buffer_pimpl.C: oops, update on resize
10974
10975 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * buffer.C:
10978         * converter.C:
10979         * exporter.C:
10980         * lyxfunc.C:
10981         * BufferView.h:
10982         * BufferView.C: use repaint()
10983
10984         * BufferView_pimpl.h:
10985         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10986           as it's a clearer description. Remove superfluous
10987           redraws.
10988
10989 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * text.C: fix bug 488. Not ideal, but getting
10992           getWord() to work properly for the insets that
10993           matter is more difficult ...
10994
10995 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * BufferView_pimpl.C:
10998         * LyXAction.C:
10999         * commandtags.h:
11000         * lyxfunc.C: remove the six million index lyxfuncs to just
11001           one, and DTRT (bug 458)
11002
11003 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * BufferView.h:
11006         * BufferView.C:
11007         * BufferView_pimpl.h:
11008         * BufferView_pimpl.C: clean up resize() stuff,
11009           and unnecessary updateScreen()s
11010
11011 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11012
11013         * BufferView.h:
11014         * BufferView.C:
11015         * BufferView_pimpl.h:
11016         * BufferView_pimpl.C:
11017         * lyxfind.h:
11018         * lyxfind.C:
11019         * minibuffer.C: remove focus management of workarea,
11020           not needed. Use screen's greyOut()
11021
11022 2002-06-17  Herbert Voss  <voss@lyx.org>
11023
11024         * converter.C: (convert) do not post a message, when converting
11025         fails, let the calling function decide what to do in this case
11026
11027 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11028
11029         * lyxfunc.C: tidy up a little
11030
11031 2002-06-16    <alstrup@diku.dk>
11032
11033         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11034         Got rid of FORMS_H_LOCATION include. Now we are
11035         GUII.
11036
11037 2002-06-15  LyX Development team  <lyx@rilke>
11038
11039         * buffer.[Ch] (sgmlOpenTag):
11040         (sgmlCloseTag): Added support for avoiding pernicious mixed
11041         content. Return number of lines written.
11042
11043         (makeLinuxDocFile):
11044         (makeDocBookFile): Fixed calls to sgml*Tag.
11045         Simple white space clean.
11046
11047         (simpleDocBookOnePar): Simple white space clean.
11048
11049         * tabular.[Ch] (docBook): Renamed to docbook and got another
11050         argument to related with the pernicious mixed content.
11051
11052         (docbookRow): Fixed calls for docbook inset method.
11053
11054 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11055
11056         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11057         so it's X11 independent.
11058
11059         * kb*.[Ch]: ditto.
11060
11061         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11062
11063 2002-06-15  Lyx Development team  <lyx@electronia>
11064
11065         * intl.h: Renamed getTrans to getTransManager.
11066
11067 2002-06-14  Angus Leeming  <leeming@lyx.org>
11068
11069         * Makefile.am: nuke forgotten stl_string_fwd.h.
11070
11071 2002-06-12  Angus Leeming  <leeming@lyx.org>
11072
11073         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11074
11075 2002-06-13  Angus Leeming  <leeming@lyx.org>
11076
11077         * LaTeX.C:
11078         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11079
11080 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11081
11082         * kbmap.C (getiso): add support for cyrillic and greek
11083
11084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * BufferView.h:
11087         * BufferView.C:
11088         * BufferView_pimpl.h:
11089         * BufferView_pimpl.C: move bogus scrolling logic
11090           to xforms
11091
11092 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * lyxfunc.C:
11095         * BufferView_pimpl.C: view->resize() change
11096
11097 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * BufferView_pimpl.C: topCursorVisible
11100           prototype change
11101
11102 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11103
11104         * Makefile.am:
11105         * lyx_gui.h:
11106         * lyx_gui.C: move to frontends/
11107
11108         * main.C:
11109         * lyx_main.h:
11110         * lyx_main.C: changes from above
11111
11112 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11113
11114         * intl.C:
11115         * intl.h:
11116         * kbmap.C:
11117         * kbsequence.C:
11118         * lyx_cb.C:
11119         * lyx_main.C: minor tidy
11120
11121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * BufferView_pimpl.h:
11124         * BufferView_pimpl.C:
11125         * BufferView.h:
11126         * BufferView.C: make painter() const,
11127           remove dead code
11128
11129         * BufferView2.C: use screen() accessor
11130
11131         * lyx_main.h:
11132         * lyx_main.C: some minor cleanup
11133
11134 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11135
11136         * BufferView_pimpl.h:
11137         * BufferView_pimpl.C: remove enter/leaveView,
11138           use workHeight()
11139
11140 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * BufferView.h:
11143         * BufferView.C:
11144         * BufferView2.C:
11145         * BufferView_pimpl.h:
11146         * BufferView_pimpl.C: only construct screen once,
11147           rename
11148
11149         * lyxrc.C: remove pointless comment
11150
11151 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11152
11153         * BufferView.h:
11154         * BufferView.C: remove active() and belowMouse()
11155
11156         * BufferView_pimpl.h:
11157         * BufferView_pimpl.C: use workarea() not workarea_,
11158           and make it use a scoped_ptr instead
11159
11160 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * lyx_gui.C: add debug message on BadWindow
11163
11164 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11165
11166         * sp_spell.C: fdopen is not part of the C++ standard.
11167
11168         * paragraph.C (InsetIterator): use >= instead of ==
11169
11170 2002-06-07  Angus Leeming  <leeming@lyx.org>
11171
11172         Fixes needed to compile with Compaq cxx 6.5.
11173         * BufferView_pimpl.C:
11174         * DepTable.C:
11175         * buffer.C:
11176         * converter.C:
11177         * encoding.C:
11178         * lyx_gui.C:
11179         * lyx_main.C:
11180         * lyxtextclasslist.C:
11181         * minibuffer.C:
11182         * sp_spell.C:
11183         * tabular_funcs.C:
11184         * vc-backend.C:
11185         all c-library variables have been moved into namespace std. Wrap
11186         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11187
11188         * lyxlength.C:
11189         * tabular-old.C:
11190         * tabular.C:
11191         Add a using std::abs declaration.
11192
11193         * kbmap.h (modifier_pair):
11194         * paragraph.h (InsetTable, InsetList):
11195         * lyxfont.h (FontBits):
11196         type definition made public.
11197
11198         * bufferlist.C (emergencyWriteAll): the compiler complains that
11199         there is more than one possible lyx::class_fun template to choose from.
11200         I re-named the void specialisation as lyx::void_class_fun.
11201
11202         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11203
11204         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11205         the compiler is is unable to find tostr in write_attribute.
11206
11207 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * buffer.C (sgmlError): hide #warning
11210
11211 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * xtl/*: get rid of xtl, which is not in use anyway
11214
11215         * LyXAction.C (init):
11216         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11217         were unimplemented xtl experimentation
11218
11219 2002-06-04  André Pönitz <poenitz@gmx.net>
11220
11221         * lyxfunc.C: disable array operation on simple formulae
11222
11223 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * converter.C: constify a bit
11226
11227 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * lyx_gui.C: check xforms version correctly
11230
11231 2002-04-30  Herbert Voss  <voss@lyx.org>
11232
11233         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11234         "keep" option
11235
11236 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11239           attempt to register it with a VCS)
11240
11241 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * lyx_main.C (init): honor variables LYX_DIR_13x and
11244         LYX_USERDIR_13x
11245
11246 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * buffer.h:
11249         * buffer.C:
11250         * lyx_main.C: fix a crash on bad command line,
11251           and give a useful exit status on error
11252
11253         * lyxfunc.C (doImport): allow -i lyx to work
11254
11255 2002-03-30  André Pönitz <poenitz@gmx.net>
11256
11257         * lyxfunc.C: mathed font changes
11258
11259 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * LaTeX.C:
11262         * importer.h:
11263         * importer.C:
11264         * lyx_sty.h:
11265         * lyx_sty.C:
11266         * lyxlex.C:
11267         * lyxrow.h:
11268         * lyxtext.h:
11269         * paragraph.h:
11270         * paragraph.C:
11271         * texrow.h:
11272         * texrow.C:
11273         * text.C:
11274         * trans_mgr.h: srcdocs, and some minor cleanups
11275
11276 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11279         call getFont all the time)
11280
11281 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11282
11283         * switch from SigC signals to boost::signals
11284
11285 2002-05-29  André Pönitz <poenitz@gmx.net>
11286
11287         * paragraph_pimpl.C (getChar): don't call size() too often...
11288
11289 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11290
11291         * paragraph_pimpl.C (insertChar): do not try to update tables when
11292         appending (pos == size())
11293
11294         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11295         in order to reduce drastically the number of comparisons needed to
11296         parse a large document
11297
11298 2002-05-29  André Pönitz <poenitz@gmx.net>
11299
11300         * text.C:
11301         * text2.C:
11302         * lyxtextclass.C:
11303         * sp_pspell.h:
11304         * textclasslist.[Ch]:
11305         * sp_ispell.h: whitespace change
11306
11307 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11310         lyxaction directly now.
11311
11312 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * trans.C:
11315         * lyxfont.C:
11316         * lyxvc.C: remove unused headers
11317
11318 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11319
11320         * Makefile.am:
11321         * buffer.h:
11322         * undostack.h:
11323         * undostack.C:
11324         * undo_funcs.h:
11325         * undo_funcs.C: some cleanups. Use shared_ptr
11326           and a template for the undo stacks.
11327
11328 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * BufferView_pimpl.h:
11331         * BufferView_pimpl.C:
11332         * kbmap.h:
11333         * kbmap.C:
11334         * kbsequence.h:
11335         * kbsequence.C:
11336         * lyxfunc.h:
11337         * lyxfunc.C:
11338         * text2.C: use key_state/mouse_state
11339
11340 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11341
11342         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11343         and LSubstring
11344
11345         * chset.C: change include order
11346         (loadFile): use boost regex and get rid of LRegex and LSubstring
11347
11348         * Makefile.am (BOOST_LIBS): new variable
11349         (lyx_LDADD): use it
11350
11351         * LaTeX.C: change include order.
11352         (scanAuxFile): use boost regex and get rid of LRegex and
11353         LSubstring
11354         (deplog): ditto
11355
11356 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11357
11358         * ColorHandler.h:
11359         * ColorHandler.C:
11360         * FontInfo.h:
11361         * FontInfo.C: moved to frontends/xforms/
11362
11363         * FontLoader.h:
11364         * FontLoader.C: moved into frontends for GUIIzation
11365
11366         * Makefile.am:
11367         * lyx_gui.C:
11368         * lyxfont.C:
11369         * lyxfunc.C: changes from above
11370
11371 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * LColor.C: remove spurious X include
11374
11375         * BufferView_pimpl.C:
11376         * Makefile.am:
11377         * font.h:
11378         * font.C:
11379         * text.C:
11380         * text2.C: move font metrics to frontends/
11381
11382 2002-05-24  Juergen Vigna  <jug@sad.it>
11383
11384         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11385         setting the undo_cursor.
11386
11387         * ParagraphParameters.h: include local includes first.
11388
11389 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * BufferView_pimpl.C:
11392         * BufferView_pimpl.h:
11393         * Makefile.am:
11394         * WorkArea.h:
11395         * WorkArea.C:
11396         * screen.C: move WorkArea into frontends/
11397
11398         * lyxscreen.h:
11399         * screen.C:
11400         * text.C:
11401         * BufferView.C:
11402         * BufferView2.C: move LyXScreen into frontends/
11403
11404         * lyxlookup.h:
11405         * lyxlookup.C:
11406         * lyx_gui.C: move lyxlookup into frontends/xforms/
11407
11408 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * BufferView2.C:
11411         * BufferView_pimpl.C:
11412         * FontLoader.C:
11413         * LyXView.h:
11414         * LyXView.C:
11415         * Makefile.am:
11416         * WorkArea.C:
11417         * XFormsView.h:
11418         * XFormsView.C:
11419         * buffer.C:
11420         * bufferlist.C:
11421         * bufferview_funcs.C:
11422         * converter.C:
11423         * importer.C:
11424         * lyx_cb.C:
11425         * lyx_gui.C:
11426         * lyx_main.C:
11427         * lyx_find.C:
11428         * lyxfunc.C:
11429         * lyxvc.C:
11430         * minibuffer.C:
11431         * text.C:
11432         * text2.C:
11433         * trans.C:
11434         * vc-backend.C: move LyX/XFormsView into frontends/
11435
11436 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * Makefile.am:
11439         * PainterBase.C:
11440         * PainterBase.h:
11441         * Painter.C:
11442         * Painter.h:
11443         * WorkArea.C:
11444         * WorkArea.h:
11445         * screen.C:
11446         * tabular.C:
11447         * text.C:
11448         * text2.C: move Painter to frontends/
11449
11450 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * buffer.C: comment out some some code that depend upon lyx_format
11453         < 220
11454
11455         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11456         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11457
11458         * buffer.h (NO_COMPABILITY): turn off compability
11459
11460         * ColorHandler.C: include scoped_array.hpp
11461
11462         * font.C: Use more specific smart_ptr header.
11463         * Painter.C: ditto
11464         * gettext.C: ditto
11465         * ShareContainer.h: ditto
11466         * lyx_main.h: ditto
11467         * kbmap.h: ditto
11468         * FontInfo.h: ditto
11469         * BufferView_pimpl.h: ditto
11470         * ColorHandler.h: ditto
11471
11472         * kbmap.C (defkey): change call to shared_ptr::reset
11473
11474 2002-05-21  Juergen Vigna  <jug@sad.it>
11475
11476         * buffer.C (insertErtContents): fix to insert ert asis if it is
11477         non empty. Skip it completely if it contains only whitespaces.
11478
11479 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * BufferView_pimpl.C:
11482         * BufferView2.C: clear selection on paste (bug 393)
11483
11484 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11485
11486         * DepTable.C: include ctime
11487
11488 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11489
11490         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11491
11492 2002-05-14  Juergen Vigna  <jug@sad.it>
11493
11494         * text.C (breakParagraph): fixed function to honor the keepempty
11495         layout in the right maner and also to permit the right breaking
11496         algorithm on empty or non empyt keepempty paragraphs.
11497
11498         * paragraph.C (breakParagraph): we have to check also if the par
11499         is really empty (!size()) for isempty otherwise we do the wrong
11500         paragraph break.
11501
11502 2002-05-10  Juergen Vigna  <jug@sad.it>
11503
11504         * buffer.[Ch] : The following are only changes to the ert
11505         compatibility read reading old LaTeX layout and font stuff and
11506         convert it to ERTInsets.
11507
11508         * buffer.h: added isErtInset().
11509
11510         * buffer.C (struct ErtComp): add a fromlayout bool to check
11511         if we're inside a LaTeX layout.
11512         (isErtInset): new helper function.
11513         (insertErtContents): look for other ert insets before this one
11514         and insert the contents there, so that we don't have subsequent
11515         ERT insets with nothing between them. This way we create only one
11516         inset with multiple paragraphs. Also check if we don't insert only
11517         spaces ' ' as they are ignored anyway afterwards in the .tex file
11518         so if we have only spaces we will ignore this latex part in the
11519         new file.
11520         (parseSingleLyXformat2Token \\layout): better compatibility when
11521         reading layout-latex stuff.
11522         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11523         language tag.
11524         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11525         stuff after reading the inset only get the information back from
11526         the stack.
11527
11528 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11529
11530         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11531
11532         * LaTeXFeatures.C (getBabelOptions): New method.
11533
11534 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11535
11536         * BufferView_pimpl.C (Dispatch): work around missing argument for
11537         'layout'
11538
11539 2002-05-08  Juergen Vigna  <jug@sad.it>
11540
11541         * text.C (leftMargin): handle paragraph leftindent.
11542
11543         * paragraph.C (writeFile): write the new \\leftindent tag.
11544         (validate): handle leftindent code.
11545         (TeXEnvironment): handle paragraphleftindent code again.
11546
11547         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11548
11549         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11550         for paragrap_extra indent code and new token \\leftindent.
11551         (latexParagraphs): handle the leftindent as environment.
11552
11553         * ParameterStruct.h: added leftindent support.
11554
11555         * ParagraphParameters.C (leftIndent): added support functions for
11556         the paragraph left indent.
11557
11558         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11559         more appropriate.
11560
11561 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11562
11563         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11564         inside insetERT.
11565
11566         * text.C (computeBidiTables): No bidi in insetERT.
11567
11568         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11569         in RTL documents.
11570
11571 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11572
11573         * version.C.in: pre 5
11574
11575 2002-05-02  José Matos  <jamatos@fep.up.pt>
11576         * buffer.C (makeDocBookFile): white space changes, add newline to
11577         command styles.
11578         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11579
11580         * tabular.C (docBook): fix typo.
11581
11582 2002-05-03  Juergen Vigna  <jug@sad.it>
11583
11584         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11585         change in LyXText as we can not be sure it was not freed.
11586         (drawOneRow): remove unused code.
11587
11588         * text.C (drawInset): redo the calculation of the need_break_row as
11589         it could have a row which was already freed.
11590         (draw): look at the return value of drawInset and return false if
11591         it also returned false.
11592         (paintRowText): look at the return value of draw and return false if
11593         it also returned false.
11594
11595         * lyxtext.h: added bool return type to drawInset() and draw() so that
11596         if we have a change in the row so that the rowbreak has to be redone
11597         we abort drawing as it will be called again.
11598
11599 2002-05-02  Juergen Vigna  <jug@sad.it>
11600
11601         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11602         a change in the maintext also if we're inside an inset.
11603         (Dispatch): set the cursor again after a break line and after the
11604         screen has been updated as it could be we're in a different row.
11605
11606         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11607         to set the cursor behind the pargraph with > size().
11608         (setCursor): check also for the same paragraph when checking where
11609         to put the cursor if we have a NFR inset.
11610
11611         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11612         parts of layout read further up as it still was in the wrong
11613         position.
11614
11615 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * screen.C (drawFromTo): change sine fullRebreak always return
11618         true.
11619
11620         * buffer.C (parseSingleLyXformat2Token): reindent some
11621
11622         * BufferView_pimpl.C (update): change since fullRebreak always
11623         return true.
11624         (Dispatch): git rid of the last hardcoded "Standard"s.
11625
11626 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * text2.[Ch] (fullRebreak): make it return void now that we always
11629         returned true.
11630
11631 2002-04-30  Juergen Vigna  <jug@sad.it>
11632
11633         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11634         ert compatibility check for "latex" layout.
11635
11636 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11637
11638         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11639         minipages: use col% instead of p%, and also use the current font.
11640         (makeLaTeXFile): Fix use babel condition.
11641         (parseSingleLyXformat2Token): Correct font when reading old floats.
11642
11643 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11644
11645         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11646         inserting list of floats.
11647
11648 2002-04-25  Herbert Voss  <voss@lyx.org>
11649
11650         * MenuBackend.C (expand): don't add the graphics extensions to the
11651         export menu
11652
11653 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11654
11655         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11656         non-existing layout, do not complain if it was the default layout
11657         of the original class (bug #342)
11658
11659 2002-04-24  Juergen Vigna  <jug@sad.it>
11660
11661         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11662         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11663
11664 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11665
11666         * buffer.C (getBibkeyList): If using \bibliography, return the
11667         option field with the reference itself. Enables us to provide natbib
11668         support when using \bibliography.
11669
11670 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11671
11672         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11673
11674         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11675         natbib is provided by the LaTeX class.
11676
11677 2002-04-23  Juergen Vigna  <jug@sad.it>
11678
11679         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11680         Wakeup functions.
11681
11682         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11683
11684 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11685
11686         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11687
11688         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11689         ensuremath around textordmasculine, textordfeminine and
11690         textdegree.
11691
11692 2002-04-19  Juergen Vigna  <jug@sad.it>
11693
11694         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11695         reinitializing the buffer otherwise row-dimensions may be wrong.
11696         (update): reset also the selection cursors if they do exits otherwise
11697         their x/y positions may be wrong.
11698
11699         * text2.C (cursorDown): don't enter the inset if we came from a row
11700         above and are one row over the inset.
11701
11702         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11703         really leaving an inset.
11704
11705 2002-04-18  Juergen Vigna  <jug@sad.it>
11706
11707         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11708         of the selected paragraph does not have the selected layout also if
11709         the last one had!
11710
11711         * text2.C (setLayout): fixed bug which did not change last selected
11712         paragraph.
11713
11714         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11715         changed the read and substituted \\end_float with \\end_inset!
11716
11717         * BufferView_pimpl.C (cursorPrevious):
11718         (cursorNext): fixed to make it work with rows heigher than the work
11719         area without moving the cursor only the draw of the row.
11720         (workAreaMotionNotify): fix jumping over high rows.
11721
11722 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11723
11724         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11725         Ressler.
11726
11727 2002-04-16  Juergen Vigna  <jug@sad.it>
11728
11729         * text2.C (setCursor): set also the irow().
11730         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11731         (cursorUp):
11732         (cursorDown): support for locking an inset if the x_fix value goes
11733         inside it. That way I can transverse insets too with cursor up/down.
11734
11735         * lyxrow.h: added irow helper function same as other (i) functions.
11736
11737         * BufferView_pimpl.C (cursorPrevious):
11738         (cursorNext): fixed for insets!
11739
11740 2002-04-15  Juergen Vigna  <jug@sad.it>
11741
11742         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11743         position otherwise it is wrong in some cases.
11744
11745         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11746         inside the inset before the call.
11747
11748 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11749
11750         * buffer.[Ch] (getBibkeyList): make it const.
11751
11752 2002-04-12  Juergen Vigna  <jug@sad.it>
11753
11754         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11755
11756         * text2.C (getCursorX): new helper function
11757         (setCursor): compute also ix_
11758         (setCursorFromCoordinates): set also ix.
11759
11760         * lyxcursor.h: added ix_ and helper functions.
11761
11762         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11763
11764         * buffer.C (insertStringAsLines): dont break paragraph if the this
11765         paragraph is inside an inset which does not permit it!
11766
11767         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11768         also with no chars on this paragraph.
11769         (paintRowText): only paint stuff if it's inside the workarea!
11770
11771         * paragraph.C (breakParagraph): honor keepempty flag and break the
11772         paragraph always below not above.
11773
11774         * BufferView2.C (unlockInset): update the paragraph layout on inset
11775         unlock as we changed paragraph in such a case.
11776
11777         * lyxfind.C (LyXFind): clear the former selection if not found!
11778
11779         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11780         again called in insertChar().
11781
11782         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11783         an inset which uses the whole row!
11784         (rightMargin): ditto.
11785         (insertChar): force a rebreak if we inserted an inset!
11786
11787 2002-03-28  Herbert Voss  <voss@lyx.org>
11788
11789         * lyxlength.[Ch]: add inBP() to get the right PS-point
11790         units (BigPoint). With inPixels we have rounding errors
11791
11792 2002-04-11  Juergen Vigna  <jug@sad.it>
11793
11794         * text2.C (setCursorFromCoordinates): set iy to the right value.
11795         (setCursor): add check if row->previous exists!
11796
11797         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11798         an old float_type as this was the case in the old code!
11799
11800         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11801
11802         * BufferView2.C (showLockedInsetCursor): use iy
11803         (fitLockedInsetCursor): ditto
11804
11805         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11806         locked insets as there we have the right value now.
11807
11808         * lyxcursor.C: added iy_ variable and iy functions to set to the
11809         baseline of cursor-y of the locked inset.
11810
11811         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11812         (setCursor): fixed for insets which need a full row.
11813
11814         * text.C (rowLastPrintable): don't ignore the last space when before
11815         an inset which needs a full row.
11816         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11817         as last character of a row when before a inset which needs a full row.
11818
11819 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11820
11821         * version.C.in: update date
11822
11823         * text2.C (fullRebreak): try to always return true and see what
11824         happens...
11825
11826 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11827
11828         * MenuBackend.C (expand): use Floating::listName
11829
11830         * FloatList.C (FloatList): add listName argument to the built-in
11831         floats
11832
11833         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11834         text associated with the float.
11835
11836 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11837
11838         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11839
11840 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * ShareContainer.h: add a couple of missing typenames.
11843
11844 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11845
11846         * lyxrc.C (getDescription): use _() correctly rather than N_().
11847
11848 2002-03-28  Herbert Voss  <voss@lyx.org>
11849
11850         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11851         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11852
11853 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11856         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11857
11858 2002-03-29  Juergen Vigna  <jug@sad.it>
11859
11860         * lyxfunc.C (dispatch): add a missing fitCursor call.
11861
11862         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11863         it was scrolled by a cursor move, so return the bool status.
11864
11865         * BufferView.C (fitCursor): return the bool flag also to the outside
11866         world as this is needed.
11867
11868         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11869
11870         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11871         call the edit() as it is not needed (and wrong) IMO.
11872         (workAreaButtonPress): set the screen_first variable before evt.
11873         unlock the inset as this may change screen_first and then we have
11874         a wrong y position for the click!
11875
11876 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11877
11878         * MenuBackend.C (expand): another translation that I missed
11879
11880 2002-03-28  Juergen Vigna  <jug@sad.it>
11881
11882         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11883
11884         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11885
11886 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11889
11890         * MenuBackend.C (expand): fix export/view/update when there is no
11891         document open.
11892
11893 2002-03-27  Herbert Voss  <voss@lyx.org>
11894
11895         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11896         and text%
11897
11898 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11899
11900         * bufferview_funcs.C (currentState): only show paragraph number
11901         for is DEVEL_VERSION is set.
11902
11903         * lyxfunc.C (dispatch): put warning in INFO channel
11904
11905         * MenuBackend.C (expand): translate the name of floats
11906
11907         * FloatList.C (FloatList): mark the float names for translation
11908
11909         * converter.C (convert): use LibScriptSearch
11910
11911 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11912
11913         * MenuBackend.C (defaults): fix default menu (we might as well get
11914         rid of it...)
11915
11916 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11917
11918         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11919         directory.
11920
11921 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * lyxvc.C: reorder includes.
11924
11925 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11928           properly
11929
11930 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * CutAndPaste.C: change layouts earlier on paste
11933           to avoid crashing when calling getFont()
11934
11935 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11936
11937         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11938         irritating #error.
11939
11940 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11941
11942         * WorkArea.C: remove 'Pending' debug message.
11943
11944         * most files: ws cleanup
11945
11946         * buffer.[Ch]: ws changes
11947
11948         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11949
11950 2002-03-21  Juergen Vigna  <jug@sad.it>
11951
11952         * tabular.C (SetMultiColumn): collapse also the contents of the
11953         cells and set the last border right. Added a Buffer const * param.
11954
11955 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11958         linking or not.
11959
11960 2002-03-19  Juergen Vigna  <jug@sad.it>
11961
11962         * text2.C (clearSelection): reset also xsel_cache.
11963
11964         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11965         where it needs to be called (John tells us to do so too :)
11966         (selectionLost): reset sel_cache.
11967
11968         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11969
11970 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * text2.C (setCursorIntern): put debuging code in INSETS channel
11973
11974 2002-03-19  André Pönitz <poenitz@gmx.net>
11975
11976         * lyxfunc.C: tiny whitespace change
11977
11978 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * ToolbarDefaults.C (init):
11981         * LyXAction.C (init):
11982         * commandtags.h:
11983         * BufferView_pimpl.C (Dispatch):
11984         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11985
11986 2002-03-19  Allan Rae  <rae@lyx.org>
11987
11988         * exporter.C (Export): removeAutoInsets before doing anything else.
11989         While I've just introduced a dependency on BufferView this really is
11990         the best place to clean the buffer otherwise you need to cleanup in
11991         a dozen places before calling export or cleanup in a dozen functions
11992         that export calls.
11993
11994         * converter.C (runLaTeX):
11995         (scanLog): Better handling of removeAutoInsets and screen updates.
11996
11997         * lyxfunc.C (dispatch): small whitespace changes
11998
11999 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * WorkArea.C (C_WorkAreaEvent): return a value.
12002         (event_cb): return 1 if we handled the event, 0 otherwise.
12003
12004         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12005
12006 2002-03-18  Juergen Vigna  <jug@sad.it>
12007
12008         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12009         (GetAdditionalWidth): ditto.
12010         (RightLine): ditto.
12011         (LeftLine): ditto.
12012
12013         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12014         inset if we're there actually (probably not used right now but this
12015         is the direction to go for unifying code).
12016         (paste): disable code to clear the selection.
12017
12018         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12019         inside an InsetText and move the check further up as it is in the
12020         wrong place.
12021
12022         * text2.C (pasteSelection): set a selection over the pasted text.
12023
12024 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12025
12026         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12027         and libgraphics to build on Cygwin.
12028
12029 2002-03-15  Juergen Vigna  <jug@sad.it>
12030
12031         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12032         inserting an Inset into the paragraph. I know this is not the best
12033         fix but we already use current_view in CutAndPaste so we will remove
12034         all of it's using at the same time.
12035
12036         * buffer.C (sgmlError): deactivated function till it is rewritten in
12037         the right mode, now it can create problems.
12038
12039         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12040         before accessing it.
12041
12042 2002-03-14  Juergen Vigna  <jug@sad.it>
12043
12044         * undo_funcs.C (textHandleUndo): do the right thing when updating
12045         the inset after the undo/redo.
12046
12047         * text2.C (setCursor): just some testcode for #44 not ready yet.
12048
12049         * undo_funcs.C (textHandleUndo): set the next() and previous()
12050         pointers of the paragraph to 0 before deleting otherwise we have
12051         problems with the Paragraph::[destructor].
12052
12053         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12054         on a paragraph insertion.
12055
12056 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * buffer.C (asciiParagraph): use += operator for char append to
12059         string.
12060
12061         * paragraph.C (getFontSettings): compare >= not just >
12062         (highestFontInRange): ditto
12063         (setFont): ditto
12064
12065 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12066
12067         * paragraph.C: change several algorithm to be more appripriate for
12068         the problem domain. This is lookip in FontList and in the InsetList.
12069
12070 2002-03-13  André Pönitz <poenitz@gmx.net>
12071
12072         * commandtags.h:
12073         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12074
12075 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * commandtags.h:
12078         * LyXAction.C:
12079         * lyxfunc.C:
12080         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12081
12082 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * Painter.C (display): anon helper function, adjust code for this
12085         change.
12086         (pixmap): remove function.
12087
12088         * Painter.h: remove private display variable.
12089
12090         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12091
12092 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12093
12094         * WorkArea.[Ch]: remove figinset_canvas cruft.
12095
12096 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * lyxtextclass.C (operator): add one item cache optimization.
12099
12100         * bufferlist.h: doxy changes
12101
12102         * bufferlist.C: ws changes
12103
12104         * DepTable.[Ch] (ext_exist): place const in the right spot.
12105
12106         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12107         call resizeInsets.
12108         (workAreaExpose): call resizeInsets when the with BufferView changes.
12109         (Dispatch): adjust for protectedBlank removal
12110         (specialChar): call updateInset if the insert went ok.
12111
12112         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12113         specialChar instead.
12114
12115         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12116
12117         * BufferView.h: doxy change
12118
12119         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12120
12121         * lyxtextclass.C (operator[]): remove non-const version
12122         (defaultLayout): remove non-const version
12123
12124 2002-03-12  Juergen Vigna  <jug@sad.it>
12125
12126         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12127         did resize the LyXText too.
12128
12129         * buffer.C (readLyXformat2): set layout information on newly allocated
12130         paragraphs.
12131
12132         * tabular.C (OldFormatRead): set layout information on the paragraph.
12133
12134 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12135
12136         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12137
12138 2002-03-11  Juergen Vigna  <jug@sad.it>
12139
12140         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12141         plainly wrong.
12142         (resizeCurrentBuffer): force also the insets to resize themselfes.
12143         (moveCursorUpdate): fixed up for InsetText.
12144
12145 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12146
12147         * commandtags.h:
12148         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12149         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12150         value of Dialogs::tooltipsEnabled().
12151         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12152
12153 2002-03-08  Juergen Vigna  <jug@sad.it>
12154
12155         * BufferView_pimpl.C (updateInset): update inset inside inset also
12156         if it isn't inside theLockingInset().
12157
12158 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * buffer.C (asciiParagraph): redo some of the word and line length
12161         handling.
12162         (getLists): look for Caption instead of caption.
12163
12164 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * buffer.C (Buffer): initialize niceFile to true
12167         (makeLaTeXFile):
12168         (makeLinuxDocFile):
12169         (makeDocBookFile): make sure niceFile is true on exit
12170
12171 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12172
12173         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12174
12175 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12176
12177         * LyXSendto.C: remove.
12178         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12179         * lyx_gui.C: remove now-redundant comment.
12180         * ColorHandler.h: remove forward declaration of class WorkArea.
12181         * lyxfunc.C: remove #include "WorkArea.h".
12182
12183 2002-03-07  Juergen Vigna  <jug@sad.it>
12184
12185         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12186         got moved away with the DEPM and also set the inset_owner always
12187         right which before could have been omitted.
12188
12189 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12190
12191         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12192         wanted layout is not found.
12193
12194 2002-03-07  Juergen Vigna  <jug@sad.it>
12195
12196         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12197
12198 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12199
12200         * paragraph.C (breakParagraph): use default layout not layout of
12201         prev paragraph.
12202         (Paragraph): clear ParagraphParameters.
12203
12204 2002-03-06  Juergen Vigna  <jug@sad.it>
12205
12206         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12207         otherwise it would not be a valid lenght. Fixed a special case in
12208         the minipage compatibility read where we end the document with a
12209         minipage.
12210
12211         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12212         was set as it could be 0 for InsetTexts first entry.
12213
12214 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * paragraph.C (writeFile): if layout is empty write out
12217         defaultLayoutName().
12218
12219         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12220         file without named layout we set layout to defaultLayoutName().
12221
12222 2002-03-06  Juergen Vigna  <jug@sad.it>
12223
12224         * CutAndPaste.C (copySelection): set layout for new paragraph.
12225
12226         * text.C (prepareToPrint): leave ERT inset left aligned
12227         (leftMargin): don't indent paragraphs inside ERT insets
12228
12229 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12230
12231         * paragraph.C (breakParagraph): dont call clear do the work manually
12232
12233         * paragraph.[Ch] (clear): remove function
12234
12235 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12236
12237         * paragraph.C (Paragraph): dont call clear, the work has already
12238         been done.
12239
12240         * lyxtextclass.C (operator): assert if n is empty
12241
12242         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12243         work manually instead.
12244
12245 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * BufferView_pimpl.C: protect selectionLost against text == 0
12248
12249 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12250
12251         * text.C (breakParagraph): fix a setting layout to '0' problem.
12252
12253 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12254
12255         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12256         final location of file, for the included files, and graphics.
12257
12258 2002-03-05  Juergen Vigna  <jug@sad.it>
12259
12260         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12261
12262 2002-03-04  Juergen Vigna  <jug@sad.it>
12263
12264         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12265
12266         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12267         last column of multicolumn cells.
12268         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12269
12270 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12271
12272         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12273         file if it doesn't go to a temporary file.
12274
12275         * buffer.C (sgmlOpenTag):
12276         (sgmlCloseTag):  remove extra newline insertion.
12277
12278 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * text.C (getRowNearY): comment out debug msg
12281
12282 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * text2.C: first -> first_y
12285
12286         * text.C (getRowNearY): add some attemts at a possible
12287         optimization, not working.
12288
12289         * tabular.[Ch]: add BufferParams to several function so that newly
12290         created paragraph can be initialized to he default layotu for the
12291         buffers textclass.
12292
12293         * tabular-old.C (ReadOld): add buf->params to call of Init
12294
12295         * screen.C: rename text->first to text->first_y
12296
12297         * paragraph.C (breakParagraph): always set layout in the broken
12298         paragraph
12299
12300         * lyxtextclass.C (Read): remove lowercase
12301         (hasLayout): ditto
12302         (operator): ditto
12303         (delete_layout): ditto
12304
12305         * lyxtext.h: rename first -> first_y
12306
12307         * lyxlayout.C (Read): remove lowercase
12308         (name): ditto
12309         (setName): ditto
12310         (obsoleted_by): ditto
12311
12312         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12313
12314         * buffer.C (insertErtContents): add params are to InsetERT
12315         (parseSingleLyXformat2Token): add code to check if a paragraphs
12316         layout really exist.
12317         (parseSingleLyXformat2Token): add params to several inset
12318         constructors
12319         (asciiParagraph): remove lowercase, do the layout comparisons with
12320         no_case
12321
12322         * BufferView_pimpl.C (cursorNext): first -> first_y
12323         (resizeCurrentBuffer): first -> first_y
12324         (updateScrollbar): first -> first_y
12325         (scrollCB): first -> first_y
12326         (workAreaMotionNotify): first -> first_y
12327         (workAreaButtonPress): first -> first_y
12328         (checkInsetHit): first -> first_y
12329         (cursorPrevious): first -> first_y
12330         (cursorNext): first -> first_y
12331         (Dispatch): add buffer_->params to severl inset contructors
12332
12333 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12334
12335         * lyxlayout.C (Read): remove some debug info that I forgot.
12336
12337         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12338         clean up the code slightly.
12339         (makeLinuxDocFile): ditto
12340         (makeDocBookFile): ditto
12341
12342         * text2.C: layout as string
12343
12344         * text.C: layout as string
12345
12346         * paragraph_pimpl.C: layout as string
12347
12348         * paragraph.[Ch]: layout as string
12349
12350         * lyxtextclasslist.[Ch]: layout as string
12351
12352         * lyxtextclass.[Ch]: layout as string
12353
12354         * lyxtext.h: layout as string
12355
12356         * lyxlayout.[Ch]: layout as string
12357
12358         * lyx_cb.C: layout as string
12359
12360         * bufferview_funcs.C: layout as string
12361
12362         * bufferparams.C: layout as string
12363
12364         * buffer.C: layout as string
12365
12366         * LyXView.[Ch]: layout as string
12367
12368         * LaTeXFeatures.[Ch]: layout as string
12369
12370         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12371
12372         * BufferView_pimpl.C: change current_layout to string, remove
12373         lyx::layout_type.
12374         (Dispatch):
12375         (smartQuote):
12376         (insertInset):
12377         (workAreaButtonRelease): layout as string
12378
12379         * BufferView2.C (unlockInset): adjust
12380
12381         * vspace.C (asLatexCommand): use an explict temp variable.
12382
12383 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * Makefile.am: use FRONTEND_*
12386
12387 2002-03-01  Juergen Vigna  <jug@sad.it>
12388
12389         * tabular.C (SetWidthOfMulticolCell): changed to something better
12390         I hope but still work in progress.
12391         (recalculateMulticolumnsOfColumn): renamed function from
12392         recalculateMulticolCells as it is more appropriate now.
12393         (SetWidthOfCell): calculate multicols better.
12394
12395 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12398
12399         * lyxfunc.C (processKeySym): print sequence also if it is
12400         `deleted' (complete)
12401
12402         * kbsequence.C (print): print sequence even if it is deleted
12403         (complete would be a better word, actually).
12404
12405         * lyxfunc.C (dispatch): print complete options after a prefix key
12406
12407         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12408
12409 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12410
12411         * text2.C (setCharFont): eliminate setCharFont code duplication.
12412
12413 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12416         LFUN_TABULAR_FEATURE (bug #177)
12417
12418 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12419
12420         * Makefile.am: remove figure.h
12421
12422 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12423
12424         * Bufferview_pimpl.C:
12425         * CutAndPasteC:
12426         * LaTeX.C:
12427         * LyXSendto.C:
12428         * buffer.C:
12429         * bufferlist.C:
12430         * converter.C:
12431         * language.C:
12432         * lyxfunc.C:
12433         * lyxvc.C:
12434         * paragraph.C:
12435         * text.C:
12436         * text2.C: remove #include "lyx_gui_misc.h".
12437
12438         * LaTeX.C: added #include <cstdio>
12439
12440 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12441
12442         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12443         that the paragraph following this one can have.
12444
12445         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12446
12447         * vspace.C (asLatexCommand): fix bogus gcc warning
12448
12449         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12450
12451 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12452
12453         * text2.C (setLayout): get rid of redundant code
12454
12455 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12456
12457         * text2.C (incDepth): make sure depth cannot be increased beyond
12458         reasonable values.
12459
12460 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12461
12462         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12463         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12464
12465         * PainterBase.h (image):
12466         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12467         a LyXImage const *.
12468
12469 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * BufferView.C:
12472         * BufferView.h:
12473         * BufferView_pimpl.C:
12474         * BufferView_pimpl.h:
12475         * LaTeXFeatures.C:
12476         * LyXAction.C:
12477         * LyXView.C:
12478         * Makefile.am:
12479         * UpdateList.h:
12480         * UpdateList.C:
12481         * buffer.C:
12482         * figure.h:
12483         * figureForm.C:
12484         * figureForm.h:
12485         * figure_form.C:
12486         * figure_form.h:
12487         * lyx_cb.C:
12488         * lyx_gui.C:
12489         * lyx_gui_misc.C:
12490         * lyxfunc.C:
12491         * sp_base.h:
12492         * sp_ispell.h:
12493         * sp_pspell.h:
12494         * sp_spell.C: remove fig inset, and the crap house of
12495           cards that follows it
12496
12497 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12498
12499         * Makefile.am:
12500         * lyxserver.C:
12501         * os2_defines.h:
12502         * os2_errortable.h:
12503         * nt_defines.h: move .h into support/
12504
12505         * vms_defines.h: remove
12506
12507         * WorkArea.C: add space in debug output
12508
12509         * text2.C:
12510         * paragraph.C:
12511         * buffer.C: add WITH_WARNINGS
12512
12513         * vc-backend.h:
12514         * vc-backend.C:
12515         * bufferlist.C: s/retrive/retrieve/, add docs
12516
12517         * vspace.h:
12518         * vspace.C:
12519         * kbmap.h:
12520         * lyxlength.h:
12521         * lyxgluelength.h:
12522         * length_common.h:
12523         * chset.h:
12524         * chset.C: add docs
12525
12526         * lyxgui.C: add ID to X error handler
12527
12528         * lyxtestclass.c: fix typo
12529
12530 2002-02-26  Juergen Vigna  <jug@sad.it>
12531
12532         * tabular_funcs.C (write_attribute): changed so that some default
12533         attributes are not written at all.
12534         (getTokenValue): set default values before trying to read the
12535         value so we have the return value always set as default if we don't
12536         find the token we search for.
12537
12538         * tabular.C (Write): write bools as bools not as strings!
12539
12540 2002-02-22  Juergen Vigna  <jug@sad.it>
12541
12542         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12543         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12544
12545         * text.C (leftMargin): don't add an indent for paragraphs inside
12546         tabular cells (fix #208).
12547
12548 2002-02-21  José Matos  <jamatos@fep.up.pt>
12549
12550         * tabular.C (docBook): fixed support for long tables.
12551
12552 2002-02-20  Juergen Vigna  <jug@sad.it>
12553
12554         * text2.C (getFont): get the drawing font of the Inset if this
12555         paragraph is inside an inset (only important for InsetERT for now).
12556
12557         * buffer.C (insertErtContents): use new lanugage params in ERT
12558         constructor.
12559
12560         * CutAndPaste.C: commenting out seemingly uneeded code.
12561
12562 2002-02-19  Allan Rae  <rae@lyx.org>
12563
12564         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12565         Iterators might be simple to use but they also get invalidated.
12566         (removeAutoInsets): renamed saved cursor tracking variables and added
12567         some comments to clarify what everything does.
12568
12569 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12570
12571         * Chktex.C:
12572         * LaTeX.C:
12573         * LyXSendto.C:
12574         * converter.C:
12575         * lyx_cb.C:
12576         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12577         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12578
12579         * lyxfunc.C:
12580         * vc-backend.h: remove #include "support/syscall.h"
12581
12582         * LaTeX.C:
12583         * LyXSendto.C:
12584         * converter.C: rearrange #includes in Lars' approved fashion.
12585
12586         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12587         forward declare class Timeout in the header file.
12588
12589         * XFormsView.C: changes due to the above.
12590
12591         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12592         similar to LyXView.
12593
12594         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12595         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12596
12597 2002-02-18  José Matos  <jamatos@fep.up.pt>
12598
12599         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12600         insets contents.
12601
12602 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12603
12604         * a lot of small ws changes
12605         * add a lot of using std::XXX
12606         * use std construcs some places where approp.
12607         * use some exisint stuff from lyxfunctional where approp.
12608         * Make file changes to use partial linking (lets test this now...)
12609
12610 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12611
12612         * Chktex.C:
12613         * buffer.C:
12614         remove #include "support/syscontr.h" as it's redundant. Always has been.
12615
12616         * Chktex.C:
12617         * LaTeX.C:
12618         * LyXSendto.C:
12619         * converter.C:
12620         * lyx_cb.C:
12621         * vc-backend.C:
12622         change Systemcalls::System to Systemcalls::Wait and
12623         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12624         No change of functionality, just reflects the stripped down Systemcalls
12625         class.
12626
12627 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12628
12629         * debug.[Ch]: add a GRAPHICS type to the enum.
12630
12631 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12634
12635         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12636         there is an inset.
12637
12638 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12639
12640         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12641         match the changes below.
12642
12643         * text2.C (toggleInset): if there is not editable inset at cursor
12644         position, try to see if cursor is _inside_ a collapsable inset
12645         and close it.
12646
12647 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12648
12649         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12650         document menu has a nice checkbox
12651
12652 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * lyxlength.C (asLatexString): change PW to output as percent of
12655         \textwidth.
12656
12657         * lengthcommon.C: change '%' to 't%'
12658
12659         * lyxfunc.C (dispatch): a few comments from Martin
12660
12661 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * WorkArea.h:
12664         * WorkArea.C:
12665         * BufferView_pimpl.h:
12666         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12667           the X selection.
12668
12669 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * vspace.C (inPixels): fix compiler warning
12672
12673 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12674
12675         * lyxfunc.C (getStatus): fix status message for disabled commands.
12676
12677 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * BufferView_pimpl.C: fix crash on close buffer
12680         during selection (#227)
12681
12682 2002-01-27  Herbert Voss  <voss@lyx.org>
12683
12684         * buffer.C: link old Figure to new graphic inset
12685
12686 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12687
12688         * FontLoader.C (getFontinfo): Change the latex font names in order
12689         to match the names of type1inst.
12690
12691 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12694
12695         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12696         (extchanged): ditto
12697         (ext_exist): ditto
12698         (remove_files_with_extension): ditto
12699         (remove_file): ditto
12700         (write): ditto
12701
12702         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12703         document is smaller than the work area height. Do not initialize
12704         static variables to 0.
12705
12706 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12707
12708         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12709
12710         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12711         LFUN_LAYOUT_PARAGRAPHS.
12712
12713         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12714         tabular. It is possible to provide a possible cell, which will
12715         typically be the actcell from the corresponding insettabular
12716
12717         * lyxfunc.C (getStatus): small cleanup; disable
12718         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12719         true
12720
12721 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12724
12725         * paragraph.C (startTeXParParams):
12726         (endTeXParParams): new methods. The LaTeX code to
12727         start/end paragraph formatting
12728         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12729         empty (fixes bug #200)
12730
12731         * vspace.C (inPixels): adapt to the change below
12732         (inPixels): [later] more cleanups (remove unused variables)
12733
12734         * lyxlength.C (inPixels): change to use a width and a height as
12735         parameter.
12736
12737 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12738
12739         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12740         Replaced with \paperwidth
12741
12742         * DepTable.C (insert): add std:: qualifier
12743
12744 2002-01-18  Allan Rae  <rae@lyx.org>
12745
12746         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12747         updated also?
12748
12749         * text.C (drawInset): Turned out I didn't know enough about how
12750         rebreaking worked.  This fixes most of the redraw problems.  I see
12751         an occasional cursor trail when a line is broken now and the cursor
12752         placement can seem out by a few pixels also after a rebreak.
12753
12754 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12755
12756         * buffer.C (parseSingleLyXformat2Token): update because minipage
12757         width is now a LyXLength
12758
12759         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12760
12761         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12762         math insets
12763
12764 2002-01-17  Juergen Vigna  <jug@sad.it>
12765
12766         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12767
12768         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12769         is set correctly and the inset is updated correctly.
12770
12771 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12774         the beginning of the loop.
12775
12776 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12777
12778         * lyxrc.C: improve help for use_scalable_fonts
12779
12780 2002-01-17  Allan Rae  <rae@lyx.org>
12781
12782         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12783
12784 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12785
12786         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12787         make sure to set their inset_owner to the right value (bug #171)
12788
12789 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12790
12791         * DepTable.h
12792         * DepTable.C: Implement mtime checking to reduce time spent doing
12793         CRCs.
12794
12795 2002-01-16  Juergen Vigna  <jug@sad.it>
12796
12797         * tabular.C (GetAdditionalHeight): one of error fixed.
12798
12799         * lyxrc.C (output): small fix in writing use_pspell.
12800
12801 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12802
12803         * sp_base.h: #include LString.h
12804
12805 2002-01-16  Allan Rae  <rae@lyx.org>
12806
12807         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12808         Can someone check this please?
12809
12810         * text.C (drawInset): It was possible that p.row would be removed by
12811         breakAgainOneRow upsetting a few other settings.  There may be another
12812         small tweak possible by setting need_break_row = 0 when p.row has been
12813         removed but I don't know enough about the logic here.
12814
12815 2002-01-15  Allan Rae  <rae@lyx.org>
12816
12817         * text.C (insertChar): removed conditional truism.
12818
12819         * BufferView2.C (removeAutoInsets): More tweaks.
12820         cur_par_prev could be a stray pointer.  Check for trailing empty line
12821         in case last line was cur_par and only had an error inset on it.
12822
12823 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12826         absolute
12827
12828         * vc-backend.C (most methods):
12829         * exporter.C (Export):
12830         * converter.C (convert):
12831         (runLaTeX):
12832         * LyXSendto.C (SendtoApplyCB):
12833         * lyxfunc.C (dispatch):
12834         (menuNew):
12835         (open):
12836         (doImport):
12837         * lyx_cb.C (AutoSave):
12838         (InsertAsciiFile):
12839         * BufferView_pimpl.C (MenuInsertLyXFile):
12840         * buffer.C (runChktex): use Buffer::filePath().
12841
12842         * buffer.h: rename filename to filename_; rename filepath to
12843         filepath_ and make it private
12844         (filePath): new method
12845
12846         * buffer.C (writeFile): use fileName()
12847         (getLatexName):
12848
12849         * lyx_main.C (init): fix starting  of LyX when the binary is a
12850         link from so,ewhere else.
12851
12852         * minibuffer.C: include <cctype> for isprint
12853
12854 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12855
12856         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12857         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12858         name clash with InsetCollapsable's width function.
12859
12860 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * lastfiles.C: include <iterator>
12863
12864 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12865
12866         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12867         std::count.
12868
12869         * buffer.C (makeLaTeXFile): ditto.
12870         Also make loop operation more transparent.
12871
12872 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12873
12874         * ToolbarDefaults.C: remove trailing comma closing namespace.
12875
12876         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12877
12878         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12879         as in WorkArea.
12880
12881         * trans.C (Load): comment out unused variable, allowed.
12882
12883 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12884
12885         * minibuffer.[Ch] (append_char): new method to recieve input from the
12886         drop-down completion browser. If a key was pressed, then recieve this
12887         char and append it to the existing string.
12888         (peek_event): modify the positioning data passed to the completion
12889         browser so that it can be placed above the minibuffer rather than below.
12890 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * LyXAction.C (init): alloe error-next for readonly documents.
12893
12894         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12895         count.
12896
12897 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12898
12899         * bufferlist.C (readFile): create the buffer _after_ checking that
12900         the file exists.
12901
12902         * lyxfunc.C (verboseDispatch): fix handling of arguments
12903
12904         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12905
12906         * lyxrc.C: use string::erase() instead of initializing to "".
12907
12908
12909 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12910
12911         * BufferView_pimpl.h:
12912         * BufferView_pimpl.C:
12913         * WorkArea.h:
12914         * WorkArea.C:
12915         * text2.C: tell X when we have made a selection for copying
12916
12917 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12918
12919         * BufferView_pimpl.C (MenuInsertLyXFile):
12920         * lyxfunc.C (menuNew):
12921         (open):
12922         (doImport): add shortcuts to directory buttons
12923
12924         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12925         open a float)
12926
12927         * lyxfunc.C (setStatusMessage):
12928         (getStatusMessage): new methods
12929         (getStatus):use setStatusMessage instead of setErrorMessage
12930         (dispatch): when function is disabled, set error message here
12931         [instead of in getStatus previously]
12932
12933         * BufferView_pimpl.C (workAreaButtonRelease): update
12934         toolbar/menubar here too.
12935
12936 2002-01-13  Allan Rae  <rae@lyx.org>
12937
12938         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12939         Now seems indestructible.  Remaining task is to audit all other
12940         code affected by deleteEmptyParagraphMechanism.  One small quirk
12941         left is that an empty document with an error in the preamble can
12942         be made to report an error but no error box appears.  I don't know
12943         where it goes.
12944         (removeAutoInsets): Improved comments.
12945
12946 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * Thesaurus.h:
12949         * Thesaurus.C: update for Aiksaurus 0.14
12950
12951 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * text2.C (firstParagraph): removed member function, all uses
12954         replaces with ownerParagraph
12955         (redoParagraphs): here
12956         (updateInset): here
12957         (toggleAppendix): here
12958         * BufferView2.C (insertErrors): here
12959         (setCursorFromRow): here
12960
12961 2002-01-13  Allan Rae  <rae@lyx.org>
12962
12963         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12964         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12965         There is still a way to segfault this although you may have to do this
12966         multiple times: Have an InsetERT with an unknown command in it.
12967         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12968         <down-arrow>, <Enter> again, View->DVI, BANG!
12969
12970         * text2.C (setCursor):
12971         (deleteEmptyParagraphMechanism):
12972         * lyxtext.h (setCursor):
12973         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12974         Making use of the return value may help fix other bugs.
12975
12976 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12977
12978         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12979
12980         * LyXView.C (updateMenubar): call MenuBar::update here
12981         (updateToolbar): but not here
12982         (showState): do not update toolbar/menubar
12983
12984         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12985         should need to care about that.
12986
12987         * lyxfunc.C (verboseDispatch): simplify a bit
12988         (getStatus): have a version which takes a pseudoaction, and
12989         another which requires a (kb_action,string).
12990
12991         * LyXAction.C (retrieveActionArg): make it work also when action
12992         is not a pseudo-action.
12993         (getActionName): simplify a bit
12994         (helpText):
12995
12996 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12997
12998         * lyxfunc.C (verboseDispatch): new families of methods with
12999         several ways to specify a command and a bool to indicate whether
13000         the command name and shortcut should be displayed in minibuffer
13001         (eventually, we could extend that to a finer bitmask like
13002         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13003         (dispatch): the pristine dispatch command which just, well,
13004         dispatchs! Note it still sets its result to minibuffer; I'm not
13005         sure we want that.
13006
13007         * lyxfunc.h: remove setHintMessage
13008
13009         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13010
13011 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13012
13013         * BufferView_pimpl.C (specialChar): delete new inset if we have
13014         not been able to insert it.
13015
13016         * kbmap.C: revert to using int instead of kb_action, since all we
13017         are dealing with is pseudo-actions.
13018
13019         * LyXAction.C (searchActionArg): change to return int instead of
13020         kb_action, since the result is a pseudoaction.
13021
13022 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13023
13024         * buffer.C (insertErtContents): Fix (partially) the font bug.
13025
13026 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13027
13028         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13029         as the other one is broken on my machine!
13030
13031 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13032
13033         * commandtags.h:
13034         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13035
13036 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13037
13038         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13039         reflect their actual use. Provide compatibility code for older lyxrc
13040         files.
13041
13042         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13043         FL_NORMAL_STYLE.
13044         change names of popup font variables in line with the changes to lyxrc.C
13045
13046 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13047
13048         * buffer.C (asciiParagraph): avoid outputing a word twice after
13049         an inset.
13050
13051         * lyxrc.C (getDescription): document that document_path and
13052         template_path can be empty.
13053
13054 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13055
13056         * LaTeXFeatures.C (getMacros):
13057         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13058
13059         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13060
13061         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13062         getPackages.
13063         (getPackages): rename feature "floats" to "float". Use an array to
13064         iterate over 'simple' features (i.e. just a \usepackage). Add
13065         handling of "amsmath" (renamed from "amsstyle").
13066
13067 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13068
13069         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13070         features list.
13071
13072 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13075         FuncStaus::FuncStatus & FuncStaus::some_method().
13076
13077 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13078
13079         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13080         of the func_satus stuff. Edited and massaged in various ways by
13081         JMarc.
13082
13083         * lyxfunc.C (getStatus): use FuncStatus
13084
13085 2002-01-08  Juergen Vigna  <jug@sad.it>
13086
13087         * text.C (nextBreakPoint): use function Inset::isChar().
13088
13089         * paragraph.C (TeXOnePar): use function
13090         Inset::forceDefaultParagraphs.
13091
13092         * buffer.C (latexParagraphs): use function
13093         Inset::forceDefaultParagraphs.
13094
13095 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13096
13097         * lyx_gui.C (init): set the style of the menu popups to
13098         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13099
13100 2002-01-07  Juergen Vigna  <jug@sad.it>
13101
13102         * text.C (setHeightOfRow): small fix
13103         (prepareToPrint): don't look at alignment if we don't have the place
13104         for doing it.
13105
13106 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13107
13108         * box.C: New file. Move the Box methods and functions out of box.h,
13109         following Lars' suggestion.
13110
13111 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13112
13113         * box.h: #include "support/LOstream.h", needed for inlined function.
13114
13115         * lyxtextclass.C:
13116         * lyxtextclasslist.C: added some using std declarations.
13117
13118 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * box.h: make signed dimensions to allow insets wider than
13121           the screen (bug #162)
13122
13123         * BufferView_pimpl.C: add some insetHit debug
13124
13125 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * vc-backend.C: add FIXME
13128
13129 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13130
13131         * lyxfunc.C (getStatus): enable code for showing math font status
13132         in toolbar/menu.
13133
13134 2002-01-07  Juergen Vigna  <jug@sad.it>
13135
13136         * text.C (nextBreakPoint): removed debug output not needed anymore.
13137
13138 2002-01-06  Juergen Vigna  <jug@sad.it>
13139
13140         * text.C (nextBreakPoint): fixed up this function we had this bug
13141         since ever but now hopefully we break row better.
13142         (insertChar): we have to check if an inset is the next char as it
13143         could now happen that a large inset is causing a break.
13144
13145 2002-01-05  Juergen Vigna  <jug@sad.it>
13146
13147         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13148         if it doesn't like to be drawed.
13149
13150 2002-01-04  Juergen Vigna  <jug@sad.it>
13151
13152         * BufferView2.C (lockInset): forgot to set a cursor.
13153
13154         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13155
13156 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13157
13158         * FormMathsPanel.C:
13159         * FormMathsPanel.h
13160         * MathsSymbols.C:
13161         * form_maths_panel.C:
13162         * form_maths_panel.h:
13163         * form_maths_panel.fd: implemented sub- and super- buttons in math
13164         panel.
13165
13166         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13167         (or ^ space) to be used as in TeX (req'd by André).
13168
13169         * lyxfunc.C: Allow ^ and _ again to be used both as
13170         super/subscript (mathed) and as themselves (in text).
13171
13172 2002-01-03  Allan Rae  <rae@lyx.org>
13173
13174         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13175         "LyX" or the filename of the current buffer if it has one.  This is a
13176         modified form of John Levon's patch.
13177
13178         * XFormsView.C (setWindowTitle): also set icon title.
13179
13180         * LyXView.h (setWindowTitle): signature changed.
13181         * XFormsView.h (setWindowTitle): ditto.
13182
13183 2002-01-02  Juergen Vigna  <jug@sad.it>
13184
13185         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13186
13187 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * screen.C (topCursorVisible): introduce a temp var for
13190         text->cursor.row(), handle the case where this row is null. (kindo
13191         hachish)
13192
13193         * text2.C (setCursor): add a couple of asserts.
13194
13195         * paragraph.h (inset_iterator): add -> operator
13196
13197         * paragraph.[Ch] (autoDeleteInsets): remove member function
13198
13199         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13200         cursor pos correctly and handle inset deletion by itself.
13201         (insertErrors): move iterator declaration out of for expression
13202
13203         * lyxtextclass.C: add <algorithm>
13204
13205         * Makefile.am: added the new files to sources, removed layout.C
13206
13207         * layout.C: removed file
13208
13209         * layout.h: remove LYX_DUMMY_LAYOUT
13210
13211         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13212         layout.
13213
13214         * lyxlayout.[Ch]:
13215         * lyxtextclass.[Ch]:
13216         * lyxtextclasslist.[Ch]: new files
13217
13218         * include order changes to a lot of files, also changes because of
13219         the six new files.
13220
13221 2001-12-27  Juergen Vigna  <jug@sad.it>
13222
13223         * buffer.C (asciiParagraph): more fixes.
13224
13225         * tabular.C (ascii): make ascii export support export of only the
13226         data separated by a column-delimiter.
13227         (ascii): better support for ascii export.
13228
13229         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13230
13231 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * tabular_funcs.C: use a "using std::getline" instead of the
13234         previous fix from Angus (necessary for cxx + lyxstring)
13235
13236 2001-12-24  Juergen Vigna  <jug@sad.it>
13237
13238         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13239
13240         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13241         problems. First check a minipage also if we have some ert-contents
13242         (not only on par->size(), second set the right depth of the paragraph
13243         on the relink to the root-paragraph-list!
13244
13245         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13246         which then did not anymore update the main paragraphs on undo/redo!
13247
13248 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13249
13250         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13251         code. Support all font-changing funcs (even those which are not in
13252         menu currently). Support for reporting font settings in
13253         mathed (disabled until Andre provides a function on mathed's side).
13254
13255         * func_status.h (toggle): small helper function to set toggle
13256         state on a flag.
13257
13258 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13259
13260         * tabular_funcs.C: getline -> std::getline
13261
13262 2001-12-21  Juergen Vigna  <jug@sad.it>
13263
13264         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13265         accessed and could be 0 (I couldn't generate this but it seems
13266         Michael could!).
13267
13268 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13269
13270         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13271         * tabular_funcs.h: here and include iosfwd
13272
13273 2001-12-20  Juergen Vigna  <jug@sad.it>
13274
13275         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13276         inside inset but undo_par was.
13277
13278 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * Thesaurus.C: always include <config.h> in sources.
13281
13282         * Painter.h:
13283         * lyxlookup.h:
13284         * box.h: do not include <config.h> in header files
13285
13286         * text.C (paintLastRow): remove unused variable
13287
13288         * text.C (transformChar):
13289         (insertChar):
13290         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13291
13292         * Painter.C (text):
13293         * font.C (width): rewrite to use uppercase() instead of
13294         islower/toupper.
13295
13296         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13297
13298 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13299
13300         * lyxfind.C: clean up of find failure position change
13301
13302 2001-12-20  Juergen Vigna  <jug@sad.it>
13303
13304         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13305
13306         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13307         (TeXRow): added to LaTeX a single tabular row.
13308         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13309         (Latex): simplified and finally good LT-h/f support.
13310         (various_functions): just small adaptions for LT-h/f support.
13311
13312         * tabular_funcs.[hC]: added and moved here all not classfunctions
13313         of LyXTabular.
13314
13315 2001-12-19  Juergen Vigna  <jug@sad.it>
13316
13317         * tabular.[Ch]: better support for longtabular options (not finished
13318         yet!)
13319
13320 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13321
13322         * text.C (paintLastRow): use the label font instead of the font of
13323         the last character to compute the size of *_BOX. This makes more
13324         sense and avoids a crash with empty paragraphs.
13325         Use Painter::rectangle to draw EMPTY_BOX.
13326
13327 2001-12-19  Juergen Vigna  <jug@sad.it>
13328
13329         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13330         the paragraphs if the replaced paragraph is not the first one!
13331         Tried to delete not used paragraphs but does not work yet so for
13332         now it's inside #ifdef's and by default off!
13333
13334 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13335
13336         * MenuBackend.C: include "lyx_main.h" instead of declaring
13337         lastfiles (actually was declared as LastFiles* instead of a
13338         scoped_ptr).
13339
13340 2001-12-17  Juergen Vigna  <jug@sad.it>
13341
13342         * tabular.C (AppendColumn): applied John's fix
13343
13344 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13345
13346         * BufferView.h:
13347         * BufferView.C:
13348         * BufferView_pimpl.h:
13349         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13350
13351         * Makefile.am:
13352         * box.h: new start of class for above
13353
13354         * lyxfunc.C: ignore space-only minibuffer dispatches.
13355           Show the command name when it doesn't exist
13356
13357         * minibuffer.C: don't add empty lines to the history
13358
13359         * minibuffer.C: add a space on dropdown completion
13360
13361 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * text.C: fix line above/below drawing in insets
13364
13365 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * lyxlength.C (LyXLength): Initialize private variables.
13368
13369 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13370
13371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13372         when inserting error insets.
13373
13374 2001-12-13  Juergen Vigna  <jug@sad.it>
13375
13376         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13377         actually sometimes the before-paragraph.
13378         (setUndo): don't clear the redostack if we're not actually undoing!
13379
13380 2001-12-06  Juergen Vigna  <jug@sad.it>
13381
13382         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13383         and fixed redoing of main paragraph, so we can use it now ;)
13384
13385         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13386
13387 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13388
13389         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13390         Juergen's request
13391
13392 2001-12-13  André Pönitz <poenitz@gmx.net>
13393
13394         * undostack.[Ch]:
13395         * undo_func.C: minor cleanup
13396
13397 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13400         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13401         font in urw-fonts package which is marked as -urw-fontspecific and
13402         does not work (incidentally, changing the encoding in the
13403         fonts.dir of this package to -adobe-fontspecific fixes the
13404         problem).
13405
13406         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13407         is a crash when undoing first paragraph (Juergen, please take a
13408         look). THis does not mean the undo fix is wrong, just that it
13409         uncovers problems.
13410
13411         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13412         the (Paragraph*) version when needed instead of duplicating the
13413         code.
13414
13415         * text.C (workWidth): use Inset::parOwner to find out where the
13416         inset has been inserted. This is a huge performance gain for large
13417         documents with lots of insets. If Inset::parOwner is not set, fall
13418         back on the brute force method
13419
13420         * paragraph_pimpl.C (insertInset):
13421         * paragraph.C (Paragraph):
13422         (cutIntoMinibuffer): set parOwner of insets when
13423         inserting/removing them
13424
13425         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13426
13427 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13428
13429         * commandtags.h:
13430         * LyXAction.C:
13431         * lyx_main.C:
13432         * lyxfunc.C:
13433         * mathed/formulabase.C:
13434         * mathed/math_cursor.[Ch]:
13435         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13436
13437
13438 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * lyxlength.[Ch] (operator!=): new function
13441
13442 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13443
13444         * text.C (workWidth): use Inset::parOwner to find out where the
13445         inset has been inserted. This is a huge performance gain for large
13446         documents with lots of insets. If Inset::parOwner is not set, fall
13447         back on the brute force method
13448
13449         * paragraph_pimpl.C (insertInset):
13450         * paragraph.C (Paragraph):
13451         (cutIntoMinibuffer): set parOwner of insets when
13452         inserting/removing them
13453
13454         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13455
13456 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13457
13458         * tabular-old.C (getTokenValue):
13459         * tabular.C (getTokenValue):
13460         (write_attribute): new versions for LyXLength
13461         (everywhere): adjust the use of widths
13462
13463         * tabular.h: change the type of widths from string to LyXLength
13464
13465 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13466
13467         * paragraph.C: fixed missing line number count when exporting
13468         Environments to LaTeX file
13469
13470         * buffer.C: added informational message for checking line numbers.
13471
13472 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13473
13474         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13475         paragraph, do the 'double space' part, but not the 'empty
13476         paragraph' one.
13477
13478         * text.C (workWidth): small optimization
13479         (getLengthMarkerHeight): use minimal size for negative lengths.
13480
13481 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13482
13483         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13484
13485         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13486
13487 2001-12-11  André Pönitz <poenitz@gmx.net>
13488
13489         * FontLoader.C:
13490         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13491
13492 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * text2.C: keep selection on a setFont()
13495
13496 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * lyx_cb.C: another bv->text misuse, from insert label
13499
13500 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * kbsequence.h:
13503         * kbsequence.C: re-instate nmodifier mask
13504
13505 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * lyx_main.h: make lyxGUI private.
13508
13509 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * lyxfind.C: place the cursor correctly on failed search
13512
13513 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13514
13515         * text.C (getLengthMarkerHeight): for small heights, the arrows
13516         are not always on top/bottom of the text
13517         (drawLengthMarker): smaller arrows; take the left margin in
13518         account; draw also vfills.
13519         (paintFirstRow):
13520         (paintLastRow): remove special code for vfill and standard spaces,
13521         since everything is handled in drawLengthMarker now.
13522
13523 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * buffer.C (insertErtContents): try to handle font and language
13526         interaction a bit better.g
13527
13528         * ColorHandler.C (updateColor): change the hash to cover the whole
13529         LColor enum, ws cleanup
13530         (getGCLinepars): ditto
13531         (getGCLinepars): only lookup in the linecache once.
13532
13533 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13534
13535         * iterators.C (operator++): Make the iterator more robust
13536
13537         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13538         (John's patch)
13539         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13540
13541 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13542
13543         * lyxtext.h:
13544         * text.C: better added space drawing
13545
13546 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * LyXView.C:
13549         * BufferView2.C: fix layout combo update on inset unlock
13550
13551 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * Makefile.am: don't compile unused files
13554
13555 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13556
13557         * lyxfunc.C:
13558         * commandtags.h:
13559         * LyXAction.C: remove old LFUN_LAYOUTNO
13560
13561 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * paragraph_pimpl.h:
13564         * paragraph_pimpl.C: isTextAt() doesn't need font param
13565
13566 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * lyxlex.h:
13569         * lyxlex.C: little cleanup
13570
13571 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13572
13573         * BufferView_pimpl.C: fix insertAscii for insets
13574
13575 2001-12-05  Juergen Vigna  <jug@sad.it>
13576
13577         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13578         set the right font on the "multi" paragraph paste!
13579
13580 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13581
13582         * trans_decl.h:
13583         * trans_mgr.[Ch]:
13584         * trans.[Ch]:
13585         * lyxgluelength.C:
13586         * lyxlength.C: remove out-commented code.
13587
13588         * BufferView_pimpl:
13589         * CutAndPaste.C:
13590         * DepTable.C:
13591         * buffer.C:
13592         * chset.C:
13593         * lastfiles.C:
13594         * lyxlex.C:
13595         * lyxlex_pimpl.C:
13596         * lyxserver.C:
13597         * screen.C:
13598         * tabular-old.C:
13599         * tabular.C:
13600         * text.C:
13601         * trans_mgr.C:
13602         * vc-backend.C: change "while(" to "while ("
13603
13604         * lyxlength.[Ch]: add zero function to check if length is zero or
13605         not
13606         * lyxgluelength.C: use it
13607
13608 2001-12-05  Allan Rae  <rae@lyx.org>
13609
13610         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13611         Works for 2.95.3, from what I understand of Garst's reports this should
13612         work for other g++ versions.  We're screwed if the abs(int) definition
13613         changed between bugfix releases of gcc.
13614
13615 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * text.C: fix chapter label offset !
13618
13619 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13620
13621         * lyxtext.h:
13622         * text.C: fix hfill at end of line, clean up
13623
13624 2001-12-04  Juergen Vigna  <jug@sad.it>
13625
13626         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13627         that we force an update of the inset and it's owners if neccessary.
13628
13629 2001-12-03  Juergen Vigna  <jug@sad.it>
13630
13631         * text.C (rowLast): simplified code
13632
13633 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13634
13635         * lyxfunc.C: fix show options on timeout
13636
13637 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * screen.C (topCursorVisible): scroll half a page when the cursor
13640         reached top of bottom of screen
13641
13642 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13643
13644         * minibuffer.C: deactivate on loss of focus
13645
13646 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * vspace.[Ch] (operator!=): add operator.
13649
13650 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13651
13652         * BufferView_pimpl.C: refuse to open an inset when
13653         there's a selection.
13654
13655 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13656
13657         * BufferView_pimpl.C: allow to click on RHS of full row insets
13658
13659 2001-11-30  Juergen Vigna  <jug@sad.it>
13660
13661         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13662         insets for undo reasons.
13663
13664 2001-11-28  André Pönitz <poenitz@gmx.net>
13665
13666         * vspace.[Ch]: cosmetical changes
13667
13668 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13669
13670         * LyXAction.h:
13671         * LyXAction.C:
13672         * lyxfunc.h:
13673         * lyxfunc.C:
13674         * kbmap.h:
13675         * kbmap.C:
13676         * lyxrc.C:
13677         * kbsequence.h:
13678         * kbsequence.C: part re-write of old kb code
13679
13680         * Painter.C:
13681         * WorkArea.C: remove Lgb_bug_find_hack
13682
13683 2001-11-30  José Matos <jamatos@fep.up.pt>
13684
13685         * buffer.C (makeDocBookFile): add a comment to point a hack.
13686         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13687         Fixed a double write of labels.
13688
13689 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13690
13691         * LaTeX.C:
13692         * LaTeX.h Fixed bug in LaTeX class where it would not
13693         re-run latex if no depfiles were changed, but the .dvi was removed.
13694
13695 2001-11-28  André Pönitz <poenitz@gmx.net>
13696
13697         * all the files from the change on 2001/11/26:
13698         use lyx::layout_type instead of LyXTextClass::size_type
13699         use lyx::textclass_type instead of LyXTextClassList::size_type
13700
13701 2001-11-29  Juergen Vigna  <jug@sad.it>
13702
13703         * text.C: added support for paragraph::isFreeSpacing()
13704
13705         * buffer.C: same as above
13706
13707         * paragraph.h: inserted isFreeSpacing() function to enable
13708         FreeSpacing inside InsetERT.
13709
13710         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13711         of the paragraph's in the cut/copy buffer to 0!
13712
13713         * text2.C (removeRow): remove the assert as it can!
13714
13715         * lyxtext.h: added helper function firstRow returning firstrow and
13716         made firstrow private again.
13717
13718         * BufferView2.C (lockInset): don't relock if we're already locked!
13719
13720         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13721         the only paragraph.
13722         (removeRow): added Assert::(firstrow)
13723
13724         * debug.C: forgot to add INSETTEXT here.
13725
13726 2001-11-28  Juergen Vigna  <jug@sad.it>
13727
13728         * sp_spell.C (initialize): changed error text to more general
13729         spellchecker command use (not only ispell!)
13730
13731         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13732
13733         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13734
13735 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13736
13737         * vspace.C: initialise lyxgluelength on failure
13738
13739 2001-11-28  Allan Rae  <rae@lyx.org>
13740
13741         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13742         declaration & definition that looks like a function declaration.
13743
13744 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13745
13746         * BufferView2.C (copy):
13747         (copyEnvironment): do not clear the selection when doing a copy.
13748
13749         * text.C (paintFirstRow): compilation fix
13750
13751 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13752
13753         * tabular.C (Latex): correct line count when writing latex.
13754
13755 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * paragraph_pimpl.h:
13758         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13759           bug a bit
13760
13761 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13762
13763         * text.C:
13764         * LColor.h:
13765         * LColor.C: change vfillline->added_space
13766
13767         * text.C: add markers and text for added space
13768
13769         * vspace.C: fix comment
13770
13771 2001-11-28  André Pönitz <poenitz@gmx.net>
13772
13773         * paragraph.C: whitespace changes
13774         * all the other files from the change on 2001/11/26:
13775         change *::pos_type into lyx::pos_type
13776
13777 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13778
13779         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13780         language of the document when inserting error insets.
13781
13782 2001-11-26  André Pönitz <poenitz@gmx.net>
13783
13784         * BufferView_pimpl.[Ch]:
13785         *       CutAndPaste.C:
13786         * buffer.[Ch]:
13787         * lyxcursor.[Ch]:
13788         * lyxfind.C:
13789         * lyxfunc.C:
13790         * lyxrow.[Ch]:
13791         * paragraph.[Ch]:
13792         * paragraph_pimpl.[Ch]:
13793         * sp_spell.C:
13794         * text.C:
13795         * text2.C: reduce header dependencies, introduce type for positions
13796
13797 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13798
13799         * <various>: change to use Alert.h
13800
13801 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13802
13803         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13804         when encountering an unknown token.
13805         (readLyXformat2): Show an error message if there were unknown tokens.
13806
13807 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13808
13809         * BufferView2.C:
13810         * BufferView_pimpl.C:
13811         * buffer.C:
13812         * paragraph.h:
13813         * text.C:
13814         * text2.C: use par->isInset()
13815
13816 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13817
13818         * paragraph_pimpl.h:
13819         * paragraph_pimpl.C: cleanup
13820
13821 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * text2.C (removeRow):
13824         * text.C (setHeightOfRow): remove useless (and costly) call to
13825         getRow.
13826
13827 2001-11-20  Allan Rae  <rae@lyx.org>
13828
13829         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13830         Now need Inset*::checkInsertChar() to return true for appropriate
13831         cases so that the characters in the minibuffer will actually be
13832         inserted.
13833
13834 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13835
13836         * text.C: change the order of the includes.
13837         (workWidth): initialize it at once.
13838         (workWidth): make maxw unsigned
13839         (setHeightOfRow): remove unused variable (inset)
13840         (selectSelectedWord): remove unused variable (inset)
13841         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13842
13843 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13846         server is not running.
13847         (openConnection):
13848         (closeConnection): add debug info when server is disabled.
13849
13850         * ColorHandler.C (getGCForeground): send debug message to GUI
13851         channel.
13852
13853         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13854
13855         * kbmap.C (bind): modify because return conventions of
13856         kb_sequence::parse have changed.
13857
13858         * kbsequence.C (parse): only ignore spaces and not any stupid
13859         control character. This avoids tests like s[i] <= ' ', which are
13860         guaranteed to fail with 8bit characters and signed chars.
13861         Change return code to string::npos when there have been no error
13862         (0 was a bad idea when error is at first character)
13863
13864 2001-11-14  José Matos  <jamatos@fep.up.pt>
13865
13866         * buffer.h:
13867         * buffer.C (simpleDocBookOnePar): removed unused argument.
13868
13869 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13872         insets which are part of a word. Paragraph::isLetter takes care of
13873         that now. Use Paragraph::isInset to identify insets.
13874         (selectSelectedWord): do not test for hyphenation break.
13875
13876         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13877         that protected spaces are considered as spaces.
13878
13879         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13880         Inset::isLetter.
13881
13882 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * lyxserver.h:
13885         * lyxserver.C: fix it. and small cleanup.
13886
13887 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13888
13889         * BufferView_pimpl.C: use inline helpers
13890
13891         * LaTeXFeatures.h:
13892         * LaTeXFeatures.C: fix typos
13893
13894         * Spacing.h:
13895         * Spacing.C: move spacing_string into class
13896
13897         * ToolbarDefaults.C: move stuff into namespace anon
13898
13899         * layout.h: update enum
13900
13901         * lyxfunc.C: use better debug
13902
13903         * minibuffer.h: fix typo
13904
13905         * debug.h:
13906         * debug.C:
13907         * WorkArea.C: add and use Debug::WORKAREA
13908
13909         * lyxtext.h:
13910         * text.C:
13911         * text2.C: code re-organisation, inline helpers
13912
13913 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13914
13915         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13916         std::vector.empty().
13917
13918 2001-11-09  Allan Rae  <rae@lyx.org>
13919
13920         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13921         '\n's after tables.  Tabular and ERT inset work now makes this no
13922         longer necessary.
13923
13924 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * minibuffer.h:
13927         * minibuffer.C: fix crash, improve drop-down completion
13928
13929 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13930
13931         * lyxserver.h:
13932         * lyxserver.C: invalidate fd's when doing endPipe()
13933
13934 2001-11-08  José Matos  <jamatos@fep.up.pt>
13935
13936         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13937         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13938
13939         * paragraph.h:
13940         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13941
13942 2001-11-07  José Matos  <jamatos@fep.up.pt>
13943
13944         * buffer.h:
13945         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13946         const qualifier.
13947
13948         * buffer.C (sgmlOpenTag):
13949         * buffer.C (sgmlCloseTag): removed debug info.
13950
13951         * buffer.h (sgmlOpenTag):
13952         * buffer.h (sgmlCloseTag): made public.
13953
13954 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13955
13956         * buffer.C (saveParamsAsDefaults):
13957         * lyx_cb.C (MenuLayoutSave): remove
13958
13959         * LyXAction.C (init):
13960         * commandtags.h:
13961         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13962
13963 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13964
13965         * buffer.C (setPaperStuff): removed from here...
13966
13967         * bufferparams.C (setPaperStuff): ... and moved there.
13968
13969 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13970
13971         * minibuffer.h:
13972         * minibuffer.C:
13973         * XFormsView.C: add support for drop-down completion
13974
13975 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13976
13977         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13978         commands.
13979
13980 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13981
13982         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13983         disabled.
13984
13985 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * lyx_main.C: change ref to known bugs
13988
13989 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13990
13991         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13992         to work around older babel problems.
13993
13994 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13995
13996         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13997
13998 2001-10-24  Juergen Vigna  <jug@sad.it>
13999
14000         * tabular-old.C (ReadOld): below variable changes reflected.
14001
14002         * tabular.[Ch]: added ltType struct for longtable header/footer
14003         defines and changed all instances where they are used. Added
14004         future support for double top/bottom rows.
14005
14006 2001-10-24  José Matos  <jamatos@fep.up.pt>
14007
14008         * buffer.h (docbookHandleCaption):
14009         * buffer.C (docbookHandleCaption): removed unused function.
14010         (makeDocBookFile): moved docbook supported version to v4.1.
14011
14012 2001-10-24  José Matos  <jamatos@fep.up.pt>
14013
14014         * tabular.h:
14015         * tabular.C (docbookRow): new function to export docbook code of a row.
14016         (DocBook): now honors the longtable flags.
14017
14018 2001-10-23  José Matos  <jamatos@fep.up.pt>
14019
14020         * LaTeXFeatures.h:
14021         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14022         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14023
14024         * buffer.C (makeLinuxDocFile):
14025         (makeDocBookFile): reworked the preamble, more clean, and with
14026         support for lyx defined entities. Changed the document declaration
14027         to be more XML friendly.
14028
14029         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14030         if we need to output XML that should be done with a filter.
14031
14032 2001-10-22  Juergen Vigna  <jug@sad.it>
14033
14034         * sp_pspell.h (class PSpell): add alive function needed in the
14035         controller to see if the spellchecker could be started.
14036
14037 2001-10-22  Juergen Vigna  <jug@sad.it>
14038
14039         * buffer.C (insertStringAsLines): modify the font for inserting
14040         chars in certain conditions by calling checkInsertChar(font).
14041
14042 2001-10-19  Juergen Vigna  <jug@sad.it>
14043
14044         * text.C (workWidth): use getRow instead of wrong algorithm.
14045         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14046
14047 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * lyxserver.h:
14050         * lyxserver.C:
14051         * lyx_main.h:
14052         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14053
14054 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14055
14056         * text.C (workWidth): do not search for the exact row when
14057         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14058         optimization for big documents.
14059
14060 2001-10-18  Juergen Vigna  <jug@sad.it>
14061
14062         * text.C (workWidth): new function with added Inset * parameter.
14063
14064 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14065
14066         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14067
14068         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14069         change return type of getColumnNearX.
14070
14071
14072         * text.C (changeRegionCase): use uppercase/lowercase instead of
14073         toupper/tolower.
14074         (leftMargin):
14075         (rightMargin): simplify code by factoring out the uses of
14076         textclasslist.
14077         (labelFill):
14078         (numberOfHfills):
14079         (setHeightOfRow):
14080         (appendParagraph): use Paragraph::size_type
14081
14082 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14083
14084         * vspace.C (asLatexString): add a missing break
14085
14086 2001-10-15  Herbert Voss  <voss@perce.de>
14087
14088         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14089
14090 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14091
14092         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14093         is not available.
14094
14095 2001-10-10  André Pönitz <poenitz@gmx.net>
14096
14097         * lyxfunc.C: removed greek_kb_flag.
14098
14099 2001-10-10  Herbert Voss  <voss@perce.de>
14100
14101         * lyx_main.C: delete global string help_lyxdir.
14102
14103 2001-10-09  Herbert Voss  <voss@perce.de>
14104
14105         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14106
14107         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14108
14109         * lyx_main.C: added global string help_lyxdir.
14110
14111         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14112
14113 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14114
14115         * lyxrc.C (set_font_norm_type): support iso8859-4
14116
14117 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14118
14119         * LaTeX.C (deplog): add another regex for MikTeX
14120
14121 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14122
14123         * lyxrc.C (set_font_norm_type): support iso8859-3
14124
14125 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14128
14129         * LaTeXFeatures.C: remove special case of french and index
14130
14131         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14132         before \begin{document}). This solves several incompatibilities.
14133
14134 2001-10-03  Garst Reese  <reese@isn.net>
14135
14136         * lyx_cb.C: change CheckTex error msg.
14137
14138 2001-10-03  José Matos  <jamatos@fep.up.pt>
14139
14140         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14141
14142 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * .cvsignore: update
14145
14146         * lyx_main.C (commandLineVersionInfo): use new style version info.
14147
14148         * buffer.C (writeFile):
14149         (makeLaTeXFile):
14150         (makeLinuxDocFile):
14151         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14152
14153         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14154
14155         * version.h: update to use stuff in version.C
14156
14157         * version.C.in: new file. Contains version information determined
14158         at compile time. This is a merging of version.h and
14159         version_info.h.in.
14160
14161 2001-10-03  Juergen Vigna  <jug@sad.it>
14162
14163         * BufferView_pimpl.C (update): don't change "dirty" status in
14164         updateInset call.
14165
14166 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14167
14168         * WorkArea.C (c-tor): re-position version string slightly.
14169
14170 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14171
14172         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14173         revert to previous code.
14174
14175         WorkArea.[Ch]: (show, destroySplash): methods removed.
14176
14177         WorkArea.C: rework code so that it's an amalgam of the codes before and
14178         after the splash screen was moved to WorkArea.
14179
14180 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * lyxrc.C (read):
14183         * vspace.C (inPixels):
14184         (lyx_advance):
14185         * kbmap.C (bind):
14186         * buffer.C (insertStringAsLines):
14187         (asciiParagraph): fix types to be large enough
14188
14189         * lyxlex_pimpl.h: change member status from short to int
14190
14191         * layout.h: fix type of endlabeltype
14192
14193         * kbmap.C (bind):
14194         * kbsequence.C (parse): change return type to string::size_type
14195
14196         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14197         variable
14198
14199         * Bullet.C (bulletSize):
14200         (bulletEntry): do not use short ints as parameters
14201
14202         * BufferView2.C (insertLyXFile): change a char to an int.
14203
14204         * WorkArea.C (WorkArea): remove unneeded floats in computation
14205
14206 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14209
14210         * paragraph.C (asString): Do not ignore newline/hfill chars when
14211         copying to the clipboard.
14212
14213 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14214
14215         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14216         after a multi-line inset.
14217
14218 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14219
14220         * paragraph.C (validate): Set NeedLyXFootnoteCode
14221
14222 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14223
14224         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14225         and decrease-error to decrease.
14226
14227 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14228
14229         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14230         it more readable (should be equivalent)
14231
14232 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14233
14234         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14235
14236 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14237
14238         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14239         of a cursor (row, etc.) after a character has been deleted
14240         (deleteEmptyParagraphMechanism): call the method above on _all_
14241         cursors held by the LyXText when a double space has been
14242         detected/deleted.
14243
14244 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14245
14246         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14247         pixmap.
14248         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14249
14250         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14251         background. Use greyOut() and the new show() methods to toggle between
14252         the foreground and background. Add code to remove the splash after
14253         its initial showing.
14254
14255         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14256         (create_forms): no longer call Dialogs::showSplash.
14257
14258 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14259
14260         * .cvsignore: add version_info.h
14261
14262 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14263
14264         * version_info.h.in: new file
14265
14266         * Makefile.am: add version_info.h.in
14267
14268         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14269         version_info.h instead of VERSION_INFO
14270
14271 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14272
14273         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14274         The ERT inset now returns string().
14275
14276 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14277
14278         * lyxtext.h, text.C (selectNextWord): renamed as
14279         selectNextWordToSpellcheck.
14280
14281         * text.C (selectNextWordToSpellcheck): Modified to not select
14282         words inside an ERT inset.
14283
14284 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * lyx_cb.C (MenuLayoutSave): change a bit the question
14287
14288         * sp_base.h: include <sys/types.h>
14289
14290 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14291
14292         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14293
14294 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14295
14296         * several files: fix typos in user-visible strings
14297
14298 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * text2.C (pasteSelection): do not set the selection, since it
14301         will be cleared later. Actually, the intent was to fix the way the
14302         selection was set, but I figured rmoving the code was just as good.
14303
14304 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14305
14306         * FontLoader.C (available): Check if font is available without
14307         loading the font.
14308
14309 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14310
14311         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14312
14313 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14314
14315         * lyxrc.[Ch]: added display_graphics variable and associated code.
14316
14317 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14318
14319         * bufferparams.C (hasClassDefaults): new method. Returns true if
14320         the buffer parameters correspond to known class defaults
14321
14322 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14323
14324         * XFormsView.C (show): set minimum size to the main window.
14325
14326 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * text2.C (copySelection):
14329         (cutSelection):
14330         * lyxfind.C (LyXReplace):
14331         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14332         LyXText::selectionAsString.
14333
14334         * paragraph.C (asString): add "label" argument to the second form
14335
14336         * text2.C (selectionAsString): add "label" argument and pass it to
14337         Paragraph::asString.
14338
14339 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14340
14341         * lyx_main.C (commandLineHelp): remove version information
14342
14343 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14344
14345         * lyx_main.C: add -version commandline option
14346
14347 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * paragraph.h: make the optional constructor arg required instead.
14350         some modifications to other files because of this.
14351
14352         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14353
14354         * lyxserver.C (C_LyXComm_callback): make it static
14355
14356         * lyx_main.C (error_handler): make it static
14357
14358         * lyx_gui.C (LyX_XErrHandler): make it static
14359
14360         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14361
14362         * WorkArea.C: make the extern "C" methods static.
14363
14364         * Makefile.am (lyx_LDADD): simplify
14365
14366 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14367
14368         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14369         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14370
14371         * LyXAction.C (init):
14372         * lyxfunc.C (dispatch): associated code removal.
14373
14374 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14375
14376         * lyxfont.h (isSymbolFont): shut off warning
14377
14378         * text.C (setHeightOfRow):
14379         (getVisibleRow): fix crash with empty paragraphs which have a
14380         bottom line
14381
14382 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14383
14384         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14385         code.
14386
14387 2001-09-04  José Matos  <jamatos@fep.up.pt>
14388         * buffer.C
14389         * buffer.h
14390         * tabular.C (docbook): rename docBook method to docbook.
14391
14392 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14393
14394         * Makefile.am: add dependencies to main.o.
14395
14396 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14397
14398         * FontLoader.C (available): Return false if !lyxrc.use_gui
14399
14400 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14401
14402         * FontInfo.C (query):
14403         * converter.C (view):
14404         * importer.C (Import):
14405         * exporter.C (Export): Can not -> cannot.
14406
14407 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14408
14409         * BufferView_pimpl.C: allow to create index inset even if
14410           string is empty
14411
14412 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14413
14414         * buffer.C (getLists): replace boost::tie code with an explicit pair
14415         as boost::tie can break some compilers.
14416
14417         * iterators.h: Added a std:: declaration to the return type of
14418         ParIterator::size.
14419
14420 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14421
14422         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14423           case.
14424
14425 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14426
14427         * iterators.[Ch]: New files. Provide paragraph iterators.
14428
14429         * buffer.C (changeLanguage): Use paragraph iterators.
14430         (isMultiLingual): ditto
14431
14432         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14433
14434 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14435
14436         * FontLoader.C: Support for cmr font.
14437
14438 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14439
14440         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14441         (available): New method.
14442
14443         * FontInfo.C (getFontname): Use scalable fonts even when
14444         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14445         found.
14446
14447 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14448
14449         * converter.C (Formats::view): reverted! Incorrect fix.
14450
14451 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14452
14453         * converter.C (Formats::view): only output the -paper option
14454         if the dvi viewer is xdvi, thereby fixing bug #233429.
14455
14456 2001-08-23  Herbert Voss  <voss@perce>
14457
14458         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14459
14460 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14461
14462         * Spacing.h (Spacing): Set space to Default on in the default
14463         constructor.
14464
14465 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * vc-backend.h (RCS::versionString): add RCS to version
14468         (CVS::versionString): add CVS to version
14469
14470         * vc-backend.C (scanMaster): do not add CVS to version.
14471         (scanMaster): do not add RCS to version
14472
14473         * lyxvc.C (versionString): new method
14474
14475         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14476
14477 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * Spacing.C (set): initialize fval
14480
14481 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14484         " or \.
14485
14486 2001-08-16  Juergen Vigna  <jug@sad.it>
14487
14488         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14489
14490 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14491
14492         * BufferView_pimpl.C:
14493         * figureForm.C:
14494         * lyxtext.h:
14495         * text2.C: setParagraph takes linespacing now
14496
14497 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14498
14499         * LyxAction.C: add internal LFUN_CITATION_INSERT
14500
14501         * LyXView.C: actually apply fix
14502
14503         * bufferlist.C: fix open non-existent file
14504
14505         * lyxfind.C: fix indentation
14506
14507         * lyxfunc.C: remove unneeded assert, fix typo
14508
14509 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * MenuBackend.C: use "Floatname List"
14512
14513 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14514
14515         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14516         when converting LaTeX layout to insetERT.
14517         Generate a non-collapsed float when reading old float
14518
14519 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14520
14521         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14522         ERT insets.
14523
14524 2001-08-13  Juergen Vigna  <jug@sad.it>
14525
14526         * text.C (fill): return 0 instead of 20 as this seems to be the more
14527         correct value.
14528
14529 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14532         lyxrc.font_norm.
14533
14534 2001-08-13  Juergen Vigna  <jug@sad.it>
14535
14536         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14537         casesensitive off.
14538         (SearchBackward): comment out the unlocking of the inset_owner this
14539         should not be needed!
14540
14541 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14542
14543         * Many files: Remove inherit_language, and add latex_language
14544
14545         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14546         collapsible insets.
14547
14548 2001-08-10  Juergen Vigna  <jug@sad.it>
14549
14550         * text.C (prepareToPrint): fixed hfill-width in draw!
14551
14552         * BufferView2.C (selectLastWord): save the selection cursor as this
14553         now is cleared in the function LyXText::clearSelection!
14554
14555 2001-08-08  Juergen Vigna  <jug@sad.it>
14556
14557         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14558         BACKSPACE type functions.
14559
14560         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14561         is only cutted from the document but not put in the cut-buffer, where
14562         still the old stuff should be.
14563
14564         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14565
14566         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14567
14568         * tabular.C (SetWidthOfCell): fixed special case where the width
14569         was not updated!
14570         (LeftLine): handle '|' in align_special.
14571         (RightLine): ditto
14572         (LeftAlreadyDrawed): ditto
14573         (SetWidthOfCell): ditto
14574
14575 2001-08-07  Juergen Vigna  <jug@sad.it>
14576
14577         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14578
14579 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14580
14581         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14582         * lyxlex.[hC]: ditto
14583
14584 2001-08-06  Juergen Vigna  <jug@sad.it>
14585
14586         * text.C (getVisibleRow): fix up row clearing a bit.
14587
14588 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * minibuffer.C: make sure the X server sees the changes in the input.
14591
14592 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14593
14594         * paragraph.C (getFont): split into...
14595         (getLabelFont): this
14596         (getLayoutFont): and this
14597         * paragraph_pimpl.C (realizeFont): calling this
14598
14599         * text2.C (getFont): split into...
14600         (getLayoutFont): this
14601         (getLabelFont): and this
14602         (realizeFont): all three calling this
14603
14604         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14605         files where used.
14606
14607 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14610
14611 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14612
14613         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14614         layouts from the Quote inset insertion.
14615
14616 2001-08-03  Juergen Vigna  <jug@sad.it>
14617
14618         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14619
14620         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14621         only if status not is already CHANGED_IN_DRAW (second level).
14622
14623         * text.C (draw): don't set the need_break_row when inside an
14624         InsetText LyXText.
14625
14626 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14627
14628         * buffer.C (parseSingleLyXformat2Token): handle more latex
14629         conversion cases.
14630
14631         * bufferview_funcs.[hC]: change function names to
14632         begin with small char, adjust other files.
14633
14634 2001-08-02  André Pönitz <poenitz@gmx.net>
14635
14636         * lyxfunc.C:
14637         BufferView_pimpl.C: remove broken special code for math-greek
14638
14639 2001-08-02  Juergen Vigna  <jug@sad.it>
14640
14641         * BufferView_pimpl.C (update): redone this function so that we
14642         update the text again if there was a CHANGE_IN_DRAW.
14643
14644         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14645         (drawFromTo): added a new internal bool which is used by draw() and
14646         redraw() function.
14647         (general): some cursor drawing problems fixed.
14648
14649 2001-08-01  Juergen Vigna  <jug@sad.it>
14650
14651         * lyxfind.C (LyXFind): fixed
14652         (SearchForward): ditto
14653         (SearchBackward): ditto
14654
14655         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14656         spurius drawing of the cursor in the main area.
14657
14658         * text2.C (status): small fix which could lead to a segfault!
14659         (clearSelection): remove unneeded BufferView param.
14660
14661 2001-08-01  André Pönitz <poenitz@gmx.net>
14662
14663         * lyxfunc.C: small change due to changed mathed interface
14664
14665 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14668
14669 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14670
14671         * lyxfunc.c: fail gracefully if file doesn't exist
14672
14673         * LyXSendto.C:
14674         * buffer.C:
14675         * lyxfunc.C:
14676         * BufferView_pimpl.C: IsDirWriteable() proto changed
14677
14678         * LyXView.C: fix updateWindowTitle() to store the last title
14679
14680 2001-07-31  Juergen Vigna  <jug@sad.it>
14681
14682         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14683         the font (wrong since using of Paragraph::highestFontInRange).
14684
14685         * paragraph.C (highestFontInRange): added a default_size parameter.
14686
14687         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14688         (setHeightOfRow): reformat
14689
14690 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * converter.[hC] + affected files: move to (inital-char)lowercase
14693         function names.
14694
14695         * ParagraphParameters.C (ParagraphParameters): remove commented code
14696
14697         * PainterBase.[Ch]: remove commented code
14698
14699         * LaTeXFeatures.h: add "bool floats" for float.sty
14700
14701         * LaTeXFeatures.C (LaTeXFeatures): init floats
14702         (require): handle float
14703         (getPackages): do it with floats
14704
14705 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * BufferView_pimpl.C (Dispatch): improve handling of
14708         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14709
14710         * commandtags.h: #include lyxfont.h here temporarily to avoid
14711         keybinding bug.
14712
14713         * bufferlist.h: include LString.h here.
14714
14715 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14716
14717         * text2.C (getStringToIndex): new method.
14718
14719 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14720
14721         * *: Reduced header file dependencies all over.
14722
14723 2001-07-30  Baruch Even  <baruch@lyx.org>
14724
14725         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14726
14727 2001-07-29  Baruch Even  <baruch@lyx.org>
14728
14729         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14730
14731 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * ParameterStruct.h (endif): add a default constructor to make
14734         sure that all variables is initialized.
14735
14736         * ParagraphParameters.C (ParagraphParameters): adjust
14737
14738 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14739
14740         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14741         index; also, check that there is something to index, and that it
14742         does not span over several paragraphs.
14743         (doubleClick): use WHOLE_WORD_STRICT for double click.
14744
14745         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14746
14747         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14748         scheme.
14749
14750 2001-07-26  Baruch Even  <baruch@lyx.org>
14751
14752         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14753         an InsetFig figure, backwards compatible reading of old figure code.
14754
14755 2001-07-27  Juergen Vigna  <jug@sad.it>
14756
14757         * text2.C: font.realize function adaption.
14758
14759         * text.C (draw): add a warnings lyxerr text if needed.
14760
14761         * layout.C: font.realize function adaption.
14762
14763         * language.C: add inherit_language and implement it's handlings
14764
14765         * bufferview_funcs.C (StyleReset): remove language parameter from
14766         font creation (should be language_inherit now).
14767
14768         * bufferparams.C (writeFile): handle ignore_language.
14769
14770         * paragraph.C (getFontSettings): the language has to be resolved
14771         otherwise we have problems in LyXFont!
14772
14773         * lyxfont.C (lyxWriteChanges): added document_language parameter
14774         (update): removed unneeded language parameter
14775
14776         * paragraph.C (validate): fixed wrong output of color-package when
14777         using interface colors for certain fonts in certain environments,
14778         which should not seen as that on the final output.
14779
14780 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14781
14782         * BufferView_pimpl.C:
14783         * Thesaurus.h:
14784         * Thesaurus.C:
14785         * Makefile.am:
14786         * commandtags.h:
14787         * LyXAction.C: add thesaurus support
14788
14789         * lyxfind.h:
14790         * lyxfind.C: add "once" parameter, for thesaurus, to not
14791           move to the next match
14792
14793 2001-07-26  Juergen Vigna  <jug@sad.it>
14794
14795         * lyxfont.C (realize): honor ignore_language too!
14796         (resolved): ditto.
14797
14798         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14799
14800         * text.C (draw): one place more for ignore_language to not draw
14801         itself!
14802
14803 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14804
14805         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14806
14807 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14808
14809         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14810         the minipage conversion problem.
14811
14812 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14813
14814         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14815         insert an inset.
14816
14817 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14818
14819         * BufferView.h: don't forward declare WorkArea
14820
14821         * BufferView.C: don't include WorkArea.h
14822
14823 2001-07-25  André Pönitz <poenitz@gmx.net>
14824
14825         * commandtags.h:
14826         * LyXAction.C:
14827         * lyxfunc.C:  new LFUN 'math-space'
14828
14829         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14830
14831 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14832
14833         * text2.C (toggleInset): call open/close
14834
14835 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14836
14837         * lyxfunc.C (dispatch): add debug for the disabled case
14838
14839         * font.C (buttonText): make similar to rectText
14840
14841         * buffer.C (readInset): comment out parsing of insetlist and
14842         insttheorem
14843
14844         * PainterBase.C (rectText): small correction
14845
14846         * BufferView_pimpl.C: comment out insettheorem and insetlist
14847         * LyXAction.C: ditto
14848         * commandtags.h: ditto
14849
14850 2001-07-24  Juergen Vigna  <jug@sad.it>
14851
14852         * text.C (draw): honor the ignore_language.
14853
14854         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14855
14856 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14857
14858         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14859         char inset.
14860
14861 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14862
14863         * lyxtext.h: remove unused (and unimplemented) methods
14864
14865 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14866
14867         * text.C (getVisibleRow): honor background color
14868
14869         * PainterBase.h:
14870         * Painter.h: remove default color argument for fillRectangle
14871
14872         * text.C (backgroundColor): new method
14873
14874 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * text.C (getVisibleRow): adjust
14877
14878         * font.[Ch] (rectText): new method, metrics
14879         (buttonText): new method, metrics
14880
14881         * PainterBase.[hC]: make rectText and buttonText always draw and take
14882         fewer paramteres.
14883
14884 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14885
14886         * ToolbarDefaults.C (read):
14887         * MenuBackend.C (read): allow escaping in all strings
14888
14889         * BufferView_pimpl.C (insertAndEditInset): new method.
14890         (Dispatch): use insertAndEditInset whenever appropriate.
14891
14892         * BufferView_pimpl.C (insertNote): removed
14893
14894         * BufferView_pimpl.C (smartQuote): new method, moved from
14895         BufferView; if an insetquote cannot be inserted, insert a '"'
14896         character instead.
14897
14898         * BufferView2.C: remove insertCorrectQuote();
14899
14900         * lyxfunc.C (getStatus): Add support for all remaingin
14901         inset-insert lfuns.
14902
14903         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14904
14905         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14906         command (necessary to pass " as parameter of self-insert.
14907
14908         * text.C (selectWordWhenUnderCursor):
14909         (selectWord): add word_location parameter
14910         (selectWordWhenUnderCursor): same + remove special code for word
14911         boundary.
14912         (selectNextWord): use kind() to guess type of insetspecialchar,
14913         not latex().
14914
14915         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14916         (insertErtContents): create ert insets as collapsed.
14917         (readInset): better compatibility code for Info inset.
14918
14919 2001-07-20  Juergen Vigna  <jug@sad.it>
14920
14921         * lyxfunc.C (dispatch): use always LyXFind now!
14922
14923         * text2.C (init): add a reinit flag so that the LyXText can be
14924         reinited instead of deleted and reallocated (used in InsetText).
14925
14926         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14927
14928         * text.C: ditto
14929
14930         * text2.C: ditto
14931
14932 2001-07-18  Juergen Vigna  <jug@sad.it>
14933
14934         * text.C (selectNextWord): handle insets inside inset by calling
14935         always the bv->text functions so that we can go up the_locking_inset!
14936
14937         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14938         in strange locations when inside an inset!
14939
14940         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14941         handling to include insets.
14942
14943         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14944
14945 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * LyXAction.C (init):
14948         * commandtags.h:
14949         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14950         LIGATURE_BREAK, since the name is so stupid.
14951
14952 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14953
14954         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14955         InsetInfos.
14956
14957         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14958
14959         * sp_form.[Ch]: remove.
14960
14961         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14962
14963         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14964         InsetInfo.
14965
14966         * src/buffer.C (readInset): ditto.
14967
14968 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14969
14970         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14971         menuSeparator(), endOfSentenceDot(), ldots() and
14972         hyphenationPoint(), which are therefore removed.
14973         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14974
14975         * LyXAction.C (init):
14976         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14977
14978         * paragraph.C (getWord): removed.
14979
14980         * BufferView_pimpl.C (Dispatch): use last word or selection for
14981         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14982
14983         * lyx_main.C (queryUserLyXDir): do not ask before creating
14984         user_dir, except if it has been named explicitely.
14985
14986 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14987
14988         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14989         a document of zero size.
14990
14991 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14992
14993         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14994         approriately in the c-tor and in require().
14995         (getPackages): output the appropriate LaTeX for natbib support.
14996
14997         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14998         variables "use_natbib" and "use_numerical_citations" when reading the
14999         LyX file.
15000         (readInset): read the various natbib cite commands.
15001         (validate): white-space change.
15002
15003         * bufferparams.[Ch]: new variables "bool use_natbib" and
15004         "bool use_numerical_citations".
15005         (writeFile): output them in the LyX file.
15006
15007 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15008
15009         * lyxfunc.C (getStatus): add support for all the inset insertion
15010         commands.
15011
15012         * text2.C (insertInset):
15013         * paragraph.C (insetAllowed):
15014         * BufferView_pimpl.C (insertInset): update to take in account the
15015         renaming of insertInsetAllowed
15016
15017         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15018
15019         * text2.C (getInset): new method. returns inset at cursor position.
15020
15021         * BufferView_pimpl.C (Dispatch): changes because of this.
15022
15023         * LyXAction.C (init): rename open-stuff to inset-toggle.
15024
15025         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15026
15027         * text2.C (toggleInset): renamed from openStuff; use
15028         Inset::open().
15029
15030 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15031
15032         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15033
15034         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15035
15036 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15037
15038         * buffer.C (readLyXformat2): Add filename to the error dialog
15039
15040 2001-07-18  Juergen Vigna  <jug@sad.it>
15041
15042         * tabular.C (GetCellNumber): put an assert here instead of the check!
15043
15044 2001-07-17  Juergen Vigna  <jug@sad.it>
15045
15046         * BufferView_pimpl.C (toggleSelection): adapted too.
15047
15048         * text.C (selectNextWord): adapted for use with insets.
15049         (selectSelectedWord): ditto
15050
15051 2001-07-17  Juergen Vigna  <jug@sad.it>
15052
15053         * sp_spell.C (PSpell): fix initialitation order.
15054
15055 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15056
15057         * paragraph.C: spacing
15058
15059 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15060
15061         * sp_spell.C: repair language selection for pspell
15062
15063 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15064
15065         * lyxfunc.h: change more methods to begin with lower char.
15066
15067 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15068
15069         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15070         for unknown layouts.
15071
15072 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15073
15074         * buffer.C (readLyXformat2): Generate an error dialog if there are
15075         unknown layouts.
15076
15077 2001-07-16  Juergen Vigna  <jug@sad.it>
15078
15079         * sp_spell.C: always compile ISpell part.
15080
15081         * lyxrc.C: added use_pspell entry and it's handling.
15082
15083 2001-07-13  Juergen Vigna  <jug@sad.it>
15084
15085         * sp_spell.C: removed double includes.
15086
15087 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15088
15089         Consistent use of Lsstream.h:
15090         * Lsstream.h: added using std::stringstream for consistencies sake.
15091
15092         * buffer.C: removed using std::stringstream
15093
15094         * lyxfont.C (stateText):
15095         * paragraph.C (asString):
15096         * text.C (selectNextWord, selectSelectedWord):
15097         * text2.C (setCounter):
15098         * vspace.C (asString, asLatexString):
15099         std::ostringstream -> ostringstream.
15100
15101 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15102
15103         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15104         * commandtags.h: add LFUN_HELP_ABOUTLYX
15105         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15106
15107 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15108
15109         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15110         cursorToggle()
15111         * lyx_gui_misc.C: remove spellchecker
15112         * lyxfunc.C: showSpellchecker
15113         * sp_base.h: added
15114         * sp_ispell.h: added
15115         * sp_pspell.h: added
15116         * sp_spell.C: added
15117         * sp_form.[Ch]: removed
15118         * spellchecker.[Ch]: removed
15119
15120 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15121
15122         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15123         is set.
15124         (simpleTeXSpecialChars): Simply print the input character without
15125         any special translation if pass_thru is set.
15126
15127         * layout.h: Added bool pass_thru to layout class for being able to
15128         implement pass through of a paragraph for Literate Programming.
15129
15130         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15131         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15132         * layout.C (Read): add "passthru" to list of layout tags and add
15133         code to set the pass_thru boolean when it is read.
15134
15135 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * trans_decl.h: remove allowed from KmodInfo
15138
15139         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15140         remove allowed code
15141         (Load): adjust
15142
15143         * paragraph_pimpl.C (erase): use boost::prior
15144
15145         * Painter.C (text): use data() instead of c_str() when length is
15146         also provided.
15147         * WorkArea.C (putClipboard): ditto
15148         * font.h (width): ditto
15149
15150         * BufferView2.C: use it-> instead of (*it). for iterators
15151         * texrow.C: ditto
15152         * paragraph_pimpl.C: ditto
15153         * paragraph.C: ditto
15154         * minibuffer.C: ditto
15155         * language.C: ditto
15156         * kbmap.C: ditto
15157         * encoding.C: ditto
15158         * counters.C: ditto
15159         * converter.C: ditto
15160         * chset.C: ditto
15161         * Variables.C: ditto
15162         * TextCache.C: ditto
15163         * MenuBackend.C: ditto
15164         * LyXAction.C: ditto
15165         * LColor.C: ditto
15166         * FloatList.C: ditto
15167         * DepTable.C: ditto
15168         * ColorHandler.C (LyXColorHandler): ditto
15169
15170 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15173
15174         * text2.C (openStuff): reintroduce this method (which had been
15175         nuked in NEW_INSETS frenzy).
15176
15177         * lyxfunc.C (Dispatch): when an action has not been handled, use
15178         its name in the error message, not its number.
15179
15180         * paragraph.C (inInset): change method name to begin with lowercase.
15181
15182         * undo_funcs.C:
15183         * text2.C: updates because of this.
15184
15185 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15186
15187         * ToolbarDefaults.C (add): add spaces in error message
15188
15189 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15190
15191         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15192         (readLyXformat2): rename return_par to first_par, use lyxlex's
15193         pushToken and remove the manual push handling.
15194         (parseSingleLyXformat2Token): add another ert comp. variable:
15195         in_tabular, rename return_par to first_par. handle newlines better
15196
15197 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15198
15199         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15200
15201 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15202
15203         * text2.C (getParFromID): removed
15204
15205         * buffer.C (getParFromID): new method moved form lyxtext.
15206         * BufferView2.C (insertErrors): adjust
15207         (setCursorFromRow): adjust
15208         * BufferView_pimpl.C (restorePosition): adjust
15209         * lyxfunc.C (Dispatch): adjust
15210         * undo_funcs.C (textUndo): adjust
15211         (textRedo): adjust
15212         (textHandleUndo): adjust
15213         (textHandleUndo): adjust
15214
15215 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15216
15217         * buffer.C: up' the LYX_FORMAT
15218
15219         * lyxfont.h: turn NO_LATEX on as default
15220
15221         * buffer.C (insertErtContents): new methods of tex style compability.
15222         (parseSingleLyXformat2Token): use it several places.
15223         * tabular.C (OldFormatRead): and here
15224
15225 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * text2.C: remove some commented code.
15228         reindent file.
15229
15230         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15231         * trans.C: changes because of the above.
15232
15233 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15234
15235         * text2.C (setCounter): Fix counters bug with bibliography layout.
15236
15237 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15238
15239         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15240         own member functions
15241         (simpleTeXSpecialChars): ditto
15242
15243 2001-07-06  Juergen Vigna  <jug@sad.it>
15244
15245         * a lot of files: changed the access to LyXText::status and the
15246         call of undo-functions.
15247
15248         * undo.[Ch]: added a inset_id to the undo informations.
15249
15250         * undo_funcs.[Ch]: added and moved here all undo functions.
15251
15252         * lyxtext.h: give the status enum a weight, made status_ a private
15253         variable and made accessor functions for it, removed the whole bunch
15254         of undo-functions as they are now in their own file, make some
15255         functions publically available. Added function ownerParagraph with
15256         int parameter.
15257
15258         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15259         made InInset() a const function, added getParFromID() function.
15260
15261         * buffer.[Ch]: added const version for inset_iterator functions,
15262         added getInsetFromID() function.
15263
15264         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15265         changed undo functions for new version.
15266
15267 2001-07-05  Juergen Vigna  <jug@sad.it>
15268
15269         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15270         unknow mechanism does not call the proper constructor but only this
15271         one also if I request the other!?
15272
15273 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15276
15277         * text2.C (LyXText): use initialization lists.
15278
15279         * lyxtext.h (Selection): initialize set_ and mark_
15280         (init): remove method
15281
15282 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15283
15284         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15285
15286 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15287
15288         * screen.[Ch]: change method names to begin with lowercase
15289
15290         * BufferView_pimpl.C (updateScrollbar): simplify further and
15291         hopefully make it a bit faster.
15292
15293 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15294
15295         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15296         calling directly xforms functions.
15297
15298         * Painter.C (Painter):
15299         * lyx_cb.C (MenuWrite):
15300         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15301         fl_display.
15302
15303         * lyx_gui.C: remove bogus guiruntime extern declaration.
15304
15305 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15306
15307         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15308         in NEW_INSETS
15309         (redoDrawingOfParagraph): ditto
15310         (redoParagraphs): ditto
15311         (cutSelection): don't create a object for CutAndPaste use the
15312         static method directly
15313         (pasteSelection): ditto
15314
15315         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15316         LyXview (+ rename)
15317
15318 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15319
15320         * modifications to some other files because of this.
15321
15322         * Makefile.am (lyx_SOURCES): add XFormsView
15323
15324         * XFormsView.[Ch]: new files
15325
15326         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15327         the main window. Move the gui dependent stuff to XFormsView
15328
15329 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * tabular.C (GetCellInset): update cur_cell also in the row/col
15332         version of this function.
15333
15334         * lyxfunc.C: no need to include figure_form.h here.
15335
15336         * FontLoader.h:
15337         * lyxfunc.h:
15338         * lyxscreen.h:
15339         * text2.C:
15340         * lyxvc.C: no need to include forms.h here.
15341
15342 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15345
15346         * lyxfunc.C (Dispatch):
15347         * Spacing.C (set):
15348         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15349         constructor argument.
15350
15351 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15352
15353         * paragraph.C (Paragraph): dont't clear, and just set layout.
15354         (makeSameLayout): use params's copy contructor.
15355
15356         * ParagraphParameters.[Ch] (makeSame): delete method
15357
15358 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15359
15360         * Variables.[Ch]: fix indentation, rename set to isSet
15361
15362 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15363
15364         * lyxfunc.C (Dispatch): fix typo
15365
15366 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15367
15368         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15369         upper_bound.
15370
15371         * bufferlist.C: include assert.h for emergencyWrite().
15372
15373 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15374
15375         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15376           give up at last (bug #425202) !
15377
15378 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15379
15380         * lyx_gui_misc.C:
15381         * sp_form.h:
15382         * sp_form.C:
15383         * spellchecker.h:
15384         * spellchecker.C: strip spellchecker options and bring up
15385           preferences tab instead
15386
15387 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15390         the istringstream constructor
15391
15392 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15393
15394         * paragraph.C (getLayout): fix return value
15395
15396         * paragraph.h: do not declare getLayout as inline.
15397
15398         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15399
15400 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * lyxcursor.h (operator<): new func
15403         (operator>): new func
15404         (operator>=): new func
15405         (operator<=): new func
15406
15407         * text.C (changeCase): use selection.start and selection.end
15408         (changeRegionCase): require from to be <= to. Require par to be a
15409         valid paragraph.
15410
15411         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15412
15413 2001-06-27  Juergen Vigna  <jug@sad.it>
15414
15415         * text.C (cursorLeftOneWord): changed to return the cursor and added
15416         overlay with BufferView * parameter which calls this one.
15417         (getWord): added
15418         (selectWord): use new getWord function.
15419         (changeCase): renamed from changeWordCase as and extended to work
15420         also on selections.
15421
15422         * lyxtext.h: added enum word_location
15423
15424         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15425         changeCase as this operates now also on selections.
15426
15427 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15428
15429         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15430
15431         * many files: send debug output to Debug::INFO instead of
15432         Debug::ANY.
15433
15434         * converter.C (View):
15435         (Convert):
15436         (Move): send debug output to Debug::FILES instead of console.
15437
15438 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15439
15440         * lyxfunc.C (getStatus): use func_status
15441
15442         * func_status.h: new header, describing the results of
15443         LyXFunc::getStatus;
15444
15445         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15446         LFUN_MATH_HALIGN.
15447
15448 2001-06-25  The LyX Project  <jug@sad.it>
15449
15450         * buffer.C (sgmlOpenTag):
15451         (sgmlCloseTag):
15452         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15453
15454 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15455
15456         * text2.C: remove some dead code
15457
15458         * tabular.C (GetCellInset): store the last cell checked (gotten)
15459
15460         * tabular.h: add the helper for the speedup
15461
15462         * lyxtext.h: remove some dead code
15463
15464 2001-06-26  The LyX Project  <Asger>
15465
15466         * paragraph.C: Change export to LaTeX of alignment to
15467         \begin{center} and family for better roundtrip work with reLyX.
15468
15469         * Tune the math drawing a bit.
15470
15471 2001-06-25  The LyX Project  <Asger>
15472
15473         * LColor.C (LColor): New color for math background. New color
15474         for buttons.
15475
15476 2001-06-25  The LyX Project  <jug@sad.it>
15477
15478         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15479
15480         * lyxfunc.C (Open):
15481         * bufferlist.C (newFile): do not restrict to files ending with
15482         .lyx
15483
15484         * BufferView_pimpl.C (MenuInsertLyXFile):
15485
15486 2001-06-24  The LyX Project  <jug@sad.it>
15487
15488         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15489         of compare_no_case
15490
15491 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * lyxtext.h: rename most methods to begin with a small char.
15494         Lots of changes because of this.
15495
15496         * paragraph.C (Paragraph): do not call fitToSize
15497         (erase): call Pimpl::erase
15498         (insertChar): call Pimpl::insertChar
15499         (insertInset): call Pipl::insertInset
15500         (breakParagraph): do not call fitToSize
15501         (breakParagraphConservative): do not call fitToSize
15502         (fitToSize): remove method
15503
15504         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15505
15506 2001-06-24  The LyX Project  <Asger>
15507
15508         * Fix Qt compilation^2
15509
15510 2001-06-24  The LyX Project  <jug@sad.it>
15511
15512         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15513         depthHook(getDepth()-1).
15514
15515         * paragraph.h:
15516         * ParagraphParameters.h:
15517         * ParameterStruct.h: change type of depth to unsigned int ==
15518         depth_type. Many adaptations to other files before of that.
15519
15520 2001-06-24  The LyX Project  <Asger>
15521
15522         * Fix Qt compilation.
15523
15524 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15525
15526         * paragraph.h: renamed several methods to begin with small letter.
15527         several changes to many parts of the code because of this.
15528
15529 2001-06-23  The LyX Project  <jug@sad.it>
15530
15531         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15532         rewritten to discard all double spaces when KeepEmpty is off
15533         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15534         to only handle newlines but not fiddle with spaces and friends.
15535
15536         * lyxfunc.C (MenuNew): when doing 'new from template', use
15537         template_path as default directory
15538
15539 2001-06-23  The LyX Project  <Asger>
15540
15541         * Clean-up of header file includes all over
15542         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15543
15544 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15545
15546         * paragraph.h: renamed from lyxparagraph.h
15547
15548 2001-06-23  Asger  <lyx@violet.home.sad.it>
15549
15550         * Buffer.h: Removed Buffer::resize
15551         * BufferList.h: Removed BufferList::resize
15552         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15553         the document lazily when we change the width, or the font settings.
15554
15555 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15556
15557         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15558
15559 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15560
15561         * buffer.h: remove out of date comment
15562
15563 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15564
15565         * lyxscreen.h:
15566         * screen.C: fix "theoretical" GC leak
15567
15568 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15569
15570         * LaTeX.C (scanAuxFile):
15571         (deplog): remove trailing \r when reading stream (useful under
15572         win32)
15573
15574 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15575
15576         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15577         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15578         and BufferView::theLockingInset(Inset*), so should use them and not
15579         access bv_->text->the_locking_inset directly.
15580
15581         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15582
15583 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15584
15585         * Makefile.am:
15586         * tex-defs.h: remove old unused file
15587
15588 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15589
15590         * BufferView_pimpl.C: fix typo, remove minibuffer message
15591           when buffer has loaded
15592
15593 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15594
15595         * lyxfunc.C (Dispatch): use stringstream
15596         (MenuNew): use stringstream
15597         (Open): use stringstream
15598
15599         * importer.C (Import): use stringstream
15600
15601         * bufferview_funcs.C (CurrentState): use stringstream
15602
15603         * LaTeX.C (run): use stringstream
15604
15605         * BufferView_pimpl.C (savePosition): use stringstream
15606         (restorePosition): use stringstream
15607         (MenuInsertLyXFile): use stringstream
15608
15609 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15610
15611         * BufferView.C:
15612         * Bullet.C:
15613         * ColorHandler.C:
15614         * FontInfo.C:
15615         * FontLoader.C:
15616         * LColor.C:
15617         * LaTeXFeatures.C:
15618         * Painter.C:
15619         * gettext.C:
15620         * lyx_gui_misc.C:
15621         * lyxserver.C:
15622         * vspace.C: removed // -*- C++ -*- as first line.
15623
15624         * lyxfind.h:
15625         * version.h: added // -*- C++ -*- as first line.
15626
15627 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15628
15629         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15630
15631         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15632         of string
15633
15634 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15635
15636         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15637         of floats.
15638
15639 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * gettext.C: include LString.h even when --disable-nls is on.
15642
15643 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15644
15645         * converter.h (Get): changed argument type from int to
15646         FormatList::size_type to avoid unnecessary conversion.
15647
15648         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15649         before using it.
15650
15651 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15652
15653         * gettext.h: include LString.h even when --disable-nls is on.
15654
15655 2001-06-07  Juergen Vigna  <jug@sad.it>
15656
15657         * text.C (BreakAgain): subst spaces with tabs.
15658
15659         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15660         (resizeInsetsLyXText): set force on resizeLyXText.
15661
15662 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15663
15664         * gettext.h (gettext_init):
15665         (locale_init): use a real definition instead of a macro
15666
15667 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15668
15669         * Bufferview_pimpl.C:
15670         * LColor.h:
15671         * LColor.C: further lcolor tidies
15672
15673 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15674
15675         * BufferView_pimpl.C (updateScrollbar): simplify.
15676
15677         * BufferView2.C: don't include insets/insetinfo.h, change
15678         prototype for insertInset and call the Pimpl version. let
15679         updateInset call Pimpl version.
15680
15681         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15682         gotoInset to BufferView::Pimpl
15683
15684 2001-06-01  Juergen Vigna  <jug@sad.it>
15685
15686         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15687         inside a LockingInset (is the update needed at all?).
15688
15689 2001-05-31  Juergen Vigna  <jug@sad.it>
15690
15691         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15692         here not the old one otherwise how should we compare it afterwards
15693         if it's the same!
15694
15695 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * lyxfont.C:
15698         * tabular.C:
15699         * tabular-old.C:
15700         * FontInfo.C: bring C functions into global namespace when
15701         necessary
15702
15703 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15704
15705         * LString.h: make sure config.h has been loaded before LString.h.
15706
15707         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15708         (one for each char read by EatLine!).
15709
15710         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15711         variables.
15712
15713 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15714
15715         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15716         to the same as the par we break from
15717
15718 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15719
15720         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15721
15722         * MenuBackend.C (expand): also create menu entries for wide
15723         versions of the floats.
15724
15725         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15726
15727         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15728
15729         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15730         frontends/Makefile.am
15731
15732         * text2.C: adjust
15733         * text.C: adjust
15734
15735
15736         * tabular.C (getTokenValue): add std::
15737
15738         * tabular-old.C (getTokenValue): add std::
15739         (getTokenValue): ditto
15740         (getTokenValue): ditto
15741
15742         * screen.C (ToggleSelection): adjust
15743
15744         * lyxtext.h: put selection cursors inside a Selection struct.
15745
15746         * lyxfunc.C (moveCursorUpdate): adjust
15747
15748         * lyxfont.C (latexWriteStartChanges): add std::
15749
15750         * lyxfind.C: adjust
15751
15752         * font.h: delete with(char const *, LyXFont const &)
15753
15754         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15755
15756         * FontInfo.C (getFontname): add std::
15757
15758         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15759         (workAreaButtonPress): adjust
15760         (tripleClick): adjust
15761         (update): adjust
15762         (moveCursorUpdate): adjust
15763         (Dispatch): adjust
15764
15765         * BufferView2.C (gotoInset): adjust
15766
15767 2001-05-30  Juergen Vigna  <jug@sad.it>
15768
15769         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15770         to check pspell I add this as default as I now have new pspell
15771         libraries and they seem to use this.
15772
15773 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15774
15775         * text2.C (CutSelection): make the cursor valid before the call to
15776         ClearSelection.
15777
15778 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15779
15780         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15781         relied on 0 terminated strings and other horrors. Bug found due to
15782         the new assert in lyxstring!
15783
15784         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15785         KP_ keys.
15786
15787 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15788
15789         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15790         to latinkeys.bind.
15791
15792         * lyxfunc.C (processKeySym): change method of getting to the
15793         self-insert char.
15794
15795         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15796         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15797         * BufferView_pimpl.[Ch]: here as private methods.
15798
15799 2001-05-28  Juergen Vigna  <jug@sad.it>
15800
15801         * text.C (SetHeightOfRow): added the update() call again as it is
15802         needed to initialize inset dimensions!
15803
15804 2001-05-16  Juergen Vigna  <jug@sad.it>
15805
15806         * text2.C (SetCharFont): Add new function with BufferView * and
15807         bool toggleall parameters for setting insets internal fonts.
15808         (SetFont): Freeze the undo as we may change fonts in Insets and
15809         all this change should be inside only one Undo!
15810
15811         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15812         setting font's in insets as for them we have the SetFont function!
15813
15814 2001-05-15  Juergen Vigna  <jug@sad.it>
15815
15816         * text2.C (ClearSelection): to be sure we REALLY don't have any
15817         selection anymore!
15818
15819         * tabular.C (TeXCellPreamble): fixed the left border problem for
15820         multicolumn cells.
15821
15822 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15823
15824         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15825         dependancy file
15826
15827 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15828
15829         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15830         LFUN_BREAKPARAGRAPH.
15831
15832         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15833         help test to "internal only", similar for LFUN_INSERT_URL
15834
15835         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15836         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15837         auto_region_delete and deadkeys.
15838
15839 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15840
15841         * LColor.h:
15842         * LColor.C: remove some dead entries, tidy a little
15843
15844 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15847         commented code.
15848         (Dispatch): implement LFUN_ESCAPE
15849
15850         * commandtags.h: add LFUN_ESCAPE
15851
15852         * LyXAction.C (init): add entry for LFUN_ESCAPE
15853
15854         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15855         Remove commented code.
15856         (insertNote): moved here
15857         (open_new_inset): moved here
15858
15859         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15860         BufferView_pimpl
15861
15862 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15863
15864         * kbmap.C (findbinding): clean it up and make it work correctly.
15865
15866         * lyx_main.C (init): do not pass argc and argv as parameters
15867
15868 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15869
15870         * buffer.C: fix path for OS/2 & Win32
15871
15872         * lyx_gui.C:
15873         * lyx_main:
15874         * lyx_main.C: Added os:: class.
15875
15876         * os2_defines.h: update
15877
15878 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15879
15880         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15881         better by trying again with reduced state.
15882
15883 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * lyxrc.C (read): print error about invalid key sequence only when
15886         debugging (because not all latinX keysyms are known to some X
15887         servers)
15888
15889         * kbsequence.C (getiso): add a few std:: qualifiers
15890         (getiso): comment out extra return statement.
15891
15892 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15893
15894         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15895         handling.
15896         (Dispatch): enhance the accent inset a bit. (not perfect)
15897
15898 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15901
15902 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15903
15904         * bufferlist.C (emergencyWrite): fix assert() call
15905
15906 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15907
15908         * text.C (InsertChar): Added trivial patch to only send the "you
15909         can not do multiple spaces this way" message once during a
15910         session.
15911
15912 2001-05-08  Baruch Even  <baruch@lyx.org>
15913
15914         * Makefile.am: Changed order of libraries to get LyX to link properly
15915         with the gnome frontend.
15916
15917 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15918
15919         * LaTeXFeatures.h: add a std:: qualifier
15920
15921 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * paragraph.C (String): use stringstream
15924
15925 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15926
15927         * paragraph.C (writeFile): remove footflag arg
15928
15929         * buffer.C (makeLaTeXFile): use stringstream
15930         (latexParagraphs): remove footnot gurba
15931
15932         * LaTeXFeatures.C (getPackages): use stringstream
15933         (getMacros): likewise
15934         (getTClassPreamble): likewise
15935         (getFloatDefinitions): new method
15936
15937         * paragraph.C (writeFile): reindent
15938         (Erase): reindent
15939
15940         * WorkArea.h: revert the xpos + etc changes.
15941
15942         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15943
15944         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15945
15946         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15947         (pasteSelection): likewise
15948         * text2.C (CreateUndo): likewise
15949
15950 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * minibuffer.C (peek_event): temporarily reduce the functionality
15953         of the minibuffer (to allow args on lfuns)
15954
15955         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15956         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15957
15958         * buffer.C (readInset): add compability reading of old float
15959         lists, add reading of new style float list.
15960         (readInset): avoid reevaluation of inscmd.getCmdName()
15961         (getLists): reindent
15962
15963         * MenuBackend.C (MenuItem): implement parsing of
15964         md_floatlistinsert and md_floatinsert.
15965         (expand::LastFiles): move initalizaton of iterators out of loop,
15966         avoid reevaluation.
15967         (expand::Documents): introduce typdedef vector<string> Strings,
15968         and use it.
15969         (expand::ExportFormats): introduce typedef vector<Format const *>
15970         Formats, and use it.
15971         (expand): implement FloatListInsert and FloatInsert.
15972
15973         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15974         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15975         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15976
15977         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15978         handling.
15979         (Dispatch::LFUN_FLOAT_LIST): implement
15980
15981 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15982
15983         * LaTeX.C (run): Fix problem with --export code.
15984
15985 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15986
15987         * BufferView.[Ch] (workarea): removed.
15988         (getClipboard) new method; wrapper for workarea()->getClipboard()
15989
15990         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15991         bug.
15992
15993         * WorkArea.h (width, height, xpos, ypos): These methods all
15994         returned the dimensions of the work_area sub-area of WorkArea,
15995         resulting in a position error if the WorkArea were resized. Now
15996         return the dimensions of the entire WorkArea.
15997
15998         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15999
16000 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16001
16002         * LaTeX.C (deplog): correct the syntax of regex reg1
16003
16004 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16005
16006         * undo.C: remove !NEW_INSETS cruft
16007
16008 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16009
16010         * text2.C: remove !NEW_INSETS cruft
16011
16012         * text.C: remove !NEW_INSETS cruft
16013
16014         * tabular.C: remove !NEW_INSETS cruft
16015
16016         * spellchecker.C: remove !NEW_INSETS cruft
16017
16018         * lyxtext.h: remove !NEW_INSETS cruft
16019
16020         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16021
16022         * lyxfunc.C: remove !NEW_INSETS cruft
16023
16024         * lyxfind.C: remove !NEW_INSETS cruft
16025
16026         * lyx_cb.C: remove !NEW_INSETS cruft
16027
16028         * figureForm.C: remove  !NEW_INSETS cruft
16029
16030         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16031
16032         * buffer.[Ch]: remove !NEW_INSETS cruft
16033
16034         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16035
16036         * CutAndPaste.C: remove !NEW_INSETS cruft
16037
16038         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16039
16040         * BufferView2.C: remove !NEW_INSETS cruft
16041
16042         * BufferView.h: remove !NEW_INSETS cruft
16043
16044 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16045
16046         * Lsstream.h: include LString.h before the sstream headers to
16047         fix problem with gcc 2.95.3 and lyxstring
16048
16049 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * lyx_main.C: add using directives when needed for C functions
16052         declared in std:: namespace.
16053
16054 2001-04-27  Juergen Vigna  <jug@sad.it>
16055
16056         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16057         (SetHeightOfRow): comment out the update call should not be needed!
16058
16059 2001-04-13  Juergen Vigna  <jug@sad.it>
16060
16061         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16062         (LyXTabular): tried to minimize operator= operations (and realized
16063         hopfully Lars wish).
16064
16065 2001-04-27  Juergen Vigna  <jug@sad.it>
16066
16067         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16068
16069 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16070
16071         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16072
16073         * buffer.C (readInset): hack to make listof algorithm work
16074
16075         * BufferView_pimpl.C: hack to make listof algorithm work
16076
16077 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16078
16079         * LyXAction.C: removed all !NEW_INSETS cruft
16080         (init): moved lfun_item in method
16081
16082         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16083
16084 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16085
16086         * BufferView2.C (theLockingInset): white space.
16087
16088 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16089
16090         * minibuffer.C: include <iostream>
16091
16092         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16093
16094         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16095
16096         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16097
16098         * text.[Ch] (TransposeChars): new method
16099
16100 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * call message directly through LyXView instead of through LyXFunc
16103         * BufferView2.C: adjust
16104         * BufferView_pimpl.C: adjust
16105         * FontLoader.C: adjust
16106         * buffer.C: adjust
16107         * bufferview_funcs.C: adjust
16108         * converter.C: adjust
16109         * figureForm.C: adjust
16110         * importer.C: adjust
16111         * lyx_cb.C: adjust
16112         * lyx_gui_misc.C: adjust
16113         * lyxfunc.C: adjust
16114         * lyxvc.C: adjust
16115         * text2.C: adjust
16116         + more files in subdirs
16117
16118         * lyxparagraph.h (size): move up int file
16119         (GetLayout): ditto
16120
16121         * adjust all uses of Assert to lyx::Assert.
16122
16123         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16124         lyxfunctional in namespace lyx
16125         * layout.C (hasLayout): ditto
16126         (GetLayout): ditto
16127         (GetLayout): ditto
16128         (delete_layout): ditto
16129         (NumberOfClass): ditto
16130         * converter.C (GetFormat): ditto
16131         (GetNumber): ditto
16132         (Add): ditto
16133         (Delete): ditto
16134         (SetViewer): ditto
16135         * bufferlist.C (getFileNames): ditto
16136         (emergencyWriteAll): ditto
16137         (exists): ditto
16138         (getBuffer): ditto
16139         * MenuBackend.C (hasSubmenu): ditto
16140         (hasMenu): ditto
16141         (getMenu): ditto
16142         * BufferView_pimpl.C (getInsetByCode): ditto
16143
16144 2001-04-18  Juergen Vigna  <jug@sad.it>
16145
16146         * vspace.C (asLatexString): fixed the 100% problem.
16147
16148 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * lyxfunc.C (Dispatch):
16151         * minibuffer.C:
16152         * minibuffer.h: add a few std:: qualifiers
16153
16154 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16155
16156         * minibuffer.[Ch]: reimplement so that commands is initiated and
16157         run from lyxfunc, simplified som handling, and made the completion
16158         and history code for complete. wip.
16159
16160         * lyxfunc.C (processKeySym): call message
16161         (miniDispatch): new temporary method
16162         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16163         (LFUN_MESSAGE): implement
16164         (LFUN_MESSAGE_PUSH): implement
16165         (LFUN_MESSAGE_POP): implement
16166         (initMiniBuffer): the initial/defualt minibuffer message.
16167
16168         * lyxfont.[Ch]: inline some more getters
16169
16170         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16171
16172         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16173
16174         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16175         (AutoSave): use LFUN_MESSAGE
16176         (Reconfigure): ditto
16177
16178         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16179
16180         * figureForm.C: use LFUN_MESSAGE
16181
16182         * converter.C (runLaTeX): use LFUN_MESSAGE
16183
16184         * bufferview_funcs.C: use LFUN_MESSAGE
16185         (Melt): ditto
16186         (changeDepth): ditto
16187
16188         * bufferparams.h: use boost::
16189
16190         * bufferlist.h: inherit privately from noncopyable
16191
16192         * bufferlist.C (loadLyXFile): remove some commented code.
16193
16194         * buffer.C (runChktex): use LFUN_MESSAGE
16195
16196         * ShareContainer.h: inherit privately from noncopyable
16197
16198         * ParagraphParameters.[hC] (depth): inline it.
16199
16200         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16201         methods.
16202         (message): new method
16203         (messagePush): ditto
16204         (messagePop): ditto
16205         (show): init minibuffer
16206         (showState): direct call
16207
16208         * LaTeX.[Ch]: inherit privately from noncopyable
16209         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16210         instead of WriteStatus.
16211
16212         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16213
16214         * BufferView_pimpl.C (buffer): don't init minibuffer
16215         (workAreaButtonPress): use LFUN_MESSAGE
16216         (workAreaButtonRelease): ditto
16217         (savePosition): ditto
16218         (restorePosition): ditto
16219         (MenuInsertLyXFile): ditto
16220         (workAreaExpose): don't init minibuffer
16221         (update): remove commented code, simplify
16222
16223         * BufferView2.C (openStuff): use LFUN_MESSAGE
16224         (toggleFloat): ditto
16225         (menuUndo): ditto
16226         (menuRedo): ditto
16227         (copyEnvironment): ditto
16228         (pasteEnvironment): ditto
16229         (copy): ditto
16230         (cut): ditto
16231         (paste): ditto
16232         (gotoInset): ditto
16233         (updateInset): remove some commented code
16234
16235         * lastfiles.h: inherit privately from noncopyable
16236         * layout.h: ditto
16237         * lyx_gui.h: ditto
16238         * lyx_main.h: ditto
16239         * lyxlex.h: ditto
16240         * lyxlex_pimpl.h: ditto
16241
16242         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16243         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16244         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16245
16246         * LyXAction.h: inherit privately from noncopyable, add methods
16247         func_begin, func_end, returning iterators to the func map.
16248
16249         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16250         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16251         (func_begin): new method
16252         (func_end): new method
16253
16254         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16255         and not)
16256         (copySelection): ditto
16257         (pasteSelection): ditto
16258
16259         * BufferView.C: whitespace change
16260         * BufferView.h: inherit privately from noncopyable
16261
16262 2001-04-16  Allan Rae  <rae@lyx.org>
16263
16264         * tabular-old.C (l_getline):
16265         * spellchecker.C (sc_check_word):
16266         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16267         an unrecognised preprocessor directive.  So ensure they're wrapped.
16268
16269 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16270
16271         * src/exporter.C (Export): Give an error message when path to file
16272         contains spaces.
16273
16274 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16275
16276         * LaTeX.C (deplog): Always check that foundfile exists.
16277
16278 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16279
16280         * lyx_main.h:
16281         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16282
16283 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16284
16285         * tabular.[Ch] (getLabelList): implement new method
16286
16287         * minibuffer.h: comment ouf setTiimer
16288
16289         * minibuffer.C (ExecutingCB): constify res
16290         (peek_event): constify s
16291         (Set): constify ntext
16292         (Init): constify nicename
16293
16294         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16295
16296         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16297         (savePosition): use two params to Minibuffer::Set
16298         (restorePosition): ditto
16299
16300 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * lyx_main.C: include language.h
16303
16304         * Makefile.am (lyx_main.o): add language.h
16305
16306 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16307
16308         * exporter.C:
16309         * paragraph.C:
16310         * screen.C:
16311         * tabular.C:
16312         * CutAndPaste.C: include gettext.h
16313
16314         * lyxfont.h: remove old hack with ON and OFF.
16315
16316         * lyxparagraph.h:
16317         * lyxfont.h: do not include language.h...
16318
16319         * BufferView2.C:
16320         * LaTeXFeatures.C:
16321         * Painter.C:
16322         * bufferview_funcs.C:
16323         * font.C:
16324         * lyxfont.C:
16325         * text.C:
16326         * text2.C:
16327         * trans_mgr.C:
16328         * paragraph.C: ... but do it here instead
16329
16330 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16331
16332         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16333
16334         * tabular.C: small reformat
16335
16336         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16337         NEW_INSETS version
16338         (GetChar): ditto
16339         (BreakParagraph): ditto
16340         (SetOnlyLayout): ditto
16341         (SetLayout): ditto
16342
16343         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16344         with one arg less.
16345
16346         * lastfiles.C: removed most using decl, add std:: where needed
16347
16348         * buffer.C: ws changes
16349
16350         * MenuBackend.C (class compare_format): put into anon namespace
16351         (expand): constify label, names, action, action2
16352         (expand):
16353
16354         * text.C (SingleWidth): constify font
16355         (IsBoundary): constify rtl2
16356         (GetVisibleRow): constify ww
16357
16358         * LaTeX.C (deplog): constify logfile
16359
16360         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16361         start_x, end_x
16362         (workAreaExpose): constify widthChange, heightChange
16363
16364         * lyxrow.C (par): moved
16365         (height): moved
16366         (next): moved
16367         * lyxrow.h: as inlines here
16368
16369         * lyxfont.h (shape): moved from lyxfont.C
16370         (emph): moved from lyxfont.C
16371
16372         * lyxfont.C (LyXFont): use initialization list for all
16373         constructors
16374         (shape): move to lyxfont.h as inline
16375         (emph): move to lyxfont.h as inline
16376
16377
16378 2001-04-04  Juergen Vigna  <jug@sad.it>
16379
16380         * vspace.C: had to include stdio.h for use of sscanf
16381
16382 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16383
16384         * BufferView.h:
16385         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16386         independent of xforms.
16387
16388 2001-04-02  Juergen Vigna  <jug@sad.it>
16389
16390         * spellchecker.C: fixed namespace placing!
16391
16392 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16393
16394         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16395         the LyXParagraph * is 0.
16396
16397 2001-03-29  Juergen Vigna  <jug@sad.it>
16398
16399         * vspace.C: added support for %, c%, p%, l%.
16400         (stringFromUnit): added helper function.
16401         (asLatexString): changed to give right results for the %-values.
16402
16403         * buffer.C: convert the widthp in a width%.
16404
16405 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16406
16407         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16408         figureForm.[Ch].
16409
16410         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16411         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16412
16413         * lyx_cb.[Ch]: see above.
16414
16415         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16416         form1.[Ch].
16417
16418         * form1.[Ch]:
16419         * lyx.[Ch]: replaced by figure_form.[Ch].
16420
16421         * lyx_gui.C:
16422         * lyx_gui_misc.C:
16423         * lyxfunc.C: changed headers associated with above changes.
16424
16425 2001-03-27  Juergen Vigna  <jug@sad.it>
16426
16427         * BufferView_pimpl.C: set the temporary cursor right!
16428
16429 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16430
16431         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16432
16433 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16434
16435         * LString.h: removed "using std::getline"!
16436
16437         * BufferView_pimpl.C (Dispatch): changes due to changes in
16438         InsetInclude::Params.
16439
16440         * buffer.C (tag_name): removed redundant break statements as they were
16441         producing lots of warnings with my compiler.
16442
16443 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16444
16445         * LString.h: add "using std::getline" when using the real <string>.
16446
16447 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16448
16449         * buffer.C: removed bitset usage.
16450         PAR_TAG moved to an anonymous name space.
16451         (tag_name): new funtion, also in the anonymous namespace.
16452         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16453         (makeDocBookFile): clean code. Completed transition from string arrays
16454         to string vectors.
16455         (SimpleDocBookOnePar): code clean.
16456
16457 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16458
16459         * tabular.C: add some comments.
16460
16461 2001-03-22  Juergen Vigna  <jug@sad.it>
16462
16463         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16464         compatibility read a bit and fixed bug with minipage in different
16465         depth.
16466
16467 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16468
16469         * buffer.C (pop_tag): removed.
16470         (push_tag): removed.
16471         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16472         array replaced with vector. Added support for CDATA sections.
16473         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16474         at any nest level.
16475         (makeDocBookFile): XML conformant declaration of CDATA section,
16476         fixed bug related to <emphasis> in the first paragraph char.
16477         (sgmlOpenTag): exclude empty tags.
16478         (sgmlCloseTag): ditto.
16479
16480         * buffer.h (pop_tag): removed.
16481         (push_tag): removed.
16482
16483 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16484
16485         * language.h (Languages): added size_type and size().
16486
16487 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16488
16489         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16490         response on compability reading of minipages. One probliem is that
16491         the old usage of minipages was «flertydig»
16492
16493         * several files here and in subdirs: don't use static at file
16494         scope use anon namespaces instead.
16495
16496 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16497
16498         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16499         LaTeX output. This is necessary for Literate document
16500         processing.
16501
16502 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16503
16504         * buffer.C: insert hfill when needed.
16505
16506         * tabular.C (l_getline): use string::erase, small whitespace change.
16507
16508         * BufferView_pimpl.C: try the anon namespace.
16509         * WorkArea.C: ditto
16510
16511 2001-03-16  Juergen Vigna  <jug@sad.it>
16512
16513         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16514         otherwise it won't open options-dialogs.
16515
16516         * buffer.C: honor pextraWidth(p) on converting minipages.
16517
16518         * tabular.C (l_getline): changed the functions to strip trailing \r.
16519
16520 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16521
16522         * BufferView_pimpl.C:
16523         * minibuffer..C: added "using SigC::slot" declaration.
16524
16525 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16526
16527         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16528
16529         * text2.C: ditto
16530
16531         * text.C: ditto
16532
16533         * paragraph.C: ditto
16534
16535         * lyxtext.h: NO_PEXTRA
16536
16537         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16538
16539         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16540         * ParameterStruct.h: ditto
16541         * ParagraphParameters.h: ditto
16542         * lyxparagraph.h: ditto
16543
16544 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16545
16546         * buffer.C: add compability for minipage alignment.
16547         (latexParagraphs): remove unwanted pextra check.
16548
16549         * several files: remove CXX_WORKING_NAMESPACES
16550
16551         * buffer.C (pop_tag): tie is in namespace boost
16552
16553         * BufferView.h: noncopyable is in namespace boost
16554         * lyxlex.h: ditto
16555         * lyx_main.h: ditto
16556         * lyx_gui.h: ditto
16557         * layout.h: ditto
16558         * lastfiles.h: ditto
16559         * bufferlist.h: ditto
16560         * ShareContainer.h: ditto
16561         * LyXView.h: ditto
16562         * LyXAction.h: ditto
16563         * LaTeX.h: ditto
16564
16565 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16566
16567         * Merging changes from BRANCH_MVC back into HEAD.
16568
16569         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16570
16571 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16572
16573         * BufferView_pimpl.C: change from intl.C
16574
16575         * combox.h:
16576         * combox.C:
16577         * Makefile.am: move combox.*
16578
16579         * form1.h:
16580         * form1.C:
16581         * lyx_gui.C:
16582         * intl.h:
16583         * intl.C: remove dialog (covered by prefs)
16584
16585 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16586
16587         * lyxfunc.C (Dispatch): removed redundant break statement.
16588
16589 2001-03-14  Juergen Vigna  <jug@sad.it>
16590
16591         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16592
16593 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16594
16595         * buffer.C: add hack to fix compability reading of minipages.
16596
16597 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16598
16599         * buffer.C (getLists): Cleanup.
16600
16601 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16602
16603         * lyxfont.C (update): don't honor toggleall on font size.
16604
16605 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16606
16607         * bmtable.c:
16608         * bmtable.h:
16609         * Makefile.am: moved to frontends/xforms/
16610
16611         * lyx_gui_misc.C:
16612         * lyxfunc.C:
16613         * BufferView_pimpl.C: changes for moved mathpanel
16614
16615 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16616
16617         * gettext.h: fix gettext_init() in --disable-nls
16618
16619 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16620
16621         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16622
16623 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16624
16625         * lyx.C:
16626         * lyx.h: strip external form
16627
16628 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16629
16630         * BufferView_pimpl.C: add comment, destroySplash()
16631
16632 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16633
16634         * BufferView_pimpl.C:
16635         * LyXAction.C:
16636         * buffer.C:
16637         * commandtags.h:
16638         * lyxfunc.C: use re-worked insetinclude
16639
16640 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16641
16642         * buffer.C: add using std::stringstream.
16643
16644         * lyx_cb.C: readd using std::ios.
16645
16646         * buffer.C: add using std::map.
16647
16648         * BufferView_pimpl.C: add using std::vector.
16649
16650         * ShareContainer.h: add std:: to swap.
16651
16652         * buffer.h: add some typedefs
16653         * buffer.C (getLists): use them
16654         (getLists): renamed from getTocList.
16655         add a counter for the different float types and use it in the
16656         generated string.
16657         (getLists): use the same counter for the NEW_INSETS and the "non"
16658         NEW_INSETS
16659
16660         * lyx_cb.h: remove unused items, includes, using etc.
16661
16662         * ShareContainer.h: remove some commented code, add more comments
16663         and "documentation".
16664
16665 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16666
16667         * buffer.C (getTocList): make the list also when NEW_INSETS is
16668         defined.
16669
16670         * buffer.h: remove TocType
16671
16672         * buffer.C (getTocList): change to return a map<string,
16673         vector<TocItem> >, implement for dynamic number of list.
16674
16675         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16676         * text2.C (PasteSelection): adjust
16677         * CutAndPaste.C (pasteSelection): adjust
16678
16679         * FloatList.C (FloatList): update from the new_insets branch.
16680         * Floating.[Ch]: ditto
16681         * LaTeXFeatures.C: ditto
16682         * buffer.C: ditto
16683         * lyxlex_pimpl.C: ditto
16684
16685         * paragraph.C (Last): remove when NEW_INSETS is defined.
16686
16687         * other file: changes because of the above.
16688
16689 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16690
16691         * lyxparagraph.h: rename next to next_, previous to previous_,
16692         make them private for NEW_INSETS. Rename Next() to next(),
16693         Previous() to previous().
16694
16695         * other files: changes because of the above.
16696
16697 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16698
16699         * BufferView.h:
16700         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16701         problem.
16702
16703 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16704
16705         * main.C (main): pass lyx_localedir to gettext_init().
16706
16707         * gettext.h: remove locale_init and gettext_init macros
16708
16709         * gettext.C (locale_init): new function
16710         (gettext_init): new function
16711
16712         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16713         setlocale().
16714
16715 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16716
16717         * Moved credits to frontends:
16718         * credits.[Ch]: removed
16719         * credits_form.[Ch]: removed
16720         * lyx_gui_misc.C: remove credits stuff
16721         * Makefile.am:
16722
16723 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16724
16725         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16726
16727         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16728         unneeded destructor.
16729
16730         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16731         a standalone pointer again.
16732
16733         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16734
16735 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16736
16737         * Makefile.am:
16738         * filedlg.h:
16739         * filedlg.C:
16740         * LyXAction.C:
16741         * ToolbarDefaults.C:
16742         * bufferlist.C:
16743         * commandtags.h:
16744         * form1.C:
16745         * form1.h:
16746         * lyx_cb.C:
16747         * lyx_cb.h:
16748         * lyxfunc.h:
16749         * lyxfunc.C:
16750         * BufferView_pimpl.C: use new file dialog in GUII
16751
16752         * lyx_cb.h:
16753         * lyx_cb.C: remove LayoutsCB to Toolbar
16754
16755 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16756
16757         * ShareContainer.h (get): add std:: qualifier
16758
16759 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16760
16761         * ShareContainer.h: define a proper ShareContainer::value_type
16762         type (and use typename to please compaq cxx)
16763
16764 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16765
16766         * lyxparagraph.h: move serveral local vars to
16767         ParameterStruct/ParagraphParameters., use ShareContainer in
16768         FontTable., make vars in FontTable private and add getter and
16769         setter.
16770
16771         * paragraph.C: changes because of the above.
16772
16773         * lyxfont.h: remove copy constructor and copy assignment. (the
16774         default ones is ok), move number inside FontBits. move inlines to
16775         lyxfont.C
16776
16777         * lyxfont.C: add number to initializaton of statics, move several
16778         inlines here. constify several local vars. some whitespace
16779         cleanup. Dont hide outerscope variables.
16780
16781         * Spacing.h: add two new constructors to match the set methods.
16782
16783         * ShareContainer.h: new file, will perhaps be moved to support
16784
16785         * ParameterStruct.h: new file
16786
16787         * ParagraphParameters.h: new file
16788
16789         * ParagraphParameters.C: new file
16790
16791         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16792         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16793
16794         * BufferView_pimpl.C: ParagraphParameter changes.
16795         * buffer.C: Likewise.
16796         * bufferview_funcs.C: Likewise.
16797         * text.C: Likewise.
16798         * text2.C: Likewise.
16799
16800 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16801
16802         * lyxfind.C (LyXReplace): do not redefine default argument in
16803         implementation.
16804         (IsStringInText): ditto
16805         (SearchForward): ditto
16806         (SearchBackward): ditto
16807
16808 2001-03-06  Juergen Vigna  <jug@sad.it>
16809
16810         * lyxfind.C (IsStringInText): put parentes around expressions.
16811
16812 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16813
16814         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16815
16816 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16817
16818         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16819
16820         * stl_string_fwd.h: add comment
16821
16822         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16823
16824         * tabular.h:
16825         * tabular.C: remove unused DocBook methods
16826
16827         * intl.C:
16828         * language.C:
16829         * paragraph.C:
16830         * buffer.C:
16831         killed DO_USE_DEFAULT_LANGUAGE
16832
16833 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16834
16835         * lyx_gui.C: do not include language.h.
16836
16837         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16838         arguments in function implementation.
16839
16840 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16841
16842         * BufferView_pimpl.C: add <ctime>
16843
16844 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16845
16846         * BufferView_pimpl.C: add using std::find_if
16847
16848 2001-02-27  José Matos  <jamatos@fep.up.pt>
16849
16850         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16851         by OnlyPath.
16852
16853 2001-02-11  José Matos  <jamatos@fep.up.pt>
16854
16855         * buffer.C (makeDocBookFile): command styles now have a parameter as
16856         "title" by default.
16857
16858 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16859
16860         * layout_forms.[Ch]: removed
16861         * lyx_cb.[Ch]: out character
16862         * lyx_gui.C: out character
16863         * lyx_gui_misc.C: out character
16864         * bufferview_funcs.C: : out character,
16865         added toggleall as parameter in ToggleAndShow
16866
16867 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16868
16869         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16870
16871         * text2.C (SetCurrentFont): Disable number property at boundary.
16872
16873 2001-02-26  Juergen Vigna  <jug@sad.it>
16874
16875         * lyxfunc.C (getStatus): added a string argument override function so
16876         that this is correctly called from LyXFunc::Dispatch if it contains a
16877         do_not_use_argument which is used!
16878         (Dispatch): added check for "custom" export and call appropriate func.
16879
16880 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16881
16882         * lyxrc.C: Add language_command_local, language_use_babel and
16883         language_global_options.
16884
16885         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16886
16887         * buffer.C (makeLaTeXFile): Use language_use_babel and
16888         language_global_options.
16889
16890 2001-02-23  Juergen Vigna  <jug@sad.it>
16891
16892         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16893         which works with LyXText and putted it inside BufferView. Here now we
16894         only call for that part the BufferView::Dispatch() function.
16895
16896         * BufferView.C (Dispatch): added.
16897
16898         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16899         functions which needs to use a LyXText over from LyXFunc.
16900         (MenuInsertLyXFile): added
16901         (getInsetByCode): added
16902         (moveCursorUpdate): added
16903         (static TEXT): added
16904
16905 2001-02-22  Juergen Vigna  <jug@sad.it>
16906
16907         * BufferView_pimpl.C (update): call a status update to see if LyXText
16908         needs it.
16909
16910 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16911
16912         * vc-backend.C (revert): implement for CVS
16913         (getLog): implement for CVS
16914
16915 2001-02-20  Juergen Vigna  <jug@sad.it>
16916
16917         * text2.C (ClearSelection): added BufferView param for inset_owner call
16918
16919         * lyxfunc.C (TEXT): added this function and use it instead of
16920         directly owner->view()-text of getLyXText().
16921
16922 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16923
16924         * src/layout_forms.C: out preamble
16925         * src/layout_forms.h: out preamble
16926         * src/lyx_cb.C: out preamble
16927         * src/lyx_cb.h: out preamble
16928         * src/lyx_gui.C: out preamble
16929         * src/lyx_gui_misc.C: out preamble
16930         * src/lyxfunc.C: connect with guii preamble
16931
16932 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16933
16934         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16935
16936 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16937
16938         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16939         whether to run bibtex.
16940
16941 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16942
16943         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16944
16945 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16946
16947         * Makefile.am (lyx_SOURCES): removed bibforms.h
16948
16949         * vspace.h: doxygen
16950
16951         * text.C (GetVisibleRow): make several local vars const
16952
16953         * tabular.C: small cleanup.
16954
16955         * lyxserver.C (callback): use compare instead of strncmp
16956
16957         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16958         inlines to after class or to paragraph.C
16959
16960         * lyxfont.h: remove friend operator!=
16961
16962         * converter.h: move friend bool operator< to non friend and after
16963         class def.
16964
16965         * combox.h: small cleanup
16966
16967         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16968         to inlines after class def.
16969
16970         * buffer.C (pop_tag): use string operations instead of strcmp
16971
16972         * bmtable.c: doxygen, small cleanup
16973
16974         * LaTeX.h: remove friend operator==
16975
16976 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16977
16978         * screen.C:
16979         * lyxrc.[Ch]:
16980         * lyxfunc.C:
16981         * lyxfont.[Ch]:
16982         * lyx_cb.C:
16983         * intl.[Ch]:
16984         * commandtags.h:
16985         * buffer.C:
16986         * WorkArea.[Ch]:
16987         * LyXAction.C:
16988         * BufferView_pimpl.C:
16989         * BufferView.[Ch]: remove cruft
16990
16991 2001-02-14  Juergen Vigna  <jug@sad.it>
16992
16993         * lyxfunc.C: removed #if 0 unused code
16994
16995         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16996
16997         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16998
16999         * text2.C (SetSelection): added a BufferView * parameter
17000
17001 2001-02-13  Juergen Vigna  <jug@sad.it>
17002
17003         * lyxfunc.C (Dispatch): fixed protected blank problem.
17004         * BufferView2.C (protectedBlank): added LyxText * parameter.
17005
17006         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17007         (AppendColumn): same as above for column_info.
17008
17009         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17010         (moveCursorUpdate): use a LyXText param for support of InsetText.
17011
17012         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17013         (tripleClick): ditto
17014
17015         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17016
17017         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17018
17019         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17020
17021         * text2.C (SetSelection): set correct update status if inset_owner
17022         (ToggleFree): ditto
17023
17024 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17025
17026         * tabular.C: remove some commented code.
17027
17028 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17029
17030         * BufferView_pimpl.C: call hideSplash()
17031
17032         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17033
17034         * include_form.h:
17035         * bibforms.h: remove
17036
17037         * lyxfunc.C:
17038         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17039           add LFUN_CHILD_CREATE
17040
17041         * counters.h: fix tiny typo
17042
17043         * lyx_cb.C:
17044         * lyx.h:
17045         * lyx_gui.C:
17046         * lyx.C: move splash to frontends/xforms/
17047
17048         * lyx_gui_misc.C: move Include and Bibform to frontends
17049
17050         * lyxvc.h: clarify comment
17051
17052         * vspace.C: tiny housekeeping
17053
17054 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17055
17056         * text.C (PrepareToPrint): RTL Fix.
17057
17058         * paragraph.C (GetUChar): New method.
17059         (String):  Use GetUChar.
17060
17061         * buffer.C (asciiParagraph): Use GetUChar.
17062
17063 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17064
17065         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17066
17067 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17068
17069         * buffer.h:
17070         * buffer.C: rename to getLogName(), handle
17071           build log / latex log nicely
17072
17073 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17074
17075         * MenuBackend.C:
17076         * MenuBackend.h: remove support for reference menuitem type.
17077
17078 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17079
17080         * BufferView_pimpl.C: housekeeping
17081         * BufferView_pimpl.h:
17082         * LyXView.h:
17083         * Makefile.am:
17084         * Timeout.C:
17085         * Timeout.h:
17086         * minibuffer.h: move Timeout GUI-I
17087
17088 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17089
17090         * lyxrc.C (read): Update converters data-structures.
17091
17092 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17093
17094         * LaTeX.h (operator!=): add operator != for Aux_Info
17095
17096 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17097
17098         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17099
17100         * LaTeXLog.C: deleted, useful code moved to Buffer
17101
17102         * buffer.h:
17103         * buffer.C: new function getLatexLogName()
17104
17105         * lyx_gui_misc.C:
17106         * lyx_gui.C:
17107         * lyxvc.C:
17108         * lyxvc.h:
17109         * lyxfunc.C: use frontends for LaTeX and VC logs
17110
17111 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17112
17113         * LaTeX.h: yet another std:: that Allan forgot.
17114
17115         * Variables.C (set): renamed from isset(), because this clashes
17116         with some HP-UX macros (grr).
17117
17118 2001-02-06  Allan Rae  <rae@lyx.org>
17119
17120         * LaTeX.h: Another bug fix.  Missing std:: this time.
17121
17122 2001-02-04  Allan Rae  <rae@lyx.org>
17123
17124         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17125         floats problem. I've left it commented out because it's not quite
17126         correct.  It should also test that the current object is a table or
17127         figure inset.  But I haven't gotten around to figuring out how to do
17128         that.  I *think* it'll be something like: "table" == inset.type()
17129
17130         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17131         bool.
17132
17133 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17134
17135         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17136         all the citation/databases/styles in the auxilary file.
17137         (run): Rerun latex if there was a babel language error.
17138
17139 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17140
17141         * text.C (Backspace): Preserve the font when changing newline char
17142         with a space.
17143         (BreakParagraph): If the cursor is before a space, delete the space.
17144
17145         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17146
17147 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17148
17149         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17150         new argument (code).
17151         (ChangeCitationsIfUnique): New method.
17152
17153         * paragraph.C (GetPositionOfInset): Handle bibkey.
17154
17155 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17156
17157         * BufferView_pimpl.h: change type of Position::par_pos to
17158         LyXParagraph::size_type.
17159
17160 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17161
17162         * BufferView_pimpl.C (savePosition, restorePosition): Write
17163         messages to minibuffer.
17164
17165 2001-01-28  José Matos  <jamatos@fep.up.pt>
17166
17167         * buffer.C (makeDocBookFile): adds support for document language.
17168         A silly restriction on the name of LatexCommand types where removed.
17169         Added support for CDATA sections, allows to chars unescaped, used
17170         among others in code, to avoid escape < and >.
17171
17172 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17173
17174         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17175         saved positions instrad of a stack. Furthermore, a position is
17176         stored using paragraph id/paragraph position.
17177
17178         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17179         Remove LFUN_REF_BACK.
17180
17181 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17182
17183         * converter.C (dvipdfm_options): New method.
17184
17185 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17186
17187         * vspace.C (isValidLength): Fix for empty input string.
17188
17189 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17190
17191         * LyXAction.C (init): change description of LFUN_FIGURE to
17192         "Insert Graphics"
17193
17194 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17195
17196         * LaTeX.C: add using directive
17197
17198 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17199
17200         * MenuBackend.C (expand): Fix the sorting of the formats.
17201
17202 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17203
17204         * lyx_main.C: tiny error message fix
17205
17206 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17207
17208         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17209         calling fl_initialize(). This fixes the problem with ',' as
17210         decimal separator in text files.
17211
17212 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17213
17214         * trans.C (process): Fix the keymap bug.
17215
17216 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17217
17218         * LaTeX.C (scanAuxFiles): New method. Provides support for
17219         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17220         (scanLogFile) Scan for "run BibTeX" messages.
17221
17222         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17223         OT1 font encoding. Also, load the aecompl package if the ae
17224         package is loaded.
17225
17226         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17227
17228 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17229
17230         * texrow.C (increasePos): turn two error messages into debug
17231         messages.
17232
17233 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17234
17235         * LaTeX.C (scanAux): Handle the \@input macro.
17236         (runBibTeX): Use scanAux().
17237
17238         * language.C (latex_options_): New field.
17239
17240         * LaTeXFeatures.C (getMacros): Add language macros.
17241
17242         * buffer.C (makeLaTeXFile): Small fix.
17243
17244 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17245
17246         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17247
17248         * text2.C: add a using directive.
17249
17250 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17251
17252         * BufferView2.C:
17253         * lyx_gui_misc.h:
17254         * lyxfr1.C:
17255         * lyxfunc.C: kill LyXBell.
17256
17257 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17258
17259         * text.C (IsBoundary): Remove the error message
17260
17261         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17262
17263         * lyxrc.C (setDefaults): Correct initialization value for
17264         font_norm_type.
17265
17266 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17267
17268         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17269         gotoError().
17270
17271         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17272         and GotoNextNote().
17273
17274         * src/LyXAction.C: Added reference-next.
17275
17276         * text.C (InsertChar): Use contains instead of strchr.
17277
17278         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17279
17280 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17281
17282         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17283         alignment commands (when needed).
17284
17285         * text.C (InsertChar): Add ':' to number separator chars.