]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix bug 1598 (crash on cursor up/down in script)
[lyx.git] / src / ChangeLog
1 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text2.C (setCounter): check for inInset() == 0
4
5 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
8         but use update() to get correct screen display; use convert
9         instead of istringstream. 
10         (getStatus): handle LFUN_GOTO_PARAGRAPH 
11
12         * lyxfunc.C (dispatch, getStatus): do not handle
13         LFUN_GOTO_PARAGRAPH here.
14
15 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
16
17         * text3.C (dispatch): size() -> depth()
18
19         * text2.C: remove some debug output
20
21         * paragraph.C: ws changes only
22
23         * lyxfunc.C (getStatus): size() -> depth()
24
25         * dociterator.h (clear, push_back, pop_back, internalData,
26         operator[], resize, empty): new functions
27         Make StableDocIterator and operator== be friends. Don't inherit
28         from std::vector use a privat class variable slices_ instead.
29         Modify to fit.
30
31         * dociterator.C: update because of not inheriting from std::vector
32         anymore. Call explictly to slices_ instead. Use depth() instead of
33         size() and top() instead of back()
34
35         * cursor.C: chagne size() -> depth and back() -> top(). Also
36         remove some direct operator[](i) calls in favour of foo[i]
37         (getFont): remove some dead code
38
39         * bufferview_funcs.C (coordOffset): size() -> depth()
40
41         * buffer.C: ws changes only
42
43         * CutAndPaste.C (eraseSelection): back() -> top()
44
45         * BufferView_pimpl.C (selectionRequested): back() -> top()
46
47         * BufferView.C (setCursor): size() -> depth()
48
49 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
50
51         * text3.C (cursorPrevious): return true if depm changed something
52         (cursorNext): ditto
53         (dispatch): rename sl to oldTopSlice, remove moving use the new
54         NoUpdate func attrib instead. Make sure that needsUpdate is set
55         for function that have NoUpdate, but where depm might have changed
56         the buffer anyway.
57
58         * text2.C (cursorLeft): make us return true if depm changed
59         something
60         (cursorRight): ditto
61         (cursorUpParagraph): ditto
62         (curosrDownParagraph): ditto
63         (cursorUp, cursorDown): ditto, make sure to read comments in code
64         (deleteEmptyParagraphMechanism): remove an assert, also return
65         true if just a single char was deleted.
66
67         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
68         cursor that we modify, to avoid modifying an active cursor before
69         we call setCursor. This allows depm to run. Also return true if
70         depm deleted something.
71
72         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
73         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
74         cursorDownParagraph, cursorPrevious and cursorNext, return true if
75         something was changed in the buffer because of them (ie. depm run)
76
77         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
78         debug messages. Make update by default be false. Make sure that
79         the result of update is retained throught several calls down to
80         dispatch.
81
82         * LyXAction.h: add a new func_attrib: NoUpdate
83
84         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
85         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
86         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
87         and LFUN_WORDLEFT
88         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
89
90 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
93         bv_->owner(), bv_->buffer() by direct references to the private
94         members.
95         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
96         (getStatus): isSavedPosition() is in BufferView::Pimpl.
97         (fitCursor): center() is in BufferView::Pimpl.
98         (getStatus, trackChanges, dispatch): no need for a temporary buf
99         variable
100         (fitCursor, workAreaDispatch): use workarea().workheight()
101
102 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * CutAndPaste.C (pasteSelectionHelper): fix a crash
105
106 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
107
108         * buffer.C: format up to 241.
109         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
110         break if pasting into ERT
111         * lyxfunc.C (getStatus): suppress mathpanel and
112         LFUN_DIALOG_SHOW_NEW_INSET in ERT
113
114 2005-02-01  Angus Leeming  <leeming@lyx.org>
115
116         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
117
118 2005-02-01  Angus Leeming  <leeming@lyx.org>
119
120         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
121         calling fs::is_directory().
122
123 2005-01-31  Angus Leeming  <leeming@lyx.org>
124
125         * lyx_main.C (priv_exec): specify explicitly the relative location
126         of the top level build directory when run in-place.
127
128 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
131         LyXText containing the cursor, not the top-level one.
132
133         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
134         true.
135         (insertStringAsLines): rename par to pit; use temporary variable
136         par to hold a Paragraph; do not store par.layout() in a variable,
137         since the pointer may die when breaking paragraphs; pass pars to
138         breakParagraph() instead of Buffer::paragraphs().
139
140 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
141
142         * lyxlex_pimpl.h: #include <fstream>.
143
144         * BufferView.[Ch] (getLyXText): add a const version.
145
146         * BufferView_pimpl.C: add debug aids.
147
148         * RowList_fwd.h:
149         * buffer.h:
150         * lyxrow.h:
151         * paragraph_funcs.h: add commentary explaining what the class does.
152
153
154         * coordcache.[Ch]: add lots of commentary.
155         (startUpdating, doneUpdating): debug aids.
156         (arrays, insets, parPos, getParPos): accessors to private data.
157
158         * cursor_slice.[Ch] (text): add a const version.
159         * dociterator.[Ch] (text, innerText): add const versions.
160
161         * lyxtext.h (breakParagraph): change the keep_layout arg to a
162         bool.
163
164         * paragraph.C (getRow, pos2ros): add asserts.
165
166         * paragraph.h: add commentary. Lots of.
167
168         * paragraph.[Ch] (metrucs, draw): removed.
169
170         * cursor.C:
171         * rowpainter.[Ch]: const-correct changes.
172
173         * text.C: various obvious clean-ups. Removal of ancient cruft.
174         Bug fixes, even.
175
176 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
177
178         * vc-backend.C (find_file): rewrite to use boost.filesystem
179         (scanMaster): ditto
180
181         * main.C (main): set default name check for boost.filesystem to
182         no check
183
184         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
185         (open): ditto
186         (doImport): ditto
187         (actOnUpdatedPrefs): ditto
188
189         * lyx_main.C (init): rewrite to use boost.filesystem
190         (queryUserLyXDir): ditto
191
192         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
193         (getContentsOfAsciiFile): ditto
194
195         * lastfiles.C (readFile): rewrite to use boost.filesystem
196
197         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
198
199         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
200         (loadLyXFile): ditto
201
202         * buffer.C (Buffer): adjust for destroydir
203         (getLogName): rewrite to use boost.filesystem
204         (setFileName): ditto
205         (save): use fs::copy_file (from fs_extras)
206
207         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
208
209         * LaTeX.C (run): rewrite to use boost.filesystem
210         (scanAuxFiles): ditto
211         (handleFoundFile): ditto
212
213 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
214
215         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
216
217         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
218
219 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
220
221         * lyxlayout.[Ch]: change some vars from float to double
222
223         * buffer.C (readFile): make a local var const
224
225         * Several files: use convert<> instead of atoi,strToXXX and friends
226
227 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
228
229         * LaTeXFeatures.[Ch]: Add a static list packages_ that
230         holds the contents of packages.lst. New functions getAvailable
231         and isAvailable to parse and check that list, resp.
232
233         * LyXAction.C:
234         * lfuns.h:
235         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
236
237         * bufferparams.[Ch]: new param output_changes.
238
239         * Buffer.C: increase file format to 240.
240         Use output_changes and isVailable.
241
242         * changes.[Ch]:
243         * paragraph.C:
244         * paragraph_pimpl.C: Use output_changes and isVailable.
245
246 2005-01-23  Angus Leeming  <leeming@lyx.org>
247
248         * output_latex.C: #include "insetbibitem.h", rather than
249         forward declare function bibitemWidest.
250
251 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
252
253         * lyx_main.C (init): make it compile on the Mac.
254
255 2005-01-20  Angus Leeming  <leeming@lyx.org>
256
257         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
258         (setLyXMisc): (char string literal) != (char string literal) is
259         performing a comparison on the addresses. Convert one operand
260         explicitly to string to guarantee expected behaviour.
261         From MSVC warning.
262
263 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
264
265         * buffer.C:
266         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
267
268         * output_plaintext.C: remove unneeded #include gzstream.h.
269
270 2005-01-20  Angus Leeming  <leeming@lyx.org>
271
272         * SpellBase.h: rename some of the elements of the Result enum.
273
274         * aspell_local.h:
275         * ispell.h:
276         * pspell.h:
277         * aspell.C (check):
278         * ispell.C (check):
279         * pspell.C (check): ditto
280
281 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
282
283         * buffer.C: add #include <fstream>.
284
285         * lyx_main.C (init): Compile fix.
286
287         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
288
289 2005-01-20  Angus Leeming  <leeming@lyx.org>
290
291         * mover.h: change commentary to reflect the changed meaning of
292         the $$s placeholder.
293
294 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * output_linuxdoc.C (linuxdocParagraphs): silence warning
297
298         * lyxfind.C (MatchString::operator()): remove bogus semicolon
299
300 2005-01-20  Angus Leeming  <leeming@lyx.org>
301
302         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
303         printing diagnostic data by not dereferecing an iterator past the
304         end.
305
306 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
307
308         * buffer.C (readHeader): use "&&" rather than "and".
309
310         * lyxserver.h (inPipeName, outPipeName): make these const.
311
312 2005-01-19  Angus Leeming  <leeming@lyx.org>
313
314         * lyx_main.C (error_handler, init): protect SIGHUP with
315         #ifdef SIGHUP guards.
316
317 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
320
321 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * text.C (setHeightOfRow): add a margin at the top and bottom of
324         the document (bug 1761)
325
326 2005-01-17  Angus Leeming  <leeming@lyx.org>
327
328         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
329         with "python ". Workaround for a brain-dead Windows.
330
331 2005-01-16  Angus Leeming  <leeming@lyx.org>
332
333         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
334         for MacOSX and Windows to use prependEnvPath.
335         Strip out the hard-coded block to add elements to the PATH for
336         MacOSX and replace it with a call to prependEnvPath using the
337         contents of LyXRC::path_prefix.
338         (queryUserLyXDir): strip out the code to run reconfigure, instead
339         returning a boolean indicating the necessity to do so.
340         (reconfigureUserLyXDir): contains the code to reconfigure the
341         user support directory. Is now called after the various LyXRC data
342         files have been read.
343
344         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
345
346 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
347
348         * converter.[Ch] (convert): take a new parameter try_default. Use
349         a default converter (imagemagick) if try_default is true.
350
351 2005-01-13  Angus Leeming  <leeming@lyx.org>
352
353         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
354         os::cygwin_path_fix.
355         (write): output LyXRC::cygwin_path_fix as necessary.
356
357 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
358
359         * lyxrc.h:
360         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
361
362 2005-01-12  Angus Leeming  <leeming@lyx.org>
363
364         * lyx_main.C (init): set the PATH variable to include the
365         directory containing the LyX binary when running on Mac or Windows.
366
367 2005-01-12  Angus Leeming  <leeming@lyx.org>
368
369         * lyx_main.C (init): remove cruft that purports to set the locale
370         dir. It doesn't and is not needed anyway.
371
372 2005-01-10  Angus Leeming  <leeming@lyx.org>
373
374         * Makefile.am: remove the lyx_main.C special casing.
375
376         * BufferView_pimpl.C:
377         * bufferlist.C:
378         * exporter.C:
379         * lyx_cb.C:
380         * lyx_main.C:
381         * lyxfunc.C:
382         * messages.C: use support/package.h to provide the paths to the
383         various directories used by LyX.
384
385 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
386
387         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
388         layout if pasting into an empty paragraph)
389
390 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
391
392         * tex-accent.C: add <string>
393
394 2005-01-06  José Matos  <jamatos@lyx.org>
395
396         * ParagraphParameters.C (write): put every parameter in its own line.
397         * paragraph.C (write): reduce number of consecutive empty lines exported.
398         * buffer.C (LYX_FORMAT): increase file format to 239.
399
400 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
401
402         * everywhere: change support/tostr.h -> support/convert.h
403
404         * tabular.C: make all write_attributes templates, tostr -> convert
405
406         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
407         (emptyTag): and -> &&, and fix type for ret from getChar
408         (getFirstWord): fix type for ret from getChar
409         (onlyText): and -> &&
410         (simpleDocBookOnePar): and not -> && !, fix type for ret from
411         getChar
412
413         * toc.C (goTo, action):
414         * text3.C (dispatch):
415         * text.C (currentState):
416         * tex-accent.C (DoAccent):
417         * sgml.C:
418         * lyxrc.C:
419         * lyxfunc.C (menuNew):
420         * lyxfinc.C (replace):
421         * counters.C (laberItem):
422         * bufferview_funcs.C (font2string):
423         * bufferparams.C (writeFile):
424         * buffer.C (readFile):
425         * Spacing.C (set):
426         * MenuBackend.C: tostr -> convert
427
428         * LaTeX.C (runMessage): fix format
429         (scanAuxFiles): tostr -> convert
430
431         * BufferView_pimpl.C (savePosition): fix format
432         (restorePosition): ditto
433         (dispatch): ditto
434
435 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
436
437         * Spacing.[Ch]: New method getValueAsString().
438
439         * Spacing.[Ch]:
440         * bufferparams.C:
441         * ParagraphParameters.C:
442         * lyxlayout.C:
443         * text.C:
444         * text3.C: store/read spacing value as string.
445
446         * rowpainter.C: change float value (spacing_val) to double.
447
448         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
449         broken custom document spacing).
450
451 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
452
453         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
454         namespace, also more use of temp references and const
455
456         * cursor.[Ch] (getStatus): move to lyxfunc.C
457
458         * bufferparams.C: reformat slightly
459
460         * bufferview_funcs.C (font2string): constify arg
461
462         * changes.C:
463         * converter.C:
464         * counters.C:
465         * bufferlist.C:
466         * buffer_funcs.C: (many funcs): constify arg on function
467         definitions, also make more local vars const, also add ASSERTS on
468         pointer args.
469
470         * buffer.C (LYX_FORMAT): put const in correct place
471         (many funcs): constify arg on function definitions, also make
472         more local vars const
473
474         * aspell_local.h: remove "struct" from typdef setup
475
476         * aspell.C (check): make word_ok const
477         (nextMiss): simplify slightly
478         (error): ditto
479
480 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
481
482         * lyxrc.[Ch]: store all float values as strings.
483         use int (not float) for lyxrc.dpi.
484
485 2005-01-04  Angus Leeming  <leeming@lyx.org>
486
487         * lyx_cb.C (Reconfigure):
488         * lyx_main.C (queryUserLyXDir):
489         to run the <system_lyxdir>/configure correctly on Windows, prefix
490         the path to the script with "sh " when generating the string that
491         is passed to system().
492
493 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
494
495         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
496
497 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * lyxlength.C (asLatexString): get rid of setprecision
500
501 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * text2.C (setLayout): remove unused variable endpit.
504         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
505
506         * paragraph.C (onlyText): remove unused variable style.
507
508         * cursor.C (bruteFind): remove unused variables beg and end.
509
510         * Makefile.am (dist_noinset_DATA): not needed anymore
511
512         * cheaders/*: remove.
513
514 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
515
516         * text3.C: fix LFUN_MATH_MODE.
517
518 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * buffer_funcs.C (countWords): new function. Counts words between
521         two iterators.
522
523         * BufferView_pimpl.C (getStatus, dispatch): handle
524         LFUN_WORDS_COUNT.
525
526         * LyXAction.C (init):
527         * lfuns.h: add LFUN_WORDS_COUNT.
528
529 2004-12-19  Angus Leeming  <leeming@lyx.org>
530
531         * buffer.C (save): s/slashify_path/internal_path/.
532
533 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
534
535         * lyxfind.C (findChange): do not search for end of pars, because
536         the change tracker cannot handle this (fixes bug 1719).
537
538 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
539
540         * paragraph.[Ch] (autoBreakRows): remove
541
542         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
543
544         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
545         avoid using the paragraph one
546
547         * text2.C (LyXText, insertStringAsLines): adjust
548
549 2004-12-16  Angus Leeming  <leeming@lyx.org>
550
551         * bufferlist.C:
552         * lyx_main.C:
553         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
554
555 2004-12-14  Angus Leeming  <leeming@lyx.org>
556
557         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
558
559         * bufferlist.C (emergencyWrite):
560         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
561         GetEnvPath("HOME").
562
563 2004-12-14  Angus Leeming  <leeming@lyx.org>
564
565         * main.C: (main): no longer pass pointers to os::init.
566
567 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
568
569         * undo.C (textUndoOrRedo): simplify logic, fix a crash
570         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
571
572 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
573
574         * lyxfunc.C:
575         * text3.C: remove selection_possible global flag
576
577 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
578
579         * text2.C (getSelectionSpan): remove
580         (changeDepth, changeDepthAllowed): adjust
581
582 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
583
584         * Makefile.am (BOOST_LIBS): use boost variables
585
586 2004-12-03  José Matos  <jamatos@lyx.org>
587
588         * buffer.C: format up to 238.
589
590 2004-12-03  José Matos  <jamatos@lyx.org>
591
592         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
593
594 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
595
596         * cursor.C (goUpDown): remove call to idxUpDown2
597
598 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
599
600         * tabular.[Ch]: use size_t-like types for cell, row and column
601         indices
602
603 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
604
605         * lyxfunc.C (getStatus): do not lose previous information when
606         calling BufferView::getStatus; do not set a default "Command
607         disabled" message at the beginning, but just before returning.
608
609 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
610
611         * cursor.h (getStatus): add better comment from src/cursor.C
612
613 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * text3.C (getStatus): return false when the lfun is not handled
616
617 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
618
619         * broken_headers.h: remove
620
621         * Makefile.am (lyx_SOURCES): remove broken_headers.h
622
623 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
624
625         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
626         offset_ref accessors
627
628         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
629         top_y_, merge fitcursor with update
630         (updateScrollbar, scrollDocView, fitCursor, center, update): new
631         coord scheme
632         (metrics): introduce
633         (workAreaDispatch): adapt to new coord scheme
634         (redoCurrentBuffer): remove
635
636         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
637
638         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
639         CurStatus enum.
640
641         * coordcache.[Ch]: add paragraph cache and helpers
642
643         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
644         adjust everywhere
645
646         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
647         (targetX, setTargetX): introduce
648
649         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
650         baseline -> ascent, as the rest of lyx
651
652         * lyxtext.h: remove redoParagraphs, updateParPositions,
653         fullRebreak, redoParagraphInternal. move dist to anon namespace in
654         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
655         have ascent/descent (ascent is ascent of first par)
656
657         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
658         step of BufferView
659
660         * paragraph.[Ch]: unify dimension handling with the rest of lyx
661
662         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
663
664         * pariterator.C: fix infinite loop introduced in par->pit renaming
665
666         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
667         in insets and LyXText, draw two off-screen paragraphs using
668         NullPainter, and adapt to new coord scheme
669
670         * text.C:
671         * text2.C:
672         * text3.C: adapt lfun handlers to the new coord scheme, which
673         means: there's only guaranteed coord information for onscreen pars
674         plus one above and one below. This implies that one can do search
675         from y coordinates in the range [-1,workHeight]
676
677 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
678
679         * rename a lot of InsetOld to InsetBase
680
681 2004-11-25  Angus Leeming  <leeming@lyx.org>
682
683         * BufferView_pimpl.C:
684         * lyx_cb.C:
685         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
686
687 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
690         call BufferView::getStatus if LCursor::getStatus did nothing
691         (setStatusMessage, getStatusMessage): removed.
692
693         * FuncStatus.C (message): new methods. Used to provide an error
694         message indicating why a command is disabled.
695         (clear, |=, FuncStatus): update for message.
696
697 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
698
699         * lyxfunc.C (dispatch): always call sendDispatchMessage
700
701 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
702
703         * BufferView.C:
704         * BufferView_pimpl.C:
705         * CutAndPaste.C:
706         * FontIterator.C:
707         * buffer.C:
708         * cursor.C:
709         * cursor_slice.[Ch]:
710         * dociterator.[Ch]:
711         * lyxfind.C:
712         * paragraph_funcs.C:
713         * pariterator.C:
714         * rowpainter.C:
715         * text.C:
716         * text2.C:
717         * text3.C:
718         * undo.C: par->pit renaming
719
720 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
721
722         * tabular.C (cellstruct): use initialization, store a shared_ptr
723         to insettext instead of the insettext directly, adjust to fit.
724         (operator=):  new function
725         (swap): new function
726         (rowstruct): use initialization
727         (columnstruct): use initialization
728         (ltType): use initialization
729
730
731         * lyxlength.h (swap): new function
732
733         * LColor.[Ch] (operator=): use the common semantics
734
735 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * lyxfind.C (findNextChange): update the bufferview after setting
738         the selection.
739
740 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
741
742         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
743         number of InsetOptArgs has already been inserted.
744
745         * output_latex.C (latexOptArgInsets): new method. This outputs all
746         the optarg insets, up to the limit defined in the layout file.
747         (optArgInset): removed
748         (TeXOnePar): call latexOptArgInsets; correctly update texrow
749
750 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * paragraph.C (isLetter): remove special spellchecker-related
753         code; return true also for digits
754         (isWord, isKomma): remove
755
756         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
757         * lyxfind.C (MatchString()): use isLetter instead of isWord
758
759 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
760
761         * pariterator.h (operatir=): comment out un-implemented member
762         function.
763
764         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
765         static cast.
766
767 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
768
769         * lyxfont.h: include LColor.h to satisfy concept checks.
770
771 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
772
773         * pariterator.h: add typdefs for value_type, difference_type,
774         pointer and reference to satisfy concept checks. Also add default
775         constructor for same reason.
776
777         * pariterator.C (operator++): add post-increment operator to
778         satisfy concept checks.
779
780         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
781         checks.
782
783         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
784
785         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
786         checks. Also rename base_type to BaseType to follow naming
787         standard better.
788
789         * FloatList.h: include Floating.h to satisfy concept checks.
790
791 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
792
793         * lyxfunc.C (getStatus): when the origin of the request is menu or
794         toolbar, and the LyXView does not have focus, do as if there was
795         no buffer (bug 1720)
796
797         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
798         FuncRequest to individual entries of LFUN_SEQUENCE
799
800 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
801
802         * output_latex.C (TeXOnePar): override runparams.moving_arg
803         according to the needprotect value of the current paragraph (bug
804         1739)
805
806         * paragraph.C (simpleTeXOnePar): no need to override
807         runparams.moving_args here
808
809 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
810
811         * vspace.C: fix off-by-one-error, related to fix #1682
812
813 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
814
815         * lengthcommon.C: a more general fix for bug 1682
816
817 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
818
819         * text.C (backspace): fix crash
820
821 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
822
823         * format.[Ch] (getFormatFromFile): new method
824         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
825
826 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
829
830 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * lyxfunc.C (dispatch): remove the verbose argument
833         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
834         instead
835
836         * kbmap.C (defkey): set the origin of func to KEYBOARD
837
838         * MenuBackend.C (MenuItem):
839         * ToolbarBackend.C (add): set the origin of func to UI
840
841         * funcrequest.[Ch]: add origin member, which indicates which part
842         of LyX requests an action
843
844 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
845
846         * converter.C (move): don't lie in the error message
847         * converter.h (isReachable, move): document
848
849 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
850
851         * buffer.C: remove unused using lyx::support::atoi
852         * paragraph_funcs.C: ditto
853
854 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
855
856         * bufferlist.C (exists): use bind and equal_to instead of
857         compare_memfun
858         (getBuffer): ditto
859         * lyxtextclasslist.C (NumberOfClass): ditto
860
861         * cursor.C (insert): use for_each instead of explicit for loop
862
863         * bufferlist.C (getFileNames): use std::transform and
864         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
865
866         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
867         for loop
868
869         * buffer.C (changeLanguage): use for_each instead of explicit for
870         loop
871         (hasParWithID): implement using getParFromID
872
873         * LaTeXFeatures.C: ws change only
874
875         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
876         to cleanup a bit.
877
878         * BufferView_pimpl.C (trackChanges): use for_each instead of
879         expilicit for loop
880
881 2004-11-04  André Pönitz  <poenitz@gmx.net>
882
883         * undo.h:
884         * undo.C (textUndoOrRedo): fix crash when creating undo information.
885
886         * dociterator.C (asDocIterator): use hard assert again.
887
888 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
889
890         * lyxlength.C (asLatexString): rewrite so that it does not use
891         snprintf anymore
892
893 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * text3.C (specialChar, dispatch): make sure cursor moves to the
896         right after inserting an inset
897
898 2004-11-02  José Matos  <jamatos@lyx.org>
899
900         * output_docbook.C (docbook):
901         * paragraph.C (getID):
902         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
903         garantee that the output is always legal.
904
905         * tabular.C (docbook):
906         * outputprams.[Ch]: remove mixed contents.
907
908 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
909
910         * text2.C (setCounter): prevent endless loop
911
912 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
913
914         * exporter.C (copyFile): use the mover instead of support::copy()
915         * exporter.C (Export): pass format and latex name to copyFile()
916         * exporter.h (addExternalFile): document
917         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
918
919 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
920
921         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
922
923 2004-10-30  José Matos  <jamatos@lyx.org>
924
925         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
926         text and no inset or font change. This allows to use CDATA
927         sections just for the whole paragraph.
928
929 2004-10-30  José Matos  <jamatos@lyx.org>
930
931         * paragraph.C (getFirstWord): remove unused variable.
932
933 2004-10-30  José Matos  <jamatos@lyx.org>
934
935         * paragraph.C (getFirstWord): the content should always be escaped
936         there.
937         (simpleDocBookOnePar):
938         * output_docbook.C (makeEnvironment): replace reference to CDATA
939         to style pass_thru.
940
941 2004-10-30  José Matos  <jamatos@lyx.org>
942
943         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
944
945 2004-10-30  José Matos  <jamatos@lyx.org>
946
947         * output_docbook.C (makeParagraphs):
948         * paragraph.[Ch] (emptyTag): for docbook and company, if the
949         standard paragraph has only a given type of content drop the wrapper.
950
951 2004-10-29  José Matos  <jamatos@lyx.org>
952
953         * output_docbook.C (makeEnvironment):
954         * sgml.C (openTag):
955         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
956
957 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
958
959         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
960         (cleanID): sanitize any id.
961
962 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
963
964         * buffer.C, lyxlex_pimpl.C:
965         * lyxlex_pimpl.C (setFile):
966         s/getExtFromContents/getFormatFromContents/
967
968 2004-10-28  José Matos  <jamatos@lyx.org>
969
970         * output_docbook.C (makeEnvironment): move id to broadest possible
971         scope.
972
973         * sgml.C (openTag): apply substitution of <> for all attributes.
974
975 2004-10-28  José Matos  <jamatos@lyx.org>
976
977         * buffer.C (makeLinuxDocFile, makeDocBookFile):
978         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
979         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
980
981         * sgml.[Ch]: new version for open and closeTag for paragraph and
982         for strings. Now they handle the ids of paragraphs.
983
984 2004-10-26  Angus Leeming  <leeming@lyx.org>
985
986         * Makefile.am: add mover.[Ch].
987
988         * converter.C (convert, move): use the new Movers to move external
989         files to the temp directory.
990
991         * lyx_main.C (init): ensure that the global system_movers data
992         is initialised.
993
994         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
995         preferences file.
996
997         * mover.[Ch]: new files, defining a Mover as a utility to move an
998         external file between directories and, if necessary, manipulate this
999         file using a helper script.
1000
1001 2004-10-25  José Matos  <jamatos@lyx.org>
1002
1003         * output_docbook.C (makeCommand): merge two if's that tested the
1004         same condition.
1005
1006 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * sgml.C (escapeString): fix warning in a better way
1009
1010 2004-10-25  José Matos  <jamatos@lyx.org>
1011
1012         * sgml.C (escapeString): import the require boosts header file for
1013         tie, and avoid a signed unsigned comparison.
1014
1015 2004-10-25  José Matos  <jamatos@lyx.org>
1016
1017         * sgml.h: add #include <string>
1018
1019 2004-10-25  José Matos  <jamatos@lyx.org>
1020
1021         * sgml.[Ch] (escapeString): new function to escape all the string.
1022
1023 2004-10-24  José Matos  <jamatos@lyx.org>
1024
1025         * paragraph.[Ch] (getFirstWord): new function to get the first
1026         word. Useful for description.
1027         (simpleDocBookOnePar): remove depth argument, add another that
1028         says where to start the paragraph.
1029
1030         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1031         use the new functions to fix cleanly the support for descriptions.
1032
1033 2004-10-24  José Matos  <jamatos@lyx.org>
1034
1035         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1036         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1037         * output_linuxdoc.C (linuxdocParagraphs):
1038         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1039         add buffer as argument.
1040
1041 2004-10-24  José Matos  <jamatos@lyx.org>
1042
1043         * output_docbook.C (makeEnvironment, searchEnvironment): place
1044         CDATA inside paragraphs and fix scope for listitems.
1045
1046 2004-10-24  José Matos  <jamatos@lyx.org>
1047
1048         * output_docbook.C: remove using statement for stack.
1049
1050 2004-10-23  José Matos  <jamatos@lyx.org>
1051
1052         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1053         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1054         docbook. The new scheme is recursive and makes use of iterators, the
1055         same as latex export works.
1056         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1057         directly with the paragraph contents. This code was moved up to
1058         output_docbook.C (docbookParagraphs).
1059         * sgml.C (openTag, closeTag): removed unneeded newlines.
1060         (closeEnvTags) removed.
1061
1062 2004-10-23  André Pönitz  <poenitz@gmx.net>
1063
1064         * undo.C (textUndoOrRedo):
1065         * dociterator.C (asDocIterator): work around crash
1066
1067         * cursor.C (getStatus): replace ASSERT by more verbose error message
1068           and manual correction of the problem. Should increase stability
1069           while providing more sensible information.
1070
1071 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1072
1073         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1074
1075         * bufferlist.C (previous, next): new methods
1076
1077         * lfuns.h:
1078         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1079
1080 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1081
1082         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1083         entities to preamble.
1084
1085 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1086
1087         * messages.C (Pimpl): strip off translation context information
1088
1089 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1090
1091         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1092         the cursor is correct (bug 1694)
1093
1094 2004-10-13  José Matos  <jamatos@lyx.org>
1095
1096         * output_docbook.C (docbookParagraphs): fix closing tags in the
1097         end of the document.
1098
1099 2004-10-09  José Matos  <jamatos@lyx.org>
1100
1101         * buffer.C: format up to 237.
1102         * bufferparams.C (write): use tostr to convert booleans to strings.
1103
1104 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1107
1108 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1109
1110         * LaTeX.C: implement use of babel language in xindy.
1111
1112 2004-10-05  José Matos  <jamatos@lyx.org>
1113
1114         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1115         Add new translators to help reading and writing the lyx file.
1116
1117 2004-10-05  José Matos  <jamatos@lyx.org>
1118
1119         * ParagraphParameters.C (read):
1120         * text.C (readParToken): replace nexToken by more appropriate lex
1121         methods.
1122
1123 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1124
1125         * LaTeX.C (runMakeIndex):
1126         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1127         (usually 'makeindex') configurable.
1128
1129         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1130         with a variable rather than with a number.
1131
1132 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * output_latex.C (TeXOnePar): make sure font setting is the first
1135         thing that gets output (and the last at the end). Should fix bug
1136         1404.
1137
1138 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1139
1140         * pch.h: use proper signal include
1141
1142         * LaTeX.h: Use preferred calling of Boost.Signal
1143         * buffer.h: ditto
1144
1145 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1146
1147         * pch.h: dont include <boost/function/function0.hpp>
1148
1149         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1150
1151         * paragraph_pimpl.h: remove usage of ShareContainer
1152
1153         * paragraph_pimpl.C: remove initialization of ShareContainer.
1154
1155 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         Fix bug #1666
1158
1159         * BufferView.C (putSelectionAt): change the semantics when
1160         backwards == true: now, this just swaps cursor and anchor wrt the
1161         forward case
1162
1163         * BufferView.h (putSelectionAt): add some documentation
1164
1165         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1166         make sure backwardChar is done at least once (to avoid getting
1167         stuck)
1168         (findNextChange): use putSelectionAt in the forward direction
1169         (operator()): use Paragraph::isWord
1170
1171 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1172
1173         * Spacing.C (set): c_str fix
1174
1175 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * lyx_cb.C (Reconfigure): quote the name of configure script in
1178         case it contains spaces
1179
1180 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1181
1182         * client: new dir
1183
1184         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1185         (BOOST_LIBS): use top_buildir when looking for the file
1186
1187 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1188
1189         * pch.h: do not use include boost/format.hpp, multiple symbols
1190                 will result (gcc bug)
1191
1192
1193 2004-08-23  José Matos  <jamatos@lyx.org>
1194
1195         * bufferparams.C (readToken): fix reading of the author field.
1196
1197 2004-08-20  José Matos  <jamatos@lyx.org>
1198
1199         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1200
1201 2004-08-20  José Matos  <jamatos@lyx.org>
1202
1203         * lyxlex.[Ch] (findToken): remove function.
1204
1205         * ParagraphParameters.C (findToken):
1206         * bufferparams.C (findToken): replace call for previous function
1207         with local copy. This local function has one more argument, the
1208         read string argument.
1209
1210 2004-08-16  José Matos  <jamatos@lyx.org>
1211
1212         * ParagraphParameters.C (write):
1213         * Spacing.C (writeFile):
1214         * bufferparams.C (writeLaTeX):
1215         * lyx_cb.C (Reconfigure):
1216         * paragraph.C (write):
1217         * tabular.C (write): remove unnecessary space at end of line.
1218
1219
1220 2004-08-16  José Matos  <jamatos@lyx.org>
1221
1222         * text.C (readParagraph): remove debug message.
1223
1224 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1227         crash
1228
1229         * output_plaintext.C (asciiParagraph): set depth correctly
1230
1231         * outputparams.h: add member depth
1232
1233         * paragraph_funcs.C (ownerPar): remove.
1234
1235         * text2.C (setCounter): remove first_pit; comment out some
1236         non-working code that uses ownerPar
1237
1238         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1239         uses ownerPar
1240
1241 2004-08-16  José Matos  <jamatos@lyx.org>
1242
1243         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1244         For the same level of importance use the same chanel to report problems.
1245         (read): add code to deal with \begin_body and \end_body.
1246
1247
1248 2004-08-15  José Matos  <jamatos@lyx.org>
1249
1250         * lyxlex.C (getString): fix comment, buffer::readBody is now
1251         buffer:readDocument.
1252
1253         * tex-strings.C (string_papersize): Default -> default,
1254         Custom -> custom, for consistency with other options.
1255
1256 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1257
1258         * pch.h: new file
1259
1260         * Makefile.am: support pch
1261
1262 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1263
1264         * text.C (readParToken): remove the static LyXFont variable and
1265         pass it as a parameter instead. This fixes a nasty bug where an
1266         inset will be inserted with a bad font in some situations
1267         (readParagraph): adapt
1268
1269         * text2.C (setCounter): reduce number of calls to pars_[pit]
1270
1271         * text.C (singleWidth): add an assert, fix a test
1272
1273         * rowpainter.C (paintText): reduce number of calls to singleWidth
1274
1275         * paragraph.C (isHfill):
1276         (isNewline): ws only
1277
1278 2004-08-14  André Pönitz  <poenitz@gmx.net>
1279
1280         * text.C:
1281         * text2.C:
1282         * rowpainter.C:
1283         * lyxtext.h (several functions): use a Paragraph & argument
1284         instead of par_type
1285
1286 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1287
1288         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1289
1290         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1291
1292         * text.C (singleWidth): remove useless test
1293
1294 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1295
1296         * tabular.h: remove bogus comments
1297
1298         * tabular.C (getDescentOfRow):
1299         (isPartOfMultiColumn): add assertions
1300
1301         * lyxlength.C (inPixels): remove #warning
1302
1303 2004-08-14  André Pönitz  <poenitz@gmx.net>
1304
1305         * paragraph.h: inline getChar()
1306
1307         * BufferView.h: remove unused declarations
1308
1309 2004-08-14  José Matos  <jamatos@lyx.org>
1310
1311         * Buffer.[Ch] (readDocument): new name for old readBody.
1312         * Buffer.C: new file format, new keywords: \begin_document,
1313         \begin_header, \begin_body, \end_body.
1314
1315         * bufferparams.C (readToken): replace all calls to lex.nextToken
1316         by lex.next(). Do the same to eatLine except where really needed.
1317
1318         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1319         line when writing to the lyx file.
1320
1321         * output_plaintext.C (asciiParagraph): fix Bibliography style
1322         handling.
1323
1324         * text.C (read): fix end of file handling.
1325
1326 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1327
1328         * MenuBackend.C (Menu::operator[]): new method to access
1329         individual menu items
1330         (Menu::hasFunc): new method. search for an item that corresponds
1331         to a given func
1332         (MenuBackend::specialMenu): new method
1333         (MenuBackend::expand): if a special menu has been set, skip
1334         entries whose func() appears in this menu
1335
1336 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1337
1338         * text3.C: use Debug::DEBUG a bit more
1339
1340         * text.C (leftMargin): try to simplify a tiny bit change var x to
1341         l_margin. Dont output the wide margins always.
1342         (rightMargin): no margin in inner texts
1343
1344         * rowpainter.h (nestMargin): new func
1345         (changebarMargin): new func
1346         (rightMargin): new func
1347
1348         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1349         now functions.
1350         (paintLast): ditto
1351
1352         * factory.C (createInset): modify setDrawFrame
1353
1354         * cursor.C: use Debug::DEBUG a bit more
1355
1356 2004-08-14  André Pönitz  <poenitz@gmx.net>
1357
1358         * coordcache.[Ch]:
1359         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1360         cache for all insets in (at least partially) visible (top-level)
1361         paragraphs.
1362
1363         * BufferView_pimpl.C: reset external coord cache before every update.
1364         This means the coord cache only contains valid entries.
1365
1366 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1367
1368         bug 1096
1369         * BufferView_pimpl.C (getInsetByCode): move function out of class
1370         and change in to a template in anon namespace. Also fix to do what
1371         suits us better.
1372
1373 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1374
1375         bug 1305
1376         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1377         of char
1378         (breakParagraph): rename par to par_offset and use a local
1379         reference. Add code to keep the language over a rebreak.
1380         (breakParagraphConservative): rename par to par_offset, use a
1381         local reference
1382         (mergeParagraph): ditto
1383         (outerHook): ditto
1384         (isFirstInSequence): ditto
1385         (outerFont): rename pit to par_offset
1386
1387         * paragraph.C: ws change
1388         * paragraph.h: ditto
1389         * text3.C: ditto
1390         * text.C: ditto
1391
1392 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1393
1394         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1395         treatment for ']'
1396
1397         * paragraph.C (simpleTeXOnePar): when we have a \item with
1398         optional argument, enclose the argument with curly brackets (in
1399         case it contains a closing square bracket)
1400
1401         * text2.C (editXY):
1402         * text2.C (editXY):
1403         * text3.C (checkInsetHit): constify
1404
1405 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1406
1407         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1408         documents (bug 1629)
1409
1410 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         Fix toggling of collapsable insets with the mouse (bug 1558)
1413
1414         * lyxfunc.C (dispatch): adapt to LCursor changes
1415
1416         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1417         make sure that dispatch is not invoked twice
1418
1419         * cursor.C (needsUpdate): new method
1420         (dispatch): return void
1421         (result): new method, to access the DispatchResult of the cursor.
1422
1423 2004-08-13  José Matos  <jamatos@lyx.org>
1424
1425         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1426
1427 2004-08-13  André Pönitz  <poenitz@gmx.net>
1428
1429         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1430
1431         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1432           multiple cells
1433
1434 2004-08-12  André Pönitz  <poenitz@gmx.net>
1435
1436         * text3.C: take out the 'cursor right' form insertInset and only
1437         do it in those places when it is really needed. Fixes crash on
1438         C-m...
1439
1440 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1443
1444         * BufferView_pimpl.C (setBuffer): initialize the current font of
1445         the underlying LyXText
1446
1447 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * kbsequence.C (print): use UI native formatting for menu
1450         shortcuts
1451
1452         * text.C (insertChar): call Paragraph::insertChar with a font
1453         argument (cosmetic)
1454
1455         * paragraph.C (insertInset, insertChar): the version that takes a
1456         LyXFont argument is now a wrapper around the other one (the
1457         opposite used to be true).
1458
1459         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1460         argument. Font setting is done in Paragraph now.
1461
1462 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1463
1464         * outputparams.h: add new members intitle and lang.
1465
1466         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1467         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1468
1469 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1470
1471         * text3.C (dispatch): remove special handling of button 4 and 5,
1472         it is now taken care of in the frontend code.
1473
1474 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1475
1476         * Spacing.h: add <string> (STLPort compile fix)
1477
1478 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1479
1480         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1481
1482 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1483
1484         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1485         to bool.
1486
1487         * converter.C (showMessage): inherit from unary_function, make
1488         operator() const.
1489
1490         * buffer.C (writeFile): initialize retval
1491
1492         * InsetList.h: rename private variable list to list_
1493         * InsetList.[Ch]: adjust accordingly.
1494
1495 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1496
1497         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1498         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1499         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1500         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1501         * ParagraphParameters.C, LaTeXFeatures.C: replace
1502         "support/std_sstream.h" with <sstream>
1503
1504 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1505
1506         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1507         * lyxsocket.C (LyXServerSocket): ditto
1508         (serverCallback): ditto
1509
1510 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1511
1512         * LaTeXFeatures.C: check release date when loading jurabib.
1513
1514 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1515
1516         * lyxserver.C (startPipe): call register_socket_callback
1517         (endPipe): call unregister_socket_callback
1518
1519 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1520
1521         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1522         (LyXServerSocket): register the callback
1523         (LyXServerSocket): unregister the callback
1524         (fd): delete function
1525         (serverCallback): improve error checking and setup the callbacks.
1526         (dataCallback): change arg to fd.
1527         (writeln): new func (copied fro the client socket) used for server
1528         write to client.
1529         (LyXDataSocket): simplify
1530         (~LyXDataSocket): close ann unregiser callback
1531         (server): delete function
1532         (fd): delete function
1533         (readln): small changes, improve some std::string usage
1534         (writeln): constify a bit
1535
1536 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1537
1538         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1539         Qt frontend
1540
1541 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1542
1543         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1544         after it has been populated
1545
1546 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * text2.C (insertInset): move cursor when inserting inset.
1549
1550 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1551
1552         * kbmap.C (findbindings): a couple of new methods. returns a
1553         container of kb_sequence objects. The real work is done by the
1554         private recursive version
1555         (printbindings): uses findbindings to print out a bracketed list
1556         of bindings (renamed from findbinding).
1557
1558         * MenuBackend.C (binding): use kb_keymap::findbindings
1559
1560         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1561
1562 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1563
1564         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1565
1566 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1567
1568         * paragraph.C (isWord): return true on insets that report
1569         isLetter().
1570
1571         * text.C (getWord): use Paragraph::isWord to decide what is in a
1572         word and what is not; fix bug 1609.
1573
1574 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1575
1576         * tex-strings.C: add "none" to string_paperpackages[], fixes
1577         off-by-one-error in the paperpackage selection.
1578
1579         * lyxlex.[Ch]:
1580         * tex-strings.[Ch]: char const * string[n]
1581         -> char const * const string[]
1582
1583 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1584
1585         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1586         command, return early.
1587
1588 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1589
1590         * debug.h: add DEBUG to enum and fix size of ANY.
1591
1592         * debug.C: add support for Debug::DEBUG
1593         (showTags): cast errorTags.level to unsigned int
1594
1595         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1596         (redoCurrentBuffer): ditto
1597         (updateScrollbar): ditto
1598         * cursor.C (dispatch): ditto
1599         * text2.C (setLayout): ditto
1600         (setFont): ditto
1601         (updateCounters): ditto
1602         (editXY): ditto
1603         (deleteEmptyParagraphMechanism): ditto
1604
1605 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1606
1607         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1608         annotations to cleanup the Makefile slightly.
1609
1610 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1611
1612         * lyxrc.C: do not set user_email to a default value but use empty
1613         instead. The entry used to be translated, which does not work
1614         since at the point where lyxrc is constructed there is no
1615         translation service available
1616
1617         * messages.C (getLocaleDir): remove and use directly
1618         lyx_localedir() instead
1619
1620 2004-06-02  Angus Leeming  <leeming@lyx.org>
1621
1622         Fix crash caused by dereferencing null pointer 'exportdata' in
1623         OutputParams by creating a new ExportData variable on the heap,
1624         storing it in a boost::shared_ptr.
1625         The crash was triggered when generating an Instant Preview
1626         of an external inset.
1627
1628         * Makefile.am: add outputparams.C
1629
1630         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1631         (c-tor): allocate memory to it.
1632
1633         * exporter.C (c-tor): associated changes.
1634
1635 2004-06-01  Angus Leeming  <leeming@lyx.org>
1636
1637         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1638         contains data before calling isInset(0). (Bug 1513.)
1639
1640 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1641
1642         * exporter.C (checkOverwrite): new method
1643         * exporter.C (copyFile): new method
1644         * exporter.C (Export): copy referenced files to the document dir
1645         * exporter.[Ch]: new class ExportedFile
1646         * exporter.[Ch]: new class ExportData. Contains currently the
1647         names of referenced external files
1648         * outputparams.h: add exportdata member.
1649
1650 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1651
1652         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1653         version.C-tmp
1654
1655 2004-05-19  Angus Leeming  <leeming@lyx.org>
1656
1657         * LaTeXFeatures.C:
1658         * ToolbarBackend.C:
1659         * bufferparams.C:
1660         * lyxfunc.C: small changes due to the introduction of namespace
1661         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1662
1663 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1664
1665         * text3.C (dispatch): supress update when only moving the cursor
1666         * cursor.C (selHandle): remove commented code
1667
1668 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1669
1670         * paragraph.C (startTeXParParams): correct column count
1671         * CutAndPaste.C (pasteSelection): remove const_cast
1672         * output_docbook.C (docbookParagraphs): remove const_cast
1673         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1674         const_cast and return ParagraphList::const_iterator
1675         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1676         * output_plaintext.C (writeFileAscii): remove const_cast
1677         * paragraph.[Ch] (simpleTeXOnePar): make const
1678         * paragraph_funcs.C (outerPar): use const iterators
1679         * paragraph_pimpl.C (validate): use const iterators
1680         * text.C (setHeightOfRow): use const iterators
1681
1682 2004-05-17  Angus Leeming  <leeming@lyx.org>
1683
1684         * lfuns.h:
1685         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1686
1687         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1688         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1689         if the citation engine has changed.
1690
1691 2004-05-14  José Matos  <jamatos@lyx.org>
1692
1693         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1694         if the textclass does not provide it. Have it different for sgml and
1695         xml.
1696         support the language of document.
1697         * output_docbook.C (docbookParagraphs):
1698         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1699         first anchor as the id of the paragraph, remove special case code.
1700         * sgml.C (escapeChar): escape only < & >.
1701
1702 2004-05-14  Angus Leeming  <leeming@lyx.org>
1703
1704         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1705         dependencies on src/frontends/controllers/biblio.h. Define a
1706         CiteEngine_enum wrapper class to enable the enum to be forward
1707         declared.
1708
1709 2004-05-12  Angus Leeming  <leeming@lyx.org>
1710
1711         * buffer.C: up LYX_FORMAT to 234.
1712         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1713         use_numerical_citations with a single biblio::CiteEngine cite_engine
1714         variable.
1715         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1716
1717 2004-05-13  José Matos  <jamatos@lyx.org>
1718
1719         * converter.h:
1720         * converter.C (Converter, readFlags): add xml member.
1721         * outputparams.h: add XML flavor.
1722         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1723
1724 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1725
1726         * lyxfunc.C (dispatch):
1727         (getStatus): fix handling of LFUN_SEQUENCE
1728
1729 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1730
1731         * debug.C (showLevel): do not forget the end-of-line marker
1732
1733 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * kbmap.C (read): do not stop parsing a bind file when an error
1736         occurs (bug 1575)
1737
1738 2004-04-29  Angus Leeming  <leeming@lyx.org>
1739
1740         * cursor.C:
1741         * factory.C:
1742         * pariterator.C:
1743         * text2.C: wrap a bunch of #warning statements
1744         inside #ifdef WITH_WARNINGS blocks.
1745
1746 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1747
1748         * buffer.C: increment format to 233.
1749
1750 2004-04-28  Angus Leeming  <leeming@lyx.org>
1751
1752         * BufferView_pimpl.C:
1753         * lyxfunc.C:
1754         * text3.C:
1755         s/updateToolbar()/updateToolbars()/
1756         s/Toolbar.h/Toolbars.h/
1757
1758 2004-04-28  Angus Leeming  <leeming@lyx.org>
1759
1760         * BufferView.[Ch] (c-tor):
1761         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1762         No longer passes these data to the WorkArea generator.
1763
1764 2004-04-28  Angus Leeming  <leeming@lyx.org>
1765
1766         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1767
1768 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1769
1770         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1771
1772 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1773
1774         * output_latex.C (TeXEnvironment): make sure that there is a line
1775         break before \end{foo} for the last paragraph of a document
1776         (TeXOnePar): if the paragraph is at the end of the document (or
1777         inset) and the language has to be reset, then make sure that the
1778         line break is _before_ the language command, not after (fixes bug
1779         1225); also make sure that the language reset command is the first
1780         thing after the paragraph (to ensure proper nesting of
1781         environments and thus fix bug 1404)
1782
1783 2004-04-21  John Levon  <levon@movementarian.org>
1784
1785         * ToolbarBackend.h:
1786         * ToolbarBackend.C: make "name" be a programmatic name
1787         and a gui_name field.
1788
1789         * lyxfunc.C: display the minibuffer on M-x
1790
1791 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1792
1793         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1794         (bug 1526)
1795
1796 2004-04-19  Angus Leeming  <leeming@lyx.org>
1797
1798         * BufferView_pimpl.C (setBuffer): changed preview interface.
1799
1800         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1801         possible values.
1802
1803 2004-04-19  John Levon  <levon@movementarian.org>
1804
1805         * BufferView_pimpl.C:
1806         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1807
1808 2004-04-05  Angus Leeming  <leeming@lyx.org>
1809
1810         * text.C (redoParagraphs): add call to updateCounters(), thereby
1811         fixing the missing "Figure #:" label from the caption of a
1812         figure float.
1813
1814 2004-04-13  Angus Leeming  <leeming@lyx.org>
1815
1816         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1817         cursor is clicked out of an inset.
1818
1819 2004-04-13  Angus Leeming  <leeming@lyx.org>
1820
1821         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1822         than an InsetOld one.
1823
1824 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1825
1826         * format.[Ch]: add editor to Format
1827         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1828         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1829
1830 2004-04-08  André Pönitz  <poenitz@gmx.net>
1831
1832         * metricsinfo.h: remove PainterInfo::width member
1833
1834 2004-04-08  Angus Leeming  <leeming@lyx.org>
1835
1836         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1837         "\providecommand" rather than "\newcommand", thereby preventing
1838         clashes with packages that define "\boldsymbol" themselves.
1839         Eg, beamer.
1840
1841 2004-04-08  Angus Leeming  <leeming@lyx.org>
1842
1843         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1844         thereby squashing an unnecessary warning.
1845
1846 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1847
1848         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1849         setBuffer()
1850
1851 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1852
1853         * BufferView.C (setCursor): call redoParagraph (some insets could
1854         have been opened)
1855         (putSelectionAt): remove the 'double update' trick
1856
1857         * BufferView_pimpl.C (fitCursor): call refreshPar
1858         (workAreaDispatch): remove an uneeded update call
1859         (dispatch): remove some manual update calls
1860
1861         * cursor.[Ch]: remove cached_y_, updatePos
1862         (selHandle): set noUpdate when appropriate
1863
1864         * lyxfunc.C (dispatch): track if we need an update
1865
1866         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1867
1868         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1869         (paintSelection): cheap optimization, do not call cursorX when not
1870         needed
1871         (paintPars): change signature
1872         (refreshPar): add
1873         (paintText): adjust
1874         (paintTextInset): adjust
1875
1876         * text.C: adjust
1877
1878 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1879
1880         * lengthcommon.C: compilation fix: remove explicit array size from
1881         unit_name[] and friends
1882
1883 2004-04-05  Angus Leeming  <leeming@lyx.org>
1884
1885         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1886
1887         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1888         present only for the preferences dialog.
1889         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1890
1891 2004-04-05  Angus Leeming  <leeming@lyx.org>
1892
1893         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1894         to enable the frontends to export changes to lyxrc correctly.
1895
1896         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1897
1898 2004-04-07  André Pönitz  <poenitz@gmx.net>
1899
1900         * cursor.[Ch] (selClear, adjust): remove math
1901
1902         * cursor_slice.C: more agressive assert
1903
1904         * lyxfunc.C:
1905         * BufferView_pimpl.C: rework mouse event dispatch
1906
1907         * dociterator.C:
1908         * paragraph.C:
1909         * text2.C:
1910         * text3.C: adjust
1911
1912 2004-04-05  André Pönitz  <poenitz@gmx.net>
1913
1914         * cursor.[Ch] (valign, halign...): remove unneeded functions
1915
1916 2004-04-05  Angus Leeming  <leeming@lyx.org>
1917
1918         * lyxlength.[Ch] (unit_name et al.): const-correct.
1919
1920 2004-04-05  Angus Leeming  <leeming@lyx.org>
1921
1922         * BufferView_pimpl.C:
1923         * buffer.C:
1924         * counters.C:
1925         * cursor.C:
1926         * lyxfunc.C
1927         * paragraph.C:
1928         * pariterator.C:
1929         * text.C:
1930         * text2.C:
1931         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1932
1933 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1936
1937 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1938
1939         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1940         * BufferView_pimpl.[Ch] (getStatus)
1941         * BufferView.[Ch] (getStatus): add
1942         * lyxfunc.C (getStatus): move lfuns handled in
1943         BufferView::dispatch to te function above
1944         * Cursor.C (setSelection): set selection() = true
1945
1946 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1947
1948         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1949
1950 2004-03-31  Angus Leeming  <leeming@lyx.org>
1951
1952         * lyxfunc.C (dispatch): Fall through to the generic
1953         Dialogs::show("preamble").
1954
1955 2004-03-31  Angus Leeming  <leeming@lyx.org>
1956
1957         * lyxfunc.C (dispatch): Fall through to the generic
1958         Dialogs::show("spellchecker").
1959
1960 2004-03-31  Angus Leeming  <leeming@lyx.org>
1961
1962         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1963         preferences dialog.
1964
1965 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1966
1967         * BufferView.C
1968         * cursor.[Ch]
1969         * dociterator.[Ch]:
1970         * insetiterator.[Ch]:
1971         * lyxfind.C:
1972         * lyxfunc.C:
1973         * pariterator.[Ch]:
1974         * text2.C:
1975         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1976
1977 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1978
1979         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1980         insets where we are putting the cursor.
1981
1982 2004-03-31  Angus Leeming  <leeming@lyx.org>
1983
1984         * lfuns.h:
1985         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1986
1987         * lyxrc.[Ch] (read, write): overloaded member functions taking
1988         a std::[io]stream arguments.
1989
1990         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1991
1992 2004-03-31  Angus Leeming  <leeming@lyx.org>
1993
1994         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1995         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1996
1997         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1998         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1999
2000 2004-03-31  Angus Leeming  <leeming@lyx.org>
2001
2002         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2003         the LFUN_ALL_INSETS_TOGGLE code.
2004
2005 2004-03-30  Angus Leeming  <leeming@lyx.org>
2006
2007         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2008         has died. Fall through to the generic Dialogs::show("document").
2009
2010 2004-03-30  Angus Leeming  <leeming@lyx.org>
2011
2012         * lfuns.h:
2013         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2014         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2015
2016         * lyxfunc.C (getStatus, dispatch): define the actions for these
2017         lfuns. Little more than a cut and pste job from ControlDocument.C
2018
2019         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2020
2021 2004-03-30  Angus Leeming  <leeming@lyx.org>
2022
2023         * lfuns.h:
2024         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2025         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2026
2027         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2028         open/closed state of ollapsable insets. Usage:
2029
2030         all-inset-toggle <state> <name>, where
2031         <state> == "open" || "closed" || "toggle" and
2032         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2033
2034         * lyxtext.h, text2.C (toggleInset): removed.
2035
2036         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2037         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2038         now passes LFUN_INSET_TOGGLE to the found inset.
2039
2040         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2041         is now invoked as "all-insets-toggle toggle branch".
2042
2043 2004-03-30  Angus Leeming  <leeming@lyx.org>
2044
2045         * dociterator.C:
2046         * insetiterator.C:
2047         * pariterator.[Ch]: added/corrected header blurb.
2048
2049 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2050
2051         * dociterator.[Ch]: add an inset_ member
2052         (backwardPos): implemented
2053         (backwardPos, forwardPos): use inset_ when the stack is empty.
2054         (doc_iterator_begin, doc_iterator_end): implemented
2055         * pariterator.[Ch]: adjust, add begin, end
2056         * insetiterator.[Ch]: adjust, add begin, end
2057         * cursor.C:
2058         * document.C:
2059         * BufferView.C:
2060         * BufferView_pimpl.C:
2061         * CutAndPaste.C: adjust
2062
2063 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2064
2065         * buffer.C: increment file format to 232.
2066         * LaTeXFeatures.C: add bibtopic package.
2067         * bufferparams.[Ch]: param \use_bibtopic.
2068
2069         * lyxrc.[Ch]: add lyxrc bibtex_command
2070         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2071
2072         * buffer.C: increment file format to 231.
2073
2074 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2075
2076         * dociterator.C: implement forwardPar
2077         * iterators.[Ch]: remove, replaced by
2078         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2079         * BufferView.C:
2080         * BufferView_pimpl.C:
2081         * CutAndPaste.C:
2082         * buffer.C:
2083         * bufferview_funcs.C:
2084         * cursor.C:
2085         * lyxfind.C
2086         * lyxfunc.C
2087         * paragraph_funcs.C
2088         * toc.C:
2089         * Makefile.am: adjust
2090
2091 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2092
2093         * CutAndPaste.C (pasteSelection): fix 2 crashes
2094         (eraseSelection): fix a crash
2095         * paragraph_funcs.C: remove a warning
2096
2097 2004-03-28  Angus Leeming  <leeming@lyx.org>
2098
2099         * lfuns.h:
2100         * LyXAction.C (init): new LFUN_PRINT.
2101
2102         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2103
2104 2004-03-27  Angus Leeming  <leeming@lyx.org>
2105
2106         * lfuns.h:
2107         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2108
2109         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2110
2111 2004-03-27  Angus Leeming  <leeming@lyx.org>
2112
2113         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2114         insetlist always contains non-null pointers to insets.
2115
2116 2004-03-26  Angus Leeming  <leeming@lyx.org>
2117
2118         * src/BufferView_pimpl.C:
2119         * src/CutAndPaste.C:
2120         * src/buffer.C:
2121         * src/iterators.C:
2122         * src/output_plaintext.C:
2123         * src/outputparams.h:
2124         * src/paragraph_funcs.C:
2125         * src/rowpainter.C:
2126         * src/text.C:
2127         * src/text2.C:
2128         * src/frontends/controllers/ControlErrorList.C:
2129         * src/frontends/gtk/FileDialogPrivate.C:
2130         * src/frontends/gtk/GPainter.C:
2131         * src/frontends/gtk/GToolbar.C:
2132         * src/frontends/qt2/QRef.C:
2133         * src/mathed/math_scriptinset.C: squash compiler warnings.
2134
2135 2004-03-26  Angus Leeming  <leeming@lyx.org>
2136
2137         * ispell.C (LaunchIspell::start):
2138         * lyx_cb.C (AutoSaveBuffer::start):
2139         invoke run(DontWait) rather than runNonBlocking().
2140
2141 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2144
2145 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2146
2147         * kbsequence.C (print): adjust
2148
2149         * kbmap.C (printKeySym): rename and change signature
2150         (printKey): use LyXKeySym::print()
2151
2152 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2153
2154         * undo.C: add using std::advance to compile for stlport
2155
2156 2004-03-24  Angus Leeming  <leeming@lyx.org>
2157
2158         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2159         it leads to a crash when no buffer is present.
2160
2161 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162             Martin Vermeer  <martin.vermeer@hut.fi>
2163
2164         * lyxfunc.C (dispatch):
2165         * bufferparams.C (readToken): use the new LColor::setColor
2166
2167         * LColor.[Ch] (setColor): new version that takes two strings as
2168         argument and creates a new color entry if necessary
2169
2170 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2171
2172         * buffer.C (makeLaTeXFile): if the main latex file that is
2173         processed is usually a subdocument of some master, then pretend
2174         for a while that it is actually the master
2175
2176 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2177
2178         * buffer.C (getLabelList):
2179         (getBibkeyList): use getMasterBuffer()
2180         (getMasterBuffer): new method. Returns the main document in the
2181         case where one is using included documents.
2182
2183 2004-03-25  André Pönitz  <poenitz@gmx.net>
2184
2185         * Makefile.am:
2186         * iterators.[Ch]:
2187         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2188
2189         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2190
2191         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2192         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2193
2194         * ParameterStruct.h: merge with ParagraphParameters
2195
2196         * lyxtext.h: remove LyXText::parOffset() and getPar()
2197
2198         * text3.C: Remove all 'manual' update calls. We do now one per user
2199         interaction which is completely sufficient.
2200
2201         * Bidi.C:
2202         * BufferView.[Ch]:
2203         * BufferView_pimpl.C:
2204         * FontIterator.[Ch]:
2205         * MenuBackend.C:
2206         * ParagraphParameters.[Ch]:
2207         * buffer.C:
2208         * buffer.h:
2209         * bufferlist.C:
2210         * cursor.[Ch]:
2211         * cursor_slice.[Ch]:
2212         * dociterator.[Ch]:
2213         * errorlist.[Ch]:
2214         * factory.C:
2215         * lfuns.h:
2216         * lyxfind.C:
2217         * lyxfunc.C:
2218         * output_docbook.[Ch]:
2219         * output_latex.[Ch]:
2220         * output_linuxdoc.[Ch]:
2221         * output_plaintext.[Ch]:
2222         * paragraph.[Ch]:
2223         * paragraph_funcs.[Ch]:
2224         * paragraph_pimpl.[Ch]:
2225         * rowpainter.C:
2226         * tabular.[Ch]:
2227         * text.C:
2228         * text2.C:
2229         * toc.C:
2230         * undo.[Ch]: adjust
2231
2232         * frontends/controllers/ControlDocument.C:
2233         * frontends/controllers/ControlErrorList.C:
2234         * frontends/controllers/ControlSpellchecker.C:
2235         * insets/inset.C:
2236         * insets/inset.h:
2237         * insets/insetbase.h:
2238         * insets/insetbibitem.C:
2239         * insets/insetbox.C:
2240         * insets/insetbranch.C:
2241         * insets/insetcaption.C:
2242         * insets/insetcharstyle.C:
2243         * insets/insetcharstyle.h:
2244         * insets/insetcollapsable.C:
2245         * insets/insetcollapsable.h:
2246         * insets/insetert.C:
2247         * insets/insetfloat.C:
2248         * insets/insetfoot.C:
2249         * insets/insetmarginal.C:
2250         * insets/insetnote.C:
2251         * insets/insetoptarg.C:
2252         * insets/insettabular.C:
2253         * insets/insettext.C:
2254         * insets/insettext.h:
2255         * insets/insetwrap.C:
2256         * mathed/math_mboxinset.C:
2257         * mathed/math_nestinset.C:
2258         * mathed/math_scriptinset.C:
2259         * mathed/math_scriptinset.h:
2260         * support/types.h:
2261
2262 2004-03-24  Angus Leeming  <leeming@lyx.org>
2263
2264         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2265         deal with any child processes that have finished but are waiting to
2266         communicate this fact to the rest of LyX.
2267
2268 2004-03-24  Angus Leeming  <leeming@lyx.org>
2269
2270         64-bit compile fixes.
2271
2272         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2273         (c-tor): pass lyx::pos_types rather than ints.
2274
2275         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2276         lyx::pos_type.
2277
2278         * text.C (Delete): compile fix.
2279         (getPar): ensure that function declaration is the same as that in
2280         the header file.
2281
2282 2004-03-23  Angus Leeming  <leeming@lyx.org>
2283
2284         * ispell.C (LaunchIspell):
2285         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2286         a boost::shred_ptr rather than a std::auto_ptr.
2287
2288 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2289
2290         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2291         handle LFUN_FILE_INSERT_*
2292
2293         * lyxrc.C (setDefaults, getDescription, output, read):
2294         * lyxrc.h: remove ps_command
2295
2296 2004-03-22  Angus Leeming  <leeming@lyx.org>
2297
2298         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2299         Ensure that error_handler is processed once only and that all data
2300         is saved before attempting to output any warning messages.
2301
2302         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2303
2304 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2305
2306         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2307
2308 2004-03-19  André Pönitz  <poenitz@gmx.net>
2309
2310         * cursor.[Ch] (reset): take main text inset as argument
2311
2312         * BufferView: adjust
2313         * BufferView_pimpl.C: adjust
2314
2315         * paragraph.[Ch]: fix completely broken operator=()
2316
2317 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2318
2319         * LColor.C (getFromLyXName): make sure that the color name is used
2320         as lowercase.
2321
2322 2004-03-17  Angus Leeming  <leeming@lyx.org>
2323
2324         * lfuns.h:
2325         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2326
2327         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2328         dialog and to kill a forked process.
2329
2330 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * text2.C (setCursorFromCoordinates): fix font problem
2333
2334 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2337         bogus "rebuild cursor" code
2338
2339 2004-03-11  André Pönitz  <poenitz@gmx.net>
2340
2341         * buffer.[Ch]: use InsetText instead of LyXText as container for
2342         the main lyx text.
2343
2344         * dociterator.[Ch]: drop the BufferView * member which is not needed
2345         anymore after the change to buffer.C
2346
2347         * paragraph_funcs.C:
2348         * text.C:
2349         * text2.C:
2350         * BufferView.[Ch]:
2351         * BufferView_pimpl.[Ch]:
2352         * cursor.[Ch]:
2353         * cursor_slice.[Ch]: adjust
2354
2355         * text3.C: fix bug in mathDispatch
2356
2357 2004-03-08  André Pönitz  <poenitz@gmx.net>
2358
2359         * undo.[Ch]: use 'StableDocumentIterator' as base for
2360         the Undo struct.
2361
2362 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2363
2364         * LaTeXFeatures.C:
2365         * bufferparams.[Ch]: add jurabib support and param.
2366
2367         * LaTeX.C: add FIXME/comment.
2368
2369 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2370
2371         * buffer.C: increment file format to 230.
2372
2373 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2374
2375         * cursor.C (dispatch): avoid infinite loops
2376
2377 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2378
2379         * rowpainter.C (paintSelection): fix x coordinates
2380
2381 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * text.C (rowBreakPoint): fix breaking before displayed insets
2384
2385 2004-03-01  André Pönitz  <poenitz@gmx.net>
2386
2387         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2388
2389         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2390
2391         * Makefile.am:
2392         * BufferView.C:
2393         * BufferView_pimpl.C:
2394         * buffer.C:
2395         * lyxfind.C:
2396         * lyxfunc.C:
2397         * text.C:
2398         * text2.C:
2399         * text3.C: adjust
2400
2401 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * lyxtext.h:
2404         * text.C:
2405         * text2.C:
2406         * rowpainter.C:
2407         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2408         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2409
2410 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2411
2412         * Bidi.[Ch] (computeTables): const correctness
2413         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2414         fill_hfill, fill_label_hfill and x from Row
2415         * lyxtext.h: prepareToPrint returns a RowMetrics
2416         * rowPainter.C: adjust
2417         * text.C (prepareToPrint): use width, not textWidth. adjust
2418         (redoParagraphInternal, cursorX): adjust
2419         * text2.C (getColumnNearX): adjust
2420         (init): put a default value to the top LyXText::width
2421
2422 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2425
2426 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * lyxtext.h: add FontIterator class
2429
2430         * text.C (FontIterator, operator*, operator->, operator++): add
2431         (rowBreakPoint, setRowWidth): adjust (fixing a
2432         rebreaking bug)
2433
2434 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * BufferView_pimpl.C (workAreaDispatch): allow also
2437         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2438
2439 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2440
2441         * text.C (rowBreakPoint): fix a bug showing with very large insets
2442
2443 2004-02-25  André Pönitz  <poenitz@gmx.net>
2444
2445         * text3.C:
2446         * cursor.[Ch]: move some mathed specific code to mathed
2447
2448 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2449
2450         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2451         use_tempdir in preferences
2452         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2453         tempfile creation
2454         * lyx_main.C: ensure that tempdir is valid
2455         * lyxlex.h: correct typo
2456         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2457         * paragraph.[Ch] (isMultiLingual): make const
2458         * cursor.[Ch] (openable): make const
2459
2460 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2461
2462         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2463
2464 2004-02-20  André Pönitz  <poenitz@gmx.net>
2465
2466         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2467
2468         * cursor.[Ch]: prepare for localized getStatus()
2469
2470         * lyxtext.h:
2471         * tabular.C:
2472         * text.C:
2473         * text2.C:
2474         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2475
2476 2004-02-20  André Pönitz  <poenitz@gmx.net>
2477
2478         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2479
2480 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2481
2482         * text2.C (setCursorFromCoordinates): switch to absolute coords
2483         (cursorUp): adjust
2484         (cursorDown): adjust
2485         * text3.C (dispatch): adjust
2486
2487 2004-02-16  André Pönitz  <poenitz@gmx.net>
2488
2489         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2490           insets/ChangeLog)
2491
2492         * cursor_slice.[Ch]: remove unneeded acessor function
2493
2494         * lyxtext.h: rename rtl() to isRTL()
2495
2496         * rowpainter.C:
2497         * tabular.C:
2498         * text.C:
2499         * text2.C:
2500         * text3.C: adjust
2501
2502 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2503
2504         * rowpainter.C (paintSelection): coord fix
2505
2506 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2507
2508         * Spacing.C: compile fix
2509
2510 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2511
2512         * cursor.C (dispatch): restore current_ before returning
2513
2514 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * text2.C (cursorUp, cursorDown): fix coords
2517         (moveUp): fix crash
2518
2519 2004-02-12  André Pönitz  <poenitz@gmx.net>
2520
2521         * lyxtext.h:
2522         * text.C:
2523         * text2.C:
2524         * text3.C: add LCursor & parameter to most cursor movement functions
2525           remove usage of LyXText::cursorRow() and cursorPar()
2526
2527         * cursor.[Ch]: add textRow() needed members
2528
2529         * BufferView.C:
2530         * BufferView_pimpl.C:
2531         * paragraph.[Ch]:
2532         * BufferView.C:
2533         * BufferView_pimpl.C: adjust
2534
2535 2004-02-11  André Pönitz  <poenitz@gmx.net>
2536
2537         * lyxfunc.C:
2538         * BufferView.[Ch]:
2539         * BufferView_pimpl.C: shift undo/redo handling
2540
2541         * cursor.[Ch]: fix mathed crash
2542
2543         * lyxfind.C:
2544         * lyxtext.h: move selectionAsText to LCursor
2545
2546         * output_latex.C:
2547         * paragraph.C:
2548         * text.C:
2549         * text2.C:
2550         * text3.C: adjust
2551
2552         * rowpainter.C: fix excessive drawing
2553
2554 2004-02-06  André Pönitz  <poenitz@gmx.net>
2555
2556         * BufferView.[Ch]:
2557         * BufferView_pimpl.[Ch]:
2558         * text3.C: move some text specific LFUN handling
2559
2560 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2561
2562         * text3.C (checkInsetHit): adjust coords
2563         * text2.C (getColumnNearX): adjust coords
2564         (edit): adjust coords
2565         * text.C (getRowNearY): add two asserts
2566
2567 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2568
2569         * converter.C:
2570         * format.C: add using std::distance to compile on gcc 2.95/stlport
2571
2572 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2573
2574         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2575
2576 2004-02-04  André Pönitz  <poenitz@gmx.net>
2577
2578         * BufferView.[Ch] (insertInset):
2579         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2580
2581         * text2.C:
2582         * text3.C: adjust
2583
2584 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2585
2586         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2587         on the default clause of the switch
2588         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2589         wasn't catched by LCursor::dispatch
2590
2591 2004-02-03  André Pönitz  <poenitz@gmx.net>
2592
2593         * BufferView.C:
2594         * cursor.[Ch]: some additional asserts
2595
2596         * undo.[Ch]: remove LyXText dependency in interface
2597
2598         * lyxfunc.C: adjust
2599
2600         * lyxtext.h (firstPar, lastPar): remove dead functions
2601
2602         * text.C:
2603         * text2.C:
2604         * text3.C:
2605         * paragraph.[Ch]: adjust
2606
2607 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2608
2609         * lyxfind.C (find): fix argument order in call to ::find
2610
2611 2004-02-02  André Pönitz  <poenitz@gmx.net>
2612
2613         * cursor.[Ch]: remove direct access to anchor
2614
2615         * text.C: remove findText() hack
2616
2617 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2618
2619         * iterators.[Ch] (lockPath): remove in favour of...
2620         * BufferView.[Ch] (setCursor): this addition
2621         * BufferView.C (putSelectionAt): adjust
2622         * undo.C (performUndoOrRedo): adjust
2623         * lyxfunc.C (dispatch): adjust
2624
2625 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2626
2627         * iterators.C (lockPath): add a missing slice
2628         * undo.C (performUndoOrRedo): remove redundant positioning code
2629
2630 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2631
2632         * vc-backend.C (scanMaster): ";" -> ';'
2633
2634 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2635
2636         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2637         std::binary_function
2638
2639         * lyxtextclass.C (compare_name): rename to...
2640         (LayoutNamesEqual): ...this
2641
2642         * lyxlex_pimpl.C (compare_tags): inherit from
2643         std::binary_function, put back into anon namespace
2644
2645         * lyxfind.C (MatchString): inherig from std::binary_function
2646         (findChange): use empty() istead of !size()
2647
2648         * format.C (FormatNamesEqual): new functor
2649         (getFormat): use it
2650         (getNumber): use it
2651         (add): use it
2652         (erase): use it
2653         (setViewer): use it
2654
2655         * converter.C (compare_Converter): rename to...
2656         (ConverterEqual): ...this, and fixup a bit.
2657         (getConverter): use it, and make function const
2658         (getNumber): use it, and make function const
2659         (add): use it
2660         (erase): use it:
2661
2662         * bufferlist.C: add using boost::bind
2663
2664         * MenuBackend.C (MenuNamesEqual): new functor
2665         (hasMenu): use it, and make function const
2666         (hasSubmenu): use nested bind to get rid of compare_memfun.
2667
2668 2004-01-30  André Pönitz  <poenitz@gmx.net>
2669
2670         * BufferView_pimpl.C:
2671         * cursor.C:
2672         * cursor.h:
2673         * cursor_slice.[Ch]:
2674         * lyxfunc.C:
2675         * lyxtext.h:
2676         * paragraph_funcs.C:
2677         * paragraph_funcs.h:
2678         * rowpainter.C:
2679         * text.C:
2680         * text2.C:
2681         * text3.C: move some of the edit(x,y) handling to the insets
2682         some coordinate changes.
2683
2684 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2685
2686         * text.C: add using statements for std::advance and std::distance
2687
2688         * paragraph.C: add using statement for std::distance
2689
2690         * lyxfind.C: add using statement for std::advance
2691
2692         * cursor.C (region): remove std:: from swap
2693         (openable): use nucleus in stead of operator->
2694
2695         * BufferView.C: add using statements for std::distance and std::swap
2696
2697 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2698
2699         * iterators.C: Remove the pimple, move the needed structures to
2700         the header file. Create accessor for the positions stack.
2701         (asPosIterator): remove function
2702
2703         * PosIterator.C (PosIterator): move constructors to top of file
2704         (PosIterator): reimplement the constructor taking a ParIterator in
2705         terms of setFrom.
2706         (setFrom): new function
2707         (operator!=): inline it
2708
2709 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2710
2711         * lyxfind.C (replaceAll): use std::advance
2712
2713         * iterators.h: inherit from std::iterator.
2714
2715         * PosIterator.C (advance, distance): remove
2716         * PosIterator.h: interit from std::iterator.
2717
2718 2004-01-26  André Pönitz  <poenitz@gmx.net>
2719
2720         * BufferView.[Ch]:
2721         * BufferView_pimpl.[Ch]:
2722         * InsetList.[Ch]:
2723         * PosIterator.[Ch]:
2724         * buffer.h:
2725         * bufferview_funcs.C:
2726         * cursor.[Ch]:
2727         * cursor_slice.h:
2728         * factory.[Ch]:
2729         * iterators.[Ch]:
2730         * lyxfind.C:
2731         * lyxfunc.C:
2732         * lyxtext.h:
2733         * output_docbook.C:
2734         * output_latex.C:
2735         * output_linuxdoc.C:
2736         * output_plaintext.C:
2737         * paragraph.[Ch]:
2738         * paragraph_funcs.[Ch]:
2739         * paragraph_pimpl.[Ch]:
2740         * rowpainter.C:
2741         * tabular.C:
2742         * tabular.h:
2743         * text.C:
2744         * text2.C:
2745         * text3.C: more IU:  dumps most of the rest of the mathcursor
2746     implementation into cursor.[Ch]; "globalize" a bit of it.
2747
2748 2004-01-25  Angus Leeming  <leeming@lyx.org>
2749
2750         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2751
2752 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2753
2754         * LaTeXFeatures.h: add nice_ and nice() const
2755         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2756
2757 2004-01-20  André Pönitz  <poenitz@gmx.net>
2758
2759         * BufferView.[Ch]:
2760         * BufferView_pimpl.C:
2761         * PosIterator.C:
2762         * bufferview_funcs.C:
2763         * cursor.[Ch]:
2764         * cursor_slice.[Ch]:
2765         * factory.C:
2766         * iterators.C:
2767         * lyx_cb.C:
2768         * lyxfind.C:
2769         * lyxfunc.C:
2770         * lyxtext.h:
2771         * rowpainter.C:
2772         * text.C:
2773         * text2.C:
2774         * text3.C:
2775         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2776           LCursor and mathcursor parts to LCursor and InsetBase.
2777
2778 2004-01-15  André Pönitz  <poenitz@gmx.net>
2779
2780         * cursor_slice.[Ch]: add a few covienience functions
2781
2782         * funcrequest.[Ch]: remove BufferView * member
2783
2784         * BufferView_pimpl.C:
2785         * cursor.C:
2786         * factory.[Ch]:
2787         * lyxfind.[Ch]:
2788         * lyxfunc.C:
2789         * lyxtext.h:
2790         * text3.C:
2791         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2792
2793 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2794
2795         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2796         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2797
2798 2004-01-13  André Pönitz  <poenitz@gmx.net>
2799
2800         * textcursor.[Ch]:
2801         * lyxtext.h: hide cursor and selection anchor behind accessor function
2802
2803         * BufferView.C:
2804         * BufferView_pimpl.[Ch]:
2805         * PosIterator.C:
2806         * bufferview_funcs.C:
2807         * cursor.h:
2808         * lyxfind.C:
2809         * lyxfunc.C:
2810         * text.C:
2811         * text2.C:
2812         * text3.C:
2813         * undo.C: adjust
2814
2815         * cursor.h:
2816         * cursor_slice.[Ch]: some integer type changes for inset unification
2817
2818         * lyxcursor.[hC]: remove, it's CursorSlice now.
2819
2820         * Makefile.am:
2821         * BufferView_pimpl.[Ch]:
2822         * bufferview_funcs.C:
2823         * cursor_slice.C:
2824         * lyxtext.h:
2825         * text.C:
2826         * text2.C:
2827         * text3.C:
2828         * textcursor.[Ch]: adjust
2829
2830 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2831
2832         * text2.C (undoSpan): add and use
2833         * text.C (breakParagraph): use undoSpan (fix bug 578)
2834         * lyxtext.h: adjust
2835
2836 2004-01-08  Angus Leeming  <leeming@lyx.org>
2837
2838         * BufferView_pimpl.C (MenuInsertLyXFile):
2839         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2840         * lyxfunc.C (menuNew, open, doImport):
2841         FileFilterList change to the FileDialog open and save functions.
2842
2843 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2844
2845         * ShareContainer.h: make isEqual and isUnique adaptable
2846
2847         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2848
2849 2004-01-07  Angus Leeming  <leeming@lyx.org>
2850
2851         * LyXAction.C:
2852         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2853
2854         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2855
2856         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2857         functions replacing find, replace and replaceAll.
2858
2859         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2860         LFUN_WORDFIND(FORWARD|BACKWARD).
2861
2862 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2863
2864         * text.C (breakParagraph): remove an outdated #warning
2865
2866 2004-01-07  André Pönitz  <poenitz@gmx.net>
2867
2868         * lyxfind.C: somewhat clearer logic
2869
2870         * text.C: prevent crash in cursorX on unitialized row cache
2871
2872 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2873
2874         * lyxcursor.[Ch] (operator>): add
2875         * textcursor.C (selStart, selEnd): use std::min and std::max
2876
2877 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2878
2879         * Chktex.C: include boost/format.hpp
2880
2881 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2882
2883         * InsetList.C: replace functor MathcIt with adaptable functor
2884         InsetTablePosLess
2885         (insetIterator): modify accordingly
2886
2887         * BranchList.h: move the BranchNamesEqual functor here from...
2888         * BranchList.C: ... to here
2889
2890         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2891         SameName and match.
2892         (add): replace a finding loop with std::find_if.
2893
2894 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2895
2896         * output_docbook.C: moving LatexParam functionality into
2897         .layout files
2898
2899 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2900
2901         * buffer.C: increment format to 229.
2902
2903 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2904
2905         * LaTeXFeatures.C:
2906         * lyx_sty.[Ch]: remove minipageindent_def
2907
2908         * LyXAction.C:
2909         * factory.C:
2910         * lfuns.h:
2911         * lyxfunc.C:
2912         * text3.C: remove LFUN_INSET_MINIPAGE
2913
2914 2003-12-28  Angus Leeming  <leeming@lyx.org>
2915
2916         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2917
2918 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2919
2920         * text2.C (setParagraph): fix off-by-one crash
2921
2922 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2923
2924         * output_docbook.C: header stuff for AGU
2925
2926 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2927
2928         * text2.C (redoCursor): remove
2929         * text.C:
2930         * text3.C:
2931         * BufferView_pimpl.C: remove calls to redoCursor and
2932         setCursor(cursor.par(), cursor.pos()) all around
2933
2934 2003-12-15  Angus Leeming  <leeming@lyx.org>
2935
2936         * buffer.C: up the format to 228.
2937
2938 2003-12-15  André Pönitz  <poenitz@gmx.net>
2939
2940         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2941         slices
2942
2943         * Makefile.am:
2944
2945         * BufferView_pimpl.C:
2946         * cursor.[Ch]:
2947         * lyxcursor.[Ch]:
2948         * rowpainter.[Ch]:
2949         * lyxtext.h:
2950         * text.C:
2951         * text2.C:
2952         * text3.C: adjust
2953
2954 2003-12-15  Angus Leeming  <leeming@lyx.org>
2955
2956         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2957         than getFromGUIName to manipulate the color.
2958
2959 2003-12-14  Angus Leeming  <leeming@lyx.org>
2960
2961         * BranchList.[Ch]: minimize the API.
2962         (Branch::getBranch, getColor): now return a 'const &'.
2963         (Branch::setSelected) now returns a bool set to true if the
2964         selection status changes.
2965         (BranchList::clear, size, getColor, setColor, setSelected,
2966         allBranches, allSelected, separator): removed.
2967         (BranchList::find): new functions, returning the Branch with
2968         the given name.
2969         (BranchList::add, remove): return a bool indicating that
2970         the operation was successful.
2971
2972         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2973         new InsetBranch::isBranchSlected member function.
2974
2975         * LColor.[Ch]: mimimize the API.
2976         (fill): renamed as addColor and made private.
2977         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2978         versions of these functions taking a string arg have been removed.
2979
2980         * bufferparams.C (readToken):
2981         * lyxfunc.C (dispatch):
2982         * lyxrc.C (read): changes due to the altered BranchList and
2983         LColor APIs.
2984
2985         * factory.C (createInset, readInset): changes due to altered
2986         InsetBranch c-tor.
2987
2988 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2989
2990         * factory.C:
2991         * lyxfunc.C: remove insetminipage. "minipage-insert"
2992         now produces a frameless minipage box inset.
2993
2994 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * textcursor.[Ch] (selStart,selEnd): add new methods
2997         remove selection::start, end, use LyXCursor::operator<
2998         * lyxcursor.[Ch] (operator<): add
2999         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3000         * BufferView.[Ch] (unsetXSel): add
3001         * text2.C (clearSelection): use unsetXSel,adjust
3002         * text.C: adjust
3003         * text3.C: adjust
3004         * rowpainter.C: adjust
3005         * bufferview_funcs.C (put_selection_at): adjust
3006
3007 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3008
3009         * BufferView_pimpl.C: small coord. correction
3010
3011 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3012
3013         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3014         dragging over the splash screen.
3015
3016 2003-12-11  Angus Leeming  <leeming@lyx.org>
3017
3018         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3019         as it is now handled in LyXText::dispatch.
3020
3021         * text3.C (doInsertInset): remove a level of nesting.
3022
3023 2003-12-11  Angus Leeming  <leeming@lyx.org>
3024
3025         * factory.C (createInset): changes due to the changed interface to
3026         InsetCommandMailer::string2params.
3027
3028 2003-12-10  Angus Leeming  <leeming@lyx.org>
3029
3030         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3031         'dialog-show-new-inset <inset name>'
3032
3033 2003-12-10  Angus Leeming  <leeming@lyx.org>
3034
3035         * buffer.C: up the format to 227.
3036
3037         * factory.C: the box inset is now identified simply by 'Box'.
3038
3039 2003-12-10  Angus Leeming  <leeming@lyx.org>
3040
3041         * buffer.C: up the format to 226.
3042
3043         * factory.C: the note inset is now identified simply by 'Note'.
3044
3045 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3046
3047         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3048         when a pit is enough. Standarize a couple of loops.
3049
3050 2003-12-05  Angus Leeming  <leeming@lyx.org>
3051
3052         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3053         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3054         data to the re-worked "log" dialog.
3055
3056 2003-12-03  André Pönitz  <poenitz@gmx.net>
3057
3058         * PosIterator.C:
3059         * iterators.C:
3060         * lyxtext.h:
3061         * output_latex.C:
3062         * paragraph_funcs.C:
3063         * text.C:
3064         * text2.C: use Inset::getText instead of Inset::getParagraph
3065
3066 2003-12-03  André Pönitz  <poenitz@gmx.net>
3067
3068         * buffer.[Ch]:
3069         * lyxtext.h:
3070         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3071         InsetText::read() as LyXText::read()
3072
3073 2003-12-02  Angus Leeming  <leeming@lyx.org>
3074
3075         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3076         type. Add a comment in the implementation that the function uses
3077         the stream's bad() function rather than fail() as the std::streams
3078         would do.
3079
3080 2003-12-02  André Pönitz  <poenitz@gmx.net>
3081
3082         * lyxlex.[Ch]: make interface more similar to std::stream
3083
3084         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3085
3086 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3087
3088         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3089
3090 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3091
3092         * vspace.[Ch]: remove VSpace::NONE
3093
3094 2003-12-01  André Pönitz  <poenitz@gmx.net>
3095
3096         * buffer.[Ch]:
3097         * lyxtext.h: move ParagraphList member to LyXText
3098         rename LyXText::ownerParagraphs to LyXText::paragraph
3099
3100         * CutAndPaste.C:
3101         * bufferview_funcs.C:
3102         * iterators.[Ch]:
3103         * lyx_cb.C:
3104         * paragraph.C:
3105         * rowpainter.C:
3106         * tabular.C:
3107         * text.C:
3108         * text2.C:
3109         * text3.C: adjust
3110
3111         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3112
3113         * undo.C: fix cursor positioning
3114
3115 2003-12-01  John Levon  <levon@movementarian.org>
3116
3117         * BufferView_pimpl.C: fix a crash on exit with
3118         a buffer open
3119
3120 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3121
3122         * BranchList.C: fix setSelected() method.
3123
3124 2003-11-28  André Pönitz  <poenitz@gmx.net>
3125
3126         * ParagraphParameters.[Ch]:
3127         * ParameterStruct.h: remove space above/below from Paragraph to
3128          InsetVSpace
3129
3130         * BufferView_pimpl.C:
3131         * factory.C:
3132         * lyxfunc.C:
3133         * lyxtext.h:
3134         * output_latex.C:
3135         * paragraph.C:
3136         * paragraph_funcs.C:
3137         * rowpainter.[Ch]:
3138         * text.C:
3139         * text2.C:
3140         * text3.C: adjust
3141
3142 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3143
3144         * factory.C: Syntax change for CharStyles
3145
3146 2003-11-28  André Pönitz  <poenitz@gmx.net>
3147
3148         * BufferView.[Ch]:
3149         * BufferView.[Ch]:
3150         * buffer.[Ch]:
3151         * buffer.[Ch]: move LyXText member
3152
3153 2003-11-28  André Pönitz  <poenitz@gmx.net>
3154
3155         * BufferView.[Ch]: make LyXText * text a private member
3156
3157         * BufferView_pimpl.C:
3158         * cursor.C:
3159         * iterators.C:
3160         * lyx_cb.C:
3161         * lyxfind.C:
3162         * lyxtext.h:
3163         * rowpainter.[Ch]:
3164         * text.C:
3165         * text2.C:
3166         * undo.C: adjust
3167
3168         * output_plaintext.C: cleanup
3169
3170 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3171
3172         * buffer.C:
3173         * lyxtextclass.[Ch]: parametrize SGML document header
3174
3175 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3176
3177         * converter.[Ch]:
3178         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3179         getFlavor().
3180
3181 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3182
3183         * text2.C (setFont): rework using PosIterator (no more recursive)
3184         (setCharFont): no more needed
3185         (setLayout): no more selection cursors fiddling (done by redoCursor)
3186         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3187         destroy remaining ones)
3188
3189 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3190
3191         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3192         * lyxtext.h: ditto
3193         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3194         selection cursors
3195         * lyxfunc.C: adjust
3196         * text3.C: adjust + re-allow multi par depth changes
3197         * textcursor.C: simplify a bit
3198
3199 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3200
3201         * src/buffer.C:
3202         * src/lyxlayout.C:
3203         * src/lyxlayout.h:
3204         * src/lyxtext.h:
3205         * src/output_docbook.C:
3206         * src/output_latex.C:
3207         * src/paragraph.C:
3208         * src/paragraph.h:
3209         * src/sgml.C:
3210         * src/sgml.h:
3211         * src/text2.C: Introducing a number of tags parametrizing various
3212         XML formats that we may want to support
3213
3214 2003-11-25  André Pönitz  <poenitz@gmx.net>
3215
3216         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3217
3218         * lyxtext.h (leftMargin/rightMargin): simplify interface
3219
3220         * rowpainter.C:
3221         * text.C:
3222         * text2.C:
3223         * text3.C: adjust
3224
3225 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3226
3227         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3228         master file to any child files. Fixes bug 546.
3229
3230 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3231
3232         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3233
3234 2003-11-24  André Pönitz  <poenitz@gmx.net>
3235
3236         * rowpainter.C: simplification
3237
3238         * text2.C (updateCounters): remove call to redoParagraph on
3239         changed labels as this is far too expensive.
3240
3241 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3242
3243         * converter.C (convert): fix a crash: this function gets
3244         called with buffer == 0 from importer code.
3245
3246 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3247
3248         * text3.C (cursorPrevious): make sure that we do not compare
3249         iterators form different containers.
3250         (cursorNext): ditto
3251
3252         * rowpainter.C (paintSelection): make sure that we do not compare
3253         iterators from different containers.
3254
3255         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3256         iterators from different ParagraphList containers.
3257         [NEXT] ditto
3258
3259         * text2.C (LyXText): change order of initialization slightly
3260         (operator=): new function. copy all variables except cache_par_
3261         (moveUp): make sure that we do not compare iterators from
3262         different ParagraphList constainers.
3263         (moveDown): ditto
3264
3265         * text.C (firstPar): new function
3266         (lastPar): new function
3267         (endPar): new function
3268
3269         * lyxtext.h: move things around and group public functions, public
3270         variables, private functions, private variables
3271
3272 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3273
3274         * factory.C: change call to InsetERT constructor to avoid
3275         additional invocation of method status
3276         * text2.C (toggleInset): remove redundant update() call
3277         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3278         instead of a Bufferview pointer
3279
3280 2003-11-21  André Pönitz  <poenitz@gmx.net>
3281
3282         * rowpainter.C: simplification
3283
3284 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3285
3286         * text3.C (dispatch): make possible to extend a word/row selection
3287         with the mouse
3288
3289 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3290
3291         * lyxtext.h: x0_,y0_ -> xo_,yo_
3292         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3293         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3294         * rowpainter.C (paintRows): paint full paragraphs
3295
3296 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3297
3298         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3299         screen coordinates)
3300
3301 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3302
3303         * lyxtext.h: add x0_, y0_
3304         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3305         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3306
3307 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3308
3309         * text2.C (setCursorIntern): move the x_target update here *
3310         * text3.C: change some bv() to true/false in calls to
3311         cursorUp/Down/Right/Left
3312         * cursor.C: use helper function.
3313
3314 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3315
3316         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3317         * paragraph_funcs.[Ch]: correct comment
3318         * rowpainter.C: do not paint selections away from bv->cursor()
3319         Fix a long standing selection painting bug.
3320         * text3.C: generalize mouse-selection code to LyXTexts other that
3321         top one
3322         * textcursor.C: do not use y coords if we can use par offsets
3323
3324 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3327         cursor position after e.g. inset insert)
3328
3329 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3330
3331         * lyxfind.C (replace): adjust to locking removal + some
3332         code simplification
3333
3334 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3337         of the path
3338
3339 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3340
3341         * lyxlayout.[Ch]:
3342         * output_docbook.C: XML sanitation: new layout
3343         parameters InnerTag and CommandDepth
3344
3345 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * BufferView_pimpl.C:
3348         * factory.C:
3349         * text3.C: Fix the insertion and modification of button-style
3350         insets
3351
3352 2003-11-13  André Pönitz  <poenitz@gmx.net>
3353
3354         * InsetList.[Ch]: remove deleteLyXText
3355
3356         * paragraph.[Ch]: cache beginOfBody position
3357
3358         * Bidi.C:
3359         * text.C:
3360         * text2.C:
3361         * text3.C: remove superfluous update() calls
3362
3363         * vspace.C: cleanup
3364
3365 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3366
3367         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3368         * BufferView.C (fitLockedInsetCursor): remove
3369         * cursor.[Ch] (getDim): add
3370         * text.C (getRowNearY): add faster version
3371         * text3.C: remove some update calls
3372
3373 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * LaTeXFeatures.C:
3376         * LyXAction.C:
3377         * MenuBackend.C:
3378         * MenuBackend.h:
3379         * dispatchresult.h:
3380         * factory.C:
3381         * lfuns.h:
3382         * lyxfunc.C:
3383         * lyxtextclass.C:
3384         * lyxtextclass.h:
3385         * text3.C: The Character Style /XML short element patch.
3386
3387 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3388
3389         * text3.C:
3390         * factory.C: Small step to solving 'unable to insert some insets'
3391         problem
3392
3393 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3394
3395         * cursor.[Ch] (updatePos): new function for updating the y
3396         position of the tip inset
3397         * bufferview_funcs.C (put_selection_at):
3398         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3399
3400 2003-11-11  André Pönitz  <poenitz@gmx.net>
3401
3402         * text.C: remove big comment on invalid Paragraph pointers as it is
3403         not valid anymore
3404
3405 2003-11-11  André Pönitz  <poenitz@gmx.net>
3406
3407         * text_funcs.[Ch]: merge with ...
3408
3409         * text.C: ... this
3410
3411         * lyxtext.h:
3412         * text2.C:
3413         * text3.C: adjust
3414
3415         * Makefile.am: remove text_funcs.[Ch]
3416
3417 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3418
3419         * cursor.C (getPos): return absolute cached y coord
3420
3421         * BufferView_pimpl.C (fitCursor): new simplistic code
3422         (workAreaDispatch): add a fitCursor call
3423
3424 2003-11-10  André Pönitz  <poenitz@gmx.net>
3425
3426         * BufferView.[Ch]:
3427         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3428
3429 2003-11-10  André Pönitz  <poenitz@gmx.net>
3430
3431         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3432         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3433         indicate that the cursor needs to leave an inset
3434
3435         * lyxtext.h: remove inset locking
3436
3437         * cursor.[Ch]: re-implement functionality provided by inset locking
3438
3439         * BufferView.[Ch]:
3440         * BufferView_pimpl.[Ch]:
3441         * LyXAction.C:
3442         * bufferview_funcs.[Ch]:
3443         * factory.C:
3444         * funcrequest.[Ch]:
3445         * iterators.C:
3446         * lyx_cb.C:
3447         * lyxfind.C:
3448         * lyxfunc.C:
3449         * text.C:
3450         * text2.C:
3451         * text3.C:
3452         * undo.C: adjust
3453
3454 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3455
3456         * PosIterator.[Ch]: replace the stack with a vector, add inset
3457         accesor
3458         * iterators.[C]: adjust
3459
3460 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3461
3462         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3463         replaced
3464         * paragraph_funcs.C (readParToken): put the correct id in the
3465         error item, not the id of the top paragraph
3466
3467 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3468
3469         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3470         * bufferview_funcs.C (put_selection_at): use the above
3471
3472 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3473
3474         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3475
3476 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3477
3478         * output_linuxdoc.h:
3479         * output_plaintext.h:
3480         * output.h:
3481         * output_docbook.h: add #include statements
3482
3483 2003-11-05  José Matos  <jamatos@lyx.org>
3484
3485         * output_docbook.[Ch]:
3486         * output_latex.[Ch]:
3487         * output_linuxdoc.[Ch]:
3488         * output_plaintext.[Ch]: New files for output formats.
3489         * output.[Ch]: New file for helper functions.
3490
3491         * buffer.[Ch]:
3492         * paragraph_funcs.[Ch]: output functions moved to new files.
3493
3494         * outputparams.h: rename of latexrunparams.h
3495
3496         * LaTeX.[Ch]:
3497         * buffer.[Ch]:
3498         * bufferlist.[Ch]:
3499         * converter.[Ch]:
3500         * exporter.C:
3501         * paragraph.[Ch]:
3502         * paragraph_funcs.[Ch]:
3503         * paragraph_pimpl.[Ch]:
3504         * tabular.[Ch]: rename ascii to plaintext
3505         and LatexRunParams to OutputParams.
3506
3507 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3508
3509         * iterators.[Ch] (text): require bv argument
3510         * undo.C (recordUndo):
3511         * lyxfunc.C (dispatch):
3512         * bufferview_funcs.C (put_selection_at): adjust
3513
3514 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3515
3516         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3517
3518 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3519
3520         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3521         nestings
3522
3523 2003-11-04  André Pönitz  <poenitz@gmx.net>
3524
3525         * cursor.[Ch]: restructure
3526
3527         * BufferView.[Ch]:
3528         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3529
3530         * iterators.[Ch] (asCursor): remove
3531
3532         * lfuns.h: remove LFUN_INSET_EDIT
3533
3534         * lyxfunc.C:
3535         * tabular.C:
3536         * text.C:
3537         * text2.C:
3538         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3539
3540 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3541
3542         * lyxfind.[Ch]: complete overhaul
3543         * BufferView_pimpl.C:
3544         * lyxfunc.C: adjust
3545         * paragraph.[Ch] (insert): add
3546
3547 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3548
3549         * BufferView.[Ch]:
3550         * lyxtext.h:
3551         * text.C: remove dead spellcheck code
3552
3553 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * dispatchresult.h: add a val setter
3556
3557         * cursor.C (dispatch): use a tempvar for data_[i]
3558
3559 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * PosIterator.[Ch]: compile fix
3562
3563 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * text.C (cursorPar): deactivate the cursor cache
3566
3567 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3570
3571 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * text3.C (dispatch): adjust for new DisptchResult semantics.
3574
3575         * lyxfunc.C (dispatch): handle update when return from
3576         Cursor::dispatch, adjust for new DispatchResult semantics.
3577
3578         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3579         DispatchResult(true) mean to not update. Add class functions for
3580         setting dispatched and update, as well as reading.
3581
3582         * cursor.C (dispatch): don't handle update here
3583
3584 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3587         * trans_mgr.C: adjust
3588
3589         * paragraph_funcs.C (readParToken): exception safety
3590
3591         * lyxvc.h: store the vcs pointer in a scoped_ptr
3592         * lyxvc.C: adjust
3593
3594         * lyxsocket.C (serverCallback): exception safety
3595
3596         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3597
3598         * ispell.C (clone): make it return a auto_ptr
3599
3600         * factory.C (createInset): exception safety
3601         (readInset): exception safety
3602
3603         * bufferlist.C (newBuffer): exception safety
3604
3605         * Thesaurus.C (Thesaurus): use initialization for aik_
3606
3607         * MenuBackend.C (expandToc): exception safety.
3608
3609 2003-11-03  André Pönitz  <poenitz@gmx.net>
3610
3611         * buffer.C:
3612         * buffer.h:
3613         * bufferview_funcs.C: remove getInsetFromId()
3614
3615         * lyxcursor.[Ch]:
3616         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3617
3618         * lyxfunc.C:
3619         * text2.C:
3620         * text3.C: adjust
3621
3622 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3623
3624         * PosIterator.C (distance, advance): new
3625         * bufferview_funcs.[Ch] (put_selection_at): new
3626         * iterators.[Ch] (lockPath): new
3627
3628 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3629
3630         * iterators.[Ch] (asPosIterator): added
3631         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3632         * PosIterator.[Ch]: added
3633
3634 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3635
3636         * text3.C:
3637         * lyxfunc.C:
3638         * cursor.C (dispatch):
3639         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3640
3641         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3642         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3643         contructor, add a class function dispatched. Remove operator>=
3644
3645 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3646
3647         * debug.C: only use the default constructor for debugstream
3648         (lyxerr) here.
3649
3650         * main.C (main): include debug.h and setup the lyxerr streambuf
3651         here.
3652
3653 2003-10-31  José Matos  <jamatos@lyx.org>
3654
3655         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3656
3657         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3658         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3659         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3660         * paragraph_pimpl.C (simpleTeXSpecialC):
3661         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3662         add LatexRunParams argument.
3663
3664         * exporter.C (Export): change call accordingly.
3665
3666         * latexrunparams.h: add new member to take care of the other backends.
3667 2003-10-30  José Matos  <jamatos@lyx.org>
3668
3669         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3670         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3671         factorise code for paragraph output.
3672         * buffer.[Ch]:
3673         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3674         move functions.
3675
3676 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * text3.C (dispatch):
3679         * lyxfunc.C (dispatch):
3680         * cursor.C (dispatch):
3681         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3682
3683         * dispatchresult.h: make the dispatch_result_t ctor explicit
3684
3685 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3686
3687         * sgml.[Ch]:
3688         * buffer.C: small refactoring of docbook stuff
3689
3690 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3693         meaning.
3694
3695 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3698         operator dispatch_result_t, and operators for == != and >=
3699
3700         * cursor.C (dispatch): adjust for operator dispatch_result_t
3701         removal. comment out call to update
3702
3703         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3704
3705 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3706
3707         * text3.C:
3708         * text2.C:
3709         * text.C:
3710         * lyxtext.h:
3711         * lyxfunc.C:
3712         * cursor.C:
3713         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3714         (dispatch):
3715
3716         * dispatchresult.h: new file, DispatchResult broken out of
3717         insets/insetbase.h
3718
3719         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3720
3721 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3722
3723         * text.C (rowBreakPoint): put a hack inside #if 0
3724
3725 2003-10-28  André Pönitz  <poenitz@gmx.net>
3726
3727         * lyxtext.h:
3728         * metricsinfo.C:
3729         * paragraph_funcs.C:
3730         * rowpainter.C:
3731         * text.C:
3732         * text2.C: general cleanup (lots of small stuff)
3733
3734 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3735
3736         * text2.C (cursorEnd): simple fix to the "end key goes to one
3737         before the end on last row" bug
3738
3739 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3740
3741         * text.C (backspace): fix the "zombie characters"
3742
3743 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3744
3745         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3746
3747 2003-10-27  André Pönitz  <poenitz@gmx.net>
3748
3749         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3750
3751         * factory.C: handle new InsetPagebreak, InsetLine
3752
3753         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3754         and move handling into new InsetPagebreak, InsetLine
3755
3756         * BufferView_pimpl.C:
3757         * LyXAction.C:
3758         * ParagraphParameters.C:
3759         * ParameterStruct.h:
3760         * lyxfunc.C:
3761         * lyxtext.h:
3762         * paragraph.C:
3763         * paragraph.h:
3764         * paragraph_funcs.C:
3765         * paragraph_pimpl.C:
3766         * rowpainter.C:
3767         * text.C:
3768         * text2.C:
3769         * text3.C: adjust
3770
3771 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3772
3773         * text.C:
3774         * lyxrow_funcs.[Ch]:
3775         * Bidi.C:
3776         * paragraph.C:
3777         * lyxtext.h:
3778         * rowpainter.C:
3779         * text2.C:
3780         * text3.C: remove lastPos uses in favour of Row::endpos
3781
3782 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3783
3784         * undo.C (performUndoOrRedo): fix two crashes by setting a
3785         cursor by hand and reordering some calls. Use bv->lockInset instead
3786         of inset->edit because the latter loses cursor information
3787
3788 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3789
3790         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3791         by Martin
3792         (rowBreakPoint): fix width. change point to point + 1.
3793         Add a missing check.
3794
3795 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3796
3797         * MenuBackend.C:
3798         * lyxfunc.C: fix (at least partly) the problems
3799         with the Nav menu and headers inside branch insets
3800         reported by Kayvan
3801
3802 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3803
3804         * paragraph.C (getChar): add strong asserts
3805
3806         * lyxrow_funcs.C (lastPos): remove hideous hack
3807
3808         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3809         (fill): adjust to that (avoid an infinite loop)
3810
3811 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3812
3813         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3814
3815 2003-10-23  André Pönitz  <poenitz@gmx.net>
3816
3817         * RowList_fwd.h: change list<> to vector<> to gain speed
3818         after suggestion from Alfredo
3819
3820 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * lyxtext.h: move the bidi stuff from here...
3823         * text.C: and here
3824         * text2.C: and here
3825         * Bidi.[Ch]: ... to here
3826
3827 2003-10-23  André Pönitz  <poenitz@gmx.net>
3828
3829         * lyxtext.h:
3830         * text.C (isLastRow, isFirstRow): new functions
3831
3832         * paragraph.h: new width cache member
3833
3834         * rowpainter.C: replace RowList::iterator with Row & where possible
3835
3836         * lyxfunc.C: replace several view()->text with a single call
3837
3838         * toc.C: fix 'unused' warning
3839
3840 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3841
3842         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3843         when woring with stream::pos_type
3844         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3845
3846 2003-10-22  André Pönitz  <poenitz@gmx.net>
3847
3848         * lyxtext.h:
3849         * text.C: use Row & instead of RowList::iterator
3850
3851         * lyxrow.h: rename end() to endpos()
3852
3853         * rowpainter.C:
3854         * text.C:
3855         * text2.C: adjust
3856
3857 2003-10-22  Angus Leeming  <leeming@lyx.org>
3858
3859         * buffer.[Ch] (fully_loaded): new member function, returning true
3860         only when the file has been loaded fully.
3861         Used to prevent the premature generation of previews and by the
3862         citation inset to prevent computation of the natbib-style label.
3863
3864         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3865         templates are all set up.
3866
3867         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3868
3869 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3870
3871         * text.C: fixed an "oops" in the "is a bit silly"
3872         bug fix
3873
3874 2003-10-21  André Pönitz  <poenitz@gmx.net>
3875
3876         * FuncStatus.[Ch]: small stuff, whitespace
3877
3878         * lyxfont.[Ch]: operator<<() for debug reasons
3879
3880         * lyxfunc.C:
3881         * lyxrow_funcs.C:
3882         * lyxtext.h: whitespace, spelling
3883
3884         * paragraph.C: naming of variables
3885
3886         * text.C:
3887         * text2.C: small stuff
3888
3889
3890 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3891
3892         * text.C: (1) finish off the inset display() work;
3893         (2) fix the "is a bit silly" bug (accessing char
3894         past end of par).
3895
3896 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3897
3898         * text.C: re-introduce display() for insets, fixing the
3899         various bugs (stretch of line above, math inset
3900         positioning, ...)
3901
3902 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3903
3904         * text.C (rightMargin): remove spurious semicolon
3905
3906         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3907         1415)
3908
3909 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3910
3911         * text3.C: fix one crash due to wrong cursor def
3912
3913 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * vc-backend.C (scanMaster): make the regex static
3916
3917         * LaTeX.C (scanAuxFile): make the regexs static
3918
3919         * text3.C (doInsertInset, dispatch, dispatch):
3920         * text2.C (cursorUp, cursorDown):
3921         * text.C (selectNextWordToSpellcheck):
3922         * BufferView_pimpl.C (dispatch):
3923         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3924
3925 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3926
3927         * lyxsocket.C: include <cerrno>
3928
3929 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * lyxfunc.C (dispatch): remove textcache stuff
3932
3933         * bufferlist.C (release): remove textcache stuff
3934         (closeAll): ditto
3935
3936         * TextCache.C: delete file
3937         * TextCache.h: delete file
3938
3939         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3940
3941         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3942         delete of the bv_->text.
3943         (resizeCurrentBuffer): remove texcache stuff
3944         (workAreaResize): ditto
3945
3946 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3947
3948         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3949         action.
3950
3951 2003-10-16  André Pönitz  <poenitz@gmx.net>
3952
3953         * lyxrow.[Ch]:
3954         * paragraph.h:
3955         * rowpainter.C:
3956         * text.C:
3957         * text2.C:
3958         * text3.C: speed up by storing y positions per paragraph plus per-row
3959         offset instead of having a 'full' y position in the row.
3960
3961 2003-10-15  André Pönitz  <poenitz@gmx.net>
3962
3963         * iterators.[Ch]:
3964         * iterators.[Ch]:
3965         * undo.[Ch]: make undo aware of inner insets
3966
3967 2003-10-14  Angus Leeming  <leeming@lyx.org>
3968
3969         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3970         static member functions LyX::ref() and LyX::cref.
3971         (lastfiles): new accessor functions for the new lastfiles_ member var.
3972         (addLyXView, views_): add a new LyXView to the list of views_.
3973         (updateInset): loop over all LyXViews to call their own updateInset
3974         member function, returning a pointer to the Buffer owning the inset.
3975
3976         * BufferView_pimpl.C (loadLyXFile):
3977         * MenuBackend.C (expandLastfiles):
3978         * bufferlist.C (MenuWrite, QuitLyX):
3979         lastfiles is no longer a global variable.
3980         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3981
3982         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3983         static function. Access through LyX::cref().emergencyCleanup().
3984
3985 2003-10-14  André Pönitz  <poenitz@gmx.net>
3986
3987         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3988
3989         * undo.[Ch]: restoring part of 'undo in insets'
3990
3991         * Makefile.am:
3992         * undo_funcs.[Ch]: merge with undo.[Ch]
3993
3994         * tabular.C: small cleansing stuff
3995
3996 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3997
3998         * paragraph_funcs.C (readParToken): report unknown insets as error
3999         boxes. Use the outer paragraph as location (also for unknown
4000         tokens).
4001
4002         * factory.C (readInset): do not abort on reading an unknown inset.
4003         Eat it and return 0.
4004
4005 2003-10-13  Angus Leeming  <leeming@lyx.org>
4006
4007         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4008
4009         * lyxrc.C: displayTranslator is now a function,
4010         declared in GraphicsTypes.h.
4011
4012 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4013
4014         * format.C: new placeholder $$a to pass the socket address.
4015
4016         * bufferlist.[Ch]: new function getBufferFromTmp.
4017
4018         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4019           files in the temporary dir.
4020
4021 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4022
4023         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4024
4025         * Makefile.am: add lyxsocket.[Ch].
4026
4027         * lyx_main.C (error_handler): handle SIGPIPE.
4028
4029 2003-10-13  André Pönitz  <poenitz@gmx.net>
4030
4031         * BufferView_pimpl.C:
4032         * lyxtext.h:
4033         * text.C:
4034         * text2.C:
4035         * text3.C:
4036         * undo_funcs.[Ch]: use paroffset_type instead of
4037           ParagraphList::iterators to prevent multiple conversion
4038           (and get a more robust interface)
4039
4040 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4043         * lyxtext.h: ditto
4044         * text3.C (dispatch): ditto
4045
4046 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4047
4048         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4049         move the onlyfile, use onlyfile instead of foundfile in a couple
4050         of places.
4051
4052         * DepTable.C (update): flush the error stream a bit more
4053
4054 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * lyxserver.C (callback): adjust
4057
4058         * lyxfunc.C (getStatus): add a missing brace in commented code
4059         (ensureBufferClean): reindent
4060         (dispatch): delete version taking a string
4061
4062 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * LaTeX.C (deplog): move found file handlig from here...
4065         (handleFoundFile): .. to new function here.
4066         (deplog): make sure to discover several files mentioned on the
4067         same log line.
4068
4069 2003-10-10  André Pönitz  <poenitz@gmx.net>
4070
4071         * lyxfunc.C:
4072         * lyxtext.h:
4073         * tabular.C:
4074         * text.C:
4075         * text2.C:
4076         * text3.C: fix some of the tabular crashes
4077
4078 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4079
4080         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4081
4082         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4083
4084 2003-10-09  André Pönitz  <poenitz@gmx.net>
4085
4086         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4087
4088         * BufferView.C:
4089         * BufferView_pimpl.C:
4090         * bufferview_funcs.C:
4091         * lyx_cb.C:
4092         * lyxcursor.C:
4093         * lyxfind.C:
4094         * lyxfunc.C:
4095         * lyxtext.h:
4096         * text.C:
4097         * text2.C:
4098         * text3.C:
4099         * text_funcs.[Ch]:
4100         * textcursor.[Ch]:
4101         * undo_funcs.C: adjust
4102
4103 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * text2.C (incrementItemDepth): new function, use a backtracking
4106         algorithm to discover the correct item depth.
4107         (resetEnumCounterIfNeeded): new function, use a backtracking
4108         algorithm to discover if counter reset is needed.
4109         (setCounter): use them. Simplify a bit. Add different labels for
4110         different item depths for itemize.
4111
4112         * paragraph.C (Paragraph): remove initialization of enumdepth
4113         (operator=): ditto
4114
4115         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4116         enumerate and itemize. Change the type of itemdepth to signed char.
4117
4118 2003-10-08  André Pönitz  <poenitz@gmx.net>
4119
4120         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4121           thing assignable.
4122         * text.C:
4123         * text2.C: adjust
4124
4125         * tabular.[Ch]: fix crash after 'row-insert'
4126
4127 2003-10-08  Angus Leeming  <leeming@lyx.org>
4128
4129         Fix doxygen warnings.
4130
4131         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4132         Remove CutAndPaste:: prefix from header file declaration.
4133
4134         * LColor.h (fill): remove LColor:: prefix from declaration.
4135
4136         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4137         use lyx::depth_type rather than Paragraph::depth_type so that
4138         header file and .C file match.
4139
4140         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4141
4142         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4143         * aspell.C: \file aspell_local.C -> \file aspell.C
4144         * gettext.C: \file gettext.C -> \file src/gettext.C
4145         * gettext.h: \file gettext.h -> \file src/gettext.h
4146         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4147         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4148         * text.C: \file text.C -> \file src/text.C
4149
4150         * toc.C: move comment so that doxygen is not confused.
4151
4152 2003-10-07  Angus Leeming  <leeming@lyx.org>
4153
4154         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4155
4156 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4157
4158         * aspell.C:
4159         * aspell_local.h: add forgotten std::string's.
4160
4161 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4162
4163         * LaTeXFeatures.C:
4164         * LyXAction.C:
4165         * factory.C:
4166         * lfuns.h:
4167         * lyxfunc.C:
4168         * text3.C: The Box patch. Fancybox support, minipage, parbox
4169
4170 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4171
4172         * CutAndPaste.h:
4173         * DepTable.h:
4174         * FloatList.h:
4175         * LaTeXFeatures.h:
4176         * ParagraphParameters.h:
4177         * TextCache.h:
4178         * Thesaurus.h:
4179         * bufferlist.h:
4180         * exporter.h:
4181         * importer.h:
4182         * lastfiles.h:
4183         * lyxfind.h:
4184         * lyxfont.h:
4185         * lyxlex.h:
4186         * lyxtextclasslist.h:
4187         * messages.h:
4188         * paragraph.h:
4189         * paragraph_pimpl.C:
4190         * textcursor.h: add <string> and other small fixes to make Lars'
4191         std::string patch compile with STLport.
4192
4193 2003-10-06  Angus Leeming  <leeming@lyx.org>
4194
4195         * LColor.h: Add missing #include <string>.
4196
4197 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4198
4199         * All most all file in all subdirs: Make <string> be the prefered
4200         way of getting to std::string, add using declarations.
4201
4202 2003-10-06  André Pönitz  <poenitz@gmx.net>
4203
4204         * metricsinfo.C: initialize LyXFont before changing attribute.
4205         (fixes the 'math in \emph is upright' bug)
4206
4207 2003-10-06  André Pönitz  <poenitz@gmx.net>
4208
4209         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4210
4211 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4212
4213         * graph.C:
4214         * paragraph_pimpl.C: Small fixes to build using STLport
4215
4216 2003-10-02  André Pönitz  <poenitz@gmx.net>
4217
4218         * lyxfunc.C:
4219         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4220
4221 2003-10-01  André Pönitz  <poenitz@gmx.net>
4222
4223         * factory.C: assert early
4224
4225 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * lyx_main.C: remove the global debug object
4228
4229         * debug.h: adjust for new debugstream
4230
4231         * debug.C: adjust for new debugstream and keep the global debug
4232         object here.
4233
4234 2003-09-22  Angus Leeming  <leeming@lyx.org>
4235
4236         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4237         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4238         an incomplete class LyXFont.
4239
4240 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4241
4242         * factory.C: bug fix in branches
4243
4244 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * lyxfunc.C (processKeySym): adjust
4247         (dispatch): adjust
4248         (dispatch): change arg name from ev to func, adjust
4249         (sendDispatchMessage): ditto
4250
4251         * lyx_main.C (defaultKeyBindings): adjust keybindings
4252         (deadKeyBindings): ditto
4253
4254         * kbsequence.C (addkey): return a FuncRequest
4255
4256         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4257
4258         * kbmap.C (bind): take a FuncRequest as arg, adjust
4259         (read): adjust
4260         (lookup): adjust
4261         (defkey): change to take a FuncRequest as arg, adjust
4262         (findbinding): take a FuncRequest as arg, adjust.
4263
4264         * funcrequest.h (operator=): added
4265
4266         * funcrequest.C (FuncRequest): default kb_action changed from
4267         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4268
4269         * buffer.C (dispatch): simplify
4270         (dispatch): adjust to take a FuncRequest as arg, adjust
4271
4272         * boost.C (assertion_failed): change assertion message slightly
4273
4274         * ToolbarBackend.C (read): simplify
4275
4276         * MenuBackend.C (binding): adjust call to findbinding, add a
4277         message if no binding is found.
4278         (read): simplify
4279         (expandToc): correct by adding a empty FuncRequest
4280
4281         * LyXAction.C: include <boost/assert.hpp>
4282         (isPseudoAction): delete function
4283         (LookupFunc): change name to...
4284         (lookupFunc): this. change return type to FuncRequest.
4285         (getActionName): take kb_action as arg, simplify
4286         (funcHasFlag): add an assert, simplify.
4287
4288 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4289
4290         * toc.C (action): return a FuncRequest, simplify
4291
4292         * lyxfunc.C (processKeySym): adjust
4293         (getStatus): delete version that takes an int.
4294         (getStatus): adjust
4295         (dispatch): delete version that takes action as int
4296         (dispatch): adjust
4297         (sendDispatchMessage): simplify and adjust
4298
4299         * funcrequest.C (getArg): take unsigned int as arg
4300
4301         * ToolbarBackend.C (read): adjust
4302         (add): delete version that takes func as a string.
4303         (getIton): take a FuncRequest as arg
4304
4305         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4306         action.
4307
4308         * MenuBackend.C (MenuItem): add a new construct that only takes a
4309         Kind, simplify the constructor use for submenus.
4310         (add): adjust
4311         (expandLastfiles): adjust
4312         (expandDocuments): adjust
4313         (expandFormats): adjust
4314         (expandFloatListInsert): adjust
4315         (expandFloatInsert): adjust
4316         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4317
4318         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4319         Remove class variables lyx_pseudo_map and lyx_arg_map
4320
4321         * LyXAction.C (searchActionArg): delete function
4322         (getPseudoAction): delete function
4323         (retrieveActionArg): delete function
4324         (LookupFunc): make it return kb_action, simplify.
4325         (getActionName): simplify
4326
4327         * factory.C (createInset): fix new bug
4328
4329 2003-09-19  Angus Leeming  <leeming@lyx.org>
4330
4331         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4332         masterFilename_ parameter in the include inset.
4333
4334         * factory.C (createInset): changes due to the changes to InsetInclude.
4335
4336 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4337
4338         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4339
4340 2003-09-18  Angus Leeming  <leeming@lyx.org>
4341
4342         * buffer.C:
4343         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4344         Inset::fillWithBibKeys.
4345         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4346
4347 2003-09-18  Angus Leeming  <leeming@lyx.org>
4348
4349         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4350         variables.
4351         (ctor): pass and store a 'Buffer const &'
4352         (buffer): new member function.
4353
4354         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4355         '*this' to the LaTeXFeatures ctor.
4356
4357 2003-09-18  Angus Leeming  <leeming@lyx.org>
4358
4359         * LColor.h:
4360         * lyxfont.C:
4361         * lyxfont.h:
4362         * lyxtext.h:
4363         * text.C: rename EnumLColor as LColor_color.
4364
4365 2003-09-18  Angus Leeming  <leeming@lyx.org>
4366
4367         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4368         remove #include "insets/insetbase.h" from cursor.h.
4369
4370 2003-09-18  Angus Leeming  <leeming@lyx.org>
4371
4372         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4373         InsetOld_code to remove #include "inset.h".
4374
4375         * iterators.C: add #include "insets/inset.h"
4376
4377 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4378
4379         * BufferView.C: remove more locking stuff that apparently doesn't
4380         do anything sensible.
4381
4382 2003-09-16  André Pönitz  <poenitz@gmx.net>
4383
4384         * paragraph.[Ch]:
4385         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4386           performance boost.
4387
4388 2003-09-16  Angus Leeming  <leeming@lyx.org>
4389
4390         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4391
4392         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4393         arg/return type.
4394
4395         * paragraph.h: remove #include "lyxfont.h". Forward declare
4396         LyXFont_size.
4397
4398 2003-09-16  Angus Leeming  <leeming@lyx.org>
4399
4400         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4401         of support/textutils.h.
4402         (isWord): move the contents of support/textutils.h's IsWordChar here.
4403
4404         * buffer.C:
4405         * lyxfind.C:
4406         * rowpainter.C:
4407         * text.C:
4408         * text2.C: add #include "paragraph.h".
4409
4410         * rowpainter.C:
4411         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4412
4413 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4414
4415         * main.C:
4416         * lyx_main.C:
4417         * lyx_cb.C:
4418         * buffer.C:
4419         * LaTeX.C: use namespace alias for lyx::support::os
4420
4421 2003-09-16  Angus Leeming  <leeming@lyx.org>
4422
4423         * bufferparams.C:
4424         * bufferview_funcs.C:
4425         * factory.C:
4426         * lyxfunc.C:
4427         * paragraph_pimpl.C:
4428         * rowpainter.C:
4429         * text.C: add #include "LColor.h".
4430
4431 2003-09-16  Angus Leeming  <leeming@lyx.org>
4432
4433         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4434         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4435         return LyXFont &.
4436         Store the FontBits::color variable as an int rather than as an
4437         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4438         file.
4439
4440         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4441         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4442         string calls together.
4443
4444         * lyxrc.C: add #include "LColor.h".
4445
4446 2003-09-15  Angus Leeming  <leeming@lyx.org>
4447
4448         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4449         a cow_ptr.
4450
4451 2003-09-15  Angus Leeming  <leeming@lyx.org>
4452
4453         * LColor.h: add an EnumLColor wrapper for LColor::color.
4454
4455         * lyxfont.[Ch] (color, setColor, realColor):
4456         * lyxtext.h, text.C (backgroundColor):
4457         pass EnumLColor args to/from the functions, rather than LColor::color
4458         ones.
4459
4460         * lyxfont.h:
4461         * lyxtext.h: forward declare EnumLColor.
4462
4463         * lyx_main.C: add #include "LColor.h".
4464
4465 2003-09-15  Angus Leeming  <leeming@lyx.org>
4466
4467         * .cvsignore: add lyx-gtk.
4468
4469 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * Chktex.C
4472         * LaTeX.C
4473         * LaTeXFeatures.C
4474         * ParagraphParameters.C
4475         * Spacing.C
4476         * buffer.C
4477         * bufferparams.C
4478         * bufferview_funcs.C
4479         * chset.C
4480         * counters.C
4481         * funcrequest.C
4482         * lyxfont.C
4483         * lyxgluelength.C
4484         * lyxlength.C
4485         * paragraph.C
4486         * paragraph_funcs.C
4487         * text3.C
4488         * vc-backend.C: remove usage of STRCONV
4489
4490 2003-09-15  Angus Leeming  <leeming@lyx.org>
4491
4492         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4493         explicitly define the color passed to the painter.
4494
4495 2003-09-15  Angus Leeming  <leeming@lyx.org>
4496
4497         * bufferparams.C (BufferParams): reorder member initializers to avoid
4498         compiler warning.
4499
4500 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4501
4502         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4503         * text.C (updateRowPositions): remove an unusual nop
4504
4505 2003-09-12  André Pönitz  <poenitz@gmx.net>
4506
4507         * BufferView_pimpl.C:
4508         * Bullet.C:
4509         * layout.h:
4510         * lyxfunc.C:
4511         * lyxlayout.[Ch]:
4512         * lyxtextclass.C:
4513         * rowpainter.C:
4514         * text.C:
4515         * text2.C:
4516         * Counters.[Ch]: finish the 'automatic counters' job
4517
4518 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4519
4520         * aspell.C: include <boost/assert.cpp> (compile fix)
4521
4522 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4523
4524         * boost.C (assertion_failed): use lyx::support::abort instead of
4525         assert.
4526
4527 2003-09-10  Angus Leeming  <leeming@lyx.org>
4528
4529         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4530         with their _fwd progeny.
4531
4532 2003-09-09  Angus Leeming  <leeming@lyx.org>
4533
4534         134 files throughtout the source tree: replace 'using namespace abc;'
4535         directives with the appropriate 'using abc::xyz;' declarations.
4536
4537 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4538
4539         * boost.C (emergencyCleanup): moved here from LAssert.c
4540         (assertion_failed): new function, called by BOOST_ASSERT
4541
4542         * several files: change Assert to BOOST_ASSERT
4543
4544 2003-09-09  Angus Leeming  <leeming@lyx.org>
4545
4546         * buffer.[Ch]: Add an Impl class and move Buffer's member
4547         variables into it. As a result move several header files out of
4548         buffer.h.
4549
4550         Add header files to lots of .C files all over the tree as a result.
4551
4552 2003-09-09  Angus Leeming  <leeming@lyx.org>
4553
4554         * buffer.[Ch]: make Buffer's member variables private. Add
4555         accessor functions.
4556
4557         Lots of changes all over the tree as a result.
4558
4559 2003-09-08  Angus Leeming  <leeming@lyx.org>
4560
4561         * graph.C: #include <config.h>.
4562
4563 2003-09-08  Angus Leeming  <leeming@lyx.org>
4564
4565         * BranchList.C:
4566         * BufferView.C:
4567         * BufferView_pimpl.C:
4568         * CutAndPaste.C:
4569         * DepTable.C:
4570         * LaTeX.C:
4571         * LaTeXFeatures.C:
4572         * LyXAction.C:
4573         * MenuBackend.C:
4574         * TextCache.C:
4575         * aspell.C:
4576         * buffer.C:
4577         * bufferlist.C:
4578         * changes.C:
4579         * chset.C:
4580         * converter.C:
4581         * counters.C:
4582         * debug.C:
4583         * graph.C:
4584         * ispell.C:
4585         * lyx_cb.C:
4586         * lyxfind.C:
4587         * lyxfunc.C:
4588         * lyxlex_pimpl.C:
4589         * lyxrc.C:
4590         * lyxrow.C:
4591         * paragraph.C:
4592         * rowpainter.C:
4593         * texrow.C:
4594         * text.C:
4595         * text2.C:
4596         * toc.C: remove redundant using directives.
4597
4598 2003-09-07  Angus Leeming  <leeming@lyx.org>
4599
4600         * LaTeXFeatures.h: remove #include "support/types.h".
4601         * ToolbarBackend.h: remove #include <algorithm>.
4602         * changes.h: remove #include <ctime>.
4603         * debug.h: remove #include <iosfwd>.
4604         * graph.h: remove #include "support/std_string.h".
4605         * lyx_main.h: remove #include <csignal>.
4606         * lyxlex_pimpl.h: remove #include <fstream>.
4607         * sgml.h: remove #include <algorithm>, <utility>.
4608         * toc.h: remove #include "support/std_ostream.h".
4609         Add #include <iosfwd>.
4610
4611 2003-09-07  Angus Leeming  <leeming@lyx.org>
4612
4613         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4614
4615         * converter.h: forward declare LatexRunParams.
4616         * encoding.h: remove #include "lyxrc.h".
4617         * lyxtext.h: remove #include "LColor.h".
4618         * lyxtextclass.h: remove #include "support/types.h".
4619         * trans.h: remove #include "tex-accent.h".
4620         * trans_mgr.h: remove #include "tex-accent.h".
4621         * insets/inset.h: remove #include "support/types.h", <vector>.
4622         * insets/insetcollapsable.h: remove #include "LColor.h".
4623         * insets/insetinclude.h: remove #include "dimension.h".
4624         * insets/insetlatexaccent.h: remove #include "dimension.h".
4625         * insets/insetoptarg.h:: remove #include "insettext.h".
4626         * insets/insettext.h: remove #include "dimension.h",
4627         <boost/shared_ptr.hpp>
4628
4629         * insets/renderers.h: add #include "dimension.h".
4630         * insets/updatableinset.h: add #include "support/types.h".
4631
4632         * many .C files: Associated changes.
4633
4634 2003-09-06  Angus Leeming  <leeming@lyx.org>
4635
4636         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4637         one, inside testInvariant.
4638
4639         * PrinterParams.C: new file.
4640         * PrinterParams.[Ch]: move the function bodies out of line.
4641
4642 2003-09-06  Angus Leeming  <leeming@lyx.org>
4643
4644         * ParagraphParameters.h: forward declare ParameterStruct rather than
4645         including its header file.
4646         (depth): moved out-of-line.
4647
4648 2003-09-06  Angus Leeming  <leeming@lyx.org>
4649
4650         * BufferView_pimpl.h:
4651         * kbmap.h:
4652         * kbsequence.h:
4653         * lyxfunc.h: forward declare LyXKeySym rather than
4654         #include "frontends/LyXKeySym.h".
4655
4656         * BufferView_pimpl.C:
4657         * kbmap.C:
4658         * kbsequence.C:
4659         * lyxfunc.C: associated changes.
4660
4661 2003-09-06  Angus Leeming  <leeming@lyx.org>
4662
4663         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4664         As a result, can remove the #include "insets/inset.h" from BufferView.h
4665
4666 2003-09-06  Angus Leeming  <leeming@lyx.org>
4667
4668         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4669         As a result, can remove the #include "insets/inset.h" from BufferView.h
4670
4671 2003-09-06  Angus Leeming  <leeming@lyx.org>
4672
4673         * buffer_funcs.C:
4674         * buffer.h:
4675         * bufferlist.C:
4676         * BufferView.C:
4677         * bufferview_funcs.C:
4678         * BufferView_pimpl.C:
4679         * CutAndPaste.C:
4680         * lyx_cb.C:
4681         * lyxfunc.C:
4682         * paragraph.h:
4683         * ParagraphParameters.C:
4684         * tabular.C:
4685         * text3.C:
4686         * toc.C:
4687         * undo_funcs.C:
4688         * frontends/controllers/ControlDocument.C:
4689         * insets/insetcaption.C: rearrange the #includes into some sort of
4690         coherent order.
4691
4692         * buffer.h: remove #includes ErrorList.h, undo.h
4693
4694 2003-09-06  Angus Leeming  <leeming@lyx.org>
4695
4696         * support/types.h: add a 'depth_type' typedef, used to store the
4697         nesting depth of a paragraph.
4698
4699         * paragraph.h:
4700         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4701         defining explicitly.
4702
4703         * buffer.h:
4704         * paragraph_funcs.h:
4705         * ParagraphParameters.h:
4706         * sgml.h: use lyx::depth_type rather than Paragraph or
4707         ParameterStruct's depth_type.
4708
4709         * buffer.h
4710         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4711
4712         * BufferView.C:
4713         * BufferView_pimpl.C:
4714         * CutAndPaste.C:
4715         * ParagraphParameters.C:
4716         * buffer_funcs.C:
4717         * bufferlist.C:
4718         * bufferview_funcs.C:
4719         * lyx_cb.C:
4720         * lyxfunc.C:
4721         * tabular.C:
4722         * text3.C:
4723         * toc.C:
4724         * undo_funcs.C:
4725         * frontends/LyXView.C:
4726         * frontends/controllers/ControlDocument.C:
4727         * frontends/controllers/ControlErrorList.C:
4728         * insets/insetbibitem.C:
4729         * insets/insetbranch.C:
4730         * insets/insetcaption.C:
4731         * insets/insetcollapsable.C:
4732         * insets/insetenv.C:
4733         * insets/insetert.C:
4734         * insets/insetfloat.C:
4735         * insets/insetfoot.C:
4736         * insets/insetfootlike.C:
4737         * insets/insetnewline.C:
4738         * insets/insetquotes.C:
4739         * insets/insettabular.C:
4740         * insets/insettext.C:
4741         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4742
4743         * frontends/controllers/ControlChanges.C: #include "changes.h".
4744
4745 2003-09-06  Angus Leeming  <leeming@lyx.org>
4746
4747         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4748         than #including paragraph.h.
4749
4750         * ParagraphList.h:
4751         * RowList.h: deleted. Superfluous.
4752
4753         * CutAndPaste.h:
4754         * iterators.h:
4755         * lyxcursor.h:
4756         * lyxtext.h:
4757         * text_funcs.h:
4758         * undo.h:
4759         * undo_funcs.h:
4760         * insets/inset.h:
4761         * insets/insettext.h: use ParagraphList_fwd.h rather than
4762         ParagraphList.h.
4763
4764         * paragraph.h: don't forward declare ParagraphList.
4765
4766         * buffer.h:
4767         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4768         rather than ParagraphList.h. paragraph.h is still needed for the
4769         Paragraph::depth_type parameters.
4770
4771         * textcursor.h: enable it to compile stand-alone in light of the
4772         above changes.
4773
4774         * bufferview_funcs.C:
4775         * iterators.C:
4776         * lyxfunc.C:
4777         * lyxrow_funcs.C:
4778         * paragraph.C:
4779         * rowpainter.C:
4780         * text.C:
4781         * text2.C:
4782         * text3.C:
4783         * text_funcs.C:
4784         * textcursor.C:
4785         * undo.C:
4786         * frontends/controllers/ControlParagraph.C:
4787         * frontends/controllers/ControlTabular.C:
4788         * insets/insetmarginal.C:
4789         * insets/insetminipage.C:
4790         * insets/insetnote.C:
4791         * insets/insetoptarg.C: add header files needed to compile again.
4792
4793 2003-09-06  Angus Leeming  <leeming@lyx.org>
4794
4795         * RowList_fwd.h: new file, forward-declaring Row rather than
4796         #including lyxrow.h.
4797
4798         * lyxrow_funcs.h:
4799         * lyxtext.h:
4800         * paragraph.h:
4801         * insets/insettext.h: use it instead of RowList.h
4802
4803         * bufferview_funcs.C:
4804         * lyxfunc.C:
4805         * lyxrow_funcs.C:
4806         * paragraph.C:
4807         * rowpainter.C:
4808         * text.C:
4809         * text2.C:
4810         * text3.C: #include "RowList.h".
4811
4812 2003-09-05  Angus Leeming  <leeming@lyx.org>
4813
4814         * factory.C (createInset):
4815         * vspace.C (c-tor): replace sscanf call with an istringstream.
4816         * ispell.C: re-add missing HP/UX headers.
4817         * lyxserver.C: re-add missing  os2 headers.
4818
4819 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4820
4821         * BranchList.C:
4822         * graph.C:
4823         * ispell.C:
4824         * lastfiles.C:
4825         * lyx_cb.C:
4826         * lyxserver.C:
4827         * texrow.C:
4828         * text3.C: re-add missing system headers, needed for 2.95.2.
4829
4830 2003-09-05  Angus Leeming  <leeming@lyx.org>
4831
4832         Changes most place everywhere due to the removal of using directives
4833         from support/std_sstream.h.
4834
4835 2003-09-05  Angus Leeming  <leeming@lyx.org>
4836
4837         Replace LString.h with support/std_string.h,
4838         Lsstream.h with support/std_sstream.h,
4839         support/LIstream.h with support/std_istream.h,
4840         support/LOstream.h with support/std_ostream.h.
4841
4842         Changes resulting throughout the tree.
4843
4844 2003-09-05  Angus Leeming  <leeming@lyx.org>
4845
4846         * sgml.h: ensure that the header file can be compiled stand-alone.
4847         * *.C: strip out redundant #includes. (320 in total.)
4848
4849 2003-09-04  Angus Leeming  <leeming@lyx.org>
4850
4851         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4852         here (from getPackages).
4853
4854         * debug.[Ch]: add a new EXTERNAL tag.
4855
4856 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4857
4858         * text2.C (cursorEnd): simplify
4859         (setCursor): adjust
4860         (getColumnNearX): adjust
4861
4862         * text.C (computeBidiTables): adjust
4863         (fill): adjust
4864
4865         * rowpainter.C (paintChars): adjust
4866         (paintSelection): adjust
4867         (paintChangeBar): adjust
4868         (paintText): adjust
4869
4870         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4871         lastPos instead.
4872         (numberOfSeparators): adjust
4873
4874 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4875
4876         * LyXAction.C:
4877         * box.[Ch]:
4878         * lfuns.h:
4879         * lyxfunc.C:
4880         * text3.C: Restricts the mouse click functionality
4881         of insets like bibtex, include, toc and floatlist to the visible
4882         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4883         up the dialogs. Cursor has to be in front of the inset (i.e.
4884         start of row) for this to function.
4885
4886 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4887
4888         * bufferview_funcs.C (currentState): output row information
4889
4890 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4891
4892         * bufferview_funcs.C (currentState): output paragraph position
4893
4894 2003-09-04  Angus Leeming  <leeming@lyx.org>
4895
4896         * FloatList.h: move out #include "Floating.h".
4897         * LaTeX.h: move out #include "DepTable.h".
4898         * LyXAction.h: move out #include "funcrequest.h".
4899         * buffer.h: move out #include "author.h", "iterators.h".
4900         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4901         * lyx_main.h: move out #include "errorlist.h".
4902         * lyxfunc.h: move out #include "FuncStatus.h".
4903         * lyxtext: move out #include "lyxcursor.h".
4904         * paragraph_pimpl.h: move out #include "counters.h".
4905
4906 2003-09-03  Angus Leeming  <leeming@lyx.org>
4907
4908         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4909         preamble_snippets list, enabling us to add snippets to the preamble
4910         only if the snippet was not there already.
4911
4912 2003-09-04  Angus Leeming  <leeming@lyx.org>
4913
4914         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4915
4916 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4919         update
4920
4921 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4922
4923         * BranchList.C: point fix, earlier forgotten
4924
4925 2003-09-02  Angus Leeming  <leeming@lyx.org>
4926
4927         * box.C (contains): renamed from 'contained' after a fantastic
4928         amount of hot air.
4929
4930 2003-09-02  John Levon  <levon@movementarian.org>
4931
4932         * BufferView.C:
4933         * lyxcursor.h:
4934         * lyxcursor.C:
4935         * lyxfunc.C:
4936         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4937
4938 2003-09-02  John Levon  <levon@movementarian.org>
4939
4940         * text2.C: simplification of cursorEnd(), including partial
4941         fix for bug 1376
4942
4943 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * buffer.C (readFile): add a space
4946
4947 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4950
4951 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * buffer.C (readFile): new function, take a filename and a
4954         ParagraphList::iterator
4955         (readFile): adjust
4956         (readFile): adjust, make it private. don't use setStream, make
4957         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4958         always contain the filename.
4959
4960         * BufferView.C (insertLyXFile): simplify and make it work for
4961         gzipped files.
4962
4963 2003-08-30  John Levon  <levon@movementarian.org>
4964
4965         * Makefile.am: fix dist (from Kayvan)
4966
4967 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * most files: change to use const Buffer refs
4970
4971 2003-08-27  André Pönitz  <poenitz@gmx.net>
4972
4973         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4974         on top of ownerPar().
4975
4976 2003-08-27  John Levon  <levon@movementarian.org>
4977
4978         * funcrequest.C: properly initialise POD members
4979
4980 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4981
4982         * lyxtext.h (top_y): move top_y from here
4983         * text.C:
4984         * text2.C:
4985         * text3.C:
4986         * BufferView.[Ch]:
4987         * BufferView_pimpl.[Ch]: to here
4988         * frontends/screen.C:
4989         * insets/insettabular.C:
4990         * insets/insettext.C: adjust
4991         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4992
4993 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * BufferView.[Ch]:
4996         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4997
4998 2003-08-26  André Pönitz  <poenitz@gmx.net>
4999
5000         * paragraph_func.[Ch] (outerPar): new function
5001
5002         * paragraph.C:
5003         * paragraph_funcs.C:
5004         * paragraph_funcs.h:
5005         * paragraph_pimpl.C:
5006         * text2.C: remove Inset::par_owner
5007
5008 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5009
5010         * lyxrow_funcs.C:
5011         * lyxtext.h:
5012         * text.C:
5013         * text2.C: eliminates the needFullRow/display() stuff
5014         altogether, putting the logic in metrics/draw in the insets.
5015
5016 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * text2.C (redoParagraphInternal, redoParagraphs):
5019         * text.C (redoParagraph): add a call to updateRowPositions at the
5020         end of each 'metrics-like' call. Remove all others.
5021         (getRow): remove the 'y-computing' version.
5022         (getRowNearY): do not compute nor return the real y. Solve the
5023         'y < 0' problem and simplify.
5024
5025 2003-08-22  Angus Leeming  <leeming@lyx.org>
5026
5027         * *.[Ch]: clean-up of licence and author blurbs.
5028         Also move config.h out of a few .h files and into a few .C files.
5029
5030 2003-08-22  André Pönitz  <poenitz@gmx.net>
5031
5032         * lyxrow.[Ch]: add x_ and *fill_ members
5033
5034         * lyxtext.h:
5035         * text.C:
5036         * rowpainter.C:
5037         * text2.C: adjust/remove prepareToPrint() calls
5038
5039 2003-08-22  André Pönitz  <poenitz@gmx.net>
5040
5041         * lyxrow.[Ch]: add  end_ member
5042
5043         * lyxrow_funcs.C: use LyXRow::end_
5044
5045         * lyxtext.h (singleWidth): add LyXFont parameter
5046
5047         * rowpainter.C:
5048         * text2.C: adjust LyXText::singleWidth() calls
5049
5050         * text.C (redoParagraph): simplify row breaking logic
5051
5052
5053 2003-08-19  André Pönitz  <poenitz@gmx.net>
5054
5055         * funcrequest.C: initialize button_ member
5056
5057         * text3.C:
5058         * rowpainter.[Ch]: interface consolidation
5059
5060 2003-08-18  André Pönitz  <poenitz@gmx.net>
5061
5062         * BufferView.C:
5063         * BufferView_pimpl.C:
5064         * lyxfind.C:
5065         * paragraph_funcs.C:
5066         * rowpainter.C:
5067         * text3.C: remove LyXScreen::draw() and fitCursor calls
5068
5069         * BranchList.h: remove spurious semicolons
5070
5071         * MenuBackend.C: fix branchlist related crash
5072
5073 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5074
5075         * BranchList.[Ch]:
5076         * InsetList.[Ch]:
5077         * LColor.[Ch]:
5078         * LyXAction.C:
5079         * Makefile.am:
5080         * MenuBackend.[Ch]:
5081         * bufferparams.[Ch]:
5082         * factory.C:
5083         * lfuns.h:
5084         * lyxfunc.C:
5085         * text3.C: implements the 'branch inset'
5086         idea. This allows the output of various versions of a document
5087         from a single source version, selectively outputing or suppressing
5088         output of parts of the text.
5089         This implementation contains a 'branch list editor' in a separate
5090         tab of the document settings dialog. Branches are user definable
5091         and have a "display colour" to distinguish them on-screen.
5092
5093         ColorHandler was somewhat cleaned up.
5094         (1) make possible a dynamically growing LColor list by allowing
5095         the graphic context cache to grow along (vector);
5096         (2) eliminate an IMHO unnecessary step in colour allocation.
5097
5098 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5099
5100         * BufferView_pimpl.C: compile fix
5101
5102 2003-08-15  André Pönitz  <poenitz@gmx.net>
5103
5104         * rowpainter.C: remove extra metrics calls
5105
5106         * lyxtext.h: merge the two constructors into a single one,
5107           pass reference to owner's par list
5108
5109         * BufferView_pimpl.C:
5110         * text.C:
5111         * text2.C: adjust
5112
5113 2003-08-15  André Pönitz  <poenitz@gmx.net>
5114
5115         * lyxrow_funcs.[Ch]:
5116         * lyxtext.h:
5117         * paragraph.h:
5118         * paragraph_funcs.C:
5119         * rowpainter.C:
5120         * text.C:
5121         * text2.C:
5122         * text3.C:
5123         * text_funcs.C: split LyXText::rowlist_ into individual
5124         Paragraph::rows_ chunks
5125
5126         * BufferView.[Ch]:
5127         * BufferView_pimpl.[Ch]:
5128         * lyxfind.C:
5129         * lyxtext.h:
5130         * text3.C: remove toggleSelection()
5131
5132 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5133
5134         * bufferlist.C: beautify two alerts (shorter text of buttons)
5135         * buffer.C: Remove redundant ' ' from message
5136         * tabular.h:
5137         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5138         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5139         rename VALIGN_CENTER to VALIGN_MIDDLE
5140
5141 2003-08-11  André Pönitz  <poenitz@gmx.net>
5142
5143         * lyxtext.h (getPar):
5144         * text.C: new function
5145
5146 2003-08-11  André Pönitz  <poenitz@gmx.net>
5147
5148         * Makefile.am:
5149         * tracer.[Ch]: remove unneeded files
5150
5151         * InsetList.[Ch]: remove resizeInsetsLyXText()
5152
5153         * lyxtext.h:
5154         * text.C:
5155         * text2.C:
5156         * text3.C: merge insertParagraphs() and appendParagraph()
5157         remove breakAgain(), update()
5158
5159         * BufferView_pimpl.[Ch]:
5160         * bufferview_funcs.[Ch]:
5161         * lyxfunc.C:
5162         * paragraph.[Ch]:
5163         * rowpainter.C:
5164         * tabular.C: adjust after text & InsetList changes.
5165
5166 2003-08-08  André Pönitz  <poenitz@gmx.net>
5167
5168         * text.C (insertChar, backspace): replace rowlist fiddling
5169         with rebreak of full par
5170
5171         * lyxtext.h:
5172         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5173         checkParagraph, updateInset): removed
5174
5175 2003-08-07  André Pönitz  <poenitz@gmx.net>
5176
5177         * paragraph.C:
5178         * text3.C: merge some LFUN handlers, remove dead code
5179
5180 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5181
5182         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5183
5184 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5185
5186         * text2.C (DEPM): fix part of bug 1255 and 1256
5187
5188 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5189
5190         * BufferView_pimpl.C (workAreaDispatch): change to use
5191         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5192         that are no mouse related.
5193
5194 2003-08-05  André Pönitz  <poenitz@gmx.net>
5195
5196         * BufferView.[Ch]:
5197         * BufferView_pimpl.[Ch]:
5198         * bufferview_funcs.C:
5199         * text2.C:
5200         * text3.C: rip out "deep update"
5201
5202         * textcursor.[Ch] (last_sel_cursor): remove unused member
5203
5204 2003-08-04  André Pönitz  <poenitz@gmx.net>
5205
5206         * BufferView.[Ch]:
5207         * BufferView_pimpl.[Ch]:
5208         * ParagraphParameters.C:
5209         * bufferview_funcs.C:
5210         * lyx_cb.C:
5211         * lyxfind.C:
5212         * lyxfunc.C:
5213         * text.C:
5214         * text2.C:
5215         * text3.C: replace "complicated" BufferView::update(...) calls with
5216         simpler ones.
5217
5218         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5219
5220 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5221
5222         * Makefile.am (lyx_SOURCES): add paper.h
5223
5224 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5225
5226         * Makefile.am: move things around so that both lyx-qt and
5227         lyx-xforms can be built (according to --with-frontend). Then lyx
5228         is a symbolic link to lyx-[firstfrontend]
5229
5230 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5231
5232         * Always use std::endl with lyxerr
5233
5234 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5235
5236         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5237
5238 2003-08-01  André Pönitz  <poenitz@gmx.net>
5239
5240         * BufferView.[Ch]:
5241         * BufferView_pimpl.[Ch]:
5242         * lyxfunc.C:
5243         * text3.C: merge BufferView::repaint() and BufferView::update()
5244
5245 2003-08-01  José Matos  <jamatos@lyx.org>
5246
5247         * buffer.[Ch]: file_format is no longer a buffer data element.
5248
5249 2003-08-01  André Pönitz  <poenitz@gmx.net>
5250
5251         * BufferView.C:
5252         * lyxtext.h:
5253         * text.C:
5254         * text2.C: make redoParagraph more independent of current cursor
5255
5256         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5257         * text.C:
5258         * text2.C: remove unneeded members
5259
5260 2003-07-30  André Pönitz  <poenitz@gmx.net>
5261
5262         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5263
5264         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5265           create a single function...
5266
5267         * paragraph_funcs.C (moveItem): ... here.
5268
5269         * text.C:
5270           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5271
5272 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5273
5274         * LColor.[Ch]: Add comment and greyedout logical colors.
5275
5276 2003-07-30  André Pönitz  <poenitz@gmx.net>
5277
5278         * tabular.C: don't use Assert too heavily. This crashes where it
5279           shouldn't
5280
5281 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5282
5283         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5284         is disabled (bug 1232)
5285
5286 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5287
5288         * factory.C: limited 'arg' scope
5289
5290 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5291
5292         * factory.C: fixed Note submenu issues
5293
5294 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5295
5296         * factory.C: submenu for Note/Comment/Greyedout
5297
5298 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * lyx_main.C (LyX):
5301         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5302
5303 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5304
5305         * LaTeXFeatures.C:
5306         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5307         greyedout. Patch provided by Jürgen Spitzmüller.
5308
5309 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5310
5311         * kbmap.C (read): fix error message when reading bind files
5312
5313 2003-07-29  Angus Leeming  <leeming@lyx.org>
5314
5315         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5316         certainly does not do what it purports to do. I am doing it, and
5317         us, a favour by killing it.
5318
5319 2003-07-28  José Matos  <jamatos@lyx.org>
5320
5321         * buffer.C (readBody, do_writeFile):
5322         * paragraph.C(readParagraph): \end_document replaces \the_end.
5323
5324 2003-07-29  André Pönitz  <poenitz@gmx.net>
5325
5326         * BufferView.[Ch]:
5327         * BufferView_pimpl.[Ch]:
5328         * lyxfunc.C:
5329         * text2.C:
5330         * text3.C:
5331         * textcursor.[Ch]: remove toggleToggle & Co
5332
5333 2003-07-28  José Matos  <jamatos@fep.up.pt>
5334
5335         * buffer.C (readParagraph):
5336         * params_func (readParToken, readParagraph):
5337         * paragraph.C (write): \layout -> \begin_layout.
5338
5339 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5340
5341         * lyxlex_pimpl.C (setFile): clean up slightly.
5342
5343         * bufferparams.h: add compressed var
5344
5345         * buffer_funcs.C (readFile): adjust for LyXLex change
5346         (newFile): ditto + simplify
5347
5348         * buffer.C (writeFile): handle writing of compressed files
5349
5350         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5351         Check if the file is compressed and set a bufferparm if so.
5352
5353         * Makefile.am (lyx_LDADD): remove explicit -lz
5354
5355 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5356
5357         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5358         makeDocBookFile): put the real LyX version in the first line of
5359         the file
5360
5361         * version.h:
5362         * version.C.in: remove lyx_docversion
5363
5364         * tabular.C (write_attribute): add a template-based version to
5365         write enums properly
5366
5367 2003-07-28  André Pönitz  <poenitz@gmx.net>
5368
5369         * lyxtext.h:
5370         * text.C:
5371         * text2.C:
5372         * text3.C: use doubles again for x-coordinates. They are needed.
5373
5374 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * messages.C (getLocaleDir): use lyx_localedir()
5377
5378         * lyxlex_pimpl.C (setFile): compress stuff
5379
5380         * buffer.C (writeFile): add some compression stuff
5381         (do_writeFile): new func, dont call expliti close... will this
5382         breake anything?
5383
5384         * Makefile.am (lyx_LDADD): add -lz
5385
5386 2003-07-28  José Matos  <jamatos@fep.up.pt>
5387
5388         * buffer.C: increment file format.
5389         * paragraph_funcs (readParagraph, readParToken):
5390         * paragraph.C (readParagraph): add \end_layout.
5391
5392 2003-07-27  Angus Leeming  <leeming@lyx.org>
5393
5394         * Makefile.am: remove special casing for configure-time setting of
5395         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5396
5397         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5398         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5399
5400 2003-07-26  André Pönitz  <poenitz@gmx.net>
5401
5402         * paragraph_func.[Ch]:
5403         * paragraph.C (realizeFont): inline it whereever it is used
5404
5405         * rowpainter.C:
5406         * text.C:
5407         * text2.C:
5408         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5409
5410
5411 2003-07-26  André Pönitz  <poenitz@gmx.net>
5412
5413         *       lyxtext.h:
5414         * text.C:
5415         * text2.C: get rid of LyXText::need_break_row
5416
5417 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * toc.[Ch]: put namespace toc inside namespace lyx
5420
5421         * MenuBackend.C (expandToc2): adjust for lyx::toc
5422         (expandToc): ditto
5423
5424         * lyxfunc.C (dispatch): adjust for lyx::find
5425
5426         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5427         lyx::find instead. Reorganize a bit.
5428         (LyXReplace): rename to replace
5429         (LyXFind): rename to find
5430
5431         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5432         (dispatch): ditto
5433
5434 2003-07-26  André Pönitz  <poenitz@gmx.net>
5435
5436         * text.C (setHeightOfRow): restrict scope of temporary variable
5437
5438         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5439           code (never has been used?)
5440
5441 2003-07-27  Asger Alstrup  <alstrup@local>
5442
5443         * text.C (fill): Optimise algorithm to exploit that we can reuse
5444         the LyXFont for many characters.
5445         (setHeightOfRow): Same thing.
5446         (rowBreakPoint): Same thing.
5447
5448 2003-07-26  Asger Alstrup  <alstrup@local>
5449
5450         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5451
5452         * text.C (singleWidth): Spurious font copying in hot-spot
5453         singleWidth avoided. Reorder tests for arabic for efficiency.
5454
5455         * text.C (fill): handle empty paragraphs better.
5456
5457 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5458
5459         * ispell.C:
5460         * encoding.h: add includes
5461
5462         * lyxrc.C: remove reading of bind files
5463
5464         * lyx_main.C (init): setup bindings and menus only if we have a
5465         gui.
5466
5467         * kbmap.C (read): new method. Do the actual reading of bind
5468         files.
5469
5470         * converter.C (dvipdfm_options):
5471         * bufferparams.C:
5472         * lyxrc.C (read):
5473         (output): adapt PAPER_* enums.
5474
5475         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5476
5477         * bufferparams.h: remove paper-related enums from there
5478
5479         * paper.h: New file. A trivial header file to hold paper-related
5480         enums. It should later expand to contain many paper-related
5481         horrors access.
5482
5483         * lyxrc.C: declare extern displayTranslator
5484
5485 2003-07-27  José Matos  <jamatos@fep.up.pt>
5486
5487         * tabular.[Ch] (linuxdoc): add support for tables and figures
5488         (linuxdoc).
5489
5490 2003-07-27  José Matos  <jamatos@fep.up.pt>
5491
5492         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5493         consistency in both functions.
5494         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5495
5496 2003-07-26  Asger Alstrup  <alstrup@local>
5497
5498         * rowpainter.C (paintRows): Change algorithm to work directly on
5499         the insets rather than asking every character in the document
5500         whether its an inset.
5501
5502 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5503
5504         * buffer.C (openFileWrite): factorize some code
5505
5506 2003-07-26  Angus Leeming  <leeming@lyx.org>
5507
5508         * lyx_cb.C:
5509         * lyx_main.[Ch]: replace occurances of system_tempdir with
5510         os::getTmpDir().
5511
5512 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * rename Inset to InsetOld
5515
5516 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5517
5518         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5519         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5520         which I think is a bit clearer. EDIT is gone, since it was
5521         premature optimisation, and broken for mathed anyway.
5522         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5523         with cursor positioning in insets as well (math insets still do not
5524         work, but that's a different story anyway.) It mysteriously
5525         crashes sometimes with undo in the first paragraph, but I'm fairly
5526         confident that this is a compiler bug.
5527
5528 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * paragraph.C (Paragraph): adjust for new clone return type
5531         (operator==): ditto
5532         (copyIntoMinibuffer): ditto
5533
5534 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5535
5536         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5537         by not having a special case, and always doing a full rebreak of
5538         the document after undo.
5539
5540 2003-07-23  Angus Leeming  <leeming@lyx.org>
5541
5542         * factory.C (createInset): InsetExternal::setParams now takes a
5543         Buffer const * arg.
5544
5545 2003-07-23  Angus Leeming  <leeming@lyx.org>
5546
5547         * factory.C (createInset): changed interface to the external and
5548         graphics mailers' string2params functions.
5549
5550 2003-07-23  Angus Leeming  <leeming@lyx.org>
5551
5552         * factory.C (createInset): pass a
5553         Buffer const * parameter to InsetExternalMailer's string2params.
5554
5555 2003-07-22  John Levon  <levon@movementarian.org>
5556
5557         * Thesaurus.h: include the right aiksaurus header
5558
5559 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5560
5561         * MenuBackend.C (expand): check menu shortcuts unconditionally
5562
5563 2003-07-21  Angus Leeming  <leeming@lyx.org>
5564
5565         * factory.C (createInset): pass a
5566         buffer_path parameter to InsetGraphicsMailer's string2params.
5567
5568 2003-07-21  Angus Leeming  <leeming@lyx.org>
5569
5570         * BufferView_pimpl.C (buffer):
5571         * buffer.C (d-tor):
5572         * lyx_main.C (LyX):
5573         * lyxfunc.C (dispatch):
5574         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5575         rather than the grfx shortcut.
5576
5577 2003-07-21  André Pönitz  <poenitz@gmx.net>
5578
5579         * rowpainter.C: remove unused variables
5580
5581         * tabular_funcs.C:
5582         * tabular_funcs.h: move to tabular.C
5583         * Makefile.am: adjust
5584
5585         * tabular.[Ch]: basic optical cleaning
5586
5587         * author.h: pass references, not values
5588
5589 2003-07-18  André Pönitz  <poenitz@gmx.net>
5590
5591         * lyxtext.h:
5592         * metricsinfo.C:
5593         * metricsinfo.h:
5594         * rowpainter.C:
5595         * text.C:
5596         * text2.C:
5597         * text3.C: two-phase drawing for InsetText and InsetTabular
5598         some float -> int changes.
5599
5600 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5601
5602         * lyx_main.C: fix the fix
5603
5604 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * lyx_main.C: fix a crash in batch mode if no files specified
5607         * converter.C: ws
5608
5609 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5610
5611         * format.[Ch] (papersize): moved to BufferParams
5612         * converter.[Ch] (dvips_options): moved to BufferParams
5613         (dvipdfm_options): moved to anon namespace
5614         * bufferparams.[Ch]: added above functions.
5615
5616 2003-07-17  André Pönitz  <poenitz@gmx.net>
5617
5618         * lyxtext.h:
5619         * rowpainter.C:
5620         * text2.C: don't call inset->update() anymore
5621
5622         * metricsinfo.[Ch]: add convenience constructor
5623
5624 2003-07-16  André Pönitz  <poenitz@gmx.net>
5625
5626         * lyxcursor.[Ch]:
5627         * lyxfunc.[Ch]:
5628         * text.C:
5629         * text2.C: replace the LyXCursor::irow_ member with
5630          on-demand computation of the value
5631
5632 2003-07-16  John Levon  <levon@movementarian.org>
5633
5634         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5635
5636 2003-07-15  André Pönitz  <poenitz@gmx.net>
5637
5638         * text.C:
5639         * text2.C: remove no more needed refresh_row
5640
5641 2003-07-15  André Pönitz  <poenitz@gmx.net>
5642
5643         * lyxtext.h:
5644         * rowpainter.C:
5645         * text2.C:
5646         * text3.C: refresh_status tristate -> need_update bool
5647
5648 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * lyxtext.h (init): remove reinit argument (act as if always true)
5651         * text2.C: adjust to that
5652
5653 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5654
5655         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5656         * text3.C: use it to delete selections in some cases
5657         (bugs 441, 673, 702, 954).
5658
5659 2003-07-14  André Pönitz  <poenitz@gmx.net>
5660
5661         * rowpainter.[Ch]: reduce interface
5662
5663 2003-07-14  André Pönitz  <poenitz@gmx.net>
5664
5665         * BufferView_pimpl.C:
5666         * text2.C: adjust after removing unused BufferView * argument
5667
5668 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5669
5670         * text2.C (init): fix a crash fired on resize
5671
5672 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5673
5674         * buffer.[Ch]: added new closing signal
5675         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5676         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5677         BufferView::Pimpl via the closing the signal
5678
5679 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5680
5681         * buffer.[Ch]: take out all bv-related from buffer
5682         * BufferView.C:
5683         * BufferView_pimpl.[Ch]: connect to new signals
5684         * CutAndPaste.C: removed useless asserts
5685         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5686         * lyxvc.[Ch]:
5687         * vc-backend.[Ch]:
5688         * lyxfunc.C: moved view-related funciontality from vc here
5689         * paragraph.C: removed outdated comments
5690         * text.C: ws
5691
5692 2003-07-10  André Pönitz  <poenitz@gmx.net>
5693
5694         * BufferView_pimpl.C:
5695         * tabular.h:
5696         * tabular_funcs.C:
5697         * text.C:
5698         * text2.C: remove InsetText::InnerCache, clean up consequences
5699
5700 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5701
5702         * ispell.C: fix two typos in error messages
5703
5704 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5705
5706         * Extend Note inset to other forms of annotation like Comment
5707         and Greyedout. Right button click gives dialog.
5708
5709         Files modified or added (+):
5710
5711         * insetnote.[Ch]
5712         * FormNote.[Ch]      +
5713         * ControlNote.[Ch]   +
5714         * form_note.fd       +
5715         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5716         frontends/controllers
5717         * xforms/Dialogs.C
5718         * factory.C
5719
5720 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5721
5722         * aspell.C: add missing namespace lyx::support
5723
5724 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5725
5726         * BufferView.[Ch] (newFile): Add
5727         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5728         * LaTeX.[Ch] (message): added this signal and use it
5729         * buffer.[Ch] (busy, message): added these signals and use them
5730         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5731         * converter.C:
5732         * exporter.C:
5733         * format.C:
5734         * importer.C: use buffer signals instead of direct bv calling
5735         * lyx_cb.[Ch] (ShowMessage): removed
5736         * lyx_main.C:
5737         * lyxfunc.C:
5738         * paragraph_funcs.C:
5739         * text2.C: use buffer signals
5740
5741 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5742
5743         * introduce namespace lyx::graphics
5744
5745 2003-07-02  André Pönitz  <poenitz@gmx.net>
5746
5747         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5748
5749 2003-07-01  André Pönitz  <poenitz@gmx.net>
5750
5751         * text.C:
5752         * text2.C:
5753         * text3.C:
5754         * text_funcs.[Ch]:
5755         * textcursor.h:
5756         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5757           text*.C to text_func.C
5758
5759 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * introduce namespace lyx::support
5762
5763 2003-06-30  André Pönitz  <poenitz@gmx.net>
5764
5765         * Chktex.C:
5766         * funcrequest.C:
5767         * lyxtext.h:
5768         * text.C: re-enable --with-included-string
5769
5770 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5771
5772         * textcursor.C: add <config.h>
5773
5774         * text.C (getWord): remove const from word_location arg
5775
5776         * lyxvc.C (getLogFile): fix const type order
5777
5778         * lyxtext.h: remove const from word_location arg, add arg name
5779
5780         * lyxlayout.h: currect type on labeltype.
5781
5782         * importer.C: correct \file
5783
5784         * converter.C (intToFormat): use std:: on ret val, ws changes
5785
5786         * bufferlist.h: correct \file
5787
5788         * buffer.C (makeLinuxDocFile): fix const type order
5789         (makeDocBookFile): ditto
5790         (fillWithBibKeys): use std:: on stdlib args.
5791
5792         * CutAndPaste.C: fix authors.
5793         (availableSelections): use std:: on return vector
5794
5795 2003-06-27  André Pönitz  <poenitz@gmx.net>
5796
5797         * BufferView_pimpl.C:
5798         * bufferview_funcs.C:
5799         * lyxcursor.C:
5800         * lyxcursor.h:
5801         * lyxfunc.C:
5802         * lyxtext.h:
5803         * rowpainter.C:
5804         * text.C:
5805         * text2.C:
5806         * text3.C: remove LyXCursor::row_ member
5807
5808         * lyxtext.h:
5809         * text.C: rename fullRebreak() to partialRebreak() and implement
5810           a fullRebreak() that really bereks fully
5811
5812         * textcursor.h: new struct for cursor-related data
5813
5814 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5815
5816         * lyx_main.C (LyX): get full path of document loaded on the
5817         command line
5818
5819 2003-06-26  André Pönitz  <poenitz@gmx.net>
5820
5821         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5822           remove unused/broken operator>,<,>=.
5823
5824         *       text.C: remove only use of broken operator<= in an Assert().
5825
5826 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5827
5828         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5829         moved errorlist_.clear to showErrorList
5830
5831 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5832
5833         * converter.C (scanLog, runLaTeX):
5834         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5835         move the bv->showErrorList call to the callers
5836         * lyxfunc.C: i.e. here...
5837         * text2.C: and here
5838         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5839         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5840         namespace, the second to...
5841         * buffer_funcs (BufferFormat, parseErrors): added
5842         * errorlist.C (ErrorList(TeXErrors const &)): removed
5843
5844 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5845
5846         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5847
5848 2003-06-24  "Garst R. Reese" <reese@isn.net>
5849
5850         * debug.C: fix typo
5851
5852 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5853
5854         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5855
5856         * version.C.in: change docversion to 1.4
5857
5858 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * buffer.C: fix a bug just introduced
5861
5862 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5863
5864         * buffer.[Ch]: added the parseError signal and use it, removed
5865         sgmlError
5866         * BufferView.[Ch] (addError): moved to ...
5867         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5868         to the Buffer::parseError signal to catch (guess what) parse errors
5869         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5870
5871 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5872
5873         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5874         ability to create a buffer and to return an existing one from
5875         the list. Moved these functions to...
5876         * buffer_funcs.[Ch]: added
5877         * BufferView.[Ch] (loadLyXFile): added
5878         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5879         job removed from bufferlist::loadLyXFile.
5880         * buffer.C (setReadOnly): make it work without view
5881         (i.e added an if (users))
5882
5883 2003-06-19  Angus Leeming  <leeming@lyx.org>
5884
5885         * lfuns.h:
5886         * LyXAction.C (init):
5887         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5888         with LFUN_DIALOG_SHOW <name> <data>.
5889
5890 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5891
5892         * CutAndPaste.C (availableSelections): small compilation fix for
5893         ancient (gcc 2.9x) compilers
5894
5895 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5896
5897         * text3.C (cursorNext): add tmp var
5898
5899         * text2.C (updateCounters): for function calling out of for clause
5900         (replaceSelectionWithString): ditto
5901         (insertStringAsParagraphs): ditto
5902         (getColumnNearX): add tmp var
5903         (setCursorFromCoordinates): add tmp var
5904         (cursorDownParagraph): add tmp var
5905         (deleteEmptyParagraphMechanism): add tmp var
5906
5907         * text.C (insertChar): add tmp var
5908
5909         * rowpainter.C (paintDepthBar): add tmp var
5910
5911         * CutAndPaste.C (availableSelections): potentially check all
5912         paragraphs in a cut to fill the shown strings.
5913
5914 2003-06-18  André Pönitz  <poenitz@gmx.net>
5915
5916         * kbmap.[Ch]: use vector<> instead of list<>
5917
5918 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5919
5920         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5921         pasteSelection with index
5922
5923         * text2.C (pasteSelection): modify, call pasteSelection with index
5924
5925         * paragraph.C (asString): reimplement version with no interval to
5926         call the one with interval.
5927
5928         * lyxtext.h: add index arg to pasteSelection
5929
5930         * MenuBackend.C (MenuItem): handle PasteRecent
5931         (Menu::read::Menutags): add md_pasterecent
5932         (read): handle it
5933         (expandPasteRecent): new function
5934         (expand): use it
5935
5936         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5937
5938         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5939         the limited stack
5940         (availableSelections): new function
5941
5942 2003-06-17  Angus Leeming  <leeming@lyx.org>
5943
5944         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5945
5946 2003-06-17  Angus Leeming  <leeming@lyx.org>
5947
5948         * lfuns.h:
5949         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5950
5951         * lyxfunc.C (dispatch): invoke it.
5952
5953 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5954
5955         * iterators.C (operator++, ParPosition): reintroduce some
5956         const_cast for the benefit of older compilers.
5957
5958 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5959
5960         * text3.C (dispatch): do not modify clipboard when doing
5961         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5962         LFUN_DELETE_SKIP on a selection selection
5963
5964 2003-06-16  André Pönitz  <poenitz@gmx.net>
5965
5966         * BufferView.C:
5967         * buffer.C:
5968         * buffer.h:
5969         * paragraph.C:
5970         * tabular.[Ch]: IU of clone() and getLabelList();
5971
5972 2003-06-13  André Pönitz  <poenitz@gmx.net>
5973
5974         * tabular.h: compactification
5975
5976 2003-06-12  André Pönitz  <poenitz@gmx.net>
5977
5978         * tabular.C:
5979         * tabular.h:
5980         * tabular_funcs.h: some renaming plus whitespace
5981
5982 2003-06-12  André Pönitz  <poenitz@gmx.net>
5983
5984         * BufferView.C:
5985         * BufferView_pimpl.C:
5986         * CutAndPaste.C:
5987         * buffer.C:
5988         * iterators.[Ch]:
5989         * lyxfunc.C:
5990         * text.C:
5991         * toc.C: Return a Paragraph & for ParIterator::operator*()
5992
5993 2003-06-11  John Levon  <levon@movementarian.org>
5994
5995         * lyx_main.C:
5996         * ToolbarBackend.h:
5997         * ToolbarBackend.C: add "Toolbars" section and
5998         put the flags there
5999
6000 2003-06-10  Angus Leeming  <leeming@lyx.org>
6001
6002         * lfuns.h:
6003         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6004
6005         * lyxfunc.C (dispatch): invoke it.
6006
6007 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6008
6009         * main.C: protect <ios> with HAVE_IOS
6010         (main): protect sync_with_stdio with HAVE_IOS
6011
6012 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6013
6014         * text2.C (cutSelection): adjust
6015         (pasteSelection): adjust
6016
6017         * messages.C: handle get of empty string
6018
6019         * main.C (main): use sync_with_stdio(false)
6020
6021         * lyxfunc.C (dispatch): adjust
6022
6023         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6024         (WriteAs): remove unneeded BufferView arg.
6025
6026         * bufferparams.h: use correct types on papersize, papersize2 and
6027         paperpackage.
6028
6029         * bufferparams.C (readToken): adjust for type
6030         (writeLaTeX): add missing cases to switch.
6031
6032         * bufferlist.C (quitWriteBuffer): adjust
6033         (close): adjust
6034
6035         * buffer.C (asciiParagraph): remove some commented code.
6036
6037         * CutAndPaste.C: remove current_view extern variable.
6038         (cutSelection): add BufferParams arg.
6039         (eraseSelection): add BufferParams arg.
6040         (pasteSelection): add Buffer const & arg
6041
6042 2003-06-07  John Levon  <levon@movementarian.org>
6043
6044         * buffer.C:
6045         * paragraph_funcs.C:
6046         * paragraph_pimpl.C:
6047         * text.C:
6048         * text2.C:
6049         * paragraph.h:
6050         * paragraph.C: allow InsetERT to freely space lines,
6051         and some consolidation of code
6052
6053 2003-06-06  José Matos  <jamatos@fep.up.pt>
6054
6055         * buffer.C (makeDocBookFile): fix bug #821
6056
6057 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6058
6059         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6060
6061 2003-06-04  Angus Leeming  <leeming@lyx.org>
6062
6063         * buffer.C: bump format to 224.
6064
6065 2003-06-05  André Pönitz  <poenitz@gmx.net>
6066
6067         * text2.C (redoParagraphs): remove two const_cast<>
6068
6069 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6070
6071         * ParagraphList.h: remove last remnants of NO_STD_LIST
6072
6073 2003-06-03  Angus Leeming  <leeming@lyx.org>
6074
6075         * factory.C (createInset): small change to the way InsetExternal's params
6076         are set.
6077
6078 2003-06-04  André Pönitz  <poenitz@gmx.net>
6079
6080         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6081
6082         * paragraph_pimpl.h:
6083         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6084
6085         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6086
6087         * undo_funcs.C: make some simple cases of undo work again
6088
6089 2003-06-03  John Levon  <levon@movementarian.org>
6090
6091         * ispell.C: HPUX doesn't have sys/select.h
6092         (from Albert Chin)
6093
6094 2003-06-03  John Levon  <levon@movementarian.org>
6095
6096         * CutAndPaste.C: update tabular and include inset
6097         buffer references
6098
6099         * buffer.h:
6100         * paragraph.h:
6101         * paragraph.C: remove owningBuffer(), don't pass Buffer
6102         to clone()
6103
6104         * factory.C: insetGraphicsParams changed
6105
6106 2003-06-02  John Levon  <levon@movementarian.org>
6107
6108         * LyXAction.C:
6109         * factory.C:
6110         * lfuns.h:
6111         * lyxfunc.C:
6112         * text3.C: remove insetparent
6113
6114 2003-06-02  John Levon  <levon@movementarian.org>
6115
6116         * buffer.h:
6117         * buffer.C: fix inset_iterator.end(), move out of line
6118         (bug 1149)
6119
6120 2003-06-01  John Levon  <levon@movementarian.org>
6121
6122         * text3.C: use a proper cut/paste when doing inset
6123         insert (from Jürgen Spitzmüller)
6124
6125 2003-06-01  John Levon  <levon@movementarian.org>
6126
6127         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6128
6129 2003-05-30  André Pönitz  <poenitz@gmx.net>
6130
6131         * rowpainter.C: unify second drawing phase
6132
6133 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * trans_mgr.C: remove one case of current_view
6136
6137         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6138
6139         * paragraph_funcs.h: remove paragraph.h include
6140
6141         * paragraph.h: delete NO_STD_LIST stuff
6142
6143         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6144
6145         * buffer.h: remove paragraph.h include
6146
6147         * ParagraphList.C: delete file
6148
6149         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6150
6151         * toc.C (getTocList): adjust
6152
6153         * paragraph_pimpl.C (validate): adjust
6154
6155         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6156
6157         * paragraph.C (Paragraph): adjust
6158         (getPositionOfInset): use const_iterator, adjust
6159         (bibitem): use const_iterator, adjust
6160         (setInsetOwner): adjust
6161
6162         * iterators.C (operator++): adjust
6163
6164         * InsetList.[Ch]: Replace selfmade iterator with standard
6165         vector::iterator also introduce const_iterator. Remove getPos,
6166         getInset and setInset from InsetTable. Adjust accordingly.
6167
6168         * BufferView.C (lockInset): adjust
6169         (ChangeInsets): adjust
6170
6171         * tabular.[Ch]: delete commented same_id functions
6172
6173 2003-05-28  John Levon  <levon@movementarian.org>
6174
6175         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6176
6177 2003-05-28  André Pönitz  <poenitz@gmx.net>
6178
6179         * metricsinfo.[Ch]: remove 'fullredraw' member
6180
6181 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6182
6183         * lyxtextclass.C (operator): remove caching.
6184
6185 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * text3.C: adjust
6188
6189         * text2.C (cursorBottom): adjust
6190         (setCounter): use ParagraphList::find, adjust
6191
6192         * text.C (workWidth): use ParagraphList::find, adjust
6193
6194         * lyxcursor.C (LyXCursor): adjust
6195
6196         * buffer.C (inset_iterator): adjust
6197
6198         * ParagraphList.h: make iterator(value_type) private, make
6199         ParagraphList a friend of iterator.
6200
6201         * ParagraphList.C (find): new function
6202
6203         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6204
6205 2003-05-27  André Pönitz  <poenitz@gmx.net>
6206
6207         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6208
6209 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6210
6211         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6212
6213 2003-05-26  John Levon  <levon@movementarian.org>
6214
6215         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6216
6217 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * remove same_id from function signatures, adjust.
6220
6221 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6222
6223         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6224
6225         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6226
6227         * paragraph.C (Paragraph): get rid of same_ids parameter
6228
6229         * ParagraphList.C (insert): adjust
6230         (push_back): adjust
6231
6232 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * paragraph_funcs.C (breakParagraph): adjust
6235         (breakParagraphConservative): adjust
6236
6237         * buffer.C (readParagraph): adjust
6238
6239         * ParagraphList.C (insert): take a reference instead of a pointer
6240         (insert): adjust
6241
6242         * paragraph.[Ch] (id): new function
6243
6244         * bufferlist.C (newFile): adjust
6245
6246         * ParagraphList.C (ParagraphList): adjust
6247         (assign): adjust
6248         (push_back): take a reference instead of a pointer.
6249
6250         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6251
6252         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6253         instead.
6254
6255         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6256         set else use old code.
6257
6258         * ParagraphList.C: remove all NO_NEXT code and only compile this
6259         code of NO_STD_LIST is set.
6260
6261 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6262
6263         * BufferView_pimpl.C:
6264         * TextCache.C:
6265         * TextCache.h:
6266         * bufferlist.C:
6267         * errorlist.h:
6268         * format.C:
6269         * format.h:
6270         * graph.C:
6271         * lyxfunc.C:
6272         * lyxrc.C:
6273         * graphics/GraphicsConverter.C:
6274         * graphics/PreviewLoader.C: header adjustment
6275
6276 2003-05-23  Angus Leeming  <leeming@lyx.org>
6277
6278         * LaTeXFeatures.[Ch] (useBabel): new method.
6279         * bufferparams.C (writeLaTeX): use it.
6280
6281 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * ParagraphList.h (set): remove unused function.
6284
6285 2003-05-23  André Pönitz  <poenitz@gmx.net>
6286
6287         * BufferView.C:
6288         * BufferView_pimpl.C:
6289         * buffer.C:
6290         * buffer.h:
6291         * lyxfunc.C:
6292         * undo_funcs.C: setUndo reworked
6293
6294         * iterators.[Ch]: add access to topmost ParagraphList
6295
6296         * lyxtext.[Ch] (workWidth): add a const
6297
6298 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6299
6300         * texrow.[Ch] (increasePos): remove function
6301         * exporter.C (export): removed unused var and outdated comment
6302
6303 2003-05-23  Angus Leeming  <leeming@lyx.org>
6304
6305         * latexrunparams.h: rename fragile as moving_arg.
6306         * paragraph.C (simpleTeXOnePar): ditto.
6307         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6308
6309 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6312         (createUndo): ditto
6313         (textUndoOrRedo): comment out a currently unused var.
6314
6315         * paragraph.h (NO_NEXT): enable NO_NEXT
6316
6317         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6318
6319         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6320
6321         * exporter.C (Export): adjust for removeAutoInsets removal.
6322
6323         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6324
6325         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6326
6327         * BufferView.[Ch] (removeAutoInsets): delete function
6328
6329 2003-05-22  Angus Leeming  <leeming@lyx.org>
6330
6331         * latexrunparams.h: add a free_spacing variable.
6332
6333         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6334         to pass moving_arg, as the data is stored in runparams.fragile.
6335
6336         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6337         to Inset::latexOptional or to simpleTeXOnePar.
6338
6339         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6340         free_spacing arg to Inset::latexOptional.
6341
6342         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6343         free_spacing arg.
6344
6345 2003-05-22  Angus Leeming  <leeming@lyx.org>
6346
6347         * latexrunparams.h: add fragile and use_babel variables.
6348
6349         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6350         * buffer.C (makeLaTeXFile): store this returned value in
6351         runparams.use_babel, thus passing it to the inset::latex methods.
6352
6353         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6354         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6355
6356         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6357         longer has a fragile arg, as it is stored in runparams.fragile.
6358
6359         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6360         moving_arg parameter as the data is stored in runparams.fragile.
6361
6362         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6363         a fragile parameter as the data is stored in runparams.fragile.
6364
6365 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6368
6369 2003-05-22  Angus Leeming  <leeming@lyx.org>
6370
6371         * latexrunparams.h: add a 'bool nice' which defaults to false.
6372
6373         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6374         now encapsulated within runparams.
6375
6376         * bufferlist.C (updateIncludedTeXfiles):
6377         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6378
6379 2003-05-22  Angus Leeming  <leeming@lyx.org>
6380
6381         * latexrunparams.h: new file containing struct LatexRunParams.
6382         * Makefile.am: add new file.
6383
6384         * LaTeX.[Ch] (c-tor, run):
6385         * buffer.[Ch] (makeLaTeXFile):
6386         * bufferlist.[Ch] (updateIncludedTeXfiles):
6387         * converter.C (convert, scanLog):
6388         * converter.[Ch] (runLaTeX):
6389         * exporter.C (Export):
6390         * paragraph.[Ch] (simpleTeXOnePar):
6391         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6392         * paragraph_funcs.[Ch] (latexParagraphs):
6393         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6394         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6395         pass around a LatexRunParams parameter.
6396
6397 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * paragraph.[Ch]: remove unused constructor
6400
6401         * ParagraphList.C (erase): new function, taking two iterators
6402
6403 2003-05-22  André Pönitz  <poenitz@gmx.net>
6404
6405         * undo_funcs.C: remove duplicated code
6406
6407         * iterator.[Ch]: operator=
6408
6409 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * tabular.C (SetMultiColumn): ws changes
6412
6413         * rowpainter.C (paintFirst): get rid of a ->previous
6414
6415         * lyx_cb.C (getPossibleLabel): parlist simplification
6416
6417         * BufferView.C (ChangeInsets): simplify slightly.
6418
6419 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6420
6421         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6422         * lfuns.h: new LFUN_SPACE
6423         * lyxfunc.C: protected space has a new lfun
6424         * paragraph_funcs.C: read new space insets
6425         * text3.C:
6426         * factory.C: handle new space insets
6427
6428 2003-05-22  André Pönitz  <poenitz@gmx.net>
6429
6430         * BufferView.C:
6431         * BufferView_pimpl.C:
6432         * buffer.[Ch]:
6433         * lyxfunc.C:
6434         * undo_funcs.C: return a ParIterator from getParFromID.
6435
6436         * iterators.[Ch]: add two const's
6437
6438 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * toc.C (getTocList): adjust
6441
6442         * iterators.[Ch]: rework for parlist
6443
6444         * buffer.C (par_iterator_begin): adjust
6445         (par_iterator_end): adjust
6446
6447         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6448
6449         * BufferView.C (removeAutoInsets): adjust
6450         (ChangeInsets): adjust
6451
6452 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * text.C (top_y): fix bug 1110
6455
6456 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * errorlist.[Ch]: added
6459         * buffer.C:
6460         * BufferView.[Ch]:
6461         * BufferView_pimpl.C:
6462         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6463         instead
6464
6465 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * Makefile.am: ensure that lyx is relinked upon changes to the
6468         various "convenience" libs.
6469
6470 2003-05-20  Angus Leeming  <leeming@lyx.org>
6471
6472         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6473         files are compiled in alphabetical order again.
6474
6475         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6476
6477 2003-05-19  Angus Leeming  <leeming@lyx.org>
6478
6479         * gettext.[Ch]: remove "char const * _(char const *)".
6480
6481 2003-05-19  André Pönitz  <poenitz@gmx.net>
6482
6483         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6484
6485         * Makefile.am:
6486         * BufferView.C:
6487         * DepTable.h:
6488         * LaTeXFeatures.C:
6489         * buffer.C:
6490         * lyxfont.C:
6491         * lyxlex.h:
6492         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6493
6494 2003-05-19  André Pönitz  <poenitz@gmx.net>
6495
6496         * buffer.C:
6497         * lyxlayout.[Ch]:
6498         * lyxtextclass.[Ch]:
6499         * paragraph.C:
6500         * paragraph_funcs.[Ch]:
6501         * text2.C:
6502         * text3.C: more insetenv work
6503
6504 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6505
6506         * ParagraphParameters.C (params2string): small bug fixed
6507
6508 2003-05-16  André Pönitz  <poenitz@gmx.net>
6509
6510         * debug.C:
6511         * bufferview_funcs.C: patch from Kornel Benko to prevent
6512           crash when _(...) is called twice in a statement
6513
6514 2003-05-16  André Pönitz  <poenitz@gmx.net>
6515
6516         * BufferView.C:
6517         * lyxfunc.C:
6518         * text.C:
6519         * text2.C:
6520         * text3.C:
6521         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6522
6523 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6524
6525         * lyx_main.C (init): remove spurious static_cast
6526
6527 2003-05-14  André Pönitz  <poenitz@gmx.net>
6528
6529         * BufferView.C: fix format string
6530
6531 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6532
6533         * BufferView.[Ch] (insertErrors): removed
6534         * BufferView.[Ch] (showErrorList): added
6535         * buffer.C (runChkTeX):
6536         * converter.C (scanLog): call showErrorList instead of inserterrors
6537
6538 2003-05-13  André Pönitz  <poenitz@gmx.net>
6539
6540         * BufferView_pimpl.C:
6541         * buffer.C:
6542         * bufferview_func.C:
6543         * MenuBackend.C:
6544         * lyxfunc.C:
6545         * lyxrc.C:
6546         * tex-accent.C:
6547         * text3.C:
6548         * toc.C:
6549         * tabular_funcs.h: tostr() from its own header
6550
6551         * ParagraphParameters.C:
6552         * ToolbarBackend.C:
6553         * bufferparams.C:
6554         * format.C:
6555         * lyxlex_pimpl.C:
6556         * text3.C: STRCONV()
6557
6558 2003-05-12  André Pönitz  <poenitz@gmx.net>
6559
6560         * BufferView.C:
6561         * BufferView_pimpl.C:
6562         * CutAndPaste.C:
6563         * LaTeX.C:
6564         * LaTeXFeatures.C:
6565         * ParagraphParameters.C:
6566         * buffer.C:
6567         * bufferlist.C:
6568         * bufferparams.C:
6569         * bufferview_funcs.C:
6570         * converter.C:
6571         * counters.C:
6572         * debug.C:
6573         * exporter.C:
6574         * format.C:
6575         * importer.C:
6576         * lyx_cb.C:
6577         * lyx_main.C:
6578         * lyxfont.C:
6579         * lyxfunc.C:
6580         * lyxvc.C:
6581         * paragraph.C:
6582         * paragraph_funcs.C:
6583         * tabular.C:
6584         * tabular_funcs.C:
6585         * text2.C:
6586         * text3.C:  boost::format -> bformat  all over the place
6587
6588
6589 2003-05-09  André Pönitz  <poenitz@gmx.net>
6590
6591         * LColor.[Ch]: Pimpl the #include <map> away
6592
6593 2003-05-09  John Levon  <levon@movementarian.org>
6594
6595         * bufferlist.C: never remove emergency saves
6596
6597 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * Makefile.am: better lib building
6600
6601 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6604         instead.
6605         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6606         (simpleTeXSpecialChars): adjust
6607         (simpleTeXSpecialChars): adjust
6608         * paragraph.C (simpleTeXOnePar): adjust
6609         * buffer.C (makeLaTeXFile): adjust
6610
6611         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6612
6613         * text2.C (changeDepth): parlist cleanup
6614         (getColumnNearX): ditto
6615
6616         * rowpainter.C (getLabelFont): parlist cleanup
6617
6618         * bufferlist.C (newFile): parlist cleanup
6619
6620         * CutAndPaste.C (eraseSelection): parlist cleanup
6621
6622         * BufferView_pimpl.C (trackChanges): parlist cleanup
6623         (dispatch): ditto
6624
6625         * BufferView.C (lockInset): parlist cleanup.
6626         (ChangeInsets): ditto
6627
6628 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * CutAndPaste.h: Update file header.
6631
6632         * CutAndPaste.C: Update file header.
6633         Store the parts cut out of the Document in a limited_stack.
6634         (copySelection): adjust
6635         (pasteSelection): new function, takes the index in the limited stack.
6636         (nrOfParagraphs): adjust
6637         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6638         simplify error inset insertion.
6639         (checkPastePossible): adjust
6640
6641 2003-05-06  John Levon  <levon@movementarian.org>
6642
6643         * text2.C: don't cast wrap inset to float
6644
6645 2003-05-05  André Pönitz  <poenitz@gmx.net>
6646
6647         * iterator.C:
6648         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6649
6650         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6651           few naked Paragraph *.
6652
6653 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6654
6655         * bufferparams.C: Output warning if a document with missing
6656         TeX document class is loaded
6657         * exporter.C: Disable TeX exports if the document class is missing
6658         * lyxtextclass.C:
6659         * lyxtextclass.h:
6660         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6661         isTeXClassAvailable()
6662
6663 2003-05-03  John Levon  <levon@movementarian.org>
6664
6665         * BufferView.h:
6666         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6667         explicit cursor show/hide
6668
6669         * BufferView_pimpl.h:
6670         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6671         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6672
6673         * lyxfunc.C: hide cursor before dispatching.
6674
6675         * lyx_cb.C:
6676         * lyxfind.C:
6677         * text.C:
6678         * text3.C: remove explicit cursor hides
6679
6680 2003-05-02  André Pönitz  <poenitz@gmx.net>
6681
6682         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6683
6684         * undo_funcs.C:
6685         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6686           linked lists
6687
6688         * text2.C: tiny whitespace
6689
6690 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * undo_funcs.C: almost only ws changes.
6693
6694         * ParagraphList.C (splice): just return if pl is empty.
6695
6696 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * ParagraphList.C (splice): new function.
6699
6700         * CutAndPaste.C (pasteSelection): use it
6701
6702 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6703
6704         * CutAndPaste.C (pasteSelection): remove the last next and
6705         previous from this file.
6706
6707 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * CutAndPaste.C (pasteSelection): more clean up, user proper
6710         ParagraphList functions for pasteing.
6711
6712         * ParagraphList.C (insert): new function, three arg insert
6713
6714 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * ParagraphList.C (insert): new function, three arg insert
6717
6718         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6719         not on paragraphs.
6720
6721 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6724
6725 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6728
6729 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6732         (copySelection): clean up a bit.
6733         (pasteSelection): use make_pair
6734
6735         * ParagraphList.C (ParagraphList): implement copy constructor
6736         (operator=): implement, base on copy constructor.
6737         (assign): new func
6738
6739         * paragraph.C (erase): return a bool
6740
6741         * paragraph_pimpl.C (erasePos): remove function, move contents...
6742         (erase): ... here. Return a bool.
6743         (erase): call erase instead of erasePos.
6744
6745 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6746
6747         * ParagraphList.h: define PitPosPair
6748         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6749         ParagraphList, fix a bug on pasting multiple pars
6750         * text2.C: change interface to C&P
6751
6752 2003-04-30  André Pönitz  <poenitz@gmx.net>
6753
6754         * undo_func.C: revert part of yesterday's patch 2
6755
6756 2003-04-30  John Levon  <levon@movementarian.org>
6757
6758         * LColor.C: s/tabular/table/
6759
6760 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6761
6762         * text3.C (dispatch): do not convert iterator -> pointer
6763         * undo_funcs.C (setCursorParUndo): ditto
6764         * text_funcs.C (transposeChars): ditto
6765
6766         * text2.C (setLayout): ws changes only
6767
6768         * text.C (breakParagraph): do not convert iterator -> pointer
6769         (insertChar): ditto
6770         (acceptChange): ditto
6771         (rejectChange): ditto
6772         (changeCase): ditto
6773         (Delete): ditto
6774         (backspace): ditto
6775
6776         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6777         pointer
6778
6779 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6780
6781         * text3.C (gotoInset): YABG (yet another bad getChar)
6782
6783 2003-04-29  André Pönitz  <poenitz@gmx.net>
6784
6785         * paragraph.h: make operator= private unimplemented as long as
6786           it is unusable
6787
6788         * ParagraphList.C: whitespace
6789
6790         * paragraph.[Ch]:
6791         * paragraph_pimpl.[Ch]:
6792         * paragraph_funcs.C:
6793         * CutAndPaste.C:
6794         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6795
6796         * text2.C:
6797           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6798
6799 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6800
6801         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6802         * paragraph.[Ch] (erase):
6803         * paragraph_pimpl.[Ch] (erase): change return type and value
6804         * text2.C (cutSelection): some rework
6805
6806 2003-04-28  John Levon  <levon@movementarian.org>
6807
6808         * bufferlist.C: changes for unsaved changes dialog
6809
6810 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6811
6812         * bufferlist.C (newFile): set language (messages_) for new
6813         documents also.
6814
6815         * buffer.C (readFile): ws changes only.
6816
6817 2003-04-28  André Pönitz  <poenitz@gmx.net>
6818
6819         * undo_funcs.C:
6820         * lyxfunc.C:
6821         * buffer.[Ch]:
6822         * BufferView_pimpl.C:
6823         * BufferView.C: getParFromID related ParagraphList::iterator changes
6824
6825 2003-04-28  André Pönitz  <poenitz@gmx.net>
6826
6827         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6828           Changes
6829
6830 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * messages.C: remove one more localedir class variable.
6833
6834 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * messages.C (getLocaleDir): singleton generation function
6837         (Pimpl): use it.
6838         (Messages): add a default constructor.
6839
6840         * main.C (main): do not setup localedir here, do not call
6841         gettext_init.
6842
6843         * gettext.C (_): use it.
6844         (gettext_init): delete funciton
6845
6846 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * gettext.C (getLyXMessages): new singleton generating function.
6849
6850         * buffer.C (updateDocLang): adjust
6851
6852         * Makefile.am (messages.o): add target
6853         (main.o): remove target
6854
6855 2003-04-27  John Levon  <levon@movementarian.org>
6856
6857         * bufferlist.C:
6858         * lyx_cb.C:
6859         * lyxfunc.C:
6860         * lyxvc.C: specify cancel button in Alert::prompt
6861
6862 2003-04-26  John Levon  <levon@movementarian.org>
6863
6864         * text3.C:
6865         * lyxfunc.C:
6866         * lfuns.h:
6867         * LyXAction.C: add LFUN_INSET_SETTINGS
6868
6869         * lyxfunc.C: don't enable tabular-feature when there's
6870         just any locking inset
6871
6872 2003-04-26  John Levon  <levon@movementarian.org>
6873
6874         * bufferlist.C: re-add Cancel to buffer close question
6875
6876         * lyxfunc.C: fix import UI a bit
6877
6878 2003-04-25  John Levon  <levon@movementarian.org>
6879
6880         * gettext.C: remove the broken asserts for now
6881
6882 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * messages.C: make case where setlocale cannot comply work better.
6885
6886         * buffer.C (updateDocLang): new function
6887         (changeLanguage): use it
6888         (readFile): use it
6889
6890         * text2.C (setCounter): use B_ a bit.
6891
6892         * lyxlayout.C (Read): be sure to trim the label strings.
6893
6894         * messages.C (Messages): fix typo in comment
6895
6896         * buffer.C (readFile): set message_ after file is loaded.
6897         (makeDocBookFile): remove double return
6898         (changeLanguage): reset message_ upon language change.
6899         (B_): new func, use this to get translated buffer strings.
6900
6901         * main.C: add myself and Jean Marc as authors.
6902
6903 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6904
6905         * messages.[hC]: pimplify Messages, and three different pimpls to be
6906         used in different circumstances.
6907
6908         * gettext.[Ch]: change for use with new message code.
6909
6910 2003-04-24 André Pönitz <poenitz@gmx.net>
6911
6912         * factory.C: support for eqref
6913
6914 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6915
6916         * messages.[Ch]: add missing char
6917
6918         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6919
6920         * messages.[Ch]: New files
6921
6922 2003-04-18  John Levon  <levon@movementarian.org>
6923
6924         * BufferView.h:
6925         * BufferView.C:
6926         * BufferView_pimpl.C:
6927         * lfuns.h:
6928         * LyXAction.C:
6929         * lyxtext.h:
6930         * text2.C: remove layout-copy/paste (bug 778)
6931
6932 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6933
6934         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6935
6936 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6937
6938         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6939         if they succeed. Act accordingly.
6940
6941 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * text2.C (setCharFont): adjust
6944         (setCounter): adjust
6945         (insertStringAsLines): adjust
6946
6947         * text.C (leftMargin): adjust
6948         (setHeightOfRow): adjust
6949
6950         * rowpainter.C (paintFirst): adjust
6951         (paintLast): adjust
6952
6953         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6954         (outerHook): ditto
6955         (isFirstInSequence): ditto
6956         (getEndLabel): ditto
6957         (outerFont): adjust
6958
6959         * paragraph.C (getParLanguage): comment out some hard stuff.
6960
6961         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6962         (sgmlError): ditto
6963         (simpleDocBookOnePar): ditto
6964         (makeDocBookFile): use ParagraphList::iterator
6965
6966         * CutAndPaste.C (pasteSelection): adjust
6967
6968 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * text2.C (getFont): adjust
6971         (getLayoutFont): adjust
6972         (getLabelFont): adjust
6973
6974         * paragraph_funcs.C (TeXOnePar): adjust
6975
6976         * buffer.C (simpleLinuxDocOnePar): adjust
6977         (simpleDocBookOnePar): adjust
6978
6979         * CutAndPaste.C (pasteSelection): adjust
6980
6981         * BufferView.C (getEncoding): adjust
6982
6983         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6984
6985 2003-04-16  John Levon  <levon@movementarian.org>
6986
6987         * lyxfind.C: use parlist stuff for search/changes
6988
6989 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6992
6993         * text2.C (deleteEmptyParagraphMechanism): adjust
6994
6995         * text2.[Ch] (ownerParagraph): delete func (both of them
6996
6997 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7000
7001 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * ParagraphList.C: prepare for NO_NEXT
7004
7005 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * text2.C (getFont): adjust
7008         (getLayoutFont): adjust
7009         (getLabelFont): adjust
7010
7011         * paragraph.C (getFont): adjust
7012         (getLabelFont): adjust
7013         (getLayoutFont): adjust
7014
7015         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7016
7017 2003-04-15  John Levon  <levon@movementarian.org>
7018
7019         From Angus Leeming
7020
7021         * lyx_main.C: handle Include in .ui files
7022
7023 2003-04-15  John Levon  <levon@movementarian.org>
7024
7025         * MenuBackend.C: make the doc files length shorter
7026
7027         * ToolbarBackend.h:
7028         * ToolbarBackend.C: handle toolbar placement flags,
7029         Minibuffer
7030
7031 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7034         adjust
7035
7036         * paragraph_funcs.C (TeXOnePar): adjust
7037
7038         * paragraph.C (getLabelFont): add outerfont arg, adjust
7039         (getLayoutFont): ditto
7040         (simpleTeXOnePar): adjust
7041
7042         * paragraph_pimpl.C (realizeFont): delete func
7043
7044 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7045
7046         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7047         row argument, constify cur argument.
7048
7049 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * text2.C (getFont): adjust
7052         (getLayoutFont): adjust
7053         (getLabelFont): adjust
7054
7055         * paragraph_funcs.C (TeXOnePar): adjust
7056         (outerFont): new func...
7057         (realizeFont): ...moved out from here, changed this to facilitate
7058         transition
7059
7060         * paragraph.C (getFont): take outerfont as arg, adjust
7061         (simpleTeXOnePar): add outerfont arg, adjust
7062
7063         * buffer.C (simpleLinuxDocOnePar): adjust
7064         (simpleDocBookOnePar): adjust
7065
7066         * CutAndPaste.C (pasteSelection): adjust
7067
7068         * BufferView.C (getEncoding): adjust
7069
7070 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * text2.C (setCharFont): adjust
7073         (setCounter): adjust
7074
7075         * text.C (leftMargin): adjust
7076         (setHeightOfRow): adjust
7077
7078         * rowpainter.C (paintFirst): adjust
7079         (paintLast): adjust
7080
7081         * paragraph_pimpl.C (realizeFont): adjust
7082
7083         * paragraph.C (isFirstInSequence): move from here...
7084         * paragraph_funcs.C (isFirstInSequence): ...to here
7085
7086         * paragraph.C (outerHook): move from here...
7087         * paragraph_funcs.C (outerHook): ...to here
7088
7089         * paragraph.C (depthHook): move from here...
7090         * paragraph_funcs.C (depthHook): ...to here
7091
7092         * paragraph.C (getEndLabel): move from here...
7093         * paragraph_funcs.C (getEndLabel): ...to here
7094
7095         * text2.C (realizeFont): move from here...
7096         * paragraph_funcs.C (realizeFont): ...to here
7097
7098 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7101
7102 2003-04-14  Angus Leeming  <leeming@lyx.org>
7103
7104         * LColor.[Ch]: scrap LColor mathcursor.
7105
7106 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * lyxlex.[Ch] (text): delete function
7109         * trans.C (Load): adjust
7110         * paragraph_funcs.C (readParToken): adjust
7111
7112 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7113
7114         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7115         vector<char> instead of a char[].
7116
7117         * lyxlex_pimpl.C (getString): adjust
7118         (next): adjust
7119         (lex): use getString
7120         (eatLine): adjust
7121         (nextToken): adjust
7122
7123         * lyxlex.C (text): use pimpl_->getString()
7124         (getBool): ditto
7125         (findToken): ditto
7126
7127 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7130         (makeFontEntriesLayoutSpecific): temp var for par.size()
7131         (setLayout): temp var for ownerParagraphs().end()
7132         (fullRebreak): temp var for rows().end()
7133         (selectionAsString): temp var for boost::next(startpit), realize
7134         that the while really is a regular for loop.
7135         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7136         setCursor in one place.
7137         (setParagraph): temp vr for ownerParagraphs().end()
7138         (updateCounters): make the while loop a for loop
7139         (cutSelection): temp var for ownerParagraphs().end()
7140         (updateInset): make the do {} while() a regular for loop
7141         (getCursorX): use temp vars
7142         (setCurrentFont): use temp vars
7143         (getColumnNearX): use temp vars
7144
7145 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * text.C (transformChar): use temp var for getChar
7148         (computeBidiTables): use temp var for row->par()
7149         (fill): move temp vars for row->par() and pit->layout() earlier in
7150         the function.
7151         (labelFill): use temp var for row->par()
7152         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7153         asc and desc, realize that pit never changes and that firstpit is
7154         just a duplicate and not needed. Exchange rit->par() with pit in a
7155         lot of places.
7156         (breakAgain): use a temp var for boost::next(rit)
7157         (breakAgainOneRow): ditto
7158         (breakParagraph): use a temp var for rows().begin()
7159         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7160         (cursorRightOneWord): use temp var for cursor.par() and
7161         cursor.pos(), remove usage of tmpcursor.
7162         (cursorLeftOneWord): use temp var for cursor.par() and
7163         cursor.pos() only set cur at end of function.
7164
7165 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7166
7167         * text.C, text2.C: exchange all usage of Paragraph::next with
7168         boost::next(ParagraphList::iterator)
7169
7170         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7171
7172         * text2.C (cursorTop): simplify implementation
7173         (cursorBottom): ditto
7174         (setParagraph): use ParagraphList::iterator
7175         (setCurrentFont): adjust
7176         (getColumnNearX): adjust
7177         (cursorRight): adjust
7178         (cursorLeft): remove usage of Paragraph::previous
7179         (cursorUpParagraph): ditto
7180         (deleteEmptyParagraphMechanism): slight cleanup
7181
7182         * text.C (isBoundary): take a Paragraph const & instead of a
7183         pointer as arg.
7184         (addressBreakPoint): ditto
7185         (leftMargin): remove usage of Paragraph::previous.
7186         (setHeightOfRow): ditto
7187         (cursorLeftOneWord): ditto
7188         (selectNextWordToSpellcheck): ditto
7189         (Delete): ditto
7190         (backspace): ditto
7191         (breakParagraph): remove one usage of Paragraph::next
7192         (redoParagraph): ditto
7193         (acceptChange): ditto
7194         (insertChar): adjust
7195         (rowBreakPoint): adjust
7196
7197         * bufferview_funcs.C (toggleAndShow): adjust
7198
7199 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7200
7201         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7202         methods to access it.
7203         * lyxtext.h:
7204         * text.C: Added updateRowPositions to compute all row positions.
7205         Make top_y and getRowNearY() to use the cached y position
7206
7207 2003-04-11  John Levon  <levon@movementarian.org>
7208
7209         * text.C (rowBreakPoint): reintroduce the labelEnd
7210         checks, code copied from the row fill stuff. Deep voodoo.
7211
7212         * text.C (fill): add a comment and debugging for the
7213         next poor soul.
7214
7215 2003-04-11  John Levon  <levon@movementarian.org>
7216
7217         * text.C: make sure fullrow insets get wrapped to the next line,
7218         even when they're in a manual label
7219
7220 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7221
7222         * text2.C (insertParagraph): make it take ParagraphList::iterator
7223         as arg.
7224         (setLayout): make it return ParagraphList::iterator
7225         (redoParagraphs): ditto
7226         (setCounter): ditto
7227         (checkParagraph): ditto
7228
7229         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7230
7231         * text2.C: adjust several funcs.
7232         (realizeFont): take a ParagraphList::iterator as arg.
7233         (getLayoutFont): ditto
7234         (getLabelFont): ditto
7235         (setCharFont): ditto
7236
7237         * text.C: adjust several funcs.
7238
7239 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7240
7241         * text.C (selectNextWordToSpellcheck): don't accidentally
7242         skip insets
7243
7244 2003-04-10  John Levon  <levon@movementarian.org>
7245
7246         * ToolbarBackend.C (getIcon): special handling for
7247         LFUN_MATH_DELIM
7248
7249 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7250
7251         * text2.C (cursorRight): a getChar assert fixed
7252
7253 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * text2.C (getFont): change to take a ParagraphList::iterator
7256         instead of Paragraph*
7257         Adjust several functions.
7258
7259         * text.C (transformChar): change to take a ParagraphList::iterator
7260         instead of Paragraph*
7261         (singleWidth): ditto
7262         Adjust several functions.
7263
7264         * rowpainter.C: adjust several functions
7265         * rowpainter.h:store a ParagraphList::iterator and not a
7266         Paragraph&.
7267
7268
7269 2003-04-09  John Levon  <levon@movementarian.org>
7270
7271         * lyxfunc.C:
7272         * lfuns.h:
7273         * LyXAction.h:
7274         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7275         and the "help" bits as well
7276
7277 2003-04-09  John Levon  <levon@movementarian.org>
7278
7279         * ToolbarBackend.h:
7280         * ToolbarBackend.C: allow multiple toolbars
7281
7282 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7283
7284         * undo_funcs.C (setCursorParUndo): adjust
7285
7286         * text_funcs.C (transposeChars): adjust
7287
7288         * text3.C (gotoNextInset): adjust
7289         (dispatch): adjust
7290
7291         * text2.C (setLayout): adjust
7292         (changeDepth): adjust
7293         (setFont): adjust
7294         (redoParagraphs): adjust
7295         (selectionAsString): adjust
7296         (setParagraph): adjust
7297         (insertInset): adjust
7298         (cutSelection): adjust
7299         (copySelection): adjust
7300         (pasteSelection): adjust
7301         (insertStringAsLines): adjust
7302         (updateInset): adjust
7303         (setCursor): change to take a ParagraphList::iterator parameter
7304         (setCursorIntern): change to take a ParagraphList::iterator parameter
7305         (setCurrentFont): adjust
7306         (cursorLeft): adjust
7307         (cursorRight): adjust
7308         (deleteEmptyParagraphMechanism): adjust
7309
7310         * text.C (breakParagraph): adjust
7311         (insertChar): adjust
7312         (acceptChange): adjust
7313         (rejectChange): adjust
7314         (selectNextWordToSpellcheck): adjust
7315         (changeCase): adjust
7316         (Delete): adjust
7317         (backspace): adjust
7318
7319         * lyxfind.C (SearchForward): adjust
7320         (SearchBackward): adjust
7321         (nextChange): adjust
7322
7323         * lyxcursor.C (par): adjust
7324
7325         * lyxcursor.h: store a ParagraphList::iterator instead of a
7326         Paragraph*
7327
7328         * lyx_cb.C (getPossibleLabel): adjust
7329
7330         * bufferview_funcs.C (toggleAndShow): adjust
7331
7332         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7333         (dispatch): adjust
7334
7335         * BufferView.C (removeAutoInsets): adjust
7336         (lockedInsetStoreUndo): adjust
7337
7338 2003-04-09  John Levon  <levon@movementarian.org>
7339
7340         * ToolbarBackend.C: try icon without argument
7341         if with argument fails
7342
7343 2003-04-08  John Levon  <levon@movementarian.org>
7344
7345         * ToolbarBackend.h:
7346         * ToolbarBackend.C: add getIcon(), handle tooltip,
7347         and change from "Icon" to "Item".
7348
7349 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * BufferView.C (lockInset): another bad getchar crunched
7352
7353 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7354
7355         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7356         again)
7357
7358 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7359
7360         * lyxfind.C (searchForward, searchBackwards): bug 782
7361
7362 2003-04-07  John Levon  <levon@movementarian.org>
7363
7364         * paragraph.C: remove dead comment
7365
7366         * text.C: remove troublesome depth-fiddling code
7367         in leftMargin() and rightMargin() (bug 1017)
7368
7369         * text.C: fix breaking of rows in nested lists
7370         (bug 1004)
7371
7372         * text2.C (updateCounters): fix up depth values
7373         (bug 1013)
7374
7375 2003-04-07  John Levon  <levon@movementarian.org>
7376
7377         * BufferView_pimpl.C: clear message when doc finishes resizing,
7378         and after a mouse event
7379
7380         * lyxfunc.C: clear message after exiting inset
7381
7382 2003-04-07  John Levon  <levon@movementarian.org>
7383
7384         * bufferview_funcs.C: show math status not outside
7385         status in the statusbar
7386
7387 2003-04-07  John Levon  <levon@movementarian.org>
7388
7389         * lyxfunc.C: note status changed after a depth change
7390
7391 2003-04-04  Angus Leeming  <leeming@lyx.org>
7392
7393         * LaTeX.h: move AuxInfo operator==, != out of line.
7394         Remove LaTeX virtual destructor; nothing derives from it.
7395         Move operator()() out of public area and rename it startscript().
7396         Change protected for private.
7397
7398 2003-04-04  Angus Leeming  <leeming@lyx.org>
7399
7400         * lyxfunc.C:
7401         * text2.C: remove unneeded #includes.
7402
7403 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7404
7405         * text2.C (dEPM): fix the heigth of the next row
7406
7407 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7408
7409         * text.C: squashed an invalid getChar requester + some ws changes
7410
7411 2003-04-03  John Levon  <levon@movementarian.org>
7412
7413         * bufferview_funcs.h:
7414         * bufferview_funcs.C:
7415         * lyxfunc.C:
7416         * lyxtext.h:
7417         * text2.C: make getStatus work for the env depth lfuns
7418
7419 2003-04-03  John Levon  <levon@movementarian.org>
7420
7421         * bufferview_funcs.h:
7422         * bufferview_funcs.C:
7423         * lyxfunc.C:
7424         * lyxtext.h:
7425         * text2.C: parlistize decDepth(), by merging it with incDepth()
7426
7427 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * lyxrow.h: store a ParagraphList::iterator instead of a
7430         Paragraph* and adjust other class functions to suit.
7431
7432         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7433         above.
7434
7435 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7436
7437         * text2.C (setCursor): do not anchor to cursor row for the time being
7438
7439 2003-04-02  John Levon  <levon@movementarian.org>
7440
7441         * LyXAction.C:
7442         * lfuns.h:
7443         * lyx_main.C:
7444         * lyxtext.h:
7445         * text.C:
7446         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7447
7448 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * paragraph.h: make ParagraphList and ParagraphList::iterator
7451         friends of Paragraph.
7452
7453         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7454
7455         * ParagraphList.C: Use the private next_ and previous_ from
7456         Paragraph.
7457
7458 2003-04-01  John Levon  <levon@movementarian.org>
7459
7460         * ToolbarBackend.h:
7461         * ToolbarBackend.C:
7462         * Makefile.am: rename, remove defaults gunk
7463
7464         * MenuBackend.h:
7465         * MenuBackend.C: remove defaults gunk
7466
7467         * Languages.h:
7468         * Languages.C: remove defaults gunk
7469
7470         * lyx_main.h:
7471         * lyx_main.C: error out if files couldn't be found.
7472
7473 2003-04-02  John Levon  <levon@movementarian.org>
7474
7475         * text2.C: make incDepth() use parlist
7476
7477 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7478
7479         * undo_funcs.C (firstUndoParagraph): adjust
7480
7481         * text3.C (gotoInset): adjust
7482         (dispatch): adjust, and rewrite loop.
7483
7484         * text2.C (init): adjust, and rewrite loop.
7485         (redoParagraphs): adjust
7486         (updateInset): adjust, and rewrite loop.
7487         (deleteEmptyParagraphMechanism): adjust
7488
7489         * tabular.C (LyXTabular): adjust
7490         (SetMultiColumn): adjust
7491         (TeXRow): adjust
7492
7493         * lyxtext.[Ch] (ownerParagraph): delete function
7494         (ownerParagraphs): new function returns a ParagraphList.
7495
7496         * BufferView.C (removeAutoInsets): adjust
7497         (insertErrors): adjust
7498         (setCursorFromRow): adjust
7499
7500 2003-04-01  Angus Leeming  <leeming@lyx.org>
7501
7502         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7503         in the frontends.
7504
7505 2003-04-02  John Levon  <levon@movementarian.org>
7506
7507         * lyxtext.h:
7508         * text.C:
7509         * Makefile.am:
7510         * text_funcs.h:
7511         * text_funcs.C: make transposeChars a free function
7512
7513         * lyxrow_funcs.C: remove wrong comment
7514
7515 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * lyxtext.h: adjust
7518         * rowpainter.C: adjust
7519         * text.C: adjust
7520         * text2.C: adjust
7521         * text3.C: adjust
7522
7523         * lyxrow_funcs. [Ch]: new files
7524
7525         * lyxrow.[Ch]: remove next and previous pointers
7526         (next,previous): remove accessor functions
7527         (isParEnd): move to lyxrow_funcs
7528         (lastPos): move to lyxrow_funcs
7529         (nextRowIsAllInset): move to lyxrow_funcs
7530         (lastPrintablePos): move to lyxrow_funcs
7531         (numberOfSeparators): move to lyxrow_funcs
7532         (numberOfHfills): move to lyxrow_funcs
7533         (numberOfLabelHfills): move to lyxrow_funcs
7534         (hfillExpansion): move to lyxrow_funcs
7535
7536         * lyxfunc.C: adjust
7537
7538         * bufferview_funcs.C (toggleAndShow): adjust
7539
7540         * RowList.h: Remove class RowList from file leave just a
7541         std::list<Row>.
7542
7543         * RowList.C: delete file
7544
7545         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7546         and lyxrow_funcs.h
7547
7548 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * text3.C (cursorPrevious): adjust
7551         (cursorNext): adjust
7552         (dispatch): adjust
7553
7554         * text2.C (redoHeightOfParagraph): adjust
7555         (redoDrawingOfParagraph): adjust
7556         (setCursor): adjust
7557
7558         * text.C (breakParagraph): adjust
7559         (insertChar): adjust
7560         (backspace): adjust
7561
7562         * rowpainter.C (RowPainter): adjust
7563         (leftMargin): simplify and adjust
7564         (most rowpainter functions): adjust.
7565
7566         * rowpainter.h: store the row as RowList::iterator not as Row*
7567
7568         * lyxcursor.C (row): taka RowList::iterator as arg
7569         (irow): ditto
7570
7571         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7572         of Row*.
7573
7574 2003-04-01  Angus Leeming  <leeming@lyx.org>
7575
7576         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7577         stuff like bool Bool.
7578
7579 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7580
7581         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7582         rewrite a loop
7583
7584 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7585
7586         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7587         RowList::iterator.
7588
7589         * lyxtext.h (rows): drop one version and leve a const variant that
7590         returns a RowList::iterator.
7591
7592 2003-03-31  Angus Leeming  <leeming@lyx.org>
7593
7594         * text.C (fill): ensure that the signature is the same as that in the
7595         header file.
7596
7597 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * text2.C (redoParagraphs): adjust
7600         (updateCounters): adjust
7601         (checkParagraph): adjust
7602         (getColumnNearX): adjust and reformat a bit.
7603
7604         * text.C (top_y): adjust
7605         (workWidth): adjust
7606         (leftMargin): adjust
7607         (prepareToPrint): adjust
7608         (getRow): adjust
7609         (getRowNearY): adjust
7610
7611         * lyxtext.h: make rowlist_ mutable.
7612
7613         * RowList.h: add const_iterator
7614         * RowList.C: adjust for RowList::const_iterator.
7615
7616         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7617         adjust.
7618
7619 2003-03-31  John Levon  <levon@movementarian.org>
7620
7621         * lyxrc.h:
7622         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7623
7624         * lyx_main.C: set default fonts from using lyx_gui funcs
7625
7626         * exporter.C: pdf_mode moved from lyxrc
7627
7628         * lyx_cb.C:
7629         * lyxfunc.C: changes from above
7630
7631 2003-03-31  John Levon  <levon@movementarian.org>
7632
7633         * lyx_main.C: fix to the last fix
7634
7635 2003-03-31  John Levon  <levon@movementarian.org>
7636
7637         * bufferlist.C: "Load original" -> "Load Original"
7638
7639         * converter.C:
7640         * exporter.C:
7641         * importer.C:
7642         * lyx_main.C:
7643         * format.C: more Alert cleanups
7644
7645 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7646
7647         * text2.C (removeParagraph): make it take a RowList::iterator as
7648         arg, adjust.
7649         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7650         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7651
7652         * text.C (anchor_row): make it take a RowList::iterator as arg,
7653         adjust.
7654         (computeBidiTables): make it take a const reference to Row instead
7655         of Row pointer, adjust.
7656         (leftMargin): make it take a RowList::iterator as arg, adjust.
7657         (rowBreakPoint): adjust
7658         (breakAgainOneRow): make it take a RowList::iterator as arg,
7659         adjust.
7660         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7661
7662         * bufferview_funcs.C (toggleAndShow): adjust
7663
7664 2003-03-30  John Levon  <levon@movementarian.org>
7665
7666         * Makefile.am:
7667         * BoostFormat.h:
7668         * boost-inst.C: moved to support
7669
7670         * several files: changes as a result
7671
7672 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7673
7674         * text2.C (LyXText): adjust.
7675         (init): adjust
7676         (removeRow): make it take a RowList::iterator as arg, adjust.
7677         (fullRebreak): adjust
7678         (deleteEmptyParagraphMechanism): adjust
7679         (clearPaint): adjust
7680         (postPaint): adjust
7681
7682         * text.C (top_y): adjust
7683         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7684         (breakAgain): make it take a RowList::iterator as arg, adjust.
7685         (breakParagraph): adjust
7686         (insertChar): adjust
7687         (backspace): adjust
7688
7689         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7690         need_break_row, and refresh_row.
7691
7692         * text3.C (dispatch): adjust
7693
7694         * text2.C (checkParagraph): adjust
7695         (setCursor): adjust
7696         (setCursorFromCoordinates): adjust
7697
7698         * text.C (top_y): adjust
7699         (workWidth): adjust
7700         (getRow): make it return a RowList::iterator, adjust
7701         (getRowNearY): make it return a RowList::iterator, adjust
7702
7703         * text2.C (init): adjust
7704         (insertRow): remove function
7705         (insertParagraph): adjust
7706         (redoParagraphs): adjust
7707         (fullRebreak): adjust
7708         (updateCounters): adjust
7709
7710         * text.C (top_y): rewrite to use RowList iterators.
7711         (top_y): adjust
7712         (setHeightOfRow): rewrite to sue RowList iterators.
7713         (appendParagraph): adjust
7714         (breakAgain): adjust
7715         (breakAgainOneRow): adjust
7716         (breakParagraph): adjust
7717         (getRow): adjust
7718         (getRowNearY): adjust, and remove commented code.
7719
7720         * lyxtext.h (firstRow): delete function
7721         (lastRow): delete function
7722         (rows): new function (const and non-const versions.)
7723         (insertRow): delete function
7724
7725         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7726
7727 2003-03-29  John Levon  <levon@movementarian.org>
7728
7729         * BufferView_pimpl.C: always update scrollbar top
7730         because pasting text when we're anchored could mean we
7731         miss an update altogether
7732
7733 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * text2.C (init): use rowlist_.end() and not 0.
7736         (insertRow): change to take a RowList::iterator as arg, adjust
7737         for this.
7738         (insertParagraph): change to take a RowList::iterator as arg,
7739         adjust for this.
7740         (redoParagraphs): remove some debug msgs.
7741
7742         * text.C (appendParagraph): change to take a RowList::iterator
7743         arg, adjust for this.
7744         (breakAgain): add an assert
7745         (breakAgainOneRow): ditto
7746
7747 2003-03-29  John Levon  <levon@movementarian.org>
7748
7749         * text2.C: do not clear selection after inc/decDepth
7750         (bug 550)
7751
7752 2003-03-29  John Levon  <levon@movementarian.org>
7753
7754         * BufferView.C:
7755         * buffer.C: fix broken strerrors according to Lars
7756
7757 2003-03-29  John Levon  <levon@movementarian.org>
7758
7759         * converters.C: more Alert cleanups
7760
7761 2003-03-29  John Levon  <levon@movementarian.org>
7762
7763         * bufferview_funcs.C: remove pointless Alert
7764
7765         * buffer.C: fix confusing error message when
7766         a template is chmoded 000
7767
7768 2003-03-29  John Levon  <levon@movementarian.org>
7769
7770         * BufferView.C:
7771         * BufferView.h:
7772         * BufferView_pimpl.C: Alert fixes
7773
7774         * Makefile.am:
7775         * tabular.C:
7776         * tabular-old.C: remove unused table compat reading
7777
7778 2003-03-29  John Levon  <levon@movementarian.org>
7779
7780         * BufferView.C:
7781         * buffer.C:
7782         * lyx_cb.h:
7783         * lyx_cb.C: more Alert cleanups
7784
7785         * lyxfunc.C: don't allow chktex if not latex document
7786
7787 2003-03-29  John Levon  <levon@movementarian.org>
7788
7789         * lyx_cb.C:
7790         * BufferView.C:
7791         * buffer.C: warnings pushed down from support/,
7792         kill err_alert
7793
7794 2003-03-29  John Levon  <levon@movementarian.org>
7795
7796         * lyxfunc.C: safety check for C-r (revert)
7797
7798 2003-03-29  John Levon  <levon@movementarian.org>
7799
7800         * bufferlist.h:
7801         * bufferlist.C: several UI fixes using Alert::prompt.
7802         Fix the pointless looping quit code. Fix stupid revert
7803         behaviour (bug 938)
7804
7805         * lyxvc.h:
7806         * lyxvc.C:
7807         * lyx_cb.C: use Alert::prompt
7808
7809         * lyx_main.C: remove a silly question
7810
7811         * lyxfunc.C: remove a couple of silly questions,
7812         use Alert::prompt
7813
7814 2003-03-28  John Levon  <levon@movementarian.org>
7815
7816         * text2.C: fix bug 974 (End on empty par)
7817
7818 2003-03-28  John Levon  <levon@movementarian.org>
7819
7820         * BufferView_pimpl.C:
7821         * LyXAction.C:
7822         * lfuns.h: remove do-nothing math greek lfuns
7823
7824 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7825
7826         * lyxgluelength.h (isValidGlueLength): add default arg on
7827         parameter 2. Remove default arg from friend in class.
7828
7829         * lyxlength.h (isValidLength): add default arg on parameter 2.
7830         Remove default arg from friend in class.
7831
7832         * text2.C (LyXText): adjust, initialize refresh_row.
7833         (init): adjust
7834         (removeRow): adjust
7835         (insertRow): adjust
7836         (insertParagraph): adjst
7837         (redoParagraphs): adjust
7838         (fullRebreak): adjust
7839         (updateCounters): adjust
7840         (deleteEmptyParagraphMechanism): first attempt at fixing a
7841         crashing bug.
7842
7843         * text.C (top_y): adjust
7844         (setHeightOfRow): adjust
7845         (getRow): adjust
7846         (getRowNearY): adjust
7847
7848         * lyxtext.h: include RowList.h
7849         (~LyXText): not needed anymore, deleted.
7850         (firstRow): modify for RowList
7851         (lastRow): new function
7852         Delete firstrow and lastrow class variables, add a Rowlist
7853         rowlist_ class variable.
7854
7855         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7856         paragraph is empty.
7857
7858         * RowList.C (insert): fix case where it == begin().
7859
7860 2003-03-26  Angus Leeming  <leeming@lyx.org>
7861
7862         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7863         the thesaurus dialog.
7864
7865 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7868
7869         * RowList.[Ch]: new files
7870
7871         * ParagraphList.C (erase): handle the case where it == begin
7872         correctly.
7873
7874 2003-03-25  John Levon  <levon@movementarian.org>
7875
7876         * Makefile.am:
7877         * aspell_local.h:
7878         * aspell.C: add new aspell support
7879
7880         * lyxrc.h:
7881         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7882         have it accessible.
7883
7884 2003-03-25  Angus Leeming  <leeming@lyx.org>
7885
7886         * lfuns.h:
7887         * LyXAction.C (init): new LFUN_INSET_INSERT.
7888
7889         * BufferView_pimpl.C (dispatch): split out part of the
7890         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7891
7892         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7893         LFUN_INSET_APPLY.
7894
7895 2003-03-25  Angus Leeming  <leeming@lyx.org>
7896
7897         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7898
7899 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7900
7901         * text2.C:
7902         * text3.C: remove useless row->height(0)
7903
7904 2003-03-25  John Levon  <levon@movementarian.org>
7905
7906         * lyxtext.h:
7907         * text2.C:
7908         * text3.C: rename the refreshing stuff to better names
7909
7910 2003-03-24  John Levon  <levon@movementarian.org>
7911
7912         * BufferView_pimpl.h:
7913         * BufferView_pimpl.C: update layout choice on a mouse
7914         press/release
7915
7916 2003-03-23  John Levon  <levon@movementarian.org>
7917
7918         * Makefile.am: fix commandtags.h reference
7919
7920 2003-03-22  John Levon  <levon@movementarian.org>
7921
7922         * BufferView_pimpl.C:
7923         * lyxtext.h:
7924         * rowpainter.C:
7925         * rowpainter.h:
7926         * text.C:
7927         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7928
7929 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * lyxtext.h:
7932         * text.C: take the rtl methods out of line
7933
7934 2003-03-21 André Pönitz <poenitz@gmx.net>
7935
7936         * metricsinfo.[Ch]: new files containing structures to be passed around
7937         during the two-phase-drawing...
7938
7939 2003-03-21 André Pönitz <poenitz@gmx.net>
7940
7941         * lyxtextclass.C: read 'environment' tag.
7942
7943 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7944
7945         * text2.C (removeRow): fix bug 964
7946
7947 2003-03-20  John Levon  <levon@movementarian.org>
7948
7949         * rowpainter.C:
7950         * text.C:
7951         * text2.C: paint cleanups. Inset::update() dropped font
7952         parameter
7953
7954 2003-03-19  John Levon  <levon@movementarian.org>
7955
7956         * lyxfunc.C: only fitcursor/markDirty if available()
7957
7958 2003-03-19  John Levon  <levon@movementarian.org>
7959
7960         * commandtags.h: rename to ...
7961
7962         * lfuns.h: ... this, and renumber / cleanup
7963
7964 2003-03-19  John Levon  <levon@movementarian.org>
7965
7966         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7967         fit the cursor after an lfun
7968
7969         * BufferView.h:
7970         * BufferView.C:
7971         * BufferView_pimpl.h:
7972         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7973
7974         * LyXAction.C: layout-character should have ReadOnly
7975
7976         * ParagraphParameters.C:
7977         * buffer.C:
7978         * bufferview_funcs.C:
7979         * lyx_cb.C:
7980         * lyxfind.C:
7981         * lyxtext.h:
7982         * text.C:
7983         * text2.C:
7984         * text3.C:
7985         * undo_funcs.C: changes from above
7986
7987 2003-03-18  John Levon  <levon@movementarian.org>
7988
7989         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7990         remove it from update()
7991
7992         * lyxfunc.C: update layout choice after an lfun
7993
7994         * text3.C: remove extra updateLayoutChoice()s
7995
7996 2003-03-18  John Levon  <levon@movementarian.org>
7997
7998         * text.C: top_y change means full repaint, fix
7999         a drawing bug with cursor movement
8000
8001 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8002
8003         * lyxtext.h:
8004         * text.C:
8005         * text2.C: anchor row on setCursor
8006
8007 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8008
8009         * lyxtext.h: remove almost all mutable keywords
8010         * text.C:
8011         * text2.C:
8012         * text3.C: remove const keywords accordingly
8013
8014 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8015
8016         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8017         anon namespace
8018         (TeXEnvironment): ditto
8019         (TeXOnePar): ditto
8020
8021 2003-03-17  John Levon  <levon@movementarian.org>
8022
8023         * text.C (rowBreakPoint): remove attempt to fix displayed
8024         math insets inside a manual label
8025
8026 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * lyxtext.h: remove BufferView* as first arg from almost all class
8029         functions.
8030         * other files: adjust.
8031
8032 2003-03-17  John Levon  <levon@movementarian.org>
8033
8034         * lyxtext.h:
8035         * undo_funcs.C:
8036         * text2.C: more paint cleanups
8037
8038         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8039
8040         * rowpainter.h:
8041         * rowpainter.C: remove "smart" background painting code
8042
8043 2003-03-16  John Levon  <levon@movementarian.org>
8044
8045         * lyxtext.h:
8046         * text.C:
8047         * text2.C:
8048         * text3.C: add helper functions for setting refresh_row/y
8049
8050 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8051
8052         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8053         newline inset which *can* get inserted in the pass_thru layouts.
8054         This is primarily for literate documents.
8055
8056 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8057
8058         * buffer.C: increment LYX_FORMAT to 223
8059
8060 2003-03-14 André Pönitz <poenitz@gmx.net>
8061
8062         * textclass.h: prepare for environment handling, ws changes
8063         * lyxlayout.C: read latexheader and latexfooter tags
8064
8065 2003-03-14  John Levon  <levon@movementarian.org>
8066
8067         * text2.C: rewrite ::status() a bit
8068
8069 2003-03-13  John Levon  <levon@movementarian.org>
8070
8071         * lyxtext.h: add some docs
8072
8073 2003-03-13  John Levon  <levon@movementarian.org>
8074
8075         * lyxtext.h:
8076         * text.C:
8077         * text2.C:
8078         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8079
8080 2003-03-13  John Levon  <levon@movementarian.org>
8081
8082         * text3.C: fix appendix redrawing
8083
8084 2003-03-13  John Levon  <levon@movementarian.org>
8085
8086         * text.C (setHeightOfRow):
8087         * rowpainter.h:
8088         * rowpainter.C: make appendix mark have the text
8089           "Appendix" so the user knows what it is
8090
8091         * LColor.h:
8092         * LColor.C: s/appendixline/appendix/ from above
8093
8094 2003-03-13  John Levon  <levon@movementarian.org>
8095
8096         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8097
8098         * text.C: fix a getChar(pos) bug properly
8099
8100 2003-03-13  Angus Leeming  <leeming@lyx.org>
8101
8102         * commandtags.h:
8103         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8104         Probably only temporary. Let's see how things pan out.
8105
8106         * BufferView.C (unlockInset):
8107         * BufferView_pimpl.C (fitCursor):
8108         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8109
8110         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8111         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8112
8113         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8114         new functions that convert ParagraphParameters to and from a string.
8115
8116         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8117         BufferView::Pimpl's dispatch.
8118         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8119
8120 2003-03-13 André Pönitz <poenitz@gmx.net>
8121
8122         * lyxfunc.C:
8123         * text3.C:
8124         * factory.C: make it aware of InsetEnv
8125
8126 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * text2.C (setCursor): never ask for one past last
8129         (setCursor): add some debugging messages.
8130
8131         * text.C (singleWidth): never ask for one past last
8132         (singleWidth): ditto
8133         (leftMargin): ditto
8134         (rightMargin): ditto
8135         (rowBreakPoint): ditto
8136         (setHeightOfRow): ditto
8137         (prepareToPrint): ditto
8138
8139         * rowpainter.C (paintBackground): never ask for one past last
8140         (paintText): never ask for one past last
8141
8142         * paragraph_pimpl.C (getChar): make the assert stricter, never
8143         allow the one past last pos to be taken
8144
8145         * paragraph.C (getChar): ws changes only
8146
8147         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8148         (numberOfSeparators): ditto
8149         (numberOfHfills): ditto
8150
8151 2003-03-12  John Levon  <levon@movementarian.org>
8152
8153         * author.h:
8154         * author.C:
8155         * bufferparams.h:
8156         * bufferparams.C:
8157         * paragraph_funcs.C: fix per-buffer authorlists
8158
8159 2003-03-12  John Levon  <levon@movementarian.org>
8160
8161         * text.C: fix newline in right address
8162
8163 2003-03-12  Angus Leeming  <leeming@lyx.org>
8164
8165         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8166         duplicate those in LyXFunc::dispatch.
8167
8168         * commandtags.h:
8169         * LyXAction.C:
8170         * ToolbarDefaults.C:
8171         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8172         Add LFUN_FONTFREE_UPDATE.
8173
8174         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8175         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8176
8177         * bufferview_func.[Ch]: several new functions to facilliate
8178         transfer of data to and from the character dialog.
8179
8180 2003-03-12  John Levon  <levon@movementarian.org>
8181
8182         * buffer.C:
8183         * paragraph.h:
8184         * paragraph.C:
8185         * paragraph_funcs.C:
8186         * paragraph_pimpl.C:
8187         * sgml.C:
8188         * tabular.C:
8189         * text.C:
8190         * text3.C: remove META_NEWLINE in favour of an inset
8191
8192         * rowpainter.h:
8193         * rowpainter.C: remove paintNewline (done by inset)
8194
8195 2003-03-12  John Levon  <levon@movementarian.org>
8196
8197         * paragraph_pimpl.C: complain about bad getChar()s
8198         for a while at least
8199
8200 2003-03-12  John Levon  <levon@movementarian.org>
8201
8202         * buffer.h:
8203         * buffer.C: move paragraph read into a separate function,
8204         a little renaming to reflect that.
8205
8206         * bufferparams.h:
8207         * bufferparams.C: remove the author_ids map, not necessary now
8208
8209         * factory.h:
8210         * factory.C: moved Buffer::readInset to here
8211
8212         * paragraph_funcs.h:
8213         * paragraph_funcs.C: readParagraph free function moved from
8214         buffer.C
8215
8216         * tabular.C: name change
8217
8218 2003-03-12  John Levon  <levon@movementarian.org>
8219
8220         * buffer.C:
8221         * ParagraphParameters.C: move par params input to
8222         a read() method
8223
8224         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8225         behave like a normal read from the stream wrt reading
8226         a line vs. a \\token
8227
8228 2003-03-12  John Levon  <levon@movementarian.org>
8229
8230         * paragraph.C:
8231         * ParagraphParameters.h:
8232         * ParagraphParameters.C: move output code to a
8233         ::write() method
8234
8235 2003-03-12  John Levon  <levon@movementarian.org>
8236
8237         * BufferView.C (insertLyXFile):
8238         * buffer.h:
8239         * buffer.C:
8240         * tabular.C: use a parlist iterator for creating the
8241           document.
8242
8243 2003-03-12  John Levon  <levon@movementarian.org>
8244
8245         * buffer.C: make current_change static local not
8246           static file-scope
8247
8248 2003-03-12  John Levon  <levon@movementarian.org>
8249
8250         * buffer.C: fix insertStringAsLines for change tracking
8251
8252 2003-03-12  John Levon  <levon@movementarian.org>
8253
8254         * BufferView.C:
8255         * tabular.C:
8256         * buffer.h:
8257         * buffer.C:
8258         * bufferparams.h:
8259         * bufferparams.C: move author list into params. Rename some
8260           functions. Move the header reading into a separate token
8261           loop. Move the header token reading into BufferParams.
8262
8263 2003-03-12  John Levon  <levon@movementarian.org>
8264
8265         * changes.C: put debug inside lyxerr.debugging() checks
8266
8267 2003-03-11 André Pönitz <poenitz@gmx.net>
8268
8269         * factory.C: make it aware of InsetHFill
8270
8271 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8272
8273         * buffer.C (latexParagraphs): move function from here...
8274         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8275         args.
8276
8277 2003-03-10  Angus Leeming  <leeming@lyx.org>
8278
8279         * LyXAction.C (init): fix bug in poplating array with multiple entries
8280         with the same LFUN (spotted by JMarc).
8281
8282 2003-03-10  John Levon  <levon@movementarian.org>
8283
8284         * text.C:
8285         * text2.C: move getColumnNearX() near its
8286         only call site
8287
8288 2003-03-10  John Levon  <levon@movementarian.org>
8289
8290         * text.C: fix break before a minipage
8291
8292 2003-03-10  John Levon  <levon@movementarian.org>
8293
8294         * text.C: fix the last commit
8295
8296 2003-03-09  John Levon  <levon@movementarian.org>
8297
8298         * lyxtext.h:
8299         * text.C:
8300         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8301         bug 365 (don't break before insets unless needed). Don't
8302         return a value > last under any circumstances.
8303
8304 2003-03-09  Angus Leeming  <leeming@lyx.org>
8305
8306         * BufferView_pimpl.C (trackChanges, dispatch): call
8307         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8308
8309 2003-03-09  Angus Leeming  <leeming@lyx.org>
8310
8311         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8312         than Dialogs::showAboutlyx().
8313
8314 2003-03-09  Angus Leeming  <leeming@lyx.org>
8315
8316         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8317         than Dialogs::showTabularCreate().
8318
8319 2003-03-09  John Levon  <levon@movementarian.org>
8320
8321         * lyxtext.h:
8322         * text.C:
8323         * text2.C: 3rd arg to nextBreakPoint was always the same.
8324           Use references.
8325
8326 2003-03-08  John Levon  <levon@movementarian.org>
8327
8328         * lyxrow.C:
8329         * paragraph.C:
8330         * paragraph.h:
8331         * rowpainter.C:
8332         * text.C:
8333         * text2.C: Remove the "main" bit from the "main body"
8334           notion.
8335
8336 2003-03-08  John Levon  <levon@movementarian.org>
8337
8338         * text.C (leftMargin): The left margin of an empty
8339         manual label paragraph should not include the label width
8340         string length.
8341
8342         * text.C (prepareToPrint): don't attempt to measure hfills
8343         for empty manual label paragraphs - the answer should be 0
8344
8345 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * CutAndPaste.C: remove commented code and reindent.
8348
8349 2003-03-08  John Levon  <levon@movementarian.org>
8350
8351         * lyxfunc.h:
8352         * lyxfunc.C: move reloadBuffer()
8353
8354         * BufferView.h:
8355         * BufferView.C: to here
8356
8357         * lyxvc.C: add comment
8358
8359         * vc-backend.h:
8360         * vc-backend.C: call bv->reload() to avoid
8361           getStatus() check on MENURELOAD
8362
8363 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8364
8365         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8366         to an old format .dep file.
8367
8368 2003-03-07  Angus Leeming  <leeming@lyx.org>
8369
8370         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8371         when the LFUN_MOUSE_RELEASE should have been handled by
8372         inset->localDispatch.
8373
8374 2003-03-07  Angus Leeming  <leeming@lyx.org>
8375
8376         * BufferView_pimpl.C (dispatch):
8377         * LyXAction.C (init):
8378         * ToolbarDefaults.C (init):
8379         * commandtags.h:
8380         * lyxfunc.C (getStatus):
8381         remove LFUN_INSET_GRAPHICS.
8382
8383         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8384
8385 2003-03-07  Angus Leeming  <leeming@lyx.org>
8386
8387         * commandtags.h:
8388         * LyXAction.C (init):
8389         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8390
8391         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8392
8393         * commandtags.h:
8394         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8395
8396         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8397         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8398
8399 2003-03-07  Angus Leeming  <leeming@lyx.org>
8400
8401         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8402         remove "ert".
8403
8404 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * ParagraphList.C (front): new function
8407         (back): implement
8408
8409 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8410
8411         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8412         and top_row_offset_. removed var first_y.
8413         * text.C (top_y):
8414         * text2.C (LyXText, removeRow):
8415         * text3.C:
8416         * BufferView_pimpl.C:
8417         use these methods instead of using first_y
8418
8419 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * text2.C (pasteSelection): adjust for checkPastePossible
8422
8423         * CutAndPaste.C: remove Paragraph * buf and replace with
8424         ParagraphList paragraphs.
8425         (DeleteBuffer): delete
8426         (cutSelection): change the tc type to textclass_type
8427         (copySelection): change the tc type to textclass_type
8428         (copySelection): adjust for ParagraphList
8429         (pasteSelection): change the tc type to textclass_type
8430         (pasteSelection): adjust for Paragraphlist
8431         (nrOfParagraphs): simplify for ParagraphList
8432         (checkPastePossible): simplify for ParagraphList
8433         (checkPastePossible): remove unused arg
8434
8435         * ParagraphList.C (insert): handle the case where there are no
8436         paragraphs yet.
8437
8438         * CutAndPaste.h: make CutAndPaste a namespace.
8439
8440         * text3.C (dispatch): adjust
8441
8442         * text.C (breakParagraph): add a ParagraphList as arg
8443
8444         * paragraph_funcs.C (breakParagraph): change to take a
8445         BufferParams and a ParagraphList as args.
8446         (breakParagraphConservative): ditto
8447         (mergeParagraph): ditto
8448         (TeXDeeper): add a ParagraphList arg
8449         (TeXEnvironment): ditto
8450         (TeXOnePar): ditto
8451
8452         * buffer.C (readLyXformat2): adjust
8453         (insertStringAsLines): adjust
8454         (latexParagraphs): adjust
8455
8456         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8457         (cutSelection): adjust
8458         (pasteSelection): adjust
8459
8460         * BufferView_pimpl.C (insertInset): adjust
8461
8462 2003-03-05  Angus Leeming  <leeming@lyx.org>
8463
8464         * commandtags.h:
8465         * LyXAction.C (init):
8466         * BufferView_pimpl.C (dispatch):
8467         * lyxfunc.C (getStatus):
8468         remove LFUN_CHILD_INSERT.
8469
8470         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8471
8472 2003-03-05  Angus Leeming  <leeming@lyx.org>
8473
8474         * commandtags.h:
8475         * LyXAction.C (init):
8476         * src/factory.C (createInset):
8477         * lyxfunc.C (getStatus):
8478         * text3.C (dispatch):
8479         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8480
8481         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8482
8483 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * ParagraphList.C (insert): handle insert right before end()
8486         (erase): fix cases where it can be first or last paragraph.
8487
8488 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8491         Paragraph::next and Paragraph::previous
8492         (TeXOnePar): ditto
8493
8494         * text.C (breakParagraph): adjust
8495
8496         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8497         BufferParams& as arg.
8498         (breakParagraph): use ParagraphList::insert
8499         (breakParagraphConservative): take a Buffer* instead of a
8500         BufferParams& as arg.
8501         (breakParagraphConservative): use ParagraphList::insert.
8502
8503         * buffer.C (insertStringAsLines): un-const it
8504         (insertStringAsLines): adjust
8505
8506         * ParagraphList.C (insert): new function
8507
8508         * CutAndPaste.C (pasteSelection): adjust
8509
8510         * text.C (backspace): adjust
8511
8512         * tabular.C (SetMultiColumn): adjust
8513
8514         * CutAndPaste.C (cutSelection): adjust
8515         (pasteSelection): adjust
8516
8517         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8518         Buffer const * as arg
8519
8520         * ParagraphList.C (erase): new function
8521         * paragraph_funcs.C (mergeParagraph): use it
8522         (mergeParagraph): make it take a Buffer* instead of a
8523         BufferParams* as arg
8524
8525         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8526         as arg
8527         (breakParagraphConservative): ditto
8528
8529         * paragraph.h: remove the breakParagraph friend
8530
8531         * paragraph.C (eraseIntern): new function
8532         (setChange): new function
8533
8534         * paragraph_funcs.C (mergeParagraph): make it take a
8535         ParagraphList::iterator instead of a Paragraph *, adjust
8536         accordingly.
8537
8538         * paragraph.h: move an #endif so that the change tracking stuff
8539         also works in the NO_NEXT case.
8540
8541 2003-03-04  Angus Leeming  <leeming@lyx.org>
8542
8543         * commandtags.h:
8544         * LyXAction.C: new LFUN_INSET_MODIFY.
8545
8546         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8547         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8548
8549 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8550
8551         * several files: ws changes only
8552
8553         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8554         (TeXEnvironment): ditto
8555         (TeXDeeper): ditto
8556
8557         * buffer.C (makeLaTeXFile): adjust
8558         (latexParagraphs): make it take ParagraphList::iterator as args
8559
8560 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * buffer.C (latexParagraphs): adjust
8563
8564         * paragraph.C (TeXOnePar): move function...
8565         (optArgInset): move function...
8566         (TeXEnvironment): move function...
8567         * paragraph_pimpl.C (TeXDeeper): move function...
8568         * paragraph_funcs.C: ...here
8569
8570         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8571
8572 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * buffer.C (readInset): remove compability code for old Figure and
8575         InsetInfo insets
8576
8577 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8578
8579         * buffer.C: ws changes
8580         (readInset):
8581
8582         * BufferView_pimpl.C: ditto
8583         * author.C: ditto
8584         * buffer.h: ditto
8585         * bufferlist.h: ditto
8586         * changes.h: ditto
8587         * lyxfunc.C: ditto
8588
8589 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8590
8591         * converter.[Ch]: split into itself +
8592         * graph.[Ch]
8593         * format.[Ch]
8594         * Makefile.am: += graph.[Ch] + format.[Ch]
8595         * MenuBackend.C
8596         * buffer.C
8597         * exporter.C
8598         * importer.C
8599         * lyx_main.C
8600         * lyxfunc.C
8601         * lyxrc.C: added #include "format.h"
8602
8603 2003-02-27  Angus Leeming  <leeming@lyx.org>
8604
8605         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8606           a label.
8607
8608         * factory.C (createInset): add "label" to the factory.
8609
8610         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8611           string and do no more.
8612
8613 2003-02-27  Angus Leeming  <leeming@lyx.org>
8614
8615         * commandtags.h:
8616         * LyXAction.C (init):
8617         * factory.C (createInset):
8618         * BufferView_pimpl.C (dispatch):
8619           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8620
8621         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8622
8623         * lyxfunc.C (dispatch):
8624         * text3.C (dispatch): pass name to params2string.
8625
8626 2003-02-26  Angus Leeming  <leeming@lyx.org>
8627
8628         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8629           blocks together.
8630           Rearrange the ~includes. Strip out the unnecessary ones.
8631
8632         * factory.C (createInset): reformat.
8633           create new insets for the various LFUN_XYZ_APPLY lfuns.
8634
8635 2003-02-26  John Levon  <levon@movementarian.org>
8636
8637         * lyxrow.h:
8638         * lyxrow.C: add isParStart,isParEnd helpers
8639
8640         * paragraph.h: make isInserted/DeletedText take refs
8641
8642         * paragraph_funcs.h:
8643         * paragraph_funcs.C: remove #if 0'd code
8644
8645         * lyxtext.h:
8646         * text3.C:
8647         * text2.C:
8648         * text.C: use lyxrow helpers above.
8649           Move draw and paint routines to RowPainter.
8650           Make several methods use refs not pointers.
8651           Make backgroundColor() const.
8652           Add markChangeInDraw(), isInInset().
8653           Merge changeRegionCase into changeCase.
8654           Make workWidth() shouldn't-happen code into an Assert.
8655
8656         * rowpainter.h:
8657         * rowpainter.C: new class for painting a row.
8658
8659         * vspace.h:
8660         * vspace.C: make inPixels take a ref
8661
8662 2003-02-26  Angus Leeming  <leeming@lyx.org>
8663
8664         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8665         LFUN_REF_APPLY.
8666
8667 2003-02-25  John Levon  <levon@movementarian.org>
8668
8669         * ispell.C: give the forked command a more accurate name
8670
8671 2003-02-22  John Levon  <levon@movementarian.org>
8672
8673         * toc.h:
8674         * toc.C: make TocItem store an id not a Paragraph *
8675           (bug #913)
8676
8677 2003-02-21  Angus Leeming  <leeming@lyx.org>
8678
8679         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8680           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8681           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8682           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8683           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8684           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8685
8686         * BufferView_pimpl.C (dispatch):
8687         * LyXAction.C (init):
8688         * factory.C (createInset):
8689         * lyxfunc.C (getStatus, dispatch):
8690         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8691
8692 2003-02-21  Angus Leeming  <leeming@lyx.org>
8693
8694         * BufferView_pimpl.C (MenuInsertLyXFile):
8695         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8696         * lyxfunc.C (menuNew, open, doImport):
8697           no longer pass a LyXView & to fileDlg.
8698
8699 2003-02-21  Angus Leeming  <leeming@lyx.org>
8700
8701         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8702         * LyXAction.C: change, BIBKEY to BIBITEM.
8703         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8704         Change InsetBibKey to InsetBibitem.
8705         Change BIBKEY_CODE to BIBITEM_CODE.
8706         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8707         * factory.C: replace insetbib.h with insetbibitem.h.
8708         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8709         * paragraph.C: replace insetbib.h with insetbibitem.h.
8710         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8711         Change bibkey() to bibitem().
8712         * text.C: remove insetbib.h.
8713         * text2.C: replace insetbib.h with insetbibitem.h.
8714         change bibkey() to bibitem().
8715         * text3.C: remove insetbib.h.
8716         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8717
8718 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8719
8720         * lyxrc.C (output): enclose user email in quotes (in case there are
8721         several words)
8722
8723 2003-02-18  John Levon  <levon@movementarian.org>
8724
8725         * buffer.h: add std::
8726
8727 2003-02-17  John Levon  <levon@movementarian.org>
8728
8729         * SpellBase.h:
8730         * ispell.h:
8731         * ispell.C:
8732         * pspell.h:
8733         * pspell.C: reworking. Especially in ispell, a large
8734           number of clean ups and bug fixes.
8735
8736         * lyxfunc.C: fix revert to behave sensibly
8737
8738 2003-02-17 André Pönitz <poenitz@gmx.net>
8739
8740         * LyXAction.C:
8741         * commandtags.h: new LFUN_INSERT_BIBKEY
8742
8743         * layout.h:
8744         * lyxlayout.C:
8745         * buffer.C:
8746         * factory.C:
8747         * text.C:
8748         * text2.C:
8749         * text3.C:
8750         * paragraph.[Ch]:
8751         * paragraph_func.C: remove special bibkey handling
8752
8753 2003-02-17  John Levon  <levon@movementarian.org>
8754
8755         * text.C (Delete): fix case where delete at the end of
8756           the very first paragraph would not merge the pars
8757
8758 2003-02-17  John Levon  <levon@movementarian.org>
8759
8760         * lyxrow.C: fix lastPrintablePos()
8761
8762 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8763
8764         * bufferparams.C (writeLaTeX): add a std:here
8765
8766         * buffer.C: and remove a using directive there
8767
8768 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * buffer.C (makeLaTeXFile): move the code that generates the
8771           preamble...
8772
8773         * bufferparams.C (writeLaTeX): ... in this new method
8774
8775         * LaTeXFeatures.C (getEncodingSet): make const
8776           (getLanguages): make const
8777
8778         * MenuBackend.C (binding): returns the binding associated to this
8779           action
8780           (add): sets the status of each item by calling getStatus. Adds
8781           some intelligence.
8782           (read): add support for OptSubMenu
8783           (expand): remove extra separator at the end of expanded menu
8784
8785 2003-02-15  John Levon  <levon@movementarian.org>
8786
8787         * BufferView.C:
8788         * BufferView_pimpl.C:
8789         * bufferlist.h:
8790         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8791           inset code that had no actual effect. Remove unneeded status
8792           code.
8793
8794 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8797           in preamble
8798
8799 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8800
8801         * text.C (drawLengthMarker): also draw an arrow marker for
8802           symbolic lengths (medskip...)
8803
8804 2003-02-14  John Levon  <levon@movementarian.org>
8805
8806         * tabular.h:
8807         * tabular.C: better method names
8808
8809 2003-02-14  John Levon  <levon@movementarian.org>
8810
8811         * BufferView_pimpl.C:
8812         * bufferlist.C:
8813         * buffer.C:
8814         * converter.C:
8815         * lyx_cb.C:
8816         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8817           it's a more accurate name. Remove some pointless uses.
8818
8819 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8820
8821         * text2.C (LyXText): change order of initilizers to shut off
8822           warnings
8823
8824 2003-02-14  John Levon  <levon@movementarian.org>
8825
8826         * buffer.C: use ParIterator for getParFromID()
8827
8828         * paragraph.h:
8829         * paragraph.C:
8830         * paragraph_pimpl.h:
8831         * paragraph_pimpl.C: remove unused getParFromID()
8832
8833 2003-02-14  John Levon  <levon@movementarian.org>
8834
8835         * buffer.C: remove some very old #if 0'd parse code
8836
8837 2003-02-13  John Levon  <levon@movementarian.org>
8838
8839         * text.h:
8840         * text.C:
8841         * text2.C: move hfillExpansion(), numberOfSeparators(),
8842           rowLast(), rowLastPrintable(), numberofHfills(),
8843           numberOfLabelHfills() ...
8844
8845         * lyxrow.h:
8846         * lyxrow.C: ... to member functions here.
8847
8848         * paragraph.h:
8849         * paragraph.C:
8850         * lyxtext.h:
8851         * text.C: remove LyXText::beginningOfMainBody(), and call
8852           p->beginningOfMainBody() directly. Move the check for
8853           LABEL_MANUAL into the latter.
8854
8855         * text.h:
8856         * text.C:
8857         * text2.C:
8858         * vspace.C:
8859         * BufferView.h:
8860         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8861
8862         * text.h:
8863         * text.C:
8864         * text2.C:
8865         * text3.C:
8866         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8867           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8868
8869 2003-02-13  John Levon  <levon@movementarian.org>
8870
8871         * CutAndPaste.C: remove debug
8872
8873 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8874
8875         * paragraph.C (asString): remove two unused variables
8876
8877         * lyxtextclass.C (readTitleType):
8878           (Read):
8879           (LyXTextClass): handle new members titletype_ and titlename_
8880
8881         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8882
8883 2003-02-09  John Levon  <levon@movementarian.org>
8884
8885         * buffer.h:
8886         * buffer.C: replace hand-coded list with a map for the dep clean
8887
8888 2003-02-08  John Levon  <levon@movementarian.org>
8889
8890         * LaTeX.C: consolidate code into showRunMessage() helper
8891
8892 2003-02-08  John Levon  <levon@movementarian.org>
8893
8894         * lyxfind.C:
8895         * lyxtext.h:
8896         * text2.C:
8897         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8898           and pass the size in explicitly
8899
8900         * BufferView_pimpl.h:
8901         * BufferView_pimpl.C:
8902         * BufferView.h:
8903         * BufferView.C: add getCurrentChange()
8904
8905         * BufferView_pimpl.h:
8906         * BufferView_pimpl.C: handle change lfuns
8907
8908         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8909           for changes. Mark pasted paragraphs as new.
8910
8911         * support/lyxtime.h:
8912         * support/lyxtime.C:
8913         * DepTable.C: abstract time_t as lyx::time_type
8914
8915         * LColor.h:
8916         * LColor.C: add colours for new text, deleted text, changebars
8917
8918         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8919           package use "usenames" option.
8920
8921         * commandtags.h:
8922         * lyxfunc.C:
8923         * LyXAction.C: add change lfuns
8924
8925         * Makefile.am:
8926         * author.h:
8927         * author.C: author handling
8928
8929         * buffer.h:
8930         * buffer.C: add a per-buffer author list, with first entry as
8931           current author. Handle new .lyx tokens for change tracking. Output
8932           author list to .lyx file. Output dvipost stuff to .tex preamble.
8933           Bump lyx format to 222.
8934
8935         * bufferlist.h:
8936         * bufferlist.C: add setCurrentAuthor() to reset current author details
8937           in all buffers.
8938
8939         * bufferparams.h:
8940         * bufferparams.C: add param for tracking
8941
8942         * bufferview_funcs.C: output change info in minibuffer
8943
8944         * Makefile.am:
8945         * changes.h:
8946         * changes.C: add change-tracking structure
8947
8948         * debug.h:
8949         * debug.C: add CHANGES debug flag
8950
8951         * lyxfind.h:
8952         * lyxfind.C: add code for finding the next change piece
8953
8954         * lyxrc.h:
8955         * lyxrc.C: add user_name and user_email
8956
8957         * lyxrow.h:
8958         * lyxrow.C: add a metric for the top of the text line
8959
8960         * lyxtext.h:
8961         * text.C: implement accept/rejectChange()
8962
8963         * lyxtext.h:
8964         * text.C: paint changebars. Paint new/deleted text in the chosen
8965         colours. Strike through deleted text.
8966
8967         * paragraph.h:
8968         * paragraph.C:
8969         * paragraph_pimpl.h:
8970         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8971           in the current change to the insert functions. Rework erase to
8972           mark text as deleted, adding an eraseIntern() and a range-based
8973           erase(). Implement per-paragraph change lookup and
8974           accept/reject.
8975
8976         * paragraph_funcs.C: Fixup paste for change tracking.
8977
8978         * tabular.C: mark added row/columns as new.
8979
8980         * text.C: fix rowLast() to never return -1. Don't allow
8981           spellchecking of deleted text. Track transpose changes. Don't
8982           allow paragraph break or merge where appropriate.
8983
8984         * text2.C: leave cursor at end of selection after a cut.
8985
8986 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8987
8988         * text.C (getLengthMarkerHeight):
8989         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8990         visible on screen too.
8991
8992 2003-02-07  John Levon  <levon@movementarian.org>
8993
8994         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8995
8996 2003-02-05  Angus Leeming  <leeming@lyx.org>
8997
8998         * lyxserver.C (read_ready): revert my patch of 11 September last year
8999         as it sends PC cpu through the roof. Presumably this means that
9000         the lyxserver will no longer run on an Alpha...
9001
9002 2003-01-30  Angus Leeming  <leeming@lyx.org>
9003
9004         * factory.C (createInset): create an InsetCommandParam of type "index"
9005         and use it to 'do the right thing'.
9006
9007         * text2.C (getStringToIndex): ensure that cursor position is always
9008         reset to the reset_cursor position.
9009
9010 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9011
9012         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9013         disabled.
9014
9015 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9016
9017         * bufferview.C:
9018         * lyxcb.C:
9019         * lyxfunc.C: Output messages with identical spelling, punctuation,
9020         and spaces
9021
9022 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9023
9024         * MenuBackend.C (expandFormats): List only viewable export formats
9025         in "View" menu
9026
9027         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9028         message
9029
9030         * lyxfunc.C (getStatus): Make sure that formats other than
9031         "fax" can also be disabled
9032
9033 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9034
9035         * text3.C (dispatch): put the lfuns that insert insets in 3
9036         groups, and call doInsertInset with appropriate arguments.
9037         (doInsertInset): new function, that creates an inset and inserts
9038         it according to some boolean parameters.
9039
9040 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9041
9042         * buffer.C (readFile): remember to pass on 'par' when calling
9043         readFile recursively.
9044
9045 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9046
9047         * MenuBackend.C (expandFormats): add "..." to import formats.
9048
9049 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9050
9051         * paragraph.C (asString): Remove XForms RTL hacks.
9052
9053 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9054         * buffer.C: fix typo
9055
9056 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9057
9058         * Makefile.am (LIBS): delete var
9059         (lyx_LDADD): add @LIBS@ here instead.
9060
9061 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9062
9063         * Clarify the meaning of "wheel mouse jump"
9064
9065 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9066
9067         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9068         tabular in a float
9069
9070 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9071
9072         * importer.C (Loaders): do not preallocate 3 elements in the
9073         vector, since one ends up with 6 elements otherwise
9074
9075 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9076
9077         * DepTable.C (write): write the file name as last element of the
9078         .dep file (because it may contain spaces)
9079         (read): read info in the right order
9080
9081 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9082
9083         * paragraph_pimpl.C (simpleTeXBlanks):
9084         (simpleTeXSpecialChars):
9085         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9086
9087         * tabular.C (latex): add some missing case statements. Reindent.
9088
9089         * MenuBackend.C (expandToc): remove unused variable.
9090
9091 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9092
9093         * LColor.C:
9094         * LaTeX.C:
9095         * LyXAction.C:
9096         * MenuBackend.C:
9097         * buffer.C:
9098         * exporter.C:
9099         * lyxfunc.C:
9100         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9101         and the like.
9102
9103 2003-01-05  John Levon  <levon@movementarian.org>
9104
9105         * BufferView.h:
9106         * BufferView.C: add getEncoding()
9107
9108         * kbsequence.h:
9109         * kbsequence.C: do not store last keypress
9110
9111         * lyxfunc.h:
9112         * lyxfunc.C: store last keypress here instead. Pass encoding
9113           to getISOEncoded()
9114
9115 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9116
9117         * lyx_main.C (init): remove annoying error message when following
9118         symbolic links (bug #780)
9119
9120 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9121
9122         * text.C (insertChar):
9123         * lyxrc.C (getDescription): remove extra spaces
9124
9125 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9126
9127         * lyxrc.C (getDescription): remove extra spaces
9128
9129 2002-12-20  John Levon  <levon@movementarian.org>
9130
9131         * text3.C: hack fix for page up/down across tall rows
9132
9133 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9134
9135         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9136         not been invoked
9137
9138 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9139
9140         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9141         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9142         thesaurus is not compiled in
9143
9144 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9145
9146         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9147
9148 2002-12-16  Angus Leeming  <leeming@lyx.org>
9149
9150         * lyxrc.[Ch]:
9151         * lyx_main.C (init): remove override_x_deadkeys stuff.
9152
9153 2002-12-12  John Levon  <levon@movementarian.org>
9154
9155         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9156           insert. Only remove shift modifier under strict
9157           circumstances.
9158
9159 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9160
9161         * MenuBackend.C (expandToc): fix crash.
9162
9163 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * MenuBackend.C (expandToc): gettext on float names.
9166
9167 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9168
9169         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9170         implement bool empty() [bug 490]
9171
9172 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9173
9174         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9175
9176 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9177
9178         * several files: ws changes
9179
9180 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9181
9182         * text2.C (setCounter): clean up a bit, use boost.format.
9183         (updateCounters): initialize par upon declaration.
9184
9185         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9186         if the layout exists. We do not just store the layout any more.
9187         (SwitchLayoutsBetweenClasses): use boost.format
9188
9189 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9190
9191         * converter.C (convert): if from and to files are the same, use a
9192         temporary files as intermediary
9193
9194 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9195
9196         * commandtags.h:
9197         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9198
9199 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9200
9201         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9202
9203 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9204
9205         * tabular.C (asciiPrintCell): use string(size, char) instead of
9206         explicit loop.
9207
9208         * sgml.C (openTag): fix order of arguments to string constructor
9209         (closeTag): ditto
9210
9211         * lyxfunc.C (dispatch): use boost.format
9212
9213         * lots of files: change "c" -> 'c'
9214
9215 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9216
9217         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9218
9219 2002-11-25  Angus Leeming  <leeming@lyx.org>
9220
9221         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9222
9223         * lyx_main.C (init): compile fix.
9224
9225 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9226
9227         * lyx_cb.C (start): boost.formatify
9228         do not include <iostream>
9229
9230         * lengthcommon.C: ws only
9231
9232         * boost-inst.C,BoostFormat.h: add more explict instantations
9233
9234 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * lots of files: handle USE_BOOST_FORMAT
9237
9238 2002-11-21  John Levon  <levon@movementarian.org>
9239
9240         * pspell.C: fix compile
9241
9242 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9243
9244         * lyxfunc.C (dispatch): use boost::format
9245         (open): ditto
9246         (doImport): ditto
9247
9248         * lyxfont.C (stateText): use boost::format
9249
9250         * lyx_main.C (LyX): use boost::format
9251         (init): ditto
9252         (queryUserLyXDir): ditto
9253         (readRcFile): ditto
9254         (parse_dbg): ditto
9255         (typedef boost::function): use the recommened syntax.
9256
9257         * importer.C (Import): use boost::format
9258
9259         * debug.C (showLevel): use boost::format
9260
9261         * converter.C (view): use boost::format
9262         (convert): ditto
9263         (move): ditto
9264         (scanLog): ditto
9265
9266         * bufferview_funcs.C (currentState): use boost::format
9267
9268         * bufferlist.C (emergencyWrite): use boost::format
9269
9270         * buffer.C (readLyXformat2): use boost::format
9271         (parseSingleLyXformat2Token): ditto
9272
9273         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9274
9275         * LaTeX.C (run): use boost::format
9276
9277         * Chktex.C (scanLogFile): use boost::format
9278
9279         * BufferView_pimpl.C (savePosition): use boost::format
9280         (restorePosition): ditto
9281         (MenuInsertLyXFile): ditto
9282
9283         * BoostFormat.h: help file for explicit instation.
9284
9285 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9286
9287         * tabular.C (latex): Support for block alignment in fixed width
9288         columns.
9289
9290 2002-11-17  John Levon  <levon@movementarian.org>
9291
9292         * BufferView_pimpl.C:
9293         * lyx_cb.C:
9294         * lyxfunc.C: split filedialog into open/save
9295
9296 2002-11-08  Juergen Vigna  <jug@sad.it>
9297
9298         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9299         by my last patch (hopefully).
9300
9301 2002-11-08  John Levon  <levon@movementarian.org>
9302
9303         * iterators.h:
9304         * iterators.C:
9305         * buffer.h:
9306         * buffer.C:
9307         * paragraph.h:
9308         * paragraph.C:
9309         * toc.h:
9310         * toc.C: ParConstIterator, and use it (from Lars)
9311
9312 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9313
9314         * lyxtextclass.[Ch]: revise and add doxygen comments
9315
9316 2002-11-07  John Levon  <levon@movementarian.org>
9317
9318         * text.C: fix progress value for spellchecker
9319
9320         * toc.C: fix navigate menu for insetwrap inside minipage
9321
9322         * paragraph_funcs.C: added FIXME for suspect code
9323
9324 2002-11-07  John Levon  <levon@movementarian.org>
9325
9326         * BufferView_pimpl.C: fix redrawing of insets
9327           on buffer switch
9328
9329 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9330
9331         * text2.C (updateCounters): fix bug 668
9332
9333 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9334
9335         * text3.C (dispatch): Do not make the buffer dirty when moving the
9336         cursor.
9337
9338 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9339
9340         * vc-backend.C: STRCONV
9341         (scanMaster): ditto
9342
9343         * text2.C (setCounter): STRCONV
9344
9345         * paragraph.C (asString): STRCONV
9346
9347         * lyxlength.C (asString): STRCONV
9348         (asLatexString): ditto
9349
9350         * lyxgluelength.C (asString): STRCONV
9351         (asLatexString): ditto
9352
9353         * lyxfunc.C (dispatch): STRCONV
9354         (open): ditto
9355
9356         * lyxfont.C (stateText): STRCONV
9357
9358         * importer.C (Import): STRCONV
9359
9360         * counters.C (labelItem): STRCONV
9361         (numberLabel): ditto
9362         (numberLabel): remove unused ostringstream o
9363
9364         * chset.C: STRCONV
9365         (loadFile): ditto
9366
9367         * bufferview_funcs.C (currentState): STRCONV
9368
9369         * buffer.C (readFile): STRCONV
9370         (asciiParagraph): ditto
9371         (makeLaTeXFile): ditto
9372
9373         * Spacing.C (writeEnvirBegin): STRCONV
9374
9375         * LaTeXFeatures.C (getLanguages): STRCONV
9376         (getPackages): ditto
9377         (getMacros): ditto
9378         (getBabelOptions): ditto
9379         (getTClassPreamble): ditto
9380         (getLyXSGMLEntities): ditto
9381         (getIncludedFiles): ditto
9382
9383         * LaTeX.C: STRCONV
9384         (run): ditto
9385         (scanAuxFile): ditto
9386         (deplog): ditto
9387
9388         * LString.h: add the STRCONV macros
9389
9390         * BufferView_pimpl.C (savePosition): STRCONV
9391         (restorePosition): ditto
9392         (MenuInsertLyXFile): ditto
9393
9394         * vc-backend.C (scanMaster): change from submatch[...] to
9395         submatch.str(...)
9396
9397         * funcrequest.C: include config.h
9398
9399         * factory.C: include config.h
9400
9401         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9402
9403         * box.C: include config.h
9404
9405         * LaTeX.C (scanAuxFile): change from submatch[...] to
9406         submatch.str(...)
9407         (deplog): ditto
9408
9409 2002-10-25  Angus Leeming  <leeming@lyx.org>
9410
9411         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9412
9413         * ispell.[Ch] (setError): new method.
9414         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9415         Use setError() insetead of goto END.
9416
9417         * lyx_cb.C (AutoSave): move out child process into new class
9418         AutoSaveBuffer.
9419
9420 2002-10-30  John Levon  <levon@movementarian.org>
9421
9422         * text3.C: make start appendix undoable
9423
9424 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9425
9426         * lyxlength.C (inPixels): Fix returned value.
9427
9428         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9429         environment.
9430
9431 2002-10-24  Angus Leeming  <leeming@lyx.org>
9432
9433         * lyxgluelength.h: no need to forward declare BufferParams
9434         or BufferView, so don't.
9435
9436 2002-10-21  John Levon  <levon@movementarian.org>
9437
9438         * BufferView.C: menuUndo ->undo, redo
9439
9440         * BufferView.h: document, remove dead, make some methods private
9441
9442         * paragraph_funcs.h:
9443         * paragraph_funcs.C:
9444         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9445
9446         * buffer.h:
9447         * buffer.C:
9448         * sgml.h:
9449         * sgml.C: move sgml open/close tag into sgml.C
9450
9451         * bufferview_funcs.h: unused prototype
9452
9453         * lyxfunc.h:
9454         * lyxfunc.C: remove unused
9455
9456         * lyxtext.h:
9457         * text.C: remove unused
9458
9459 2002-10-21  John Levon  <levon@movementarian.org>
9460
9461         * BufferView.h:
9462         * BufferView.C:
9463         * BufferView_pimpl.h:
9464         * BufferView_pimpl.C: fix mouse wheel handling based on
9465           patch from Darren Freeman
9466
9467 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9468
9469         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9470
9471 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9472
9473         * lyxlength.C (inPixels): Fix hanfling of negative length.
9474         Fix LyXLength::MU case.
9475
9476 2002-10-16  John Levon  <levon@movementarian.org>
9477
9478         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9479
9480 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9481
9482         * converter.C (view): add support for $$i (file name) and $$p
9483         (file path) for the viewer command. If $$i is not specified, then
9484         it is appended to the command (for compatibility with old syntax)
9485
9486 2002-10-14  Juergen Vigna  <jug@sad.it>
9487
9488         * undo_funcs.C (textHandleUndo): alter the order in which the
9489         new undopar is added to the LyXText, as we have to set first
9490         the right prev/next and then add it as otherwise the rebuild of
9491         LyXText is not correct. Also reset the cursor to the right paragraph,
9492         with this IMO we could remove the hack in "redoParagraphs()".
9493
9494 2002-10-09  Angus Leeming  <leeming@lyx.org>
9495
9496         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9497         to turn off an optimisation if a new inset is to be inserted.
9498
9499 2002-10-11 André Pönitz <poenitz@gmx.net>
9500
9501         * lyxtext.h: make some functions public to allow access
9502         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9503
9504 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9505
9506         * text3.C (dispatch): when changing layout, avoid an infinite loop
9507         [bug #652]
9508
9509 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9510
9511         * lyxrc.C (read): treat a viewer or converter command of "none" as
9512         if it were empty.
9513
9514         * MenuBackend.C (expandFormats): for an update, also allow the
9515         formats that are not viewable
9516
9517         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9518         script if it is newer than the lyxrc.defaults in user directory
9519
9520 2002-10-07 André Pönitz <poenitz@gmx.net>
9521
9522         * text.C: Vitaly Lipatov's small i18n fix
9523
9524 2002-09-25  Angus Leeming  <leeming@lyx.org>
9525
9526         * ispell.h: doxygen fix.
9527
9528 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9529
9530         * buffer.h (readFile): Add a new argument to the method, to allow
9531         reading of old-format templates.
9532
9533 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9534
9535         * toc.C (getTocList): Get TOC from InsetWrap.
9536
9537 2002-09-16  John Levon  <levon@movementarian.org>
9538
9539         * lyxfunc.C: check tabular for cut/copy too
9540
9541 2002-09-12  John Levon  <levon@movementarian.org>
9542
9543         * LyXAction.C: tidy
9544
9545         * factory.h:
9546         * factory.C: add header
9547
9548         * paragraph_funcs.h:
9549         * paragraph_funcs.C: cleanup
9550
9551 2002-09-11  John Levon  <levon@movementarian.org>
9552
9553         * PrinterParams.h: odd/even default to true
9554
9555 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9556
9557         * PrinterParams.h: update printer parameters for new xforms dialog
9558
9559 2002-09-11  Angus Leeming  <leeming@lyx.org>
9560
9561         * lyxserver.C (read_ready): re-write to make it more transparent
9562         and to make it work in coherent fashion under Tru64 Unix.
9563
9564 2002-09-11  André Pönitz <poenitz@gmx.net>
9565
9566         * commandtags.h:
9567         * LyXAction.C:
9568         * text3.C: implement LFUN_WORDSEL
9569
9570 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9571
9572         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9573         make floatlist_ a boost::shared_ptr<FloatList>
9574
9575         * lyxtextclass.C: include FloatList.h
9576         (LyXTextClass): initialize floatlist_
9577         (TextClassTags): add TC_NOFLOAT
9578         (Read): match "nofloat" to TC_NOFLOAT and use it.
9579         (readFloat): modify call to floatlist_
9580         (floats): ditto
9581         (floats): ditto
9582
9583         * FloatList.[Ch] (FloatList): remove commented out float
9584         initialization.
9585         (erase): new function
9586
9587 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9588
9589         * MenuBackend.C (expandToc): fix crash when there is no document
9590         open
9591
9592 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9593
9594         * many files: Add insetwrap.
9595
9596 2002-09-09  John Levon  <levon@movementarian.org>
9597
9598         * text2.C: remove confusing and awkward depth wraparound
9599
9600 2002-09-09  John Levon  <levon@movementarian.org>
9601
9602         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9603
9604         * buffer.h:
9605         * buffer.C: remove getIncludeonlyList()
9606
9607         * paragraph.C:
9608         * lyxfunc.C: remove headers
9609
9610 2002-09-09  Juergen Vigna  <jug@sad.it>
9611
9612         * text.C (getColumnNearX): fix form Michael this is most
9613         probably a cut&paste bug.
9614
9615 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9616
9617         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9618
9619         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9620         references, ws changes.
9621
9622         * text2.C (init): update counters after init
9623         (insertParagraph): no need to set counter on idividual paragraphs.
9624         (setCounter): access the counters object in the textclass object
9625         on in the buffer object.
9626         (updateCounters): ditto
9627
9628         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9629         shared_ptr<Counters> to avoid loading counters.h in all
9630         compilation units.
9631         (LyXTextClass): initialize ctrs_
9632         (TextClassTags): add TC_COUNTER, and ...
9633         (Read): use it here.
9634         (CounterTags): new tags
9635         (readCounter): new function
9636         (counters): new funtion
9637         (defaultLayoutName): return a const reference
9638
9639         * counters.C (Counters): remove contructor
9640         (newCounter): remove a couple of unneeded statements.
9641         (newCounter): simplify a bit.
9642         (numberLabel): some small formatting changes.
9643
9644         * buffer.[Ch]: remove all traces of counters, move the Counters
9645         object to the LyXTextClass.
9646
9647 2002-09-06  Alain Castera  <castera@in2p3.fr>
9648
9649         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9650         package to set the horizontal alignment on fixed width columns.
9651
9652         * lyx_sty.C:
9653         * lyx_sty.h: added tabularnewline macro def.
9654
9655         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9656
9657 2002-09-06  John Levon  <levon@movementarian.org>
9658
9659         * LyXAction.C: tooltips for sub/superscript
9660
9661         * MenuBackend.C: a bit more verbose
9662
9663         * lyxfunc.C: tiny clean
9664
9665         * undo_funcs.C: document undo_frozen
9666
9667 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9668
9669         * counters.C (Counters): add missing algorithm counter.
9670
9671         * text2.C (setCounter): lookup the counter with layouts latexname
9672         instead of by section number.
9673         (setCounter): use a hackish way to lookup the correct enum
9674         counter.
9675         a float name->type change
9676         reset enum couners with counter name directly instead of depth value.
9677
9678         * counters.C (Counters): remove the push_backs, change to use the
9679         float type not the float name.
9680         (labelItem): remove unused string, float name->type change
9681
9682         * counters.h: don't include vector, loose the enums and sects vectors
9683
9684 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9685
9686         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9687         (Read): add float->TC_FLOAT to textclassTags
9688         (Read): and handle it in the switch
9689         (readFloat): new function
9690
9691         * FloatList.C (FloatList): comment out the hardcoded float
9692         definitions.
9693
9694         * lyxlayout.h: ws change.
9695
9696 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9697
9698         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9699
9700 2002-09-03  Angus Leeming  <leeming@lyx.org>
9701
9702         * BufferView_pimpl.h: qualified name is not allowed in member
9703         declaration: WorkArea & Pimpl::workarea() const;
9704
9705         * factory.C: added using std::endl directive.
9706
9707         * text3.C: added using std::find and std::vector directives.
9708
9709 2002-08-29  André Pönitz <poenitz@gmx.net>
9710
9711         * lyxtext.h:
9712         * text2.C: remove unused member number_of_rows
9713
9714         * Makefile.am:
9715         * BufferView2.C: remove file, move contents to...
9716         * BufferView.C: ... here
9717
9718         * BufferView_pimpl.C:
9719         * factory.C: move more inset creation to factory
9720
9721         * vspace.C: avoid direct usage of LyXText, ws changes
9722
9723         * BufferView.[Ch]:
9724                 don't provide direct access to WorkArea, use two simple
9725                 acessors haveSelction() and workHeight() instead
9726
9727
9728 2002-08-29  John Levon  <levon@movementarian.org>
9729
9730         * BufferView_pimpl.C (dispatch): do not continue when
9731           no buffer
9732
9733 2002-08-28  André Pönitz <poenitz@gmx.net>
9734
9735         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9736
9737         * BufferView.h:
9738         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9739
9740 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9741
9742         * buffer.C: increment LYX_FORMAT to 221
9743
9744         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9745         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9746
9747         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9748
9749         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9750
9751 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9752
9753         * factory.C (createInset): use LyXTextClass::floats
9754
9755         * MenuBackend.C (expandFloatListInsert):
9756         (expandFloatInsert):
9757         (expandToc):
9758
9759         * text2.C (setCounter):
9760
9761         * LaTeXFeatures.C (useFloat):
9762         (getFloatDefinitions):
9763
9764         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9765
9766         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9767         floatlist_, with accessor floats().
9768
9769         * FloatList.h: remove global FloatList
9770
9771 2002-08-26  André Pönitz <poenitz@gmx.net>
9772
9773         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9774
9775         * BufferView.h:
9776         * BufferView2.C:
9777         * BufferView_pimpl.C:
9778         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9779
9780 2002-08-25  John Levon  <levon@movementarian.org>
9781
9782         * LyXAction.C: fix margin note description
9783
9784 2002-08-24  John Levon  <levon@movementarian.org>
9785
9786         * buffer.C:
9787         * bufferlist.C:
9788         * bufferview_funcs.C:
9789         * lyxfont.C:
9790         * undo_funcs.C: cleanups
9791
9792         * lyxfunc.C: disable CUT/COPY when no selection
9793
9794 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9795
9796         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9797         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9798
9799         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9800         Add backward compatibility to "mono", "gray" and "no".
9801
9802 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9803
9804         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9805         (and file_format >= 200).
9806
9807 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9810
9811 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9814
9815 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9816
9817         * BufferView_pimpl.C:
9818         * LyXAction.C:
9819         * buffer.C:
9820         * commandtags.h:
9821         * lyxfunc.C:
9822         * paragraph.[Ch]:
9823         * text2.C:
9824         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9825         inset and code to make it  work with the paragraph code. The inset
9826         can be anywhere in the paragraph, but will only do the expected
9827         thing in LaTeX if the layout file contains the parameter line
9828                         OptionalArgs    1
9829         (or more generally, a nonzero value) for that layout.
9830
9831 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * paragraph.h: remove the declaration of undefined counters class
9834         function.
9835
9836 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9837
9838         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9839         Dr. Richard Hawkins.
9840
9841 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9842
9843         * paragraph_funcs.h: remove some unneeded includes
9844
9845         * text.C (backspace): pasteParagraph now in global scipe
9846
9847         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9848         (pasteSelection): ditto
9849
9850         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9851         * paragraph_funcs.C (pasteParagraph): ... here
9852
9853 2002-08-20  André Pönitz <poenitz@gmx.net>
9854
9855         * commandtags.h: new LFUNs for swapping/copying table row/colums
9856
9857         * LyXAction.C:
9858         * lyxfunc.C: support for new lfuns
9859
9860 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * tabular.C:
9863         * buffer.[Ch]: remove NO_COMPABILITY stuff
9864
9865 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9866
9867         * boost.C (throw_exception): new file, with helper function for
9868         boost compiled without exceptions.
9869
9870         * paragraph.h:
9871         * lyxlength.C:
9872         * buffer.C:
9873         * ParameterStruct.h:
9874         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9875
9876         * bufferlist.C (emergencyWriteAll): use boost bind
9877
9878         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9879
9880         * text.C: include paragraph_funcs.h
9881         (breakParagraph): breakParagraph is now in global scope
9882
9883         * paragraph_funcs.[Ch]: new files
9884
9885         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9886         global scope
9887
9888         * buffer.C: include paragraph_funcs.h
9889         (insertStringAsLines): breakParagraph is now in global scope
9890
9891         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9892         paragraph_funcs.C
9893
9894         * CutAndPaste.C: include paragraph_funcs.h
9895         (cutSelection): breakParagraphConservative is now in global scope
9896         (pasteSelection): ditto
9897
9898         * buffer.h: declare oprator== and operator!= for
9899         Buffer::inset_iterator
9900
9901         * bufferlist.C (emergencyWrite): don't use fmt(...)
9902
9903         * text3.C: add using std::endl
9904
9905         * BufferView.C (moveCursorUpdate): remove default arg
9906
9907 2002-08-20  André Pönitz <poenitz@gmx.net>
9908
9909         * buffer.[Ch]: move inline functions to .C
9910
9911         * BufferView2.C:
9912         * BufferView_pimpl.C:
9913         * text.C:
9914         * buffer.[Ch]: use improved inset_iterator
9915
9916         * buffer.C:
9917         * paragraph.[Ch]: write one paragraph at a time
9918
9919 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9920
9921         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9922         style if style is not specified.
9923
9924 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9925
9926         * text2.C (setCounter): when searching for right label for a
9927         caption, make sure to recurse to parent insets (so that a caption
9928         in a minipage in a figure float works) (bug #568)
9929
9930 2002-08-20  André Pönitz <poenitz@gmx.net>
9931
9932         * text3.C: new file for LyXText::dispatch() and helpers
9933
9934         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9935
9936         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9937
9938 2002-08-19  André Pönitz <poenitz@gmx.net>
9939
9940         * lyxtext.h:
9941         * text.C: new LyXText::dispatch()
9942
9943         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9944
9945 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9946
9947         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9948
9949         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9950         Hebrew text.
9951
9952 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9953
9954         * Makefile.am: use $(variables) instead of @substitutions@
9955
9956 2002-08-15  André Pönitz <poenitz@gmx.net>
9957
9958         * lyxfunc.C:
9959         * BufferView_pimpl.C: streamlining mathed <-> outer world
9960         interaction
9961
9962         * commandtags.h:
9963         * LyXAction.C: remove unused LFUN_MATH
9964
9965 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9966
9967         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9968
9969 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9970
9971         * paragraph.C (Paragraph): reformat a bit
9972         (cutIntoMinibuffer): use builtin InsetList function instad of
9973         doing it manually.
9974         (getInset): ditto
9975
9976         * buffer.C: include boost/bind.hpp, add using std::for_each
9977         (writeFileAscii): use ParagraphList iterators
9978         (validate): use for_each for validate traversal of paragraphs
9979         (getBibkeyList): use ParagraphList iterators
9980         (resizeInsets): use for_each to resizeInsetsLyXText for all
9981         paragraphs.
9982         (getParFromID): use ParagraphList iterators
9983
9984         * BufferView2.C (lockInset): use paragraph list and iterators
9985
9986 2002-08-14  John Levon  <levon@movementarian.org>
9987
9988         * lyxserver.C: remove spurious xforms include
9989
9990 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9991
9992         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9993
9994 2002-08-13  André Pönitz <poenitz@gmx.net>
9995
9996         * LyXAction.[Ch]:
9997         * lyxfunc.C: further cleaning
9998
9999 2002-08-13  André Pönitz <poenitz@gmx.net>
10000
10001         * funcrequest.h: new constructor
10002
10003         * funcrequest.C: move stuff here from .h
10004
10005         * Makefile.am:
10006         * BufferView_pimpl.C:
10007         * LyXAction.C:
10008         * toc.C:
10009         * lyxfunc.C: subsequent changes
10010
10011         * lyxfunc.h: new view() member function
10012
10013         * lyxfunc.C: subsequent changes
10014
10015 2002-08-13  Angus Leeming  <leeming@lyx.org>
10016
10017         * BufferView2.C:
10018         * BufferView_pimpl.C:
10019         * buffer.C:
10020         * converter.C:
10021         * importer.C:
10022         * lyxfunc.C:
10023         * lyxvc.C:
10024         * toc.C:
10025         * vc-backend.C:
10026         changes due to the changed LyXView interface that now returns references
10027         to member variables not pointers.
10028
10029 2002-08-13  Angus Leeming  <leeming@lyx.org>
10030
10031         * WordLangTuple (word, lang_code): return references to strings,
10032         not strings.
10033
10034         * BufferView.h:
10035         * SpellBase.h:
10036         * lyxtext.h: forward-declare WordLangTuple.
10037
10038         * BufferView2.C:
10039         * ispell.C:
10040         * pspell.C:
10041         * text.C: #include "WordLangTuple.h".
10042
10043         * lyxtext.h:
10044         * text.C: (selectNextWordToSpellcheck): constify return type.
10045
10046 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10047
10048         * buffer.C:
10049         * buffer.h:
10050         * lyxtext.h:
10051         * paragraph.C:
10052         * paragraph_pimpl.h:
10053         * text.C:
10054         * text2.C:
10055         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10056         suggested by Angus.
10057         Made updateCounter always count from start of buffer, and removed
10058         second argument (par).
10059         Reverted floats number display to '#'. Perhaps I'll try again when the
10060         code base is sanitized a bit.
10061
10062 2002-08-12  Angus Leeming  <leeming@lyx.org>
10063
10064         * buffer.[Ch] (getLabelList): constify.
10065
10066 2002-08-07  André Pönitz <poenitz@gmx.net>
10067
10068         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10069
10070         * funcrequest.h: extension to keep mouse (x,y) position
10071
10072 2002-08-12  Juergen Vigna  <jug@sad.it>
10073
10074         * BufferView2.C (insertErrors): forbid undo when inserting error
10075         insets.
10076
10077         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10078
10079 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10080
10081         * ParagraphList.[Ch]: new files
10082
10083         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10084
10085         * BufferView2.C (lockInset): ParagraphList changes
10086         * toc.C: ditto
10087         * text2.C: ditto
10088         * bufferlist.C: ditto
10089         * buffer.h: ditto
10090         * buffer.C: ditto
10091
10092 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10093
10094         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10095         unused class variable counter_,
10096
10097         * paragraph.[Ch] (getFirstCounter): delete unused function
10098
10099         * counters.C: include LAssert.h
10100         (reset): add a new function with no arg, change other version to
10101         not have def. arg and to not allow empty arg.
10102
10103         * text2.C (setCounter): remove empty arg from call to Counters::reset
10104
10105 2002-08-11  John Levon  <levon@movementarian.org>
10106
10107         * Makefile.am: add WordLangTuple.h
10108
10109 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10110
10111         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10112         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10113
10114         * insets/insettext.C: InsetList changes
10115
10116         * graphics/GraphicsSupport.C (operator()): InsetList changes
10117
10118         * toc.C (getTocList): InsetList changes
10119
10120         * paragraph_pimpl.[Ch]: InsetList changes
10121
10122         * paragraph.[Ch]: InsetList changes
10123
10124         * buffer.C (inset_iterator): InsetList changes
10125         (setParagraph): ditto
10126         * buffer.h (inset_iterator): ditto
10127         * iterators.C (operator++): ditto
10128         * iterators.h: ditto
10129
10130         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10131
10132         * InsetList.[Ch]: new files, most InsetList handling moved out of
10133         paragraph.C.
10134
10135         * BufferView2.C (removeAutoInsets): InsetList changes
10136         (lockInset): ditto
10137         (ChangeInsets): ditto
10138
10139 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10140
10141         * paragraph_pimpl.h (empty): new function
10142
10143         * paragraph.[Ch] (empty): new function
10144
10145         * other files: use the new Paragraph::empty function
10146
10147 2002-08-09  John Levon  <levon@movementarian.org>
10148
10149         * lyxtext.h: remove unused refresh_height
10150
10151 2002-08-09  John Levon  <levon@movementarian.org>
10152
10153         * Makefile.am:
10154         * sgml.h:
10155         * sgml.C:
10156         * buffer.C:
10157         * paragraph.h:
10158         * paragraph.C: move sgml char escaping out of paragraph
10159
10160         * paragraph.h:
10161         * paragraph.C: remove id setter
10162
10163         * buffer.C:
10164         * paragraph.C:
10165         * paragraph_pimpl.C: remove dead tex_code_break_column
10166
10167         * bufferview_funcs.C: small cleanup
10168
10169         * lyxfunc.C: remove dead proto
10170
10171         * lyxtext.h: make some stuff private. Remove some dead stuff.
10172
10173         * lyxgluelength.C: make as[LyX]String() readable
10174
10175 2002-08-08  John Levon  <levon@movementarian.org>
10176
10177         * LyXAction.h:
10178         * LyXAction.C:
10179         * MenuBackend.C:
10180         * ToolbarDefaults.C:
10181         * lyxfunc.C:
10182         * lyxrc.C:
10183         * toc.C: lyxaction cleanup
10184
10185 2002-08-08  John Levon  <levon@movementarian.org>
10186
10187         * BufferView2.C: small cleanup
10188
10189         * lyxfind.h:
10190         * lyxfind.C: move unnecessary header into the .C
10191
10192 2002-08-08  John Levon  <levon@movementarian.org>
10193
10194         * funcrequest.h: just tedious nonsense
10195
10196         * lyx_main.h:
10197         * lyx_main.C: cleanups
10198
10199         * buffer.C:
10200         * vspace.C: remove dead header lyx_main.h
10201
10202 2002-08-07  Angus Leeming  <leeming@lyx.org>
10203
10204         * Paragraph.[Ch]:
10205         * paragraph_pimpl.h:
10206         Forward declare class Counters in paragraph.h by moving the ctrs member
10207         variable into Paragraph::Pimpl.
10208         (counters): new method, returning a reference to pimpl_->ctrs.
10209
10210         * text2.C: ensuing changes.
10211
10212 2002-08-07  John Levon  <levon@movementarian.org>
10213
10214         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10215
10216         * BufferView_pimpl.C: announce X selection on double/triple
10217           click
10218
10219         * lyx_main.C: use correct bool in batch dispatch
10220
10221         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10222
10223 2002-08-07  André Pönitz <poenitz@gmx.net>
10224
10225         * funcrequest.h: new class to wrap a kb_action and its argument
10226
10227         * BufferView.[Ch]:
10228         * BufferView_pimpl[Ch]:
10229         * LaTeX.C:
10230         * LyXAction.[Ch]:
10231         * lyxfunc.[Ch]:
10232         * lyxrc.C: subsequent changes
10233
10234
10235 2002-08-07  John Levon  <levon@movementarian.org>
10236
10237         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10238           document options change.
10239
10240 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10241
10242         * counters.[Ch]
10243         * text2.C
10244         * paragraph.[Ch]
10245         * makefile.am: move counters functionality over from
10246         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10247
10248 2002-08-06  John Levon  <levon@movementarian.org>
10249
10250         * WordLangTuple.h: new file for word + language code tuple
10251
10252         * SpellBase.h:
10253         * pspell.h:
10254         * pspell.C:
10255         * ispell.h:
10256         * ispell.C:
10257         * lyxtext.h:
10258         * text.C:
10259         * text2.C:
10260         * BufferView.h:
10261         * BufferView2.C: use WordLangTuple
10262
10263         * layout.h:
10264         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10265
10266 2002-08-06  John Levon  <levon@movementarian.org>
10267
10268         * lyx_main.C: fix cmdline batch handling
10269
10270 2002-08-06  André Pönitz <poenitz@gmx.net>
10271
10272         * lyxrc.C: set default for show_banner to true
10273
10274 2002-08-06  John Levon  <levon@movementarian.org>
10275
10276         * pspell.C: fix a crash, and allow new aspell to work
10277
10278 2002-08-06  John Levon  <levon@movementarian.org>
10279
10280         * lyxfunc.C:
10281         * kbmap.C: small cleanup
10282
10283         * vspace.h:
10284         * vspace.C: add const
10285
10286 2002-08-05  John Levon  <levon@movementarian.org>
10287
10288         * LyXAction.C: back to tabular-insert
10289
10290 2002-08-04  John Levon  <levon@movementarian.org>
10291
10292         * BufferView.h:
10293         * BufferView.C: cosmetic change
10294
10295         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10296
10297         * bufferlist.C:
10298         * buffer.h:
10299         * buffer.C:
10300         * lyxcb.h:
10301         * lyxcb.C:
10302         * lyxserver.C:
10303         * lyxvc.C:
10304         * vc-backend.C:
10305         * BufferView2.C: purge all "Lyx" not "LyX" strings
10306
10307         * lyxcursor.h:
10308         * lyxcursor.C: attempt to add some documentation
10309
10310         * lyxfunc.C:
10311         * commandtags.h:
10312         * LyXAction.C:
10313         * ToolbarDefaults.C:
10314         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10315           merge with LFUN_TABULAR_INSERT
10316
10317         * Makefile.am:
10318         * SpellBase.h:
10319         * ispell.h:
10320         * ispell.C:
10321         * pspell.h:
10322         * pspell.C: split up i/pspell implementations into separate
10323           files, many cleanups
10324
10325         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10326
10327         * text2.C: some cleanup
10328
10329         * lyxfunc.C: don't check for isp_command == "none" any more, it
10330           didn't make any sense
10331
10332 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10333
10334         * counters.[Ch]
10335         * text2.C
10336         * paragraph.[Ch]
10337         * makefile.am: move counters functionality over
10338         from text2.C/paragraph.[Ch] to counters.[Ch], and
10339         make proper C++.
10340 2002-08-02  John Levon  <levon@movementarian.org>
10341
10342         * buffer.C: s/lyxconvert/lyx2lyx/
10343
10344 2002-08-02  Angus Leeming  <leeming@lyx.org>
10345
10346         * lyxlex.C: revert John's change as it breaks reading of the user
10347         preamble.
10348
10349 2002-08-02  Angus Leeming  <leeming@lyx.org>
10350
10351         * importer.C (Import):
10352         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10353         changes due to LyXView::view() now returning a boost::shared_ptr.
10354
10355 2002-08-02  John Levon  <levon@movementarian.org>
10356
10357         * lyxlex.C: small cleanup
10358
10359 2002-08-02  John Levon  <levon@movementarian.org>
10360
10361         * text2.C (status): small cleanup, no logic change
10362
10363 2002-08-01  John Levon  <levon@movementarian.org>
10364
10365         * buffer.h:
10366         * buffer.C (writeFile): don't output alerts, caller
10367           handles this
10368
10369         * bufferlist.C:
10370         * lyx_cb.C: from above
10371
10372         * lyxfunc.C: allow to open non-existent files
10373
10374 2002-07-31  John Levon  <levon@movementarian.org>
10375
10376         * lyxserver.C: don't let incidental errors get
10377           in the way (errno)
10378
10379 2002-07-30  John Levon  <levon@movementarian.org>
10380
10381         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10382
10383 2002-07-30  John Levon  <levon@movementarian.org>
10384
10385         * lyxserver.h:
10386         * lyxserver.C: remove I/O callback too
10387
10388 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10389
10390         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10391         log.
10392
10393 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * many files: strip,frontStrip -> trim,ltrim,rtrim
10396
10397 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10398
10399         * PrinterParams.h: remove extern containsOnly, and include
10400         support/lstrings.h instead.
10401
10402         * LaTeX.C (scanAuxFile): modify because of strip changes
10403         (deplog): ditto
10404         * buffer.C (makeLaTeXFile): ditto
10405         * bufferparams.C (writeFile): ditt
10406         * lyxfont.C (stateText): ditto
10407         * lyxserver.C (read_ready): ditto
10408         * vc-backend.C (scanMaster): ditto
10409
10410         * BufferView_pimpl.h: ws changes
10411
10412         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10413
10414 2002-07-26  André Pönitz <poenitz@gmx.net>
10415
10416         * kb_sequence.C: remove unnedred usings
10417
10418 2002-07-26  Juergen Vigna  <jug@sad.it>
10419
10420         * lyxfind.C (LyXReplace): we have to check better if the returned
10421         text is not of theLockingInset()->getLockingInset().
10422
10423 2002-07-25  Juergen Vigna  <jug@sad.it>
10424
10425         * lyxfind.C (LyXReplace): don't replace if we don't get the
10426         right LyXText.
10427
10428         * undo_funcs.C (createUndo): remove debugging code.
10429
10430 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10431
10432         * buffer.C (parseSingleLyXformat2Token): Use default placement
10433         when reading old floats.
10434
10435         * FloatList.C (FloatList): Change the default placement of figure
10436         and tables to "tbp".
10437
10438 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10439
10440         * MenuBackend.C: using std::max
10441
10442 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * MenuBackend.C (expandToc):
10445         (expandToc2): code moved from xforms menu frontend. It is now
10446         generic and TOCs are transparent to menu frontends.
10447
10448 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10449
10450         * toc.C (getTocList): protect against buf=0
10451
10452         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10453         Menu as first parameter. Now, this calls itself recursively to
10454         expand a whole tree (this will be useful for TOC handling)
10455         (expandFloatInsert): remove 'wide' version of floats
10456
10457         * MenuBackend.h (submenuname): returns the name of the submenu.
10458         (submenu): returns the submenu itself, provided it has been
10459         created by MenuBackend::expand
10460
10461 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10462
10463         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10464         insets which have noFontChange == true. (bug #172)
10465
10466 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10467
10468         * BufferView_pimpl.C: add connection objects and use them...
10469         (Pimpl): here.
10470
10471 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10472
10473         * MenuBackend.C (expandLastfiles):
10474         (expandDocuments):
10475         (expandFormats):
10476         (expandFloatListInsert):
10477         (expandFloatInsert):
10478         (expand): split expand in parts
10479
10480 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10481
10482         * lyx_gui.C: use lyx_gui::exit()
10483
10484 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * LyXAction.C: show the failing pseudo action
10487
10488 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10489
10490         * buffer.C (readFile): Run the lyxconvert script in order to read
10491         old files.
10492
10493 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * LyXAction.C:
10496         * commandtags.h:
10497         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10498
10499 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * LyXAction.C:
10502         * commandtags.h:
10503         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10504
10505 2002-07-22  Herbert Voss  <voss@lyx.org>
10506
10507         * lengthcommon.C:
10508         * lyxlength.[Ch]: add support for the vertical lengths
10509
10510 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * toc.[Ch]: std:: fixes
10513
10514 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * lyxrc.C: do not include lyx_main.h
10517
10518         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10519         for layouts
10520
10521         * lyxrc.C:
10522         * encoding.C:
10523         * bufferlist.C:
10524         * BufferView2.C: include "lyxlex.h"
10525
10526         * tabular.h:
10527         * bufferparams.h: do not #include "lyxlex.h"
10528
10529         * lyxtextclasslist.C (Add): remove method
10530         (classlist): renamed to classlist_
10531
10532         * paragraph_pimpl.C:
10533         * paragraph.C:
10534         * text2.C:
10535         * CutAndPaste.C:
10536         * bufferview_funcs.C:
10537         * bufferlist.C:
10538         * text.C:
10539         * LaTeXFeatures.C:
10540         * buffer.C:
10541         * toc.C (getTocList): use BufferParams::getLyXTextClass
10542
10543         * toc.C (getTocList): use InsetFloat::addToToc
10544
10545         * toc.[Ch]: new files, containing helper functions to handle table
10546         of contents
10547
10548         * lyxfunc.C (dispatch): no need to remove spaces around command
10549         given as a string
10550         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10551         first command of the sequence; it is not very clever, but I do not
10552         have a better idea, actually
10553
10554         * LyXAction.C (LookupFunc): make sure to remove space at the
10555         beginning and end of the command
10556
10557 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * MenuBackend.C (getMenubar): new method: return the menubar of
10560         this menu set
10561         (read): treat differently reading of menu and menubar (in
10562         particular, the menubar has no name now)
10563         (Menu::menubar): remove
10564
10565         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10566         saving is finished
10567
10568 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10569
10570         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10571         a bibitem inset in a RTL paragraph.
10572
10573 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10574
10575         * paragraph_pimpl.C: constify
10576
10577         * BufferView_pimpl.C:
10578         * LaTeX.C:
10579         * lyxfunc.C: fix dispatch in a nicer way
10580
10581 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582
10583         * lyxfunc.C (dispatch):
10584         * BufferView_pimpl.C:
10585         * BufferView_pimpl.h:
10586         * BufferView.C:
10587         * BufferView.h: rename Dispatch() to dispatch()
10588
10589         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10590
10591         * lyxlayout.C (Read): honor DependsOn tag
10592
10593         * lyxlayout.[Ch] (depends_on): new method
10594
10595         * version.C.in: update lyx_docversion
10596
10597         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10598
10599         * paragraph.C (validate): remove from here...
10600         * paragraph_pimpl.C (validate): ... and move here
10601         (isTextAt): make it const
10602
10603         * buffer.C (getLists): ws cleanup
10604
10605 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10606
10607         * language.C (read): Use iso8859-1 encoding in latex_lang
10608         (this prevents LyX from crashing when using iso10646-1 encoding).
10609
10610 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10611
10612         * text2.C (toggleInset): if cursor is inside an inset, close the
10613         inset and leave cursor _after_ it
10614
10615 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * lyxfunc.C: move minibuffer completion handling out of here
10618
10619 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10620
10621         * BufferView_pimpl.C:
10622         * LaTeX.C: fix dispatch calls
10623
10624 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10625
10626         * text.C (drawChars): Fix Arabic text rendering.
10627
10628 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * LyXAction.C:
10631         * commandtags.h:
10632         * lyxfunc.C: remove message-push/pop
10633
10634         * lyxserver.C:
10635         * lyxfunc.h:
10636         * lyxfunc.C: rationalise some code by removing verboseDispatch
10637           in favour of a bool argument to dispatch()
10638
10639 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10640
10641         * lyx_main.C (init): make sure to read symlinks as absolute paths
10642
10643 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * lyxfunc.h:
10646         * lyxfunc.C: no need for commandshortcut to be a member
10647
10648 2002-07-15  André Pönitz <poenitz@gmx.net>
10649
10650         * converter.C: add support for $$s (scripts from lib/scripts dir)
10651         * lyx_main.C: white space
10652
10653 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * bufferlist.C:
10656         * lyxrc.h:
10657         * lyxrc.C: remove second exit confirmation
10658
10659 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * BufferView.h:
10662         * BufferView.C:
10663         * BufferView2.C:
10664         * BufferView_pimpl.h:
10665         * BufferView_pimpl.C:
10666         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10667
10668 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * MenuBackend.C (expand): add numeric shortcuts to document menu
10671
10672         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10673
10674 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * lyxfont.C (setLyXFamily):
10677         (setLyXSeries):
10678         (setLyXShape):
10679         (setLyXSize):
10680         (setLyXMisc):
10681         (lyxRead):
10682         * debug.C (value):
10683         * buffer.C (asciiParagraph): use ascii_lowercase
10684
10685 2002-07-15  Mike Fabian  <mfabian@suse.de>
10686
10687         * lyxlex_pimpl.C (search_kw):
10688         * lyxlex.C (getLongString):
10689         * converter.h (operator<):
10690         * converter.C (operator<):
10691         * buffer.C (parseSingleLyXformat2Token):
10692         (asciiParagraph):
10693         * ToolbarDefaults.C (read):
10694         * MenuBackend.C (checkShortcuts):
10695         (read):
10696         * LColor.C (getFromGUIName):
10697         (getFromLyXName): use the compare_ascii_no_case instead of
10698         compare_no_case, because in turkish, 'i' is not the lowercase
10699         version of 'I', and thus turkish locale breaks parsing of tags.
10700
10701 2002-07-16  Angus Leeming  <leeming@lyx.org>
10702
10703         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10704         now takes a Buffer const & argument.
10705
10706 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * BufferView.C (resize): check there's a buffer to resize
10709
10710 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * lyxfunc.C: remove dead code
10713
10714         * lyxserver.h:
10715         * lyxserver.C: use lyx_guii::set_read_callback
10716
10717 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10718
10719         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10720         an inset in a RTL paragraph.
10721
10722 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10723
10724         * lyxfunc.C: repaint after a font size update
10725
10726 2002-07-15  André Pönitz <poenitz@gmx.net>
10727
10728         * lyxlength.C: inBP should be able to return negative values
10729
10730 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * lyxfunc.C: use lyx_gui::update_fonts()
10733
10734 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * lyxfunc.C: use lyx_gui::update_color()
10737
10738 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * bufferlist.C:
10741         * lyxfunc.h:
10742         * lyxfunc.C:
10743         * lyxrc.h:
10744         * lyxrc.C: remove file->new asks for name option, and let
10745           buffer-new take an argument
10746
10747 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * BufferView_pimpl.C: remove unneeded extra repaint()
10750
10751 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10752
10753         * LyXAction.C: allow command-sequence with NoBuffer
10754
10755         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10756
10757 2002-07-10  Angus Leeming  <leeming@lyx.org>
10758
10759         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10760
10761 2002-07-09  Angus Leeming  <leeming@lyx.org>
10762
10763         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10764
10765 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * lengthcommon.h: whitespace
10768
10769         * lyxfunc.C: update scrollbar after goto paragraph
10770
10771         * lyxtext.h: factor out page break drawing, and fix it so
10772           page break/added space paints as selected nicely
10773
10774 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * BufferView_pimpl.C: add FIXMEs, clean up a little
10777
10778 2002-07-09  André Pönitz <poenitz@gmx.net>
10779
10780         * lyxfont.[Ch]: support for wasy symbols
10781
10782 2002-07-08  André Pönitz <poenitz@gmx.net>
10783
10784         * BufferView_pimpl.C: apply John's patch for #93.
10785
10786 2002-07-05  Angus Leeming  <leeming@lyx.org>
10787
10788         * BufferView_pimpl.C (buffer): generate previews if desired.
10789
10790         * LColor.h: add "preview" to the color enum.
10791
10792         * LColor.C (LColor): add a corresponding entry to the items array.
10793
10794         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10795         with this buffer.
10796
10797 2002-07-05  Angus Leeming  <leeming@lyx.org>
10798
10799         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10800         The body of the code is now in the method that is passed an ostream &
10801         rather than a file name.
10802         Pass an additional only_preamble parameter, useful for the forthcoming
10803         preview stuff.
10804
10805 2002-07-03  André Pönitz <poenitz@gmx.net>
10806
10807         * lyxfunc.C: simplify getStatus() a bit for math stuff
10808
10809 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10810
10811         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10812
10813 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * text.C (changeRegionCase): do not change case of all the
10816         document when region ends at paragraph end (bug #461)
10817
10818 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10819
10820         * paragraph.C (startTeXParParams):
10821         (endTeXParParams): add \protect when necessary
10822
10823 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10824
10825         * BufferView_pimpl.C (workAreaExpose): remove warning
10826
10827 2002-06-27  Angus Leeming  <leeming@lyx.org>
10828
10829         * Makefile.am: add lyxlayout_ptr_fwd.h.
10830
10831 2002-06-26  André Pönitz <poenitz@gmx.net>
10832
10833         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10834
10835 2002-06-25  Angus Leeming  <leeming@lyx.org>
10836
10837         * lyxfunc.C (dispatch): Comment out the call to
10838         grfx::GCache::changeDisplay. The method no longer exists now that the
10839         pixmap generation part of the graphics loader has been moved into
10840         InsetGraphics.
10841
10842 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * text2.C: layout as layout
10845
10846         * text.C: layout as layout
10847
10848         * tabular.C (OldFormatRead): layout as layout
10849
10850         * paragraph_pimpl.C (TeXDeeper): layout as layout
10851         (realizeFont): layout as layout
10852
10853         * paragraph.C (writeFile): layout as layout
10854         (validate): layout as layout
10855         (getFont): layout as layout
10856         (getLabelFont): layout as layout
10857         (getLayoutFont): layout as layout
10858         (breakParagraph): layout as layout
10859         (stripLeadingSpaces): layout as layout
10860         (getEndLabel): layout as layout
10861         (getMaxDepthAfter): layout as layout
10862         (applyLayout): layout as layout
10863         (TeXOnePar): layout as layout
10864         (simpleTeXOnePar): layout as layout
10865         (TeXEnvironment): layout as layout
10866         (layout): layout as layout
10867         (layout): layout as layout
10868
10869         * lyxtextclass.C (compare_name): new functor to work with
10870         shared_ptr, layout as layout
10871         (Read): layout as layout
10872         (hasLayout): layout as layout
10873         (operator): layout as layout
10874         (delete_layout): layout as layout
10875         (defaultLayout): layout as layout
10876
10877         * lyxlayout_ptr_fwd.h: new file
10878
10879         * lyxlayout.C (Read): layout as layout
10880
10881         * lyx_cb.C (MenuInsertLabel): layout as layout
10882
10883         * bufferlist.C (newFile): layout as layout
10884
10885         * buffer.C (readLyXformat2): layout as layout
10886         (parseSingleLyXformat2Token): layout as layout
10887         (insertStringAsLines): layout as layout
10888         (asciiParagraph): layout as layout
10889         (latexParagraphs): layout as layout
10890         (makeLinuxDocFile): layout as layout
10891         (simpleLinuxDocOnePar): layout as layout
10892         (makeDocBookFile): layout as layout
10893         (simpleDocBookOnePar): layout as layout
10894         (getLists): layout as layout
10895
10896         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10897
10898         * CutAndPaste.C (cutSelection): layout as layout
10899         (pasteSelection): layout as layout
10900         (SwitchLayoutsBetweenClasses): layout as layout
10901
10902         * BufferView_pimpl.C (Dispatch): layout as layout
10903         (smartQuote): layout as layout
10904
10905         * BufferView2.C (unlockInset): layout as layout
10906
10907 2002-06-24  André Pönitz <poenitz@gmx.net>
10908
10909         * lyxfunc.C: fix #487
10910
10911 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * lyxrc.h:
10914         * lyxrc.C:
10915         * lyxfunc.C: remove display_shortcuts, show_banner
10916
10917 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * Buffer_pimpl.C: oops, update on resize
10920
10921 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * buffer.C:
10924         * converter.C:
10925         * exporter.C:
10926         * lyxfunc.C:
10927         * BufferView.h:
10928         * BufferView.C: use repaint()
10929
10930         * BufferView_pimpl.h:
10931         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10932           as it's a clearer description. Remove superfluous
10933           redraws.
10934
10935 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * text.C: fix bug 488. Not ideal, but getting
10938           getWord() to work properly for the insets that
10939           matter is more difficult ...
10940
10941 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * BufferView_pimpl.C:
10944         * LyXAction.C:
10945         * commandtags.h:
10946         * lyxfunc.C: remove the six million index lyxfuncs to just
10947           one, and DTRT (bug 458)
10948
10949 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * BufferView.h:
10952         * BufferView.C:
10953         * BufferView_pimpl.h:
10954         * BufferView_pimpl.C: clean up resize() stuff,
10955           and unnecessary updateScreen()s
10956
10957 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * BufferView.h:
10960         * BufferView.C:
10961         * BufferView_pimpl.h:
10962         * BufferView_pimpl.C:
10963         * lyxfind.h:
10964         * lyxfind.C:
10965         * minibuffer.C: remove focus management of workarea,
10966           not needed. Use screen's greyOut()
10967
10968 2002-06-17  Herbert Voss  <voss@lyx.org>
10969
10970         * converter.C: (convert) do not post a message, when converting
10971         fails, let the calling function decide what to do in this case
10972
10973 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * lyxfunc.C: tidy up a little
10976
10977 2002-06-16    <alstrup@diku.dk>
10978
10979         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10980         Got rid of FORMS_H_LOCATION include. Now we are
10981         GUII.
10982
10983 2002-06-15  LyX Development team  <lyx@rilke>
10984
10985         * buffer.[Ch] (sgmlOpenTag):
10986         (sgmlCloseTag): Added support for avoiding pernicious mixed
10987         content. Return number of lines written.
10988
10989         (makeLinuxDocFile):
10990         (makeDocBookFile): Fixed calls to sgml*Tag.
10991         Simple white space clean.
10992
10993         (simpleDocBookOnePar): Simple white space clean.
10994
10995         * tabular.[Ch] (docBook): Renamed to docbook and got another
10996         argument to related with the pernicious mixed content.
10997
10998         (docbookRow): Fixed calls for docbook inset method.
10999
11000 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11001
11002         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11003         so it's X11 independent.
11004
11005         * kb*.[Ch]: ditto.
11006
11007         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11008
11009 2002-06-15  Lyx Development team  <lyx@electronia>
11010
11011         * intl.h: Renamed getTrans to getTransManager.
11012
11013 2002-06-14  Angus Leeming  <leeming@lyx.org>
11014
11015         * Makefile.am: nuke forgotten stl_string_fwd.h.
11016
11017 2002-06-12  Angus Leeming  <leeming@lyx.org>
11018
11019         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11020
11021 2002-06-13  Angus Leeming  <leeming@lyx.org>
11022
11023         * LaTeX.C:
11024         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11025
11026 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11027
11028         * kbmap.C (getiso): add support for cyrillic and greek
11029
11030 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11031
11032         * BufferView.h:
11033         * BufferView.C:
11034         * BufferView_pimpl.h:
11035         * BufferView_pimpl.C: move bogus scrolling logic
11036           to xforms
11037
11038 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * lyxfunc.C:
11041         * BufferView_pimpl.C: view->resize() change
11042
11043 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11044
11045         * BufferView_pimpl.C: topCursorVisible
11046           prototype change
11047
11048 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * Makefile.am:
11051         * lyx_gui.h:
11052         * lyx_gui.C: move to frontends/
11053
11054         * main.C:
11055         * lyx_main.h:
11056         * lyx_main.C: changes from above
11057
11058 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * intl.C:
11061         * intl.h:
11062         * kbmap.C:
11063         * kbsequence.C:
11064         * lyx_cb.C:
11065         * lyx_main.C: minor tidy
11066
11067 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11068
11069         * BufferView_pimpl.h:
11070         * BufferView_pimpl.C:
11071         * BufferView.h:
11072         * BufferView.C: make painter() const,
11073           remove dead code
11074
11075         * BufferView2.C: use screen() accessor
11076
11077         * lyx_main.h:
11078         * lyx_main.C: some minor cleanup
11079
11080 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * BufferView_pimpl.h:
11083         * BufferView_pimpl.C: remove enter/leaveView,
11084           use workHeight()
11085
11086 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11087
11088         * BufferView.h:
11089         * BufferView.C:
11090         * BufferView2.C:
11091         * BufferView_pimpl.h:
11092         * BufferView_pimpl.C: only construct screen once,
11093           rename
11094
11095         * lyxrc.C: remove pointless comment
11096
11097 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * BufferView.h:
11100         * BufferView.C: remove active() and belowMouse()
11101
11102         * BufferView_pimpl.h:
11103         * BufferView_pimpl.C: use workarea() not workarea_,
11104           and make it use a scoped_ptr instead
11105
11106 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * lyx_gui.C: add debug message on BadWindow
11109
11110 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11111
11112         * sp_spell.C: fdopen is not part of the C++ standard.
11113
11114         * paragraph.C (InsetIterator): use >= instead of ==
11115
11116 2002-06-07  Angus Leeming  <leeming@lyx.org>
11117
11118         Fixes needed to compile with Compaq cxx 6.5.
11119         * BufferView_pimpl.C:
11120         * DepTable.C:
11121         * buffer.C:
11122         * converter.C:
11123         * encoding.C:
11124         * lyx_gui.C:
11125         * lyx_main.C:
11126         * lyxtextclasslist.C:
11127         * minibuffer.C:
11128         * sp_spell.C:
11129         * tabular_funcs.C:
11130         * vc-backend.C:
11131         all c-library variables have been moved into namespace std. Wrap
11132         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11133
11134         * lyxlength.C:
11135         * tabular-old.C:
11136         * tabular.C:
11137         Add a using std::abs declaration.
11138
11139         * kbmap.h (modifier_pair):
11140         * paragraph.h (InsetTable, InsetList):
11141         * lyxfont.h (FontBits):
11142         type definition made public.
11143
11144         * bufferlist.C (emergencyWriteAll): the compiler complains that
11145         there is more than one possible lyx::class_fun template to choose from.
11146         I re-named the void specialisation as lyx::void_class_fun.
11147
11148         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11149
11150         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11151         the compiler is is unable to find tostr in write_attribute.
11152
11153 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11154
11155         * buffer.C (sgmlError): hide #warning
11156
11157 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11158
11159         * xtl/*: get rid of xtl, which is not in use anyway
11160
11161         * LyXAction.C (init):
11162         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11163         were unimplemented xtl experimentation
11164
11165 2002-06-04  André Pönitz <poenitz@gmx.net>
11166
11167         * lyxfunc.C: disable array operation on simple formulae
11168
11169 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * converter.C: constify a bit
11172
11173 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * lyx_gui.C: check xforms version correctly
11176
11177 2002-04-30  Herbert Voss  <voss@lyx.org>
11178
11179         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11180         "keep" option
11181
11182 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11183
11184         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11185           attempt to register it with a VCS)
11186
11187 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * lyx_main.C (init): honor variables LYX_DIR_13x and
11190         LYX_USERDIR_13x
11191
11192 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * buffer.h:
11195         * buffer.C:
11196         * lyx_main.C: fix a crash on bad command line,
11197           and give a useful exit status on error
11198
11199         * lyxfunc.C (doImport): allow -i lyx to work
11200
11201 2002-03-30  André Pönitz <poenitz@gmx.net>
11202
11203         * lyxfunc.C: mathed font changes
11204
11205 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11206
11207         * LaTeX.C:
11208         * importer.h:
11209         * importer.C:
11210         * lyx_sty.h:
11211         * lyx_sty.C:
11212         * lyxlex.C:
11213         * lyxrow.h:
11214         * lyxtext.h:
11215         * paragraph.h:
11216         * paragraph.C:
11217         * texrow.h:
11218         * texrow.C:
11219         * text.C:
11220         * trans_mgr.h: srcdocs, and some minor cleanups
11221
11222 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11223
11224         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11225         call getFont all the time)
11226
11227 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * switch from SigC signals to boost::signals
11230
11231 2002-05-29  André Pönitz <poenitz@gmx.net>
11232
11233         * paragraph_pimpl.C (getChar): don't call size() too often...
11234
11235 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11236
11237         * paragraph_pimpl.C (insertChar): do not try to update tables when
11238         appending (pos == size())
11239
11240         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11241         in order to reduce drastically the number of comparisons needed to
11242         parse a large document
11243
11244 2002-05-29  André Pönitz <poenitz@gmx.net>
11245
11246         * text.C:
11247         * text2.C:
11248         * lyxtextclass.C:
11249         * sp_pspell.h:
11250         * textclasslist.[Ch]:
11251         * sp_ispell.h: whitespace change
11252
11253 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11254
11255         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11256         lyxaction directly now.
11257
11258 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * trans.C:
11261         * lyxfont.C:
11262         * lyxvc.C: remove unused headers
11263
11264 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * Makefile.am:
11267         * buffer.h:
11268         * undostack.h:
11269         * undostack.C:
11270         * undo_funcs.h:
11271         * undo_funcs.C: some cleanups. Use shared_ptr
11272           and a template for the undo stacks.
11273
11274 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * BufferView_pimpl.h:
11277         * BufferView_pimpl.C:
11278         * kbmap.h:
11279         * kbmap.C:
11280         * kbsequence.h:
11281         * kbsequence.C:
11282         * lyxfunc.h:
11283         * lyxfunc.C:
11284         * text2.C: use key_state/mouse_state
11285
11286 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11289         and LSubstring
11290
11291         * chset.C: change include order
11292         (loadFile): use boost regex and get rid of LRegex and LSubstring
11293
11294         * Makefile.am (BOOST_LIBS): new variable
11295         (lyx_LDADD): use it
11296
11297         * LaTeX.C: change include order.
11298         (scanAuxFile): use boost regex and get rid of LRegex and
11299         LSubstring
11300         (deplog): ditto
11301
11302 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11303
11304         * ColorHandler.h:
11305         * ColorHandler.C:
11306         * FontInfo.h:
11307         * FontInfo.C: moved to frontends/xforms/
11308
11309         * FontLoader.h:
11310         * FontLoader.C: moved into frontends for GUIIzation
11311
11312         * Makefile.am:
11313         * lyx_gui.C:
11314         * lyxfont.C:
11315         * lyxfunc.C: changes from above
11316
11317 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * LColor.C: remove spurious X include
11320
11321         * BufferView_pimpl.C:
11322         * Makefile.am:
11323         * font.h:
11324         * font.C:
11325         * text.C:
11326         * text2.C: move font metrics to frontends/
11327
11328 2002-05-24  Juergen Vigna  <jug@sad.it>
11329
11330         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11331         setting the undo_cursor.
11332
11333         * ParagraphParameters.h: include local includes first.
11334
11335 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * BufferView_pimpl.C:
11338         * BufferView_pimpl.h:
11339         * Makefile.am:
11340         * WorkArea.h:
11341         * WorkArea.C:
11342         * screen.C: move WorkArea into frontends/
11343
11344         * lyxscreen.h:
11345         * screen.C:
11346         * text.C:
11347         * BufferView.C:
11348         * BufferView2.C: move LyXScreen into frontends/
11349
11350         * lyxlookup.h:
11351         * lyxlookup.C:
11352         * lyx_gui.C: move lyxlookup into frontends/xforms/
11353
11354 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11355
11356         * BufferView2.C:
11357         * BufferView_pimpl.C:
11358         * FontLoader.C:
11359         * LyXView.h:
11360         * LyXView.C:
11361         * Makefile.am:
11362         * WorkArea.C:
11363         * XFormsView.h:
11364         * XFormsView.C:
11365         * buffer.C:
11366         * bufferlist.C:
11367         * bufferview_funcs.C:
11368         * converter.C:
11369         * importer.C:
11370         * lyx_cb.C:
11371         * lyx_gui.C:
11372         * lyx_main.C:
11373         * lyx_find.C:
11374         * lyxfunc.C:
11375         * lyxvc.C:
11376         * minibuffer.C:
11377         * text.C:
11378         * text2.C:
11379         * trans.C:
11380         * vc-backend.C: move LyX/XFormsView into frontends/
11381
11382 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * Makefile.am:
11385         * PainterBase.C:
11386         * PainterBase.h:
11387         * Painter.C:
11388         * Painter.h:
11389         * WorkArea.C:
11390         * WorkArea.h:
11391         * screen.C:
11392         * tabular.C:
11393         * text.C:
11394         * text2.C: move Painter to frontends/
11395
11396 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * buffer.C: comment out some some code that depend upon lyx_format
11399         < 220
11400
11401         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11402         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11403
11404         * buffer.h (NO_COMPABILITY): turn off compability
11405
11406         * ColorHandler.C: include scoped_array.hpp
11407
11408         * font.C: Use more specific smart_ptr header.
11409         * Painter.C: ditto
11410         * gettext.C: ditto
11411         * ShareContainer.h: ditto
11412         * lyx_main.h: ditto
11413         * kbmap.h: ditto
11414         * FontInfo.h: ditto
11415         * BufferView_pimpl.h: ditto
11416         * ColorHandler.h: ditto
11417
11418         * kbmap.C (defkey): change call to shared_ptr::reset
11419
11420 2002-05-21  Juergen Vigna  <jug@sad.it>
11421
11422         * buffer.C (insertErtContents): fix to insert ert asis if it is
11423         non empty. Skip it completely if it contains only whitespaces.
11424
11425 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * BufferView_pimpl.C:
11428         * BufferView2.C: clear selection on paste (bug 393)
11429
11430 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11431
11432         * DepTable.C: include ctime
11433
11434 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11435
11436         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11437
11438 2002-05-14  Juergen Vigna  <jug@sad.it>
11439
11440         * text.C (breakParagraph): fixed function to honor the keepempty
11441         layout in the right maner and also to permit the right breaking
11442         algorithm on empty or non empyt keepempty paragraphs.
11443
11444         * paragraph.C (breakParagraph): we have to check also if the par
11445         is really empty (!size()) for isempty otherwise we do the wrong
11446         paragraph break.
11447
11448 2002-05-10  Juergen Vigna  <jug@sad.it>
11449
11450         * buffer.[Ch] : The following are only changes to the ert
11451         compatibility read reading old LaTeX layout and font stuff and
11452         convert it to ERTInsets.
11453
11454         * buffer.h: added isErtInset().
11455
11456         * buffer.C (struct ErtComp): add a fromlayout bool to check
11457         if we're inside a LaTeX layout.
11458         (isErtInset): new helper function.
11459         (insertErtContents): look for other ert insets before this one
11460         and insert the contents there, so that we don't have subsequent
11461         ERT insets with nothing between them. This way we create only one
11462         inset with multiple paragraphs. Also check if we don't insert only
11463         spaces ' ' as they are ignored anyway afterwards in the .tex file
11464         so if we have only spaces we will ignore this latex part in the
11465         new file.
11466         (parseSingleLyXformat2Token \\layout): better compatibility when
11467         reading layout-latex stuff.
11468         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11469         language tag.
11470         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11471         stuff after reading the inset only get the information back from
11472         the stack.
11473
11474 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11475
11476         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11477
11478         * LaTeXFeatures.C (getBabelOptions): New method.
11479
11480 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11481
11482         * BufferView_pimpl.C (Dispatch): work around missing argument for
11483         'layout'
11484
11485 2002-05-08  Juergen Vigna  <jug@sad.it>
11486
11487         * text.C (leftMargin): handle paragraph leftindent.
11488
11489         * paragraph.C (writeFile): write the new \\leftindent tag.
11490         (validate): handle leftindent code.
11491         (TeXEnvironment): handle paragraphleftindent code again.
11492
11493         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11494
11495         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11496         for paragrap_extra indent code and new token \\leftindent.
11497         (latexParagraphs): handle the leftindent as environment.
11498
11499         * ParameterStruct.h: added leftindent support.
11500
11501         * ParagraphParameters.C (leftIndent): added support functions for
11502         the paragraph left indent.
11503
11504         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11505         more appropriate.
11506
11507 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11508
11509         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11510         inside insetERT.
11511
11512         * text.C (computeBidiTables): No bidi in insetERT.
11513
11514         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11515         in RTL documents.
11516
11517 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * version.C.in: pre 5
11520
11521 2002-05-02  José Matos  <jamatos@fep.up.pt>
11522         * buffer.C (makeDocBookFile): white space changes, add newline to
11523         command styles.
11524         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11525
11526         * tabular.C (docBook): fix typo.
11527
11528 2002-05-03  Juergen Vigna  <jug@sad.it>
11529
11530         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11531         change in LyXText as we can not be sure it was not freed.
11532         (drawOneRow): remove unused code.
11533
11534         * text.C (drawInset): redo the calculation of the need_break_row as
11535         it could have a row which was already freed.
11536         (draw): look at the return value of drawInset and return false if
11537         it also returned false.
11538         (paintRowText): look at the return value of draw and return false if
11539         it also returned false.
11540
11541         * lyxtext.h: added bool return type to drawInset() and draw() so that
11542         if we have a change in the row so that the rowbreak has to be redone
11543         we abort drawing as it will be called again.
11544
11545 2002-05-02  Juergen Vigna  <jug@sad.it>
11546
11547         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11548         a change in the maintext also if we're inside an inset.
11549         (Dispatch): set the cursor again after a break line and after the
11550         screen has been updated as it could be we're in a different row.
11551
11552         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11553         to set the cursor behind the pargraph with > size().
11554         (setCursor): check also for the same paragraph when checking where
11555         to put the cursor if we have a NFR inset.
11556
11557         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11558         parts of layout read further up as it still was in the wrong
11559         position.
11560
11561 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11562
11563         * screen.C (drawFromTo): change sine fullRebreak always return
11564         true.
11565
11566         * buffer.C (parseSingleLyXformat2Token): reindent some
11567
11568         * BufferView_pimpl.C (update): change since fullRebreak always
11569         return true.
11570         (Dispatch): git rid of the last hardcoded "Standard"s.
11571
11572 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11573
11574         * text2.[Ch] (fullRebreak): make it return void now that we always
11575         returned true.
11576
11577 2002-04-30  Juergen Vigna  <jug@sad.it>
11578
11579         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11580         ert compatibility check for "latex" layout.
11581
11582 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11583
11584         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11585         minipages: use col% instead of p%, and also use the current font.
11586         (makeLaTeXFile): Fix use babel condition.
11587         (parseSingleLyXformat2Token): Correct font when reading old floats.
11588
11589 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11592         inserting list of floats.
11593
11594 2002-04-25  Herbert Voss  <voss@lyx.org>
11595
11596         * MenuBackend.C (expand): don't add the graphics extensions to the
11597         export menu
11598
11599 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11600
11601         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11602         non-existing layout, do not complain if it was the default layout
11603         of the original class (bug #342)
11604
11605 2002-04-24  Juergen Vigna  <jug@sad.it>
11606
11607         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11608         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11609
11610 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11611
11612         * buffer.C (getBibkeyList): If using \bibliography, return the
11613         option field with the reference itself. Enables us to provide natbib
11614         support when using \bibliography.
11615
11616 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11617
11618         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11619
11620         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11621         natbib is provided by the LaTeX class.
11622
11623 2002-04-23  Juergen Vigna  <jug@sad.it>
11624
11625         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11626         Wakeup functions.
11627
11628         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11629
11630 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11631
11632         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11633
11634         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11635         ensuremath around textordmasculine, textordfeminine and
11636         textdegree.
11637
11638 2002-04-19  Juergen Vigna  <jug@sad.it>
11639
11640         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11641         reinitializing the buffer otherwise row-dimensions may be wrong.
11642         (update): reset also the selection cursors if they do exits otherwise
11643         their x/y positions may be wrong.
11644
11645         * text2.C (cursorDown): don't enter the inset if we came from a row
11646         above and are one row over the inset.
11647
11648         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11649         really leaving an inset.
11650
11651 2002-04-18  Juergen Vigna  <jug@sad.it>
11652
11653         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11654         of the selected paragraph does not have the selected layout also if
11655         the last one had!
11656
11657         * text2.C (setLayout): fixed bug which did not change last selected
11658         paragraph.
11659
11660         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11661         changed the read and substituted \\end_float with \\end_inset!
11662
11663         * BufferView_pimpl.C (cursorPrevious):
11664         (cursorNext): fixed to make it work with rows heigher than the work
11665         area without moving the cursor only the draw of the row.
11666         (workAreaMotionNotify): fix jumping over high rows.
11667
11668 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11671         Ressler.
11672
11673 2002-04-16  Juergen Vigna  <jug@sad.it>
11674
11675         * text2.C (setCursor): set also the irow().
11676         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11677         (cursorUp):
11678         (cursorDown): support for locking an inset if the x_fix value goes
11679         inside it. That way I can transverse insets too with cursor up/down.
11680
11681         * lyxrow.h: added irow helper function same as other (i) functions.
11682
11683         * BufferView_pimpl.C (cursorPrevious):
11684         (cursorNext): fixed for insets!
11685
11686 2002-04-15  Juergen Vigna  <jug@sad.it>
11687
11688         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11689         position otherwise it is wrong in some cases.
11690
11691         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11692         inside the inset before the call.
11693
11694 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11695
11696         * buffer.[Ch] (getBibkeyList): make it const.
11697
11698 2002-04-12  Juergen Vigna  <jug@sad.it>
11699
11700         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11701
11702         * text2.C (getCursorX): new helper function
11703         (setCursor): compute also ix_
11704         (setCursorFromCoordinates): set also ix.
11705
11706         * lyxcursor.h: added ix_ and helper functions.
11707
11708         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11709
11710         * buffer.C (insertStringAsLines): dont break paragraph if the this
11711         paragraph is inside an inset which does not permit it!
11712
11713         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11714         also with no chars on this paragraph.
11715         (paintRowText): only paint stuff if it's inside the workarea!
11716
11717         * paragraph.C (breakParagraph): honor keepempty flag and break the
11718         paragraph always below not above.
11719
11720         * BufferView2.C (unlockInset): update the paragraph layout on inset
11721         unlock as we changed paragraph in such a case.
11722
11723         * lyxfind.C (LyXFind): clear the former selection if not found!
11724
11725         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11726         again called in insertChar().
11727
11728         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11729         an inset which uses the whole row!
11730         (rightMargin): ditto.
11731         (insertChar): force a rebreak if we inserted an inset!
11732
11733 2002-03-28  Herbert Voss  <voss@lyx.org>
11734
11735         * lyxlength.[Ch]: add inBP() to get the right PS-point
11736         units (BigPoint). With inPixels we have rounding errors
11737
11738 2002-04-11  Juergen Vigna  <jug@sad.it>
11739
11740         * text2.C (setCursorFromCoordinates): set iy to the right value.
11741         (setCursor): add check if row->previous exists!
11742
11743         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11744         an old float_type as this was the case in the old code!
11745
11746         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11747
11748         * BufferView2.C (showLockedInsetCursor): use iy
11749         (fitLockedInsetCursor): ditto
11750
11751         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11752         locked insets as there we have the right value now.
11753
11754         * lyxcursor.C: added iy_ variable and iy functions to set to the
11755         baseline of cursor-y of the locked inset.
11756
11757         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11758         (setCursor): fixed for insets which need a full row.
11759
11760         * text.C (rowLastPrintable): don't ignore the last space when before
11761         an inset which needs a full row.
11762         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11763         as last character of a row when before a inset which needs a full row.
11764
11765 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11766
11767         * version.C.in: update date
11768
11769         * text2.C (fullRebreak): try to always return true and see what
11770         happens...
11771
11772 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * MenuBackend.C (expand): use Floating::listName
11775
11776         * FloatList.C (FloatList): add listName argument to the built-in
11777         floats
11778
11779         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11780         text associated with the float.
11781
11782 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11783
11784         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11785
11786 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11787
11788         * ShareContainer.h: add a couple of missing typenames.
11789
11790 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * lyxrc.C (getDescription): use _() correctly rather than N_().
11793
11794 2002-03-28  Herbert Voss  <voss@lyx.org>
11795
11796         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11797         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11798
11799 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11802         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11803
11804 2002-03-29  Juergen Vigna  <jug@sad.it>
11805
11806         * lyxfunc.C (dispatch): add a missing fitCursor call.
11807
11808         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11809         it was scrolled by a cursor move, so return the bool status.
11810
11811         * BufferView.C (fitCursor): return the bool flag also to the outside
11812         world as this is needed.
11813
11814         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11815
11816         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11817         call the edit() as it is not needed (and wrong) IMO.
11818         (workAreaButtonPress): set the screen_first variable before evt.
11819         unlock the inset as this may change screen_first and then we have
11820         a wrong y position for the click!
11821
11822 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11823
11824         * MenuBackend.C (expand): another translation that I missed
11825
11826 2002-03-28  Juergen Vigna  <jug@sad.it>
11827
11828         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11829
11830         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11831
11832 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11835
11836         * MenuBackend.C (expand): fix export/view/update when there is no
11837         document open.
11838
11839 2002-03-27  Herbert Voss  <voss@lyx.org>
11840
11841         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11842         and text%
11843
11844 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11845
11846         * bufferview_funcs.C (currentState): only show paragraph number
11847         for is DEVEL_VERSION is set.
11848
11849         * lyxfunc.C (dispatch): put warning in INFO channel
11850
11851         * MenuBackend.C (expand): translate the name of floats
11852
11853         * FloatList.C (FloatList): mark the float names for translation
11854
11855         * converter.C (convert): use LibScriptSearch
11856
11857 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * MenuBackend.C (defaults): fix default menu (we might as well get
11860         rid of it...)
11861
11862 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11863
11864         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11865         directory.
11866
11867 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * lyxvc.C: reorder includes.
11870
11871 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11874           properly
11875
11876 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * CutAndPaste.C: change layouts earlier on paste
11879           to avoid crashing when calling getFont()
11880
11881 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11882
11883         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11884         irritating #error.
11885
11886 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * WorkArea.C: remove 'Pending' debug message.
11889
11890         * most files: ws cleanup
11891
11892         * buffer.[Ch]: ws changes
11893
11894         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11895
11896 2002-03-21  Juergen Vigna  <jug@sad.it>
11897
11898         * tabular.C (SetMultiColumn): collapse also the contents of the
11899         cells and set the last border right. Added a Buffer const * param.
11900
11901 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11904         linking or not.
11905
11906 2002-03-19  Juergen Vigna  <jug@sad.it>
11907
11908         * text2.C (clearSelection): reset also xsel_cache.
11909
11910         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11911         where it needs to be called (John tells us to do so too :)
11912         (selectionLost): reset sel_cache.
11913
11914         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11915
11916 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11917
11918         * text2.C (setCursorIntern): put debuging code in INSETS channel
11919
11920 2002-03-19  André Pönitz <poenitz@gmx.net>
11921
11922         * lyxfunc.C: tiny whitespace change
11923
11924 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11925
11926         * ToolbarDefaults.C (init):
11927         * LyXAction.C (init):
11928         * commandtags.h:
11929         * BufferView_pimpl.C (Dispatch):
11930         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11931
11932 2002-03-19  Allan Rae  <rae@lyx.org>
11933
11934         * exporter.C (Export): removeAutoInsets before doing anything else.
11935         While I've just introduced a dependency on BufferView this really is
11936         the best place to clean the buffer otherwise you need to cleanup in
11937         a dozen places before calling export or cleanup in a dozen functions
11938         that export calls.
11939
11940         * converter.C (runLaTeX):
11941         (scanLog): Better handling of removeAutoInsets and screen updates.
11942
11943         * lyxfunc.C (dispatch): small whitespace changes
11944
11945 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * WorkArea.C (C_WorkAreaEvent): return a value.
11948         (event_cb): return 1 if we handled the event, 0 otherwise.
11949
11950         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11951
11952 2002-03-18  Juergen Vigna  <jug@sad.it>
11953
11954         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11955         (GetAdditionalWidth): ditto.
11956         (RightLine): ditto.
11957         (LeftLine): ditto.
11958
11959         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11960         inset if we're there actually (probably not used right now but this
11961         is the direction to go for unifying code).
11962         (paste): disable code to clear the selection.
11963
11964         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11965         inside an InsetText and move the check further up as it is in the
11966         wrong place.
11967
11968         * text2.C (pasteSelection): set a selection over the pasted text.
11969
11970 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11971
11972         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11973         and libgraphics to build on Cygwin.
11974
11975 2002-03-15  Juergen Vigna  <jug@sad.it>
11976
11977         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11978         inserting an Inset into the paragraph. I know this is not the best
11979         fix but we already use current_view in CutAndPaste so we will remove
11980         all of it's using at the same time.
11981
11982         * buffer.C (sgmlError): deactivated function till it is rewritten in
11983         the right mode, now it can create problems.
11984
11985         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11986         before accessing it.
11987
11988 2002-03-14  Juergen Vigna  <jug@sad.it>
11989
11990         * undo_funcs.C (textHandleUndo): do the right thing when updating
11991         the inset after the undo/redo.
11992
11993         * text2.C (setCursor): just some testcode for #44 not ready yet.
11994
11995         * undo_funcs.C (textHandleUndo): set the next() and previous()
11996         pointers of the paragraph to 0 before deleting otherwise we have
11997         problems with the Paragraph::[destructor].
11998
11999         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12000         on a paragraph insertion.
12001
12002 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12003
12004         * buffer.C (asciiParagraph): use += operator for char append to
12005         string.
12006
12007         * paragraph.C (getFontSettings): compare >= not just >
12008         (highestFontInRange): ditto
12009         (setFont): ditto
12010
12011 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * paragraph.C: change several algorithm to be more appripriate for
12014         the problem domain. This is lookip in FontList and in the InsetList.
12015
12016 2002-03-13  André Pönitz <poenitz@gmx.net>
12017
12018         * commandtags.h:
12019         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12020
12021 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * commandtags.h:
12024         * LyXAction.C:
12025         * lyxfunc.C:
12026         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12027
12028 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * Painter.C (display): anon helper function, adjust code for this
12031         change.
12032         (pixmap): remove function.
12033
12034         * Painter.h: remove private display variable.
12035
12036         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12037
12038 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12039
12040         * WorkArea.[Ch]: remove figinset_canvas cruft.
12041
12042 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12043
12044         * lyxtextclass.C (operator): add one item cache optimization.
12045
12046         * bufferlist.h: doxy changes
12047
12048         * bufferlist.C: ws changes
12049
12050         * DepTable.[Ch] (ext_exist): place const in the right spot.
12051
12052         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12053         call resizeInsets.
12054         (workAreaExpose): call resizeInsets when the with BufferView changes.
12055         (Dispatch): adjust for protectedBlank removal
12056         (specialChar): call updateInset if the insert went ok.
12057
12058         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12059         specialChar instead.
12060
12061         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12062
12063         * BufferView.h: doxy change
12064
12065         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12066
12067         * lyxtextclass.C (operator[]): remove non-const version
12068         (defaultLayout): remove non-const version
12069
12070 2002-03-12  Juergen Vigna  <jug@sad.it>
12071
12072         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12073         did resize the LyXText too.
12074
12075         * buffer.C (readLyXformat2): set layout information on newly allocated
12076         paragraphs.
12077
12078         * tabular.C (OldFormatRead): set layout information on the paragraph.
12079
12080 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12081
12082         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12083
12084 2002-03-11  Juergen Vigna  <jug@sad.it>
12085
12086         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12087         plainly wrong.
12088         (resizeCurrentBuffer): force also the insets to resize themselfes.
12089         (moveCursorUpdate): fixed up for InsetText.
12090
12091 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12092
12093         * commandtags.h:
12094         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12095         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12096         value of Dialogs::tooltipsEnabled().
12097         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12098
12099 2002-03-08  Juergen Vigna  <jug@sad.it>
12100
12101         * BufferView_pimpl.C (updateInset): update inset inside inset also
12102         if it isn't inside theLockingInset().
12103
12104 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12105
12106         * buffer.C (asciiParagraph): redo some of the word and line length
12107         handling.
12108         (getLists): look for Caption instead of caption.
12109
12110 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12111
12112         * buffer.C (Buffer): initialize niceFile to true
12113         (makeLaTeXFile):
12114         (makeLinuxDocFile):
12115         (makeDocBookFile): make sure niceFile is true on exit
12116
12117 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12118
12119         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12120
12121 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * LyXSendto.C: remove.
12124         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12125         * lyx_gui.C: remove now-redundant comment.
12126         * ColorHandler.h: remove forward declaration of class WorkArea.
12127         * lyxfunc.C: remove #include "WorkArea.h".
12128
12129 2002-03-07  Juergen Vigna  <jug@sad.it>
12130
12131         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12132         got moved away with the DEPM and also set the inset_owner always
12133         right which before could have been omitted.
12134
12135 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12136
12137         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12138         wanted layout is not found.
12139
12140 2002-03-07  Juergen Vigna  <jug@sad.it>
12141
12142         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12143
12144 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12145
12146         * paragraph.C (breakParagraph): use default layout not layout of
12147         prev paragraph.
12148         (Paragraph): clear ParagraphParameters.
12149
12150 2002-03-06  Juergen Vigna  <jug@sad.it>
12151
12152         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12153         otherwise it would not be a valid lenght. Fixed a special case in
12154         the minipage compatibility read where we end the document with a
12155         minipage.
12156
12157         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12158         was set as it could be 0 for InsetTexts first entry.
12159
12160 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * paragraph.C (writeFile): if layout is empty write out
12163         defaultLayoutName().
12164
12165         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12166         file without named layout we set layout to defaultLayoutName().
12167
12168 2002-03-06  Juergen Vigna  <jug@sad.it>
12169
12170         * CutAndPaste.C (copySelection): set layout for new paragraph.
12171
12172         * text.C (prepareToPrint): leave ERT inset left aligned
12173         (leftMargin): don't indent paragraphs inside ERT insets
12174
12175 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * paragraph.C (breakParagraph): dont call clear do the work manually
12178
12179         * paragraph.[Ch] (clear): remove function
12180
12181 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12182
12183         * paragraph.C (Paragraph): dont call clear, the work has already
12184         been done.
12185
12186         * lyxtextclass.C (operator): assert if n is empty
12187
12188         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12189         work manually instead.
12190
12191 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * BufferView_pimpl.C: protect selectionLost against text == 0
12194
12195 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * text.C (breakParagraph): fix a setting layout to '0' problem.
12198
12199 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12200
12201         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12202         final location of file, for the included files, and graphics.
12203
12204 2002-03-05  Juergen Vigna  <jug@sad.it>
12205
12206         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12207
12208 2002-03-04  Juergen Vigna  <jug@sad.it>
12209
12210         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12211
12212         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12213         last column of multicolumn cells.
12214         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12215
12216 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12217
12218         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12219         file if it doesn't go to a temporary file.
12220
12221         * buffer.C (sgmlOpenTag):
12222         (sgmlCloseTag):  remove extra newline insertion.
12223
12224 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * text.C (getRowNearY): comment out debug msg
12227
12228 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * text2.C: first -> first_y
12231
12232         * text.C (getRowNearY): add some attemts at a possible
12233         optimization, not working.
12234
12235         * tabular.[Ch]: add BufferParams to several function so that newly
12236         created paragraph can be initialized to he default layotu for the
12237         buffers textclass.
12238
12239         * tabular-old.C (ReadOld): add buf->params to call of Init
12240
12241         * screen.C: rename text->first to text->first_y
12242
12243         * paragraph.C (breakParagraph): always set layout in the broken
12244         paragraph
12245
12246         * lyxtextclass.C (Read): remove lowercase
12247         (hasLayout): ditto
12248         (operator): ditto
12249         (delete_layout): ditto
12250
12251         * lyxtext.h: rename first -> first_y
12252
12253         * lyxlayout.C (Read): remove lowercase
12254         (name): ditto
12255         (setName): ditto
12256         (obsoleted_by): ditto
12257
12258         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12259
12260         * buffer.C (insertErtContents): add params are to InsetERT
12261         (parseSingleLyXformat2Token): add code to check if a paragraphs
12262         layout really exist.
12263         (parseSingleLyXformat2Token): add params to several inset
12264         constructors
12265         (asciiParagraph): remove lowercase, do the layout comparisons with
12266         no_case
12267
12268         * BufferView_pimpl.C (cursorNext): first -> first_y
12269         (resizeCurrentBuffer): first -> first_y
12270         (updateScrollbar): first -> first_y
12271         (scrollCB): first -> first_y
12272         (workAreaMotionNotify): first -> first_y
12273         (workAreaButtonPress): first -> first_y
12274         (checkInsetHit): first -> first_y
12275         (cursorPrevious): first -> first_y
12276         (cursorNext): first -> first_y
12277         (Dispatch): add buffer_->params to severl inset contructors
12278
12279 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12280
12281         * lyxlayout.C (Read): remove some debug info that I forgot.
12282
12283         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12284         clean up the code slightly.
12285         (makeLinuxDocFile): ditto
12286         (makeDocBookFile): ditto
12287
12288         * text2.C: layout as string
12289
12290         * text.C: layout as string
12291
12292         * paragraph_pimpl.C: layout as string
12293
12294         * paragraph.[Ch]: layout as string
12295
12296         * lyxtextclasslist.[Ch]: layout as string
12297
12298         * lyxtextclass.[Ch]: layout as string
12299
12300         * lyxtext.h: layout as string
12301
12302         * lyxlayout.[Ch]: layout as string
12303
12304         * lyx_cb.C: layout as string
12305
12306         * bufferview_funcs.C: layout as string
12307
12308         * bufferparams.C: layout as string
12309
12310         * buffer.C: layout as string
12311
12312         * LyXView.[Ch]: layout as string
12313
12314         * LaTeXFeatures.[Ch]: layout as string
12315
12316         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12317
12318         * BufferView_pimpl.C: change current_layout to string, remove
12319         lyx::layout_type.
12320         (Dispatch):
12321         (smartQuote):
12322         (insertInset):
12323         (workAreaButtonRelease): layout as string
12324
12325         * BufferView2.C (unlockInset): adjust
12326
12327         * vspace.C (asLatexCommand): use an explict temp variable.
12328
12329 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * Makefile.am: use FRONTEND_*
12332
12333 2002-03-01  Juergen Vigna  <jug@sad.it>
12334
12335         * tabular.C (SetWidthOfMulticolCell): changed to something better
12336         I hope but still work in progress.
12337         (recalculateMulticolumnsOfColumn): renamed function from
12338         recalculateMulticolCells as it is more appropriate now.
12339         (SetWidthOfCell): calculate multicols better.
12340
12341 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12344
12345         * lyxfunc.C (processKeySym): print sequence also if it is
12346         `deleted' (complete)
12347
12348         * kbsequence.C (print): print sequence even if it is deleted
12349         (complete would be a better word, actually).
12350
12351         * lyxfunc.C (dispatch): print complete options after a prefix key
12352
12353         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12354
12355 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12356
12357         * text2.C (setCharFont): eliminate setCharFont code duplication.
12358
12359 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12362         LFUN_TABULAR_FEATURE (bug #177)
12363
12364 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12365
12366         * Makefile.am: remove figure.h
12367
12368 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12369
12370         * Bufferview_pimpl.C:
12371         * CutAndPasteC:
12372         * LaTeX.C:
12373         * LyXSendto.C:
12374         * buffer.C:
12375         * bufferlist.C:
12376         * converter.C:
12377         * language.C:
12378         * lyxfunc.C:
12379         * lyxvc.C:
12380         * paragraph.C:
12381         * text.C:
12382         * text2.C: remove #include "lyx_gui_misc.h".
12383
12384         * LaTeX.C: added #include <cstdio>
12385
12386 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12387
12388         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12389         that the paragraph following this one can have.
12390
12391         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12392
12393         * vspace.C (asLatexCommand): fix bogus gcc warning
12394
12395         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12396
12397 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12398
12399         * text2.C (setLayout): get rid of redundant code
12400
12401 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12402
12403         * text2.C (incDepth): make sure depth cannot be increased beyond
12404         reasonable values.
12405
12406 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12407
12408         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12409         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12410
12411         * PainterBase.h (image):
12412         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12413         a LyXImage const *.
12414
12415 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView.C:
12418         * BufferView.h:
12419         * BufferView_pimpl.C:
12420         * BufferView_pimpl.h:
12421         * LaTeXFeatures.C:
12422         * LyXAction.C:
12423         * LyXView.C:
12424         * Makefile.am:
12425         * UpdateList.h:
12426         * UpdateList.C:
12427         * buffer.C:
12428         * figure.h:
12429         * figureForm.C:
12430         * figureForm.h:
12431         * figure_form.C:
12432         * figure_form.h:
12433         * lyx_cb.C:
12434         * lyx_gui.C:
12435         * lyx_gui_misc.C:
12436         * lyxfunc.C:
12437         * sp_base.h:
12438         * sp_ispell.h:
12439         * sp_pspell.h:
12440         * sp_spell.C: remove fig inset, and the crap house of
12441           cards that follows it
12442
12443 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12444
12445         * Makefile.am:
12446         * lyxserver.C:
12447         * os2_defines.h:
12448         * os2_errortable.h:
12449         * nt_defines.h: move .h into support/
12450
12451         * vms_defines.h: remove
12452
12453         * WorkArea.C: add space in debug output
12454
12455         * text2.C:
12456         * paragraph.C:
12457         * buffer.C: add WITH_WARNINGS
12458
12459         * vc-backend.h:
12460         * vc-backend.C:
12461         * bufferlist.C: s/retrive/retrieve/, add docs
12462
12463         * vspace.h:
12464         * vspace.C:
12465         * kbmap.h:
12466         * lyxlength.h:
12467         * lyxgluelength.h:
12468         * length_common.h:
12469         * chset.h:
12470         * chset.C: add docs
12471
12472         * lyxgui.C: add ID to X error handler
12473
12474         * lyxtestclass.c: fix typo
12475
12476 2002-02-26  Juergen Vigna  <jug@sad.it>
12477
12478         * tabular_funcs.C (write_attribute): changed so that some default
12479         attributes are not written at all.
12480         (getTokenValue): set default values before trying to read the
12481         value so we have the return value always set as default if we don't
12482         find the token we search for.
12483
12484         * tabular.C (Write): write bools as bools not as strings!
12485
12486 2002-02-22  Juergen Vigna  <jug@sad.it>
12487
12488         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12489         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12490
12491         * text.C (leftMargin): don't add an indent for paragraphs inside
12492         tabular cells (fix #208).
12493
12494 2002-02-21  José Matos  <jamatos@fep.up.pt>
12495
12496         * tabular.C (docBook): fixed support for long tables.
12497
12498 2002-02-20  Juergen Vigna  <jug@sad.it>
12499
12500         * text2.C (getFont): get the drawing font of the Inset if this
12501         paragraph is inside an inset (only important for InsetERT for now).
12502
12503         * buffer.C (insertErtContents): use new lanugage params in ERT
12504         constructor.
12505
12506         * CutAndPaste.C: commenting out seemingly uneeded code.
12507
12508 2002-02-19  Allan Rae  <rae@lyx.org>
12509
12510         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12511         Iterators might be simple to use but they also get invalidated.
12512         (removeAutoInsets): renamed saved cursor tracking variables and added
12513         some comments to clarify what everything does.
12514
12515 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12516
12517         * Chktex.C:
12518         * LaTeX.C:
12519         * LyXSendto.C:
12520         * converter.C:
12521         * lyx_cb.C:
12522         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12523         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12524
12525         * lyxfunc.C:
12526         * vc-backend.h: remove #include "support/syscall.h"
12527
12528         * LaTeX.C:
12529         * LyXSendto.C:
12530         * converter.C: rearrange #includes in Lars' approved fashion.
12531
12532         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12533         forward declare class Timeout in the header file.
12534
12535         * XFormsView.C: changes due to the above.
12536
12537         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12538         similar to LyXView.
12539
12540         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12541         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12542
12543 2002-02-18  José Matos  <jamatos@fep.up.pt>
12544
12545         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12546         insets contents.
12547
12548 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12549
12550         * a lot of small ws changes
12551         * add a lot of using std::XXX
12552         * use std construcs some places where approp.
12553         * use some exisint stuff from lyxfunctional where approp.
12554         * Make file changes to use partial linking (lets test this now...)
12555
12556 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12557
12558         * Chktex.C:
12559         * buffer.C:
12560         remove #include "support/syscontr.h" as it's redundant. Always has been.
12561
12562         * Chktex.C:
12563         * LaTeX.C:
12564         * LyXSendto.C:
12565         * converter.C:
12566         * lyx_cb.C:
12567         * vc-backend.C:
12568         change Systemcalls::System to Systemcalls::Wait and
12569         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12570         No change of functionality, just reflects the stripped down Systemcalls
12571         class.
12572
12573 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12574
12575         * debug.[Ch]: add a GRAPHICS type to the enum.
12576
12577 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12578
12579         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12580
12581         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12582         there is an inset.
12583
12584 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12585
12586         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12587         match the changes below.
12588
12589         * text2.C (toggleInset): if there is not editable inset at cursor
12590         position, try to see if cursor is _inside_ a collapsable inset
12591         and close it.
12592
12593 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12594
12595         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12596         document menu has a nice checkbox
12597
12598 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12599
12600         * lyxlength.C (asLatexString): change PW to output as percent of
12601         \textwidth.
12602
12603         * lengthcommon.C: change '%' to 't%'
12604
12605         * lyxfunc.C (dispatch): a few comments from Martin
12606
12607 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12608
12609         * WorkArea.h:
12610         * WorkArea.C:
12611         * BufferView_pimpl.h:
12612         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12613           the X selection.
12614
12615 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12616
12617         * vspace.C (inPixels): fix compiler warning
12618
12619 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12620
12621         * lyxfunc.C (getStatus): fix status message for disabled commands.
12622
12623 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * BufferView_pimpl.C: fix crash on close buffer
12626         during selection (#227)
12627
12628 2002-01-27  Herbert Voss  <voss@lyx.org>
12629
12630         * buffer.C: link old Figure to new graphic inset
12631
12632 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12633
12634         * FontLoader.C (getFontinfo): Change the latex font names in order
12635         to match the names of type1inst.
12636
12637 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12640
12641         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12642         (extchanged): ditto
12643         (ext_exist): ditto
12644         (remove_files_with_extension): ditto
12645         (remove_file): ditto
12646         (write): ditto
12647
12648         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12649         document is smaller than the work area height. Do not initialize
12650         static variables to 0.
12651
12652 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12655
12656         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12657         LFUN_LAYOUT_PARAGRAPHS.
12658
12659         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12660         tabular. It is possible to provide a possible cell, which will
12661         typically be the actcell from the corresponding insettabular
12662
12663         * lyxfunc.C (getStatus): small cleanup; disable
12664         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12665         true
12666
12667 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12668
12669         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12670
12671         * paragraph.C (startTeXParParams):
12672         (endTeXParParams): new methods. The LaTeX code to
12673         start/end paragraph formatting
12674         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12675         empty (fixes bug #200)
12676
12677         * vspace.C (inPixels): adapt to the change below
12678         (inPixels): [later] more cleanups (remove unused variables)
12679
12680         * lyxlength.C (inPixels): change to use a width and a height as
12681         parameter.
12682
12683 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12684
12685         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12686         Replaced with \paperwidth
12687
12688         * DepTable.C (insert): add std:: qualifier
12689
12690 2002-01-18  Allan Rae  <rae@lyx.org>
12691
12692         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12693         updated also?
12694
12695         * text.C (drawInset): Turned out I didn't know enough about how
12696         rebreaking worked.  This fixes most of the redraw problems.  I see
12697         an occasional cursor trail when a line is broken now and the cursor
12698         placement can seem out by a few pixels also after a rebreak.
12699
12700 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12701
12702         * buffer.C (parseSingleLyXformat2Token): update because minipage
12703         width is now a LyXLength
12704
12705         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12706
12707         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12708         math insets
12709
12710 2002-01-17  Juergen Vigna  <jug@sad.it>
12711
12712         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12713
12714         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12715         is set correctly and the inset is updated correctly.
12716
12717 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12718
12719         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12720         the beginning of the loop.
12721
12722 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * lyxrc.C: improve help for use_scalable_fonts
12725
12726 2002-01-17  Allan Rae  <rae@lyx.org>
12727
12728         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12729
12730 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12731
12732         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12733         make sure to set their inset_owner to the right value (bug #171)
12734
12735 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12736
12737         * DepTable.h
12738         * DepTable.C: Implement mtime checking to reduce time spent doing
12739         CRCs.
12740
12741 2002-01-16  Juergen Vigna  <jug@sad.it>
12742
12743         * tabular.C (GetAdditionalHeight): one of error fixed.
12744
12745         * lyxrc.C (output): small fix in writing use_pspell.
12746
12747 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12748
12749         * sp_base.h: #include LString.h
12750
12751 2002-01-16  Allan Rae  <rae@lyx.org>
12752
12753         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12754         Can someone check this please?
12755
12756         * text.C (drawInset): It was possible that p.row would be removed by
12757         breakAgainOneRow upsetting a few other settings.  There may be another
12758         small tweak possible by setting need_break_row = 0 when p.row has been
12759         removed but I don't know enough about the logic here.
12760
12761 2002-01-15  Allan Rae  <rae@lyx.org>
12762
12763         * text.C (insertChar): removed conditional truism.
12764
12765         * BufferView2.C (removeAutoInsets): More tweaks.
12766         cur_par_prev could be a stray pointer.  Check for trailing empty line
12767         in case last line was cur_par and only had an error inset on it.
12768
12769 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12770
12771         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12772         absolute
12773
12774         * vc-backend.C (most methods):
12775         * exporter.C (Export):
12776         * converter.C (convert):
12777         (runLaTeX):
12778         * LyXSendto.C (SendtoApplyCB):
12779         * lyxfunc.C (dispatch):
12780         (menuNew):
12781         (open):
12782         (doImport):
12783         * lyx_cb.C (AutoSave):
12784         (InsertAsciiFile):
12785         * BufferView_pimpl.C (MenuInsertLyXFile):
12786         * buffer.C (runChktex): use Buffer::filePath().
12787
12788         * buffer.h: rename filename to filename_; rename filepath to
12789         filepath_ and make it private
12790         (filePath): new method
12791
12792         * buffer.C (writeFile): use fileName()
12793         (getLatexName):
12794
12795         * lyx_main.C (init): fix starting  of LyX when the binary is a
12796         link from so,ewhere else.
12797
12798         * minibuffer.C: include <cctype> for isprint
12799
12800 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12801
12802         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12803         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12804         name clash with InsetCollapsable's width function.
12805
12806 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * lastfiles.C: include <iterator>
12809
12810 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12811
12812         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12813         std::count.
12814
12815         * buffer.C (makeLaTeXFile): ditto.
12816         Also make loop operation more transparent.
12817
12818 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12819
12820         * ToolbarDefaults.C: remove trailing comma closing namespace.
12821
12822         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12823
12824         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12825         as in WorkArea.
12826
12827         * trans.C (Load): comment out unused variable, allowed.
12828
12829 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12830
12831         * minibuffer.[Ch] (append_char): new method to recieve input from the
12832         drop-down completion browser. If a key was pressed, then recieve this
12833         char and append it to the existing string.
12834         (peek_event): modify the positioning data passed to the completion
12835         browser so that it can be placed above the minibuffer rather than below.
12836 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * LyXAction.C (init): alloe error-next for readonly documents.
12839
12840         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12841         count.
12842
12843 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * bufferlist.C (readFile): create the buffer _after_ checking that
12846         the file exists.
12847
12848         * lyxfunc.C (verboseDispatch): fix handling of arguments
12849
12850         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12851
12852         * lyxrc.C: use string::erase() instead of initializing to "".
12853
12854
12855 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12856
12857         * BufferView_pimpl.h:
12858         * BufferView_pimpl.C:
12859         * WorkArea.h:
12860         * WorkArea.C:
12861         * text2.C: tell X when we have made a selection for copying
12862
12863 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12864
12865         * BufferView_pimpl.C (MenuInsertLyXFile):
12866         * lyxfunc.C (menuNew):
12867         (open):
12868         (doImport): add shortcuts to directory buttons
12869
12870         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12871         open a float)
12872
12873         * lyxfunc.C (setStatusMessage):
12874         (getStatusMessage): new methods
12875         (getStatus):use setStatusMessage instead of setErrorMessage
12876         (dispatch): when function is disabled, set error message here
12877         [instead of in getStatus previously]
12878
12879         * BufferView_pimpl.C (workAreaButtonRelease): update
12880         toolbar/menubar here too.
12881
12882 2002-01-13  Allan Rae  <rae@lyx.org>
12883
12884         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12885         Now seems indestructible.  Remaining task is to audit all other
12886         code affected by deleteEmptyParagraphMechanism.  One small quirk
12887         left is that an empty document with an error in the preamble can
12888         be made to report an error but no error box appears.  I don't know
12889         where it goes.
12890         (removeAutoInsets): Improved comments.
12891
12892 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * Thesaurus.h:
12895         * Thesaurus.C: update for Aiksaurus 0.14
12896
12897 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12898
12899         * text2.C (firstParagraph): removed member function, all uses
12900         replaces with ownerParagraph
12901         (redoParagraphs): here
12902         (updateInset): here
12903         (toggleAppendix): here
12904         * BufferView2.C (insertErrors): here
12905         (setCursorFromRow): here
12906
12907 2002-01-13  Allan Rae  <rae@lyx.org>
12908
12909         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12910         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12911         There is still a way to segfault this although you may have to do this
12912         multiple times: Have an InsetERT with an unknown command in it.
12913         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12914         <down-arrow>, <Enter> again, View->DVI, BANG!
12915
12916         * text2.C (setCursor):
12917         (deleteEmptyParagraphMechanism):
12918         * lyxtext.h (setCursor):
12919         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12920         Making use of the return value may help fix other bugs.
12921
12922 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12923
12924         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12925
12926         * LyXView.C (updateMenubar): call MenuBar::update here
12927         (updateToolbar): but not here
12928         (showState): do not update toolbar/menubar
12929
12930         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12931         should need to care about that.
12932
12933         * lyxfunc.C (verboseDispatch): simplify a bit
12934         (getStatus): have a version which takes a pseudoaction, and
12935         another which requires a (kb_action,string).
12936
12937         * LyXAction.C (retrieveActionArg): make it work also when action
12938         is not a pseudo-action.
12939         (getActionName): simplify a bit
12940         (helpText):
12941
12942 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12943
12944         * lyxfunc.C (verboseDispatch): new families of methods with
12945         several ways to specify a command and a bool to indicate whether
12946         the command name and shortcut should be displayed in minibuffer
12947         (eventually, we could extend that to a finer bitmask like
12948         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12949         (dispatch): the pristine dispatch command which just, well,
12950         dispatchs! Note it still sets its result to minibuffer; I'm not
12951         sure we want that.
12952
12953         * lyxfunc.h: remove setHintMessage
12954
12955         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12956
12957 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12958
12959         * BufferView_pimpl.C (specialChar): delete new inset if we have
12960         not been able to insert it.
12961
12962         * kbmap.C: revert to using int instead of kb_action, since all we
12963         are dealing with is pseudo-actions.
12964
12965         * LyXAction.C (searchActionArg): change to return int instead of
12966         kb_action, since the result is a pseudoaction.
12967
12968 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12969
12970         * buffer.C (insertErtContents): Fix (partially) the font bug.
12971
12972 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12973
12974         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12975         as the other one is broken on my machine!
12976
12977 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12978
12979         * commandtags.h:
12980         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12981
12982 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12983
12984         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12985         reflect their actual use. Provide compatibility code for older lyxrc
12986         files.
12987
12988         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12989         FL_NORMAL_STYLE.
12990         change names of popup font variables in line with the changes to lyxrc.C
12991
12992 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12993
12994         * buffer.C (asciiParagraph): avoid outputing a word twice after
12995         an inset.
12996
12997         * lyxrc.C (getDescription): document that document_path and
12998         template_path can be empty.
12999
13000 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13001
13002         * LaTeXFeatures.C (getMacros):
13003         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13004
13005         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13006
13007         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13008         getPackages.
13009         (getPackages): rename feature "floats" to "float". Use an array to
13010         iterate over 'simple' features (i.e. just a \usepackage). Add
13011         handling of "amsmath" (renamed from "amsstyle").
13012
13013 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13014
13015         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13016         features list.
13017
13018 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13019
13020         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13021         FuncStaus::FuncStatus & FuncStaus::some_method().
13022
13023 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13024
13025         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13026         of the func_satus stuff. Edited and massaged in various ways by
13027         JMarc.
13028
13029         * lyxfunc.C (getStatus): use FuncStatus
13030
13031 2002-01-08  Juergen Vigna  <jug@sad.it>
13032
13033         * text.C (nextBreakPoint): use function Inset::isChar().
13034
13035         * paragraph.C (TeXOnePar): use function
13036         Inset::forceDefaultParagraphs.
13037
13038         * buffer.C (latexParagraphs): use function
13039         Inset::forceDefaultParagraphs.
13040
13041 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13042
13043         * lyx_gui.C (init): set the style of the menu popups to
13044         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13045
13046 2002-01-07  Juergen Vigna  <jug@sad.it>
13047
13048         * text.C (setHeightOfRow): small fix
13049         (prepareToPrint): don't look at alignment if we don't have the place
13050         for doing it.
13051
13052 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13053
13054         * box.C: New file. Move the Box methods and functions out of box.h,
13055         following Lars' suggestion.
13056
13057 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13058
13059         * box.h: #include "support/LOstream.h", needed for inlined function.
13060
13061         * lyxtextclass.C:
13062         * lyxtextclasslist.C: added some using std declarations.
13063
13064 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13065
13066         * box.h: make signed dimensions to allow insets wider than
13067           the screen (bug #162)
13068
13069         * BufferView_pimpl.C: add some insetHit debug
13070
13071 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13072
13073         * vc-backend.C: add FIXME
13074
13075 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13076
13077         * lyxfunc.C (getStatus): enable code for showing math font status
13078         in toolbar/menu.
13079
13080 2002-01-07  Juergen Vigna  <jug@sad.it>
13081
13082         * text.C (nextBreakPoint): removed debug output not needed anymore.
13083
13084 2002-01-06  Juergen Vigna  <jug@sad.it>
13085
13086         * text.C (nextBreakPoint): fixed up this function we had this bug
13087         since ever but now hopefully we break row better.
13088         (insertChar): we have to check if an inset is the next char as it
13089         could now happen that a large inset is causing a break.
13090
13091 2002-01-05  Juergen Vigna  <jug@sad.it>
13092
13093         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13094         if it doesn't like to be drawed.
13095
13096 2002-01-04  Juergen Vigna  <jug@sad.it>
13097
13098         * BufferView2.C (lockInset): forgot to set a cursor.
13099
13100         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13101
13102 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13103
13104         * FormMathsPanel.C:
13105         * FormMathsPanel.h
13106         * MathsSymbols.C:
13107         * form_maths_panel.C:
13108         * form_maths_panel.h:
13109         * form_maths_panel.fd: implemented sub- and super- buttons in math
13110         panel.
13111
13112         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13113         (or ^ space) to be used as in TeX (req'd by André).
13114
13115         * lyxfunc.C: Allow ^ and _ again to be used both as
13116         super/subscript (mathed) and as themselves (in text).
13117
13118 2002-01-03  Allan Rae  <rae@lyx.org>
13119
13120         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13121         "LyX" or the filename of the current buffer if it has one.  This is a
13122         modified form of John Levon's patch.
13123
13124         * XFormsView.C (setWindowTitle): also set icon title.
13125
13126         * LyXView.h (setWindowTitle): signature changed.
13127         * XFormsView.h (setWindowTitle): ditto.
13128
13129 2002-01-02  Juergen Vigna  <jug@sad.it>
13130
13131         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13132
13133 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * screen.C (topCursorVisible): introduce a temp var for
13136         text->cursor.row(), handle the case where this row is null. (kindo
13137         hachish)
13138
13139         * text2.C (setCursor): add a couple of asserts.
13140
13141         * paragraph.h (inset_iterator): add -> operator
13142
13143         * paragraph.[Ch] (autoDeleteInsets): remove member function
13144
13145         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13146         cursor pos correctly and handle inset deletion by itself.
13147         (insertErrors): move iterator declaration out of for expression
13148
13149         * lyxtextclass.C: add <algorithm>
13150
13151         * Makefile.am: added the new files to sources, removed layout.C
13152
13153         * layout.C: removed file
13154
13155         * layout.h: remove LYX_DUMMY_LAYOUT
13156
13157         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13158         layout.
13159
13160         * lyxlayout.[Ch]:
13161         * lyxtextclass.[Ch]:
13162         * lyxtextclasslist.[Ch]: new files
13163
13164         * include order changes to a lot of files, also changes because of
13165         the six new files.
13166
13167 2001-12-27  Juergen Vigna  <jug@sad.it>
13168
13169         * buffer.C (asciiParagraph): more fixes.
13170
13171         * tabular.C (ascii): make ascii export support export of only the
13172         data separated by a column-delimiter.
13173         (ascii): better support for ascii export.
13174
13175         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13176
13177 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * tabular_funcs.C: use a "using std::getline" instead of the
13180         previous fix from Angus (necessary for cxx + lyxstring)
13181
13182 2001-12-24  Juergen Vigna  <jug@sad.it>
13183
13184         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13185
13186         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13187         problems. First check a minipage also if we have some ert-contents
13188         (not only on par->size(), second set the right depth of the paragraph
13189         on the relink to the root-paragraph-list!
13190
13191         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13192         which then did not anymore update the main paragraphs on undo/redo!
13193
13194 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13195
13196         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13197         code. Support all font-changing funcs (even those which are not in
13198         menu currently). Support for reporting font settings in
13199         mathed (disabled until Andre provides a function on mathed's side).
13200
13201         * func_status.h (toggle): small helper function to set toggle
13202         state on a flag.
13203
13204 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * tabular_funcs.C: getline -> std::getline
13207
13208 2001-12-21  Juergen Vigna  <jug@sad.it>
13209
13210         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13211         accessed and could be 0 (I couldn't generate this but it seems
13212         Michael could!).
13213
13214 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13217         * tabular_funcs.h: here and include iosfwd
13218
13219 2001-12-20  Juergen Vigna  <jug@sad.it>
13220
13221         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13222         inside inset but undo_par was.
13223
13224 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13225
13226         * Thesaurus.C: always include <config.h> in sources.
13227
13228         * Painter.h:
13229         * lyxlookup.h:
13230         * box.h: do not include <config.h> in header files
13231
13232         * text.C (paintLastRow): remove unused variable
13233
13234         * text.C (transformChar):
13235         (insertChar):
13236         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13237
13238         * Painter.C (text):
13239         * font.C (width): rewrite to use uppercase() instead of
13240         islower/toupper.
13241
13242         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13243
13244 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13245
13246         * lyxfind.C: clean up of find failure position change
13247
13248 2001-12-20  Juergen Vigna  <jug@sad.it>
13249
13250         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13251
13252         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13253         (TeXRow): added to LaTeX a single tabular row.
13254         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13255         (Latex): simplified and finally good LT-h/f support.
13256         (various_functions): just small adaptions for LT-h/f support.
13257
13258         * tabular_funcs.[hC]: added and moved here all not classfunctions
13259         of LyXTabular.
13260
13261 2001-12-19  Juergen Vigna  <jug@sad.it>
13262
13263         * tabular.[Ch]: better support for longtabular options (not finished
13264         yet!)
13265
13266 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13267
13268         * text.C (paintLastRow): use the label font instead of the font of
13269         the last character to compute the size of *_BOX. This makes more
13270         sense and avoids a crash with empty paragraphs.
13271         Use Painter::rectangle to draw EMPTY_BOX.
13272
13273 2001-12-19  Juergen Vigna  <jug@sad.it>
13274
13275         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13276         the paragraphs if the replaced paragraph is not the first one!
13277         Tried to delete not used paragraphs but does not work yet so for
13278         now it's inside #ifdef's and by default off!
13279
13280 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13281
13282         * MenuBackend.C: include "lyx_main.h" instead of declaring
13283         lastfiles (actually was declared as LastFiles* instead of a
13284         scoped_ptr).
13285
13286 2001-12-17  Juergen Vigna  <jug@sad.it>
13287
13288         * tabular.C (AppendColumn): applied John's fix
13289
13290 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13291
13292         * BufferView.h:
13293         * BufferView.C:
13294         * BufferView_pimpl.h:
13295         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13296
13297         * Makefile.am:
13298         * box.h: new start of class for above
13299
13300         * lyxfunc.C: ignore space-only minibuffer dispatches.
13301           Show the command name when it doesn't exist
13302
13303         * minibuffer.C: don't add empty lines to the history
13304
13305         * minibuffer.C: add a space on dropdown completion
13306
13307 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13308
13309         * text.C: fix line above/below drawing in insets
13310
13311 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13312
13313         * lyxlength.C (LyXLength): Initialize private variables.
13314
13315 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13316
13317         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13318         when inserting error insets.
13319
13320 2001-12-13  Juergen Vigna  <jug@sad.it>
13321
13322         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13323         actually sometimes the before-paragraph.
13324         (setUndo): don't clear the redostack if we're not actually undoing!
13325
13326 2001-12-06  Juergen Vigna  <jug@sad.it>
13327
13328         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13329         and fixed redoing of main paragraph, so we can use it now ;)
13330
13331         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13332
13333 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13334
13335         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13336         Juergen's request
13337
13338 2001-12-13  André Pönitz <poenitz@gmx.net>
13339
13340         * undostack.[Ch]:
13341         * undo_func.C: minor cleanup
13342
13343 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13344
13345         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13346         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13347         font in urw-fonts package which is marked as -urw-fontspecific and
13348         does not work (incidentally, changing the encoding in the
13349         fonts.dir of this package to -adobe-fontspecific fixes the
13350         problem).
13351
13352         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13353         is a crash when undoing first paragraph (Juergen, please take a
13354         look). THis does not mean the undo fix is wrong, just that it
13355         uncovers problems.
13356
13357         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13358         the (Paragraph*) version when needed instead of duplicating the
13359         code.
13360
13361         * text.C (workWidth): use Inset::parOwner to find out where the
13362         inset has been inserted. This is a huge performance gain for large
13363         documents with lots of insets. If Inset::parOwner is not set, fall
13364         back on the brute force method
13365
13366         * paragraph_pimpl.C (insertInset):
13367         * paragraph.C (Paragraph):
13368         (cutIntoMinibuffer): set parOwner of insets when
13369         inserting/removing them
13370
13371         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13372
13373 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13374
13375         * commandtags.h:
13376         * LyXAction.C:
13377         * lyx_main.C:
13378         * lyxfunc.C:
13379         * mathed/formulabase.C:
13380         * mathed/math_cursor.[Ch]:
13381         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13382
13383
13384 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13385
13386         * lyxlength.[Ch] (operator!=): new function
13387
13388 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13389
13390         * text.C (workWidth): use Inset::parOwner to find out where the
13391         inset has been inserted. This is a huge performance gain for large
13392         documents with lots of insets. If Inset::parOwner is not set, fall
13393         back on the brute force method
13394
13395         * paragraph_pimpl.C (insertInset):
13396         * paragraph.C (Paragraph):
13397         (cutIntoMinibuffer): set parOwner of insets when
13398         inserting/removing them
13399
13400         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13401
13402 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13403
13404         * tabular-old.C (getTokenValue):
13405         * tabular.C (getTokenValue):
13406         (write_attribute): new versions for LyXLength
13407         (everywhere): adjust the use of widths
13408
13409         * tabular.h: change the type of widths from string to LyXLength
13410
13411 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13412
13413         * paragraph.C: fixed missing line number count when exporting
13414         Environments to LaTeX file
13415
13416         * buffer.C: added informational message for checking line numbers.
13417
13418 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13419
13420         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13421         paragraph, do the 'double space' part, but not the 'empty
13422         paragraph' one.
13423
13424         * text.C (workWidth): small optimization
13425         (getLengthMarkerHeight): use minimal size for negative lengths.
13426
13427 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13428
13429         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13430
13431         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13432
13433 2001-12-11  André Pönitz <poenitz@gmx.net>
13434
13435         * FontLoader.C:
13436         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13437
13438 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * text2.C: keep selection on a setFont()
13441
13442 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * lyx_cb.C: another bv->text misuse, from insert label
13445
13446 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * kbsequence.h:
13449         * kbsequence.C: re-instate nmodifier mask
13450
13451 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * lyx_main.h: make lyxGUI private.
13454
13455 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * lyxfind.C: place the cursor correctly on failed search
13458
13459 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13460
13461         * text.C (getLengthMarkerHeight): for small heights, the arrows
13462         are not always on top/bottom of the text
13463         (drawLengthMarker): smaller arrows; take the left margin in
13464         account; draw also vfills.
13465         (paintFirstRow):
13466         (paintLastRow): remove special code for vfill and standard spaces,
13467         since everything is handled in drawLengthMarker now.
13468
13469 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * buffer.C (insertErtContents): try to handle font and language
13472         interaction a bit better.g
13473
13474         * ColorHandler.C (updateColor): change the hash to cover the whole
13475         LColor enum, ws cleanup
13476         (getGCLinepars): ditto
13477         (getGCLinepars): only lookup in the linecache once.
13478
13479 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13480
13481         * iterators.C (operator++): Make the iterator more robust
13482
13483         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13484         (John's patch)
13485         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13486
13487 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * lyxtext.h:
13490         * text.C: better added space drawing
13491
13492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * LyXView.C:
13495         * BufferView2.C: fix layout combo update on inset unlock
13496
13497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * Makefile.am: don't compile unused files
13500
13501 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * lyxfunc.C:
13504         * commandtags.h:
13505         * LyXAction.C: remove old LFUN_LAYOUTNO
13506
13507 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13508
13509         * paragraph_pimpl.h:
13510         * paragraph_pimpl.C: isTextAt() doesn't need font param
13511
13512 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * lyxlex.h:
13515         * lyxlex.C: little cleanup
13516
13517 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * BufferView_pimpl.C: fix insertAscii for insets
13520
13521 2001-12-05  Juergen Vigna  <jug@sad.it>
13522
13523         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13524         set the right font on the "multi" paragraph paste!
13525
13526 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * trans_decl.h:
13529         * trans_mgr.[Ch]:
13530         * trans.[Ch]:
13531         * lyxgluelength.C:
13532         * lyxlength.C: remove out-commented code.
13533
13534         * BufferView_pimpl:
13535         * CutAndPaste.C:
13536         * DepTable.C:
13537         * buffer.C:
13538         * chset.C:
13539         * lastfiles.C:
13540         * lyxlex.C:
13541         * lyxlex_pimpl.C:
13542         * lyxserver.C:
13543         * screen.C:
13544         * tabular-old.C:
13545         * tabular.C:
13546         * text.C:
13547         * trans_mgr.C:
13548         * vc-backend.C: change "while(" to "while ("
13549
13550         * lyxlength.[Ch]: add zero function to check if length is zero or
13551         not
13552         * lyxgluelength.C: use it
13553
13554 2001-12-05  Allan Rae  <rae@lyx.org>
13555
13556         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13557         Works for 2.95.3, from what I understand of Garst's reports this should
13558         work for other g++ versions.  We're screwed if the abs(int) definition
13559         changed between bugfix releases of gcc.
13560
13561 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * text.C: fix chapter label offset !
13564
13565 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * lyxtext.h:
13568         * text.C: fix hfill at end of line, clean up
13569
13570 2001-12-04  Juergen Vigna  <jug@sad.it>
13571
13572         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13573         that we force an update of the inset and it's owners if neccessary.
13574
13575 2001-12-03  Juergen Vigna  <jug@sad.it>
13576
13577         * text.C (rowLast): simplified code
13578
13579 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13580
13581         * lyxfunc.C: fix show options on timeout
13582
13583 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13584
13585         * screen.C (topCursorVisible): scroll half a page when the cursor
13586         reached top of bottom of screen
13587
13588 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * minibuffer.C: deactivate on loss of focus
13591
13592 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13593
13594         * vspace.[Ch] (operator!=): add operator.
13595
13596 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * BufferView_pimpl.C: refuse to open an inset when
13599         there's a selection.
13600
13601 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * BufferView_pimpl.C: allow to click on RHS of full row insets
13604
13605 2001-11-30  Juergen Vigna  <jug@sad.it>
13606
13607         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13608         insets for undo reasons.
13609
13610 2001-11-28  André Pönitz <poenitz@gmx.net>
13611
13612         * vspace.[Ch]: cosmetical changes
13613
13614 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * LyXAction.h:
13617         * LyXAction.C:
13618         * lyxfunc.h:
13619         * lyxfunc.C:
13620         * kbmap.h:
13621         * kbmap.C:
13622         * lyxrc.C:
13623         * kbsequence.h:
13624         * kbsequence.C: part re-write of old kb code
13625
13626         * Painter.C:
13627         * WorkArea.C: remove Lgb_bug_find_hack
13628
13629 2001-11-30  José Matos <jamatos@fep.up.pt>
13630
13631         * buffer.C (makeDocBookFile): add a comment to point a hack.
13632         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13633         Fixed a double write of labels.
13634
13635 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13636
13637         * LaTeX.C:
13638         * LaTeX.h Fixed bug in LaTeX class where it would not
13639         re-run latex if no depfiles were changed, but the .dvi was removed.
13640
13641 2001-11-28  André Pönitz <poenitz@gmx.net>
13642
13643         * all the files from the change on 2001/11/26:
13644         use lyx::layout_type instead of LyXTextClass::size_type
13645         use lyx::textclass_type instead of LyXTextClassList::size_type
13646
13647 2001-11-29  Juergen Vigna  <jug@sad.it>
13648
13649         * text.C: added support for paragraph::isFreeSpacing()
13650
13651         * buffer.C: same as above
13652
13653         * paragraph.h: inserted isFreeSpacing() function to enable
13654         FreeSpacing inside InsetERT.
13655
13656         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13657         of the paragraph's in the cut/copy buffer to 0!
13658
13659         * text2.C (removeRow): remove the assert as it can!
13660
13661         * lyxtext.h: added helper function firstRow returning firstrow and
13662         made firstrow private again.
13663
13664         * BufferView2.C (lockInset): don't relock if we're already locked!
13665
13666         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13667         the only paragraph.
13668         (removeRow): added Assert::(firstrow)
13669
13670         * debug.C: forgot to add INSETTEXT here.
13671
13672 2001-11-28  Juergen Vigna  <jug@sad.it>
13673
13674         * sp_spell.C (initialize): changed error text to more general
13675         spellchecker command use (not only ispell!)
13676
13677         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13678
13679         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13680
13681 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * vspace.C: initialise lyxgluelength on failure
13684
13685 2001-11-28  Allan Rae  <rae@lyx.org>
13686
13687         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13688         declaration & definition that looks like a function declaration.
13689
13690 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * BufferView2.C (copy):
13693         (copyEnvironment): do not clear the selection when doing a copy.
13694
13695         * text.C (paintFirstRow): compilation fix
13696
13697 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13698
13699         * tabular.C (Latex): correct line count when writing latex.
13700
13701 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * paragraph_pimpl.h:
13704         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13705           bug a bit
13706
13707 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13708
13709         * text.C:
13710         * LColor.h:
13711         * LColor.C: change vfillline->added_space
13712
13713         * text.C: add markers and text for added space
13714
13715         * vspace.C: fix comment
13716
13717 2001-11-28  André Pönitz <poenitz@gmx.net>
13718
13719         * paragraph.C: whitespace changes
13720         * all the other files from the change on 2001/11/26:
13721         change *::pos_type into lyx::pos_type
13722
13723 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13724
13725         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13726         language of the document when inserting error insets.
13727
13728 2001-11-26  André Pönitz <poenitz@gmx.net>
13729
13730         * BufferView_pimpl.[Ch]:
13731         *       CutAndPaste.C:
13732         * buffer.[Ch]:
13733         * lyxcursor.[Ch]:
13734         * lyxfind.C:
13735         * lyxfunc.C:
13736         * lyxrow.[Ch]:
13737         * paragraph.[Ch]:
13738         * paragraph_pimpl.[Ch]:
13739         * sp_spell.C:
13740         * text.C:
13741         * text2.C: reduce header dependencies, introduce type for positions
13742
13743 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * <various>: change to use Alert.h
13746
13747 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13748
13749         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13750         when encountering an unknown token.
13751         (readLyXformat2): Show an error message if there were unknown tokens.
13752
13753 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13754
13755         * BufferView2.C:
13756         * BufferView_pimpl.C:
13757         * buffer.C:
13758         * paragraph.h:
13759         * text.C:
13760         * text2.C: use par->isInset()
13761
13762 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * paragraph_pimpl.h:
13765         * paragraph_pimpl.C: cleanup
13766
13767 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * text2.C (removeRow):
13770         * text.C (setHeightOfRow): remove useless (and costly) call to
13771         getRow.
13772
13773 2001-11-20  Allan Rae  <rae@lyx.org>
13774
13775         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13776         Now need Inset*::checkInsertChar() to return true for appropriate
13777         cases so that the characters in the minibuffer will actually be
13778         inserted.
13779
13780 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13781
13782         * text.C: change the order of the includes.
13783         (workWidth): initialize it at once.
13784         (workWidth): make maxw unsigned
13785         (setHeightOfRow): remove unused variable (inset)
13786         (selectSelectedWord): remove unused variable (inset)
13787         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13788
13789 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13792         server is not running.
13793         (openConnection):
13794         (closeConnection): add debug info when server is disabled.
13795
13796         * ColorHandler.C (getGCForeground): send debug message to GUI
13797         channel.
13798
13799         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13800
13801         * kbmap.C (bind): modify because return conventions of
13802         kb_sequence::parse have changed.
13803
13804         * kbsequence.C (parse): only ignore spaces and not any stupid
13805         control character. This avoids tests like s[i] <= ' ', which are
13806         guaranteed to fail with 8bit characters and signed chars.
13807         Change return code to string::npos when there have been no error
13808         (0 was a bad idea when error is at first character)
13809
13810 2001-11-14  José Matos  <jamatos@fep.up.pt>
13811
13812         * buffer.h:
13813         * buffer.C (simpleDocBookOnePar): removed unused argument.
13814
13815 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13816
13817         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13818         insets which are part of a word. Paragraph::isLetter takes care of
13819         that now. Use Paragraph::isInset to identify insets.
13820         (selectSelectedWord): do not test for hyphenation break.
13821
13822         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13823         that protected spaces are considered as spaces.
13824
13825         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13826         Inset::isLetter.
13827
13828 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13829
13830         * lyxserver.h:
13831         * lyxserver.C: fix it. and small cleanup.
13832
13833 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13834
13835         * BufferView_pimpl.C: use inline helpers
13836
13837         * LaTeXFeatures.h:
13838         * LaTeXFeatures.C: fix typos
13839
13840         * Spacing.h:
13841         * Spacing.C: move spacing_string into class
13842
13843         * ToolbarDefaults.C: move stuff into namespace anon
13844
13845         * layout.h: update enum
13846
13847         * lyxfunc.C: use better debug
13848
13849         * minibuffer.h: fix typo
13850
13851         * debug.h:
13852         * debug.C:
13853         * WorkArea.C: add and use Debug::WORKAREA
13854
13855         * lyxtext.h:
13856         * text.C:
13857         * text2.C: code re-organisation, inline helpers
13858
13859 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13860
13861         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13862         std::vector.empty().
13863
13864 2001-11-09  Allan Rae  <rae@lyx.org>
13865
13866         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13867         '\n's after tables.  Tabular and ERT inset work now makes this no
13868         longer necessary.
13869
13870 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * minibuffer.h:
13873         * minibuffer.C: fix crash, improve drop-down completion
13874
13875 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13876
13877         * lyxserver.h:
13878         * lyxserver.C: invalidate fd's when doing endPipe()
13879
13880 2001-11-08  José Matos  <jamatos@fep.up.pt>
13881
13882         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13883         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13884
13885         * paragraph.h:
13886         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13887
13888 2001-11-07  José Matos  <jamatos@fep.up.pt>
13889
13890         * buffer.h:
13891         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13892         const qualifier.
13893
13894         * buffer.C (sgmlOpenTag):
13895         * buffer.C (sgmlCloseTag): removed debug info.
13896
13897         * buffer.h (sgmlOpenTag):
13898         * buffer.h (sgmlCloseTag): made public.
13899
13900 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * buffer.C (saveParamsAsDefaults):
13903         * lyx_cb.C (MenuLayoutSave): remove
13904
13905         * LyXAction.C (init):
13906         * commandtags.h:
13907         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13908
13909 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * buffer.C (setPaperStuff): removed from here...
13912
13913         * bufferparams.C (setPaperStuff): ... and moved there.
13914
13915 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13916
13917         * minibuffer.h:
13918         * minibuffer.C:
13919         * XFormsView.C: add support for drop-down completion
13920
13921 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13922
13923         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13924         commands.
13925
13926 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13927
13928         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13929         disabled.
13930
13931 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13932
13933         * lyx_main.C: change ref to known bugs
13934
13935 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13936
13937         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13938         to work around older babel problems.
13939
13940 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13941
13942         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13943
13944 2001-10-24  Juergen Vigna  <jug@sad.it>
13945
13946         * tabular-old.C (ReadOld): below variable changes reflected.
13947
13948         * tabular.[Ch]: added ltType struct for longtable header/footer
13949         defines and changed all instances where they are used. Added
13950         future support for double top/bottom rows.
13951
13952 2001-10-24  José Matos  <jamatos@fep.up.pt>
13953
13954         * buffer.h (docbookHandleCaption):
13955         * buffer.C (docbookHandleCaption): removed unused function.
13956         (makeDocBookFile): moved docbook supported version to v4.1.
13957
13958 2001-10-24  José Matos  <jamatos@fep.up.pt>
13959
13960         * tabular.h:
13961         * tabular.C (docbookRow): new function to export docbook code of a row.
13962         (DocBook): now honors the longtable flags.
13963
13964 2001-10-23  José Matos  <jamatos@fep.up.pt>
13965
13966         * LaTeXFeatures.h:
13967         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13968         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13969
13970         * buffer.C (makeLinuxDocFile):
13971         (makeDocBookFile): reworked the preamble, more clean, and with
13972         support for lyx defined entities. Changed the document declaration
13973         to be more XML friendly.
13974
13975         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13976         if we need to output XML that should be done with a filter.
13977
13978 2001-10-22  Juergen Vigna  <jug@sad.it>
13979
13980         * sp_pspell.h (class PSpell): add alive function needed in the
13981         controller to see if the spellchecker could be started.
13982
13983 2001-10-22  Juergen Vigna  <jug@sad.it>
13984
13985         * buffer.C (insertStringAsLines): modify the font for inserting
13986         chars in certain conditions by calling checkInsertChar(font).
13987
13988 2001-10-19  Juergen Vigna  <jug@sad.it>
13989
13990         * text.C (workWidth): use getRow instead of wrong algorithm.
13991         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13992
13993 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13994
13995         * lyxserver.h:
13996         * lyxserver.C:
13997         * lyx_main.h:
13998         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13999
14000 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14001
14002         * text.C (workWidth): do not search for the exact row when
14003         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14004         optimization for big documents.
14005
14006 2001-10-18  Juergen Vigna  <jug@sad.it>
14007
14008         * text.C (workWidth): new function with added Inset * parameter.
14009
14010 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14011
14012         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14013
14014         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14015         change return type of getColumnNearX.
14016
14017
14018         * text.C (changeRegionCase): use uppercase/lowercase instead of
14019         toupper/tolower.
14020         (leftMargin):
14021         (rightMargin): simplify code by factoring out the uses of
14022         textclasslist.
14023         (labelFill):
14024         (numberOfHfills):
14025         (setHeightOfRow):
14026         (appendParagraph): use Paragraph::size_type
14027
14028 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * vspace.C (asLatexString): add a missing break
14031
14032 2001-10-15  Herbert Voss  <voss@perce.de>
14033
14034         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14035
14036 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14039         is not available.
14040
14041 2001-10-10  André Pönitz <poenitz@gmx.net>
14042
14043         * lyxfunc.C: removed greek_kb_flag.
14044
14045 2001-10-10  Herbert Voss  <voss@perce.de>
14046
14047         * lyx_main.C: delete global string help_lyxdir.
14048
14049 2001-10-09  Herbert Voss  <voss@perce.de>
14050
14051         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14052
14053         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14054
14055         * lyx_main.C: added global string help_lyxdir.
14056
14057         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14058
14059 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14060
14061         * lyxrc.C (set_font_norm_type): support iso8859-4
14062
14063 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14064
14065         * LaTeX.C (deplog): add another regex for MikTeX
14066
14067 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14068
14069         * lyxrc.C (set_font_norm_type): support iso8859-3
14070
14071 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14074
14075         * LaTeXFeatures.C: remove special case of french and index
14076
14077         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14078         before \begin{document}). This solves several incompatibilities.
14079
14080 2001-10-03  Garst Reese  <reese@isn.net>
14081
14082         * lyx_cb.C: change CheckTex error msg.
14083
14084 2001-10-03  José Matos  <jamatos@fep.up.pt>
14085
14086         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14087
14088 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14089
14090         * .cvsignore: update
14091
14092         * lyx_main.C (commandLineVersionInfo): use new style version info.
14093
14094         * buffer.C (writeFile):
14095         (makeLaTeXFile):
14096         (makeLinuxDocFile):
14097         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14098
14099         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14100
14101         * version.h: update to use stuff in version.C
14102
14103         * version.C.in: new file. Contains version information determined
14104         at compile time. This is a merging of version.h and
14105         version_info.h.in.
14106
14107 2001-10-03  Juergen Vigna  <jug@sad.it>
14108
14109         * BufferView_pimpl.C (update): don't change "dirty" status in
14110         updateInset call.
14111
14112 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * WorkArea.C (c-tor): re-position version string slightly.
14115
14116 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14117
14118         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14119         revert to previous code.
14120
14121         WorkArea.[Ch]: (show, destroySplash): methods removed.
14122
14123         WorkArea.C: rework code so that it's an amalgam of the codes before and
14124         after the splash screen was moved to WorkArea.
14125
14126 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14127
14128         * lyxrc.C (read):
14129         * vspace.C (inPixels):
14130         (lyx_advance):
14131         * kbmap.C (bind):
14132         * buffer.C (insertStringAsLines):
14133         (asciiParagraph): fix types to be large enough
14134
14135         * lyxlex_pimpl.h: change member status from short to int
14136
14137         * layout.h: fix type of endlabeltype
14138
14139         * kbmap.C (bind):
14140         * kbsequence.C (parse): change return type to string::size_type
14141
14142         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14143         variable
14144
14145         * Bullet.C (bulletSize):
14146         (bulletEntry): do not use short ints as parameters
14147
14148         * BufferView2.C (insertLyXFile): change a char to an int.
14149
14150         * WorkArea.C (WorkArea): remove unneeded floats in computation
14151
14152 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14153
14154         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14155
14156         * paragraph.C (asString): Do not ignore newline/hfill chars when
14157         copying to the clipboard.
14158
14159 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14160
14161         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14162         after a multi-line inset.
14163
14164 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14165
14166         * paragraph.C (validate): Set NeedLyXFootnoteCode
14167
14168 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14169
14170         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14171         and decrease-error to decrease.
14172
14173 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14174
14175         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14176         it more readable (should be equivalent)
14177
14178 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14179
14180         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14181
14182 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14185         of a cursor (row, etc.) after a character has been deleted
14186         (deleteEmptyParagraphMechanism): call the method above on _all_
14187         cursors held by the LyXText when a double space has been
14188         detected/deleted.
14189
14190 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14193         pixmap.
14194         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14195
14196         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14197         background. Use greyOut() and the new show() methods to toggle between
14198         the foreground and background. Add code to remove the splash after
14199         its initial showing.
14200
14201         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14202         (create_forms): no longer call Dialogs::showSplash.
14203
14204 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14205
14206         * .cvsignore: add version_info.h
14207
14208 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * version_info.h.in: new file
14211
14212         * Makefile.am: add version_info.h.in
14213
14214         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14215         version_info.h instead of VERSION_INFO
14216
14217 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14218
14219         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14220         The ERT inset now returns string().
14221
14222 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14223
14224         * lyxtext.h, text.C (selectNextWord): renamed as
14225         selectNextWordToSpellcheck.
14226
14227         * text.C (selectNextWordToSpellcheck): Modified to not select
14228         words inside an ERT inset.
14229
14230 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * lyx_cb.C (MenuLayoutSave): change a bit the question
14233
14234         * sp_base.h: include <sys/types.h>
14235
14236 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14237
14238         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14239
14240 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14241
14242         * several files: fix typos in user-visible strings
14243
14244 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14245
14246         * text2.C (pasteSelection): do not set the selection, since it
14247         will be cleared later. Actually, the intent was to fix the way the
14248         selection was set, but I figured rmoving the code was just as good.
14249
14250 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14251
14252         * FontLoader.C (available): Check if font is available without
14253         loading the font.
14254
14255 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14256
14257         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14258
14259 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14260
14261         * lyxrc.[Ch]: added display_graphics variable and associated code.
14262
14263 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14264
14265         * bufferparams.C (hasClassDefaults): new method. Returns true if
14266         the buffer parameters correspond to known class defaults
14267
14268 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14269
14270         * XFormsView.C (show): set minimum size to the main window.
14271
14272 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14273
14274         * text2.C (copySelection):
14275         (cutSelection):
14276         * lyxfind.C (LyXReplace):
14277         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14278         LyXText::selectionAsString.
14279
14280         * paragraph.C (asString): add "label" argument to the second form
14281
14282         * text2.C (selectionAsString): add "label" argument and pass it to
14283         Paragraph::asString.
14284
14285 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * lyx_main.C (commandLineHelp): remove version information
14288
14289 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14290
14291         * lyx_main.C: add -version commandline option
14292
14293 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14294
14295         * paragraph.h: make the optional constructor arg required instead.
14296         some modifications to other files because of this.
14297
14298         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14299
14300         * lyxserver.C (C_LyXComm_callback): make it static
14301
14302         * lyx_main.C (error_handler): make it static
14303
14304         * lyx_gui.C (LyX_XErrHandler): make it static
14305
14306         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14307
14308         * WorkArea.C: make the extern "C" methods static.
14309
14310         * Makefile.am (lyx_LDADD): simplify
14311
14312 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14313
14314         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14315         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14316
14317         * LyXAction.C (init):
14318         * lyxfunc.C (dispatch): associated code removal.
14319
14320 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * lyxfont.h (isSymbolFont): shut off warning
14323
14324         * text.C (setHeightOfRow):
14325         (getVisibleRow): fix crash with empty paragraphs which have a
14326         bottom line
14327
14328 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14329
14330         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14331         code.
14332
14333 2001-09-04  José Matos  <jamatos@fep.up.pt>
14334         * buffer.C
14335         * buffer.h
14336         * tabular.C (docbook): rename docBook method to docbook.
14337
14338 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14339
14340         * Makefile.am: add dependencies to main.o.
14341
14342 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14343
14344         * FontLoader.C (available): Return false if !lyxrc.use_gui
14345
14346 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14347
14348         * FontInfo.C (query):
14349         * converter.C (view):
14350         * importer.C (Import):
14351         * exporter.C (Export): Can not -> cannot.
14352
14353 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14354
14355         * BufferView_pimpl.C: allow to create index inset even if
14356           string is empty
14357
14358 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14359
14360         * buffer.C (getLists): replace boost::tie code with an explicit pair
14361         as boost::tie can break some compilers.
14362
14363         * iterators.h: Added a std:: declaration to the return type of
14364         ParIterator::size.
14365
14366 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14369           case.
14370
14371 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14372
14373         * iterators.[Ch]: New files. Provide paragraph iterators.
14374
14375         * buffer.C (changeLanguage): Use paragraph iterators.
14376         (isMultiLingual): ditto
14377
14378         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14379
14380 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * FontLoader.C: Support for cmr font.
14383
14384 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14385
14386         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14387         (available): New method.
14388
14389         * FontInfo.C (getFontname): Use scalable fonts even when
14390         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14391         found.
14392
14393 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14394
14395         * converter.C (Formats::view): reverted! Incorrect fix.
14396
14397 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * converter.C (Formats::view): only output the -paper option
14400         if the dvi viewer is xdvi, thereby fixing bug #233429.
14401
14402 2001-08-23  Herbert Voss  <voss@perce>
14403
14404         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14405
14406 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14407
14408         * Spacing.h (Spacing): Set space to Default on in the default
14409         constructor.
14410
14411 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * vc-backend.h (RCS::versionString): add RCS to version
14414         (CVS::versionString): add CVS to version
14415
14416         * vc-backend.C (scanMaster): do not add CVS to version.
14417         (scanMaster): do not add RCS to version
14418
14419         * lyxvc.C (versionString): new method
14420
14421         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14422
14423 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14424
14425         * Spacing.C (set): initialize fval
14426
14427 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14428
14429         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14430         " or \.
14431
14432 2001-08-16  Juergen Vigna  <jug@sad.it>
14433
14434         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14435
14436 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * BufferView_pimpl.C:
14439         * figureForm.C:
14440         * lyxtext.h:
14441         * text2.C: setParagraph takes linespacing now
14442
14443 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14444
14445         * LyxAction.C: add internal LFUN_CITATION_INSERT
14446
14447         * LyXView.C: actually apply fix
14448
14449         * bufferlist.C: fix open non-existent file
14450
14451         * lyxfind.C: fix indentation
14452
14453         * lyxfunc.C: remove unneeded assert, fix typo
14454
14455 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14456
14457         * MenuBackend.C: use "Floatname List"
14458
14459 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14460
14461         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14462         when converting LaTeX layout to insetERT.
14463         Generate a non-collapsed float when reading old float
14464
14465 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14466
14467         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14468         ERT insets.
14469
14470 2001-08-13  Juergen Vigna  <jug@sad.it>
14471
14472         * text.C (fill): return 0 instead of 20 as this seems to be the more
14473         correct value.
14474
14475 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14476
14477         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14478         lyxrc.font_norm.
14479
14480 2001-08-13  Juergen Vigna  <jug@sad.it>
14481
14482         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14483         casesensitive off.
14484         (SearchBackward): comment out the unlocking of the inset_owner this
14485         should not be needed!
14486
14487 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14488
14489         * Many files: Remove inherit_language, and add latex_language
14490
14491         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14492         collapsible insets.
14493
14494 2001-08-10  Juergen Vigna  <jug@sad.it>
14495
14496         * text.C (prepareToPrint): fixed hfill-width in draw!
14497
14498         * BufferView2.C (selectLastWord): save the selection cursor as this
14499         now is cleared in the function LyXText::clearSelection!
14500
14501 2001-08-08  Juergen Vigna  <jug@sad.it>
14502
14503         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14504         BACKSPACE type functions.
14505
14506         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14507         is only cutted from the document but not put in the cut-buffer, where
14508         still the old stuff should be.
14509
14510         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14511
14512         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14513
14514         * tabular.C (SetWidthOfCell): fixed special case where the width
14515         was not updated!
14516         (LeftLine): handle '|' in align_special.
14517         (RightLine): ditto
14518         (LeftAlreadyDrawed): ditto
14519         (SetWidthOfCell): ditto
14520
14521 2001-08-07  Juergen Vigna  <jug@sad.it>
14522
14523         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14524
14525 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14526
14527         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14528         * lyxlex.[hC]: ditto
14529
14530 2001-08-06  Juergen Vigna  <jug@sad.it>
14531
14532         * text.C (getVisibleRow): fix up row clearing a bit.
14533
14534 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * minibuffer.C: make sure the X server sees the changes in the input.
14537
14538 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * paragraph.C (getFont): split into...
14541         (getLabelFont): this
14542         (getLayoutFont): and this
14543         * paragraph_pimpl.C (realizeFont): calling this
14544
14545         * text2.C (getFont): split into...
14546         (getLayoutFont): this
14547         (getLabelFont): and this
14548         (realizeFont): all three calling this
14549
14550         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14551         files where used.
14552
14553 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14554
14555         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14556
14557 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14558
14559         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14560         layouts from the Quote inset insertion.
14561
14562 2001-08-03  Juergen Vigna  <jug@sad.it>
14563
14564         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14565
14566         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14567         only if status not is already CHANGED_IN_DRAW (second level).
14568
14569         * text.C (draw): don't set the need_break_row when inside an
14570         InsetText LyXText.
14571
14572 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14573
14574         * buffer.C (parseSingleLyXformat2Token): handle more latex
14575         conversion cases.
14576
14577         * bufferview_funcs.[hC]: change function names to
14578         begin with small char, adjust other files.
14579
14580 2001-08-02  André Pönitz <poenitz@gmx.net>
14581
14582         * lyxfunc.C:
14583         BufferView_pimpl.C: remove broken special code for math-greek
14584
14585 2001-08-02  Juergen Vigna  <jug@sad.it>
14586
14587         * BufferView_pimpl.C (update): redone this function so that we
14588         update the text again if there was a CHANGE_IN_DRAW.
14589
14590         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14591         (drawFromTo): added a new internal bool which is used by draw() and
14592         redraw() function.
14593         (general): some cursor drawing problems fixed.
14594
14595 2001-08-01  Juergen Vigna  <jug@sad.it>
14596
14597         * lyxfind.C (LyXFind): fixed
14598         (SearchForward): ditto
14599         (SearchBackward): ditto
14600
14601         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14602         spurius drawing of the cursor in the main area.
14603
14604         * text2.C (status): small fix which could lead to a segfault!
14605         (clearSelection): remove unneeded BufferView param.
14606
14607 2001-08-01  André Pönitz <poenitz@gmx.net>
14608
14609         * lyxfunc.C: small change due to changed mathed interface
14610
14611 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14614
14615 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * lyxfunc.c: fail gracefully if file doesn't exist
14618
14619         * LyXSendto.C:
14620         * buffer.C:
14621         * lyxfunc.C:
14622         * BufferView_pimpl.C: IsDirWriteable() proto changed
14623
14624         * LyXView.C: fix updateWindowTitle() to store the last title
14625
14626 2001-07-31  Juergen Vigna  <jug@sad.it>
14627
14628         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14629         the font (wrong since using of Paragraph::highestFontInRange).
14630
14631         * paragraph.C (highestFontInRange): added a default_size parameter.
14632
14633         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14634         (setHeightOfRow): reformat
14635
14636 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14637
14638         * converter.[hC] + affected files: move to (inital-char)lowercase
14639         function names.
14640
14641         * ParagraphParameters.C (ParagraphParameters): remove commented code
14642
14643         * PainterBase.[Ch]: remove commented code
14644
14645         * LaTeXFeatures.h: add "bool floats" for float.sty
14646
14647         * LaTeXFeatures.C (LaTeXFeatures): init floats
14648         (require): handle float
14649         (getPackages): do it with floats
14650
14651 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * BufferView_pimpl.C (Dispatch): improve handling of
14654         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14655
14656         * commandtags.h: #include lyxfont.h here temporarily to avoid
14657         keybinding bug.
14658
14659         * bufferlist.h: include LString.h here.
14660
14661 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * text2.C (getStringToIndex): new method.
14664
14665 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14666
14667         * *: Reduced header file dependencies all over.
14668
14669 2001-07-30  Baruch Even  <baruch@lyx.org>
14670
14671         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14672
14673 2001-07-29  Baruch Even  <baruch@lyx.org>
14674
14675         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14676
14677 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * ParameterStruct.h (endif): add a default constructor to make
14680         sure that all variables is initialized.
14681
14682         * ParagraphParameters.C (ParagraphParameters): adjust
14683
14684 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14685
14686         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14687         index; also, check that there is something to index, and that it
14688         does not span over several paragraphs.
14689         (doubleClick): use WHOLE_WORD_STRICT for double click.
14690
14691         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14692
14693         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14694         scheme.
14695
14696 2001-07-26  Baruch Even  <baruch@lyx.org>
14697
14698         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14699         an InsetFig figure, backwards compatible reading of old figure code.
14700
14701 2001-07-27  Juergen Vigna  <jug@sad.it>
14702
14703         * text2.C: font.realize function adaption.
14704
14705         * text.C (draw): add a warnings lyxerr text if needed.
14706
14707         * layout.C: font.realize function adaption.
14708
14709         * language.C: add inherit_language and implement it's handlings
14710
14711         * bufferview_funcs.C (StyleReset): remove language parameter from
14712         font creation (should be language_inherit now).
14713
14714         * bufferparams.C (writeFile): handle ignore_language.
14715
14716         * paragraph.C (getFontSettings): the language has to be resolved
14717         otherwise we have problems in LyXFont!
14718
14719         * lyxfont.C (lyxWriteChanges): added document_language parameter
14720         (update): removed unneeded language parameter
14721
14722         * paragraph.C (validate): fixed wrong output of color-package when
14723         using interface colors for certain fonts in certain environments,
14724         which should not seen as that on the final output.
14725
14726 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14727
14728         * BufferView_pimpl.C:
14729         * Thesaurus.h:
14730         * Thesaurus.C:
14731         * Makefile.am:
14732         * commandtags.h:
14733         * LyXAction.C: add thesaurus support
14734
14735         * lyxfind.h:
14736         * lyxfind.C: add "once" parameter, for thesaurus, to not
14737           move to the next match
14738
14739 2001-07-26  Juergen Vigna  <jug@sad.it>
14740
14741         * lyxfont.C (realize): honor ignore_language too!
14742         (resolved): ditto.
14743
14744         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14745
14746         * text.C (draw): one place more for ignore_language to not draw
14747         itself!
14748
14749 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14750
14751         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14752
14753 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14754
14755         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14756         the minipage conversion problem.
14757
14758 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14761         insert an inset.
14762
14763 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14764
14765         * BufferView.h: don't forward declare WorkArea
14766
14767         * BufferView.C: don't include WorkArea.h
14768
14769 2001-07-25  André Pönitz <poenitz@gmx.net>
14770
14771         * commandtags.h:
14772         * LyXAction.C:
14773         * lyxfunc.C:  new LFUN 'math-space'
14774
14775         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14776
14777 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14778
14779         * text2.C (toggleInset): call open/close
14780
14781 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14782
14783         * lyxfunc.C (dispatch): add debug for the disabled case
14784
14785         * font.C (buttonText): make similar to rectText
14786
14787         * buffer.C (readInset): comment out parsing of insetlist and
14788         insttheorem
14789
14790         * PainterBase.C (rectText): small correction
14791
14792         * BufferView_pimpl.C: comment out insettheorem and insetlist
14793         * LyXAction.C: ditto
14794         * commandtags.h: ditto
14795
14796 2001-07-24  Juergen Vigna  <jug@sad.it>
14797
14798         * text.C (draw): honor the ignore_language.
14799
14800         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14801
14802 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14805         char inset.
14806
14807 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14808
14809         * lyxtext.h: remove unused (and unimplemented) methods
14810
14811 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14812
14813         * text.C (getVisibleRow): honor background color
14814
14815         * PainterBase.h:
14816         * Painter.h: remove default color argument for fillRectangle
14817
14818         * text.C (backgroundColor): new method
14819
14820 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * text.C (getVisibleRow): adjust
14823
14824         * font.[Ch] (rectText): new method, metrics
14825         (buttonText): new method, metrics
14826
14827         * PainterBase.[hC]: make rectText and buttonText always draw and take
14828         fewer paramteres.
14829
14830 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14831
14832         * ToolbarDefaults.C (read):
14833         * MenuBackend.C (read): allow escaping in all strings
14834
14835         * BufferView_pimpl.C (insertAndEditInset): new method.
14836         (Dispatch): use insertAndEditInset whenever appropriate.
14837
14838         * BufferView_pimpl.C (insertNote): removed
14839
14840         * BufferView_pimpl.C (smartQuote): new method, moved from
14841         BufferView; if an insetquote cannot be inserted, insert a '"'
14842         character instead.
14843
14844         * BufferView2.C: remove insertCorrectQuote();
14845
14846         * lyxfunc.C (getStatus): Add support for all remaingin
14847         inset-insert lfuns.
14848
14849         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14850
14851         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14852         command (necessary to pass " as parameter of self-insert.
14853
14854         * text.C (selectWordWhenUnderCursor):
14855         (selectWord): add word_location parameter
14856         (selectWordWhenUnderCursor): same + remove special code for word
14857         boundary.
14858         (selectNextWord): use kind() to guess type of insetspecialchar,
14859         not latex().
14860
14861         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14862         (insertErtContents): create ert insets as collapsed.
14863         (readInset): better compatibility code for Info inset.
14864
14865 2001-07-20  Juergen Vigna  <jug@sad.it>
14866
14867         * lyxfunc.C (dispatch): use always LyXFind now!
14868
14869         * text2.C (init): add a reinit flag so that the LyXText can be
14870         reinited instead of deleted and reallocated (used in InsetText).
14871
14872         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14873
14874         * text.C: ditto
14875
14876         * text2.C: ditto
14877
14878 2001-07-18  Juergen Vigna  <jug@sad.it>
14879
14880         * text.C (selectNextWord): handle insets inside inset by calling
14881         always the bv->text functions so that we can go up the_locking_inset!
14882
14883         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14884         in strange locations when inside an inset!
14885
14886         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14887         handling to include insets.
14888
14889         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14890
14891 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * LyXAction.C (init):
14894         * commandtags.h:
14895         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14896         LIGATURE_BREAK, since the name is so stupid.
14897
14898 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14899
14900         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14901         InsetInfos.
14902
14903         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14904
14905         * sp_form.[Ch]: remove.
14906
14907         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14908
14909         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14910         InsetInfo.
14911
14912         * src/buffer.C (readInset): ditto.
14913
14914 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14915
14916         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14917         menuSeparator(), endOfSentenceDot(), ldots() and
14918         hyphenationPoint(), which are therefore removed.
14919         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14920
14921         * LyXAction.C (init):
14922         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14923
14924         * paragraph.C (getWord): removed.
14925
14926         * BufferView_pimpl.C (Dispatch): use last word or selection for
14927         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14928
14929         * lyx_main.C (queryUserLyXDir): do not ask before creating
14930         user_dir, except if it has been named explicitely.
14931
14932 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14933
14934         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14935         a document of zero size.
14936
14937 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14938
14939         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14940         approriately in the c-tor and in require().
14941         (getPackages): output the appropriate LaTeX for natbib support.
14942
14943         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14944         variables "use_natbib" and "use_numerical_citations" when reading the
14945         LyX file.
14946         (readInset): read the various natbib cite commands.
14947         (validate): white-space change.
14948
14949         * bufferparams.[Ch]: new variables "bool use_natbib" and
14950         "bool use_numerical_citations".
14951         (writeFile): output them in the LyX file.
14952
14953 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14954
14955         * lyxfunc.C (getStatus): add support for all the inset insertion
14956         commands.
14957
14958         * text2.C (insertInset):
14959         * paragraph.C (insetAllowed):
14960         * BufferView_pimpl.C (insertInset): update to take in account the
14961         renaming of insertInsetAllowed
14962
14963         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14964
14965         * text2.C (getInset): new method. returns inset at cursor position.
14966
14967         * BufferView_pimpl.C (Dispatch): changes because of this.
14968
14969         * LyXAction.C (init): rename open-stuff to inset-toggle.
14970
14971         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14972
14973         * text2.C (toggleInset): renamed from openStuff; use
14974         Inset::open().
14975
14976 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14977
14978         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14979
14980         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14981
14982 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14983
14984         * buffer.C (readLyXformat2): Add filename to the error dialog
14985
14986 2001-07-18  Juergen Vigna  <jug@sad.it>
14987
14988         * tabular.C (GetCellNumber): put an assert here instead of the check!
14989
14990 2001-07-17  Juergen Vigna  <jug@sad.it>
14991
14992         * BufferView_pimpl.C (toggleSelection): adapted too.
14993
14994         * text.C (selectNextWord): adapted for use with insets.
14995         (selectSelectedWord): ditto
14996
14997 2001-07-17  Juergen Vigna  <jug@sad.it>
14998
14999         * sp_spell.C (PSpell): fix initialitation order.
15000
15001 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * paragraph.C: spacing
15004
15005 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15006
15007         * sp_spell.C: repair language selection for pspell
15008
15009 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15010
15011         * lyxfunc.h: change more methods to begin with lower char.
15012
15013 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15014
15015         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15016         for unknown layouts.
15017
15018 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15019
15020         * buffer.C (readLyXformat2): Generate an error dialog if there are
15021         unknown layouts.
15022
15023 2001-07-16  Juergen Vigna  <jug@sad.it>
15024
15025         * sp_spell.C: always compile ISpell part.
15026
15027         * lyxrc.C: added use_pspell entry and it's handling.
15028
15029 2001-07-13  Juergen Vigna  <jug@sad.it>
15030
15031         * sp_spell.C: removed double includes.
15032
15033 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15034
15035         Consistent use of Lsstream.h:
15036         * Lsstream.h: added using std::stringstream for consistencies sake.
15037
15038         * buffer.C: removed using std::stringstream
15039
15040         * lyxfont.C (stateText):
15041         * paragraph.C (asString):
15042         * text.C (selectNextWord, selectSelectedWord):
15043         * text2.C (setCounter):
15044         * vspace.C (asString, asLatexString):
15045         std::ostringstream -> ostringstream.
15046
15047 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15048
15049         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15050         * commandtags.h: add LFUN_HELP_ABOUTLYX
15051         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15052
15053 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15054
15055         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15056         cursorToggle()
15057         * lyx_gui_misc.C: remove spellchecker
15058         * lyxfunc.C: showSpellchecker
15059         * sp_base.h: added
15060         * sp_ispell.h: added
15061         * sp_pspell.h: added
15062         * sp_spell.C: added
15063         * sp_form.[Ch]: removed
15064         * spellchecker.[Ch]: removed
15065
15066 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15067
15068         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15069         is set.
15070         (simpleTeXSpecialChars): Simply print the input character without
15071         any special translation if pass_thru is set.
15072
15073         * layout.h: Added bool pass_thru to layout class for being able to
15074         implement pass through of a paragraph for Literate Programming.
15075
15076         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15077         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15078         * layout.C (Read): add "passthru" to list of layout tags and add
15079         code to set the pass_thru boolean when it is read.
15080
15081 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15082
15083         * trans_decl.h: remove allowed from KmodInfo
15084
15085         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15086         remove allowed code
15087         (Load): adjust
15088
15089         * paragraph_pimpl.C (erase): use boost::prior
15090
15091         * Painter.C (text): use data() instead of c_str() when length is
15092         also provided.
15093         * WorkArea.C (putClipboard): ditto
15094         * font.h (width): ditto
15095
15096         * BufferView2.C: use it-> instead of (*it). for iterators
15097         * texrow.C: ditto
15098         * paragraph_pimpl.C: ditto
15099         * paragraph.C: ditto
15100         * minibuffer.C: ditto
15101         * language.C: ditto
15102         * kbmap.C: ditto
15103         * encoding.C: ditto
15104         * counters.C: ditto
15105         * converter.C: ditto
15106         * chset.C: ditto
15107         * Variables.C: ditto
15108         * TextCache.C: ditto
15109         * MenuBackend.C: ditto
15110         * LyXAction.C: ditto
15111         * LColor.C: ditto
15112         * FloatList.C: ditto
15113         * DepTable.C: ditto
15114         * ColorHandler.C (LyXColorHandler): ditto
15115
15116 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15117
15118         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15119
15120         * text2.C (openStuff): reintroduce this method (which had been
15121         nuked in NEW_INSETS frenzy).
15122
15123         * lyxfunc.C (Dispatch): when an action has not been handled, use
15124         its name in the error message, not its number.
15125
15126         * paragraph.C (inInset): change method name to begin with lowercase.
15127
15128         * undo_funcs.C:
15129         * text2.C: updates because of this.
15130
15131 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15132
15133         * ToolbarDefaults.C (add): add spaces in error message
15134
15135 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15138         (readLyXformat2): rename return_par to first_par, use lyxlex's
15139         pushToken and remove the manual push handling.
15140         (parseSingleLyXformat2Token): add another ert comp. variable:
15141         in_tabular, rename return_par to first_par. handle newlines better
15142
15143 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15146
15147 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * text2.C (getParFromID): removed
15150
15151         * buffer.C (getParFromID): new method moved form lyxtext.
15152         * BufferView2.C (insertErrors): adjust
15153         (setCursorFromRow): adjust
15154         * BufferView_pimpl.C (restorePosition): adjust
15155         * lyxfunc.C (Dispatch): adjust
15156         * undo_funcs.C (textUndo): adjust
15157         (textRedo): adjust
15158         (textHandleUndo): adjust
15159         (textHandleUndo): adjust
15160
15161 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15162
15163         * buffer.C: up' the LYX_FORMAT
15164
15165         * lyxfont.h: turn NO_LATEX on as default
15166
15167         * buffer.C (insertErtContents): new methods of tex style compability.
15168         (parseSingleLyXformat2Token): use it several places.
15169         * tabular.C (OldFormatRead): and here
15170
15171 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15172
15173         * text2.C: remove some commented code.
15174         reindent file.
15175
15176         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15177         * trans.C: changes because of the above.
15178
15179 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15180
15181         * text2.C (setCounter): Fix counters bug with bibliography layout.
15182
15183 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15184
15185         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15186         own member functions
15187         (simpleTeXSpecialChars): ditto
15188
15189 2001-07-06  Juergen Vigna  <jug@sad.it>
15190
15191         * a lot of files: changed the access to LyXText::status and the
15192         call of undo-functions.
15193
15194         * undo.[Ch]: added a inset_id to the undo informations.
15195
15196         * undo_funcs.[Ch]: added and moved here all undo functions.
15197
15198         * lyxtext.h: give the status enum a weight, made status_ a private
15199         variable and made accessor functions for it, removed the whole bunch
15200         of undo-functions as they are now in their own file, make some
15201         functions publically available. Added function ownerParagraph with
15202         int parameter.
15203
15204         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15205         made InInset() a const function, added getParFromID() function.
15206
15207         * buffer.[Ch]: added const version for inset_iterator functions,
15208         added getInsetFromID() function.
15209
15210         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15211         changed undo functions for new version.
15212
15213 2001-07-05  Juergen Vigna  <jug@sad.it>
15214
15215         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15216         unknow mechanism does not call the proper constructor but only this
15217         one also if I request the other!?
15218
15219 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15222
15223         * text2.C (LyXText): use initialization lists.
15224
15225         * lyxtext.h (Selection): initialize set_ and mark_
15226         (init): remove method
15227
15228 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15229
15230         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15231
15232 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15233
15234         * screen.[Ch]: change method names to begin with lowercase
15235
15236         * BufferView_pimpl.C (updateScrollbar): simplify further and
15237         hopefully make it a bit faster.
15238
15239 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15240
15241         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15242         calling directly xforms functions.
15243
15244         * Painter.C (Painter):
15245         * lyx_cb.C (MenuWrite):
15246         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15247         fl_display.
15248
15249         * lyx_gui.C: remove bogus guiruntime extern declaration.
15250
15251 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15252
15253         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15254         in NEW_INSETS
15255         (redoDrawingOfParagraph): ditto
15256         (redoParagraphs): ditto
15257         (cutSelection): don't create a object for CutAndPaste use the
15258         static method directly
15259         (pasteSelection): ditto
15260
15261         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15262         LyXview (+ rename)
15263
15264 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15265
15266         * modifications to some other files because of this.
15267
15268         * Makefile.am (lyx_SOURCES): add XFormsView
15269
15270         * XFormsView.[Ch]: new files
15271
15272         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15273         the main window. Move the gui dependent stuff to XFormsView
15274
15275 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * tabular.C (GetCellInset): update cur_cell also in the row/col
15278         version of this function.
15279
15280         * lyxfunc.C: no need to include figure_form.h here.
15281
15282         * FontLoader.h:
15283         * lyxfunc.h:
15284         * lyxscreen.h:
15285         * text2.C:
15286         * lyxvc.C: no need to include forms.h here.
15287
15288 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15291
15292         * lyxfunc.C (Dispatch):
15293         * Spacing.C (set):
15294         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15295         constructor argument.
15296
15297 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15298
15299         * paragraph.C (Paragraph): dont't clear, and just set layout.
15300         (makeSameLayout): use params's copy contructor.
15301
15302         * ParagraphParameters.[Ch] (makeSame): delete method
15303
15304 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15305
15306         * Variables.[Ch]: fix indentation, rename set to isSet
15307
15308 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15309
15310         * lyxfunc.C (Dispatch): fix typo
15311
15312 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15315         upper_bound.
15316
15317         * bufferlist.C: include assert.h for emergencyWrite().
15318
15319 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15320
15321         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15322           give up at last (bug #425202) !
15323
15324 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15325
15326         * lyx_gui_misc.C:
15327         * sp_form.h:
15328         * sp_form.C:
15329         * spellchecker.h:
15330         * spellchecker.C: strip spellchecker options and bring up
15331           preferences tab instead
15332
15333 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15336         the istringstream constructor
15337
15338 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15339
15340         * paragraph.C (getLayout): fix return value
15341
15342         * paragraph.h: do not declare getLayout as inline.
15343
15344         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15345
15346 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15347
15348         * lyxcursor.h (operator<): new func
15349         (operator>): new func
15350         (operator>=): new func
15351         (operator<=): new func
15352
15353         * text.C (changeCase): use selection.start and selection.end
15354         (changeRegionCase): require from to be <= to. Require par to be a
15355         valid paragraph.
15356
15357         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15358
15359 2001-06-27  Juergen Vigna  <jug@sad.it>
15360
15361         * text.C (cursorLeftOneWord): changed to return the cursor and added
15362         overlay with BufferView * parameter which calls this one.
15363         (getWord): added
15364         (selectWord): use new getWord function.
15365         (changeCase): renamed from changeWordCase as and extended to work
15366         also on selections.
15367
15368         * lyxtext.h: added enum word_location
15369
15370         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15371         changeCase as this operates now also on selections.
15372
15373 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15374
15375         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15376
15377         * many files: send debug output to Debug::INFO instead of
15378         Debug::ANY.
15379
15380         * converter.C (View):
15381         (Convert):
15382         (Move): send debug output to Debug::FILES instead of console.
15383
15384 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15385
15386         * lyxfunc.C (getStatus): use func_status
15387
15388         * func_status.h: new header, describing the results of
15389         LyXFunc::getStatus;
15390
15391         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15392         LFUN_MATH_HALIGN.
15393
15394 2001-06-25  The LyX Project  <jug@sad.it>
15395
15396         * buffer.C (sgmlOpenTag):
15397         (sgmlCloseTag):
15398         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15399
15400 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * text2.C: remove some dead code
15403
15404         * tabular.C (GetCellInset): store the last cell checked (gotten)
15405
15406         * tabular.h: add the helper for the speedup
15407
15408         * lyxtext.h: remove some dead code
15409
15410 2001-06-26  The LyX Project  <Asger>
15411
15412         * paragraph.C: Change export to LaTeX of alignment to
15413         \begin{center} and family for better roundtrip work with reLyX.
15414
15415         * Tune the math drawing a bit.
15416
15417 2001-06-25  The LyX Project  <Asger>
15418
15419         * LColor.C (LColor): New color for math background. New color
15420         for buttons.
15421
15422 2001-06-25  The LyX Project  <jug@sad.it>
15423
15424         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15425
15426         * lyxfunc.C (Open):
15427         * bufferlist.C (newFile): do not restrict to files ending with
15428         .lyx
15429
15430         * BufferView_pimpl.C (MenuInsertLyXFile):
15431
15432 2001-06-24  The LyX Project  <jug@sad.it>
15433
15434         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15435         of compare_no_case
15436
15437 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * lyxtext.h: rename most methods to begin with a small char.
15440         Lots of changes because of this.
15441
15442         * paragraph.C (Paragraph): do not call fitToSize
15443         (erase): call Pimpl::erase
15444         (insertChar): call Pimpl::insertChar
15445         (insertInset): call Pipl::insertInset
15446         (breakParagraph): do not call fitToSize
15447         (breakParagraphConservative): do not call fitToSize
15448         (fitToSize): remove method
15449
15450         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15451
15452 2001-06-24  The LyX Project  <Asger>
15453
15454         * Fix Qt compilation^2
15455
15456 2001-06-24  The LyX Project  <jug@sad.it>
15457
15458         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15459         depthHook(getDepth()-1).
15460
15461         * paragraph.h:
15462         * ParagraphParameters.h:
15463         * ParameterStruct.h: change type of depth to unsigned int ==
15464         depth_type. Many adaptations to other files before of that.
15465
15466 2001-06-24  The LyX Project  <Asger>
15467
15468         * Fix Qt compilation.
15469
15470 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15471
15472         * paragraph.h: renamed several methods to begin with small letter.
15473         several changes to many parts of the code because of this.
15474
15475 2001-06-23  The LyX Project  <jug@sad.it>
15476
15477         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15478         rewritten to discard all double spaces when KeepEmpty is off
15479         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15480         to only handle newlines but not fiddle with spaces and friends.
15481
15482         * lyxfunc.C (MenuNew): when doing 'new from template', use
15483         template_path as default directory
15484
15485 2001-06-23  The LyX Project  <Asger>
15486
15487         * Clean-up of header file includes all over
15488         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15489
15490 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15491
15492         * paragraph.h: renamed from lyxparagraph.h
15493
15494 2001-06-23  Asger  <lyx@violet.home.sad.it>
15495
15496         * Buffer.h: Removed Buffer::resize
15497         * BufferList.h: Removed BufferList::resize
15498         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15499         the document lazily when we change the width, or the font settings.
15500
15501 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15502
15503         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15504
15505 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15506
15507         * buffer.h: remove out of date comment
15508
15509 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15510
15511         * lyxscreen.h:
15512         * screen.C: fix "theoretical" GC leak
15513
15514 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * LaTeX.C (scanAuxFile):
15517         (deplog): remove trailing \r when reading stream (useful under
15518         win32)
15519
15520 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15521
15522         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15523         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15524         and BufferView::theLockingInset(Inset*), so should use them and not
15525         access bv_->text->the_locking_inset directly.
15526
15527         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15528
15529 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15530
15531         * Makefile.am:
15532         * tex-defs.h: remove old unused file
15533
15534 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15535
15536         * BufferView_pimpl.C: fix typo, remove minibuffer message
15537           when buffer has loaded
15538
15539 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15540
15541         * lyxfunc.C (Dispatch): use stringstream
15542         (MenuNew): use stringstream
15543         (Open): use stringstream
15544
15545         * importer.C (Import): use stringstream
15546
15547         * bufferview_funcs.C (CurrentState): use stringstream
15548
15549         * LaTeX.C (run): use stringstream
15550
15551         * BufferView_pimpl.C (savePosition): use stringstream
15552         (restorePosition): use stringstream
15553         (MenuInsertLyXFile): use stringstream
15554
15555 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * BufferView.C:
15558         * Bullet.C:
15559         * ColorHandler.C:
15560         * FontInfo.C:
15561         * FontLoader.C:
15562         * LColor.C:
15563         * LaTeXFeatures.C:
15564         * Painter.C:
15565         * gettext.C:
15566         * lyx_gui_misc.C:
15567         * lyxserver.C:
15568         * vspace.C: removed // -*- C++ -*- as first line.
15569
15570         * lyxfind.h:
15571         * version.h: added // -*- C++ -*- as first line.
15572
15573 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15574
15575         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15576
15577         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15578         of string
15579
15580 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15581
15582         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15583         of floats.
15584
15585 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * gettext.C: include LString.h even when --disable-nls is on.
15588
15589 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * converter.h (Get): changed argument type from int to
15592         FormatList::size_type to avoid unnecessary conversion.
15593
15594         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15595         before using it.
15596
15597 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15598
15599         * gettext.h: include LString.h even when --disable-nls is on.
15600
15601 2001-06-07  Juergen Vigna  <jug@sad.it>
15602
15603         * text.C (BreakAgain): subst spaces with tabs.
15604
15605         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15606         (resizeInsetsLyXText): set force on resizeLyXText.
15607
15608 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15609
15610         * gettext.h (gettext_init):
15611         (locale_init): use a real definition instead of a macro
15612
15613 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15614
15615         * Bufferview_pimpl.C:
15616         * LColor.h:
15617         * LColor.C: further lcolor tidies
15618
15619 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15620
15621         * BufferView_pimpl.C (updateScrollbar): simplify.
15622
15623         * BufferView2.C: don't include insets/insetinfo.h, change
15624         prototype for insertInset and call the Pimpl version. let
15625         updateInset call Pimpl version.
15626
15627         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15628         gotoInset to BufferView::Pimpl
15629
15630 2001-06-01  Juergen Vigna  <jug@sad.it>
15631
15632         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15633         inside a LockingInset (is the update needed at all?).
15634
15635 2001-05-31  Juergen Vigna  <jug@sad.it>
15636
15637         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15638         here not the old one otherwise how should we compare it afterwards
15639         if it's the same!
15640
15641 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15642
15643         * lyxfont.C:
15644         * tabular.C:
15645         * tabular-old.C:
15646         * FontInfo.C: bring C functions into global namespace when
15647         necessary
15648
15649 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * LString.h: make sure config.h has been loaded before LString.h.
15652
15653         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15654         (one for each char read by EatLine!).
15655
15656         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15657         variables.
15658
15659 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15660
15661         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15662         to the same as the par we break from
15663
15664 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15665
15666         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15667
15668         * MenuBackend.C (expand): also create menu entries for wide
15669         versions of the floats.
15670
15671         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15672
15673         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15674
15675         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15676         frontends/Makefile.am
15677
15678         * text2.C: adjust
15679         * text.C: adjust
15680
15681
15682         * tabular.C (getTokenValue): add std::
15683
15684         * tabular-old.C (getTokenValue): add std::
15685         (getTokenValue): ditto
15686         (getTokenValue): ditto
15687
15688         * screen.C (ToggleSelection): adjust
15689
15690         * lyxtext.h: put selection cursors inside a Selection struct.
15691
15692         * lyxfunc.C (moveCursorUpdate): adjust
15693
15694         * lyxfont.C (latexWriteStartChanges): add std::
15695
15696         * lyxfind.C: adjust
15697
15698         * font.h: delete with(char const *, LyXFont const &)
15699
15700         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15701
15702         * FontInfo.C (getFontname): add std::
15703
15704         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15705         (workAreaButtonPress): adjust
15706         (tripleClick): adjust
15707         (update): adjust
15708         (moveCursorUpdate): adjust
15709         (Dispatch): adjust
15710
15711         * BufferView2.C (gotoInset): adjust
15712
15713 2001-05-30  Juergen Vigna  <jug@sad.it>
15714
15715         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15716         to check pspell I add this as default as I now have new pspell
15717         libraries and they seem to use this.
15718
15719 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15720
15721         * text2.C (CutSelection): make the cursor valid before the call to
15722         ClearSelection.
15723
15724 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15727         relied on 0 terminated strings and other horrors. Bug found due to
15728         the new assert in lyxstring!
15729
15730         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15731         KP_ keys.
15732
15733 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15736         to latinkeys.bind.
15737
15738         * lyxfunc.C (processKeySym): change method of getting to the
15739         self-insert char.
15740
15741         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15742         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15743         * BufferView_pimpl.[Ch]: here as private methods.
15744
15745 2001-05-28  Juergen Vigna  <jug@sad.it>
15746
15747         * text.C (SetHeightOfRow): added the update() call again as it is
15748         needed to initialize inset dimensions!
15749
15750 2001-05-16  Juergen Vigna  <jug@sad.it>
15751
15752         * text2.C (SetCharFont): Add new function with BufferView * and
15753         bool toggleall parameters for setting insets internal fonts.
15754         (SetFont): Freeze the undo as we may change fonts in Insets and
15755         all this change should be inside only one Undo!
15756
15757         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15758         setting font's in insets as for them we have the SetFont function!
15759
15760 2001-05-15  Juergen Vigna  <jug@sad.it>
15761
15762         * text2.C (ClearSelection): to be sure we REALLY don't have any
15763         selection anymore!
15764
15765         * tabular.C (TeXCellPreamble): fixed the left border problem for
15766         multicolumn cells.
15767
15768 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15769
15770         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15771         dependancy file
15772
15773 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15774
15775         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15776         LFUN_BREAKPARAGRAPH.
15777
15778         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15779         help test to "internal only", similar for LFUN_INSERT_URL
15780
15781         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15782         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15783         auto_region_delete and deadkeys.
15784
15785 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15786
15787         * LColor.h:
15788         * LColor.C: remove some dead entries, tidy a little
15789
15790 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15791
15792         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15793         commented code.
15794         (Dispatch): implement LFUN_ESCAPE
15795
15796         * commandtags.h: add LFUN_ESCAPE
15797
15798         * LyXAction.C (init): add entry for LFUN_ESCAPE
15799
15800         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15801         Remove commented code.
15802         (insertNote): moved here
15803         (open_new_inset): moved here
15804
15805         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15806         BufferView_pimpl
15807
15808 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15809
15810         * kbmap.C (findbinding): clean it up and make it work correctly.
15811
15812         * lyx_main.C (init): do not pass argc and argv as parameters
15813
15814 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15815
15816         * buffer.C: fix path for OS/2 & Win32
15817
15818         * lyx_gui.C:
15819         * lyx_main:
15820         * lyx_main.C: Added os:: class.
15821
15822         * os2_defines.h: update
15823
15824 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15825
15826         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15827         better by trying again with reduced state.
15828
15829 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * lyxrc.C (read): print error about invalid key sequence only when
15832         debugging (because not all latinX keysyms are known to some X
15833         servers)
15834
15835         * kbsequence.C (getiso): add a few std:: qualifiers
15836         (getiso): comment out extra return statement.
15837
15838 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15839
15840         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15841         handling.
15842         (Dispatch): enhance the accent inset a bit. (not perfect)
15843
15844 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15847
15848 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15849
15850         * bufferlist.C (emergencyWrite): fix assert() call
15851
15852 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15853
15854         * text.C (InsertChar): Added trivial patch to only send the "you
15855         can not do multiple spaces this way" message once during a
15856         session.
15857
15858 2001-05-08  Baruch Even  <baruch@lyx.org>
15859
15860         * Makefile.am: Changed order of libraries to get LyX to link properly
15861         with the gnome frontend.
15862
15863 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15864
15865         * LaTeXFeatures.h: add a std:: qualifier
15866
15867 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15868
15869         * paragraph.C (String): use stringstream
15870
15871 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15872
15873         * paragraph.C (writeFile): remove footflag arg
15874
15875         * buffer.C (makeLaTeXFile): use stringstream
15876         (latexParagraphs): remove footnot gurba
15877
15878         * LaTeXFeatures.C (getPackages): use stringstream
15879         (getMacros): likewise
15880         (getTClassPreamble): likewise
15881         (getFloatDefinitions): new method
15882
15883         * paragraph.C (writeFile): reindent
15884         (Erase): reindent
15885
15886         * WorkArea.h: revert the xpos + etc changes.
15887
15888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15889
15890         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15891
15892         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15893         (pasteSelection): likewise
15894         * text2.C (CreateUndo): likewise
15895
15896 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15897
15898         * minibuffer.C (peek_event): temporarily reduce the functionality
15899         of the minibuffer (to allow args on lfuns)
15900
15901         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15902         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15903
15904         * buffer.C (readInset): add compability reading of old float
15905         lists, add reading of new style float list.
15906         (readInset): avoid reevaluation of inscmd.getCmdName()
15907         (getLists): reindent
15908
15909         * MenuBackend.C (MenuItem): implement parsing of
15910         md_floatlistinsert and md_floatinsert.
15911         (expand::LastFiles): move initalizaton of iterators out of loop,
15912         avoid reevaluation.
15913         (expand::Documents): introduce typdedef vector<string> Strings,
15914         and use it.
15915         (expand::ExportFormats): introduce typedef vector<Format const *>
15916         Formats, and use it.
15917         (expand): implement FloatListInsert and FloatInsert.
15918
15919         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15920         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15921         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15922
15923         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15924         handling.
15925         (Dispatch::LFUN_FLOAT_LIST): implement
15926
15927 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15928
15929         * LaTeX.C (run): Fix problem with --export code.
15930
15931 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15932
15933         * BufferView.[Ch] (workarea): removed.
15934         (getClipboard) new method; wrapper for workarea()->getClipboard()
15935
15936         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15937         bug.
15938
15939         * WorkArea.h (width, height, xpos, ypos): These methods all
15940         returned the dimensions of the work_area sub-area of WorkArea,
15941         resulting in a position error if the WorkArea were resized. Now
15942         return the dimensions of the entire WorkArea.
15943
15944         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15945
15946 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * LaTeX.C (deplog): correct the syntax of regex reg1
15949
15950 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * undo.C: remove !NEW_INSETS cruft
15953
15954 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15955
15956         * text2.C: remove !NEW_INSETS cruft
15957
15958         * text.C: remove !NEW_INSETS cruft
15959
15960         * tabular.C: remove !NEW_INSETS cruft
15961
15962         * spellchecker.C: remove !NEW_INSETS cruft
15963
15964         * lyxtext.h: remove !NEW_INSETS cruft
15965
15966         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15967
15968         * lyxfunc.C: remove !NEW_INSETS cruft
15969
15970         * lyxfind.C: remove !NEW_INSETS cruft
15971
15972         * lyx_cb.C: remove !NEW_INSETS cruft
15973
15974         * figureForm.C: remove  !NEW_INSETS cruft
15975
15976         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15977
15978         * buffer.[Ch]: remove !NEW_INSETS cruft
15979
15980         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15981
15982         * CutAndPaste.C: remove !NEW_INSETS cruft
15983
15984         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15985
15986         * BufferView2.C: remove !NEW_INSETS cruft
15987
15988         * BufferView.h: remove !NEW_INSETS cruft
15989
15990 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15991
15992         * Lsstream.h: include LString.h before the sstream headers to
15993         fix problem with gcc 2.95.3 and lyxstring
15994
15995 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15996
15997         * lyx_main.C: add using directives when needed for C functions
15998         declared in std:: namespace.
15999
16000 2001-04-27  Juergen Vigna  <jug@sad.it>
16001
16002         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16003         (SetHeightOfRow): comment out the update call should not be needed!
16004
16005 2001-04-13  Juergen Vigna  <jug@sad.it>
16006
16007         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16008         (LyXTabular): tried to minimize operator= operations (and realized
16009         hopfully Lars wish).
16010
16011 2001-04-27  Juergen Vigna  <jug@sad.it>
16012
16013         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16014
16015 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16016
16017         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16018
16019         * buffer.C (readInset): hack to make listof algorithm work
16020
16021         * BufferView_pimpl.C: hack to make listof algorithm work
16022
16023 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16024
16025         * LyXAction.C: removed all !NEW_INSETS cruft
16026         (init): moved lfun_item in method
16027
16028         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16029
16030 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16031
16032         * BufferView2.C (theLockingInset): white space.
16033
16034 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16035
16036         * minibuffer.C: include <iostream>
16037
16038         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16039
16040         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16041
16042         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16043
16044         * text.[Ch] (TransposeChars): new method
16045
16046 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16047
16048         * call message directly through LyXView instead of through LyXFunc
16049         * BufferView2.C: adjust
16050         * BufferView_pimpl.C: adjust
16051         * FontLoader.C: adjust
16052         * buffer.C: adjust
16053         * bufferview_funcs.C: adjust
16054         * converter.C: adjust
16055         * figureForm.C: adjust
16056         * importer.C: adjust
16057         * lyx_cb.C: adjust
16058         * lyx_gui_misc.C: adjust
16059         * lyxfunc.C: adjust
16060         * lyxvc.C: adjust
16061         * text2.C: adjust
16062         + more files in subdirs
16063
16064         * lyxparagraph.h (size): move up int file
16065         (GetLayout): ditto
16066
16067         * adjust all uses of Assert to lyx::Assert.
16068
16069         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16070         lyxfunctional in namespace lyx
16071         * layout.C (hasLayout): ditto
16072         (GetLayout): ditto
16073         (GetLayout): ditto
16074         (delete_layout): ditto
16075         (NumberOfClass): ditto
16076         * converter.C (GetFormat): ditto
16077         (GetNumber): ditto
16078         (Add): ditto
16079         (Delete): ditto
16080         (SetViewer): ditto
16081         * bufferlist.C (getFileNames): ditto
16082         (emergencyWriteAll): ditto
16083         (exists): ditto
16084         (getBuffer): ditto
16085         * MenuBackend.C (hasSubmenu): ditto
16086         (hasMenu): ditto
16087         (getMenu): ditto
16088         * BufferView_pimpl.C (getInsetByCode): ditto
16089
16090 2001-04-18  Juergen Vigna  <jug@sad.it>
16091
16092         * vspace.C (asLatexString): fixed the 100% problem.
16093
16094 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16095
16096         * lyxfunc.C (Dispatch):
16097         * minibuffer.C:
16098         * minibuffer.h: add a few std:: qualifiers
16099
16100 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * minibuffer.[Ch]: reimplement so that commands is initiated and
16103         run from lyxfunc, simplified som handling, and made the completion
16104         and history code for complete. wip.
16105
16106         * lyxfunc.C (processKeySym): call message
16107         (miniDispatch): new temporary method
16108         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16109         (LFUN_MESSAGE): implement
16110         (LFUN_MESSAGE_PUSH): implement
16111         (LFUN_MESSAGE_POP): implement
16112         (initMiniBuffer): the initial/defualt minibuffer message.
16113
16114         * lyxfont.[Ch]: inline some more getters
16115
16116         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16117
16118         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16119
16120         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16121         (AutoSave): use LFUN_MESSAGE
16122         (Reconfigure): ditto
16123
16124         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16125
16126         * figureForm.C: use LFUN_MESSAGE
16127
16128         * converter.C (runLaTeX): use LFUN_MESSAGE
16129
16130         * bufferview_funcs.C: use LFUN_MESSAGE
16131         (Melt): ditto
16132         (changeDepth): ditto
16133
16134         * bufferparams.h: use boost::
16135
16136         * bufferlist.h: inherit privately from noncopyable
16137
16138         * bufferlist.C (loadLyXFile): remove some commented code.
16139
16140         * buffer.C (runChktex): use LFUN_MESSAGE
16141
16142         * ShareContainer.h: inherit privately from noncopyable
16143
16144         * ParagraphParameters.[hC] (depth): inline it.
16145
16146         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16147         methods.
16148         (message): new method
16149         (messagePush): ditto
16150         (messagePop): ditto
16151         (show): init minibuffer
16152         (showState): direct call
16153
16154         * LaTeX.[Ch]: inherit privately from noncopyable
16155         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16156         instead of WriteStatus.
16157
16158         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16159
16160         * BufferView_pimpl.C (buffer): don't init minibuffer
16161         (workAreaButtonPress): use LFUN_MESSAGE
16162         (workAreaButtonRelease): ditto
16163         (savePosition): ditto
16164         (restorePosition): ditto
16165         (MenuInsertLyXFile): ditto
16166         (workAreaExpose): don't init minibuffer
16167         (update): remove commented code, simplify
16168
16169         * BufferView2.C (openStuff): use LFUN_MESSAGE
16170         (toggleFloat): ditto
16171         (menuUndo): ditto
16172         (menuRedo): ditto
16173         (copyEnvironment): ditto
16174         (pasteEnvironment): ditto
16175         (copy): ditto
16176         (cut): ditto
16177         (paste): ditto
16178         (gotoInset): ditto
16179         (updateInset): remove some commented code
16180
16181         * lastfiles.h: inherit privately from noncopyable
16182         * layout.h: ditto
16183         * lyx_gui.h: ditto
16184         * lyx_main.h: ditto
16185         * lyxlex.h: ditto
16186         * lyxlex_pimpl.h: ditto
16187
16188         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16189         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16190         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16191
16192         * LyXAction.h: inherit privately from noncopyable, add methods
16193         func_begin, func_end, returning iterators to the func map.
16194
16195         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16196         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16197         (func_begin): new method
16198         (func_end): new method
16199
16200         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16201         and not)
16202         (copySelection): ditto
16203         (pasteSelection): ditto
16204
16205         * BufferView.C: whitespace change
16206         * BufferView.h: inherit privately from noncopyable
16207
16208 2001-04-16  Allan Rae  <rae@lyx.org>
16209
16210         * tabular-old.C (l_getline):
16211         * spellchecker.C (sc_check_word):
16212         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16213         an unrecognised preprocessor directive.  So ensure they're wrapped.
16214
16215 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16216
16217         * src/exporter.C (Export): Give an error message when path to file
16218         contains spaces.
16219
16220 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16221
16222         * LaTeX.C (deplog): Always check that foundfile exists.
16223
16224 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16225
16226         * lyx_main.h:
16227         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16228
16229 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16230
16231         * tabular.[Ch] (getLabelList): implement new method
16232
16233         * minibuffer.h: comment ouf setTiimer
16234
16235         * minibuffer.C (ExecutingCB): constify res
16236         (peek_event): constify s
16237         (Set): constify ntext
16238         (Init): constify nicename
16239
16240         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16241
16242         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16243         (savePosition): use two params to Minibuffer::Set
16244         (restorePosition): ditto
16245
16246 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16247
16248         * lyx_main.C: include language.h
16249
16250         * Makefile.am (lyx_main.o): add language.h
16251
16252 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16253
16254         * exporter.C:
16255         * paragraph.C:
16256         * screen.C:
16257         * tabular.C:
16258         * CutAndPaste.C: include gettext.h
16259
16260         * lyxfont.h: remove old hack with ON and OFF.
16261
16262         * lyxparagraph.h:
16263         * lyxfont.h: do not include language.h...
16264
16265         * BufferView2.C:
16266         * LaTeXFeatures.C:
16267         * Painter.C:
16268         * bufferview_funcs.C:
16269         * font.C:
16270         * lyxfont.C:
16271         * text.C:
16272         * text2.C:
16273         * trans_mgr.C:
16274         * paragraph.C: ... but do it here instead
16275
16276 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16277
16278         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16279
16280         * tabular.C: small reformat
16281
16282         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16283         NEW_INSETS version
16284         (GetChar): ditto
16285         (BreakParagraph): ditto
16286         (SetOnlyLayout): ditto
16287         (SetLayout): ditto
16288
16289         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16290         with one arg less.
16291
16292         * lastfiles.C: removed most using decl, add std:: where needed
16293
16294         * buffer.C: ws changes
16295
16296         * MenuBackend.C (class compare_format): put into anon namespace
16297         (expand): constify label, names, action, action2
16298         (expand):
16299
16300         * text.C (SingleWidth): constify font
16301         (IsBoundary): constify rtl2
16302         (GetVisibleRow): constify ww
16303
16304         * LaTeX.C (deplog): constify logfile
16305
16306         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16307         start_x, end_x
16308         (workAreaExpose): constify widthChange, heightChange
16309
16310         * lyxrow.C (par): moved
16311         (height): moved
16312         (next): moved
16313         * lyxrow.h: as inlines here
16314
16315         * lyxfont.h (shape): moved from lyxfont.C
16316         (emph): moved from lyxfont.C
16317
16318         * lyxfont.C (LyXFont): use initialization list for all
16319         constructors
16320         (shape): move to lyxfont.h as inline
16321         (emph): move to lyxfont.h as inline
16322
16323
16324 2001-04-04  Juergen Vigna  <jug@sad.it>
16325
16326         * vspace.C: had to include stdio.h for use of sscanf
16327
16328 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16329
16330         * BufferView.h:
16331         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16332         independent of xforms.
16333
16334 2001-04-02  Juergen Vigna  <jug@sad.it>
16335
16336         * spellchecker.C: fixed namespace placing!
16337
16338 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16339
16340         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16341         the LyXParagraph * is 0.
16342
16343 2001-03-29  Juergen Vigna  <jug@sad.it>
16344
16345         * vspace.C: added support for %, c%, p%, l%.
16346         (stringFromUnit): added helper function.
16347         (asLatexString): changed to give right results for the %-values.
16348
16349         * buffer.C: convert the widthp in a width%.
16350
16351 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16352
16353         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16354         figureForm.[Ch].
16355
16356         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16357         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16358
16359         * lyx_cb.[Ch]: see above.
16360
16361         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16362         form1.[Ch].
16363
16364         * form1.[Ch]:
16365         * lyx.[Ch]: replaced by figure_form.[Ch].
16366
16367         * lyx_gui.C:
16368         * lyx_gui_misc.C:
16369         * lyxfunc.C: changed headers associated with above changes.
16370
16371 2001-03-27  Juergen Vigna  <jug@sad.it>
16372
16373         * BufferView_pimpl.C: set the temporary cursor right!
16374
16375 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16376
16377         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16378
16379 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16380
16381         * LString.h: removed "using std::getline"!
16382
16383         * BufferView_pimpl.C (Dispatch): changes due to changes in
16384         InsetInclude::Params.
16385
16386         * buffer.C (tag_name): removed redundant break statements as they were
16387         producing lots of warnings with my compiler.
16388
16389 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16390
16391         * LString.h: add "using std::getline" when using the real <string>.
16392
16393 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16394
16395         * buffer.C: removed bitset usage.
16396         PAR_TAG moved to an anonymous name space.
16397         (tag_name): new funtion, also in the anonymous namespace.
16398         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16399         (makeDocBookFile): clean code. Completed transition from string arrays
16400         to string vectors.
16401         (SimpleDocBookOnePar): code clean.
16402
16403 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16404
16405         * tabular.C: add some comments.
16406
16407 2001-03-22  Juergen Vigna  <jug@sad.it>
16408
16409         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16410         compatibility read a bit and fixed bug with minipage in different
16411         depth.
16412
16413 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16414
16415         * buffer.C (pop_tag): removed.
16416         (push_tag): removed.
16417         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16418         array replaced with vector. Added support for CDATA sections.
16419         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16420         at any nest level.
16421         (makeDocBookFile): XML conformant declaration of CDATA section,
16422         fixed bug related to <emphasis> in the first paragraph char.
16423         (sgmlOpenTag): exclude empty tags.
16424         (sgmlCloseTag): ditto.
16425
16426         * buffer.h (pop_tag): removed.
16427         (push_tag): removed.
16428
16429 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16430
16431         * language.h (Languages): added size_type and size().
16432
16433 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16434
16435         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16436         response on compability reading of minipages. One probliem is that
16437         the old usage of minipages was «flertydig»
16438
16439         * several files here and in subdirs: don't use static at file
16440         scope use anon namespaces instead.
16441
16442 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16443
16444         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16445         LaTeX output. This is necessary for Literate document
16446         processing.
16447
16448 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16449
16450         * buffer.C: insert hfill when needed.
16451
16452         * tabular.C (l_getline): use string::erase, small whitespace change.
16453
16454         * BufferView_pimpl.C: try the anon namespace.
16455         * WorkArea.C: ditto
16456
16457 2001-03-16  Juergen Vigna  <jug@sad.it>
16458
16459         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16460         otherwise it won't open options-dialogs.
16461
16462         * buffer.C: honor pextraWidth(p) on converting minipages.
16463
16464         * tabular.C (l_getline): changed the functions to strip trailing \r.
16465
16466 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16467
16468         * BufferView_pimpl.C:
16469         * minibuffer..C: added "using SigC::slot" declaration.
16470
16471 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16472
16473         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16474
16475         * text2.C: ditto
16476
16477         * text.C: ditto
16478
16479         * paragraph.C: ditto
16480
16481         * lyxtext.h: NO_PEXTRA
16482
16483         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16484
16485         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16486         * ParameterStruct.h: ditto
16487         * ParagraphParameters.h: ditto
16488         * lyxparagraph.h: ditto
16489
16490 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16491
16492         * buffer.C: add compability for minipage alignment.
16493         (latexParagraphs): remove unwanted pextra check.
16494
16495         * several files: remove CXX_WORKING_NAMESPACES
16496
16497         * buffer.C (pop_tag): tie is in namespace boost
16498
16499         * BufferView.h: noncopyable is in namespace boost
16500         * lyxlex.h: ditto
16501         * lyx_main.h: ditto
16502         * lyx_gui.h: ditto
16503         * layout.h: ditto
16504         * lastfiles.h: ditto
16505         * bufferlist.h: ditto
16506         * ShareContainer.h: ditto
16507         * LyXView.h: ditto
16508         * LyXAction.h: ditto
16509         * LaTeX.h: ditto
16510
16511 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16512
16513         * Merging changes from BRANCH_MVC back into HEAD.
16514
16515         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16516
16517 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16518
16519         * BufferView_pimpl.C: change from intl.C
16520
16521         * combox.h:
16522         * combox.C:
16523         * Makefile.am: move combox.*
16524
16525         * form1.h:
16526         * form1.C:
16527         * lyx_gui.C:
16528         * intl.h:
16529         * intl.C: remove dialog (covered by prefs)
16530
16531 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16532
16533         * lyxfunc.C (Dispatch): removed redundant break statement.
16534
16535 2001-03-14  Juergen Vigna  <jug@sad.it>
16536
16537         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16538
16539 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16540
16541         * buffer.C: add hack to fix compability reading of minipages.
16542
16543 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16544
16545         * buffer.C (getLists): Cleanup.
16546
16547 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * lyxfont.C (update): don't honor toggleall on font size.
16550
16551 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16552
16553         * bmtable.c:
16554         * bmtable.h:
16555         * Makefile.am: moved to frontends/xforms/
16556
16557         * lyx_gui_misc.C:
16558         * lyxfunc.C:
16559         * BufferView_pimpl.C: changes for moved mathpanel
16560
16561 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16562
16563         * gettext.h: fix gettext_init() in --disable-nls
16564
16565 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16566
16567         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16568
16569 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16570
16571         * lyx.C:
16572         * lyx.h: strip external form
16573
16574 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16575
16576         * BufferView_pimpl.C: add comment, destroySplash()
16577
16578 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16579
16580         * BufferView_pimpl.C:
16581         * LyXAction.C:
16582         * buffer.C:
16583         * commandtags.h:
16584         * lyxfunc.C: use re-worked insetinclude
16585
16586 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16587
16588         * buffer.C: add using std::stringstream.
16589
16590         * lyx_cb.C: readd using std::ios.
16591
16592         * buffer.C: add using std::map.
16593
16594         * BufferView_pimpl.C: add using std::vector.
16595
16596         * ShareContainer.h: add std:: to swap.
16597
16598         * buffer.h: add some typedefs
16599         * buffer.C (getLists): use them
16600         (getLists): renamed from getTocList.
16601         add a counter for the different float types and use it in the
16602         generated string.
16603         (getLists): use the same counter for the NEW_INSETS and the "non"
16604         NEW_INSETS
16605
16606         * lyx_cb.h: remove unused items, includes, using etc.
16607
16608         * ShareContainer.h: remove some commented code, add more comments
16609         and "documentation".
16610
16611 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16612
16613         * buffer.C (getTocList): make the list also when NEW_INSETS is
16614         defined.
16615
16616         * buffer.h: remove TocType
16617
16618         * buffer.C (getTocList): change to return a map<string,
16619         vector<TocItem> >, implement for dynamic number of list.
16620
16621         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16622         * text2.C (PasteSelection): adjust
16623         * CutAndPaste.C (pasteSelection): adjust
16624
16625         * FloatList.C (FloatList): update from the new_insets branch.
16626         * Floating.[Ch]: ditto
16627         * LaTeXFeatures.C: ditto
16628         * buffer.C: ditto
16629         * lyxlex_pimpl.C: ditto
16630
16631         * paragraph.C (Last): remove when NEW_INSETS is defined.
16632
16633         * other file: changes because of the above.
16634
16635 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16636
16637         * lyxparagraph.h: rename next to next_, previous to previous_,
16638         make them private for NEW_INSETS. Rename Next() to next(),
16639         Previous() to previous().
16640
16641         * other files: changes because of the above.
16642
16643 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16644
16645         * BufferView.h:
16646         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16647         problem.
16648
16649 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16650
16651         * main.C (main): pass lyx_localedir to gettext_init().
16652
16653         * gettext.h: remove locale_init and gettext_init macros
16654
16655         * gettext.C (locale_init): new function
16656         (gettext_init): new function
16657
16658         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16659         setlocale().
16660
16661 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16662
16663         * Moved credits to frontends:
16664         * credits.[Ch]: removed
16665         * credits_form.[Ch]: removed
16666         * lyx_gui_misc.C: remove credits stuff
16667         * Makefile.am:
16668
16669 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16670
16671         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16672
16673         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16674         unneeded destructor.
16675
16676         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16677         a standalone pointer again.
16678
16679         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16680
16681 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16682
16683         * Makefile.am:
16684         * filedlg.h:
16685         * filedlg.C:
16686         * LyXAction.C:
16687         * ToolbarDefaults.C:
16688         * bufferlist.C:
16689         * commandtags.h:
16690         * form1.C:
16691         * form1.h:
16692         * lyx_cb.C:
16693         * lyx_cb.h:
16694         * lyxfunc.h:
16695         * lyxfunc.C:
16696         * BufferView_pimpl.C: use new file dialog in GUII
16697
16698         * lyx_cb.h:
16699         * lyx_cb.C: remove LayoutsCB to Toolbar
16700
16701 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16702
16703         * ShareContainer.h (get): add std:: qualifier
16704
16705 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16706
16707         * ShareContainer.h: define a proper ShareContainer::value_type
16708         type (and use typename to please compaq cxx)
16709
16710 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16711
16712         * lyxparagraph.h: move serveral local vars to
16713         ParameterStruct/ParagraphParameters., use ShareContainer in
16714         FontTable., make vars in FontTable private and add getter and
16715         setter.
16716
16717         * paragraph.C: changes because of the above.
16718
16719         * lyxfont.h: remove copy constructor and copy assignment. (the
16720         default ones is ok), move number inside FontBits. move inlines to
16721         lyxfont.C
16722
16723         * lyxfont.C: add number to initializaton of statics, move several
16724         inlines here. constify several local vars. some whitespace
16725         cleanup. Dont hide outerscope variables.
16726
16727         * Spacing.h: add two new constructors to match the set methods.
16728
16729         * ShareContainer.h: new file, will perhaps be moved to support
16730
16731         * ParameterStruct.h: new file
16732
16733         * ParagraphParameters.h: new file
16734
16735         * ParagraphParameters.C: new file
16736
16737         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16738         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16739
16740         * BufferView_pimpl.C: ParagraphParameter changes.
16741         * buffer.C: Likewise.
16742         * bufferview_funcs.C: Likewise.
16743         * text.C: Likewise.
16744         * text2.C: Likewise.
16745
16746 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16747
16748         * lyxfind.C (LyXReplace): do not redefine default argument in
16749         implementation.
16750         (IsStringInText): ditto
16751         (SearchForward): ditto
16752         (SearchBackward): ditto
16753
16754 2001-03-06  Juergen Vigna  <jug@sad.it>
16755
16756         * lyxfind.C (IsStringInText): put parentes around expressions.
16757
16758 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16759
16760         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16761
16762 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16763
16764         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16765
16766         * stl_string_fwd.h: add comment
16767
16768         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16769
16770         * tabular.h:
16771         * tabular.C: remove unused DocBook methods
16772
16773         * intl.C:
16774         * language.C:
16775         * paragraph.C:
16776         * buffer.C:
16777         killed DO_USE_DEFAULT_LANGUAGE
16778
16779 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16780
16781         * lyx_gui.C: do not include language.h.
16782
16783         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16784         arguments in function implementation.
16785
16786 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16787
16788         * BufferView_pimpl.C: add <ctime>
16789
16790 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16791
16792         * BufferView_pimpl.C: add using std::find_if
16793
16794 2001-02-27  José Matos  <jamatos@fep.up.pt>
16795
16796         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16797         by OnlyPath.
16798
16799 2001-02-11  José Matos  <jamatos@fep.up.pt>
16800
16801         * buffer.C (makeDocBookFile): command styles now have a parameter as
16802         "title" by default.
16803
16804 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16805
16806         * layout_forms.[Ch]: removed
16807         * lyx_cb.[Ch]: out character
16808         * lyx_gui.C: out character
16809         * lyx_gui_misc.C: out character
16810         * bufferview_funcs.C: : out character,
16811         added toggleall as parameter in ToggleAndShow
16812
16813 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16814
16815         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16816
16817         * text2.C (SetCurrentFont): Disable number property at boundary.
16818
16819 2001-02-26  Juergen Vigna  <jug@sad.it>
16820
16821         * lyxfunc.C (getStatus): added a string argument override function so
16822         that this is correctly called from LyXFunc::Dispatch if it contains a
16823         do_not_use_argument which is used!
16824         (Dispatch): added check for "custom" export and call appropriate func.
16825
16826 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16827
16828         * lyxrc.C: Add language_command_local, language_use_babel and
16829         language_global_options.
16830
16831         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16832
16833         * buffer.C (makeLaTeXFile): Use language_use_babel and
16834         language_global_options.
16835
16836 2001-02-23  Juergen Vigna  <jug@sad.it>
16837
16838         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16839         which works with LyXText and putted it inside BufferView. Here now we
16840         only call for that part the BufferView::Dispatch() function.
16841
16842         * BufferView.C (Dispatch): added.
16843
16844         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16845         functions which needs to use a LyXText over from LyXFunc.
16846         (MenuInsertLyXFile): added
16847         (getInsetByCode): added
16848         (moveCursorUpdate): added
16849         (static TEXT): added
16850
16851 2001-02-22  Juergen Vigna  <jug@sad.it>
16852
16853         * BufferView_pimpl.C (update): call a status update to see if LyXText
16854         needs it.
16855
16856 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16857
16858         * vc-backend.C (revert): implement for CVS
16859         (getLog): implement for CVS
16860
16861 2001-02-20  Juergen Vigna  <jug@sad.it>
16862
16863         * text2.C (ClearSelection): added BufferView param for inset_owner call
16864
16865         * lyxfunc.C (TEXT): added this function and use it instead of
16866         directly owner->view()-text of getLyXText().
16867
16868 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16869
16870         * src/layout_forms.C: out preamble
16871         * src/layout_forms.h: out preamble
16872         * src/lyx_cb.C: out preamble
16873         * src/lyx_cb.h: out preamble
16874         * src/lyx_gui.C: out preamble
16875         * src/lyx_gui_misc.C: out preamble
16876         * src/lyxfunc.C: connect with guii preamble
16877
16878 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16879
16880         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16881
16882 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16883
16884         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16885         whether to run bibtex.
16886
16887 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16888
16889         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16890
16891 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16892
16893         * Makefile.am (lyx_SOURCES): removed bibforms.h
16894
16895         * vspace.h: doxygen
16896
16897         * text.C (GetVisibleRow): make several local vars const
16898
16899         * tabular.C: small cleanup.
16900
16901         * lyxserver.C (callback): use compare instead of strncmp
16902
16903         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16904         inlines to after class or to paragraph.C
16905
16906         * lyxfont.h: remove friend operator!=
16907
16908         * converter.h: move friend bool operator< to non friend and after
16909         class def.
16910
16911         * combox.h: small cleanup
16912
16913         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16914         to inlines after class def.
16915
16916         * buffer.C (pop_tag): use string operations instead of strcmp
16917
16918         * bmtable.c: doxygen, small cleanup
16919
16920         * LaTeX.h: remove friend operator==
16921
16922 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16923
16924         * screen.C:
16925         * lyxrc.[Ch]:
16926         * lyxfunc.C:
16927         * lyxfont.[Ch]:
16928         * lyx_cb.C:
16929         * intl.[Ch]:
16930         * commandtags.h:
16931         * buffer.C:
16932         * WorkArea.[Ch]:
16933         * LyXAction.C:
16934         * BufferView_pimpl.C:
16935         * BufferView.[Ch]: remove cruft
16936
16937 2001-02-14  Juergen Vigna  <jug@sad.it>
16938
16939         * lyxfunc.C: removed #if 0 unused code
16940
16941         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16942
16943         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16944
16945         * text2.C (SetSelection): added a BufferView * parameter
16946
16947 2001-02-13  Juergen Vigna  <jug@sad.it>
16948
16949         * lyxfunc.C (Dispatch): fixed protected blank problem.
16950         * BufferView2.C (protectedBlank): added LyxText * parameter.
16951
16952         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16953         (AppendColumn): same as above for column_info.
16954
16955         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16956         (moveCursorUpdate): use a LyXText param for support of InsetText.
16957
16958         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16959         (tripleClick): ditto
16960
16961         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16962
16963         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16964
16965         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16966
16967         * text2.C (SetSelection): set correct update status if inset_owner
16968         (ToggleFree): ditto
16969
16970 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16971
16972         * tabular.C: remove some commented code.
16973
16974 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16975
16976         * BufferView_pimpl.C: call hideSplash()
16977
16978         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16979
16980         * include_form.h:
16981         * bibforms.h: remove
16982
16983         * lyxfunc.C:
16984         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16985           add LFUN_CHILD_CREATE
16986
16987         * counters.h: fix tiny typo
16988
16989         * lyx_cb.C:
16990         * lyx.h:
16991         * lyx_gui.C:
16992         * lyx.C: move splash to frontends/xforms/
16993
16994         * lyx_gui_misc.C: move Include and Bibform to frontends
16995
16996         * lyxvc.h: clarify comment
16997
16998         * vspace.C: tiny housekeeping
16999
17000 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17001
17002         * text.C (PrepareToPrint): RTL Fix.
17003
17004         * paragraph.C (GetUChar): New method.
17005         (String):  Use GetUChar.
17006
17007         * buffer.C (asciiParagraph): Use GetUChar.
17008
17009 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17010
17011         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17012
17013 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17014
17015         * buffer.h:
17016         * buffer.C: rename to getLogName(), handle
17017           build log / latex log nicely
17018
17019 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17020
17021         * MenuBackend.C:
17022         * MenuBackend.h: remove support for reference menuitem type.
17023
17024 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17025
17026         * BufferView_pimpl.C: housekeeping
17027         * BufferView_pimpl.h:
17028         * LyXView.h:
17029         * Makefile.am:
17030         * Timeout.C:
17031         * Timeout.h:
17032         * minibuffer.h: move Timeout GUI-I
17033
17034 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17035
17036         * lyxrc.C (read): Update converters data-structures.
17037
17038 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17039
17040         * LaTeX.h (operator!=): add operator != for Aux_Info
17041
17042 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17043
17044         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17045
17046         * LaTeXLog.C: deleted, useful code moved to Buffer
17047
17048         * buffer.h:
17049         * buffer.C: new function getLatexLogName()
17050
17051         * lyx_gui_misc.C:
17052         * lyx_gui.C:
17053         * lyxvc.C:
17054         * lyxvc.h:
17055         * lyxfunc.C: use frontends for LaTeX and VC logs
17056
17057 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17058
17059         * LaTeX.h: yet another std:: that Allan forgot.
17060
17061         * Variables.C (set): renamed from isset(), because this clashes
17062         with some HP-UX macros (grr).
17063
17064 2001-02-06  Allan Rae  <rae@lyx.org>
17065
17066         * LaTeX.h: Another bug fix.  Missing std:: this time.
17067
17068 2001-02-04  Allan Rae  <rae@lyx.org>
17069
17070         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17071         floats problem. I've left it commented out because it's not quite
17072         correct.  It should also test that the current object is a table or
17073         figure inset.  But I haven't gotten around to figuring out how to do
17074         that.  I *think* it'll be something like: "table" == inset.type()
17075
17076         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17077         bool.
17078
17079 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17080
17081         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17082         all the citation/databases/styles in the auxilary file.
17083         (run): Rerun latex if there was a babel language error.
17084
17085 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17086
17087         * text.C (Backspace): Preserve the font when changing newline char
17088         with a space.
17089         (BreakParagraph): If the cursor is before a space, delete the space.
17090
17091         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17092
17093 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17094
17095         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17096         new argument (code).
17097         (ChangeCitationsIfUnique): New method.
17098
17099         * paragraph.C (GetPositionOfInset): Handle bibkey.
17100
17101 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17102
17103         * BufferView_pimpl.h: change type of Position::par_pos to
17104         LyXParagraph::size_type.
17105
17106 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17107
17108         * BufferView_pimpl.C (savePosition, restorePosition): Write
17109         messages to minibuffer.
17110
17111 2001-01-28  José Matos  <jamatos@fep.up.pt>
17112
17113         * buffer.C (makeDocBookFile): adds support for document language.
17114         A silly restriction on the name of LatexCommand types where removed.
17115         Added support for CDATA sections, allows to chars unescaped, used
17116         among others in code, to avoid escape < and >.
17117
17118 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17119
17120         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17121         saved positions instrad of a stack. Furthermore, a position is
17122         stored using paragraph id/paragraph position.
17123
17124         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17125         Remove LFUN_REF_BACK.
17126
17127 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17128
17129         * converter.C (dvipdfm_options): New method.
17130
17131 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17132
17133         * vspace.C (isValidLength): Fix for empty input string.
17134
17135 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17136
17137         * LyXAction.C (init): change description of LFUN_FIGURE to
17138         "Insert Graphics"
17139
17140 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17141
17142         * LaTeX.C: add using directive
17143
17144 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17145
17146         * MenuBackend.C (expand): Fix the sorting of the formats.
17147
17148 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17149
17150         * lyx_main.C: tiny error message fix
17151
17152 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17153
17154         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17155         calling fl_initialize(). This fixes the problem with ',' as
17156         decimal separator in text files.
17157
17158 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17159
17160         * trans.C (process): Fix the keymap bug.
17161
17162 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17163
17164         * LaTeX.C (scanAuxFiles): New method. Provides support for
17165         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17166         (scanLogFile) Scan for "run BibTeX" messages.
17167
17168         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17169         OT1 font encoding. Also, load the aecompl package if the ae
17170         package is loaded.
17171
17172         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17173
17174 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17175
17176         * texrow.C (increasePos): turn two error messages into debug
17177         messages.
17178
17179 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17180
17181         * LaTeX.C (scanAux): Handle the \@input macro.
17182         (runBibTeX): Use scanAux().
17183
17184         * language.C (latex_options_): New field.
17185
17186         * LaTeXFeatures.C (getMacros): Add language macros.
17187
17188         * buffer.C (makeLaTeXFile): Small fix.
17189
17190 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17193
17194         * text2.C: add a using directive.
17195
17196 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17197
17198         * BufferView2.C:
17199         * lyx_gui_misc.h:
17200         * lyxfr1.C:
17201         * lyxfunc.C: kill LyXBell.
17202
17203 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17204
17205         * text.C (IsBoundary): Remove the error message
17206
17207         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17208
17209         * lyxrc.C (setDefaults): Correct initialization value for
17210         font_norm_type.
17211
17212 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17213
17214         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17215         gotoError().
17216
17217         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17218         and GotoNextNote().
17219
17220         * src/LyXAction.C: Added reference-next.
17221
17222         * text.C (InsertChar): Use contains instead of strchr.
17223
17224         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17225
17226 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17227
17228         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17229         alignment commands (when needed).
17230
17231         * text.C (InsertChar): Add ':' to number separator chars.