]> git.lyx.org Git - features.git/blob - src/ChangeLog
f5d4251677dcaeb7593c8d238eef4a3b1e09a95e
[features.git] / src / ChangeLog
1 2005-02-15  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (error_handler):
4         * lyxfunc.C:
5         * lyxrc.C (setDefaults):
6         s/GetEnv/getEnv/.
7         #include "environment.h".
8
9         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
10
11 2005-02-15  Angus Leeming  <leeming@lyx.org>
12
13         * lyxserver.C (startPipe): squash MSVC warning "local variable
14         'fd' used without having been initialized".
15
16 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
17
18         * BufferView_pimpl.C: revert accidental commit.
19
20 2005-02-14  André Pönitz  <poenitz@gmx.net>
21
22         * dociterator.[Ch]: new member forwardPosNoDescent(),
23         which doesn't enter nested insets.
24         * text2.C (setFont): use forwardPosNoDescent() instead
25         of ForwardPos() (fixes crash on font change).
26
27 2005-02-13  Angus Leeming  <leeming@lyx.org>
28
29         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
30         only if lyxrc.path_prefix is not empty.
31
32 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
33
34         * bufferparams.C (readGraphicsDriver): prevent crash
35
36 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * text2.C (setCounter): check for inInset() == 0
39
40 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
43         but use update() to get correct screen display; use convert
44         instead of istringstream. 
45         (getStatus): handle LFUN_GOTO_PARAGRAPH 
46
47         * lyxfunc.C (dispatch, getStatus): do not handle
48         LFUN_GOTO_PARAGRAPH here.
49
50 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
51
52         * text3.C (dispatch): size() -> depth()
53
54         * text2.C: remove some debug output
55
56         * paragraph.C: ws changes only
57
58         * lyxfunc.C (getStatus): size() -> depth()
59
60         * dociterator.h (clear, push_back, pop_back, internalData,
61         operator[], resize, empty): new functions
62         Make StableDocIterator and operator== be friends. Don't inherit
63         from std::vector use a privat class variable slices_ instead.
64         Modify to fit.
65
66         * dociterator.C: update because of not inheriting from std::vector
67         anymore. Call explictly to slices_ instead. Use depth() instead of
68         size() and top() instead of back()
69
70         * cursor.C: chagne size() -> depth and back() -> top(). Also
71         remove some direct operator[](i) calls in favour of foo[i]
72         (getFont): remove some dead code
73
74         * bufferview_funcs.C (coordOffset): size() -> depth()
75
76         * buffer.C: ws changes only
77
78         * CutAndPaste.C (eraseSelection): back() -> top()
79
80         * BufferView_pimpl.C (selectionRequested): back() -> top()
81
82         * BufferView.C (setCursor): size() -> depth()
83
84 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
85
86         * text3.C (cursorPrevious): return true if depm changed something
87         (cursorNext): ditto
88         (dispatch): rename sl to oldTopSlice, remove moving use the new
89         NoUpdate func attrib instead. Make sure that needsUpdate is set
90         for function that have NoUpdate, but where depm might have changed
91         the buffer anyway.
92
93         * text2.C (cursorLeft): make us return true if depm changed
94         something
95         (cursorRight): ditto
96         (cursorUpParagraph): ditto
97         (curosrDownParagraph): ditto
98         (cursorUp, cursorDown): ditto, make sure to read comments in code
99         (deleteEmptyParagraphMechanism): remove an assert, also return
100         true if just a single char was deleted.
101
102         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
103         cursor that we modify, to avoid modifying an active cursor before
104         we call setCursor. This allows depm to run. Also return true if
105         depm deleted something.
106
107         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
108         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
109         cursorDownParagraph, cursorPrevious and cursorNext, return true if
110         something was changed in the buffer because of them (ie. depm run)
111
112         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
113         debug messages. Make update by default be false. Make sure that
114         the result of update is retained throught several calls down to
115         dispatch.
116
117         * LyXAction.h: add a new func_attrib: NoUpdate
118
119         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
120         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
121         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
122         and LFUN_WORDLEFT
123         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
124
125 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
128         bv_->owner(), bv_->buffer() by direct references to the private
129         members.
130         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
131         (getStatus): isSavedPosition() is in BufferView::Pimpl.
132         (fitCursor): center() is in BufferView::Pimpl.
133         (getStatus, trackChanges, dispatch): no need for a temporary buf
134         variable
135         (fitCursor, workAreaDispatch): use workarea().workheight()
136
137 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
138
139         * CutAndPaste.C (pasteSelectionHelper): fix a crash
140
141 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
142
143         * buffer.C: format up to 241.
144         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
145         break if pasting into ERT
146         * lyxfunc.C (getStatus): suppress mathpanel and
147         LFUN_DIALOG_SHOW_NEW_INSET in ERT
148
149 2005-02-01  Angus Leeming  <leeming@lyx.org>
150
151         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
152
153 2005-02-01  Angus Leeming  <leeming@lyx.org>
154
155         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
156         calling fs::is_directory().
157
158 2005-01-31  Angus Leeming  <leeming@lyx.org>
159
160         * lyx_main.C (priv_exec): specify explicitly the relative location
161         of the top level build directory when run in-place.
162
163 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
166         LyXText containing the cursor, not the top-level one.
167
168         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
169         true.
170         (insertStringAsLines): rename par to pit; use temporary variable
171         par to hold a Paragraph; do not store par.layout() in a variable,
172         since the pointer may die when breaking paragraphs; pass pars to
173         breakParagraph() instead of Buffer::paragraphs().
174
175 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
176
177         * lyxlex_pimpl.h: #include <fstream>.
178
179         * BufferView.[Ch] (getLyXText): add a const version.
180
181         * BufferView_pimpl.C: add debug aids.
182
183         * RowList_fwd.h:
184         * buffer.h:
185         * lyxrow.h:
186         * paragraph_funcs.h: add commentary explaining what the class does.
187
188
189         * coordcache.[Ch]: add lots of commentary.
190         (startUpdating, doneUpdating): debug aids.
191         (arrays, insets, parPos, getParPos): accessors to private data.
192
193         * cursor_slice.[Ch] (text): add a const version.
194         * dociterator.[Ch] (text, innerText): add const versions.
195
196         * lyxtext.h (breakParagraph): change the keep_layout arg to a
197         bool.
198
199         * paragraph.C (getRow, pos2ros): add asserts.
200
201         * paragraph.h: add commentary. Lots of.
202
203         * paragraph.[Ch] (metrucs, draw): removed.
204
205         * cursor.C:
206         * rowpainter.[Ch]: const-correct changes.
207
208         * text.C: various obvious clean-ups. Removal of ancient cruft.
209         Bug fixes, even.
210
211 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
212
213         * vc-backend.C (find_file): rewrite to use boost.filesystem
214         (scanMaster): ditto
215
216         * main.C (main): set default name check for boost.filesystem to
217         no check
218
219         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
220         (open): ditto
221         (doImport): ditto
222         (actOnUpdatedPrefs): ditto
223
224         * lyx_main.C (init): rewrite to use boost.filesystem
225         (queryUserLyXDir): ditto
226
227         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
228         (getContentsOfAsciiFile): ditto
229
230         * lastfiles.C (readFile): rewrite to use boost.filesystem
231
232         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
233
234         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
235         (loadLyXFile): ditto
236
237         * buffer.C (Buffer): adjust for destroydir
238         (getLogName): rewrite to use boost.filesystem
239         (setFileName): ditto
240         (save): use fs::copy_file (from fs_extras)
241
242         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
243
244         * LaTeX.C (run): rewrite to use boost.filesystem
245         (scanAuxFiles): ditto
246         (handleFoundFile): ditto
247
248 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
249
250         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
251
252         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
253
254 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * lyxlayout.[Ch]: change some vars from float to double
257
258         * buffer.C (readFile): make a local var const
259
260         * Several files: use convert<> instead of atoi,strToXXX and friends
261
262 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
263
264         * LaTeXFeatures.[Ch]: Add a static list packages_ that
265         holds the contents of packages.lst. New functions getAvailable
266         and isAvailable to parse and check that list, resp.
267
268         * LyXAction.C:
269         * lfuns.h:
270         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
271
272         * bufferparams.[Ch]: new param output_changes.
273
274         * Buffer.C: increase file format to 240.
275         Use output_changes and isVailable.
276
277         * changes.[Ch]:
278         * paragraph.C:
279         * paragraph_pimpl.C: Use output_changes and isVailable.
280
281 2005-01-23  Angus Leeming  <leeming@lyx.org>
282
283         * output_latex.C: #include "insetbibitem.h", rather than
284         forward declare function bibitemWidest.
285
286 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
287
288         * lyx_main.C (init): make it compile on the Mac.
289
290 2005-01-20  Angus Leeming  <leeming@lyx.org>
291
292         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
293         (setLyXMisc): (char string literal) != (char string literal) is
294         performing a comparison on the addresses. Convert one operand
295         explicitly to string to guarantee expected behaviour.
296         From MSVC warning.
297
298 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
299
300         * buffer.C:
301         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
302
303         * output_plaintext.C: remove unneeded #include gzstream.h.
304
305 2005-01-20  Angus Leeming  <leeming@lyx.org>
306
307         * SpellBase.h: rename some of the elements of the Result enum.
308
309         * aspell_local.h:
310         * ispell.h:
311         * pspell.h:
312         * aspell.C (check):
313         * ispell.C (check):
314         * pspell.C (check): ditto
315
316 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
317
318         * buffer.C: add #include <fstream>.
319
320         * lyx_main.C (init): Compile fix.
321
322         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
323
324 2005-01-20  Angus Leeming  <leeming@lyx.org>
325
326         * mover.h: change commentary to reflect the changed meaning of
327         the $$s placeholder.
328
329 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * output_linuxdoc.C (linuxdocParagraphs): silence warning
332
333         * lyxfind.C (MatchString::operator()): remove bogus semicolon
334
335 2005-01-20  Angus Leeming  <leeming@lyx.org>
336
337         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
338         printing diagnostic data by not dereferecing an iterator past the
339         end.
340
341 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
342
343         * buffer.C (readHeader): use "&&" rather than "and".
344
345         * lyxserver.h (inPipeName, outPipeName): make these const.
346
347 2005-01-19  Angus Leeming  <leeming@lyx.org>
348
349         * lyx_main.C (error_handler, init): protect SIGHUP with
350         #ifdef SIGHUP guards.
351
352 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
355
356 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * text.C (setHeightOfRow): add a margin at the top and bottom of
359         the document (bug 1761)
360
361 2005-01-17  Angus Leeming  <leeming@lyx.org>
362
363         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
364         with "python ". Workaround for a brain-dead Windows.
365
366 2005-01-16  Angus Leeming  <leeming@lyx.org>
367
368         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
369         for MacOSX and Windows to use prependEnvPath.
370         Strip out the hard-coded block to add elements to the PATH for
371         MacOSX and replace it with a call to prependEnvPath using the
372         contents of LyXRC::path_prefix.
373         (queryUserLyXDir): strip out the code to run reconfigure, instead
374         returning a boolean indicating the necessity to do so.
375         (reconfigureUserLyXDir): contains the code to reconfigure the
376         user support directory. Is now called after the various LyXRC data
377         files have been read.
378
379         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
380
381 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
382
383         * converter.[Ch] (convert): take a new parameter try_default. Use
384         a default converter (imagemagick) if try_default is true.
385
386 2005-01-13  Angus Leeming  <leeming@lyx.org>
387
388         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
389         os::cygwin_path_fix.
390         (write): output LyXRC::cygwin_path_fix as necessary.
391
392 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
393
394         * lyxrc.h:
395         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
396
397 2005-01-12  Angus Leeming  <leeming@lyx.org>
398
399         * lyx_main.C (init): set the PATH variable to include the
400         directory containing the LyX binary when running on Mac or Windows.
401
402 2005-01-12  Angus Leeming  <leeming@lyx.org>
403
404         * lyx_main.C (init): remove cruft that purports to set the locale
405         dir. It doesn't and is not needed anyway.
406
407 2005-01-10  Angus Leeming  <leeming@lyx.org>
408
409         * Makefile.am: remove the lyx_main.C special casing.
410
411         * BufferView_pimpl.C:
412         * bufferlist.C:
413         * exporter.C:
414         * lyx_cb.C:
415         * lyx_main.C:
416         * lyxfunc.C:
417         * messages.C: use support/package.h to provide the paths to the
418         various directories used by LyX.
419
420 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
423         layout if pasting into an empty paragraph)
424
425 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
426
427         * tex-accent.C: add <string>
428
429 2005-01-06  José Matos  <jamatos@lyx.org>
430
431         * ParagraphParameters.C (write): put every parameter in its own line.
432         * paragraph.C (write): reduce number of consecutive empty lines exported.
433         * buffer.C (LYX_FORMAT): increase file format to 239.
434
435 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
436
437         * everywhere: change support/tostr.h -> support/convert.h
438
439         * tabular.C: make all write_attributes templates, tostr -> convert
440
441         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
442         (emptyTag): and -> &&, and fix type for ret from getChar
443         (getFirstWord): fix type for ret from getChar
444         (onlyText): and -> &&
445         (simpleDocBookOnePar): and not -> && !, fix type for ret from
446         getChar
447
448         * toc.C (goTo, action):
449         * text3.C (dispatch):
450         * text.C (currentState):
451         * tex-accent.C (DoAccent):
452         * sgml.C:
453         * lyxrc.C:
454         * lyxfunc.C (menuNew):
455         * lyxfinc.C (replace):
456         * counters.C (laberItem):
457         * bufferview_funcs.C (font2string):
458         * bufferparams.C (writeFile):
459         * buffer.C (readFile):
460         * Spacing.C (set):
461         * MenuBackend.C: tostr -> convert
462
463         * LaTeX.C (runMessage): fix format
464         (scanAuxFiles): tostr -> convert
465
466         * BufferView_pimpl.C (savePosition): fix format
467         (restorePosition): ditto
468         (dispatch): ditto
469
470 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
471
472         * Spacing.[Ch]: New method getValueAsString().
473
474         * Spacing.[Ch]:
475         * bufferparams.C:
476         * ParagraphParameters.C:
477         * lyxlayout.C:
478         * text.C:
479         * text3.C: store/read spacing value as string.
480
481         * rowpainter.C: change float value (spacing_val) to double.
482
483         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
484         broken custom document spacing).
485
486 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
487
488         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
489         namespace, also more use of temp references and const
490
491         * cursor.[Ch] (getStatus): move to lyxfunc.C
492
493         * bufferparams.C: reformat slightly
494
495         * bufferview_funcs.C (font2string): constify arg
496
497         * changes.C:
498         * converter.C:
499         * counters.C:
500         * bufferlist.C:
501         * buffer_funcs.C: (many funcs): constify arg on function
502         definitions, also make more local vars const, also add ASSERTS on
503         pointer args.
504
505         * buffer.C (LYX_FORMAT): put const in correct place
506         (many funcs): constify arg on function definitions, also make
507         more local vars const
508
509         * aspell_local.h: remove "struct" from typdef setup
510
511         * aspell.C (check): make word_ok const
512         (nextMiss): simplify slightly
513         (error): ditto
514
515 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
516
517         * lyxrc.[Ch]: store all float values as strings.
518         use int (not float) for lyxrc.dpi.
519
520 2005-01-04  Angus Leeming  <leeming@lyx.org>
521
522         * lyx_cb.C (Reconfigure):
523         * lyx_main.C (queryUserLyXDir):
524         to run the <system_lyxdir>/configure correctly on Windows, prefix
525         the path to the script with "sh " when generating the string that
526         is passed to system().
527
528 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
529
530         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
531
532 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * lyxlength.C (asLatexString): get rid of setprecision
535
536 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * text2.C (setLayout): remove unused variable endpit.
539         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
540
541         * paragraph.C (onlyText): remove unused variable style.
542
543         * cursor.C (bruteFind): remove unused variables beg and end.
544
545         * Makefile.am (dist_noinset_DATA): not needed anymore
546
547         * cheaders/*: remove.
548
549 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
550
551         * text3.C: fix LFUN_MATH_MODE.
552
553 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         * buffer_funcs.C (countWords): new function. Counts words between
556         two iterators.
557
558         * BufferView_pimpl.C (getStatus, dispatch): handle
559         LFUN_WORDS_COUNT.
560
561         * LyXAction.C (init):
562         * lfuns.h: add LFUN_WORDS_COUNT.
563
564 2004-12-19  Angus Leeming  <leeming@lyx.org>
565
566         * buffer.C (save): s/slashify_path/internal_path/.
567
568 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
569
570         * lyxfind.C (findChange): do not search for end of pars, because
571         the change tracker cannot handle this (fixes bug 1719).
572
573 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
574
575         * paragraph.[Ch] (autoBreakRows): remove
576
577         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
578
579         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
580         avoid using the paragraph one
581
582         * text2.C (LyXText, insertStringAsLines): adjust
583
584 2004-12-16  Angus Leeming  <leeming@lyx.org>
585
586         * bufferlist.C:
587         * lyx_main.C:
588         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
589
590 2004-12-14  Angus Leeming  <leeming@lyx.org>
591
592         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
593
594         * bufferlist.C (emergencyWrite):
595         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
596         GetEnvPath("HOME").
597
598 2004-12-14  Angus Leeming  <leeming@lyx.org>
599
600         * main.C: (main): no longer pass pointers to os::init.
601
602 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
603
604         * undo.C (textUndoOrRedo): simplify logic, fix a crash
605         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
606
607 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
608
609         * lyxfunc.C:
610         * text3.C: remove selection_possible global flag
611
612 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
613
614         * text2.C (getSelectionSpan): remove
615         (changeDepth, changeDepthAllowed): adjust
616
617 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
618
619         * Makefile.am (BOOST_LIBS): use boost variables
620
621 2004-12-03  José Matos  <jamatos@lyx.org>
622
623         * buffer.C: format up to 238.
624
625 2004-12-03  José Matos  <jamatos@lyx.org>
626
627         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
628
629 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
630
631         * cursor.C (goUpDown): remove call to idxUpDown2
632
633 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
634
635         * tabular.[Ch]: use size_t-like types for cell, row and column
636         indices
637
638 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * lyxfunc.C (getStatus): do not lose previous information when
641         calling BufferView::getStatus; do not set a default "Command
642         disabled" message at the beginning, but just before returning.
643
644 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
645
646         * cursor.h (getStatus): add better comment from src/cursor.C
647
648 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
649
650         * text3.C (getStatus): return false when the lfun is not handled
651
652 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * broken_headers.h: remove
655
656         * Makefile.am (lyx_SOURCES): remove broken_headers.h
657
658 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
659
660         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
661         offset_ref accessors
662
663         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
664         top_y_, merge fitcursor with update
665         (updateScrollbar, scrollDocView, fitCursor, center, update): new
666         coord scheme
667         (metrics): introduce
668         (workAreaDispatch): adapt to new coord scheme
669         (redoCurrentBuffer): remove
670
671         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
672
673         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
674         CurStatus enum.
675
676         * coordcache.[Ch]: add paragraph cache and helpers
677
678         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
679         adjust everywhere
680
681         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
682         (targetX, setTargetX): introduce
683
684         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
685         baseline -> ascent, as the rest of lyx
686
687         * lyxtext.h: remove redoParagraphs, updateParPositions,
688         fullRebreak, redoParagraphInternal. move dist to anon namespace in
689         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
690         have ascent/descent (ascent is ascent of first par)
691
692         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
693         step of BufferView
694
695         * paragraph.[Ch]: unify dimension handling with the rest of lyx
696
697         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
698
699         * pariterator.C: fix infinite loop introduced in par->pit renaming
700
701         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
702         in insets and LyXText, draw two off-screen paragraphs using
703         NullPainter, and adapt to new coord scheme
704
705         * text.C:
706         * text2.C:
707         * text3.C: adapt lfun handlers to the new coord scheme, which
708         means: there's only guaranteed coord information for onscreen pars
709         plus one above and one below. This implies that one can do search
710         from y coordinates in the range [-1,workHeight]
711
712 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
713
714         * rename a lot of InsetOld to InsetBase
715
716 2004-11-25  Angus Leeming  <leeming@lyx.org>
717
718         * BufferView_pimpl.C:
719         * lyx_cb.C:
720         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
721
722 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
723
724         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
725         call BufferView::getStatus if LCursor::getStatus did nothing
726         (setStatusMessage, getStatusMessage): removed.
727
728         * FuncStatus.C (message): new methods. Used to provide an error
729         message indicating why a command is disabled.
730         (clear, |=, FuncStatus): update for message.
731
732 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
733
734         * lyxfunc.C (dispatch): always call sendDispatchMessage
735
736 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
737
738         * BufferView.C:
739         * BufferView_pimpl.C:
740         * CutAndPaste.C:
741         * FontIterator.C:
742         * buffer.C:
743         * cursor.C:
744         * cursor_slice.[Ch]:
745         * dociterator.[Ch]:
746         * lyxfind.C:
747         * paragraph_funcs.C:
748         * pariterator.C:
749         * rowpainter.C:
750         * text.C:
751         * text2.C:
752         * text3.C:
753         * undo.C: par->pit renaming
754
755 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
756
757         * tabular.C (cellstruct): use initialization, store a shared_ptr
758         to insettext instead of the insettext directly, adjust to fit.
759         (operator=):  new function
760         (swap): new function
761         (rowstruct): use initialization
762         (columnstruct): use initialization
763         (ltType): use initialization
764
765
766         * lyxlength.h (swap): new function
767
768         * LColor.[Ch] (operator=): use the common semantics
769
770 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * lyxfind.C (findNextChange): update the bufferview after setting
773         the selection.
774
775 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
778         number of InsetOptArgs has already been inserted.
779
780         * output_latex.C (latexOptArgInsets): new method. This outputs all
781         the optarg insets, up to the limit defined in the layout file.
782         (optArgInset): removed
783         (TeXOnePar): call latexOptArgInsets; correctly update texrow
784
785 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * paragraph.C (isLetter): remove special spellchecker-related
788         code; return true also for digits
789         (isWord, isKomma): remove
790
791         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
792         * lyxfind.C (MatchString()): use isLetter instead of isWord
793
794 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
795
796         * pariterator.h (operatir=): comment out un-implemented member
797         function.
798
799         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
800         static cast.
801
802 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
803
804         * lyxfont.h: include LColor.h to satisfy concept checks.
805
806 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
807
808         * pariterator.h: add typdefs for value_type, difference_type,
809         pointer and reference to satisfy concept checks. Also add default
810         constructor for same reason.
811
812         * pariterator.C (operator++): add post-increment operator to
813         satisfy concept checks.
814
815         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
816         checks.
817
818         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
819
820         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
821         checks. Also rename base_type to BaseType to follow naming
822         standard better.
823
824         * FloatList.h: include Floating.h to satisfy concept checks.
825
826 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * lyxfunc.C (getStatus): when the origin of the request is menu or
829         toolbar, and the LyXView does not have focus, do as if there was
830         no buffer (bug 1720)
831
832         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
833         FuncRequest to individual entries of LFUN_SEQUENCE
834
835 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         * output_latex.C (TeXOnePar): override runparams.moving_arg
838         according to the needprotect value of the current paragraph (bug
839         1739)
840
841         * paragraph.C (simpleTeXOnePar): no need to override
842         runparams.moving_args here
843
844 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
845
846         * vspace.C: fix off-by-one-error, related to fix #1682
847
848 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
849
850         * lengthcommon.C: a more general fix for bug 1682
851
852 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
853
854         * text.C (backspace): fix crash
855
856 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
857
858         * format.[Ch] (getFormatFromFile): new method
859         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
860
861 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
864
865 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
866
867         * lyxfunc.C (dispatch): remove the verbose argument
868         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
869         instead
870
871         * kbmap.C (defkey): set the origin of func to KEYBOARD
872
873         * MenuBackend.C (MenuItem):
874         * ToolbarBackend.C (add): set the origin of func to UI
875
876         * funcrequest.[Ch]: add origin member, which indicates which part
877         of LyX requests an action
878
879 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
880
881         * converter.C (move): don't lie in the error message
882         * converter.h (isReachable, move): document
883
884 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
885
886         * buffer.C: remove unused using lyx::support::atoi
887         * paragraph_funcs.C: ditto
888
889 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * bufferlist.C (exists): use bind and equal_to instead of
892         compare_memfun
893         (getBuffer): ditto
894         * lyxtextclasslist.C (NumberOfClass): ditto
895
896         * cursor.C (insert): use for_each instead of explicit for loop
897
898         * bufferlist.C (getFileNames): use std::transform and
899         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
900
901         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
902         for loop
903
904         * buffer.C (changeLanguage): use for_each instead of explicit for
905         loop
906         (hasParWithID): implement using getParFromID
907
908         * LaTeXFeatures.C: ws change only
909
910         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
911         to cleanup a bit.
912
913         * BufferView_pimpl.C (trackChanges): use for_each instead of
914         expilicit for loop
915
916 2004-11-04  André Pönitz  <poenitz@gmx.net>
917
918         * undo.h:
919         * undo.C (textUndoOrRedo): fix crash when creating undo information.
920
921         * dociterator.C (asDocIterator): use hard assert again.
922
923 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
924
925         * lyxlength.C (asLatexString): rewrite so that it does not use
926         snprintf anymore
927
928 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * text3.C (specialChar, dispatch): make sure cursor moves to the
931         right after inserting an inset
932
933 2004-11-02  José Matos  <jamatos@lyx.org>
934
935         * output_docbook.C (docbook):
936         * paragraph.C (getID):
937         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
938         garantee that the output is always legal.
939
940         * tabular.C (docbook):
941         * outputprams.[Ch]: remove mixed contents.
942
943 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
944
945         * text2.C (setCounter): prevent endless loop
946
947 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
948
949         * exporter.C (copyFile): use the mover instead of support::copy()
950         * exporter.C (Export): pass format and latex name to copyFile()
951         * exporter.h (addExternalFile): document
952         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
953
954 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
955
956         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
957
958 2004-10-30  José Matos  <jamatos@lyx.org>
959
960         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
961         text and no inset or font change. This allows to use CDATA
962         sections just for the whole paragraph.
963
964 2004-10-30  José Matos  <jamatos@lyx.org>
965
966         * paragraph.C (getFirstWord): remove unused variable.
967
968 2004-10-30  José Matos  <jamatos@lyx.org>
969
970         * paragraph.C (getFirstWord): the content should always be escaped
971         there.
972         (simpleDocBookOnePar):
973         * output_docbook.C (makeEnvironment): replace reference to CDATA
974         to style pass_thru.
975
976 2004-10-30  José Matos  <jamatos@lyx.org>
977
978         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
979
980 2004-10-30  José Matos  <jamatos@lyx.org>
981
982         * output_docbook.C (makeParagraphs):
983         * paragraph.[Ch] (emptyTag): for docbook and company, if the
984         standard paragraph has only a given type of content drop the wrapper.
985
986 2004-10-29  José Matos  <jamatos@lyx.org>
987
988         * output_docbook.C (makeEnvironment):
989         * sgml.C (openTag):
990         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
991
992 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
993
994         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
995         (cleanID): sanitize any id.
996
997 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
998
999         * buffer.C, lyxlex_pimpl.C:
1000         * lyxlex_pimpl.C (setFile):
1001         s/getExtFromContents/getFormatFromContents/
1002
1003 2004-10-28  José Matos  <jamatos@lyx.org>
1004
1005         * output_docbook.C (makeEnvironment): move id to broadest possible
1006         scope.
1007
1008         * sgml.C (openTag): apply substitution of <> for all attributes.
1009
1010 2004-10-28  José Matos  <jamatos@lyx.org>
1011
1012         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1013         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1014         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1015
1016         * sgml.[Ch]: new version for open and closeTag for paragraph and
1017         for strings. Now they handle the ids of paragraphs.
1018
1019 2004-10-26  Angus Leeming  <leeming@lyx.org>
1020
1021         * Makefile.am: add mover.[Ch].
1022
1023         * converter.C (convert, move): use the new Movers to move external
1024         files to the temp directory.
1025
1026         * lyx_main.C (init): ensure that the global system_movers data
1027         is initialised.
1028
1029         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1030         preferences file.
1031
1032         * mover.[Ch]: new files, defining a Mover as a utility to move an
1033         external file between directories and, if necessary, manipulate this
1034         file using a helper script.
1035
1036 2004-10-25  José Matos  <jamatos@lyx.org>
1037
1038         * output_docbook.C (makeCommand): merge two if's that tested the
1039         same condition.
1040
1041 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * sgml.C (escapeString): fix warning in a better way
1044
1045 2004-10-25  José Matos  <jamatos@lyx.org>
1046
1047         * sgml.C (escapeString): import the require boosts header file for
1048         tie, and avoid a signed unsigned comparison.
1049
1050 2004-10-25  José Matos  <jamatos@lyx.org>
1051
1052         * sgml.h: add #include <string>
1053
1054 2004-10-25  José Matos  <jamatos@lyx.org>
1055
1056         * sgml.[Ch] (escapeString): new function to escape all the string.
1057
1058 2004-10-24  José Matos  <jamatos@lyx.org>
1059
1060         * paragraph.[Ch] (getFirstWord): new function to get the first
1061         word. Useful for description.
1062         (simpleDocBookOnePar): remove depth argument, add another that
1063         says where to start the paragraph.
1064
1065         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1066         use the new functions to fix cleanly the support for descriptions.
1067
1068 2004-10-24  José Matos  <jamatos@lyx.org>
1069
1070         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1071         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1072         * output_linuxdoc.C (linuxdocParagraphs):
1073         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1074         add buffer as argument.
1075
1076 2004-10-24  José Matos  <jamatos@lyx.org>
1077
1078         * output_docbook.C (makeEnvironment, searchEnvironment): place
1079         CDATA inside paragraphs and fix scope for listitems.
1080
1081 2004-10-24  José Matos  <jamatos@lyx.org>
1082
1083         * output_docbook.C: remove using statement for stack.
1084
1085 2004-10-23  José Matos  <jamatos@lyx.org>
1086
1087         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1088         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1089         docbook. The new scheme is recursive and makes use of iterators, the
1090         same as latex export works.
1091         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1092         directly with the paragraph contents. This code was moved up to
1093         output_docbook.C (docbookParagraphs).
1094         * sgml.C (openTag, closeTag): removed unneeded newlines.
1095         (closeEnvTags) removed.
1096
1097 2004-10-23  André Pönitz  <poenitz@gmx.net>
1098
1099         * undo.C (textUndoOrRedo):
1100         * dociterator.C (asDocIterator): work around crash
1101
1102         * cursor.C (getStatus): replace ASSERT by more verbose error message
1103           and manual correction of the problem. Should increase stability
1104           while providing more sensible information.
1105
1106 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1107
1108         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1109
1110         * bufferlist.C (previous, next): new methods
1111
1112         * lfuns.h:
1113         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1114
1115 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1116
1117         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1118         entities to preamble.
1119
1120 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1121
1122         * messages.C (Pimpl): strip off translation context information
1123
1124 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1125
1126         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1127         the cursor is correct (bug 1694)
1128
1129 2004-10-13  José Matos  <jamatos@lyx.org>
1130
1131         * output_docbook.C (docbookParagraphs): fix closing tags in the
1132         end of the document.
1133
1134 2004-10-09  José Matos  <jamatos@lyx.org>
1135
1136         * buffer.C: format up to 237.
1137         * bufferparams.C (write): use tostr to convert booleans to strings.
1138
1139 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1142
1143 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * LaTeX.C: implement use of babel language in xindy.
1146
1147 2004-10-05  José Matos  <jamatos@lyx.org>
1148
1149         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1150         Add new translators to help reading and writing the lyx file.
1151
1152 2004-10-05  José Matos  <jamatos@lyx.org>
1153
1154         * ParagraphParameters.C (read):
1155         * text.C (readParToken): replace nexToken by more appropriate lex
1156         methods.
1157
1158 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1159
1160         * LaTeX.C (runMakeIndex):
1161         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1162         (usually 'makeindex') configurable.
1163
1164         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1165         with a variable rather than with a number.
1166
1167 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * output_latex.C (TeXOnePar): make sure font setting is the first
1170         thing that gets output (and the last at the end). Should fix bug
1171         1404.
1172
1173 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1174
1175         * pch.h: use proper signal include
1176
1177         * LaTeX.h: Use preferred calling of Boost.Signal
1178         * buffer.h: ditto
1179
1180 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1181
1182         * pch.h: dont include <boost/function/function0.hpp>
1183
1184         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1185
1186         * paragraph_pimpl.h: remove usage of ShareContainer
1187
1188         * paragraph_pimpl.C: remove initialization of ShareContainer.
1189
1190 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1191
1192         Fix bug #1666
1193
1194         * BufferView.C (putSelectionAt): change the semantics when
1195         backwards == true: now, this just swaps cursor and anchor wrt the
1196         forward case
1197
1198         * BufferView.h (putSelectionAt): add some documentation
1199
1200         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1201         make sure backwardChar is done at least once (to avoid getting
1202         stuck)
1203         (findNextChange): use putSelectionAt in the forward direction
1204         (operator()): use Paragraph::isWord
1205
1206 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1207
1208         * Spacing.C (set): c_str fix
1209
1210 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * lyx_cb.C (Reconfigure): quote the name of configure script in
1213         case it contains spaces
1214
1215 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1216
1217         * client: new dir
1218
1219         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1220         (BOOST_LIBS): use top_buildir when looking for the file
1221
1222 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1223
1224         * pch.h: do not use include boost/format.hpp, multiple symbols
1225                 will result (gcc bug)
1226
1227
1228 2004-08-23  José Matos  <jamatos@lyx.org>
1229
1230         * bufferparams.C (readToken): fix reading of the author field.
1231
1232 2004-08-20  José Matos  <jamatos@lyx.org>
1233
1234         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1235
1236 2004-08-20  José Matos  <jamatos@lyx.org>
1237
1238         * lyxlex.[Ch] (findToken): remove function.
1239
1240         * ParagraphParameters.C (findToken):
1241         * bufferparams.C (findToken): replace call for previous function
1242         with local copy. This local function has one more argument, the
1243         read string argument.
1244
1245 2004-08-16  José Matos  <jamatos@lyx.org>
1246
1247         * ParagraphParameters.C (write):
1248         * Spacing.C (writeFile):
1249         * bufferparams.C (writeLaTeX):
1250         * lyx_cb.C (Reconfigure):
1251         * paragraph.C (write):
1252         * tabular.C (write): remove unnecessary space at end of line.
1253
1254
1255 2004-08-16  José Matos  <jamatos@lyx.org>
1256
1257         * text.C (readParagraph): remove debug message.
1258
1259 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1262         crash
1263
1264         * output_plaintext.C (asciiParagraph): set depth correctly
1265
1266         * outputparams.h: add member depth
1267
1268         * paragraph_funcs.C (ownerPar): remove.
1269
1270         * text2.C (setCounter): remove first_pit; comment out some
1271         non-working code that uses ownerPar
1272
1273         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1274         uses ownerPar
1275
1276 2004-08-16  José Matos  <jamatos@lyx.org>
1277
1278         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1279         For the same level of importance use the same chanel to report problems.
1280         (read): add code to deal with \begin_body and \end_body.
1281
1282
1283 2004-08-15  José Matos  <jamatos@lyx.org>
1284
1285         * lyxlex.C (getString): fix comment, buffer::readBody is now
1286         buffer:readDocument.
1287
1288         * tex-strings.C (string_papersize): Default -> default,
1289         Custom -> custom, for consistency with other options.
1290
1291 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1292
1293         * pch.h: new file
1294
1295         * Makefile.am: support pch
1296
1297 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         * text.C (readParToken): remove the static LyXFont variable and
1300         pass it as a parameter instead. This fixes a nasty bug where an
1301         inset will be inserted with a bad font in some situations
1302         (readParagraph): adapt
1303
1304         * text2.C (setCounter): reduce number of calls to pars_[pit]
1305
1306         * text.C (singleWidth): add an assert, fix a test
1307
1308         * rowpainter.C (paintText): reduce number of calls to singleWidth
1309
1310         * paragraph.C (isHfill):
1311         (isNewline): ws only
1312
1313 2004-08-14  André Pönitz  <poenitz@gmx.net>
1314
1315         * text.C:
1316         * text2.C:
1317         * rowpainter.C:
1318         * lyxtext.h (several functions): use a Paragraph & argument
1319         instead of par_type
1320
1321 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1324
1325         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1326
1327         * text.C (singleWidth): remove useless test
1328
1329 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * tabular.h: remove bogus comments
1332
1333         * tabular.C (getDescentOfRow):
1334         (isPartOfMultiColumn): add assertions
1335
1336         * lyxlength.C (inPixels): remove #warning
1337
1338 2004-08-14  André Pönitz  <poenitz@gmx.net>
1339
1340         * paragraph.h: inline getChar()
1341
1342         * BufferView.h: remove unused declarations
1343
1344 2004-08-14  José Matos  <jamatos@lyx.org>
1345
1346         * Buffer.[Ch] (readDocument): new name for old readBody.
1347         * Buffer.C: new file format, new keywords: \begin_document,
1348         \begin_header, \begin_body, \end_body.
1349
1350         * bufferparams.C (readToken): replace all calls to lex.nextToken
1351         by lex.next(). Do the same to eatLine except where really needed.
1352
1353         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1354         line when writing to the lyx file.
1355
1356         * output_plaintext.C (asciiParagraph): fix Bibliography style
1357         handling.
1358
1359         * text.C (read): fix end of file handling.
1360
1361 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * MenuBackend.C (Menu::operator[]): new method to access
1364         individual menu items
1365         (Menu::hasFunc): new method. search for an item that corresponds
1366         to a given func
1367         (MenuBackend::specialMenu): new method
1368         (MenuBackend::expand): if a special menu has been set, skip
1369         entries whose func() appears in this menu
1370
1371 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1372
1373         * text3.C: use Debug::DEBUG a bit more
1374
1375         * text.C (leftMargin): try to simplify a tiny bit change var x to
1376         l_margin. Dont output the wide margins always.
1377         (rightMargin): no margin in inner texts
1378
1379         * rowpainter.h (nestMargin): new func
1380         (changebarMargin): new func
1381         (rightMargin): new func
1382
1383         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1384         now functions.
1385         (paintLast): ditto
1386
1387         * factory.C (createInset): modify setDrawFrame
1388
1389         * cursor.C: use Debug::DEBUG a bit more
1390
1391 2004-08-14  André Pönitz  <poenitz@gmx.net>
1392
1393         * coordcache.[Ch]:
1394         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1395         cache for all insets in (at least partially) visible (top-level)
1396         paragraphs.
1397
1398         * BufferView_pimpl.C: reset external coord cache before every update.
1399         This means the coord cache only contains valid entries.
1400
1401 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1402
1403         bug 1096
1404         * BufferView_pimpl.C (getInsetByCode): move function out of class
1405         and change in to a template in anon namespace. Also fix to do what
1406         suits us better.
1407
1408 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1409
1410         bug 1305
1411         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1412         of char
1413         (breakParagraph): rename par to par_offset and use a local
1414         reference. Add code to keep the language over a rebreak.
1415         (breakParagraphConservative): rename par to par_offset, use a
1416         local reference
1417         (mergeParagraph): ditto
1418         (outerHook): ditto
1419         (isFirstInSequence): ditto
1420         (outerFont): rename pit to par_offset
1421
1422         * paragraph.C: ws change
1423         * paragraph.h: ditto
1424         * text3.C: ditto
1425         * text.C: ditto
1426
1427 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1430         treatment for ']'
1431
1432         * paragraph.C (simpleTeXOnePar): when we have a \item with
1433         optional argument, enclose the argument with curly brackets (in
1434         case it contains a closing square bracket)
1435
1436         * text2.C (editXY):
1437         * text2.C (editXY):
1438         * text3.C (checkInsetHit): constify
1439
1440 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1443         documents (bug 1629)
1444
1445 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         Fix toggling of collapsable insets with the mouse (bug 1558)
1448
1449         * lyxfunc.C (dispatch): adapt to LCursor changes
1450
1451         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1452         make sure that dispatch is not invoked twice
1453
1454         * cursor.C (needsUpdate): new method
1455         (dispatch): return void
1456         (result): new method, to access the DispatchResult of the cursor.
1457
1458 2004-08-13  José Matos  <jamatos@lyx.org>
1459
1460         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1461
1462 2004-08-13  André Pönitz  <poenitz@gmx.net>
1463
1464         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1465
1466         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1467           multiple cells
1468
1469 2004-08-12  André Pönitz  <poenitz@gmx.net>
1470
1471         * text3.C: take out the 'cursor right' form insertInset and only
1472         do it in those places when it is really needed. Fixes crash on
1473         C-m...
1474
1475 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1478
1479         * BufferView_pimpl.C (setBuffer): initialize the current font of
1480         the underlying LyXText
1481
1482 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * kbsequence.C (print): use UI native formatting for menu
1485         shortcuts
1486
1487         * text.C (insertChar): call Paragraph::insertChar with a font
1488         argument (cosmetic)
1489
1490         * paragraph.C (insertInset, insertChar): the version that takes a
1491         LyXFont argument is now a wrapper around the other one (the
1492         opposite used to be true).
1493
1494         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1495         argument. Font setting is done in Paragraph now.
1496
1497 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1498
1499         * outputparams.h: add new members intitle and lang.
1500
1501         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1502         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1503
1504 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1505
1506         * text3.C (dispatch): remove special handling of button 4 and 5,
1507         it is now taken care of in the frontend code.
1508
1509 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1510
1511         * Spacing.h: add <string> (STLPort compile fix)
1512
1513 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1514
1515         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1516
1517 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1518
1519         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1520         to bool.
1521
1522         * converter.C (showMessage): inherit from unary_function, make
1523         operator() const.
1524
1525         * buffer.C (writeFile): initialize retval
1526
1527         * InsetList.h: rename private variable list to list_
1528         * InsetList.[Ch]: adjust accordingly.
1529
1530 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1533         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1534         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1535         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1536         * ParagraphParameters.C, LaTeXFeatures.C: replace
1537         "support/std_sstream.h" with <sstream>
1538
1539 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1540
1541         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1542         * lyxsocket.C (LyXServerSocket): ditto
1543         (serverCallback): ditto
1544
1545 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1546
1547         * LaTeXFeatures.C: check release date when loading jurabib.
1548
1549 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1550
1551         * lyxserver.C (startPipe): call register_socket_callback
1552         (endPipe): call unregister_socket_callback
1553
1554 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1555
1556         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1557         (LyXServerSocket): register the callback
1558         (LyXServerSocket): unregister the callback
1559         (fd): delete function
1560         (serverCallback): improve error checking and setup the callbacks.
1561         (dataCallback): change arg to fd.
1562         (writeln): new func (copied fro the client socket) used for server
1563         write to client.
1564         (LyXDataSocket): simplify
1565         (~LyXDataSocket): close ann unregiser callback
1566         (server): delete function
1567         (fd): delete function
1568         (readln): small changes, improve some std::string usage
1569         (writeln): constify a bit
1570
1571 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1572
1573         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1574         Qt frontend
1575
1576 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1577
1578         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1579         after it has been populated
1580
1581 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1582
1583         * text2.C (insertInset): move cursor when inserting inset.
1584
1585 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * kbmap.C (findbindings): a couple of new methods. returns a
1588         container of kb_sequence objects. The real work is done by the
1589         private recursive version
1590         (printbindings): uses findbindings to print out a bracketed list
1591         of bindings (renamed from findbinding).
1592
1593         * MenuBackend.C (binding): use kb_keymap::findbindings
1594
1595         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1596
1597 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1598
1599         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1600
1601 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1602
1603         * paragraph.C (isWord): return true on insets that report
1604         isLetter().
1605
1606         * text.C (getWord): use Paragraph::isWord to decide what is in a
1607         word and what is not; fix bug 1609.
1608
1609 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1610
1611         * tex-strings.C: add "none" to string_paperpackages[], fixes
1612         off-by-one-error in the paperpackage selection.
1613
1614         * lyxlex.[Ch]:
1615         * tex-strings.[Ch]: char const * string[n]
1616         -> char const * const string[]
1617
1618 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1621         command, return early.
1622
1623 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1624
1625         * debug.h: add DEBUG to enum and fix size of ANY.
1626
1627         * debug.C: add support for Debug::DEBUG
1628         (showTags): cast errorTags.level to unsigned int
1629
1630         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1631         (redoCurrentBuffer): ditto
1632         (updateScrollbar): ditto
1633         * cursor.C (dispatch): ditto
1634         * text2.C (setLayout): ditto
1635         (setFont): ditto
1636         (updateCounters): ditto
1637         (editXY): ditto
1638         (deleteEmptyParagraphMechanism): ditto
1639
1640 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1641
1642         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1643         annotations to cleanup the Makefile slightly.
1644
1645 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1646
1647         * lyxrc.C: do not set user_email to a default value but use empty
1648         instead. The entry used to be translated, which does not work
1649         since at the point where lyxrc is constructed there is no
1650         translation service available
1651
1652         * messages.C (getLocaleDir): remove and use directly
1653         lyx_localedir() instead
1654
1655 2004-06-02  Angus Leeming  <leeming@lyx.org>
1656
1657         Fix crash caused by dereferencing null pointer 'exportdata' in
1658         OutputParams by creating a new ExportData variable on the heap,
1659         storing it in a boost::shared_ptr.
1660         The crash was triggered when generating an Instant Preview
1661         of an external inset.
1662
1663         * Makefile.am: add outputparams.C
1664
1665         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1666         (c-tor): allocate memory to it.
1667
1668         * exporter.C (c-tor): associated changes.
1669
1670 2004-06-01  Angus Leeming  <leeming@lyx.org>
1671
1672         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1673         contains data before calling isInset(0). (Bug 1513.)
1674
1675 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1676
1677         * exporter.C (checkOverwrite): new method
1678         * exporter.C (copyFile): new method
1679         * exporter.C (Export): copy referenced files to the document dir
1680         * exporter.[Ch]: new class ExportedFile
1681         * exporter.[Ch]: new class ExportData. Contains currently the
1682         names of referenced external files
1683         * outputparams.h: add exportdata member.
1684
1685 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1686
1687         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1688         version.C-tmp
1689
1690 2004-05-19  Angus Leeming  <leeming@lyx.org>
1691
1692         * LaTeXFeatures.C:
1693         * ToolbarBackend.C:
1694         * bufferparams.C:
1695         * lyxfunc.C: small changes due to the introduction of namespace
1696         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1697
1698 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1699
1700         * text3.C (dispatch): supress update when only moving the cursor
1701         * cursor.C (selHandle): remove commented code
1702
1703 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1704
1705         * paragraph.C (startTeXParParams): correct column count
1706         * CutAndPaste.C (pasteSelection): remove const_cast
1707         * output_docbook.C (docbookParagraphs): remove const_cast
1708         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1709         const_cast and return ParagraphList::const_iterator
1710         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1711         * output_plaintext.C (writeFileAscii): remove const_cast
1712         * paragraph.[Ch] (simpleTeXOnePar): make const
1713         * paragraph_funcs.C (outerPar): use const iterators
1714         * paragraph_pimpl.C (validate): use const iterators
1715         * text.C (setHeightOfRow): use const iterators
1716
1717 2004-05-17  Angus Leeming  <leeming@lyx.org>
1718
1719         * lfuns.h:
1720         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1721
1722         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1723         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1724         if the citation engine has changed.
1725
1726 2004-05-14  José Matos  <jamatos@lyx.org>
1727
1728         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1729         if the textclass does not provide it. Have it different for sgml and
1730         xml.
1731         support the language of document.
1732         * output_docbook.C (docbookParagraphs):
1733         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1734         first anchor as the id of the paragraph, remove special case code.
1735         * sgml.C (escapeChar): escape only < & >.
1736
1737 2004-05-14  Angus Leeming  <leeming@lyx.org>
1738
1739         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1740         dependencies on src/frontends/controllers/biblio.h. Define a
1741         CiteEngine_enum wrapper class to enable the enum to be forward
1742         declared.
1743
1744 2004-05-12  Angus Leeming  <leeming@lyx.org>
1745
1746         * buffer.C: up LYX_FORMAT to 234.
1747         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1748         use_numerical_citations with a single biblio::CiteEngine cite_engine
1749         variable.
1750         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1751
1752 2004-05-13  José Matos  <jamatos@lyx.org>
1753
1754         * converter.h:
1755         * converter.C (Converter, readFlags): add xml member.
1756         * outputparams.h: add XML flavor.
1757         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1758
1759 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1760
1761         * lyxfunc.C (dispatch):
1762         (getStatus): fix handling of LFUN_SEQUENCE
1763
1764 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1765
1766         * debug.C (showLevel): do not forget the end-of-line marker
1767
1768 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1769
1770         * kbmap.C (read): do not stop parsing a bind file when an error
1771         occurs (bug 1575)
1772
1773 2004-04-29  Angus Leeming  <leeming@lyx.org>
1774
1775         * cursor.C:
1776         * factory.C:
1777         * pariterator.C:
1778         * text2.C: wrap a bunch of #warning statements
1779         inside #ifdef WITH_WARNINGS blocks.
1780
1781 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1782
1783         * buffer.C: increment format to 233.
1784
1785 2004-04-28  Angus Leeming  <leeming@lyx.org>
1786
1787         * BufferView_pimpl.C:
1788         * lyxfunc.C:
1789         * text3.C:
1790         s/updateToolbar()/updateToolbars()/
1791         s/Toolbar.h/Toolbars.h/
1792
1793 2004-04-28  Angus Leeming  <leeming@lyx.org>
1794
1795         * BufferView.[Ch] (c-tor):
1796         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1797         No longer passes these data to the WorkArea generator.
1798
1799 2004-04-28  Angus Leeming  <leeming@lyx.org>
1800
1801         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1802
1803 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1804
1805         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1806
1807 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * output_latex.C (TeXEnvironment): make sure that there is a line
1810         break before \end{foo} for the last paragraph of a document
1811         (TeXOnePar): if the paragraph is at the end of the document (or
1812         inset) and the language has to be reset, then make sure that the
1813         line break is _before_ the language command, not after (fixes bug
1814         1225); also make sure that the language reset command is the first
1815         thing after the paragraph (to ensure proper nesting of
1816         environments and thus fix bug 1404)
1817
1818 2004-04-21  John Levon  <levon@movementarian.org>
1819
1820         * ToolbarBackend.h:
1821         * ToolbarBackend.C: make "name" be a programmatic name
1822         and a gui_name field.
1823
1824         * lyxfunc.C: display the minibuffer on M-x
1825
1826 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1829         (bug 1526)
1830
1831 2004-04-19  Angus Leeming  <leeming@lyx.org>
1832
1833         * BufferView_pimpl.C (setBuffer): changed preview interface.
1834
1835         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1836         possible values.
1837
1838 2004-04-19  John Levon  <levon@movementarian.org>
1839
1840         * BufferView_pimpl.C:
1841         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1842
1843 2004-04-05  Angus Leeming  <leeming@lyx.org>
1844
1845         * text.C (redoParagraphs): add call to updateCounters(), thereby
1846         fixing the missing "Figure #:" label from the caption of a
1847         figure float.
1848
1849 2004-04-13  Angus Leeming  <leeming@lyx.org>
1850
1851         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1852         cursor is clicked out of an inset.
1853
1854 2004-04-13  Angus Leeming  <leeming@lyx.org>
1855
1856         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1857         than an InsetOld one.
1858
1859 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1860
1861         * format.[Ch]: add editor to Format
1862         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1863         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1864
1865 2004-04-08  André Pönitz  <poenitz@gmx.net>
1866
1867         * metricsinfo.h: remove PainterInfo::width member
1868
1869 2004-04-08  Angus Leeming  <leeming@lyx.org>
1870
1871         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1872         "\providecommand" rather than "\newcommand", thereby preventing
1873         clashes with packages that define "\boldsymbol" themselves.
1874         Eg, beamer.
1875
1876 2004-04-08  Angus Leeming  <leeming@lyx.org>
1877
1878         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1879         thereby squashing an unnecessary warning.
1880
1881 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1882
1883         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1884         setBuffer()
1885
1886 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * BufferView.C (setCursor): call redoParagraph (some insets could
1889         have been opened)
1890         (putSelectionAt): remove the 'double update' trick
1891
1892         * BufferView_pimpl.C (fitCursor): call refreshPar
1893         (workAreaDispatch): remove an uneeded update call
1894         (dispatch): remove some manual update calls
1895
1896         * cursor.[Ch]: remove cached_y_, updatePos
1897         (selHandle): set noUpdate when appropriate
1898
1899         * lyxfunc.C (dispatch): track if we need an update
1900
1901         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1902
1903         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1904         (paintSelection): cheap optimization, do not call cursorX when not
1905         needed
1906         (paintPars): change signature
1907         (refreshPar): add
1908         (paintText): adjust
1909         (paintTextInset): adjust
1910
1911         * text.C: adjust
1912
1913 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1914
1915         * lengthcommon.C: compilation fix: remove explicit array size from
1916         unit_name[] and friends
1917
1918 2004-04-05  Angus Leeming  <leeming@lyx.org>
1919
1920         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1921
1922         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1923         present only for the preferences dialog.
1924         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1925
1926 2004-04-05  Angus Leeming  <leeming@lyx.org>
1927
1928         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1929         to enable the frontends to export changes to lyxrc correctly.
1930
1931         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1932
1933 2004-04-07  André Pönitz  <poenitz@gmx.net>
1934
1935         * cursor.[Ch] (selClear, adjust): remove math
1936
1937         * cursor_slice.C: more agressive assert
1938
1939         * lyxfunc.C:
1940         * BufferView_pimpl.C: rework mouse event dispatch
1941
1942         * dociterator.C:
1943         * paragraph.C:
1944         * text2.C:
1945         * text3.C: adjust
1946
1947 2004-04-05  André Pönitz  <poenitz@gmx.net>
1948
1949         * cursor.[Ch] (valign, halign...): remove unneeded functions
1950
1951 2004-04-05  Angus Leeming  <leeming@lyx.org>
1952
1953         * lyxlength.[Ch] (unit_name et al.): const-correct.
1954
1955 2004-04-05  Angus Leeming  <leeming@lyx.org>
1956
1957         * BufferView_pimpl.C:
1958         * buffer.C:
1959         * counters.C:
1960         * cursor.C:
1961         * lyxfunc.C
1962         * paragraph.C:
1963         * pariterator.C:
1964         * text.C:
1965         * text2.C:
1966         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1967
1968 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1969
1970         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1971
1972 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1975         * BufferView_pimpl.[Ch] (getStatus)
1976         * BufferView.[Ch] (getStatus): add
1977         * lyxfunc.C (getStatus): move lfuns handled in
1978         BufferView::dispatch to te function above
1979         * Cursor.C (setSelection): set selection() = true
1980
1981 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1982
1983         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1984
1985 2004-03-31  Angus Leeming  <leeming@lyx.org>
1986
1987         * lyxfunc.C (dispatch): Fall through to the generic
1988         Dialogs::show("preamble").
1989
1990 2004-03-31  Angus Leeming  <leeming@lyx.org>
1991
1992         * lyxfunc.C (dispatch): Fall through to the generic
1993         Dialogs::show("spellchecker").
1994
1995 2004-03-31  Angus Leeming  <leeming@lyx.org>
1996
1997         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1998         preferences dialog.
1999
2000 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2001
2002         * BufferView.C
2003         * cursor.[Ch]
2004         * dociterator.[Ch]:
2005         * insetiterator.[Ch]:
2006         * lyxfind.C:
2007         * lyxfunc.C:
2008         * pariterator.[Ch]:
2009         * text2.C:
2010         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2011
2012 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2013
2014         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2015         insets where we are putting the cursor.
2016
2017 2004-03-31  Angus Leeming  <leeming@lyx.org>
2018
2019         * lfuns.h:
2020         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2021
2022         * lyxrc.[Ch] (read, write): overloaded member functions taking
2023         a std::[io]stream arguments.
2024
2025         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2026
2027 2004-03-31  Angus Leeming  <leeming@lyx.org>
2028
2029         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2030         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2031
2032         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2033         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2034
2035 2004-03-31  Angus Leeming  <leeming@lyx.org>
2036
2037         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2038         the LFUN_ALL_INSETS_TOGGLE code.
2039
2040 2004-03-30  Angus Leeming  <leeming@lyx.org>
2041
2042         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2043         has died. Fall through to the generic Dialogs::show("document").
2044
2045 2004-03-30  Angus Leeming  <leeming@lyx.org>
2046
2047         * lfuns.h:
2048         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2049         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2050
2051         * lyxfunc.C (getStatus, dispatch): define the actions for these
2052         lfuns. Little more than a cut and pste job from ControlDocument.C
2053
2054         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2055
2056 2004-03-30  Angus Leeming  <leeming@lyx.org>
2057
2058         * lfuns.h:
2059         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2060         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2061
2062         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2063         open/closed state of ollapsable insets. Usage:
2064
2065         all-inset-toggle <state> <name>, where
2066         <state> == "open" || "closed" || "toggle" and
2067         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2068
2069         * lyxtext.h, text2.C (toggleInset): removed.
2070
2071         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2072         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2073         now passes LFUN_INSET_TOGGLE to the found inset.
2074
2075         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2076         is now invoked as "all-insets-toggle toggle branch".
2077
2078 2004-03-30  Angus Leeming  <leeming@lyx.org>
2079
2080         * dociterator.C:
2081         * insetiterator.C:
2082         * pariterator.[Ch]: added/corrected header blurb.
2083
2084 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2085
2086         * dociterator.[Ch]: add an inset_ member
2087         (backwardPos): implemented
2088         (backwardPos, forwardPos): use inset_ when the stack is empty.
2089         (doc_iterator_begin, doc_iterator_end): implemented
2090         * pariterator.[Ch]: adjust, add begin, end
2091         * insetiterator.[Ch]: adjust, add begin, end
2092         * cursor.C:
2093         * document.C:
2094         * BufferView.C:
2095         * BufferView_pimpl.C:
2096         * CutAndPaste.C: adjust
2097
2098 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2099
2100         * buffer.C: increment file format to 232.
2101         * LaTeXFeatures.C: add bibtopic package.
2102         * bufferparams.[Ch]: param \use_bibtopic.
2103
2104         * lyxrc.[Ch]: add lyxrc bibtex_command
2105         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2106
2107         * buffer.C: increment file format to 231.
2108
2109 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2110
2111         * dociterator.C: implement forwardPar
2112         * iterators.[Ch]: remove, replaced by
2113         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2114         * BufferView.C:
2115         * BufferView_pimpl.C:
2116         * CutAndPaste.C:
2117         * buffer.C:
2118         * bufferview_funcs.C:
2119         * cursor.C:
2120         * lyxfind.C
2121         * lyxfunc.C
2122         * paragraph_funcs.C
2123         * toc.C:
2124         * Makefile.am: adjust
2125
2126 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2127
2128         * CutAndPaste.C (pasteSelection): fix 2 crashes
2129         (eraseSelection): fix a crash
2130         * paragraph_funcs.C: remove a warning
2131
2132 2004-03-28  Angus Leeming  <leeming@lyx.org>
2133
2134         * lfuns.h:
2135         * LyXAction.C (init): new LFUN_PRINT.
2136
2137         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2138
2139 2004-03-27  Angus Leeming  <leeming@lyx.org>
2140
2141         * lfuns.h:
2142         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2143
2144         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2145
2146 2004-03-27  Angus Leeming  <leeming@lyx.org>
2147
2148         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2149         insetlist always contains non-null pointers to insets.
2150
2151 2004-03-26  Angus Leeming  <leeming@lyx.org>
2152
2153         * src/BufferView_pimpl.C:
2154         * src/CutAndPaste.C:
2155         * src/buffer.C:
2156         * src/iterators.C:
2157         * src/output_plaintext.C:
2158         * src/outputparams.h:
2159         * src/paragraph_funcs.C:
2160         * src/rowpainter.C:
2161         * src/text.C:
2162         * src/text2.C:
2163         * src/frontends/controllers/ControlErrorList.C:
2164         * src/frontends/gtk/FileDialogPrivate.C:
2165         * src/frontends/gtk/GPainter.C:
2166         * src/frontends/gtk/GToolbar.C:
2167         * src/frontends/qt2/QRef.C:
2168         * src/mathed/math_scriptinset.C: squash compiler warnings.
2169
2170 2004-03-26  Angus Leeming  <leeming@lyx.org>
2171
2172         * ispell.C (LaunchIspell::start):
2173         * lyx_cb.C (AutoSaveBuffer::start):
2174         invoke run(DontWait) rather than runNonBlocking().
2175
2176 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2177
2178         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2179
2180 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * kbsequence.C (print): adjust
2183
2184         * kbmap.C (printKeySym): rename and change signature
2185         (printKey): use LyXKeySym::print()
2186
2187 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2188
2189         * undo.C: add using std::advance to compile for stlport
2190
2191 2004-03-24  Angus Leeming  <leeming@lyx.org>
2192
2193         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2194         it leads to a crash when no buffer is present.
2195
2196 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2197             Martin Vermeer  <martin.vermeer@hut.fi>
2198
2199         * lyxfunc.C (dispatch):
2200         * bufferparams.C (readToken): use the new LColor::setColor
2201
2202         * LColor.[Ch] (setColor): new version that takes two strings as
2203         argument and creates a new color entry if necessary
2204
2205 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2206
2207         * buffer.C (makeLaTeXFile): if the main latex file that is
2208         processed is usually a subdocument of some master, then pretend
2209         for a while that it is actually the master
2210
2211 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2212
2213         * buffer.C (getLabelList):
2214         (getBibkeyList): use getMasterBuffer()
2215         (getMasterBuffer): new method. Returns the main document in the
2216         case where one is using included documents.
2217
2218 2004-03-25  André Pönitz  <poenitz@gmx.net>
2219
2220         * Makefile.am:
2221         * iterators.[Ch]:
2222         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2223
2224         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2225
2226         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2227         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2228
2229         * ParameterStruct.h: merge with ParagraphParameters
2230
2231         * lyxtext.h: remove LyXText::parOffset() and getPar()
2232
2233         * text3.C: Remove all 'manual' update calls. We do now one per user
2234         interaction which is completely sufficient.
2235
2236         * Bidi.C:
2237         * BufferView.[Ch]:
2238         * BufferView_pimpl.C:
2239         * FontIterator.[Ch]:
2240         * MenuBackend.C:
2241         * ParagraphParameters.[Ch]:
2242         * buffer.C:
2243         * buffer.h:
2244         * bufferlist.C:
2245         * cursor.[Ch]:
2246         * cursor_slice.[Ch]:
2247         * dociterator.[Ch]:
2248         * errorlist.[Ch]:
2249         * factory.C:
2250         * lfuns.h:
2251         * lyxfind.C:
2252         * lyxfunc.C:
2253         * output_docbook.[Ch]:
2254         * output_latex.[Ch]:
2255         * output_linuxdoc.[Ch]:
2256         * output_plaintext.[Ch]:
2257         * paragraph.[Ch]:
2258         * paragraph_funcs.[Ch]:
2259         * paragraph_pimpl.[Ch]:
2260         * rowpainter.C:
2261         * tabular.[Ch]:
2262         * text.C:
2263         * text2.C:
2264         * toc.C:
2265         * undo.[Ch]: adjust
2266
2267         * frontends/controllers/ControlDocument.C:
2268         * frontends/controllers/ControlErrorList.C:
2269         * frontends/controllers/ControlSpellchecker.C:
2270         * insets/inset.C:
2271         * insets/inset.h:
2272         * insets/insetbase.h:
2273         * insets/insetbibitem.C:
2274         * insets/insetbox.C:
2275         * insets/insetbranch.C:
2276         * insets/insetcaption.C:
2277         * insets/insetcharstyle.C:
2278         * insets/insetcharstyle.h:
2279         * insets/insetcollapsable.C:
2280         * insets/insetcollapsable.h:
2281         * insets/insetert.C:
2282         * insets/insetfloat.C:
2283         * insets/insetfoot.C:
2284         * insets/insetmarginal.C:
2285         * insets/insetnote.C:
2286         * insets/insetoptarg.C:
2287         * insets/insettabular.C:
2288         * insets/insettext.C:
2289         * insets/insettext.h:
2290         * insets/insetwrap.C:
2291         * mathed/math_mboxinset.C:
2292         * mathed/math_nestinset.C:
2293         * mathed/math_scriptinset.C:
2294         * mathed/math_scriptinset.h:
2295         * support/types.h:
2296
2297 2004-03-24  Angus Leeming  <leeming@lyx.org>
2298
2299         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2300         deal with any child processes that have finished but are waiting to
2301         communicate this fact to the rest of LyX.
2302
2303 2004-03-24  Angus Leeming  <leeming@lyx.org>
2304
2305         64-bit compile fixes.
2306
2307         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2308         (c-tor): pass lyx::pos_types rather than ints.
2309
2310         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2311         lyx::pos_type.
2312
2313         * text.C (Delete): compile fix.
2314         (getPar): ensure that function declaration is the same as that in
2315         the header file.
2316
2317 2004-03-23  Angus Leeming  <leeming@lyx.org>
2318
2319         * ispell.C (LaunchIspell):
2320         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2321         a boost::shred_ptr rather than a std::auto_ptr.
2322
2323 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2324
2325         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2326         handle LFUN_FILE_INSERT_*
2327
2328         * lyxrc.C (setDefaults, getDescription, output, read):
2329         * lyxrc.h: remove ps_command
2330
2331 2004-03-22  Angus Leeming  <leeming@lyx.org>
2332
2333         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2334         Ensure that error_handler is processed once only and that all data
2335         is saved before attempting to output any warning messages.
2336
2337         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2338
2339 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2340
2341         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2342
2343 2004-03-19  André Pönitz  <poenitz@gmx.net>
2344
2345         * cursor.[Ch] (reset): take main text inset as argument
2346
2347         * BufferView: adjust
2348         * BufferView_pimpl.C: adjust
2349
2350         * paragraph.[Ch]: fix completely broken operator=()
2351
2352 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2353
2354         * LColor.C (getFromLyXName): make sure that the color name is used
2355         as lowercase.
2356
2357 2004-03-17  Angus Leeming  <leeming@lyx.org>
2358
2359         * lfuns.h:
2360         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2361
2362         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2363         dialog and to kill a forked process.
2364
2365 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2366
2367         * text2.C (setCursorFromCoordinates): fix font problem
2368
2369 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2370
2371         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2372         bogus "rebuild cursor" code
2373
2374 2004-03-11  André Pönitz  <poenitz@gmx.net>
2375
2376         * buffer.[Ch]: use InsetText instead of LyXText as container for
2377         the main lyx text.
2378
2379         * dociterator.[Ch]: drop the BufferView * member which is not needed
2380         anymore after the change to buffer.C
2381
2382         * paragraph_funcs.C:
2383         * text.C:
2384         * text2.C:
2385         * BufferView.[Ch]:
2386         * BufferView_pimpl.[Ch]:
2387         * cursor.[Ch]:
2388         * cursor_slice.[Ch]: adjust
2389
2390         * text3.C: fix bug in mathDispatch
2391
2392 2004-03-08  André Pönitz  <poenitz@gmx.net>
2393
2394         * undo.[Ch]: use 'StableDocumentIterator' as base for
2395         the Undo struct.
2396
2397 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2398
2399         * LaTeXFeatures.C:
2400         * bufferparams.[Ch]: add jurabib support and param.
2401
2402         * LaTeX.C: add FIXME/comment.
2403
2404 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2405
2406         * buffer.C: increment file format to 230.
2407
2408 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2409
2410         * cursor.C (dispatch): avoid infinite loops
2411
2412 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2413
2414         * rowpainter.C (paintSelection): fix x coordinates
2415
2416 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2417
2418         * text.C (rowBreakPoint): fix breaking before displayed insets
2419
2420 2004-03-01  André Pönitz  <poenitz@gmx.net>
2421
2422         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2423
2424         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2425
2426         * Makefile.am:
2427         * BufferView.C:
2428         * BufferView_pimpl.C:
2429         * buffer.C:
2430         * lyxfind.C:
2431         * lyxfunc.C:
2432         * text.C:
2433         * text2.C:
2434         * text3.C: adjust
2435
2436 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * lyxtext.h:
2439         * text.C:
2440         * text2.C:
2441         * rowpainter.C:
2442         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2443         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2444
2445 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2446
2447         * Bidi.[Ch] (computeTables): const correctness
2448         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2449         fill_hfill, fill_label_hfill and x from Row
2450         * lyxtext.h: prepareToPrint returns a RowMetrics
2451         * rowPainter.C: adjust
2452         * text.C (prepareToPrint): use width, not textWidth. adjust
2453         (redoParagraphInternal, cursorX): adjust
2454         * text2.C (getColumnNearX): adjust
2455         (init): put a default value to the top LyXText::width
2456
2457 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2458
2459         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2460
2461 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2462
2463         * lyxtext.h: add FontIterator class
2464
2465         * text.C (FontIterator, operator*, operator->, operator++): add
2466         (rowBreakPoint, setRowWidth): adjust (fixing a
2467         rebreaking bug)
2468
2469 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2470
2471         * BufferView_pimpl.C (workAreaDispatch): allow also
2472         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2473
2474 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2475
2476         * text.C (rowBreakPoint): fix a bug showing with very large insets
2477
2478 2004-02-25  André Pönitz  <poenitz@gmx.net>
2479
2480         * text3.C:
2481         * cursor.[Ch]: move some mathed specific code to mathed
2482
2483 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2484
2485         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2486         use_tempdir in preferences
2487         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2488         tempfile creation
2489         * lyx_main.C: ensure that tempdir is valid
2490         * lyxlex.h: correct typo
2491         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2492         * paragraph.[Ch] (isMultiLingual): make const
2493         * cursor.[Ch] (openable): make const
2494
2495 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2496
2497         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2498
2499 2004-02-20  André Pönitz  <poenitz@gmx.net>
2500
2501         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2502
2503         * cursor.[Ch]: prepare for localized getStatus()
2504
2505         * lyxtext.h:
2506         * tabular.C:
2507         * text.C:
2508         * text2.C:
2509         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2510
2511 2004-02-20  André Pönitz  <poenitz@gmx.net>
2512
2513         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2514
2515 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2516
2517         * text2.C (setCursorFromCoordinates): switch to absolute coords
2518         (cursorUp): adjust
2519         (cursorDown): adjust
2520         * text3.C (dispatch): adjust
2521
2522 2004-02-16  André Pönitz  <poenitz@gmx.net>
2523
2524         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2525           insets/ChangeLog)
2526
2527         * cursor_slice.[Ch]: remove unneeded acessor function
2528
2529         * lyxtext.h: rename rtl() to isRTL()
2530
2531         * rowpainter.C:
2532         * tabular.C:
2533         * text.C:
2534         * text2.C:
2535         * text3.C: adjust
2536
2537 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2538
2539         * rowpainter.C (paintSelection): coord fix
2540
2541 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2542
2543         * Spacing.C: compile fix
2544
2545 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2546
2547         * cursor.C (dispatch): restore current_ before returning
2548
2549 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2550
2551         * text2.C (cursorUp, cursorDown): fix coords
2552         (moveUp): fix crash
2553
2554 2004-02-12  André Pönitz  <poenitz@gmx.net>
2555
2556         * lyxtext.h:
2557         * text.C:
2558         * text2.C:
2559         * text3.C: add LCursor & parameter to most cursor movement functions
2560           remove usage of LyXText::cursorRow() and cursorPar()
2561
2562         * cursor.[Ch]: add textRow() needed members
2563
2564         * BufferView.C:
2565         * BufferView_pimpl.C:
2566         * paragraph.[Ch]:
2567         * BufferView.C:
2568         * BufferView_pimpl.C: adjust
2569
2570 2004-02-11  André Pönitz  <poenitz@gmx.net>
2571
2572         * lyxfunc.C:
2573         * BufferView.[Ch]:
2574         * BufferView_pimpl.C: shift undo/redo handling
2575
2576         * cursor.[Ch]: fix mathed crash
2577
2578         * lyxfind.C:
2579         * lyxtext.h: move selectionAsText to LCursor
2580
2581         * output_latex.C:
2582         * paragraph.C:
2583         * text.C:
2584         * text2.C:
2585         * text3.C: adjust
2586
2587         * rowpainter.C: fix excessive drawing
2588
2589 2004-02-06  André Pönitz  <poenitz@gmx.net>
2590
2591         * BufferView.[Ch]:
2592         * BufferView_pimpl.[Ch]:
2593         * text3.C: move some text specific LFUN handling
2594
2595 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2596
2597         * text3.C (checkInsetHit): adjust coords
2598         * text2.C (getColumnNearX): adjust coords
2599         (edit): adjust coords
2600         * text.C (getRowNearY): add two asserts
2601
2602 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2603
2604         * converter.C:
2605         * format.C: add using std::distance to compile on gcc 2.95/stlport
2606
2607 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2608
2609         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2610
2611 2004-02-04  André Pönitz  <poenitz@gmx.net>
2612
2613         * BufferView.[Ch] (insertInset):
2614         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2615
2616         * text2.C:
2617         * text3.C: adjust
2618
2619 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2620
2621         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2622         on the default clause of the switch
2623         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2624         wasn't catched by LCursor::dispatch
2625
2626 2004-02-03  André Pönitz  <poenitz@gmx.net>
2627
2628         * BufferView.C:
2629         * cursor.[Ch]: some additional asserts
2630
2631         * undo.[Ch]: remove LyXText dependency in interface
2632
2633         * lyxfunc.C: adjust
2634
2635         * lyxtext.h (firstPar, lastPar): remove dead functions
2636
2637         * text.C:
2638         * text2.C:
2639         * text3.C:
2640         * paragraph.[Ch]: adjust
2641
2642 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2643
2644         * lyxfind.C (find): fix argument order in call to ::find
2645
2646 2004-02-02  André Pönitz  <poenitz@gmx.net>
2647
2648         * cursor.[Ch]: remove direct access to anchor
2649
2650         * text.C: remove findText() hack
2651
2652 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2653
2654         * iterators.[Ch] (lockPath): remove in favour of...
2655         * BufferView.[Ch] (setCursor): this addition
2656         * BufferView.C (putSelectionAt): adjust
2657         * undo.C (performUndoOrRedo): adjust
2658         * lyxfunc.C (dispatch): adjust
2659
2660 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2661
2662         * iterators.C (lockPath): add a missing slice
2663         * undo.C (performUndoOrRedo): remove redundant positioning code
2664
2665 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2666
2667         * vc-backend.C (scanMaster): ";" -> ';'
2668
2669 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2670
2671         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2672         std::binary_function
2673
2674         * lyxtextclass.C (compare_name): rename to...
2675         (LayoutNamesEqual): ...this
2676
2677         * lyxlex_pimpl.C (compare_tags): inherit from
2678         std::binary_function, put back into anon namespace
2679
2680         * lyxfind.C (MatchString): inherig from std::binary_function
2681         (findChange): use empty() istead of !size()
2682
2683         * format.C (FormatNamesEqual): new functor
2684         (getFormat): use it
2685         (getNumber): use it
2686         (add): use it
2687         (erase): use it
2688         (setViewer): use it
2689
2690         * converter.C (compare_Converter): rename to...
2691         (ConverterEqual): ...this, and fixup a bit.
2692         (getConverter): use it, and make function const
2693         (getNumber): use it, and make function const
2694         (add): use it
2695         (erase): use it:
2696
2697         * bufferlist.C: add using boost::bind
2698
2699         * MenuBackend.C (MenuNamesEqual): new functor
2700         (hasMenu): use it, and make function const
2701         (hasSubmenu): use nested bind to get rid of compare_memfun.
2702
2703 2004-01-30  André Pönitz  <poenitz@gmx.net>
2704
2705         * BufferView_pimpl.C:
2706         * cursor.C:
2707         * cursor.h:
2708         * cursor_slice.[Ch]:
2709         * lyxfunc.C:
2710         * lyxtext.h:
2711         * paragraph_funcs.C:
2712         * paragraph_funcs.h:
2713         * rowpainter.C:
2714         * text.C:
2715         * text2.C:
2716         * text3.C: move some of the edit(x,y) handling to the insets
2717         some coordinate changes.
2718
2719 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2720
2721         * text.C: add using statements for std::advance and std::distance
2722
2723         * paragraph.C: add using statement for std::distance
2724
2725         * lyxfind.C: add using statement for std::advance
2726
2727         * cursor.C (region): remove std:: from swap
2728         (openable): use nucleus in stead of operator->
2729
2730         * BufferView.C: add using statements for std::distance and std::swap
2731
2732 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2733
2734         * iterators.C: Remove the pimple, move the needed structures to
2735         the header file. Create accessor for the positions stack.
2736         (asPosIterator): remove function
2737
2738         * PosIterator.C (PosIterator): move constructors to top of file
2739         (PosIterator): reimplement the constructor taking a ParIterator in
2740         terms of setFrom.
2741         (setFrom): new function
2742         (operator!=): inline it
2743
2744 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2745
2746         * lyxfind.C (replaceAll): use std::advance
2747
2748         * iterators.h: inherit from std::iterator.
2749
2750         * PosIterator.C (advance, distance): remove
2751         * PosIterator.h: interit from std::iterator.
2752
2753 2004-01-26  André Pönitz  <poenitz@gmx.net>
2754
2755         * BufferView.[Ch]:
2756         * BufferView_pimpl.[Ch]:
2757         * InsetList.[Ch]:
2758         * PosIterator.[Ch]:
2759         * buffer.h:
2760         * bufferview_funcs.C:
2761         * cursor.[Ch]:
2762         * cursor_slice.h:
2763         * factory.[Ch]:
2764         * iterators.[Ch]:
2765         * lyxfind.C:
2766         * lyxfunc.C:
2767         * lyxtext.h:
2768         * output_docbook.C:
2769         * output_latex.C:
2770         * output_linuxdoc.C:
2771         * output_plaintext.C:
2772         * paragraph.[Ch]:
2773         * paragraph_funcs.[Ch]:
2774         * paragraph_pimpl.[Ch]:
2775         * rowpainter.C:
2776         * tabular.C:
2777         * tabular.h:
2778         * text.C:
2779         * text2.C:
2780         * text3.C: more IU:  dumps most of the rest of the mathcursor
2781     implementation into cursor.[Ch]; "globalize" a bit of it.
2782
2783 2004-01-25  Angus Leeming  <leeming@lyx.org>
2784
2785         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2786
2787 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2788
2789         * LaTeXFeatures.h: add nice_ and nice() const
2790         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2791
2792 2004-01-20  André Pönitz  <poenitz@gmx.net>
2793
2794         * BufferView.[Ch]:
2795         * BufferView_pimpl.C:
2796         * PosIterator.C:
2797         * bufferview_funcs.C:
2798         * cursor.[Ch]:
2799         * cursor_slice.[Ch]:
2800         * factory.C:
2801         * iterators.C:
2802         * lyx_cb.C:
2803         * lyxfind.C:
2804         * lyxfunc.C:
2805         * lyxtext.h:
2806         * rowpainter.C:
2807         * text.C:
2808         * text2.C:
2809         * text3.C:
2810         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2811           LCursor and mathcursor parts to LCursor and InsetBase.
2812
2813 2004-01-15  André Pönitz  <poenitz@gmx.net>
2814
2815         * cursor_slice.[Ch]: add a few covienience functions
2816
2817         * funcrequest.[Ch]: remove BufferView * member
2818
2819         * BufferView_pimpl.C:
2820         * cursor.C:
2821         * factory.[Ch]:
2822         * lyxfind.[Ch]:
2823         * lyxfunc.C:
2824         * lyxtext.h:
2825         * text3.C:
2826         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2827
2828 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2829
2830         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2831         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2832
2833 2004-01-13  André Pönitz  <poenitz@gmx.net>
2834
2835         * textcursor.[Ch]:
2836         * lyxtext.h: hide cursor and selection anchor behind accessor function
2837
2838         * BufferView.C:
2839         * BufferView_pimpl.[Ch]:
2840         * PosIterator.C:
2841         * bufferview_funcs.C:
2842         * cursor.h:
2843         * lyxfind.C:
2844         * lyxfunc.C:
2845         * text.C:
2846         * text2.C:
2847         * text3.C:
2848         * undo.C: adjust
2849
2850         * cursor.h:
2851         * cursor_slice.[Ch]: some integer type changes for inset unification
2852
2853         * lyxcursor.[hC]: remove, it's CursorSlice now.
2854
2855         * Makefile.am:
2856         * BufferView_pimpl.[Ch]:
2857         * bufferview_funcs.C:
2858         * cursor_slice.C:
2859         * lyxtext.h:
2860         * text.C:
2861         * text2.C:
2862         * text3.C:
2863         * textcursor.[Ch]: adjust
2864
2865 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2866
2867         * text2.C (undoSpan): add and use
2868         * text.C (breakParagraph): use undoSpan (fix bug 578)
2869         * lyxtext.h: adjust
2870
2871 2004-01-08  Angus Leeming  <leeming@lyx.org>
2872
2873         * BufferView_pimpl.C (MenuInsertLyXFile):
2874         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2875         * lyxfunc.C (menuNew, open, doImport):
2876         FileFilterList change to the FileDialog open and save functions.
2877
2878 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2879
2880         * ShareContainer.h: make isEqual and isUnique adaptable
2881
2882         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2883
2884 2004-01-07  Angus Leeming  <leeming@lyx.org>
2885
2886         * LyXAction.C:
2887         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2888
2889         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2890
2891         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2892         functions replacing find, replace and replaceAll.
2893
2894         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2895         LFUN_WORDFIND(FORWARD|BACKWARD).
2896
2897 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2898
2899         * text.C (breakParagraph): remove an outdated #warning
2900
2901 2004-01-07  André Pönitz  <poenitz@gmx.net>
2902
2903         * lyxfind.C: somewhat clearer logic
2904
2905         * text.C: prevent crash in cursorX on unitialized row cache
2906
2907 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2908
2909         * lyxcursor.[Ch] (operator>): add
2910         * textcursor.C (selStart, selEnd): use std::min and std::max
2911
2912 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2913
2914         * Chktex.C: include boost/format.hpp
2915
2916 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2917
2918         * InsetList.C: replace functor MathcIt with adaptable functor
2919         InsetTablePosLess
2920         (insetIterator): modify accordingly
2921
2922         * BranchList.h: move the BranchNamesEqual functor here from...
2923         * BranchList.C: ... to here
2924
2925         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2926         SameName and match.
2927         (add): replace a finding loop with std::find_if.
2928
2929 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2930
2931         * output_docbook.C: moving LatexParam functionality into
2932         .layout files
2933
2934 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2935
2936         * buffer.C: increment format to 229.
2937
2938 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2939
2940         * LaTeXFeatures.C:
2941         * lyx_sty.[Ch]: remove minipageindent_def
2942
2943         * LyXAction.C:
2944         * factory.C:
2945         * lfuns.h:
2946         * lyxfunc.C:
2947         * text3.C: remove LFUN_INSET_MINIPAGE
2948
2949 2003-12-28  Angus Leeming  <leeming@lyx.org>
2950
2951         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2952
2953 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2954
2955         * text2.C (setParagraph): fix off-by-one crash
2956
2957 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * output_docbook.C: header stuff for AGU
2960
2961 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2962
2963         * text2.C (redoCursor): remove
2964         * text.C:
2965         * text3.C:
2966         * BufferView_pimpl.C: remove calls to redoCursor and
2967         setCursor(cursor.par(), cursor.pos()) all around
2968
2969 2003-12-15  Angus Leeming  <leeming@lyx.org>
2970
2971         * buffer.C: up the format to 228.
2972
2973 2003-12-15  André Pönitz  <poenitz@gmx.net>
2974
2975         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2976         slices
2977
2978         * Makefile.am:
2979
2980         * BufferView_pimpl.C:
2981         * cursor.[Ch]:
2982         * lyxcursor.[Ch]:
2983         * rowpainter.[Ch]:
2984         * lyxtext.h:
2985         * text.C:
2986         * text2.C:
2987         * text3.C: adjust
2988
2989 2003-12-15  Angus Leeming  <leeming@lyx.org>
2990
2991         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2992         than getFromGUIName to manipulate the color.
2993
2994 2003-12-14  Angus Leeming  <leeming@lyx.org>
2995
2996         * BranchList.[Ch]: minimize the API.
2997         (Branch::getBranch, getColor): now return a 'const &'.
2998         (Branch::setSelected) now returns a bool set to true if the
2999         selection status changes.
3000         (BranchList::clear, size, getColor, setColor, setSelected,
3001         allBranches, allSelected, separator): removed.
3002         (BranchList::find): new functions, returning the Branch with
3003         the given name.
3004         (BranchList::add, remove): return a bool indicating that
3005         the operation was successful.
3006
3007         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3008         new InsetBranch::isBranchSlected member function.
3009
3010         * LColor.[Ch]: mimimize the API.
3011         (fill): renamed as addColor and made private.
3012         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3013         versions of these functions taking a string arg have been removed.
3014
3015         * bufferparams.C (readToken):
3016         * lyxfunc.C (dispatch):
3017         * lyxrc.C (read): changes due to the altered BranchList and
3018         LColor APIs.
3019
3020         * factory.C (createInset, readInset): changes due to altered
3021         InsetBranch c-tor.
3022
3023 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3024
3025         * factory.C:
3026         * lyxfunc.C: remove insetminipage. "minipage-insert"
3027         now produces a frameless minipage box inset.
3028
3029 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3030
3031         * textcursor.[Ch] (selStart,selEnd): add new methods
3032         remove selection::start, end, use LyXCursor::operator<
3033         * lyxcursor.[Ch] (operator<): add
3034         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3035         * BufferView.[Ch] (unsetXSel): add
3036         * text2.C (clearSelection): use unsetXSel,adjust
3037         * text.C: adjust
3038         * text3.C: adjust
3039         * rowpainter.C: adjust
3040         * bufferview_funcs.C (put_selection_at): adjust
3041
3042 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3043
3044         * BufferView_pimpl.C: small coord. correction
3045
3046 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3047
3048         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3049         dragging over the splash screen.
3050
3051 2003-12-11  Angus Leeming  <leeming@lyx.org>
3052
3053         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3054         as it is now handled in LyXText::dispatch.
3055
3056         * text3.C (doInsertInset): remove a level of nesting.
3057
3058 2003-12-11  Angus Leeming  <leeming@lyx.org>
3059
3060         * factory.C (createInset): changes due to the changed interface to
3061         InsetCommandMailer::string2params.
3062
3063 2003-12-10  Angus Leeming  <leeming@lyx.org>
3064
3065         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3066         'dialog-show-new-inset <inset name>'
3067
3068 2003-12-10  Angus Leeming  <leeming@lyx.org>
3069
3070         * buffer.C: up the format to 227.
3071
3072         * factory.C: the box inset is now identified simply by 'Box'.
3073
3074 2003-12-10  Angus Leeming  <leeming@lyx.org>
3075
3076         * buffer.C: up the format to 226.
3077
3078         * factory.C: the note inset is now identified simply by 'Note'.
3079
3080 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3081
3082         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3083         when a pit is enough. Standarize a couple of loops.
3084
3085 2003-12-05  Angus Leeming  <leeming@lyx.org>
3086
3087         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3088         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3089         data to the re-worked "log" dialog.
3090
3091 2003-12-03  André Pönitz  <poenitz@gmx.net>
3092
3093         * PosIterator.C:
3094         * iterators.C:
3095         * lyxtext.h:
3096         * output_latex.C:
3097         * paragraph_funcs.C:
3098         * text.C:
3099         * text2.C: use Inset::getText instead of Inset::getParagraph
3100
3101 2003-12-03  André Pönitz  <poenitz@gmx.net>
3102
3103         * buffer.[Ch]:
3104         * lyxtext.h:
3105         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3106         InsetText::read() as LyXText::read()
3107
3108 2003-12-02  Angus Leeming  <leeming@lyx.org>
3109
3110         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3111         type. Add a comment in the implementation that the function uses
3112         the stream's bad() function rather than fail() as the std::streams
3113         would do.
3114
3115 2003-12-02  André Pönitz  <poenitz@gmx.net>
3116
3117         * lyxlex.[Ch]: make interface more similar to std::stream
3118
3119         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3120
3121 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3122
3123         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3124
3125 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3126
3127         * vspace.[Ch]: remove VSpace::NONE
3128
3129 2003-12-01  André Pönitz  <poenitz@gmx.net>
3130
3131         * buffer.[Ch]:
3132         * lyxtext.h: move ParagraphList member to LyXText
3133         rename LyXText::ownerParagraphs to LyXText::paragraph
3134
3135         * CutAndPaste.C:
3136         * bufferview_funcs.C:
3137         * iterators.[Ch]:
3138         * lyx_cb.C:
3139         * paragraph.C:
3140         * rowpainter.C:
3141         * tabular.C:
3142         * text.C:
3143         * text2.C:
3144         * text3.C: adjust
3145
3146         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3147
3148         * undo.C: fix cursor positioning
3149
3150 2003-12-01  John Levon  <levon@movementarian.org>
3151
3152         * BufferView_pimpl.C: fix a crash on exit with
3153         a buffer open
3154
3155 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3156
3157         * BranchList.C: fix setSelected() method.
3158
3159 2003-11-28  André Pönitz  <poenitz@gmx.net>
3160
3161         * ParagraphParameters.[Ch]:
3162         * ParameterStruct.h: remove space above/below from Paragraph to
3163          InsetVSpace
3164
3165         * BufferView_pimpl.C:
3166         * factory.C:
3167         * lyxfunc.C:
3168         * lyxtext.h:
3169         * output_latex.C:
3170         * paragraph.C:
3171         * paragraph_funcs.C:
3172         * rowpainter.[Ch]:
3173         * text.C:
3174         * text2.C:
3175         * text3.C: adjust
3176
3177 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3178
3179         * factory.C: Syntax change for CharStyles
3180
3181 2003-11-28  André Pönitz  <poenitz@gmx.net>
3182
3183         * BufferView.[Ch]:
3184         * BufferView.[Ch]:
3185         * buffer.[Ch]:
3186         * buffer.[Ch]: move LyXText member
3187
3188 2003-11-28  André Pönitz  <poenitz@gmx.net>
3189
3190         * BufferView.[Ch]: make LyXText * text a private member
3191
3192         * BufferView_pimpl.C:
3193         * cursor.C:
3194         * iterators.C:
3195         * lyx_cb.C:
3196         * lyxfind.C:
3197         * lyxtext.h:
3198         * rowpainter.[Ch]:
3199         * text.C:
3200         * text2.C:
3201         * undo.C: adjust
3202
3203         * output_plaintext.C: cleanup
3204
3205 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3206
3207         * buffer.C:
3208         * lyxtextclass.[Ch]: parametrize SGML document header
3209
3210 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3211
3212         * converter.[Ch]:
3213         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3214         getFlavor().
3215
3216 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3217
3218         * text2.C (setFont): rework using PosIterator (no more recursive)
3219         (setCharFont): no more needed
3220         (setLayout): no more selection cursors fiddling (done by redoCursor)
3221         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3222         destroy remaining ones)
3223
3224 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3225
3226         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3227         * lyxtext.h: ditto
3228         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3229         selection cursors
3230         * lyxfunc.C: adjust
3231         * text3.C: adjust + re-allow multi par depth changes
3232         * textcursor.C: simplify a bit
3233
3234 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3235
3236         * src/buffer.C:
3237         * src/lyxlayout.C:
3238         * src/lyxlayout.h:
3239         * src/lyxtext.h:
3240         * src/output_docbook.C:
3241         * src/output_latex.C:
3242         * src/paragraph.C:
3243         * src/paragraph.h:
3244         * src/sgml.C:
3245         * src/sgml.h:
3246         * src/text2.C: Introducing a number of tags parametrizing various
3247         XML formats that we may want to support
3248
3249 2003-11-25  André Pönitz  <poenitz@gmx.net>
3250
3251         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3252
3253         * lyxtext.h (leftMargin/rightMargin): simplify interface
3254
3255         * rowpainter.C:
3256         * text.C:
3257         * text2.C:
3258         * text3.C: adjust
3259
3260 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3261
3262         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3263         master file to any child files. Fixes bug 546.
3264
3265 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3266
3267         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3268
3269 2003-11-24  André Pönitz  <poenitz@gmx.net>
3270
3271         * rowpainter.C: simplification
3272
3273         * text2.C (updateCounters): remove call to redoParagraph on
3274         changed labels as this is far too expensive.
3275
3276 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * converter.C (convert): fix a crash: this function gets
3279         called with buffer == 0 from importer code.
3280
3281 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3282
3283         * text3.C (cursorPrevious): make sure that we do not compare
3284         iterators form different containers.
3285         (cursorNext): ditto
3286
3287         * rowpainter.C (paintSelection): make sure that we do not compare
3288         iterators from different containers.
3289
3290         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3291         iterators from different ParagraphList containers.
3292         [NEXT] ditto
3293
3294         * text2.C (LyXText): change order of initialization slightly
3295         (operator=): new function. copy all variables except cache_par_
3296         (moveUp): make sure that we do not compare iterators from
3297         different ParagraphList constainers.
3298         (moveDown): ditto
3299
3300         * text.C (firstPar): new function
3301         (lastPar): new function
3302         (endPar): new function
3303
3304         * lyxtext.h: move things around and group public functions, public
3305         variables, private functions, private variables
3306
3307 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3308
3309         * factory.C: change call to InsetERT constructor to avoid
3310         additional invocation of method status
3311         * text2.C (toggleInset): remove redundant update() call
3312         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3313         instead of a Bufferview pointer
3314
3315 2003-11-21  André Pönitz  <poenitz@gmx.net>
3316
3317         * rowpainter.C: simplification
3318
3319 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3320
3321         * text3.C (dispatch): make possible to extend a word/row selection
3322         with the mouse
3323
3324 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * lyxtext.h: x0_,y0_ -> xo_,yo_
3327         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3328         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3329         * rowpainter.C (paintRows): paint full paragraphs
3330
3331 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3332
3333         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3334         screen coordinates)
3335
3336 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3337
3338         * lyxtext.h: add x0_, y0_
3339         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3340         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3341
3342 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3343
3344         * text2.C (setCursorIntern): move the x_target update here *
3345         * text3.C: change some bv() to true/false in calls to
3346         cursorUp/Down/Right/Left
3347         * cursor.C: use helper function.
3348
3349 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3352         * paragraph_funcs.[Ch]: correct comment
3353         * rowpainter.C: do not paint selections away from bv->cursor()
3354         Fix a long standing selection painting bug.
3355         * text3.C: generalize mouse-selection code to LyXTexts other that
3356         top one
3357         * textcursor.C: do not use y coords if we can use par offsets
3358
3359 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3360
3361         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3362         cursor position after e.g. inset insert)
3363
3364 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * lyxfind.C (replace): adjust to locking removal + some
3367         code simplification
3368
3369 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3372         of the path
3373
3374 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3375
3376         * lyxlayout.[Ch]:
3377         * output_docbook.C: XML sanitation: new layout
3378         parameters InnerTag and CommandDepth
3379
3380 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3381
3382         * BufferView_pimpl.C:
3383         * factory.C:
3384         * text3.C: Fix the insertion and modification of button-style
3385         insets
3386
3387 2003-11-13  André Pönitz  <poenitz@gmx.net>
3388
3389         * InsetList.[Ch]: remove deleteLyXText
3390
3391         * paragraph.[Ch]: cache beginOfBody position
3392
3393         * Bidi.C:
3394         * text.C:
3395         * text2.C:
3396         * text3.C: remove superfluous update() calls
3397
3398         * vspace.C: cleanup
3399
3400 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3401
3402         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3403         * BufferView.C (fitLockedInsetCursor): remove
3404         * cursor.[Ch] (getDim): add
3405         * text.C (getRowNearY): add faster version
3406         * text3.C: remove some update calls
3407
3408 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3409
3410         * LaTeXFeatures.C:
3411         * LyXAction.C:
3412         * MenuBackend.C:
3413         * MenuBackend.h:
3414         * dispatchresult.h:
3415         * factory.C:
3416         * lfuns.h:
3417         * lyxfunc.C:
3418         * lyxtextclass.C:
3419         * lyxtextclass.h:
3420         * text3.C: The Character Style /XML short element patch.
3421
3422 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3423
3424         * text3.C:
3425         * factory.C: Small step to solving 'unable to insert some insets'
3426         problem
3427
3428 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3429
3430         * cursor.[Ch] (updatePos): new function for updating the y
3431         position of the tip inset
3432         * bufferview_funcs.C (put_selection_at):
3433         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3434
3435 2003-11-11  André Pönitz  <poenitz@gmx.net>
3436
3437         * text.C: remove big comment on invalid Paragraph pointers as it is
3438         not valid anymore
3439
3440 2003-11-11  André Pönitz  <poenitz@gmx.net>
3441
3442         * text_funcs.[Ch]: merge with ...
3443
3444         * text.C: ... this
3445
3446         * lyxtext.h:
3447         * text2.C:
3448         * text3.C: adjust
3449
3450         * Makefile.am: remove text_funcs.[Ch]
3451
3452 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3453
3454         * cursor.C (getPos): return absolute cached y coord
3455
3456         * BufferView_pimpl.C (fitCursor): new simplistic code
3457         (workAreaDispatch): add a fitCursor call
3458
3459 2003-11-10  André Pönitz  <poenitz@gmx.net>
3460
3461         * BufferView.[Ch]:
3462         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3463
3464 2003-11-10  André Pönitz  <poenitz@gmx.net>
3465
3466         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3467         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3468         indicate that the cursor needs to leave an inset
3469
3470         * lyxtext.h: remove inset locking
3471
3472         * cursor.[Ch]: re-implement functionality provided by inset locking
3473
3474         * BufferView.[Ch]:
3475         * BufferView_pimpl.[Ch]:
3476         * LyXAction.C:
3477         * bufferview_funcs.[Ch]:
3478         * factory.C:
3479         * funcrequest.[Ch]:
3480         * iterators.C:
3481         * lyx_cb.C:
3482         * lyxfind.C:
3483         * lyxfunc.C:
3484         * text.C:
3485         * text2.C:
3486         * text3.C:
3487         * undo.C: adjust
3488
3489 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * PosIterator.[Ch]: replace the stack with a vector, add inset
3492         accesor
3493         * iterators.[C]: adjust
3494
3495 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3498         replaced
3499         * paragraph_funcs.C (readParToken): put the correct id in the
3500         error item, not the id of the top paragraph
3501
3502 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3503
3504         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3505         * bufferview_funcs.C (put_selection_at): use the above
3506
3507 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3508
3509         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3510
3511 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3512
3513         * output_linuxdoc.h:
3514         * output_plaintext.h:
3515         * output.h:
3516         * output_docbook.h: add #include statements
3517
3518 2003-11-05  José Matos  <jamatos@lyx.org>
3519
3520         * output_docbook.[Ch]:
3521         * output_latex.[Ch]:
3522         * output_linuxdoc.[Ch]:
3523         * output_plaintext.[Ch]: New files for output formats.
3524         * output.[Ch]: New file for helper functions.
3525
3526         * buffer.[Ch]:
3527         * paragraph_funcs.[Ch]: output functions moved to new files.
3528
3529         * outputparams.h: rename of latexrunparams.h
3530
3531         * LaTeX.[Ch]:
3532         * buffer.[Ch]:
3533         * bufferlist.[Ch]:
3534         * converter.[Ch]:
3535         * exporter.C:
3536         * paragraph.[Ch]:
3537         * paragraph_funcs.[Ch]:
3538         * paragraph_pimpl.[Ch]:
3539         * tabular.[Ch]: rename ascii to plaintext
3540         and LatexRunParams to OutputParams.
3541
3542 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3543
3544         * iterators.[Ch] (text): require bv argument
3545         * undo.C (recordUndo):
3546         * lyxfunc.C (dispatch):
3547         * bufferview_funcs.C (put_selection_at): adjust
3548
3549 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3550
3551         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3552
3553 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3556         nestings
3557
3558 2003-11-04  André Pönitz  <poenitz@gmx.net>
3559
3560         * cursor.[Ch]: restructure
3561
3562         * BufferView.[Ch]:
3563         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3564
3565         * iterators.[Ch] (asCursor): remove
3566
3567         * lfuns.h: remove LFUN_INSET_EDIT
3568
3569         * lyxfunc.C:
3570         * tabular.C:
3571         * text.C:
3572         * text2.C:
3573         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3574
3575 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3576
3577         * lyxfind.[Ch]: complete overhaul
3578         * BufferView_pimpl.C:
3579         * lyxfunc.C: adjust
3580         * paragraph.[Ch] (insert): add
3581
3582 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * BufferView.[Ch]:
3585         * lyxtext.h:
3586         * text.C: remove dead spellcheck code
3587
3588 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * dispatchresult.h: add a val setter
3591
3592         * cursor.C (dispatch): use a tempvar for data_[i]
3593
3594 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * PosIterator.[Ch]: compile fix
3597
3598 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3599
3600         * text.C (cursorPar): deactivate the cursor cache
3601
3602 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3603
3604         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3605
3606 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * text3.C (dispatch): adjust for new DisptchResult semantics.
3609
3610         * lyxfunc.C (dispatch): handle update when return from
3611         Cursor::dispatch, adjust for new DispatchResult semantics.
3612
3613         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3614         DispatchResult(true) mean to not update. Add class functions for
3615         setting dispatched and update, as well as reading.
3616
3617         * cursor.C (dispatch): don't handle update here
3618
3619 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3620
3621         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3622         * trans_mgr.C: adjust
3623
3624         * paragraph_funcs.C (readParToken): exception safety
3625
3626         * lyxvc.h: store the vcs pointer in a scoped_ptr
3627         * lyxvc.C: adjust
3628
3629         * lyxsocket.C (serverCallback): exception safety
3630
3631         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3632
3633         * ispell.C (clone): make it return a auto_ptr
3634
3635         * factory.C (createInset): exception safety
3636         (readInset): exception safety
3637
3638         * bufferlist.C (newBuffer): exception safety
3639
3640         * Thesaurus.C (Thesaurus): use initialization for aik_
3641
3642         * MenuBackend.C (expandToc): exception safety.
3643
3644 2003-11-03  André Pönitz  <poenitz@gmx.net>
3645
3646         * buffer.C:
3647         * buffer.h:
3648         * bufferview_funcs.C: remove getInsetFromId()
3649
3650         * lyxcursor.[Ch]:
3651         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3652
3653         * lyxfunc.C:
3654         * text2.C:
3655         * text3.C: adjust
3656
3657 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3658
3659         * PosIterator.C (distance, advance): new
3660         * bufferview_funcs.[Ch] (put_selection_at): new
3661         * iterators.[Ch] (lockPath): new
3662
3663 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3664
3665         * iterators.[Ch] (asPosIterator): added
3666         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3667         * PosIterator.[Ch]: added
3668
3669 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * text3.C:
3672         * lyxfunc.C:
3673         * cursor.C (dispatch):
3674         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3675
3676         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3677         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3678         contructor, add a class function dispatched. Remove operator>=
3679
3680 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * debug.C: only use the default constructor for debugstream
3683         (lyxerr) here.
3684
3685         * main.C (main): include debug.h and setup the lyxerr streambuf
3686         here.
3687
3688 2003-10-31  José Matos  <jamatos@lyx.org>
3689
3690         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3691
3692         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3693         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3694         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3695         * paragraph_pimpl.C (simpleTeXSpecialC):
3696         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3697         add LatexRunParams argument.
3698
3699         * exporter.C (Export): change call accordingly.
3700
3701         * latexrunparams.h: add new member to take care of the other backends.
3702 2003-10-30  José Matos  <jamatos@lyx.org>
3703
3704         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3705         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3706         factorise code for paragraph output.
3707         * buffer.[Ch]:
3708         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3709         move functions.
3710
3711 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3712
3713         * text3.C (dispatch):
3714         * lyxfunc.C (dispatch):
3715         * cursor.C (dispatch):
3716         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3717
3718         * dispatchresult.h: make the dispatch_result_t ctor explicit
3719
3720 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3721
3722         * sgml.[Ch]:
3723         * buffer.C: small refactoring of docbook stuff
3724
3725 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3728         meaning.
3729
3730 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3733         operator dispatch_result_t, and operators for == != and >=
3734
3735         * cursor.C (dispatch): adjust for operator dispatch_result_t
3736         removal. comment out call to update
3737
3738         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3739
3740 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3741
3742         * text3.C:
3743         * text2.C:
3744         * text.C:
3745         * lyxtext.h:
3746         * lyxfunc.C:
3747         * cursor.C:
3748         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3749         (dispatch):
3750
3751         * dispatchresult.h: new file, DispatchResult broken out of
3752         insets/insetbase.h
3753
3754         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3755
3756 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3757
3758         * text.C (rowBreakPoint): put a hack inside #if 0
3759
3760 2003-10-28  André Pönitz  <poenitz@gmx.net>
3761
3762         * lyxtext.h:
3763         * metricsinfo.C:
3764         * paragraph_funcs.C:
3765         * rowpainter.C:
3766         * text.C:
3767         * text2.C: general cleanup (lots of small stuff)
3768
3769 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * text2.C (cursorEnd): simple fix to the "end key goes to one
3772         before the end on last row" bug
3773
3774 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3775
3776         * text.C (backspace): fix the "zombie characters"
3777
3778 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3779
3780         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3781
3782 2003-10-27  André Pönitz  <poenitz@gmx.net>
3783
3784         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3785
3786         * factory.C: handle new InsetPagebreak, InsetLine
3787
3788         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3789         and move handling into new InsetPagebreak, InsetLine
3790
3791         * BufferView_pimpl.C:
3792         * LyXAction.C:
3793         * ParagraphParameters.C:
3794         * ParameterStruct.h:
3795         * lyxfunc.C:
3796         * lyxtext.h:
3797         * paragraph.C:
3798         * paragraph.h:
3799         * paragraph_funcs.C:
3800         * paragraph_pimpl.C:
3801         * rowpainter.C:
3802         * text.C:
3803         * text2.C:
3804         * text3.C: adjust
3805
3806 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3807
3808         * text.C:
3809         * lyxrow_funcs.[Ch]:
3810         * Bidi.C:
3811         * paragraph.C:
3812         * lyxtext.h:
3813         * rowpainter.C:
3814         * text2.C:
3815         * text3.C: remove lastPos uses in favour of Row::endpos
3816
3817 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * undo.C (performUndoOrRedo): fix two crashes by setting a
3820         cursor by hand and reordering some calls. Use bv->lockInset instead
3821         of inset->edit because the latter loses cursor information
3822
3823 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3824
3825         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3826         by Martin
3827         (rowBreakPoint): fix width. change point to point + 1.
3828         Add a missing check.
3829
3830 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3831
3832         * MenuBackend.C:
3833         * lyxfunc.C: fix (at least partly) the problems
3834         with the Nav menu and headers inside branch insets
3835         reported by Kayvan
3836
3837 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3838
3839         * paragraph.C (getChar): add strong asserts
3840
3841         * lyxrow_funcs.C (lastPos): remove hideous hack
3842
3843         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3844         (fill): adjust to that (avoid an infinite loop)
3845
3846 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3847
3848         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3849
3850 2003-10-23  André Pönitz  <poenitz@gmx.net>
3851
3852         * RowList_fwd.h: change list<> to vector<> to gain speed
3853         after suggestion from Alfredo
3854
3855 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3856
3857         * lyxtext.h: move the bidi stuff from here...
3858         * text.C: and here
3859         * text2.C: and here
3860         * Bidi.[Ch]: ... to here
3861
3862 2003-10-23  André Pönitz  <poenitz@gmx.net>
3863
3864         * lyxtext.h:
3865         * text.C (isLastRow, isFirstRow): new functions
3866
3867         * paragraph.h: new width cache member
3868
3869         * rowpainter.C: replace RowList::iterator with Row & where possible
3870
3871         * lyxfunc.C: replace several view()->text with a single call
3872
3873         * toc.C: fix 'unused' warning
3874
3875 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3878         when woring with stream::pos_type
3879         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3880
3881 2003-10-22  André Pönitz  <poenitz@gmx.net>
3882
3883         * lyxtext.h:
3884         * text.C: use Row & instead of RowList::iterator
3885
3886         * lyxrow.h: rename end() to endpos()
3887
3888         * rowpainter.C:
3889         * text.C:
3890         * text2.C: adjust
3891
3892 2003-10-22  Angus Leeming  <leeming@lyx.org>
3893
3894         * buffer.[Ch] (fully_loaded): new member function, returning true
3895         only when the file has been loaded fully.
3896         Used to prevent the premature generation of previews and by the
3897         citation inset to prevent computation of the natbib-style label.
3898
3899         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3900         templates are all set up.
3901
3902         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3903
3904 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3905
3906         * text.C: fixed an "oops" in the "is a bit silly"
3907         bug fix
3908
3909 2003-10-21  André Pönitz  <poenitz@gmx.net>
3910
3911         * FuncStatus.[Ch]: small stuff, whitespace
3912
3913         * lyxfont.[Ch]: operator<<() for debug reasons
3914
3915         * lyxfunc.C:
3916         * lyxrow_funcs.C:
3917         * lyxtext.h: whitespace, spelling
3918
3919         * paragraph.C: naming of variables
3920
3921         * text.C:
3922         * text2.C: small stuff
3923
3924
3925 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3926
3927         * text.C: (1) finish off the inset display() work;
3928         (2) fix the "is a bit silly" bug (accessing char
3929         past end of par).
3930
3931 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3932
3933         * text.C: re-introduce display() for insets, fixing the
3934         various bugs (stretch of line above, math inset
3935         positioning, ...)
3936
3937 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3938
3939         * text.C (rightMargin): remove spurious semicolon
3940
3941         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3942         1415)
3943
3944 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3945
3946         * text3.C: fix one crash due to wrong cursor def
3947
3948 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3949
3950         * vc-backend.C (scanMaster): make the regex static
3951
3952         * LaTeX.C (scanAuxFile): make the regexs static
3953
3954         * text3.C (doInsertInset, dispatch, dispatch):
3955         * text2.C (cursorUp, cursorDown):
3956         * text.C (selectNextWordToSpellcheck):
3957         * BufferView_pimpl.C (dispatch):
3958         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3959
3960 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3961
3962         * lyxsocket.C: include <cerrno>
3963
3964 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * lyxfunc.C (dispatch): remove textcache stuff
3967
3968         * bufferlist.C (release): remove textcache stuff
3969         (closeAll): ditto
3970
3971         * TextCache.C: delete file
3972         * TextCache.h: delete file
3973
3974         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3975
3976         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3977         delete of the bv_->text.
3978         (resizeCurrentBuffer): remove texcache stuff
3979         (workAreaResize): ditto
3980
3981 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3982
3983         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3984         action.
3985
3986 2003-10-16  André Pönitz  <poenitz@gmx.net>
3987
3988         * lyxrow.[Ch]:
3989         * paragraph.h:
3990         * rowpainter.C:
3991         * text.C:
3992         * text2.C:
3993         * text3.C: speed up by storing y positions per paragraph plus per-row
3994         offset instead of having a 'full' y position in the row.
3995
3996 2003-10-15  André Pönitz  <poenitz@gmx.net>
3997
3998         * iterators.[Ch]:
3999         * iterators.[Ch]:
4000         * undo.[Ch]: make undo aware of inner insets
4001
4002 2003-10-14  Angus Leeming  <leeming@lyx.org>
4003
4004         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4005         static member functions LyX::ref() and LyX::cref.
4006         (lastfiles): new accessor functions for the new lastfiles_ member var.
4007         (addLyXView, views_): add a new LyXView to the list of views_.
4008         (updateInset): loop over all LyXViews to call their own updateInset
4009         member function, returning a pointer to the Buffer owning the inset.
4010
4011         * BufferView_pimpl.C (loadLyXFile):
4012         * MenuBackend.C (expandLastfiles):
4013         * bufferlist.C (MenuWrite, QuitLyX):
4014         lastfiles is no longer a global variable.
4015         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4016
4017         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4018         static function. Access through LyX::cref().emergencyCleanup().
4019
4020 2003-10-14  André Pönitz  <poenitz@gmx.net>
4021
4022         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4023
4024         * undo.[Ch]: restoring part of 'undo in insets'
4025
4026         * Makefile.am:
4027         * undo_funcs.[Ch]: merge with undo.[Ch]
4028
4029         * tabular.C: small cleansing stuff
4030
4031 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * paragraph_funcs.C (readParToken): report unknown insets as error
4034         boxes. Use the outer paragraph as location (also for unknown
4035         tokens).
4036
4037         * factory.C (readInset): do not abort on reading an unknown inset.
4038         Eat it and return 0.
4039
4040 2003-10-13  Angus Leeming  <leeming@lyx.org>
4041
4042         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4043
4044         * lyxrc.C: displayTranslator is now a function,
4045         declared in GraphicsTypes.h.
4046
4047 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4048
4049         * format.C: new placeholder $$a to pass the socket address.
4050
4051         * bufferlist.[Ch]: new function getBufferFromTmp.
4052
4053         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4054           files in the temporary dir.
4055
4056 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4057
4058         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4059
4060         * Makefile.am: add lyxsocket.[Ch].
4061
4062         * lyx_main.C (error_handler): handle SIGPIPE.
4063
4064 2003-10-13  André Pönitz  <poenitz@gmx.net>
4065
4066         * BufferView_pimpl.C:
4067         * lyxtext.h:
4068         * text.C:
4069         * text2.C:
4070         * text3.C:
4071         * undo_funcs.[Ch]: use paroffset_type instead of
4072           ParagraphList::iterators to prevent multiple conversion
4073           (and get a more robust interface)
4074
4075 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4078         * lyxtext.h: ditto
4079         * text3.C (dispatch): ditto
4080
4081 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4084         move the onlyfile, use onlyfile instead of foundfile in a couple
4085         of places.
4086
4087         * DepTable.C (update): flush the error stream a bit more
4088
4089 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * lyxserver.C (callback): adjust
4092
4093         * lyxfunc.C (getStatus): add a missing brace in commented code
4094         (ensureBufferClean): reindent
4095         (dispatch): delete version taking a string
4096
4097 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4098
4099         * LaTeX.C (deplog): move found file handlig from here...
4100         (handleFoundFile): .. to new function here.
4101         (deplog): make sure to discover several files mentioned on the
4102         same log line.
4103
4104 2003-10-10  André Pönitz  <poenitz@gmx.net>
4105
4106         * lyxfunc.C:
4107         * lyxtext.h:
4108         * tabular.C:
4109         * text.C:
4110         * text2.C:
4111         * text3.C: fix some of the tabular crashes
4112
4113 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4114
4115         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4116
4117         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4118
4119 2003-10-09  André Pönitz  <poenitz@gmx.net>
4120
4121         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4122
4123         * BufferView.C:
4124         * BufferView_pimpl.C:
4125         * bufferview_funcs.C:
4126         * lyx_cb.C:
4127         * lyxcursor.C:
4128         * lyxfind.C:
4129         * lyxfunc.C:
4130         * lyxtext.h:
4131         * text.C:
4132         * text2.C:
4133         * text3.C:
4134         * text_funcs.[Ch]:
4135         * textcursor.[Ch]:
4136         * undo_funcs.C: adjust
4137
4138 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * text2.C (incrementItemDepth): new function, use a backtracking
4141         algorithm to discover the correct item depth.
4142         (resetEnumCounterIfNeeded): new function, use a backtracking
4143         algorithm to discover if counter reset is needed.
4144         (setCounter): use them. Simplify a bit. Add different labels for
4145         different item depths for itemize.
4146
4147         * paragraph.C (Paragraph): remove initialization of enumdepth
4148         (operator=): ditto
4149
4150         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4151         enumerate and itemize. Change the type of itemdepth to signed char.
4152
4153 2003-10-08  André Pönitz  <poenitz@gmx.net>
4154
4155         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4156           thing assignable.
4157         * text.C:
4158         * text2.C: adjust
4159
4160         * tabular.[Ch]: fix crash after 'row-insert'
4161
4162 2003-10-08  Angus Leeming  <leeming@lyx.org>
4163
4164         Fix doxygen warnings.
4165
4166         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4167         Remove CutAndPaste:: prefix from header file declaration.
4168
4169         * LColor.h (fill): remove LColor:: prefix from declaration.
4170
4171         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4172         use lyx::depth_type rather than Paragraph::depth_type so that
4173         header file and .C file match.
4174
4175         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4176
4177         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4178         * aspell.C: \file aspell_local.C -> \file aspell.C
4179         * gettext.C: \file gettext.C -> \file src/gettext.C
4180         * gettext.h: \file gettext.h -> \file src/gettext.h
4181         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4182         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4183         * text.C: \file text.C -> \file src/text.C
4184
4185         * toc.C: move comment so that doxygen is not confused.
4186
4187 2003-10-07  Angus Leeming  <leeming@lyx.org>
4188
4189         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4190
4191 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4192
4193         * aspell.C:
4194         * aspell_local.h: add forgotten std::string's.
4195
4196 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4197
4198         * LaTeXFeatures.C:
4199         * LyXAction.C:
4200         * factory.C:
4201         * lfuns.h:
4202         * lyxfunc.C:
4203         * text3.C: The Box patch. Fancybox support, minipage, parbox
4204
4205 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4206
4207         * CutAndPaste.h:
4208         * DepTable.h:
4209         * FloatList.h:
4210         * LaTeXFeatures.h:
4211         * ParagraphParameters.h:
4212         * TextCache.h:
4213         * Thesaurus.h:
4214         * bufferlist.h:
4215         * exporter.h:
4216         * importer.h:
4217         * lastfiles.h:
4218         * lyxfind.h:
4219         * lyxfont.h:
4220         * lyxlex.h:
4221         * lyxtextclasslist.h:
4222         * messages.h:
4223         * paragraph.h:
4224         * paragraph_pimpl.C:
4225         * textcursor.h: add <string> and other small fixes to make Lars'
4226         std::string patch compile with STLport.
4227
4228 2003-10-06  Angus Leeming  <leeming@lyx.org>
4229
4230         * LColor.h: Add missing #include <string>.
4231
4232 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4233
4234         * All most all file in all subdirs: Make <string> be the prefered
4235         way of getting to std::string, add using declarations.
4236
4237 2003-10-06  André Pönitz  <poenitz@gmx.net>
4238
4239         * metricsinfo.C: initialize LyXFont before changing attribute.
4240         (fixes the 'math in \emph is upright' bug)
4241
4242 2003-10-06  André Pönitz  <poenitz@gmx.net>
4243
4244         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4245
4246 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4247
4248         * graph.C:
4249         * paragraph_pimpl.C: Small fixes to build using STLport
4250
4251 2003-10-02  André Pönitz  <poenitz@gmx.net>
4252
4253         * lyxfunc.C:
4254         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4255
4256 2003-10-01  André Pönitz  <poenitz@gmx.net>
4257
4258         * factory.C: assert early
4259
4260 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * lyx_main.C: remove the global debug object
4263
4264         * debug.h: adjust for new debugstream
4265
4266         * debug.C: adjust for new debugstream and keep the global debug
4267         object here.
4268
4269 2003-09-22  Angus Leeming  <leeming@lyx.org>
4270
4271         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4272         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4273         an incomplete class LyXFont.
4274
4275 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4276
4277         * factory.C: bug fix in branches
4278
4279 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * lyxfunc.C (processKeySym): adjust
4282         (dispatch): adjust
4283         (dispatch): change arg name from ev to func, adjust
4284         (sendDispatchMessage): ditto
4285
4286         * lyx_main.C (defaultKeyBindings): adjust keybindings
4287         (deadKeyBindings): ditto
4288
4289         * kbsequence.C (addkey): return a FuncRequest
4290
4291         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4292
4293         * kbmap.C (bind): take a FuncRequest as arg, adjust
4294         (read): adjust
4295         (lookup): adjust
4296         (defkey): change to take a FuncRequest as arg, adjust
4297         (findbinding): take a FuncRequest as arg, adjust.
4298
4299         * funcrequest.h (operator=): added
4300
4301         * funcrequest.C (FuncRequest): default kb_action changed from
4302         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4303
4304         * buffer.C (dispatch): simplify
4305         (dispatch): adjust to take a FuncRequest as arg, adjust
4306
4307         * boost.C (assertion_failed): change assertion message slightly
4308
4309         * ToolbarBackend.C (read): simplify
4310
4311         * MenuBackend.C (binding): adjust call to findbinding, add a
4312         message if no binding is found.
4313         (read): simplify
4314         (expandToc): correct by adding a empty FuncRequest
4315
4316         * LyXAction.C: include <boost/assert.hpp>
4317         (isPseudoAction): delete function
4318         (LookupFunc): change name to...
4319         (lookupFunc): this. change return type to FuncRequest.
4320         (getActionName): take kb_action as arg, simplify
4321         (funcHasFlag): add an assert, simplify.
4322
4323 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * toc.C (action): return a FuncRequest, simplify
4326
4327         * lyxfunc.C (processKeySym): adjust
4328         (getStatus): delete version that takes an int.
4329         (getStatus): adjust
4330         (dispatch): delete version that takes action as int
4331         (dispatch): adjust
4332         (sendDispatchMessage): simplify and adjust
4333
4334         * funcrequest.C (getArg): take unsigned int as arg
4335
4336         * ToolbarBackend.C (read): adjust
4337         (add): delete version that takes func as a string.
4338         (getIton): take a FuncRequest as arg
4339
4340         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4341         action.
4342
4343         * MenuBackend.C (MenuItem): add a new construct that only takes a
4344         Kind, simplify the constructor use for submenus.
4345         (add): adjust
4346         (expandLastfiles): adjust
4347         (expandDocuments): adjust
4348         (expandFormats): adjust
4349         (expandFloatListInsert): adjust
4350         (expandFloatInsert): adjust
4351         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4352
4353         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4354         Remove class variables lyx_pseudo_map and lyx_arg_map
4355
4356         * LyXAction.C (searchActionArg): delete function
4357         (getPseudoAction): delete function
4358         (retrieveActionArg): delete function
4359         (LookupFunc): make it return kb_action, simplify.
4360         (getActionName): simplify
4361
4362         * factory.C (createInset): fix new bug
4363
4364 2003-09-19  Angus Leeming  <leeming@lyx.org>
4365
4366         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4367         masterFilename_ parameter in the include inset.
4368
4369         * factory.C (createInset): changes due to the changes to InsetInclude.
4370
4371 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4372
4373         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4374
4375 2003-09-18  Angus Leeming  <leeming@lyx.org>
4376
4377         * buffer.C:
4378         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4379         Inset::fillWithBibKeys.
4380         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4381
4382 2003-09-18  Angus Leeming  <leeming@lyx.org>
4383
4384         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4385         variables.
4386         (ctor): pass and store a 'Buffer const &'
4387         (buffer): new member function.
4388
4389         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4390         '*this' to the LaTeXFeatures ctor.
4391
4392 2003-09-18  Angus Leeming  <leeming@lyx.org>
4393
4394         * LColor.h:
4395         * lyxfont.C:
4396         * lyxfont.h:
4397         * lyxtext.h:
4398         * text.C: rename EnumLColor as LColor_color.
4399
4400 2003-09-18  Angus Leeming  <leeming@lyx.org>
4401
4402         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4403         remove #include "insets/insetbase.h" from cursor.h.
4404
4405 2003-09-18  Angus Leeming  <leeming@lyx.org>
4406
4407         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4408         InsetOld_code to remove #include "inset.h".
4409
4410         * iterators.C: add #include "insets/inset.h"
4411
4412 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4413
4414         * BufferView.C: remove more locking stuff that apparently doesn't
4415         do anything sensible.
4416
4417 2003-09-16  André Pönitz  <poenitz@gmx.net>
4418
4419         * paragraph.[Ch]:
4420         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4421           performance boost.
4422
4423 2003-09-16  Angus Leeming  <leeming@lyx.org>
4424
4425         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4426
4427         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4428         arg/return type.
4429
4430         * paragraph.h: remove #include "lyxfont.h". Forward declare
4431         LyXFont_size.
4432
4433 2003-09-16  Angus Leeming  <leeming@lyx.org>
4434
4435         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4436         of support/textutils.h.
4437         (isWord): move the contents of support/textutils.h's IsWordChar here.
4438
4439         * buffer.C:
4440         * lyxfind.C:
4441         * rowpainter.C:
4442         * text.C:
4443         * text2.C: add #include "paragraph.h".
4444
4445         * rowpainter.C:
4446         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4447
4448 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * main.C:
4451         * lyx_main.C:
4452         * lyx_cb.C:
4453         * buffer.C:
4454         * LaTeX.C: use namespace alias for lyx::support::os
4455
4456 2003-09-16  Angus Leeming  <leeming@lyx.org>
4457
4458         * bufferparams.C:
4459         * bufferview_funcs.C:
4460         * factory.C:
4461         * lyxfunc.C:
4462         * paragraph_pimpl.C:
4463         * rowpainter.C:
4464         * text.C: add #include "LColor.h".
4465
4466 2003-09-16  Angus Leeming  <leeming@lyx.org>
4467
4468         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4469         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4470         return LyXFont &.
4471         Store the FontBits::color variable as an int rather than as an
4472         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4473         file.
4474
4475         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4476         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4477         string calls together.
4478
4479         * lyxrc.C: add #include "LColor.h".
4480
4481 2003-09-15  Angus Leeming  <leeming@lyx.org>
4482
4483         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4484         a cow_ptr.
4485
4486 2003-09-15  Angus Leeming  <leeming@lyx.org>
4487
4488         * LColor.h: add an EnumLColor wrapper for LColor::color.
4489
4490         * lyxfont.[Ch] (color, setColor, realColor):
4491         * lyxtext.h, text.C (backgroundColor):
4492         pass EnumLColor args to/from the functions, rather than LColor::color
4493         ones.
4494
4495         * lyxfont.h:
4496         * lyxtext.h: forward declare EnumLColor.
4497
4498         * lyx_main.C: add #include "LColor.h".
4499
4500 2003-09-15  Angus Leeming  <leeming@lyx.org>
4501
4502         * .cvsignore: add lyx-gtk.
4503
4504 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * Chktex.C
4507         * LaTeX.C
4508         * LaTeXFeatures.C
4509         * ParagraphParameters.C
4510         * Spacing.C
4511         * buffer.C
4512         * bufferparams.C
4513         * bufferview_funcs.C
4514         * chset.C
4515         * counters.C
4516         * funcrequest.C
4517         * lyxfont.C
4518         * lyxgluelength.C
4519         * lyxlength.C
4520         * paragraph.C
4521         * paragraph_funcs.C
4522         * text3.C
4523         * vc-backend.C: remove usage of STRCONV
4524
4525 2003-09-15  Angus Leeming  <leeming@lyx.org>
4526
4527         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4528         explicitly define the color passed to the painter.
4529
4530 2003-09-15  Angus Leeming  <leeming@lyx.org>
4531
4532         * bufferparams.C (BufferParams): reorder member initializers to avoid
4533         compiler warning.
4534
4535 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4538         * text.C (updateRowPositions): remove an unusual nop
4539
4540 2003-09-12  André Pönitz  <poenitz@gmx.net>
4541
4542         * BufferView_pimpl.C:
4543         * Bullet.C:
4544         * layout.h:
4545         * lyxfunc.C:
4546         * lyxlayout.[Ch]:
4547         * lyxtextclass.C:
4548         * rowpainter.C:
4549         * text.C:
4550         * text2.C:
4551         * Counters.[Ch]: finish the 'automatic counters' job
4552
4553 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4554
4555         * aspell.C: include <boost/assert.cpp> (compile fix)
4556
4557 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4558
4559         * boost.C (assertion_failed): use lyx::support::abort instead of
4560         assert.
4561
4562 2003-09-10  Angus Leeming  <leeming@lyx.org>
4563
4564         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4565         with their _fwd progeny.
4566
4567 2003-09-09  Angus Leeming  <leeming@lyx.org>
4568
4569         134 files throughtout the source tree: replace 'using namespace abc;'
4570         directives with the appropriate 'using abc::xyz;' declarations.
4571
4572 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4573
4574         * boost.C (emergencyCleanup): moved here from LAssert.c
4575         (assertion_failed): new function, called by BOOST_ASSERT
4576
4577         * several files: change Assert to BOOST_ASSERT
4578
4579 2003-09-09  Angus Leeming  <leeming@lyx.org>
4580
4581         * buffer.[Ch]: Add an Impl class and move Buffer's member
4582         variables into it. As a result move several header files out of
4583         buffer.h.
4584
4585         Add header files to lots of .C files all over the tree as a result.
4586
4587 2003-09-09  Angus Leeming  <leeming@lyx.org>
4588
4589         * buffer.[Ch]: make Buffer's member variables private. Add
4590         accessor functions.
4591
4592         Lots of changes all over the tree as a result.
4593
4594 2003-09-08  Angus Leeming  <leeming@lyx.org>
4595
4596         * graph.C: #include <config.h>.
4597
4598 2003-09-08  Angus Leeming  <leeming@lyx.org>
4599
4600         * BranchList.C:
4601         * BufferView.C:
4602         * BufferView_pimpl.C:
4603         * CutAndPaste.C:
4604         * DepTable.C:
4605         * LaTeX.C:
4606         * LaTeXFeatures.C:
4607         * LyXAction.C:
4608         * MenuBackend.C:
4609         * TextCache.C:
4610         * aspell.C:
4611         * buffer.C:
4612         * bufferlist.C:
4613         * changes.C:
4614         * chset.C:
4615         * converter.C:
4616         * counters.C:
4617         * debug.C:
4618         * graph.C:
4619         * ispell.C:
4620         * lyx_cb.C:
4621         * lyxfind.C:
4622         * lyxfunc.C:
4623         * lyxlex_pimpl.C:
4624         * lyxrc.C:
4625         * lyxrow.C:
4626         * paragraph.C:
4627         * rowpainter.C:
4628         * texrow.C:
4629         * text.C:
4630         * text2.C:
4631         * toc.C: remove redundant using directives.
4632
4633 2003-09-07  Angus Leeming  <leeming@lyx.org>
4634
4635         * LaTeXFeatures.h: remove #include "support/types.h".
4636         * ToolbarBackend.h: remove #include <algorithm>.
4637         * changes.h: remove #include <ctime>.
4638         * debug.h: remove #include <iosfwd>.
4639         * graph.h: remove #include "support/std_string.h".
4640         * lyx_main.h: remove #include <csignal>.
4641         * lyxlex_pimpl.h: remove #include <fstream>.
4642         * sgml.h: remove #include <algorithm>, <utility>.
4643         * toc.h: remove #include "support/std_ostream.h".
4644         Add #include <iosfwd>.
4645
4646 2003-09-07  Angus Leeming  <leeming@lyx.org>
4647
4648         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4649
4650         * converter.h: forward declare LatexRunParams.
4651         * encoding.h: remove #include "lyxrc.h".
4652         * lyxtext.h: remove #include "LColor.h".
4653         * lyxtextclass.h: remove #include "support/types.h".
4654         * trans.h: remove #include "tex-accent.h".
4655         * trans_mgr.h: remove #include "tex-accent.h".
4656         * insets/inset.h: remove #include "support/types.h", <vector>.
4657         * insets/insetcollapsable.h: remove #include "LColor.h".
4658         * insets/insetinclude.h: remove #include "dimension.h".
4659         * insets/insetlatexaccent.h: remove #include "dimension.h".
4660         * insets/insetoptarg.h:: remove #include "insettext.h".
4661         * insets/insettext.h: remove #include "dimension.h",
4662         <boost/shared_ptr.hpp>
4663
4664         * insets/renderers.h: add #include "dimension.h".
4665         * insets/updatableinset.h: add #include "support/types.h".
4666
4667         * many .C files: Associated changes.
4668
4669 2003-09-06  Angus Leeming  <leeming@lyx.org>
4670
4671         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4672         one, inside testInvariant.
4673
4674         * PrinterParams.C: new file.
4675         * PrinterParams.[Ch]: move the function bodies out of line.
4676
4677 2003-09-06  Angus Leeming  <leeming@lyx.org>
4678
4679         * ParagraphParameters.h: forward declare ParameterStruct rather than
4680         including its header file.
4681         (depth): moved out-of-line.
4682
4683 2003-09-06  Angus Leeming  <leeming@lyx.org>
4684
4685         * BufferView_pimpl.h:
4686         * kbmap.h:
4687         * kbsequence.h:
4688         * lyxfunc.h: forward declare LyXKeySym rather than
4689         #include "frontends/LyXKeySym.h".
4690
4691         * BufferView_pimpl.C:
4692         * kbmap.C:
4693         * kbsequence.C:
4694         * lyxfunc.C: associated changes.
4695
4696 2003-09-06  Angus Leeming  <leeming@lyx.org>
4697
4698         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4699         As a result, can remove the #include "insets/inset.h" from BufferView.h
4700
4701 2003-09-06  Angus Leeming  <leeming@lyx.org>
4702
4703         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4704         As a result, can remove the #include "insets/inset.h" from BufferView.h
4705
4706 2003-09-06  Angus Leeming  <leeming@lyx.org>
4707
4708         * buffer_funcs.C:
4709         * buffer.h:
4710         * bufferlist.C:
4711         * BufferView.C:
4712         * bufferview_funcs.C:
4713         * BufferView_pimpl.C:
4714         * CutAndPaste.C:
4715         * lyx_cb.C:
4716         * lyxfunc.C:
4717         * paragraph.h:
4718         * ParagraphParameters.C:
4719         * tabular.C:
4720         * text3.C:
4721         * toc.C:
4722         * undo_funcs.C:
4723         * frontends/controllers/ControlDocument.C:
4724         * insets/insetcaption.C: rearrange the #includes into some sort of
4725         coherent order.
4726
4727         * buffer.h: remove #includes ErrorList.h, undo.h
4728
4729 2003-09-06  Angus Leeming  <leeming@lyx.org>
4730
4731         * support/types.h: add a 'depth_type' typedef, used to store the
4732         nesting depth of a paragraph.
4733
4734         * paragraph.h:
4735         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4736         defining explicitly.
4737
4738         * buffer.h:
4739         * paragraph_funcs.h:
4740         * ParagraphParameters.h:
4741         * sgml.h: use lyx::depth_type rather than Paragraph or
4742         ParameterStruct's depth_type.
4743
4744         * buffer.h
4745         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4746
4747         * BufferView.C:
4748         * BufferView_pimpl.C:
4749         * CutAndPaste.C:
4750         * ParagraphParameters.C:
4751         * buffer_funcs.C:
4752         * bufferlist.C:
4753         * bufferview_funcs.C:
4754         * lyx_cb.C:
4755         * lyxfunc.C:
4756         * tabular.C:
4757         * text3.C:
4758         * toc.C:
4759         * undo_funcs.C:
4760         * frontends/LyXView.C:
4761         * frontends/controllers/ControlDocument.C:
4762         * frontends/controllers/ControlErrorList.C:
4763         * insets/insetbibitem.C:
4764         * insets/insetbranch.C:
4765         * insets/insetcaption.C:
4766         * insets/insetcollapsable.C:
4767         * insets/insetenv.C:
4768         * insets/insetert.C:
4769         * insets/insetfloat.C:
4770         * insets/insetfoot.C:
4771         * insets/insetfootlike.C:
4772         * insets/insetnewline.C:
4773         * insets/insetquotes.C:
4774         * insets/insettabular.C:
4775         * insets/insettext.C:
4776         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4777
4778         * frontends/controllers/ControlChanges.C: #include "changes.h".
4779
4780 2003-09-06  Angus Leeming  <leeming@lyx.org>
4781
4782         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4783         than #including paragraph.h.
4784
4785         * ParagraphList.h:
4786         * RowList.h: deleted. Superfluous.
4787
4788         * CutAndPaste.h:
4789         * iterators.h:
4790         * lyxcursor.h:
4791         * lyxtext.h:
4792         * text_funcs.h:
4793         * undo.h:
4794         * undo_funcs.h:
4795         * insets/inset.h:
4796         * insets/insettext.h: use ParagraphList_fwd.h rather than
4797         ParagraphList.h.
4798
4799         * paragraph.h: don't forward declare ParagraphList.
4800
4801         * buffer.h:
4802         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4803         rather than ParagraphList.h. paragraph.h is still needed for the
4804         Paragraph::depth_type parameters.
4805
4806         * textcursor.h: enable it to compile stand-alone in light of the
4807         above changes.
4808
4809         * bufferview_funcs.C:
4810         * iterators.C:
4811         * lyxfunc.C:
4812         * lyxrow_funcs.C:
4813         * paragraph.C:
4814         * rowpainter.C:
4815         * text.C:
4816         * text2.C:
4817         * text3.C:
4818         * text_funcs.C:
4819         * textcursor.C:
4820         * undo.C:
4821         * frontends/controllers/ControlParagraph.C:
4822         * frontends/controllers/ControlTabular.C:
4823         * insets/insetmarginal.C:
4824         * insets/insetminipage.C:
4825         * insets/insetnote.C:
4826         * insets/insetoptarg.C: add header files needed to compile again.
4827
4828 2003-09-06  Angus Leeming  <leeming@lyx.org>
4829
4830         * RowList_fwd.h: new file, forward-declaring Row rather than
4831         #including lyxrow.h.
4832
4833         * lyxrow_funcs.h:
4834         * lyxtext.h:
4835         * paragraph.h:
4836         * insets/insettext.h: use it instead of RowList.h
4837
4838         * bufferview_funcs.C:
4839         * lyxfunc.C:
4840         * lyxrow_funcs.C:
4841         * paragraph.C:
4842         * rowpainter.C:
4843         * text.C:
4844         * text2.C:
4845         * text3.C: #include "RowList.h".
4846
4847 2003-09-05  Angus Leeming  <leeming@lyx.org>
4848
4849         * factory.C (createInset):
4850         * vspace.C (c-tor): replace sscanf call with an istringstream.
4851         * ispell.C: re-add missing HP/UX headers.
4852         * lyxserver.C: re-add missing  os2 headers.
4853
4854 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4855
4856         * BranchList.C:
4857         * graph.C:
4858         * ispell.C:
4859         * lastfiles.C:
4860         * lyx_cb.C:
4861         * lyxserver.C:
4862         * texrow.C:
4863         * text3.C: re-add missing system headers, needed for 2.95.2.
4864
4865 2003-09-05  Angus Leeming  <leeming@lyx.org>
4866
4867         Changes most place everywhere due to the removal of using directives
4868         from support/std_sstream.h.
4869
4870 2003-09-05  Angus Leeming  <leeming@lyx.org>
4871
4872         Replace LString.h with support/std_string.h,
4873         Lsstream.h with support/std_sstream.h,
4874         support/LIstream.h with support/std_istream.h,
4875         support/LOstream.h with support/std_ostream.h.
4876
4877         Changes resulting throughout the tree.
4878
4879 2003-09-05  Angus Leeming  <leeming@lyx.org>
4880
4881         * sgml.h: ensure that the header file can be compiled stand-alone.
4882         * *.C: strip out redundant #includes. (320 in total.)
4883
4884 2003-09-04  Angus Leeming  <leeming@lyx.org>
4885
4886         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4887         here (from getPackages).
4888
4889         * debug.[Ch]: add a new EXTERNAL tag.
4890
4891 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4892
4893         * text2.C (cursorEnd): simplify
4894         (setCursor): adjust
4895         (getColumnNearX): adjust
4896
4897         * text.C (computeBidiTables): adjust
4898         (fill): adjust
4899
4900         * rowpainter.C (paintChars): adjust
4901         (paintSelection): adjust
4902         (paintChangeBar): adjust
4903         (paintText): adjust
4904
4905         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4906         lastPos instead.
4907         (numberOfSeparators): adjust
4908
4909 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4910
4911         * LyXAction.C:
4912         * box.[Ch]:
4913         * lfuns.h:
4914         * lyxfunc.C:
4915         * text3.C: Restricts the mouse click functionality
4916         of insets like bibtex, include, toc and floatlist to the visible
4917         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4918         up the dialogs. Cursor has to be in front of the inset (i.e.
4919         start of row) for this to function.
4920
4921 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4922
4923         * bufferview_funcs.C (currentState): output row information
4924
4925 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4926
4927         * bufferview_funcs.C (currentState): output paragraph position
4928
4929 2003-09-04  Angus Leeming  <leeming@lyx.org>
4930
4931         * FloatList.h: move out #include "Floating.h".
4932         * LaTeX.h: move out #include "DepTable.h".
4933         * LyXAction.h: move out #include "funcrequest.h".
4934         * buffer.h: move out #include "author.h", "iterators.h".
4935         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4936         * lyx_main.h: move out #include "errorlist.h".
4937         * lyxfunc.h: move out #include "FuncStatus.h".
4938         * lyxtext: move out #include "lyxcursor.h".
4939         * paragraph_pimpl.h: move out #include "counters.h".
4940
4941 2003-09-03  Angus Leeming  <leeming@lyx.org>
4942
4943         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4944         preamble_snippets list, enabling us to add snippets to the preamble
4945         only if the snippet was not there already.
4946
4947 2003-09-04  Angus Leeming  <leeming@lyx.org>
4948
4949         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4950
4951 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4954         update
4955
4956 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4957
4958         * BranchList.C: point fix, earlier forgotten
4959
4960 2003-09-02  Angus Leeming  <leeming@lyx.org>
4961
4962         * box.C (contains): renamed from 'contained' after a fantastic
4963         amount of hot air.
4964
4965 2003-09-02  John Levon  <levon@movementarian.org>
4966
4967         * BufferView.C:
4968         * lyxcursor.h:
4969         * lyxcursor.C:
4970         * lyxfunc.C:
4971         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4972
4973 2003-09-02  John Levon  <levon@movementarian.org>
4974
4975         * text2.C: simplification of cursorEnd(), including partial
4976         fix for bug 1376
4977
4978 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * buffer.C (readFile): add a space
4981
4982 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4985
4986 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * buffer.C (readFile): new function, take a filename and a
4989         ParagraphList::iterator
4990         (readFile): adjust
4991         (readFile): adjust, make it private. don't use setStream, make
4992         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4993         always contain the filename.
4994
4995         * BufferView.C (insertLyXFile): simplify and make it work for
4996         gzipped files.
4997
4998 2003-08-30  John Levon  <levon@movementarian.org>
4999
5000         * Makefile.am: fix dist (from Kayvan)
5001
5002 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * most files: change to use const Buffer refs
5005
5006 2003-08-27  André Pönitz  <poenitz@gmx.net>
5007
5008         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5009         on top of ownerPar().
5010
5011 2003-08-27  John Levon  <levon@movementarian.org>
5012
5013         * funcrequest.C: properly initialise POD members
5014
5015 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * lyxtext.h (top_y): move top_y from here
5018         * text.C:
5019         * text2.C:
5020         * text3.C:
5021         * BufferView.[Ch]:
5022         * BufferView_pimpl.[Ch]: to here
5023         * frontends/screen.C:
5024         * insets/insettabular.C:
5025         * insets/insettext.C: adjust
5026         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5027
5028 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * BufferView.[Ch]:
5031         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5032
5033 2003-08-26  André Pönitz  <poenitz@gmx.net>
5034
5035         * paragraph_func.[Ch] (outerPar): new function
5036
5037         * paragraph.C:
5038         * paragraph_funcs.C:
5039         * paragraph_funcs.h:
5040         * paragraph_pimpl.C:
5041         * text2.C: remove Inset::par_owner
5042
5043 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5044
5045         * lyxrow_funcs.C:
5046         * lyxtext.h:
5047         * text.C:
5048         * text2.C: eliminates the needFullRow/display() stuff
5049         altogether, putting the logic in metrics/draw in the insets.
5050
5051 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * text2.C (redoParagraphInternal, redoParagraphs):
5054         * text.C (redoParagraph): add a call to updateRowPositions at the
5055         end of each 'metrics-like' call. Remove all others.
5056         (getRow): remove the 'y-computing' version.
5057         (getRowNearY): do not compute nor return the real y. Solve the
5058         'y < 0' problem and simplify.
5059
5060 2003-08-22  Angus Leeming  <leeming@lyx.org>
5061
5062         * *.[Ch]: clean-up of licence and author blurbs.
5063         Also move config.h out of a few .h files and into a few .C files.
5064
5065 2003-08-22  André Pönitz  <poenitz@gmx.net>
5066
5067         * lyxrow.[Ch]: add x_ and *fill_ members
5068
5069         * lyxtext.h:
5070         * text.C:
5071         * rowpainter.C:
5072         * text2.C: adjust/remove prepareToPrint() calls
5073
5074 2003-08-22  André Pönitz  <poenitz@gmx.net>
5075
5076         * lyxrow.[Ch]: add  end_ member
5077
5078         * lyxrow_funcs.C: use LyXRow::end_
5079
5080         * lyxtext.h (singleWidth): add LyXFont parameter
5081
5082         * rowpainter.C:
5083         * text2.C: adjust LyXText::singleWidth() calls
5084
5085         * text.C (redoParagraph): simplify row breaking logic
5086
5087
5088 2003-08-19  André Pönitz  <poenitz@gmx.net>
5089
5090         * funcrequest.C: initialize button_ member
5091
5092         * text3.C:
5093         * rowpainter.[Ch]: interface consolidation
5094
5095 2003-08-18  André Pönitz  <poenitz@gmx.net>
5096
5097         * BufferView.C:
5098         * BufferView_pimpl.C:
5099         * lyxfind.C:
5100         * paragraph_funcs.C:
5101         * rowpainter.C:
5102         * text3.C: remove LyXScreen::draw() and fitCursor calls
5103
5104         * BranchList.h: remove spurious semicolons
5105
5106         * MenuBackend.C: fix branchlist related crash
5107
5108 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5109
5110         * BranchList.[Ch]:
5111         * InsetList.[Ch]:
5112         * LColor.[Ch]:
5113         * LyXAction.C:
5114         * Makefile.am:
5115         * MenuBackend.[Ch]:
5116         * bufferparams.[Ch]:
5117         * factory.C:
5118         * lfuns.h:
5119         * lyxfunc.C:
5120         * text3.C: implements the 'branch inset'
5121         idea. This allows the output of various versions of a document
5122         from a single source version, selectively outputing or suppressing
5123         output of parts of the text.
5124         This implementation contains a 'branch list editor' in a separate
5125         tab of the document settings dialog. Branches are user definable
5126         and have a "display colour" to distinguish them on-screen.
5127
5128         ColorHandler was somewhat cleaned up.
5129         (1) make possible a dynamically growing LColor list by allowing
5130         the graphic context cache to grow along (vector);
5131         (2) eliminate an IMHO unnecessary step in colour allocation.
5132
5133 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5134
5135         * BufferView_pimpl.C: compile fix
5136
5137 2003-08-15  André Pönitz  <poenitz@gmx.net>
5138
5139         * rowpainter.C: remove extra metrics calls
5140
5141         * lyxtext.h: merge the two constructors into a single one,
5142           pass reference to owner's par list
5143
5144         * BufferView_pimpl.C:
5145         * text.C:
5146         * text2.C: adjust
5147
5148 2003-08-15  André Pönitz  <poenitz@gmx.net>
5149
5150         * lyxrow_funcs.[Ch]:
5151         * lyxtext.h:
5152         * paragraph.h:
5153         * paragraph_funcs.C:
5154         * rowpainter.C:
5155         * text.C:
5156         * text2.C:
5157         * text3.C:
5158         * text_funcs.C: split LyXText::rowlist_ into individual
5159         Paragraph::rows_ chunks
5160
5161         * BufferView.[Ch]:
5162         * BufferView_pimpl.[Ch]:
5163         * lyxfind.C:
5164         * lyxtext.h:
5165         * text3.C: remove toggleSelection()
5166
5167 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5168
5169         * bufferlist.C: beautify two alerts (shorter text of buttons)
5170         * buffer.C: Remove redundant ' ' from message
5171         * tabular.h:
5172         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5173         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5174         rename VALIGN_CENTER to VALIGN_MIDDLE
5175
5176 2003-08-11  André Pönitz  <poenitz@gmx.net>
5177
5178         * lyxtext.h (getPar):
5179         * text.C: new function
5180
5181 2003-08-11  André Pönitz  <poenitz@gmx.net>
5182
5183         * Makefile.am:
5184         * tracer.[Ch]: remove unneeded files
5185
5186         * InsetList.[Ch]: remove resizeInsetsLyXText()
5187
5188         * lyxtext.h:
5189         * text.C:
5190         * text2.C:
5191         * text3.C: merge insertParagraphs() and appendParagraph()
5192         remove breakAgain(), update()
5193
5194         * BufferView_pimpl.[Ch]:
5195         * bufferview_funcs.[Ch]:
5196         * lyxfunc.C:
5197         * paragraph.[Ch]:
5198         * rowpainter.C:
5199         * tabular.C: adjust after text & InsetList changes.
5200
5201 2003-08-08  André Pönitz  <poenitz@gmx.net>
5202
5203         * text.C (insertChar, backspace): replace rowlist fiddling
5204         with rebreak of full par
5205
5206         * lyxtext.h:
5207         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5208         checkParagraph, updateInset): removed
5209
5210 2003-08-07  André Pönitz  <poenitz@gmx.net>
5211
5212         * paragraph.C:
5213         * text3.C: merge some LFUN handlers, remove dead code
5214
5215 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5216
5217         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5218
5219 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5220
5221         * text2.C (DEPM): fix part of bug 1255 and 1256
5222
5223 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5224
5225         * BufferView_pimpl.C (workAreaDispatch): change to use
5226         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5227         that are no mouse related.
5228
5229 2003-08-05  André Pönitz  <poenitz@gmx.net>
5230
5231         * BufferView.[Ch]:
5232         * BufferView_pimpl.[Ch]:
5233         * bufferview_funcs.C:
5234         * text2.C:
5235         * text3.C: rip out "deep update"
5236
5237         * textcursor.[Ch] (last_sel_cursor): remove unused member
5238
5239 2003-08-04  André Pönitz  <poenitz@gmx.net>
5240
5241         * BufferView.[Ch]:
5242         * BufferView_pimpl.[Ch]:
5243         * ParagraphParameters.C:
5244         * bufferview_funcs.C:
5245         * lyx_cb.C:
5246         * lyxfind.C:
5247         * lyxfunc.C:
5248         * text.C:
5249         * text2.C:
5250         * text3.C: replace "complicated" BufferView::update(...) calls with
5251         simpler ones.
5252
5253         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5254
5255 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5256
5257         * Makefile.am (lyx_SOURCES): add paper.h
5258
5259 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5260
5261         * Makefile.am: move things around so that both lyx-qt and
5262         lyx-xforms can be built (according to --with-frontend). Then lyx
5263         is a symbolic link to lyx-[firstfrontend]
5264
5265 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5266
5267         * Always use std::endl with lyxerr
5268
5269 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5270
5271         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5272
5273 2003-08-01  André Pönitz  <poenitz@gmx.net>
5274
5275         * BufferView.[Ch]:
5276         * BufferView_pimpl.[Ch]:
5277         * lyxfunc.C:
5278         * text3.C: merge BufferView::repaint() and BufferView::update()
5279
5280 2003-08-01  José Matos  <jamatos@lyx.org>
5281
5282         * buffer.[Ch]: file_format is no longer a buffer data element.
5283
5284 2003-08-01  André Pönitz  <poenitz@gmx.net>
5285
5286         * BufferView.C:
5287         * lyxtext.h:
5288         * text.C:
5289         * text2.C: make redoParagraph more independent of current cursor
5290
5291         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5292         * text.C:
5293         * text2.C: remove unneeded members
5294
5295 2003-07-30  André Pönitz  <poenitz@gmx.net>
5296
5297         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5298
5299         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5300           create a single function...
5301
5302         * paragraph_funcs.C (moveItem): ... here.
5303
5304         * text.C:
5305           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5306
5307 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5308
5309         * LColor.[Ch]: Add comment and greyedout logical colors.
5310
5311 2003-07-30  André Pönitz  <poenitz@gmx.net>
5312
5313         * tabular.C: don't use Assert too heavily. This crashes where it
5314           shouldn't
5315
5316 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5317
5318         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5319         is disabled (bug 1232)
5320
5321 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5322
5323         * factory.C: limited 'arg' scope
5324
5325 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5326
5327         * factory.C: fixed Note submenu issues
5328
5329 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5330
5331         * factory.C: submenu for Note/Comment/Greyedout
5332
5333 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5334
5335         * lyx_main.C (LyX):
5336         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5337
5338 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5339
5340         * LaTeXFeatures.C:
5341         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5342         greyedout. Patch provided by Jürgen Spitzmüller.
5343
5344 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5345
5346         * kbmap.C (read): fix error message when reading bind files
5347
5348 2003-07-29  Angus Leeming  <leeming@lyx.org>
5349
5350         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5351         certainly does not do what it purports to do. I am doing it, and
5352         us, a favour by killing it.
5353
5354 2003-07-28  José Matos  <jamatos@lyx.org>
5355
5356         * buffer.C (readBody, do_writeFile):
5357         * paragraph.C(readParagraph): \end_document replaces \the_end.
5358
5359 2003-07-29  André Pönitz  <poenitz@gmx.net>
5360
5361         * BufferView.[Ch]:
5362         * BufferView_pimpl.[Ch]:
5363         * lyxfunc.C:
5364         * text2.C:
5365         * text3.C:
5366         * textcursor.[Ch]: remove toggleToggle & Co
5367
5368 2003-07-28  José Matos  <jamatos@fep.up.pt>
5369
5370         * buffer.C (readParagraph):
5371         * params_func (readParToken, readParagraph):
5372         * paragraph.C (write): \layout -> \begin_layout.
5373
5374 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * lyxlex_pimpl.C (setFile): clean up slightly.
5377
5378         * bufferparams.h: add compressed var
5379
5380         * buffer_funcs.C (readFile): adjust for LyXLex change
5381         (newFile): ditto + simplify
5382
5383         * buffer.C (writeFile): handle writing of compressed files
5384
5385         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5386         Check if the file is compressed and set a bufferparm if so.
5387
5388         * Makefile.am (lyx_LDADD): remove explicit -lz
5389
5390 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5391
5392         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5393         makeDocBookFile): put the real LyX version in the first line of
5394         the file
5395
5396         * version.h:
5397         * version.C.in: remove lyx_docversion
5398
5399         * tabular.C (write_attribute): add a template-based version to
5400         write enums properly
5401
5402 2003-07-28  André Pönitz  <poenitz@gmx.net>
5403
5404         * lyxtext.h:
5405         * text.C:
5406         * text2.C:
5407         * text3.C: use doubles again for x-coordinates. They are needed.
5408
5409 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * messages.C (getLocaleDir): use lyx_localedir()
5412
5413         * lyxlex_pimpl.C (setFile): compress stuff
5414
5415         * buffer.C (writeFile): add some compression stuff
5416         (do_writeFile): new func, dont call expliti close... will this
5417         breake anything?
5418
5419         * Makefile.am (lyx_LDADD): add -lz
5420
5421 2003-07-28  José Matos  <jamatos@fep.up.pt>
5422
5423         * buffer.C: increment file format.
5424         * paragraph_funcs (readParagraph, readParToken):
5425         * paragraph.C (readParagraph): add \end_layout.
5426
5427 2003-07-27  Angus Leeming  <leeming@lyx.org>
5428
5429         * Makefile.am: remove special casing for configure-time setting of
5430         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5431
5432         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5433         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5434
5435 2003-07-26  André Pönitz  <poenitz@gmx.net>
5436
5437         * paragraph_func.[Ch]:
5438         * paragraph.C (realizeFont): inline it whereever it is used
5439
5440         * rowpainter.C:
5441         * text.C:
5442         * text2.C:
5443         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5444
5445
5446 2003-07-26  André Pönitz  <poenitz@gmx.net>
5447
5448         *       lyxtext.h:
5449         * text.C:
5450         * text2.C: get rid of LyXText::need_break_row
5451
5452 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * toc.[Ch]: put namespace toc inside namespace lyx
5455
5456         * MenuBackend.C (expandToc2): adjust for lyx::toc
5457         (expandToc): ditto
5458
5459         * lyxfunc.C (dispatch): adjust for lyx::find
5460
5461         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5462         lyx::find instead. Reorganize a bit.
5463         (LyXReplace): rename to replace
5464         (LyXFind): rename to find
5465
5466         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5467         (dispatch): ditto
5468
5469 2003-07-26  André Pönitz  <poenitz@gmx.net>
5470
5471         * text.C (setHeightOfRow): restrict scope of temporary variable
5472
5473         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5474           code (never has been used?)
5475
5476 2003-07-27  Asger Alstrup  <alstrup@local>
5477
5478         * text.C (fill): Optimise algorithm to exploit that we can reuse
5479         the LyXFont for many characters.
5480         (setHeightOfRow): Same thing.
5481         (rowBreakPoint): Same thing.
5482
5483 2003-07-26  Asger Alstrup  <alstrup@local>
5484
5485         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5486
5487         * text.C (singleWidth): Spurious font copying in hot-spot
5488         singleWidth avoided. Reorder tests for arabic for efficiency.
5489
5490         * text.C (fill): handle empty paragraphs better.
5491
5492 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5493
5494         * ispell.C:
5495         * encoding.h: add includes
5496
5497         * lyxrc.C: remove reading of bind files
5498
5499         * lyx_main.C (init): setup bindings and menus only if we have a
5500         gui.
5501
5502         * kbmap.C (read): new method. Do the actual reading of bind
5503         files.
5504
5505         * converter.C (dvipdfm_options):
5506         * bufferparams.C:
5507         * lyxrc.C (read):
5508         (output): adapt PAPER_* enums.
5509
5510         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5511
5512         * bufferparams.h: remove paper-related enums from there
5513
5514         * paper.h: New file. A trivial header file to hold paper-related
5515         enums. It should later expand to contain many paper-related
5516         horrors access.
5517
5518         * lyxrc.C: declare extern displayTranslator
5519
5520 2003-07-27  José Matos  <jamatos@fep.up.pt>
5521
5522         * tabular.[Ch] (linuxdoc): add support for tables and figures
5523         (linuxdoc).
5524
5525 2003-07-27  José Matos  <jamatos@fep.up.pt>
5526
5527         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5528         consistency in both functions.
5529         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5530
5531 2003-07-26  Asger Alstrup  <alstrup@local>
5532
5533         * rowpainter.C (paintRows): Change algorithm to work directly on
5534         the insets rather than asking every character in the document
5535         whether its an inset.
5536
5537 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5538
5539         * buffer.C (openFileWrite): factorize some code
5540
5541 2003-07-26  Angus Leeming  <leeming@lyx.org>
5542
5543         * lyx_cb.C:
5544         * lyx_main.[Ch]: replace occurances of system_tempdir with
5545         os::getTmpDir().
5546
5547 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5548
5549         * rename Inset to InsetOld
5550
5551 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5552
5553         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5554         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5555         which I think is a bit clearer. EDIT is gone, since it was
5556         premature optimisation, and broken for mathed anyway.
5557         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5558         with cursor positioning in insets as well (math insets still do not
5559         work, but that's a different story anyway.) It mysteriously
5560         crashes sometimes with undo in the first paragraph, but I'm fairly
5561         confident that this is a compiler bug.
5562
5563 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * paragraph.C (Paragraph): adjust for new clone return type
5566         (operator==): ditto
5567         (copyIntoMinibuffer): ditto
5568
5569 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5570
5571         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5572         by not having a special case, and always doing a full rebreak of
5573         the document after undo.
5574
5575 2003-07-23  Angus Leeming  <leeming@lyx.org>
5576
5577         * factory.C (createInset): InsetExternal::setParams now takes a
5578         Buffer const * arg.
5579
5580 2003-07-23  Angus Leeming  <leeming@lyx.org>
5581
5582         * factory.C (createInset): changed interface to the external and
5583         graphics mailers' string2params functions.
5584
5585 2003-07-23  Angus Leeming  <leeming@lyx.org>
5586
5587         * factory.C (createInset): pass a
5588         Buffer const * parameter to InsetExternalMailer's string2params.
5589
5590 2003-07-22  John Levon  <levon@movementarian.org>
5591
5592         * Thesaurus.h: include the right aiksaurus header
5593
5594 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5595
5596         * MenuBackend.C (expand): check menu shortcuts unconditionally
5597
5598 2003-07-21  Angus Leeming  <leeming@lyx.org>
5599
5600         * factory.C (createInset): pass a
5601         buffer_path parameter to InsetGraphicsMailer's string2params.
5602
5603 2003-07-21  Angus Leeming  <leeming@lyx.org>
5604
5605         * BufferView_pimpl.C (buffer):
5606         * buffer.C (d-tor):
5607         * lyx_main.C (LyX):
5608         * lyxfunc.C (dispatch):
5609         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5610         rather than the grfx shortcut.
5611
5612 2003-07-21  André Pönitz  <poenitz@gmx.net>
5613
5614         * rowpainter.C: remove unused variables
5615
5616         * tabular_funcs.C:
5617         * tabular_funcs.h: move to tabular.C
5618         * Makefile.am: adjust
5619
5620         * tabular.[Ch]: basic optical cleaning
5621
5622         * author.h: pass references, not values
5623
5624 2003-07-18  André Pönitz  <poenitz@gmx.net>
5625
5626         * lyxtext.h:
5627         * metricsinfo.C:
5628         * metricsinfo.h:
5629         * rowpainter.C:
5630         * text.C:
5631         * text2.C:
5632         * text3.C: two-phase drawing for InsetText and InsetTabular
5633         some float -> int changes.
5634
5635 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5636
5637         * lyx_main.C: fix the fix
5638
5639 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * lyx_main.C: fix a crash in batch mode if no files specified
5642         * converter.C: ws
5643
5644 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * format.[Ch] (papersize): moved to BufferParams
5647         * converter.[Ch] (dvips_options): moved to BufferParams
5648         (dvipdfm_options): moved to anon namespace
5649         * bufferparams.[Ch]: added above functions.
5650
5651 2003-07-17  André Pönitz  <poenitz@gmx.net>
5652
5653         * lyxtext.h:
5654         * rowpainter.C:
5655         * text2.C: don't call inset->update() anymore
5656
5657         * metricsinfo.[Ch]: add convenience constructor
5658
5659 2003-07-16  André Pönitz  <poenitz@gmx.net>
5660
5661         * lyxcursor.[Ch]:
5662         * lyxfunc.[Ch]:
5663         * text.C:
5664         * text2.C: replace the LyXCursor::irow_ member with
5665          on-demand computation of the value
5666
5667 2003-07-16  John Levon  <levon@movementarian.org>
5668
5669         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5670
5671 2003-07-15  André Pönitz  <poenitz@gmx.net>
5672
5673         * text.C:
5674         * text2.C: remove no more needed refresh_row
5675
5676 2003-07-15  André Pönitz  <poenitz@gmx.net>
5677
5678         * lyxtext.h:
5679         * rowpainter.C:
5680         * text2.C:
5681         * text3.C: refresh_status tristate -> need_update bool
5682
5683 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * lyxtext.h (init): remove reinit argument (act as if always true)
5686         * text2.C: adjust to that
5687
5688 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5689
5690         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5691         * text3.C: use it to delete selections in some cases
5692         (bugs 441, 673, 702, 954).
5693
5694 2003-07-14  André Pönitz  <poenitz@gmx.net>
5695
5696         * rowpainter.[Ch]: reduce interface
5697
5698 2003-07-14  André Pönitz  <poenitz@gmx.net>
5699
5700         * BufferView_pimpl.C:
5701         * text2.C: adjust after removing unused BufferView * argument
5702
5703 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5704
5705         * text2.C (init): fix a crash fired on resize
5706
5707 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5708
5709         * buffer.[Ch]: added new closing signal
5710         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5711         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5712         BufferView::Pimpl via the closing the signal
5713
5714 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5715
5716         * buffer.[Ch]: take out all bv-related from buffer
5717         * BufferView.C:
5718         * BufferView_pimpl.[Ch]: connect to new signals
5719         * CutAndPaste.C: removed useless asserts
5720         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5721         * lyxvc.[Ch]:
5722         * vc-backend.[Ch]:
5723         * lyxfunc.C: moved view-related funciontality from vc here
5724         * paragraph.C: removed outdated comments
5725         * text.C: ws
5726
5727 2003-07-10  André Pönitz  <poenitz@gmx.net>
5728
5729         * BufferView_pimpl.C:
5730         * tabular.h:
5731         * tabular_funcs.C:
5732         * text.C:
5733         * text2.C: remove InsetText::InnerCache, clean up consequences
5734
5735 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5736
5737         * ispell.C: fix two typos in error messages
5738
5739 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5740
5741         * Extend Note inset to other forms of annotation like Comment
5742         and Greyedout. Right button click gives dialog.
5743
5744         Files modified or added (+):
5745
5746         * insetnote.[Ch]
5747         * FormNote.[Ch]      +
5748         * ControlNote.[Ch]   +
5749         * form_note.fd       +
5750         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5751         frontends/controllers
5752         * xforms/Dialogs.C
5753         * factory.C
5754
5755 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5756
5757         * aspell.C: add missing namespace lyx::support
5758
5759 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5760
5761         * BufferView.[Ch] (newFile): Add
5762         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5763         * LaTeX.[Ch] (message): added this signal and use it
5764         * buffer.[Ch] (busy, message): added these signals and use them
5765         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5766         * converter.C:
5767         * exporter.C:
5768         * format.C:
5769         * importer.C: use buffer signals instead of direct bv calling
5770         * lyx_cb.[Ch] (ShowMessage): removed
5771         * lyx_main.C:
5772         * lyxfunc.C:
5773         * paragraph_funcs.C:
5774         * text2.C: use buffer signals
5775
5776 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * introduce namespace lyx::graphics
5779
5780 2003-07-02  André Pönitz  <poenitz@gmx.net>
5781
5782         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5783
5784 2003-07-01  André Pönitz  <poenitz@gmx.net>
5785
5786         * text.C:
5787         * text2.C:
5788         * text3.C:
5789         * text_funcs.[Ch]:
5790         * textcursor.h:
5791         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5792           text*.C to text_func.C
5793
5794 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * introduce namespace lyx::support
5797
5798 2003-06-30  André Pönitz  <poenitz@gmx.net>
5799
5800         * Chktex.C:
5801         * funcrequest.C:
5802         * lyxtext.h:
5803         * text.C: re-enable --with-included-string
5804
5805 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * textcursor.C: add <config.h>
5808
5809         * text.C (getWord): remove const from word_location arg
5810
5811         * lyxvc.C (getLogFile): fix const type order
5812
5813         * lyxtext.h: remove const from word_location arg, add arg name
5814
5815         * lyxlayout.h: currect type on labeltype.
5816
5817         * importer.C: correct \file
5818
5819         * converter.C (intToFormat): use std:: on ret val, ws changes
5820
5821         * bufferlist.h: correct \file
5822
5823         * buffer.C (makeLinuxDocFile): fix const type order
5824         (makeDocBookFile): ditto
5825         (fillWithBibKeys): use std:: on stdlib args.
5826
5827         * CutAndPaste.C: fix authors.
5828         (availableSelections): use std:: on return vector
5829
5830 2003-06-27  André Pönitz  <poenitz@gmx.net>
5831
5832         * BufferView_pimpl.C:
5833         * bufferview_funcs.C:
5834         * lyxcursor.C:
5835         * lyxcursor.h:
5836         * lyxfunc.C:
5837         * lyxtext.h:
5838         * rowpainter.C:
5839         * text.C:
5840         * text2.C:
5841         * text3.C: remove LyXCursor::row_ member
5842
5843         * lyxtext.h:
5844         * text.C: rename fullRebreak() to partialRebreak() and implement
5845           a fullRebreak() that really bereks fully
5846
5847         * textcursor.h: new struct for cursor-related data
5848
5849 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5850
5851         * lyx_main.C (LyX): get full path of document loaded on the
5852         command line
5853
5854 2003-06-26  André Pönitz  <poenitz@gmx.net>
5855
5856         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5857           remove unused/broken operator>,<,>=.
5858
5859         *       text.C: remove only use of broken operator<= in an Assert().
5860
5861 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5862
5863         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5864         moved errorlist_.clear to showErrorList
5865
5866 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5867
5868         * converter.C (scanLog, runLaTeX):
5869         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5870         move the bv->showErrorList call to the callers
5871         * lyxfunc.C: i.e. here...
5872         * text2.C: and here
5873         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5874         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5875         namespace, the second to...
5876         * buffer_funcs (BufferFormat, parseErrors): added
5877         * errorlist.C (ErrorList(TeXErrors const &)): removed
5878
5879 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5880
5881         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5882
5883 2003-06-24  "Garst R. Reese" <reese@isn.net>
5884
5885         * debug.C: fix typo
5886
5887 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5888
5889         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5890
5891         * version.C.in: change docversion to 1.4
5892
5893 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5894
5895         * buffer.C: fix a bug just introduced
5896
5897 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5898
5899         * buffer.[Ch]: added the parseError signal and use it, removed
5900         sgmlError
5901         * BufferView.[Ch] (addError): moved to ...
5902         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5903         to the Buffer::parseError signal to catch (guess what) parse errors
5904         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5905
5906 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5907
5908         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5909         ability to create a buffer and to return an existing one from
5910         the list. Moved these functions to...
5911         * buffer_funcs.[Ch]: added
5912         * BufferView.[Ch] (loadLyXFile): added
5913         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5914         job removed from bufferlist::loadLyXFile.
5915         * buffer.C (setReadOnly): make it work without view
5916         (i.e added an if (users))
5917
5918 2003-06-19  Angus Leeming  <leeming@lyx.org>
5919
5920         * lfuns.h:
5921         * LyXAction.C (init):
5922         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5923         with LFUN_DIALOG_SHOW <name> <data>.
5924
5925 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5926
5927         * CutAndPaste.C (availableSelections): small compilation fix for
5928         ancient (gcc 2.9x) compilers
5929
5930 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * text3.C (cursorNext): add tmp var
5933
5934         * text2.C (updateCounters): for function calling out of for clause
5935         (replaceSelectionWithString): ditto
5936         (insertStringAsParagraphs): ditto
5937         (getColumnNearX): add tmp var
5938         (setCursorFromCoordinates): add tmp var
5939         (cursorDownParagraph): add tmp var
5940         (deleteEmptyParagraphMechanism): add tmp var
5941
5942         * text.C (insertChar): add tmp var
5943
5944         * rowpainter.C (paintDepthBar): add tmp var
5945
5946         * CutAndPaste.C (availableSelections): potentially check all
5947         paragraphs in a cut to fill the shown strings.
5948
5949 2003-06-18  André Pönitz  <poenitz@gmx.net>
5950
5951         * kbmap.[Ch]: use vector<> instead of list<>
5952
5953 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5954
5955         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5956         pasteSelection with index
5957
5958         * text2.C (pasteSelection): modify, call pasteSelection with index
5959
5960         * paragraph.C (asString): reimplement version with no interval to
5961         call the one with interval.
5962
5963         * lyxtext.h: add index arg to pasteSelection
5964
5965         * MenuBackend.C (MenuItem): handle PasteRecent
5966         (Menu::read::Menutags): add md_pasterecent
5967         (read): handle it
5968         (expandPasteRecent): new function
5969         (expand): use it
5970
5971         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5972
5973         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5974         the limited stack
5975         (availableSelections): new function
5976
5977 2003-06-17  Angus Leeming  <leeming@lyx.org>
5978
5979         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5980
5981 2003-06-17  Angus Leeming  <leeming@lyx.org>
5982
5983         * lfuns.h:
5984         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5985
5986         * lyxfunc.C (dispatch): invoke it.
5987
5988 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5989
5990         * iterators.C (operator++, ParPosition): reintroduce some
5991         const_cast for the benefit of older compilers.
5992
5993 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5994
5995         * text3.C (dispatch): do not modify clipboard when doing
5996         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5997         LFUN_DELETE_SKIP on a selection selection
5998
5999 2003-06-16  André Pönitz  <poenitz@gmx.net>
6000
6001         * BufferView.C:
6002         * buffer.C:
6003         * buffer.h:
6004         * paragraph.C:
6005         * tabular.[Ch]: IU of clone() and getLabelList();
6006
6007 2003-06-13  André Pönitz  <poenitz@gmx.net>
6008
6009         * tabular.h: compactification
6010
6011 2003-06-12  André Pönitz  <poenitz@gmx.net>
6012
6013         * tabular.C:
6014         * tabular.h:
6015         * tabular_funcs.h: some renaming plus whitespace
6016
6017 2003-06-12  André Pönitz  <poenitz@gmx.net>
6018
6019         * BufferView.C:
6020         * BufferView_pimpl.C:
6021         * CutAndPaste.C:
6022         * buffer.C:
6023         * iterators.[Ch]:
6024         * lyxfunc.C:
6025         * text.C:
6026         * toc.C: Return a Paragraph & for ParIterator::operator*()
6027
6028 2003-06-11  John Levon  <levon@movementarian.org>
6029
6030         * lyx_main.C:
6031         * ToolbarBackend.h:
6032         * ToolbarBackend.C: add "Toolbars" section and
6033         put the flags there
6034
6035 2003-06-10  Angus Leeming  <leeming@lyx.org>
6036
6037         * lfuns.h:
6038         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6039
6040         * lyxfunc.C (dispatch): invoke it.
6041
6042 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * main.C: protect <ios> with HAVE_IOS
6045         (main): protect sync_with_stdio with HAVE_IOS
6046
6047 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6048
6049         * text2.C (cutSelection): adjust
6050         (pasteSelection): adjust
6051
6052         * messages.C: handle get of empty string
6053
6054         * main.C (main): use sync_with_stdio(false)
6055
6056         * lyxfunc.C (dispatch): adjust
6057
6058         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6059         (WriteAs): remove unneeded BufferView arg.
6060
6061         * bufferparams.h: use correct types on papersize, papersize2 and
6062         paperpackage.
6063
6064         * bufferparams.C (readToken): adjust for type
6065         (writeLaTeX): add missing cases to switch.
6066
6067         * bufferlist.C (quitWriteBuffer): adjust
6068         (close): adjust
6069
6070         * buffer.C (asciiParagraph): remove some commented code.
6071
6072         * CutAndPaste.C: remove current_view extern variable.
6073         (cutSelection): add BufferParams arg.
6074         (eraseSelection): add BufferParams arg.
6075         (pasteSelection): add Buffer const & arg
6076
6077 2003-06-07  John Levon  <levon@movementarian.org>
6078
6079         * buffer.C:
6080         * paragraph_funcs.C:
6081         * paragraph_pimpl.C:
6082         * text.C:
6083         * text2.C:
6084         * paragraph.h:
6085         * paragraph.C: allow InsetERT to freely space lines,
6086         and some consolidation of code
6087
6088 2003-06-06  José Matos  <jamatos@fep.up.pt>
6089
6090         * buffer.C (makeDocBookFile): fix bug #821
6091
6092 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6093
6094         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6095
6096 2003-06-04  Angus Leeming  <leeming@lyx.org>
6097
6098         * buffer.C: bump format to 224.
6099
6100 2003-06-05  André Pönitz  <poenitz@gmx.net>
6101
6102         * text2.C (redoParagraphs): remove two const_cast<>
6103
6104 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6105
6106         * ParagraphList.h: remove last remnants of NO_STD_LIST
6107
6108 2003-06-03  Angus Leeming  <leeming@lyx.org>
6109
6110         * factory.C (createInset): small change to the way InsetExternal's params
6111         are set.
6112
6113 2003-06-04  André Pönitz  <poenitz@gmx.net>
6114
6115         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6116
6117         * paragraph_pimpl.h:
6118         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6119
6120         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6121
6122         * undo_funcs.C: make some simple cases of undo work again
6123
6124 2003-06-03  John Levon  <levon@movementarian.org>
6125
6126         * ispell.C: HPUX doesn't have sys/select.h
6127         (from Albert Chin)
6128
6129 2003-06-03  John Levon  <levon@movementarian.org>
6130
6131         * CutAndPaste.C: update tabular and include inset
6132         buffer references
6133
6134         * buffer.h:
6135         * paragraph.h:
6136         * paragraph.C: remove owningBuffer(), don't pass Buffer
6137         to clone()
6138
6139         * factory.C: insetGraphicsParams changed
6140
6141 2003-06-02  John Levon  <levon@movementarian.org>
6142
6143         * LyXAction.C:
6144         * factory.C:
6145         * lfuns.h:
6146         * lyxfunc.C:
6147         * text3.C: remove insetparent
6148
6149 2003-06-02  John Levon  <levon@movementarian.org>
6150
6151         * buffer.h:
6152         * buffer.C: fix inset_iterator.end(), move out of line
6153         (bug 1149)
6154
6155 2003-06-01  John Levon  <levon@movementarian.org>
6156
6157         * text3.C: use a proper cut/paste when doing inset
6158         insert (from Jürgen Spitzmüller)
6159
6160 2003-06-01  John Levon  <levon@movementarian.org>
6161
6162         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6163
6164 2003-05-30  André Pönitz  <poenitz@gmx.net>
6165
6166         * rowpainter.C: unify second drawing phase
6167
6168 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * trans_mgr.C: remove one case of current_view
6171
6172         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6173
6174         * paragraph_funcs.h: remove paragraph.h include
6175
6176         * paragraph.h: delete NO_STD_LIST stuff
6177
6178         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6179
6180         * buffer.h: remove paragraph.h include
6181
6182         * ParagraphList.C: delete file
6183
6184         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6185
6186         * toc.C (getTocList): adjust
6187
6188         * paragraph_pimpl.C (validate): adjust
6189
6190         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6191
6192         * paragraph.C (Paragraph): adjust
6193         (getPositionOfInset): use const_iterator, adjust
6194         (bibitem): use const_iterator, adjust
6195         (setInsetOwner): adjust
6196
6197         * iterators.C (operator++): adjust
6198
6199         * InsetList.[Ch]: Replace selfmade iterator with standard
6200         vector::iterator also introduce const_iterator. Remove getPos,
6201         getInset and setInset from InsetTable. Adjust accordingly.
6202
6203         * BufferView.C (lockInset): adjust
6204         (ChangeInsets): adjust
6205
6206         * tabular.[Ch]: delete commented same_id functions
6207
6208 2003-05-28  John Levon  <levon@movementarian.org>
6209
6210         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6211
6212 2003-05-28  André Pönitz  <poenitz@gmx.net>
6213
6214         * metricsinfo.[Ch]: remove 'fullredraw' member
6215
6216 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6217
6218         * lyxtextclass.C (operator): remove caching.
6219
6220 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * text3.C: adjust
6223
6224         * text2.C (cursorBottom): adjust
6225         (setCounter): use ParagraphList::find, adjust
6226
6227         * text.C (workWidth): use ParagraphList::find, adjust
6228
6229         * lyxcursor.C (LyXCursor): adjust
6230
6231         * buffer.C (inset_iterator): adjust
6232
6233         * ParagraphList.h: make iterator(value_type) private, make
6234         ParagraphList a friend of iterator.
6235
6236         * ParagraphList.C (find): new function
6237
6238         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6239
6240 2003-05-27  André Pönitz  <poenitz@gmx.net>
6241
6242         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6243
6244 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6245
6246         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6247
6248 2003-05-26  John Levon  <levon@movementarian.org>
6249
6250         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6251
6252 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * remove same_id from function signatures, adjust.
6255
6256 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6259
6260         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6261
6262         * paragraph.C (Paragraph): get rid of same_ids parameter
6263
6264         * ParagraphList.C (insert): adjust
6265         (push_back): adjust
6266
6267 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * paragraph_funcs.C (breakParagraph): adjust
6270         (breakParagraphConservative): adjust
6271
6272         * buffer.C (readParagraph): adjust
6273
6274         * ParagraphList.C (insert): take a reference instead of a pointer
6275         (insert): adjust
6276
6277         * paragraph.[Ch] (id): new function
6278
6279         * bufferlist.C (newFile): adjust
6280
6281         * ParagraphList.C (ParagraphList): adjust
6282         (assign): adjust
6283         (push_back): take a reference instead of a pointer.
6284
6285         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6286
6287         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6288         instead.
6289
6290         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6291         set else use old code.
6292
6293         * ParagraphList.C: remove all NO_NEXT code and only compile this
6294         code of NO_STD_LIST is set.
6295
6296 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6297
6298         * BufferView_pimpl.C:
6299         * TextCache.C:
6300         * TextCache.h:
6301         * bufferlist.C:
6302         * errorlist.h:
6303         * format.C:
6304         * format.h:
6305         * graph.C:
6306         * lyxfunc.C:
6307         * lyxrc.C:
6308         * graphics/GraphicsConverter.C:
6309         * graphics/PreviewLoader.C: header adjustment
6310
6311 2003-05-23  Angus Leeming  <leeming@lyx.org>
6312
6313         * LaTeXFeatures.[Ch] (useBabel): new method.
6314         * bufferparams.C (writeLaTeX): use it.
6315
6316 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * ParagraphList.h (set): remove unused function.
6319
6320 2003-05-23  André Pönitz  <poenitz@gmx.net>
6321
6322         * BufferView.C:
6323         * BufferView_pimpl.C:
6324         * buffer.C:
6325         * buffer.h:
6326         * lyxfunc.C:
6327         * undo_funcs.C: setUndo reworked
6328
6329         * iterators.[Ch]: add access to topmost ParagraphList
6330
6331         * lyxtext.[Ch] (workWidth): add a const
6332
6333 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6334
6335         * texrow.[Ch] (increasePos): remove function
6336         * exporter.C (export): removed unused var and outdated comment
6337
6338 2003-05-23  Angus Leeming  <leeming@lyx.org>
6339
6340         * latexrunparams.h: rename fragile as moving_arg.
6341         * paragraph.C (simpleTeXOnePar): ditto.
6342         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6343
6344 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6345
6346         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6347         (createUndo): ditto
6348         (textUndoOrRedo): comment out a currently unused var.
6349
6350         * paragraph.h (NO_NEXT): enable NO_NEXT
6351
6352         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6353
6354         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6355
6356         * exporter.C (Export): adjust for removeAutoInsets removal.
6357
6358         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6359
6360         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6361
6362         * BufferView.[Ch] (removeAutoInsets): delete function
6363
6364 2003-05-22  Angus Leeming  <leeming@lyx.org>
6365
6366         * latexrunparams.h: add a free_spacing variable.
6367
6368         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6369         to pass moving_arg, as the data is stored in runparams.fragile.
6370
6371         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6372         to Inset::latexOptional or to simpleTeXOnePar.
6373
6374         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6375         free_spacing arg to Inset::latexOptional.
6376
6377         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6378         free_spacing arg.
6379
6380 2003-05-22  Angus Leeming  <leeming@lyx.org>
6381
6382         * latexrunparams.h: add fragile and use_babel variables.
6383
6384         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6385         * buffer.C (makeLaTeXFile): store this returned value in
6386         runparams.use_babel, thus passing it to the inset::latex methods.
6387
6388         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6389         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6390
6391         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6392         longer has a fragile arg, as it is stored in runparams.fragile.
6393
6394         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6395         moving_arg parameter as the data is stored in runparams.fragile.
6396
6397         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6398         a fragile parameter as the data is stored in runparams.fragile.
6399
6400 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6403
6404 2003-05-22  Angus Leeming  <leeming@lyx.org>
6405
6406         * latexrunparams.h: add a 'bool nice' which defaults to false.
6407
6408         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6409         now encapsulated within runparams.
6410
6411         * bufferlist.C (updateIncludedTeXfiles):
6412         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6413
6414 2003-05-22  Angus Leeming  <leeming@lyx.org>
6415
6416         * latexrunparams.h: new file containing struct LatexRunParams.
6417         * Makefile.am: add new file.
6418
6419         * LaTeX.[Ch] (c-tor, run):
6420         * buffer.[Ch] (makeLaTeXFile):
6421         * bufferlist.[Ch] (updateIncludedTeXfiles):
6422         * converter.C (convert, scanLog):
6423         * converter.[Ch] (runLaTeX):
6424         * exporter.C (Export):
6425         * paragraph.[Ch] (simpleTeXOnePar):
6426         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6427         * paragraph_funcs.[Ch] (latexParagraphs):
6428         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6429         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6430         pass around a LatexRunParams parameter.
6431
6432 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * paragraph.[Ch]: remove unused constructor
6435
6436         * ParagraphList.C (erase): new function, taking two iterators
6437
6438 2003-05-22  André Pönitz  <poenitz@gmx.net>
6439
6440         * undo_funcs.C: remove duplicated code
6441
6442         * iterator.[Ch]: operator=
6443
6444 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6445
6446         * tabular.C (SetMultiColumn): ws changes
6447
6448         * rowpainter.C (paintFirst): get rid of a ->previous
6449
6450         * lyx_cb.C (getPossibleLabel): parlist simplification
6451
6452         * BufferView.C (ChangeInsets): simplify slightly.
6453
6454 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6455
6456         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6457         * lfuns.h: new LFUN_SPACE
6458         * lyxfunc.C: protected space has a new lfun
6459         * paragraph_funcs.C: read new space insets
6460         * text3.C:
6461         * factory.C: handle new space insets
6462
6463 2003-05-22  André Pönitz  <poenitz@gmx.net>
6464
6465         * BufferView.C:
6466         * BufferView_pimpl.C:
6467         * buffer.[Ch]:
6468         * lyxfunc.C:
6469         * undo_funcs.C: return a ParIterator from getParFromID.
6470
6471         * iterators.[Ch]: add two const's
6472
6473 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * toc.C (getTocList): adjust
6476
6477         * iterators.[Ch]: rework for parlist
6478
6479         * buffer.C (par_iterator_begin): adjust
6480         (par_iterator_end): adjust
6481
6482         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6483
6484         * BufferView.C (removeAutoInsets): adjust
6485         (ChangeInsets): adjust
6486
6487 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6488
6489         * text.C (top_y): fix bug 1110
6490
6491 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6492
6493         * errorlist.[Ch]: added
6494         * buffer.C:
6495         * BufferView.[Ch]:
6496         * BufferView_pimpl.C:
6497         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6498         instead
6499
6500 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6501
6502         * Makefile.am: ensure that lyx is relinked upon changes to the
6503         various "convenience" libs.
6504
6505 2003-05-20  Angus Leeming  <leeming@lyx.org>
6506
6507         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6508         files are compiled in alphabetical order again.
6509
6510         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6511
6512 2003-05-19  Angus Leeming  <leeming@lyx.org>
6513
6514         * gettext.[Ch]: remove "char const * _(char const *)".
6515
6516 2003-05-19  André Pönitz  <poenitz@gmx.net>
6517
6518         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6519
6520         * Makefile.am:
6521         * BufferView.C:
6522         * DepTable.h:
6523         * LaTeXFeatures.C:
6524         * buffer.C:
6525         * lyxfont.C:
6526         * lyxlex.h:
6527         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6528
6529 2003-05-19  André Pönitz  <poenitz@gmx.net>
6530
6531         * buffer.C:
6532         * lyxlayout.[Ch]:
6533         * lyxtextclass.[Ch]:
6534         * paragraph.C:
6535         * paragraph_funcs.[Ch]:
6536         * text2.C:
6537         * text3.C: more insetenv work
6538
6539 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6540
6541         * ParagraphParameters.C (params2string): small bug fixed
6542
6543 2003-05-16  André Pönitz  <poenitz@gmx.net>
6544
6545         * debug.C:
6546         * bufferview_funcs.C: patch from Kornel Benko to prevent
6547           crash when _(...) is called twice in a statement
6548
6549 2003-05-16  André Pönitz  <poenitz@gmx.net>
6550
6551         * BufferView.C:
6552         * lyxfunc.C:
6553         * text.C:
6554         * text2.C:
6555         * text3.C:
6556         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6557
6558 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6559
6560         * lyx_main.C (init): remove spurious static_cast
6561
6562 2003-05-14  André Pönitz  <poenitz@gmx.net>
6563
6564         * BufferView.C: fix format string
6565
6566 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6567
6568         * BufferView.[Ch] (insertErrors): removed
6569         * BufferView.[Ch] (showErrorList): added
6570         * buffer.C (runChkTeX):
6571         * converter.C (scanLog): call showErrorList instead of inserterrors
6572
6573 2003-05-13  André Pönitz  <poenitz@gmx.net>
6574
6575         * BufferView_pimpl.C:
6576         * buffer.C:
6577         * bufferview_func.C:
6578         * MenuBackend.C:
6579         * lyxfunc.C:
6580         * lyxrc.C:
6581         * tex-accent.C:
6582         * text3.C:
6583         * toc.C:
6584         * tabular_funcs.h: tostr() from its own header
6585
6586         * ParagraphParameters.C:
6587         * ToolbarBackend.C:
6588         * bufferparams.C:
6589         * format.C:
6590         * lyxlex_pimpl.C:
6591         * text3.C: STRCONV()
6592
6593 2003-05-12  André Pönitz  <poenitz@gmx.net>
6594
6595         * BufferView.C:
6596         * BufferView_pimpl.C:
6597         * CutAndPaste.C:
6598         * LaTeX.C:
6599         * LaTeXFeatures.C:
6600         * ParagraphParameters.C:
6601         * buffer.C:
6602         * bufferlist.C:
6603         * bufferparams.C:
6604         * bufferview_funcs.C:
6605         * converter.C:
6606         * counters.C:
6607         * debug.C:
6608         * exporter.C:
6609         * format.C:
6610         * importer.C:
6611         * lyx_cb.C:
6612         * lyx_main.C:
6613         * lyxfont.C:
6614         * lyxfunc.C:
6615         * lyxvc.C:
6616         * paragraph.C:
6617         * paragraph_funcs.C:
6618         * tabular.C:
6619         * tabular_funcs.C:
6620         * text2.C:
6621         * text3.C:  boost::format -> bformat  all over the place
6622
6623
6624 2003-05-09  André Pönitz  <poenitz@gmx.net>
6625
6626         * LColor.[Ch]: Pimpl the #include <map> away
6627
6628 2003-05-09  John Levon  <levon@movementarian.org>
6629
6630         * bufferlist.C: never remove emergency saves
6631
6632 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * Makefile.am: better lib building
6635
6636 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6639         instead.
6640         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6641         (simpleTeXSpecialChars): adjust
6642         (simpleTeXSpecialChars): adjust
6643         * paragraph.C (simpleTeXOnePar): adjust
6644         * buffer.C (makeLaTeXFile): adjust
6645
6646         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6647
6648         * text2.C (changeDepth): parlist cleanup
6649         (getColumnNearX): ditto
6650
6651         * rowpainter.C (getLabelFont): parlist cleanup
6652
6653         * bufferlist.C (newFile): parlist cleanup
6654
6655         * CutAndPaste.C (eraseSelection): parlist cleanup
6656
6657         * BufferView_pimpl.C (trackChanges): parlist cleanup
6658         (dispatch): ditto
6659
6660         * BufferView.C (lockInset): parlist cleanup.
6661         (ChangeInsets): ditto
6662
6663 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * CutAndPaste.h: Update file header.
6666
6667         * CutAndPaste.C: Update file header.
6668         Store the parts cut out of the Document in a limited_stack.
6669         (copySelection): adjust
6670         (pasteSelection): new function, takes the index in the limited stack.
6671         (nrOfParagraphs): adjust
6672         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6673         simplify error inset insertion.
6674         (checkPastePossible): adjust
6675
6676 2003-05-06  John Levon  <levon@movementarian.org>
6677
6678         * text2.C: don't cast wrap inset to float
6679
6680 2003-05-05  André Pönitz  <poenitz@gmx.net>
6681
6682         * iterator.C:
6683         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6684
6685         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6686           few naked Paragraph *.
6687
6688 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6689
6690         * bufferparams.C: Output warning if a document with missing
6691         TeX document class is loaded
6692         * exporter.C: Disable TeX exports if the document class is missing
6693         * lyxtextclass.C:
6694         * lyxtextclass.h:
6695         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6696         isTeXClassAvailable()
6697
6698 2003-05-03  John Levon  <levon@movementarian.org>
6699
6700         * BufferView.h:
6701         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6702         explicit cursor show/hide
6703
6704         * BufferView_pimpl.h:
6705         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6706         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6707
6708         * lyxfunc.C: hide cursor before dispatching.
6709
6710         * lyx_cb.C:
6711         * lyxfind.C:
6712         * text.C:
6713         * text3.C: remove explicit cursor hides
6714
6715 2003-05-02  André Pönitz  <poenitz@gmx.net>
6716
6717         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6718
6719         * undo_funcs.C:
6720         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6721           linked lists
6722
6723         * text2.C: tiny whitespace
6724
6725 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * undo_funcs.C: almost only ws changes.
6728
6729         * ParagraphList.C (splice): just return if pl is empty.
6730
6731 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * ParagraphList.C (splice): new function.
6734
6735         * CutAndPaste.C (pasteSelection): use it
6736
6737 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * CutAndPaste.C (pasteSelection): remove the last next and
6740         previous from this file.
6741
6742 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * CutAndPaste.C (pasteSelection): more clean up, user proper
6745         ParagraphList functions for pasteing.
6746
6747         * ParagraphList.C (insert): new function, three arg insert
6748
6749 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * ParagraphList.C (insert): new function, three arg insert
6752
6753         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6754         not on paragraphs.
6755
6756 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6759
6760 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6761
6762         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6763
6764 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6767         (copySelection): clean up a bit.
6768         (pasteSelection): use make_pair
6769
6770         * ParagraphList.C (ParagraphList): implement copy constructor
6771         (operator=): implement, base on copy constructor.
6772         (assign): new func
6773
6774         * paragraph.C (erase): return a bool
6775
6776         * paragraph_pimpl.C (erasePos): remove function, move contents...
6777         (erase): ... here. Return a bool.
6778         (erase): call erase instead of erasePos.
6779
6780 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6781
6782         * ParagraphList.h: define PitPosPair
6783         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6784         ParagraphList, fix a bug on pasting multiple pars
6785         * text2.C: change interface to C&P
6786
6787 2003-04-30  André Pönitz  <poenitz@gmx.net>
6788
6789         * undo_func.C: revert part of yesterday's patch 2
6790
6791 2003-04-30  John Levon  <levon@movementarian.org>
6792
6793         * LColor.C: s/tabular/table/
6794
6795 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * text3.C (dispatch): do not convert iterator -> pointer
6798         * undo_funcs.C (setCursorParUndo): ditto
6799         * text_funcs.C (transposeChars): ditto
6800
6801         * text2.C (setLayout): ws changes only
6802
6803         * text.C (breakParagraph): do not convert iterator -> pointer
6804         (insertChar): ditto
6805         (acceptChange): ditto
6806         (rejectChange): ditto
6807         (changeCase): ditto
6808         (Delete): ditto
6809         (backspace): ditto
6810
6811         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6812         pointer
6813
6814 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6815
6816         * text3.C (gotoInset): YABG (yet another bad getChar)
6817
6818 2003-04-29  André Pönitz  <poenitz@gmx.net>
6819
6820         * paragraph.h: make operator= private unimplemented as long as
6821           it is unusable
6822
6823         * ParagraphList.C: whitespace
6824
6825         * paragraph.[Ch]:
6826         * paragraph_pimpl.[Ch]:
6827         * paragraph_funcs.C:
6828         * CutAndPaste.C:
6829         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6830
6831         * text2.C:
6832           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6833
6834 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6835
6836         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6837         * paragraph.[Ch] (erase):
6838         * paragraph_pimpl.[Ch] (erase): change return type and value
6839         * text2.C (cutSelection): some rework
6840
6841 2003-04-28  John Levon  <levon@movementarian.org>
6842
6843         * bufferlist.C: changes for unsaved changes dialog
6844
6845 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * bufferlist.C (newFile): set language (messages_) for new
6848         documents also.
6849
6850         * buffer.C (readFile): ws changes only.
6851
6852 2003-04-28  André Pönitz  <poenitz@gmx.net>
6853
6854         * undo_funcs.C:
6855         * lyxfunc.C:
6856         * buffer.[Ch]:
6857         * BufferView_pimpl.C:
6858         * BufferView.C: getParFromID related ParagraphList::iterator changes
6859
6860 2003-04-28  André Pönitz  <poenitz@gmx.net>
6861
6862         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6863           Changes
6864
6865 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * messages.C: remove one more localedir class variable.
6868
6869 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6870
6871         * messages.C (getLocaleDir): singleton generation function
6872         (Pimpl): use it.
6873         (Messages): add a default constructor.
6874
6875         * main.C (main): do not setup localedir here, do not call
6876         gettext_init.
6877
6878         * gettext.C (_): use it.
6879         (gettext_init): delete funciton
6880
6881 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6882
6883         * gettext.C (getLyXMessages): new singleton generating function.
6884
6885         * buffer.C (updateDocLang): adjust
6886
6887         * Makefile.am (messages.o): add target
6888         (main.o): remove target
6889
6890 2003-04-27  John Levon  <levon@movementarian.org>
6891
6892         * bufferlist.C:
6893         * lyx_cb.C:
6894         * lyxfunc.C:
6895         * lyxvc.C: specify cancel button in Alert::prompt
6896
6897 2003-04-26  John Levon  <levon@movementarian.org>
6898
6899         * text3.C:
6900         * lyxfunc.C:
6901         * lfuns.h:
6902         * LyXAction.C: add LFUN_INSET_SETTINGS
6903
6904         * lyxfunc.C: don't enable tabular-feature when there's
6905         just any locking inset
6906
6907 2003-04-26  John Levon  <levon@movementarian.org>
6908
6909         * bufferlist.C: re-add Cancel to buffer close question
6910
6911         * lyxfunc.C: fix import UI a bit
6912
6913 2003-04-25  John Levon  <levon@movementarian.org>
6914
6915         * gettext.C: remove the broken asserts for now
6916
6917 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6918
6919         * messages.C: make case where setlocale cannot comply work better.
6920
6921         * buffer.C (updateDocLang): new function
6922         (changeLanguage): use it
6923         (readFile): use it
6924
6925         * text2.C (setCounter): use B_ a bit.
6926
6927         * lyxlayout.C (Read): be sure to trim the label strings.
6928
6929         * messages.C (Messages): fix typo in comment
6930
6931         * buffer.C (readFile): set message_ after file is loaded.
6932         (makeDocBookFile): remove double return
6933         (changeLanguage): reset message_ upon language change.
6934         (B_): new func, use this to get translated buffer strings.
6935
6936         * main.C: add myself and Jean Marc as authors.
6937
6938 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * messages.[hC]: pimplify Messages, and three different pimpls to be
6941         used in different circumstances.
6942
6943         * gettext.[Ch]: change for use with new message code.
6944
6945 2003-04-24 André Pönitz <poenitz@gmx.net>
6946
6947         * factory.C: support for eqref
6948
6949 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * messages.[Ch]: add missing char
6952
6953         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6954
6955         * messages.[Ch]: New files
6956
6957 2003-04-18  John Levon  <levon@movementarian.org>
6958
6959         * BufferView.h:
6960         * BufferView.C:
6961         * BufferView_pimpl.C:
6962         * lfuns.h:
6963         * LyXAction.C:
6964         * lyxtext.h:
6965         * text2.C: remove layout-copy/paste (bug 778)
6966
6967 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6968
6969         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6970
6971 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6972
6973         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6974         if they succeed. Act accordingly.
6975
6976 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6977
6978         * text2.C (setCharFont): adjust
6979         (setCounter): adjust
6980         (insertStringAsLines): adjust
6981
6982         * text.C (leftMargin): adjust
6983         (setHeightOfRow): adjust
6984
6985         * rowpainter.C (paintFirst): adjust
6986         (paintLast): adjust
6987
6988         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6989         (outerHook): ditto
6990         (isFirstInSequence): ditto
6991         (getEndLabel): ditto
6992         (outerFont): adjust
6993
6994         * paragraph.C (getParLanguage): comment out some hard stuff.
6995
6996         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6997         (sgmlError): ditto
6998         (simpleDocBookOnePar): ditto
6999         (makeDocBookFile): use ParagraphList::iterator
7000
7001         * CutAndPaste.C (pasteSelection): adjust
7002
7003 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7004
7005         * text2.C (getFont): adjust
7006         (getLayoutFont): adjust
7007         (getLabelFont): adjust
7008
7009         * paragraph_funcs.C (TeXOnePar): adjust
7010
7011         * buffer.C (simpleLinuxDocOnePar): adjust
7012         (simpleDocBookOnePar): adjust
7013
7014         * CutAndPaste.C (pasteSelection): adjust
7015
7016         * BufferView.C (getEncoding): adjust
7017
7018         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7019
7020 2003-04-16  John Levon  <levon@movementarian.org>
7021
7022         * lyxfind.C: use parlist stuff for search/changes
7023
7024 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7027
7028         * text2.C (deleteEmptyParagraphMechanism): adjust
7029
7030         * text2.[Ch] (ownerParagraph): delete func (both of them
7031
7032 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7035
7036 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * ParagraphList.C: prepare for NO_NEXT
7039
7040 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7041
7042         * text2.C (getFont): adjust
7043         (getLayoutFont): adjust
7044         (getLabelFont): adjust
7045
7046         * paragraph.C (getFont): adjust
7047         (getLabelFont): adjust
7048         (getLayoutFont): adjust
7049
7050         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7051
7052 2003-04-15  John Levon  <levon@movementarian.org>
7053
7054         From Angus Leeming
7055
7056         * lyx_main.C: handle Include in .ui files
7057
7058 2003-04-15  John Levon  <levon@movementarian.org>
7059
7060         * MenuBackend.C: make the doc files length shorter
7061
7062         * ToolbarBackend.h:
7063         * ToolbarBackend.C: handle toolbar placement flags,
7064         Minibuffer
7065
7066 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7069         adjust
7070
7071         * paragraph_funcs.C (TeXOnePar): adjust
7072
7073         * paragraph.C (getLabelFont): add outerfont arg, adjust
7074         (getLayoutFont): ditto
7075         (simpleTeXOnePar): adjust
7076
7077         * paragraph_pimpl.C (realizeFont): delete func
7078
7079 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7082         row argument, constify cur argument.
7083
7084 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * text2.C (getFont): adjust
7087         (getLayoutFont): adjust
7088         (getLabelFont): adjust
7089
7090         * paragraph_funcs.C (TeXOnePar): adjust
7091         (outerFont): new func...
7092         (realizeFont): ...moved out from here, changed this to facilitate
7093         transition
7094
7095         * paragraph.C (getFont): take outerfont as arg, adjust
7096         (simpleTeXOnePar): add outerfont arg, adjust
7097
7098         * buffer.C (simpleLinuxDocOnePar): adjust
7099         (simpleDocBookOnePar): adjust
7100
7101         * CutAndPaste.C (pasteSelection): adjust
7102
7103         * BufferView.C (getEncoding): adjust
7104
7105 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * text2.C (setCharFont): adjust
7108         (setCounter): adjust
7109
7110         * text.C (leftMargin): adjust
7111         (setHeightOfRow): adjust
7112
7113         * rowpainter.C (paintFirst): adjust
7114         (paintLast): adjust
7115
7116         * paragraph_pimpl.C (realizeFont): adjust
7117
7118         * paragraph.C (isFirstInSequence): move from here...
7119         * paragraph_funcs.C (isFirstInSequence): ...to here
7120
7121         * paragraph.C (outerHook): move from here...
7122         * paragraph_funcs.C (outerHook): ...to here
7123
7124         * paragraph.C (depthHook): move from here...
7125         * paragraph_funcs.C (depthHook): ...to here
7126
7127         * paragraph.C (getEndLabel): move from here...
7128         * paragraph_funcs.C (getEndLabel): ...to here
7129
7130         * text2.C (realizeFont): move from here...
7131         * paragraph_funcs.C (realizeFont): ...to here
7132
7133 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7134
7135         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7136
7137 2003-04-14  Angus Leeming  <leeming@lyx.org>
7138
7139         * LColor.[Ch]: scrap LColor mathcursor.
7140
7141 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * lyxlex.[Ch] (text): delete function
7144         * trans.C (Load): adjust
7145         * paragraph_funcs.C (readParToken): adjust
7146
7147 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7150         vector<char> instead of a char[].
7151
7152         * lyxlex_pimpl.C (getString): adjust
7153         (next): adjust
7154         (lex): use getString
7155         (eatLine): adjust
7156         (nextToken): adjust
7157
7158         * lyxlex.C (text): use pimpl_->getString()
7159         (getBool): ditto
7160         (findToken): ditto
7161
7162 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7163
7164         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7165         (makeFontEntriesLayoutSpecific): temp var for par.size()
7166         (setLayout): temp var for ownerParagraphs().end()
7167         (fullRebreak): temp var for rows().end()
7168         (selectionAsString): temp var for boost::next(startpit), realize
7169         that the while really is a regular for loop.
7170         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7171         setCursor in one place.
7172         (setParagraph): temp vr for ownerParagraphs().end()
7173         (updateCounters): make the while loop a for loop
7174         (cutSelection): temp var for ownerParagraphs().end()
7175         (updateInset): make the do {} while() a regular for loop
7176         (getCursorX): use temp vars
7177         (setCurrentFont): use temp vars
7178         (getColumnNearX): use temp vars
7179
7180 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * text.C (transformChar): use temp var for getChar
7183         (computeBidiTables): use temp var for row->par()
7184         (fill): move temp vars for row->par() and pit->layout() earlier in
7185         the function.
7186         (labelFill): use temp var for row->par()
7187         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7188         asc and desc, realize that pit never changes and that firstpit is
7189         just a duplicate and not needed. Exchange rit->par() with pit in a
7190         lot of places.
7191         (breakAgain): use a temp var for boost::next(rit)
7192         (breakAgainOneRow): ditto
7193         (breakParagraph): use a temp var for rows().begin()
7194         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7195         (cursorRightOneWord): use temp var for cursor.par() and
7196         cursor.pos(), remove usage of tmpcursor.
7197         (cursorLeftOneWord): use temp var for cursor.par() and
7198         cursor.pos() only set cur at end of function.
7199
7200 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7201
7202         * text.C, text2.C: exchange all usage of Paragraph::next with
7203         boost::next(ParagraphList::iterator)
7204
7205         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7206
7207         * text2.C (cursorTop): simplify implementation
7208         (cursorBottom): ditto
7209         (setParagraph): use ParagraphList::iterator
7210         (setCurrentFont): adjust
7211         (getColumnNearX): adjust
7212         (cursorRight): adjust
7213         (cursorLeft): remove usage of Paragraph::previous
7214         (cursorUpParagraph): ditto
7215         (deleteEmptyParagraphMechanism): slight cleanup
7216
7217         * text.C (isBoundary): take a Paragraph const & instead of a
7218         pointer as arg.
7219         (addressBreakPoint): ditto
7220         (leftMargin): remove usage of Paragraph::previous.
7221         (setHeightOfRow): ditto
7222         (cursorLeftOneWord): ditto
7223         (selectNextWordToSpellcheck): ditto
7224         (Delete): ditto
7225         (backspace): ditto
7226         (breakParagraph): remove one usage of Paragraph::next
7227         (redoParagraph): ditto
7228         (acceptChange): ditto
7229         (insertChar): adjust
7230         (rowBreakPoint): adjust
7231
7232         * bufferview_funcs.C (toggleAndShow): adjust
7233
7234 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7235
7236         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7237         methods to access it.
7238         * lyxtext.h:
7239         * text.C: Added updateRowPositions to compute all row positions.
7240         Make top_y and getRowNearY() to use the cached y position
7241
7242 2003-04-11  John Levon  <levon@movementarian.org>
7243
7244         * text.C (rowBreakPoint): reintroduce the labelEnd
7245         checks, code copied from the row fill stuff. Deep voodoo.
7246
7247         * text.C (fill): add a comment and debugging for the
7248         next poor soul.
7249
7250 2003-04-11  John Levon  <levon@movementarian.org>
7251
7252         * text.C: make sure fullrow insets get wrapped to the next line,
7253         even when they're in a manual label
7254
7255 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * text2.C (insertParagraph): make it take ParagraphList::iterator
7258         as arg.
7259         (setLayout): make it return ParagraphList::iterator
7260         (redoParagraphs): ditto
7261         (setCounter): ditto
7262         (checkParagraph): ditto
7263
7264         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7265
7266         * text2.C: adjust several funcs.
7267         (realizeFont): take a ParagraphList::iterator as arg.
7268         (getLayoutFont): ditto
7269         (getLabelFont): ditto
7270         (setCharFont): ditto
7271
7272         * text.C: adjust several funcs.
7273
7274 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * text.C (selectNextWordToSpellcheck): don't accidentally
7277         skip insets
7278
7279 2003-04-10  John Levon  <levon@movementarian.org>
7280
7281         * ToolbarBackend.C (getIcon): special handling for
7282         LFUN_MATH_DELIM
7283
7284 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7285
7286         * text2.C (cursorRight): a getChar assert fixed
7287
7288 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * text2.C (getFont): change to take a ParagraphList::iterator
7291         instead of Paragraph*
7292         Adjust several functions.
7293
7294         * text.C (transformChar): change to take a ParagraphList::iterator
7295         instead of Paragraph*
7296         (singleWidth): ditto
7297         Adjust several functions.
7298
7299         * rowpainter.C: adjust several functions
7300         * rowpainter.h:store a ParagraphList::iterator and not a
7301         Paragraph&.
7302
7303
7304 2003-04-09  John Levon  <levon@movementarian.org>
7305
7306         * lyxfunc.C:
7307         * lfuns.h:
7308         * LyXAction.h:
7309         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7310         and the "help" bits as well
7311
7312 2003-04-09  John Levon  <levon@movementarian.org>
7313
7314         * ToolbarBackend.h:
7315         * ToolbarBackend.C: allow multiple toolbars
7316
7317 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7318
7319         * undo_funcs.C (setCursorParUndo): adjust
7320
7321         * text_funcs.C (transposeChars): adjust
7322
7323         * text3.C (gotoNextInset): adjust
7324         (dispatch): adjust
7325
7326         * text2.C (setLayout): adjust
7327         (changeDepth): adjust
7328         (setFont): adjust
7329         (redoParagraphs): adjust
7330         (selectionAsString): adjust
7331         (setParagraph): adjust
7332         (insertInset): adjust
7333         (cutSelection): adjust
7334         (copySelection): adjust
7335         (pasteSelection): adjust
7336         (insertStringAsLines): adjust
7337         (updateInset): adjust
7338         (setCursor): change to take a ParagraphList::iterator parameter
7339         (setCursorIntern): change to take a ParagraphList::iterator parameter
7340         (setCurrentFont): adjust
7341         (cursorLeft): adjust
7342         (cursorRight): adjust
7343         (deleteEmptyParagraphMechanism): adjust
7344
7345         * text.C (breakParagraph): adjust
7346         (insertChar): adjust
7347         (acceptChange): adjust
7348         (rejectChange): adjust
7349         (selectNextWordToSpellcheck): adjust
7350         (changeCase): adjust
7351         (Delete): adjust
7352         (backspace): adjust
7353
7354         * lyxfind.C (SearchForward): adjust
7355         (SearchBackward): adjust
7356         (nextChange): adjust
7357
7358         * lyxcursor.C (par): adjust
7359
7360         * lyxcursor.h: store a ParagraphList::iterator instead of a
7361         Paragraph*
7362
7363         * lyx_cb.C (getPossibleLabel): adjust
7364
7365         * bufferview_funcs.C (toggleAndShow): adjust
7366
7367         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7368         (dispatch): adjust
7369
7370         * BufferView.C (removeAutoInsets): adjust
7371         (lockedInsetStoreUndo): adjust
7372
7373 2003-04-09  John Levon  <levon@movementarian.org>
7374
7375         * ToolbarBackend.C: try icon without argument
7376         if with argument fails
7377
7378 2003-04-08  John Levon  <levon@movementarian.org>
7379
7380         * ToolbarBackend.h:
7381         * ToolbarBackend.C: add getIcon(), handle tooltip,
7382         and change from "Icon" to "Item".
7383
7384 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7385
7386         * BufferView.C (lockInset): another bad getchar crunched
7387
7388 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7389
7390         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7391         again)
7392
7393 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7394
7395         * lyxfind.C (searchForward, searchBackwards): bug 782
7396
7397 2003-04-07  John Levon  <levon@movementarian.org>
7398
7399         * paragraph.C: remove dead comment
7400
7401         * text.C: remove troublesome depth-fiddling code
7402         in leftMargin() and rightMargin() (bug 1017)
7403
7404         * text.C: fix breaking of rows in nested lists
7405         (bug 1004)
7406
7407         * text2.C (updateCounters): fix up depth values
7408         (bug 1013)
7409
7410 2003-04-07  John Levon  <levon@movementarian.org>
7411
7412         * BufferView_pimpl.C: clear message when doc finishes resizing,
7413         and after a mouse event
7414
7415         * lyxfunc.C: clear message after exiting inset
7416
7417 2003-04-07  John Levon  <levon@movementarian.org>
7418
7419         * bufferview_funcs.C: show math status not outside
7420         status in the statusbar
7421
7422 2003-04-07  John Levon  <levon@movementarian.org>
7423
7424         * lyxfunc.C: note status changed after a depth change
7425
7426 2003-04-04  Angus Leeming  <leeming@lyx.org>
7427
7428         * LaTeX.h: move AuxInfo operator==, != out of line.
7429         Remove LaTeX virtual destructor; nothing derives from it.
7430         Move operator()() out of public area and rename it startscript().
7431         Change protected for private.
7432
7433 2003-04-04  Angus Leeming  <leeming@lyx.org>
7434
7435         * lyxfunc.C:
7436         * text2.C: remove unneeded #includes.
7437
7438 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7439
7440         * text2.C (dEPM): fix the heigth of the next row
7441
7442 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7443
7444         * text.C: squashed an invalid getChar requester + some ws changes
7445
7446 2003-04-03  John Levon  <levon@movementarian.org>
7447
7448         * bufferview_funcs.h:
7449         * bufferview_funcs.C:
7450         * lyxfunc.C:
7451         * lyxtext.h:
7452         * text2.C: make getStatus work for the env depth lfuns
7453
7454 2003-04-03  John Levon  <levon@movementarian.org>
7455
7456         * bufferview_funcs.h:
7457         * bufferview_funcs.C:
7458         * lyxfunc.C:
7459         * lyxtext.h:
7460         * text2.C: parlistize decDepth(), by merging it with incDepth()
7461
7462 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7463
7464         * lyxrow.h: store a ParagraphList::iterator instead of a
7465         Paragraph* and adjust other class functions to suit.
7466
7467         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7468         above.
7469
7470 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7471
7472         * text2.C (setCursor): do not anchor to cursor row for the time being
7473
7474 2003-04-02  John Levon  <levon@movementarian.org>
7475
7476         * LyXAction.C:
7477         * lfuns.h:
7478         * lyx_main.C:
7479         * lyxtext.h:
7480         * text.C:
7481         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7482
7483 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7484
7485         * paragraph.h: make ParagraphList and ParagraphList::iterator
7486         friends of Paragraph.
7487
7488         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7489
7490         * ParagraphList.C: Use the private next_ and previous_ from
7491         Paragraph.
7492
7493 2003-04-01  John Levon  <levon@movementarian.org>
7494
7495         * ToolbarBackend.h:
7496         * ToolbarBackend.C:
7497         * Makefile.am: rename, remove defaults gunk
7498
7499         * MenuBackend.h:
7500         * MenuBackend.C: remove defaults gunk
7501
7502         * Languages.h:
7503         * Languages.C: remove defaults gunk
7504
7505         * lyx_main.h:
7506         * lyx_main.C: error out if files couldn't be found.
7507
7508 2003-04-02  John Levon  <levon@movementarian.org>
7509
7510         * text2.C: make incDepth() use parlist
7511
7512 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * undo_funcs.C (firstUndoParagraph): adjust
7515
7516         * text3.C (gotoInset): adjust
7517         (dispatch): adjust, and rewrite loop.
7518
7519         * text2.C (init): adjust, and rewrite loop.
7520         (redoParagraphs): adjust
7521         (updateInset): adjust, and rewrite loop.
7522         (deleteEmptyParagraphMechanism): adjust
7523
7524         * tabular.C (LyXTabular): adjust
7525         (SetMultiColumn): adjust
7526         (TeXRow): adjust
7527
7528         * lyxtext.[Ch] (ownerParagraph): delete function
7529         (ownerParagraphs): new function returns a ParagraphList.
7530
7531         * BufferView.C (removeAutoInsets): adjust
7532         (insertErrors): adjust
7533         (setCursorFromRow): adjust
7534
7535 2003-04-01  Angus Leeming  <leeming@lyx.org>
7536
7537         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7538         in the frontends.
7539
7540 2003-04-02  John Levon  <levon@movementarian.org>
7541
7542         * lyxtext.h:
7543         * text.C:
7544         * Makefile.am:
7545         * text_funcs.h:
7546         * text_funcs.C: make transposeChars a free function
7547
7548         * lyxrow_funcs.C: remove wrong comment
7549
7550 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * lyxtext.h: adjust
7553         * rowpainter.C: adjust
7554         * text.C: adjust
7555         * text2.C: adjust
7556         * text3.C: adjust
7557
7558         * lyxrow_funcs. [Ch]: new files
7559
7560         * lyxrow.[Ch]: remove next and previous pointers
7561         (next,previous): remove accessor functions
7562         (isParEnd): move to lyxrow_funcs
7563         (lastPos): move to lyxrow_funcs
7564         (nextRowIsAllInset): move to lyxrow_funcs
7565         (lastPrintablePos): move to lyxrow_funcs
7566         (numberOfSeparators): move to lyxrow_funcs
7567         (numberOfHfills): move to lyxrow_funcs
7568         (numberOfLabelHfills): move to lyxrow_funcs
7569         (hfillExpansion): move to lyxrow_funcs
7570
7571         * lyxfunc.C: adjust
7572
7573         * bufferview_funcs.C (toggleAndShow): adjust
7574
7575         * RowList.h: Remove class RowList from file leave just a
7576         std::list<Row>.
7577
7578         * RowList.C: delete file
7579
7580         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7581         and lyxrow_funcs.h
7582
7583 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * text3.C (cursorPrevious): adjust
7586         (cursorNext): adjust
7587         (dispatch): adjust
7588
7589         * text2.C (redoHeightOfParagraph): adjust
7590         (redoDrawingOfParagraph): adjust
7591         (setCursor): adjust
7592
7593         * text.C (breakParagraph): adjust
7594         (insertChar): adjust
7595         (backspace): adjust
7596
7597         * rowpainter.C (RowPainter): adjust
7598         (leftMargin): simplify and adjust
7599         (most rowpainter functions): adjust.
7600
7601         * rowpainter.h: store the row as RowList::iterator not as Row*
7602
7603         * lyxcursor.C (row): taka RowList::iterator as arg
7604         (irow): ditto
7605
7606         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7607         of Row*.
7608
7609 2003-04-01  Angus Leeming  <leeming@lyx.org>
7610
7611         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7612         stuff like bool Bool.
7613
7614 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7615
7616         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7617         rewrite a loop
7618
7619 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7622         RowList::iterator.
7623
7624         * lyxtext.h (rows): drop one version and leve a const variant that
7625         returns a RowList::iterator.
7626
7627 2003-03-31  Angus Leeming  <leeming@lyx.org>
7628
7629         * text.C (fill): ensure that the signature is the same as that in the
7630         header file.
7631
7632 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * text2.C (redoParagraphs): adjust
7635         (updateCounters): adjust
7636         (checkParagraph): adjust
7637         (getColumnNearX): adjust and reformat a bit.
7638
7639         * text.C (top_y): adjust
7640         (workWidth): adjust
7641         (leftMargin): adjust
7642         (prepareToPrint): adjust
7643         (getRow): adjust
7644         (getRowNearY): adjust
7645
7646         * lyxtext.h: make rowlist_ mutable.
7647
7648         * RowList.h: add const_iterator
7649         * RowList.C: adjust for RowList::const_iterator.
7650
7651         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7652         adjust.
7653
7654 2003-03-31  John Levon  <levon@movementarian.org>
7655
7656         * lyxrc.h:
7657         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7658
7659         * lyx_main.C: set default fonts from using lyx_gui funcs
7660
7661         * exporter.C: pdf_mode moved from lyxrc
7662
7663         * lyx_cb.C:
7664         * lyxfunc.C: changes from above
7665
7666 2003-03-31  John Levon  <levon@movementarian.org>
7667
7668         * lyx_main.C: fix to the last fix
7669
7670 2003-03-31  John Levon  <levon@movementarian.org>
7671
7672         * bufferlist.C: "Load original" -> "Load Original"
7673
7674         * converter.C:
7675         * exporter.C:
7676         * importer.C:
7677         * lyx_main.C:
7678         * format.C: more Alert cleanups
7679
7680 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * text2.C (removeParagraph): make it take a RowList::iterator as
7683         arg, adjust.
7684         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7685         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7686
7687         * text.C (anchor_row): make it take a RowList::iterator as arg,
7688         adjust.
7689         (computeBidiTables): make it take a const reference to Row instead
7690         of Row pointer, adjust.
7691         (leftMargin): make it take a RowList::iterator as arg, adjust.
7692         (rowBreakPoint): adjust
7693         (breakAgainOneRow): make it take a RowList::iterator as arg,
7694         adjust.
7695         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7696
7697         * bufferview_funcs.C (toggleAndShow): adjust
7698
7699 2003-03-30  John Levon  <levon@movementarian.org>
7700
7701         * Makefile.am:
7702         * BoostFormat.h:
7703         * boost-inst.C: moved to support
7704
7705         * several files: changes as a result
7706
7707 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * text2.C (LyXText): adjust.
7710         (init): adjust
7711         (removeRow): make it take a RowList::iterator as arg, adjust.
7712         (fullRebreak): adjust
7713         (deleteEmptyParagraphMechanism): adjust
7714         (clearPaint): adjust
7715         (postPaint): adjust
7716
7717         * text.C (top_y): adjust
7718         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7719         (breakAgain): make it take a RowList::iterator as arg, adjust.
7720         (breakParagraph): adjust
7721         (insertChar): adjust
7722         (backspace): adjust
7723
7724         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7725         need_break_row, and refresh_row.
7726
7727         * text3.C (dispatch): adjust
7728
7729         * text2.C (checkParagraph): adjust
7730         (setCursor): adjust
7731         (setCursorFromCoordinates): adjust
7732
7733         * text.C (top_y): adjust
7734         (workWidth): adjust
7735         (getRow): make it return a RowList::iterator, adjust
7736         (getRowNearY): make it return a RowList::iterator, adjust
7737
7738         * text2.C (init): adjust
7739         (insertRow): remove function
7740         (insertParagraph): adjust
7741         (redoParagraphs): adjust
7742         (fullRebreak): adjust
7743         (updateCounters): adjust
7744
7745         * text.C (top_y): rewrite to use RowList iterators.
7746         (top_y): adjust
7747         (setHeightOfRow): rewrite to sue RowList iterators.
7748         (appendParagraph): adjust
7749         (breakAgain): adjust
7750         (breakAgainOneRow): adjust
7751         (breakParagraph): adjust
7752         (getRow): adjust
7753         (getRowNearY): adjust, and remove commented code.
7754
7755         * lyxtext.h (firstRow): delete function
7756         (lastRow): delete function
7757         (rows): new function (const and non-const versions.)
7758         (insertRow): delete function
7759
7760         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7761
7762 2003-03-29  John Levon  <levon@movementarian.org>
7763
7764         * BufferView_pimpl.C: always update scrollbar top
7765         because pasting text when we're anchored could mean we
7766         miss an update altogether
7767
7768 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * text2.C (init): use rowlist_.end() and not 0.
7771         (insertRow): change to take a RowList::iterator as arg, adjust
7772         for this.
7773         (insertParagraph): change to take a RowList::iterator as arg,
7774         adjust for this.
7775         (redoParagraphs): remove some debug msgs.
7776
7777         * text.C (appendParagraph): change to take a RowList::iterator
7778         arg, adjust for this.
7779         (breakAgain): add an assert
7780         (breakAgainOneRow): ditto
7781
7782 2003-03-29  John Levon  <levon@movementarian.org>
7783
7784         * text2.C: do not clear selection after inc/decDepth
7785         (bug 550)
7786
7787 2003-03-29  John Levon  <levon@movementarian.org>
7788
7789         * BufferView.C:
7790         * buffer.C: fix broken strerrors according to Lars
7791
7792 2003-03-29  John Levon  <levon@movementarian.org>
7793
7794         * converters.C: more Alert cleanups
7795
7796 2003-03-29  John Levon  <levon@movementarian.org>
7797
7798         * bufferview_funcs.C: remove pointless Alert
7799
7800         * buffer.C: fix confusing error message when
7801         a template is chmoded 000
7802
7803 2003-03-29  John Levon  <levon@movementarian.org>
7804
7805         * BufferView.C:
7806         * BufferView.h:
7807         * BufferView_pimpl.C: Alert fixes
7808
7809         * Makefile.am:
7810         * tabular.C:
7811         * tabular-old.C: remove unused table compat reading
7812
7813 2003-03-29  John Levon  <levon@movementarian.org>
7814
7815         * BufferView.C:
7816         * buffer.C:
7817         * lyx_cb.h:
7818         * lyx_cb.C: more Alert cleanups
7819
7820         * lyxfunc.C: don't allow chktex if not latex document
7821
7822 2003-03-29  John Levon  <levon@movementarian.org>
7823
7824         * lyx_cb.C:
7825         * BufferView.C:
7826         * buffer.C: warnings pushed down from support/,
7827         kill err_alert
7828
7829 2003-03-29  John Levon  <levon@movementarian.org>
7830
7831         * lyxfunc.C: safety check for C-r (revert)
7832
7833 2003-03-29  John Levon  <levon@movementarian.org>
7834
7835         * bufferlist.h:
7836         * bufferlist.C: several UI fixes using Alert::prompt.
7837         Fix the pointless looping quit code. Fix stupid revert
7838         behaviour (bug 938)
7839
7840         * lyxvc.h:
7841         * lyxvc.C:
7842         * lyx_cb.C: use Alert::prompt
7843
7844         * lyx_main.C: remove a silly question
7845
7846         * lyxfunc.C: remove a couple of silly questions,
7847         use Alert::prompt
7848
7849 2003-03-28  John Levon  <levon@movementarian.org>
7850
7851         * text2.C: fix bug 974 (End on empty par)
7852
7853 2003-03-28  John Levon  <levon@movementarian.org>
7854
7855         * BufferView_pimpl.C:
7856         * LyXAction.C:
7857         * lfuns.h: remove do-nothing math greek lfuns
7858
7859 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * lyxgluelength.h (isValidGlueLength): add default arg on
7862         parameter 2. Remove default arg from friend in class.
7863
7864         * lyxlength.h (isValidLength): add default arg on parameter 2.
7865         Remove default arg from friend in class.
7866
7867         * text2.C (LyXText): adjust, initialize refresh_row.
7868         (init): adjust
7869         (removeRow): adjust
7870         (insertRow): adjust
7871         (insertParagraph): adjst
7872         (redoParagraphs): adjust
7873         (fullRebreak): adjust
7874         (updateCounters): adjust
7875         (deleteEmptyParagraphMechanism): first attempt at fixing a
7876         crashing bug.
7877
7878         * text.C (top_y): adjust
7879         (setHeightOfRow): adjust
7880         (getRow): adjust
7881         (getRowNearY): adjust
7882
7883         * lyxtext.h: include RowList.h
7884         (~LyXText): not needed anymore, deleted.
7885         (firstRow): modify for RowList
7886         (lastRow): new function
7887         Delete firstrow and lastrow class variables, add a Rowlist
7888         rowlist_ class variable.
7889
7890         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7891         paragraph is empty.
7892
7893         * RowList.C (insert): fix case where it == begin().
7894
7895 2003-03-26  Angus Leeming  <leeming@lyx.org>
7896
7897         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7898         the thesaurus dialog.
7899
7900 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7903
7904         * RowList.[Ch]: new files
7905
7906         * ParagraphList.C (erase): handle the case where it == begin
7907         correctly.
7908
7909 2003-03-25  John Levon  <levon@movementarian.org>
7910
7911         * Makefile.am:
7912         * aspell_local.h:
7913         * aspell.C: add new aspell support
7914
7915         * lyxrc.h:
7916         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7917         have it accessible.
7918
7919 2003-03-25  Angus Leeming  <leeming@lyx.org>
7920
7921         * lfuns.h:
7922         * LyXAction.C (init): new LFUN_INSET_INSERT.
7923
7924         * BufferView_pimpl.C (dispatch): split out part of the
7925         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7926
7927         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7928         LFUN_INSET_APPLY.
7929
7930 2003-03-25  Angus Leeming  <leeming@lyx.org>
7931
7932         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7933
7934 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7935
7936         * text2.C:
7937         * text3.C: remove useless row->height(0)
7938
7939 2003-03-25  John Levon  <levon@movementarian.org>
7940
7941         * lyxtext.h:
7942         * text2.C:
7943         * text3.C: rename the refreshing stuff to better names
7944
7945 2003-03-24  John Levon  <levon@movementarian.org>
7946
7947         * BufferView_pimpl.h:
7948         * BufferView_pimpl.C: update layout choice on a mouse
7949         press/release
7950
7951 2003-03-23  John Levon  <levon@movementarian.org>
7952
7953         * Makefile.am: fix commandtags.h reference
7954
7955 2003-03-22  John Levon  <levon@movementarian.org>
7956
7957         * BufferView_pimpl.C:
7958         * lyxtext.h:
7959         * rowpainter.C:
7960         * rowpainter.h:
7961         * text.C:
7962         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7963
7964 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7965
7966         * lyxtext.h:
7967         * text.C: take the rtl methods out of line
7968
7969 2003-03-21 André Pönitz <poenitz@gmx.net>
7970
7971         * metricsinfo.[Ch]: new files containing structures to be passed around
7972         during the two-phase-drawing...
7973
7974 2003-03-21 André Pönitz <poenitz@gmx.net>
7975
7976         * lyxtextclass.C: read 'environment' tag.
7977
7978 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7979
7980         * text2.C (removeRow): fix bug 964
7981
7982 2003-03-20  John Levon  <levon@movementarian.org>
7983
7984         * rowpainter.C:
7985         * text.C:
7986         * text2.C: paint cleanups. Inset::update() dropped font
7987         parameter
7988
7989 2003-03-19  John Levon  <levon@movementarian.org>
7990
7991         * lyxfunc.C: only fitcursor/markDirty if available()
7992
7993 2003-03-19  John Levon  <levon@movementarian.org>
7994
7995         * commandtags.h: rename to ...
7996
7997         * lfuns.h: ... this, and renumber / cleanup
7998
7999 2003-03-19  John Levon  <levon@movementarian.org>
8000
8001         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8002         fit the cursor after an lfun
8003
8004         * BufferView.h:
8005         * BufferView.C:
8006         * BufferView_pimpl.h:
8007         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8008
8009         * LyXAction.C: layout-character should have ReadOnly
8010
8011         * ParagraphParameters.C:
8012         * buffer.C:
8013         * bufferview_funcs.C:
8014         * lyx_cb.C:
8015         * lyxfind.C:
8016         * lyxtext.h:
8017         * text.C:
8018         * text2.C:
8019         * text3.C:
8020         * undo_funcs.C: changes from above
8021
8022 2003-03-18  John Levon  <levon@movementarian.org>
8023
8024         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8025         remove it from update()
8026
8027         * lyxfunc.C: update layout choice after an lfun
8028
8029         * text3.C: remove extra updateLayoutChoice()s
8030
8031 2003-03-18  John Levon  <levon@movementarian.org>
8032
8033         * text.C: top_y change means full repaint, fix
8034         a drawing bug with cursor movement
8035
8036 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8037
8038         * lyxtext.h:
8039         * text.C:
8040         * text2.C: anchor row on setCursor
8041
8042 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8043
8044         * lyxtext.h: remove almost all mutable keywords
8045         * text.C:
8046         * text2.C:
8047         * text3.C: remove const keywords accordingly
8048
8049 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8052         anon namespace
8053         (TeXEnvironment): ditto
8054         (TeXOnePar): ditto
8055
8056 2003-03-17  John Levon  <levon@movementarian.org>
8057
8058         * text.C (rowBreakPoint): remove attempt to fix displayed
8059         math insets inside a manual label
8060
8061 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * lyxtext.h: remove BufferView* as first arg from almost all class
8064         functions.
8065         * other files: adjust.
8066
8067 2003-03-17  John Levon  <levon@movementarian.org>
8068
8069         * lyxtext.h:
8070         * undo_funcs.C:
8071         * text2.C: more paint cleanups
8072
8073         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8074
8075         * rowpainter.h:
8076         * rowpainter.C: remove "smart" background painting code
8077
8078 2003-03-16  John Levon  <levon@movementarian.org>
8079
8080         * lyxtext.h:
8081         * text.C:
8082         * text2.C:
8083         * text3.C: add helper functions for setting refresh_row/y
8084
8085 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8086
8087         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8088         newline inset which *can* get inserted in the pass_thru layouts.
8089         This is primarily for literate documents.
8090
8091 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8092
8093         * buffer.C: increment LYX_FORMAT to 223
8094
8095 2003-03-14 André Pönitz <poenitz@gmx.net>
8096
8097         * textclass.h: prepare for environment handling, ws changes
8098         * lyxlayout.C: read latexheader and latexfooter tags
8099
8100 2003-03-14  John Levon  <levon@movementarian.org>
8101
8102         * text2.C: rewrite ::status() a bit
8103
8104 2003-03-13  John Levon  <levon@movementarian.org>
8105
8106         * lyxtext.h: add some docs
8107
8108 2003-03-13  John Levon  <levon@movementarian.org>
8109
8110         * lyxtext.h:
8111         * text.C:
8112         * text2.C:
8113         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8114
8115 2003-03-13  John Levon  <levon@movementarian.org>
8116
8117         * text3.C: fix appendix redrawing
8118
8119 2003-03-13  John Levon  <levon@movementarian.org>
8120
8121         * text.C (setHeightOfRow):
8122         * rowpainter.h:
8123         * rowpainter.C: make appendix mark have the text
8124           "Appendix" so the user knows what it is
8125
8126         * LColor.h:
8127         * LColor.C: s/appendixline/appendix/ from above
8128
8129 2003-03-13  John Levon  <levon@movementarian.org>
8130
8131         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8132
8133         * text.C: fix a getChar(pos) bug properly
8134
8135 2003-03-13  Angus Leeming  <leeming@lyx.org>
8136
8137         * commandtags.h:
8138         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8139         Probably only temporary. Let's see how things pan out.
8140
8141         * BufferView.C (unlockInset):
8142         * BufferView_pimpl.C (fitCursor):
8143         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8144
8145         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8146         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8147
8148         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8149         new functions that convert ParagraphParameters to and from a string.
8150
8151         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8152         BufferView::Pimpl's dispatch.
8153         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8154
8155 2003-03-13 André Pönitz <poenitz@gmx.net>
8156
8157         * lyxfunc.C:
8158         * text3.C:
8159         * factory.C: make it aware of InsetEnv
8160
8161 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * text2.C (setCursor): never ask for one past last
8164         (setCursor): add some debugging messages.
8165
8166         * text.C (singleWidth): never ask for one past last
8167         (singleWidth): ditto
8168         (leftMargin): ditto
8169         (rightMargin): ditto
8170         (rowBreakPoint): ditto
8171         (setHeightOfRow): ditto
8172         (prepareToPrint): ditto
8173
8174         * rowpainter.C (paintBackground): never ask for one past last
8175         (paintText): never ask for one past last
8176
8177         * paragraph_pimpl.C (getChar): make the assert stricter, never
8178         allow the one past last pos to be taken
8179
8180         * paragraph.C (getChar): ws changes only
8181
8182         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8183         (numberOfSeparators): ditto
8184         (numberOfHfills): ditto
8185
8186 2003-03-12  John Levon  <levon@movementarian.org>
8187
8188         * author.h:
8189         * author.C:
8190         * bufferparams.h:
8191         * bufferparams.C:
8192         * paragraph_funcs.C: fix per-buffer authorlists
8193
8194 2003-03-12  John Levon  <levon@movementarian.org>
8195
8196         * text.C: fix newline in right address
8197
8198 2003-03-12  Angus Leeming  <leeming@lyx.org>
8199
8200         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8201         duplicate those in LyXFunc::dispatch.
8202
8203         * commandtags.h:
8204         * LyXAction.C:
8205         * ToolbarDefaults.C:
8206         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8207         Add LFUN_FONTFREE_UPDATE.
8208
8209         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8210         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8211
8212         * bufferview_func.[Ch]: several new functions to facilliate
8213         transfer of data to and from the character dialog.
8214
8215 2003-03-12  John Levon  <levon@movementarian.org>
8216
8217         * buffer.C:
8218         * paragraph.h:
8219         * paragraph.C:
8220         * paragraph_funcs.C:
8221         * paragraph_pimpl.C:
8222         * sgml.C:
8223         * tabular.C:
8224         * text.C:
8225         * text3.C: remove META_NEWLINE in favour of an inset
8226
8227         * rowpainter.h:
8228         * rowpainter.C: remove paintNewline (done by inset)
8229
8230 2003-03-12  John Levon  <levon@movementarian.org>
8231
8232         * paragraph_pimpl.C: complain about bad getChar()s
8233         for a while at least
8234
8235 2003-03-12  John Levon  <levon@movementarian.org>
8236
8237         * buffer.h:
8238         * buffer.C: move paragraph read into a separate function,
8239         a little renaming to reflect that.
8240
8241         * bufferparams.h:
8242         * bufferparams.C: remove the author_ids map, not necessary now
8243
8244         * factory.h:
8245         * factory.C: moved Buffer::readInset to here
8246
8247         * paragraph_funcs.h:
8248         * paragraph_funcs.C: readParagraph free function moved from
8249         buffer.C
8250
8251         * tabular.C: name change
8252
8253 2003-03-12  John Levon  <levon@movementarian.org>
8254
8255         * buffer.C:
8256         * ParagraphParameters.C: move par params input to
8257         a read() method
8258
8259         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8260         behave like a normal read from the stream wrt reading
8261         a line vs. a \\token
8262
8263 2003-03-12  John Levon  <levon@movementarian.org>
8264
8265         * paragraph.C:
8266         * ParagraphParameters.h:
8267         * ParagraphParameters.C: move output code to a
8268         ::write() method
8269
8270 2003-03-12  John Levon  <levon@movementarian.org>
8271
8272         * BufferView.C (insertLyXFile):
8273         * buffer.h:
8274         * buffer.C:
8275         * tabular.C: use a parlist iterator for creating the
8276           document.
8277
8278 2003-03-12  John Levon  <levon@movementarian.org>
8279
8280         * buffer.C: make current_change static local not
8281           static file-scope
8282
8283 2003-03-12  John Levon  <levon@movementarian.org>
8284
8285         * buffer.C: fix insertStringAsLines for change tracking
8286
8287 2003-03-12  John Levon  <levon@movementarian.org>
8288
8289         * BufferView.C:
8290         * tabular.C:
8291         * buffer.h:
8292         * buffer.C:
8293         * bufferparams.h:
8294         * bufferparams.C: move author list into params. Rename some
8295           functions. Move the header reading into a separate token
8296           loop. Move the header token reading into BufferParams.
8297
8298 2003-03-12  John Levon  <levon@movementarian.org>
8299
8300         * changes.C: put debug inside lyxerr.debugging() checks
8301
8302 2003-03-11 André Pönitz <poenitz@gmx.net>
8303
8304         * factory.C: make it aware of InsetHFill
8305
8306 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8307
8308         * buffer.C (latexParagraphs): move function from here...
8309         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8310         args.
8311
8312 2003-03-10  Angus Leeming  <leeming@lyx.org>
8313
8314         * LyXAction.C (init): fix bug in poplating array with multiple entries
8315         with the same LFUN (spotted by JMarc).
8316
8317 2003-03-10  John Levon  <levon@movementarian.org>
8318
8319         * text.C:
8320         * text2.C: move getColumnNearX() near its
8321         only call site
8322
8323 2003-03-10  John Levon  <levon@movementarian.org>
8324
8325         * text.C: fix break before a minipage
8326
8327 2003-03-10  John Levon  <levon@movementarian.org>
8328
8329         * text.C: fix the last commit
8330
8331 2003-03-09  John Levon  <levon@movementarian.org>
8332
8333         * lyxtext.h:
8334         * text.C:
8335         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8336         bug 365 (don't break before insets unless needed). Don't
8337         return a value > last under any circumstances.
8338
8339 2003-03-09  Angus Leeming  <leeming@lyx.org>
8340
8341         * BufferView_pimpl.C (trackChanges, dispatch): call
8342         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8343
8344 2003-03-09  Angus Leeming  <leeming@lyx.org>
8345
8346         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8347         than Dialogs::showAboutlyx().
8348
8349 2003-03-09  Angus Leeming  <leeming@lyx.org>
8350
8351         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8352         than Dialogs::showTabularCreate().
8353
8354 2003-03-09  John Levon  <levon@movementarian.org>
8355
8356         * lyxtext.h:
8357         * text.C:
8358         * text2.C: 3rd arg to nextBreakPoint was always the same.
8359           Use references.
8360
8361 2003-03-08  John Levon  <levon@movementarian.org>
8362
8363         * lyxrow.C:
8364         * paragraph.C:
8365         * paragraph.h:
8366         * rowpainter.C:
8367         * text.C:
8368         * text2.C: Remove the "main" bit from the "main body"
8369           notion.
8370
8371 2003-03-08  John Levon  <levon@movementarian.org>
8372
8373         * text.C (leftMargin): The left margin of an empty
8374         manual label paragraph should not include the label width
8375         string length.
8376
8377         * text.C (prepareToPrint): don't attempt to measure hfills
8378         for empty manual label paragraphs - the answer should be 0
8379
8380 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8381
8382         * CutAndPaste.C: remove commented code and reindent.
8383
8384 2003-03-08  John Levon  <levon@movementarian.org>
8385
8386         * lyxfunc.h:
8387         * lyxfunc.C: move reloadBuffer()
8388
8389         * BufferView.h:
8390         * BufferView.C: to here
8391
8392         * lyxvc.C: add comment
8393
8394         * vc-backend.h:
8395         * vc-backend.C: call bv->reload() to avoid
8396           getStatus() check on MENURELOAD
8397
8398 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8399
8400         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8401         to an old format .dep file.
8402
8403 2003-03-07  Angus Leeming  <leeming@lyx.org>
8404
8405         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8406         when the LFUN_MOUSE_RELEASE should have been handled by
8407         inset->localDispatch.
8408
8409 2003-03-07  Angus Leeming  <leeming@lyx.org>
8410
8411         * BufferView_pimpl.C (dispatch):
8412         * LyXAction.C (init):
8413         * ToolbarDefaults.C (init):
8414         * commandtags.h:
8415         * lyxfunc.C (getStatus):
8416         remove LFUN_INSET_GRAPHICS.
8417
8418         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8419
8420 2003-03-07  Angus Leeming  <leeming@lyx.org>
8421
8422         * commandtags.h:
8423         * LyXAction.C (init):
8424         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8425
8426         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8427
8428         * commandtags.h:
8429         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8430
8431         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8432         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8433
8434 2003-03-07  Angus Leeming  <leeming@lyx.org>
8435
8436         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8437         remove "ert".
8438
8439 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * ParagraphList.C (front): new function
8442         (back): implement
8443
8444 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8445
8446         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8447         and top_row_offset_. removed var first_y.
8448         * text.C (top_y):
8449         * text2.C (LyXText, removeRow):
8450         * text3.C:
8451         * BufferView_pimpl.C:
8452         use these methods instead of using first_y
8453
8454 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8455
8456         * text2.C (pasteSelection): adjust for checkPastePossible
8457
8458         * CutAndPaste.C: remove Paragraph * buf and replace with
8459         ParagraphList paragraphs.
8460         (DeleteBuffer): delete
8461         (cutSelection): change the tc type to textclass_type
8462         (copySelection): change the tc type to textclass_type
8463         (copySelection): adjust for ParagraphList
8464         (pasteSelection): change the tc type to textclass_type
8465         (pasteSelection): adjust for Paragraphlist
8466         (nrOfParagraphs): simplify for ParagraphList
8467         (checkPastePossible): simplify for ParagraphList
8468         (checkPastePossible): remove unused arg
8469
8470         * ParagraphList.C (insert): handle the case where there are no
8471         paragraphs yet.
8472
8473         * CutAndPaste.h: make CutAndPaste a namespace.
8474
8475         * text3.C (dispatch): adjust
8476
8477         * text.C (breakParagraph): add a ParagraphList as arg
8478
8479         * paragraph_funcs.C (breakParagraph): change to take a
8480         BufferParams and a ParagraphList as args.
8481         (breakParagraphConservative): ditto
8482         (mergeParagraph): ditto
8483         (TeXDeeper): add a ParagraphList arg
8484         (TeXEnvironment): ditto
8485         (TeXOnePar): ditto
8486
8487         * buffer.C (readLyXformat2): adjust
8488         (insertStringAsLines): adjust
8489         (latexParagraphs): adjust
8490
8491         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8492         (cutSelection): adjust
8493         (pasteSelection): adjust
8494
8495         * BufferView_pimpl.C (insertInset): adjust
8496
8497 2003-03-05  Angus Leeming  <leeming@lyx.org>
8498
8499         * commandtags.h:
8500         * LyXAction.C (init):
8501         * BufferView_pimpl.C (dispatch):
8502         * lyxfunc.C (getStatus):
8503         remove LFUN_CHILD_INSERT.
8504
8505         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8506
8507 2003-03-05  Angus Leeming  <leeming@lyx.org>
8508
8509         * commandtags.h:
8510         * LyXAction.C (init):
8511         * src/factory.C (createInset):
8512         * lyxfunc.C (getStatus):
8513         * text3.C (dispatch):
8514         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8515
8516         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8517
8518 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8519
8520         * ParagraphList.C (insert): handle insert right before end()
8521         (erase): fix cases where it can be first or last paragraph.
8522
8523 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8524
8525         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8526         Paragraph::next and Paragraph::previous
8527         (TeXOnePar): ditto
8528
8529         * text.C (breakParagraph): adjust
8530
8531         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8532         BufferParams& as arg.
8533         (breakParagraph): use ParagraphList::insert
8534         (breakParagraphConservative): take a Buffer* instead of a
8535         BufferParams& as arg.
8536         (breakParagraphConservative): use ParagraphList::insert.
8537
8538         * buffer.C (insertStringAsLines): un-const it
8539         (insertStringAsLines): adjust
8540
8541         * ParagraphList.C (insert): new function
8542
8543         * CutAndPaste.C (pasteSelection): adjust
8544
8545         * text.C (backspace): adjust
8546
8547         * tabular.C (SetMultiColumn): adjust
8548
8549         * CutAndPaste.C (cutSelection): adjust
8550         (pasteSelection): adjust
8551
8552         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8553         Buffer const * as arg
8554
8555         * ParagraphList.C (erase): new function
8556         * paragraph_funcs.C (mergeParagraph): use it
8557         (mergeParagraph): make it take a Buffer* instead of a
8558         BufferParams* as arg
8559
8560         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8561         as arg
8562         (breakParagraphConservative): ditto
8563
8564         * paragraph.h: remove the breakParagraph friend
8565
8566         * paragraph.C (eraseIntern): new function
8567         (setChange): new function
8568
8569         * paragraph_funcs.C (mergeParagraph): make it take a
8570         ParagraphList::iterator instead of a Paragraph *, adjust
8571         accordingly.
8572
8573         * paragraph.h: move an #endif so that the change tracking stuff
8574         also works in the NO_NEXT case.
8575
8576 2003-03-04  Angus Leeming  <leeming@lyx.org>
8577
8578         * commandtags.h:
8579         * LyXAction.C: new LFUN_INSET_MODIFY.
8580
8581         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8582         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8583
8584 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * several files: ws changes only
8587
8588         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8589         (TeXEnvironment): ditto
8590         (TeXDeeper): ditto
8591
8592         * buffer.C (makeLaTeXFile): adjust
8593         (latexParagraphs): make it take ParagraphList::iterator as args
8594
8595 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8596
8597         * buffer.C (latexParagraphs): adjust
8598
8599         * paragraph.C (TeXOnePar): move function...
8600         (optArgInset): move function...
8601         (TeXEnvironment): move function...
8602         * paragraph_pimpl.C (TeXDeeper): move function...
8603         * paragraph_funcs.C: ...here
8604
8605         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8606
8607 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * buffer.C (readInset): remove compability code for old Figure and
8610         InsetInfo insets
8611
8612 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8613
8614         * buffer.C: ws changes
8615         (readInset):
8616
8617         * BufferView_pimpl.C: ditto
8618         * author.C: ditto
8619         * buffer.h: ditto
8620         * bufferlist.h: ditto
8621         * changes.h: ditto
8622         * lyxfunc.C: ditto
8623
8624 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8625
8626         * converter.[Ch]: split into itself +
8627         * graph.[Ch]
8628         * format.[Ch]
8629         * Makefile.am: += graph.[Ch] + format.[Ch]
8630         * MenuBackend.C
8631         * buffer.C
8632         * exporter.C
8633         * importer.C
8634         * lyx_main.C
8635         * lyxfunc.C
8636         * lyxrc.C: added #include "format.h"
8637
8638 2003-02-27  Angus Leeming  <leeming@lyx.org>
8639
8640         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8641           a label.
8642
8643         * factory.C (createInset): add "label" to the factory.
8644
8645         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8646           string and do no more.
8647
8648 2003-02-27  Angus Leeming  <leeming@lyx.org>
8649
8650         * commandtags.h:
8651         * LyXAction.C (init):
8652         * factory.C (createInset):
8653         * BufferView_pimpl.C (dispatch):
8654           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8655
8656         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8657
8658         * lyxfunc.C (dispatch):
8659         * text3.C (dispatch): pass name to params2string.
8660
8661 2003-02-26  Angus Leeming  <leeming@lyx.org>
8662
8663         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8664           blocks together.
8665           Rearrange the ~includes. Strip out the unnecessary ones.
8666
8667         * factory.C (createInset): reformat.
8668           create new insets for the various LFUN_XYZ_APPLY lfuns.
8669
8670 2003-02-26  John Levon  <levon@movementarian.org>
8671
8672         * lyxrow.h:
8673         * lyxrow.C: add isParStart,isParEnd helpers
8674
8675         * paragraph.h: make isInserted/DeletedText take refs
8676
8677         * paragraph_funcs.h:
8678         * paragraph_funcs.C: remove #if 0'd code
8679
8680         * lyxtext.h:
8681         * text3.C:
8682         * text2.C:
8683         * text.C: use lyxrow helpers above.
8684           Move draw and paint routines to RowPainter.
8685           Make several methods use refs not pointers.
8686           Make backgroundColor() const.
8687           Add markChangeInDraw(), isInInset().
8688           Merge changeRegionCase into changeCase.
8689           Make workWidth() shouldn't-happen code into an Assert.
8690
8691         * rowpainter.h:
8692         * rowpainter.C: new class for painting a row.
8693
8694         * vspace.h:
8695         * vspace.C: make inPixels take a ref
8696
8697 2003-02-26  Angus Leeming  <leeming@lyx.org>
8698
8699         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8700         LFUN_REF_APPLY.
8701
8702 2003-02-25  John Levon  <levon@movementarian.org>
8703
8704         * ispell.C: give the forked command a more accurate name
8705
8706 2003-02-22  John Levon  <levon@movementarian.org>
8707
8708         * toc.h:
8709         * toc.C: make TocItem store an id not a Paragraph *
8710           (bug #913)
8711
8712 2003-02-21  Angus Leeming  <leeming@lyx.org>
8713
8714         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8715           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8716           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8717           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8718           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8719           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8720
8721         * BufferView_pimpl.C (dispatch):
8722         * LyXAction.C (init):
8723         * factory.C (createInset):
8724         * lyxfunc.C (getStatus, dispatch):
8725         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8726
8727 2003-02-21  Angus Leeming  <leeming@lyx.org>
8728
8729         * BufferView_pimpl.C (MenuInsertLyXFile):
8730         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8731         * lyxfunc.C (menuNew, open, doImport):
8732           no longer pass a LyXView & to fileDlg.
8733
8734 2003-02-21  Angus Leeming  <leeming@lyx.org>
8735
8736         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8737         * LyXAction.C: change, BIBKEY to BIBITEM.
8738         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8739         Change InsetBibKey to InsetBibitem.
8740         Change BIBKEY_CODE to BIBITEM_CODE.
8741         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8742         * factory.C: replace insetbib.h with insetbibitem.h.
8743         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8744         * paragraph.C: replace insetbib.h with insetbibitem.h.
8745         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8746         Change bibkey() to bibitem().
8747         * text.C: remove insetbib.h.
8748         * text2.C: replace insetbib.h with insetbibitem.h.
8749         change bibkey() to bibitem().
8750         * text3.C: remove insetbib.h.
8751         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8752
8753 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8754
8755         * lyxrc.C (output): enclose user email in quotes (in case there are
8756         several words)
8757
8758 2003-02-18  John Levon  <levon@movementarian.org>
8759
8760         * buffer.h: add std::
8761
8762 2003-02-17  John Levon  <levon@movementarian.org>
8763
8764         * SpellBase.h:
8765         * ispell.h:
8766         * ispell.C:
8767         * pspell.h:
8768         * pspell.C: reworking. Especially in ispell, a large
8769           number of clean ups and bug fixes.
8770
8771         * lyxfunc.C: fix revert to behave sensibly
8772
8773 2003-02-17 André Pönitz <poenitz@gmx.net>
8774
8775         * LyXAction.C:
8776         * commandtags.h: new LFUN_INSERT_BIBKEY
8777
8778         * layout.h:
8779         * lyxlayout.C:
8780         * buffer.C:
8781         * factory.C:
8782         * text.C:
8783         * text2.C:
8784         * text3.C:
8785         * paragraph.[Ch]:
8786         * paragraph_func.C: remove special bibkey handling
8787
8788 2003-02-17  John Levon  <levon@movementarian.org>
8789
8790         * text.C (Delete): fix case where delete at the end of
8791           the very first paragraph would not merge the pars
8792
8793 2003-02-17  John Levon  <levon@movementarian.org>
8794
8795         * lyxrow.C: fix lastPrintablePos()
8796
8797 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8798
8799         * bufferparams.C (writeLaTeX): add a std:here
8800
8801         * buffer.C: and remove a using directive there
8802
8803 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8804
8805         * buffer.C (makeLaTeXFile): move the code that generates the
8806           preamble...
8807
8808         * bufferparams.C (writeLaTeX): ... in this new method
8809
8810         * LaTeXFeatures.C (getEncodingSet): make const
8811           (getLanguages): make const
8812
8813         * MenuBackend.C (binding): returns the binding associated to this
8814           action
8815           (add): sets the status of each item by calling getStatus. Adds
8816           some intelligence.
8817           (read): add support for OptSubMenu
8818           (expand): remove extra separator at the end of expanded menu
8819
8820 2003-02-15  John Levon  <levon@movementarian.org>
8821
8822         * BufferView.C:
8823         * BufferView_pimpl.C:
8824         * bufferlist.h:
8825         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8826           inset code that had no actual effect. Remove unneeded status
8827           code.
8828
8829 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8832           in preamble
8833
8834 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8835
8836         * text.C (drawLengthMarker): also draw an arrow marker for
8837           symbolic lengths (medskip...)
8838
8839 2003-02-14  John Levon  <levon@movementarian.org>
8840
8841         * tabular.h:
8842         * tabular.C: better method names
8843
8844 2003-02-14  John Levon  <levon@movementarian.org>
8845
8846         * BufferView_pimpl.C:
8847         * bufferlist.C:
8848         * buffer.C:
8849         * converter.C:
8850         * lyx_cb.C:
8851         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8852           it's a more accurate name. Remove some pointless uses.
8853
8854 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8855
8856         * text2.C (LyXText): change order of initilizers to shut off
8857           warnings
8858
8859 2003-02-14  John Levon  <levon@movementarian.org>
8860
8861         * buffer.C: use ParIterator for getParFromID()
8862
8863         * paragraph.h:
8864         * paragraph.C:
8865         * paragraph_pimpl.h:
8866         * paragraph_pimpl.C: remove unused getParFromID()
8867
8868 2003-02-14  John Levon  <levon@movementarian.org>
8869
8870         * buffer.C: remove some very old #if 0'd parse code
8871
8872 2003-02-13  John Levon  <levon@movementarian.org>
8873
8874         * text.h:
8875         * text.C:
8876         * text2.C: move hfillExpansion(), numberOfSeparators(),
8877           rowLast(), rowLastPrintable(), numberofHfills(),
8878           numberOfLabelHfills() ...
8879
8880         * lyxrow.h:
8881         * lyxrow.C: ... to member functions here.
8882
8883         * paragraph.h:
8884         * paragraph.C:
8885         * lyxtext.h:
8886         * text.C: remove LyXText::beginningOfMainBody(), and call
8887           p->beginningOfMainBody() directly. Move the check for
8888           LABEL_MANUAL into the latter.
8889
8890         * text.h:
8891         * text.C:
8892         * text2.C:
8893         * vspace.C:
8894         * BufferView.h:
8895         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8896
8897         * text.h:
8898         * text.C:
8899         * text2.C:
8900         * text3.C:
8901         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8902           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8903
8904 2003-02-13  John Levon  <levon@movementarian.org>
8905
8906         * CutAndPaste.C: remove debug
8907
8908 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8909
8910         * paragraph.C (asString): remove two unused variables
8911
8912         * lyxtextclass.C (readTitleType):
8913           (Read):
8914           (LyXTextClass): handle new members titletype_ and titlename_
8915
8916         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8917
8918 2003-02-09  John Levon  <levon@movementarian.org>
8919
8920         * buffer.h:
8921         * buffer.C: replace hand-coded list with a map for the dep clean
8922
8923 2003-02-08  John Levon  <levon@movementarian.org>
8924
8925         * LaTeX.C: consolidate code into showRunMessage() helper
8926
8927 2003-02-08  John Levon  <levon@movementarian.org>
8928
8929         * lyxfind.C:
8930         * lyxtext.h:
8931         * text2.C:
8932         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8933           and pass the size in explicitly
8934
8935         * BufferView_pimpl.h:
8936         * BufferView_pimpl.C:
8937         * BufferView.h:
8938         * BufferView.C: add getCurrentChange()
8939
8940         * BufferView_pimpl.h:
8941         * BufferView_pimpl.C: handle change lfuns
8942
8943         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8944           for changes. Mark pasted paragraphs as new.
8945
8946         * support/lyxtime.h:
8947         * support/lyxtime.C:
8948         * DepTable.C: abstract time_t as lyx::time_type
8949
8950         * LColor.h:
8951         * LColor.C: add colours for new text, deleted text, changebars
8952
8953         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8954           package use "usenames" option.
8955
8956         * commandtags.h:
8957         * lyxfunc.C:
8958         * LyXAction.C: add change lfuns
8959
8960         * Makefile.am:
8961         * author.h:
8962         * author.C: author handling
8963
8964         * buffer.h:
8965         * buffer.C: add a per-buffer author list, with first entry as
8966           current author. Handle new .lyx tokens for change tracking. Output
8967           author list to .lyx file. Output dvipost stuff to .tex preamble.
8968           Bump lyx format to 222.
8969
8970         * bufferlist.h:
8971         * bufferlist.C: add setCurrentAuthor() to reset current author details
8972           in all buffers.
8973
8974         * bufferparams.h:
8975         * bufferparams.C: add param for tracking
8976
8977         * bufferview_funcs.C: output change info in minibuffer
8978
8979         * Makefile.am:
8980         * changes.h:
8981         * changes.C: add change-tracking structure
8982
8983         * debug.h:
8984         * debug.C: add CHANGES debug flag
8985
8986         * lyxfind.h:
8987         * lyxfind.C: add code for finding the next change piece
8988
8989         * lyxrc.h:
8990         * lyxrc.C: add user_name and user_email
8991
8992         * lyxrow.h:
8993         * lyxrow.C: add a metric for the top of the text line
8994
8995         * lyxtext.h:
8996         * text.C: implement accept/rejectChange()
8997
8998         * lyxtext.h:
8999         * text.C: paint changebars. Paint new/deleted text in the chosen
9000         colours. Strike through deleted text.
9001
9002         * paragraph.h:
9003         * paragraph.C:
9004         * paragraph_pimpl.h:
9005         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9006           in the current change to the insert functions. Rework erase to
9007           mark text as deleted, adding an eraseIntern() and a range-based
9008           erase(). Implement per-paragraph change lookup and
9009           accept/reject.
9010
9011         * paragraph_funcs.C: Fixup paste for change tracking.
9012
9013         * tabular.C: mark added row/columns as new.
9014
9015         * text.C: fix rowLast() to never return -1. Don't allow
9016           spellchecking of deleted text. Track transpose changes. Don't
9017           allow paragraph break or merge where appropriate.
9018
9019         * text2.C: leave cursor at end of selection after a cut.
9020
9021 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9022
9023         * text.C (getLengthMarkerHeight):
9024         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9025         visible on screen too.
9026
9027 2003-02-07  John Levon  <levon@movementarian.org>
9028
9029         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9030
9031 2003-02-05  Angus Leeming  <leeming@lyx.org>
9032
9033         * lyxserver.C (read_ready): revert my patch of 11 September last year
9034         as it sends PC cpu through the roof. Presumably this means that
9035         the lyxserver will no longer run on an Alpha...
9036
9037 2003-01-30  Angus Leeming  <leeming@lyx.org>
9038
9039         * factory.C (createInset): create an InsetCommandParam of type "index"
9040         and use it to 'do the right thing'.
9041
9042         * text2.C (getStringToIndex): ensure that cursor position is always
9043         reset to the reset_cursor position.
9044
9045 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9046
9047         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9048         disabled.
9049
9050 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9051
9052         * bufferview.C:
9053         * lyxcb.C:
9054         * lyxfunc.C: Output messages with identical spelling, punctuation,
9055         and spaces
9056
9057 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9058
9059         * MenuBackend.C (expandFormats): List only viewable export formats
9060         in "View" menu
9061
9062         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9063         message
9064
9065         * lyxfunc.C (getStatus): Make sure that formats other than
9066         "fax" can also be disabled
9067
9068 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9069
9070         * text3.C (dispatch): put the lfuns that insert insets in 3
9071         groups, and call doInsertInset with appropriate arguments.
9072         (doInsertInset): new function, that creates an inset and inserts
9073         it according to some boolean parameters.
9074
9075 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * buffer.C (readFile): remember to pass on 'par' when calling
9078         readFile recursively.
9079
9080 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9081
9082         * MenuBackend.C (expandFormats): add "..." to import formats.
9083
9084 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9085
9086         * paragraph.C (asString): Remove XForms RTL hacks.
9087
9088 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9089         * buffer.C: fix typo
9090
9091 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * Makefile.am (LIBS): delete var
9094         (lyx_LDADD): add @LIBS@ here instead.
9095
9096 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9097
9098         * Clarify the meaning of "wheel mouse jump"
9099
9100 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9101
9102         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9103         tabular in a float
9104
9105 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9106
9107         * importer.C (Loaders): do not preallocate 3 elements in the
9108         vector, since one ends up with 6 elements otherwise
9109
9110 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9111
9112         * DepTable.C (write): write the file name as last element of the
9113         .dep file (because it may contain spaces)
9114         (read): read info in the right order
9115
9116 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9117
9118         * paragraph_pimpl.C (simpleTeXBlanks):
9119         (simpleTeXSpecialChars):
9120         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9121
9122         * tabular.C (latex): add some missing case statements. Reindent.
9123
9124         * MenuBackend.C (expandToc): remove unused variable.
9125
9126 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9127
9128         * LColor.C:
9129         * LaTeX.C:
9130         * LyXAction.C:
9131         * MenuBackend.C:
9132         * buffer.C:
9133         * exporter.C:
9134         * lyxfunc.C:
9135         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9136         and the like.
9137
9138 2003-01-05  John Levon  <levon@movementarian.org>
9139
9140         * BufferView.h:
9141         * BufferView.C: add getEncoding()
9142
9143         * kbsequence.h:
9144         * kbsequence.C: do not store last keypress
9145
9146         * lyxfunc.h:
9147         * lyxfunc.C: store last keypress here instead. Pass encoding
9148           to getISOEncoded()
9149
9150 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9151
9152         * lyx_main.C (init): remove annoying error message when following
9153         symbolic links (bug #780)
9154
9155 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9156
9157         * text.C (insertChar):
9158         * lyxrc.C (getDescription): remove extra spaces
9159
9160 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9161
9162         * lyxrc.C (getDescription): remove extra spaces
9163
9164 2002-12-20  John Levon  <levon@movementarian.org>
9165
9166         * text3.C: hack fix for page up/down across tall rows
9167
9168 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9169
9170         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9171         not been invoked
9172
9173 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9174
9175         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9176         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9177         thesaurus is not compiled in
9178
9179 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9180
9181         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9182
9183 2002-12-16  Angus Leeming  <leeming@lyx.org>
9184
9185         * lyxrc.[Ch]:
9186         * lyx_main.C (init): remove override_x_deadkeys stuff.
9187
9188 2002-12-12  John Levon  <levon@movementarian.org>
9189
9190         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9191           insert. Only remove shift modifier under strict
9192           circumstances.
9193
9194 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9195
9196         * MenuBackend.C (expandToc): fix crash.
9197
9198 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9199
9200         * MenuBackend.C (expandToc): gettext on float names.
9201
9202 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9203
9204         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9205         implement bool empty() [bug 490]
9206
9207 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9208
9209         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9210
9211 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * several files: ws changes
9214
9215 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9216
9217         * text2.C (setCounter): clean up a bit, use boost.format.
9218         (updateCounters): initialize par upon declaration.
9219
9220         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9221         if the layout exists. We do not just store the layout any more.
9222         (SwitchLayoutsBetweenClasses): use boost.format
9223
9224 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9225
9226         * converter.C (convert): if from and to files are the same, use a
9227         temporary files as intermediary
9228
9229 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9230
9231         * commandtags.h:
9232         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9233
9234 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9235
9236         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9237
9238 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9239
9240         * tabular.C (asciiPrintCell): use string(size, char) instead of
9241         explicit loop.
9242
9243         * sgml.C (openTag): fix order of arguments to string constructor
9244         (closeTag): ditto
9245
9246         * lyxfunc.C (dispatch): use boost.format
9247
9248         * lots of files: change "c" -> 'c'
9249
9250 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9251
9252         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9253
9254 2002-11-25  Angus Leeming  <leeming@lyx.org>
9255
9256         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9257
9258         * lyx_main.C (init): compile fix.
9259
9260 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9261
9262         * lyx_cb.C (start): boost.formatify
9263         do not include <iostream>
9264
9265         * lengthcommon.C: ws only
9266
9267         * boost-inst.C,BoostFormat.h: add more explict instantations
9268
9269 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9270
9271         * lots of files: handle USE_BOOST_FORMAT
9272
9273 2002-11-21  John Levon  <levon@movementarian.org>
9274
9275         * pspell.C: fix compile
9276
9277 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * lyxfunc.C (dispatch): use boost::format
9280         (open): ditto
9281         (doImport): ditto
9282
9283         * lyxfont.C (stateText): use boost::format
9284
9285         * lyx_main.C (LyX): use boost::format
9286         (init): ditto
9287         (queryUserLyXDir): ditto
9288         (readRcFile): ditto
9289         (parse_dbg): ditto
9290         (typedef boost::function): use the recommened syntax.
9291
9292         * importer.C (Import): use boost::format
9293
9294         * debug.C (showLevel): use boost::format
9295
9296         * converter.C (view): use boost::format
9297         (convert): ditto
9298         (move): ditto
9299         (scanLog): ditto
9300
9301         * bufferview_funcs.C (currentState): use boost::format
9302
9303         * bufferlist.C (emergencyWrite): use boost::format
9304
9305         * buffer.C (readLyXformat2): use boost::format
9306         (parseSingleLyXformat2Token): ditto
9307
9308         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9309
9310         * LaTeX.C (run): use boost::format
9311
9312         * Chktex.C (scanLogFile): use boost::format
9313
9314         * BufferView_pimpl.C (savePosition): use boost::format
9315         (restorePosition): ditto
9316         (MenuInsertLyXFile): ditto
9317
9318         * BoostFormat.h: help file for explicit instation.
9319
9320 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9321
9322         * tabular.C (latex): Support for block alignment in fixed width
9323         columns.
9324
9325 2002-11-17  John Levon  <levon@movementarian.org>
9326
9327         * BufferView_pimpl.C:
9328         * lyx_cb.C:
9329         * lyxfunc.C: split filedialog into open/save
9330
9331 2002-11-08  Juergen Vigna  <jug@sad.it>
9332
9333         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9334         by my last patch (hopefully).
9335
9336 2002-11-08  John Levon  <levon@movementarian.org>
9337
9338         * iterators.h:
9339         * iterators.C:
9340         * buffer.h:
9341         * buffer.C:
9342         * paragraph.h:
9343         * paragraph.C:
9344         * toc.h:
9345         * toc.C: ParConstIterator, and use it (from Lars)
9346
9347 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9348
9349         * lyxtextclass.[Ch]: revise and add doxygen comments
9350
9351 2002-11-07  John Levon  <levon@movementarian.org>
9352
9353         * text.C: fix progress value for spellchecker
9354
9355         * toc.C: fix navigate menu for insetwrap inside minipage
9356
9357         * paragraph_funcs.C: added FIXME for suspect code
9358
9359 2002-11-07  John Levon  <levon@movementarian.org>
9360
9361         * BufferView_pimpl.C: fix redrawing of insets
9362           on buffer switch
9363
9364 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9365
9366         * text2.C (updateCounters): fix bug 668
9367
9368 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9369
9370         * text3.C (dispatch): Do not make the buffer dirty when moving the
9371         cursor.
9372
9373 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * vc-backend.C: STRCONV
9376         (scanMaster): ditto
9377
9378         * text2.C (setCounter): STRCONV
9379
9380         * paragraph.C (asString): STRCONV
9381
9382         * lyxlength.C (asString): STRCONV
9383         (asLatexString): ditto
9384
9385         * lyxgluelength.C (asString): STRCONV
9386         (asLatexString): ditto
9387
9388         * lyxfunc.C (dispatch): STRCONV
9389         (open): ditto
9390
9391         * lyxfont.C (stateText): STRCONV
9392
9393         * importer.C (Import): STRCONV
9394
9395         * counters.C (labelItem): STRCONV
9396         (numberLabel): ditto
9397         (numberLabel): remove unused ostringstream o
9398
9399         * chset.C: STRCONV
9400         (loadFile): ditto
9401
9402         * bufferview_funcs.C (currentState): STRCONV
9403
9404         * buffer.C (readFile): STRCONV
9405         (asciiParagraph): ditto
9406         (makeLaTeXFile): ditto
9407
9408         * Spacing.C (writeEnvirBegin): STRCONV
9409
9410         * LaTeXFeatures.C (getLanguages): STRCONV
9411         (getPackages): ditto
9412         (getMacros): ditto
9413         (getBabelOptions): ditto
9414         (getTClassPreamble): ditto
9415         (getLyXSGMLEntities): ditto
9416         (getIncludedFiles): ditto
9417
9418         * LaTeX.C: STRCONV
9419         (run): ditto
9420         (scanAuxFile): ditto
9421         (deplog): ditto
9422
9423         * LString.h: add the STRCONV macros
9424
9425         * BufferView_pimpl.C (savePosition): STRCONV
9426         (restorePosition): ditto
9427         (MenuInsertLyXFile): ditto
9428
9429         * vc-backend.C (scanMaster): change from submatch[...] to
9430         submatch.str(...)
9431
9432         * funcrequest.C: include config.h
9433
9434         * factory.C: include config.h
9435
9436         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9437
9438         * box.C: include config.h
9439
9440         * LaTeX.C (scanAuxFile): change from submatch[...] to
9441         submatch.str(...)
9442         (deplog): ditto
9443
9444 2002-10-25  Angus Leeming  <leeming@lyx.org>
9445
9446         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9447
9448         * ispell.[Ch] (setError): new method.
9449         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9450         Use setError() insetead of goto END.
9451
9452         * lyx_cb.C (AutoSave): move out child process into new class
9453         AutoSaveBuffer.
9454
9455 2002-10-30  John Levon  <levon@movementarian.org>
9456
9457         * text3.C: make start appendix undoable
9458
9459 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9460
9461         * lyxlength.C (inPixels): Fix returned value.
9462
9463         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9464         environment.
9465
9466 2002-10-24  Angus Leeming  <leeming@lyx.org>
9467
9468         * lyxgluelength.h: no need to forward declare BufferParams
9469         or BufferView, so don't.
9470
9471 2002-10-21  John Levon  <levon@movementarian.org>
9472
9473         * BufferView.C: menuUndo ->undo, redo
9474
9475         * BufferView.h: document, remove dead, make some methods private
9476
9477         * paragraph_funcs.h:
9478         * paragraph_funcs.C:
9479         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9480
9481         * buffer.h:
9482         * buffer.C:
9483         * sgml.h:
9484         * sgml.C: move sgml open/close tag into sgml.C
9485
9486         * bufferview_funcs.h: unused prototype
9487
9488         * lyxfunc.h:
9489         * lyxfunc.C: remove unused
9490
9491         * lyxtext.h:
9492         * text.C: remove unused
9493
9494 2002-10-21  John Levon  <levon@movementarian.org>
9495
9496         * BufferView.h:
9497         * BufferView.C:
9498         * BufferView_pimpl.h:
9499         * BufferView_pimpl.C: fix mouse wheel handling based on
9500           patch from Darren Freeman
9501
9502 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9503
9504         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9505
9506 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9507
9508         * lyxlength.C (inPixels): Fix hanfling of negative length.
9509         Fix LyXLength::MU case.
9510
9511 2002-10-16  John Levon  <levon@movementarian.org>
9512
9513         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9514
9515 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9516
9517         * converter.C (view): add support for $$i (file name) and $$p
9518         (file path) for the viewer command. If $$i is not specified, then
9519         it is appended to the command (for compatibility with old syntax)
9520
9521 2002-10-14  Juergen Vigna  <jug@sad.it>
9522
9523         * undo_funcs.C (textHandleUndo): alter the order in which the
9524         new undopar is added to the LyXText, as we have to set first
9525         the right prev/next and then add it as otherwise the rebuild of
9526         LyXText is not correct. Also reset the cursor to the right paragraph,
9527         with this IMO we could remove the hack in "redoParagraphs()".
9528
9529 2002-10-09  Angus Leeming  <leeming@lyx.org>
9530
9531         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9532         to turn off an optimisation if a new inset is to be inserted.
9533
9534 2002-10-11 André Pönitz <poenitz@gmx.net>
9535
9536         * lyxtext.h: make some functions public to allow access
9537         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9538
9539 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9540
9541         * text3.C (dispatch): when changing layout, avoid an infinite loop
9542         [bug #652]
9543
9544 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9545
9546         * lyxrc.C (read): treat a viewer or converter command of "none" as
9547         if it were empty.
9548
9549         * MenuBackend.C (expandFormats): for an update, also allow the
9550         formats that are not viewable
9551
9552         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9553         script if it is newer than the lyxrc.defaults in user directory
9554
9555 2002-10-07 André Pönitz <poenitz@gmx.net>
9556
9557         * text.C: Vitaly Lipatov's small i18n fix
9558
9559 2002-09-25  Angus Leeming  <leeming@lyx.org>
9560
9561         * ispell.h: doxygen fix.
9562
9563 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9564
9565         * buffer.h (readFile): Add a new argument to the method, to allow
9566         reading of old-format templates.
9567
9568 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9569
9570         * toc.C (getTocList): Get TOC from InsetWrap.
9571
9572 2002-09-16  John Levon  <levon@movementarian.org>
9573
9574         * lyxfunc.C: check tabular for cut/copy too
9575
9576 2002-09-12  John Levon  <levon@movementarian.org>
9577
9578         * LyXAction.C: tidy
9579
9580         * factory.h:
9581         * factory.C: add header
9582
9583         * paragraph_funcs.h:
9584         * paragraph_funcs.C: cleanup
9585
9586 2002-09-11  John Levon  <levon@movementarian.org>
9587
9588         * PrinterParams.h: odd/even default to true
9589
9590 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9591
9592         * PrinterParams.h: update printer parameters for new xforms dialog
9593
9594 2002-09-11  Angus Leeming  <leeming@lyx.org>
9595
9596         * lyxserver.C (read_ready): re-write to make it more transparent
9597         and to make it work in coherent fashion under Tru64 Unix.
9598
9599 2002-09-11  André Pönitz <poenitz@gmx.net>
9600
9601         * commandtags.h:
9602         * LyXAction.C:
9603         * text3.C: implement LFUN_WORDSEL
9604
9605 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9606
9607         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9608         make floatlist_ a boost::shared_ptr<FloatList>
9609
9610         * lyxtextclass.C: include FloatList.h
9611         (LyXTextClass): initialize floatlist_
9612         (TextClassTags): add TC_NOFLOAT
9613         (Read): match "nofloat" to TC_NOFLOAT and use it.
9614         (readFloat): modify call to floatlist_
9615         (floats): ditto
9616         (floats): ditto
9617
9618         * FloatList.[Ch] (FloatList): remove commented out float
9619         initialization.
9620         (erase): new function
9621
9622 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9623
9624         * MenuBackend.C (expandToc): fix crash when there is no document
9625         open
9626
9627 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9628
9629         * many files: Add insetwrap.
9630
9631 2002-09-09  John Levon  <levon@movementarian.org>
9632
9633         * text2.C: remove confusing and awkward depth wraparound
9634
9635 2002-09-09  John Levon  <levon@movementarian.org>
9636
9637         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9638
9639         * buffer.h:
9640         * buffer.C: remove getIncludeonlyList()
9641
9642         * paragraph.C:
9643         * lyxfunc.C: remove headers
9644
9645 2002-09-09  Juergen Vigna  <jug@sad.it>
9646
9647         * text.C (getColumnNearX): fix form Michael this is most
9648         probably a cut&paste bug.
9649
9650 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9651
9652         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9653
9654         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9655         references, ws changes.
9656
9657         * text2.C (init): update counters after init
9658         (insertParagraph): no need to set counter on idividual paragraphs.
9659         (setCounter): access the counters object in the textclass object
9660         on in the buffer object.
9661         (updateCounters): ditto
9662
9663         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9664         shared_ptr<Counters> to avoid loading counters.h in all
9665         compilation units.
9666         (LyXTextClass): initialize ctrs_
9667         (TextClassTags): add TC_COUNTER, and ...
9668         (Read): use it here.
9669         (CounterTags): new tags
9670         (readCounter): new function
9671         (counters): new funtion
9672         (defaultLayoutName): return a const reference
9673
9674         * counters.C (Counters): remove contructor
9675         (newCounter): remove a couple of unneeded statements.
9676         (newCounter): simplify a bit.
9677         (numberLabel): some small formatting changes.
9678
9679         * buffer.[Ch]: remove all traces of counters, move the Counters
9680         object to the LyXTextClass.
9681
9682 2002-09-06  Alain Castera  <castera@in2p3.fr>
9683
9684         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9685         package to set the horizontal alignment on fixed width columns.
9686
9687         * lyx_sty.C:
9688         * lyx_sty.h: added tabularnewline macro def.
9689
9690         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9691
9692 2002-09-06  John Levon  <levon@movementarian.org>
9693
9694         * LyXAction.C: tooltips for sub/superscript
9695
9696         * MenuBackend.C: a bit more verbose
9697
9698         * lyxfunc.C: tiny clean
9699
9700         * undo_funcs.C: document undo_frozen
9701
9702 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9703
9704         * counters.C (Counters): add missing algorithm counter.
9705
9706         * text2.C (setCounter): lookup the counter with layouts latexname
9707         instead of by section number.
9708         (setCounter): use a hackish way to lookup the correct enum
9709         counter.
9710         a float name->type change
9711         reset enum couners with counter name directly instead of depth value.
9712
9713         * counters.C (Counters): remove the push_backs, change to use the
9714         float type not the float name.
9715         (labelItem): remove unused string, float name->type change
9716
9717         * counters.h: don't include vector, loose the enums and sects vectors
9718
9719 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9720
9721         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9722         (Read): add float->TC_FLOAT to textclassTags
9723         (Read): and handle it in the switch
9724         (readFloat): new function
9725
9726         * FloatList.C (FloatList): comment out the hardcoded float
9727         definitions.
9728
9729         * lyxlayout.h: ws change.
9730
9731 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9732
9733         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9734
9735 2002-09-03  Angus Leeming  <leeming@lyx.org>
9736
9737         * BufferView_pimpl.h: qualified name is not allowed in member
9738         declaration: WorkArea & Pimpl::workarea() const;
9739
9740         * factory.C: added using std::endl directive.
9741
9742         * text3.C: added using std::find and std::vector directives.
9743
9744 2002-08-29  André Pönitz <poenitz@gmx.net>
9745
9746         * lyxtext.h:
9747         * text2.C: remove unused member number_of_rows
9748
9749         * Makefile.am:
9750         * BufferView2.C: remove file, move contents to...
9751         * BufferView.C: ... here
9752
9753         * BufferView_pimpl.C:
9754         * factory.C: move more inset creation to factory
9755
9756         * vspace.C: avoid direct usage of LyXText, ws changes
9757
9758         * BufferView.[Ch]:
9759                 don't provide direct access to WorkArea, use two simple
9760                 acessors haveSelction() and workHeight() instead
9761
9762
9763 2002-08-29  John Levon  <levon@movementarian.org>
9764
9765         * BufferView_pimpl.C (dispatch): do not continue when
9766           no buffer
9767
9768 2002-08-28  André Pönitz <poenitz@gmx.net>
9769
9770         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9771
9772         * BufferView.h:
9773         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9774
9775 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9776
9777         * buffer.C: increment LYX_FORMAT to 221
9778
9779         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9780         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9781
9782         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9783
9784         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9785
9786 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9787
9788         * factory.C (createInset): use LyXTextClass::floats
9789
9790         * MenuBackend.C (expandFloatListInsert):
9791         (expandFloatInsert):
9792         (expandToc):
9793
9794         * text2.C (setCounter):
9795
9796         * LaTeXFeatures.C (useFloat):
9797         (getFloatDefinitions):
9798
9799         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9800
9801         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9802         floatlist_, with accessor floats().
9803
9804         * FloatList.h: remove global FloatList
9805
9806 2002-08-26  André Pönitz <poenitz@gmx.net>
9807
9808         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9809
9810         * BufferView.h:
9811         * BufferView2.C:
9812         * BufferView_pimpl.C:
9813         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9814
9815 2002-08-25  John Levon  <levon@movementarian.org>
9816
9817         * LyXAction.C: fix margin note description
9818
9819 2002-08-24  John Levon  <levon@movementarian.org>
9820
9821         * buffer.C:
9822         * bufferlist.C:
9823         * bufferview_funcs.C:
9824         * lyxfont.C:
9825         * undo_funcs.C: cleanups
9826
9827         * lyxfunc.C: disable CUT/COPY when no selection
9828
9829 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9830
9831         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9832         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9833
9834         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9835         Add backward compatibility to "mono", "gray" and "no".
9836
9837 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9838
9839         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9840         (and file_format >= 200).
9841
9842 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9843
9844         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9845
9846 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9847
9848         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9849
9850 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9851
9852         * BufferView_pimpl.C:
9853         * LyXAction.C:
9854         * buffer.C:
9855         * commandtags.h:
9856         * lyxfunc.C:
9857         * paragraph.[Ch]:
9858         * text2.C:
9859         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9860         inset and code to make it  work with the paragraph code. The inset
9861         can be anywhere in the paragraph, but will only do the expected
9862         thing in LaTeX if the layout file contains the parameter line
9863                         OptionalArgs    1
9864         (or more generally, a nonzero value) for that layout.
9865
9866 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9867
9868         * paragraph.h: remove the declaration of undefined counters class
9869         function.
9870
9871 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9872
9873         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9874         Dr. Richard Hawkins.
9875
9876 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9877
9878         * paragraph_funcs.h: remove some unneeded includes
9879
9880         * text.C (backspace): pasteParagraph now in global scipe
9881
9882         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9883         (pasteSelection): ditto
9884
9885         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9886         * paragraph_funcs.C (pasteParagraph): ... here
9887
9888 2002-08-20  André Pönitz <poenitz@gmx.net>
9889
9890         * commandtags.h: new LFUNs for swapping/copying table row/colums
9891
9892         * LyXAction.C:
9893         * lyxfunc.C: support for new lfuns
9894
9895 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9896
9897         * tabular.C:
9898         * buffer.[Ch]: remove NO_COMPABILITY stuff
9899
9900 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9901
9902         * boost.C (throw_exception): new file, with helper function for
9903         boost compiled without exceptions.
9904
9905         * paragraph.h:
9906         * lyxlength.C:
9907         * buffer.C:
9908         * ParameterStruct.h:
9909         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9910
9911         * bufferlist.C (emergencyWriteAll): use boost bind
9912
9913         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9914
9915         * text.C: include paragraph_funcs.h
9916         (breakParagraph): breakParagraph is now in global scope
9917
9918         * paragraph_funcs.[Ch]: new files
9919
9920         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9921         global scope
9922
9923         * buffer.C: include paragraph_funcs.h
9924         (insertStringAsLines): breakParagraph is now in global scope
9925
9926         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9927         paragraph_funcs.C
9928
9929         * CutAndPaste.C: include paragraph_funcs.h
9930         (cutSelection): breakParagraphConservative is now in global scope
9931         (pasteSelection): ditto
9932
9933         * buffer.h: declare oprator== and operator!= for
9934         Buffer::inset_iterator
9935
9936         * bufferlist.C (emergencyWrite): don't use fmt(...)
9937
9938         * text3.C: add using std::endl
9939
9940         * BufferView.C (moveCursorUpdate): remove default arg
9941
9942 2002-08-20  André Pönitz <poenitz@gmx.net>
9943
9944         * buffer.[Ch]: move inline functions to .C
9945
9946         * BufferView2.C:
9947         * BufferView_pimpl.C:
9948         * text.C:
9949         * buffer.[Ch]: use improved inset_iterator
9950
9951         * buffer.C:
9952         * paragraph.[Ch]: write one paragraph at a time
9953
9954 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9955
9956         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9957         style if style is not specified.
9958
9959 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9960
9961         * text2.C (setCounter): when searching for right label for a
9962         caption, make sure to recurse to parent insets (so that a caption
9963         in a minipage in a figure float works) (bug #568)
9964
9965 2002-08-20  André Pönitz <poenitz@gmx.net>
9966
9967         * text3.C: new file for LyXText::dispatch() and helpers
9968
9969         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9970
9971         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9972
9973 2002-08-19  André Pönitz <poenitz@gmx.net>
9974
9975         * lyxtext.h:
9976         * text.C: new LyXText::dispatch()
9977
9978         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9979
9980 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9981
9982         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9983
9984         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9985         Hebrew text.
9986
9987 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * Makefile.am: use $(variables) instead of @substitutions@
9990
9991 2002-08-15  André Pönitz <poenitz@gmx.net>
9992
9993         * lyxfunc.C:
9994         * BufferView_pimpl.C: streamlining mathed <-> outer world
9995         interaction
9996
9997         * commandtags.h:
9998         * LyXAction.C: remove unused LFUN_MATH
9999
10000 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10001
10002         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10003
10004 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10005
10006         * paragraph.C (Paragraph): reformat a bit
10007         (cutIntoMinibuffer): use builtin InsetList function instad of
10008         doing it manually.
10009         (getInset): ditto
10010
10011         * buffer.C: include boost/bind.hpp, add using std::for_each
10012         (writeFileAscii): use ParagraphList iterators
10013         (validate): use for_each for validate traversal of paragraphs
10014         (getBibkeyList): use ParagraphList iterators
10015         (resizeInsets): use for_each to resizeInsetsLyXText for all
10016         paragraphs.
10017         (getParFromID): use ParagraphList iterators
10018
10019         * BufferView2.C (lockInset): use paragraph list and iterators
10020
10021 2002-08-14  John Levon  <levon@movementarian.org>
10022
10023         * lyxserver.C: remove spurious xforms include
10024
10025 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10026
10027         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10028
10029 2002-08-13  André Pönitz <poenitz@gmx.net>
10030
10031         * LyXAction.[Ch]:
10032         * lyxfunc.C: further cleaning
10033
10034 2002-08-13  André Pönitz <poenitz@gmx.net>
10035
10036         * funcrequest.h: new constructor
10037
10038         * funcrequest.C: move stuff here from .h
10039
10040         * Makefile.am:
10041         * BufferView_pimpl.C:
10042         * LyXAction.C:
10043         * toc.C:
10044         * lyxfunc.C: subsequent changes
10045
10046         * lyxfunc.h: new view() member function
10047
10048         * lyxfunc.C: subsequent changes
10049
10050 2002-08-13  Angus Leeming  <leeming@lyx.org>
10051
10052         * BufferView2.C:
10053         * BufferView_pimpl.C:
10054         * buffer.C:
10055         * converter.C:
10056         * importer.C:
10057         * lyxfunc.C:
10058         * lyxvc.C:
10059         * toc.C:
10060         * vc-backend.C:
10061         changes due to the changed LyXView interface that now returns references
10062         to member variables not pointers.
10063
10064 2002-08-13  Angus Leeming  <leeming@lyx.org>
10065
10066         * WordLangTuple (word, lang_code): return references to strings,
10067         not strings.
10068
10069         * BufferView.h:
10070         * SpellBase.h:
10071         * lyxtext.h: forward-declare WordLangTuple.
10072
10073         * BufferView2.C:
10074         * ispell.C:
10075         * pspell.C:
10076         * text.C: #include "WordLangTuple.h".
10077
10078         * lyxtext.h:
10079         * text.C: (selectNextWordToSpellcheck): constify return type.
10080
10081 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10082
10083         * buffer.C:
10084         * buffer.h:
10085         * lyxtext.h:
10086         * paragraph.C:
10087         * paragraph_pimpl.h:
10088         * text.C:
10089         * text2.C:
10090         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10091         suggested by Angus.
10092         Made updateCounter always count from start of buffer, and removed
10093         second argument (par).
10094         Reverted floats number display to '#'. Perhaps I'll try again when the
10095         code base is sanitized a bit.
10096
10097 2002-08-12  Angus Leeming  <leeming@lyx.org>
10098
10099         * buffer.[Ch] (getLabelList): constify.
10100
10101 2002-08-07  André Pönitz <poenitz@gmx.net>
10102
10103         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10104
10105         * funcrequest.h: extension to keep mouse (x,y) position
10106
10107 2002-08-12  Juergen Vigna  <jug@sad.it>
10108
10109         * BufferView2.C (insertErrors): forbid undo when inserting error
10110         insets.
10111
10112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10113
10114 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10115
10116         * ParagraphList.[Ch]: new files
10117
10118         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10119
10120         * BufferView2.C (lockInset): ParagraphList changes
10121         * toc.C: ditto
10122         * text2.C: ditto
10123         * bufferlist.C: ditto
10124         * buffer.h: ditto
10125         * buffer.C: ditto
10126
10127 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10128
10129         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10130         unused class variable counter_,
10131
10132         * paragraph.[Ch] (getFirstCounter): delete unused function
10133
10134         * counters.C: include LAssert.h
10135         (reset): add a new function with no arg, change other version to
10136         not have def. arg and to not allow empty arg.
10137
10138         * text2.C (setCounter): remove empty arg from call to Counters::reset
10139
10140 2002-08-11  John Levon  <levon@movementarian.org>
10141
10142         * Makefile.am: add WordLangTuple.h
10143
10144 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10145
10146         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10147         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10148
10149         * insets/insettext.C: InsetList changes
10150
10151         * graphics/GraphicsSupport.C (operator()): InsetList changes
10152
10153         * toc.C (getTocList): InsetList changes
10154
10155         * paragraph_pimpl.[Ch]: InsetList changes
10156
10157         * paragraph.[Ch]: InsetList changes
10158
10159         * buffer.C (inset_iterator): InsetList changes
10160         (setParagraph): ditto
10161         * buffer.h (inset_iterator): ditto
10162         * iterators.C (operator++): ditto
10163         * iterators.h: ditto
10164
10165         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10166
10167         * InsetList.[Ch]: new files, most InsetList handling moved out of
10168         paragraph.C.
10169
10170         * BufferView2.C (removeAutoInsets): InsetList changes
10171         (lockInset): ditto
10172         (ChangeInsets): ditto
10173
10174 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10175
10176         * paragraph_pimpl.h (empty): new function
10177
10178         * paragraph.[Ch] (empty): new function
10179
10180         * other files: use the new Paragraph::empty function
10181
10182 2002-08-09  John Levon  <levon@movementarian.org>
10183
10184         * lyxtext.h: remove unused refresh_height
10185
10186 2002-08-09  John Levon  <levon@movementarian.org>
10187
10188         * Makefile.am:
10189         * sgml.h:
10190         * sgml.C:
10191         * buffer.C:
10192         * paragraph.h:
10193         * paragraph.C: move sgml char escaping out of paragraph
10194
10195         * paragraph.h:
10196         * paragraph.C: remove id setter
10197
10198         * buffer.C:
10199         * paragraph.C:
10200         * paragraph_pimpl.C: remove dead tex_code_break_column
10201
10202         * bufferview_funcs.C: small cleanup
10203
10204         * lyxfunc.C: remove dead proto
10205
10206         * lyxtext.h: make some stuff private. Remove some dead stuff.
10207
10208         * lyxgluelength.C: make as[LyX]String() readable
10209
10210 2002-08-08  John Levon  <levon@movementarian.org>
10211
10212         * LyXAction.h:
10213         * LyXAction.C:
10214         * MenuBackend.C:
10215         * ToolbarDefaults.C:
10216         * lyxfunc.C:
10217         * lyxrc.C:
10218         * toc.C: lyxaction cleanup
10219
10220 2002-08-08  John Levon  <levon@movementarian.org>
10221
10222         * BufferView2.C: small cleanup
10223
10224         * lyxfind.h:
10225         * lyxfind.C: move unnecessary header into the .C
10226
10227 2002-08-08  John Levon  <levon@movementarian.org>
10228
10229         * funcrequest.h: just tedious nonsense
10230
10231         * lyx_main.h:
10232         * lyx_main.C: cleanups
10233
10234         * buffer.C:
10235         * vspace.C: remove dead header lyx_main.h
10236
10237 2002-08-07  Angus Leeming  <leeming@lyx.org>
10238
10239         * Paragraph.[Ch]:
10240         * paragraph_pimpl.h:
10241         Forward declare class Counters in paragraph.h by moving the ctrs member
10242         variable into Paragraph::Pimpl.
10243         (counters): new method, returning a reference to pimpl_->ctrs.
10244
10245         * text2.C: ensuing changes.
10246
10247 2002-08-07  John Levon  <levon@movementarian.org>
10248
10249         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10250
10251         * BufferView_pimpl.C: announce X selection on double/triple
10252           click
10253
10254         * lyx_main.C: use correct bool in batch dispatch
10255
10256         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10257
10258 2002-08-07  André Pönitz <poenitz@gmx.net>
10259
10260         * funcrequest.h: new class to wrap a kb_action and its argument
10261
10262         * BufferView.[Ch]:
10263         * BufferView_pimpl[Ch]:
10264         * LaTeX.C:
10265         * LyXAction.[Ch]:
10266         * lyxfunc.[Ch]:
10267         * lyxrc.C: subsequent changes
10268
10269
10270 2002-08-07  John Levon  <levon@movementarian.org>
10271
10272         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10273           document options change.
10274
10275 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10276
10277         * counters.[Ch]
10278         * text2.C
10279         * paragraph.[Ch]
10280         * makefile.am: move counters functionality over from
10281         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10282
10283 2002-08-06  John Levon  <levon@movementarian.org>
10284
10285         * WordLangTuple.h: new file for word + language code tuple
10286
10287         * SpellBase.h:
10288         * pspell.h:
10289         * pspell.C:
10290         * ispell.h:
10291         * ispell.C:
10292         * lyxtext.h:
10293         * text.C:
10294         * text2.C:
10295         * BufferView.h:
10296         * BufferView2.C: use WordLangTuple
10297
10298         * layout.h:
10299         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10300
10301 2002-08-06  John Levon  <levon@movementarian.org>
10302
10303         * lyx_main.C: fix cmdline batch handling
10304
10305 2002-08-06  André Pönitz <poenitz@gmx.net>
10306
10307         * lyxrc.C: set default for show_banner to true
10308
10309 2002-08-06  John Levon  <levon@movementarian.org>
10310
10311         * pspell.C: fix a crash, and allow new aspell to work
10312
10313 2002-08-06  John Levon  <levon@movementarian.org>
10314
10315         * lyxfunc.C:
10316         * kbmap.C: small cleanup
10317
10318         * vspace.h:
10319         * vspace.C: add const
10320
10321 2002-08-05  John Levon  <levon@movementarian.org>
10322
10323         * LyXAction.C: back to tabular-insert
10324
10325 2002-08-04  John Levon  <levon@movementarian.org>
10326
10327         * BufferView.h:
10328         * BufferView.C: cosmetic change
10329
10330         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10331
10332         * bufferlist.C:
10333         * buffer.h:
10334         * buffer.C:
10335         * lyxcb.h:
10336         * lyxcb.C:
10337         * lyxserver.C:
10338         * lyxvc.C:
10339         * vc-backend.C:
10340         * BufferView2.C: purge all "Lyx" not "LyX" strings
10341
10342         * lyxcursor.h:
10343         * lyxcursor.C: attempt to add some documentation
10344
10345         * lyxfunc.C:
10346         * commandtags.h:
10347         * LyXAction.C:
10348         * ToolbarDefaults.C:
10349         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10350           merge with LFUN_TABULAR_INSERT
10351
10352         * Makefile.am:
10353         * SpellBase.h:
10354         * ispell.h:
10355         * ispell.C:
10356         * pspell.h:
10357         * pspell.C: split up i/pspell implementations into separate
10358           files, many cleanups
10359
10360         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10361
10362         * text2.C: some cleanup
10363
10364         * lyxfunc.C: don't check for isp_command == "none" any more, it
10365           didn't make any sense
10366
10367 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10368
10369         * counters.[Ch]
10370         * text2.C
10371         * paragraph.[Ch]
10372         * makefile.am: move counters functionality over
10373         from text2.C/paragraph.[Ch] to counters.[Ch], and
10374         make proper C++.
10375 2002-08-02  John Levon  <levon@movementarian.org>
10376
10377         * buffer.C: s/lyxconvert/lyx2lyx/
10378
10379 2002-08-02  Angus Leeming  <leeming@lyx.org>
10380
10381         * lyxlex.C: revert John's change as it breaks reading of the user
10382         preamble.
10383
10384 2002-08-02  Angus Leeming  <leeming@lyx.org>
10385
10386         * importer.C (Import):
10387         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10388         changes due to LyXView::view() now returning a boost::shared_ptr.
10389
10390 2002-08-02  John Levon  <levon@movementarian.org>
10391
10392         * lyxlex.C: small cleanup
10393
10394 2002-08-02  John Levon  <levon@movementarian.org>
10395
10396         * text2.C (status): small cleanup, no logic change
10397
10398 2002-08-01  John Levon  <levon@movementarian.org>
10399
10400         * buffer.h:
10401         * buffer.C (writeFile): don't output alerts, caller
10402           handles this
10403
10404         * bufferlist.C:
10405         * lyx_cb.C: from above
10406
10407         * lyxfunc.C: allow to open non-existent files
10408
10409 2002-07-31  John Levon  <levon@movementarian.org>
10410
10411         * lyxserver.C: don't let incidental errors get
10412           in the way (errno)
10413
10414 2002-07-30  John Levon  <levon@movementarian.org>
10415
10416         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10417
10418 2002-07-30  John Levon  <levon@movementarian.org>
10419
10420         * lyxserver.h:
10421         * lyxserver.C: remove I/O callback too
10422
10423 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10424
10425         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10426         log.
10427
10428 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10429
10430         * many files: strip,frontStrip -> trim,ltrim,rtrim
10431
10432 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10433
10434         * PrinterParams.h: remove extern containsOnly, and include
10435         support/lstrings.h instead.
10436
10437         * LaTeX.C (scanAuxFile): modify because of strip changes
10438         (deplog): ditto
10439         * buffer.C (makeLaTeXFile): ditto
10440         * bufferparams.C (writeFile): ditt
10441         * lyxfont.C (stateText): ditto
10442         * lyxserver.C (read_ready): ditto
10443         * vc-backend.C (scanMaster): ditto
10444
10445         * BufferView_pimpl.h: ws changes
10446
10447         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10448
10449 2002-07-26  André Pönitz <poenitz@gmx.net>
10450
10451         * kb_sequence.C: remove unnedred usings
10452
10453 2002-07-26  Juergen Vigna  <jug@sad.it>
10454
10455         * lyxfind.C (LyXReplace): we have to check better if the returned
10456         text is not of theLockingInset()->getLockingInset().
10457
10458 2002-07-25  Juergen Vigna  <jug@sad.it>
10459
10460         * lyxfind.C (LyXReplace): don't replace if we don't get the
10461         right LyXText.
10462
10463         * undo_funcs.C (createUndo): remove debugging code.
10464
10465 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10466
10467         * buffer.C (parseSingleLyXformat2Token): Use default placement
10468         when reading old floats.
10469
10470         * FloatList.C (FloatList): Change the default placement of figure
10471         and tables to "tbp".
10472
10473 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * MenuBackend.C: using std::max
10476
10477 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * MenuBackend.C (expandToc):
10480         (expandToc2): code moved from xforms menu frontend. It is now
10481         generic and TOCs are transparent to menu frontends.
10482
10483 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * toc.C (getTocList): protect against buf=0
10486
10487         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10488         Menu as first parameter. Now, this calls itself recursively to
10489         expand a whole tree (this will be useful for TOC handling)
10490         (expandFloatInsert): remove 'wide' version of floats
10491
10492         * MenuBackend.h (submenuname): returns the name of the submenu.
10493         (submenu): returns the submenu itself, provided it has been
10494         created by MenuBackend::expand
10495
10496 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10497
10498         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10499         insets which have noFontChange == true. (bug #172)
10500
10501 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10502
10503         * BufferView_pimpl.C: add connection objects and use them...
10504         (Pimpl): here.
10505
10506 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10507
10508         * MenuBackend.C (expandLastfiles):
10509         (expandDocuments):
10510         (expandFormats):
10511         (expandFloatListInsert):
10512         (expandFloatInsert):
10513         (expand): split expand in parts
10514
10515 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * lyx_gui.C: use lyx_gui::exit()
10518
10519 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10520
10521         * LyXAction.C: show the failing pseudo action
10522
10523 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * buffer.C (readFile): Run the lyxconvert script in order to read
10526         old files.
10527
10528 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10529
10530         * LyXAction.C:
10531         * commandtags.h:
10532         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10533
10534 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * LyXAction.C:
10537         * commandtags.h:
10538         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10539
10540 2002-07-22  Herbert Voss  <voss@lyx.org>
10541
10542         * lengthcommon.C:
10543         * lyxlength.[Ch]: add support for the vertical lengths
10544
10545 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10546
10547         * toc.[Ch]: std:: fixes
10548
10549 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10550
10551         * lyxrc.C: do not include lyx_main.h
10552
10553         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10554         for layouts
10555
10556         * lyxrc.C:
10557         * encoding.C:
10558         * bufferlist.C:
10559         * BufferView2.C: include "lyxlex.h"
10560
10561         * tabular.h:
10562         * bufferparams.h: do not #include "lyxlex.h"
10563
10564         * lyxtextclasslist.C (Add): remove method
10565         (classlist): renamed to classlist_
10566
10567         * paragraph_pimpl.C:
10568         * paragraph.C:
10569         * text2.C:
10570         * CutAndPaste.C:
10571         * bufferview_funcs.C:
10572         * bufferlist.C:
10573         * text.C:
10574         * LaTeXFeatures.C:
10575         * buffer.C:
10576         * toc.C (getTocList): use BufferParams::getLyXTextClass
10577
10578         * toc.C (getTocList): use InsetFloat::addToToc
10579
10580         * toc.[Ch]: new files, containing helper functions to handle table
10581         of contents
10582
10583         * lyxfunc.C (dispatch): no need to remove spaces around command
10584         given as a string
10585         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10586         first command of the sequence; it is not very clever, but I do not
10587         have a better idea, actually
10588
10589         * LyXAction.C (LookupFunc): make sure to remove space at the
10590         beginning and end of the command
10591
10592 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10593
10594         * MenuBackend.C (getMenubar): new method: return the menubar of
10595         this menu set
10596         (read): treat differently reading of menu and menubar (in
10597         particular, the menubar has no name now)
10598         (Menu::menubar): remove
10599
10600         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10601         saving is finished
10602
10603 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10604
10605         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10606         a bibitem inset in a RTL paragraph.
10607
10608 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * paragraph_pimpl.C: constify
10611
10612         * BufferView_pimpl.C:
10613         * LaTeX.C:
10614         * lyxfunc.C: fix dispatch in a nicer way
10615
10616 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10617
10618         * lyxfunc.C (dispatch):
10619         * BufferView_pimpl.C:
10620         * BufferView_pimpl.h:
10621         * BufferView.C:
10622         * BufferView.h: rename Dispatch() to dispatch()
10623
10624         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10625
10626         * lyxlayout.C (Read): honor DependsOn tag
10627
10628         * lyxlayout.[Ch] (depends_on): new method
10629
10630         * version.C.in: update lyx_docversion
10631
10632         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10633
10634         * paragraph.C (validate): remove from here...
10635         * paragraph_pimpl.C (validate): ... and move here
10636         (isTextAt): make it const
10637
10638         * buffer.C (getLists): ws cleanup
10639
10640 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10641
10642         * language.C (read): Use iso8859-1 encoding in latex_lang
10643         (this prevents LyX from crashing when using iso10646-1 encoding).
10644
10645 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10646
10647         * text2.C (toggleInset): if cursor is inside an inset, close the
10648         inset and leave cursor _after_ it
10649
10650 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * lyxfunc.C: move minibuffer completion handling out of here
10653
10654 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10655
10656         * BufferView_pimpl.C:
10657         * LaTeX.C: fix dispatch calls
10658
10659 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10660
10661         * text.C (drawChars): Fix Arabic text rendering.
10662
10663 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * LyXAction.C:
10666         * commandtags.h:
10667         * lyxfunc.C: remove message-push/pop
10668
10669         * lyxserver.C:
10670         * lyxfunc.h:
10671         * lyxfunc.C: rationalise some code by removing verboseDispatch
10672           in favour of a bool argument to dispatch()
10673
10674 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * lyx_main.C (init): make sure to read symlinks as absolute paths
10677
10678 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10679
10680         * lyxfunc.h:
10681         * lyxfunc.C: no need for commandshortcut to be a member
10682
10683 2002-07-15  André Pönitz <poenitz@gmx.net>
10684
10685         * converter.C: add support for $$s (scripts from lib/scripts dir)
10686         * lyx_main.C: white space
10687
10688 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * bufferlist.C:
10691         * lyxrc.h:
10692         * lyxrc.C: remove second exit confirmation
10693
10694 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * BufferView.h:
10697         * BufferView.C:
10698         * BufferView2.C:
10699         * BufferView_pimpl.h:
10700         * BufferView_pimpl.C:
10701         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10702
10703 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * MenuBackend.C (expand): add numeric shortcuts to document menu
10706
10707         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10708
10709 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * lyxfont.C (setLyXFamily):
10712         (setLyXSeries):
10713         (setLyXShape):
10714         (setLyXSize):
10715         (setLyXMisc):
10716         (lyxRead):
10717         * debug.C (value):
10718         * buffer.C (asciiParagraph): use ascii_lowercase
10719
10720 2002-07-15  Mike Fabian  <mfabian@suse.de>
10721
10722         * lyxlex_pimpl.C (search_kw):
10723         * lyxlex.C (getLongString):
10724         * converter.h (operator<):
10725         * converter.C (operator<):
10726         * buffer.C (parseSingleLyXformat2Token):
10727         (asciiParagraph):
10728         * ToolbarDefaults.C (read):
10729         * MenuBackend.C (checkShortcuts):
10730         (read):
10731         * LColor.C (getFromGUIName):
10732         (getFromLyXName): use the compare_ascii_no_case instead of
10733         compare_no_case, because in turkish, 'i' is not the lowercase
10734         version of 'I', and thus turkish locale breaks parsing of tags.
10735
10736 2002-07-16  Angus Leeming  <leeming@lyx.org>
10737
10738         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10739         now takes a Buffer const & argument.
10740
10741 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10742
10743         * BufferView.C (resize): check there's a buffer to resize
10744
10745 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * lyxfunc.C: remove dead code
10748
10749         * lyxserver.h:
10750         * lyxserver.C: use lyx_guii::set_read_callback
10751
10752 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10753
10754         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10755         an inset in a RTL paragraph.
10756
10757 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10758
10759         * lyxfunc.C: repaint after a font size update
10760
10761 2002-07-15  André Pönitz <poenitz@gmx.net>
10762
10763         * lyxlength.C: inBP should be able to return negative values
10764
10765 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * lyxfunc.C: use lyx_gui::update_fonts()
10768
10769 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * lyxfunc.C: use lyx_gui::update_color()
10772
10773 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10774
10775         * bufferlist.C:
10776         * lyxfunc.h:
10777         * lyxfunc.C:
10778         * lyxrc.h:
10779         * lyxrc.C: remove file->new asks for name option, and let
10780           buffer-new take an argument
10781
10782 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10783
10784         * BufferView_pimpl.C: remove unneeded extra repaint()
10785
10786 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * LyXAction.C: allow command-sequence with NoBuffer
10789
10790         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10791
10792 2002-07-10  Angus Leeming  <leeming@lyx.org>
10793
10794         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10795
10796 2002-07-09  Angus Leeming  <leeming@lyx.org>
10797
10798         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10799
10800 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * lengthcommon.h: whitespace
10803
10804         * lyxfunc.C: update scrollbar after goto paragraph
10805
10806         * lyxtext.h: factor out page break drawing, and fix it so
10807           page break/added space paints as selected nicely
10808
10809 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10810
10811         * BufferView_pimpl.C: add FIXMEs, clean up a little
10812
10813 2002-07-09  André Pönitz <poenitz@gmx.net>
10814
10815         * lyxfont.[Ch]: support for wasy symbols
10816
10817 2002-07-08  André Pönitz <poenitz@gmx.net>
10818
10819         * BufferView_pimpl.C: apply John's patch for #93.
10820
10821 2002-07-05  Angus Leeming  <leeming@lyx.org>
10822
10823         * BufferView_pimpl.C (buffer): generate previews if desired.
10824
10825         * LColor.h: add "preview" to the color enum.
10826
10827         * LColor.C (LColor): add a corresponding entry to the items array.
10828
10829         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10830         with this buffer.
10831
10832 2002-07-05  Angus Leeming  <leeming@lyx.org>
10833
10834         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10835         The body of the code is now in the method that is passed an ostream &
10836         rather than a file name.
10837         Pass an additional only_preamble parameter, useful for the forthcoming
10838         preview stuff.
10839
10840 2002-07-03  André Pönitz <poenitz@gmx.net>
10841
10842         * lyxfunc.C: simplify getStatus() a bit for math stuff
10843
10844 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10845
10846         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10847
10848 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * text.C (changeRegionCase): do not change case of all the
10851         document when region ends at paragraph end (bug #461)
10852
10853 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * paragraph.C (startTeXParParams):
10856         (endTeXParParams): add \protect when necessary
10857
10858 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10859
10860         * BufferView_pimpl.C (workAreaExpose): remove warning
10861
10862 2002-06-27  Angus Leeming  <leeming@lyx.org>
10863
10864         * Makefile.am: add lyxlayout_ptr_fwd.h.
10865
10866 2002-06-26  André Pönitz <poenitz@gmx.net>
10867
10868         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10869
10870 2002-06-25  Angus Leeming  <leeming@lyx.org>
10871
10872         * lyxfunc.C (dispatch): Comment out the call to
10873         grfx::GCache::changeDisplay. The method no longer exists now that the
10874         pixmap generation part of the graphics loader has been moved into
10875         InsetGraphics.
10876
10877 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10878
10879         * text2.C: layout as layout
10880
10881         * text.C: layout as layout
10882
10883         * tabular.C (OldFormatRead): layout as layout
10884
10885         * paragraph_pimpl.C (TeXDeeper): layout as layout
10886         (realizeFont): layout as layout
10887
10888         * paragraph.C (writeFile): layout as layout
10889         (validate): layout as layout
10890         (getFont): layout as layout
10891         (getLabelFont): layout as layout
10892         (getLayoutFont): layout as layout
10893         (breakParagraph): layout as layout
10894         (stripLeadingSpaces): layout as layout
10895         (getEndLabel): layout as layout
10896         (getMaxDepthAfter): layout as layout
10897         (applyLayout): layout as layout
10898         (TeXOnePar): layout as layout
10899         (simpleTeXOnePar): layout as layout
10900         (TeXEnvironment): layout as layout
10901         (layout): layout as layout
10902         (layout): layout as layout
10903
10904         * lyxtextclass.C (compare_name): new functor to work with
10905         shared_ptr, layout as layout
10906         (Read): layout as layout
10907         (hasLayout): layout as layout
10908         (operator): layout as layout
10909         (delete_layout): layout as layout
10910         (defaultLayout): layout as layout
10911
10912         * lyxlayout_ptr_fwd.h: new file
10913
10914         * lyxlayout.C (Read): layout as layout
10915
10916         * lyx_cb.C (MenuInsertLabel): layout as layout
10917
10918         * bufferlist.C (newFile): layout as layout
10919
10920         * buffer.C (readLyXformat2): layout as layout
10921         (parseSingleLyXformat2Token): layout as layout
10922         (insertStringAsLines): layout as layout
10923         (asciiParagraph): layout as layout
10924         (latexParagraphs): layout as layout
10925         (makeLinuxDocFile): layout as layout
10926         (simpleLinuxDocOnePar): layout as layout
10927         (makeDocBookFile): layout as layout
10928         (simpleDocBookOnePar): layout as layout
10929         (getLists): layout as layout
10930
10931         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10932
10933         * CutAndPaste.C (cutSelection): layout as layout
10934         (pasteSelection): layout as layout
10935         (SwitchLayoutsBetweenClasses): layout as layout
10936
10937         * BufferView_pimpl.C (Dispatch): layout as layout
10938         (smartQuote): layout as layout
10939
10940         * BufferView2.C (unlockInset): layout as layout
10941
10942 2002-06-24  André Pönitz <poenitz@gmx.net>
10943
10944         * lyxfunc.C: fix #487
10945
10946 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * lyxrc.h:
10949         * lyxrc.C:
10950         * lyxfunc.C: remove display_shortcuts, show_banner
10951
10952 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10953
10954         * Buffer_pimpl.C: oops, update on resize
10955
10956 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10957
10958         * buffer.C:
10959         * converter.C:
10960         * exporter.C:
10961         * lyxfunc.C:
10962         * BufferView.h:
10963         * BufferView.C: use repaint()
10964
10965         * BufferView_pimpl.h:
10966         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10967           as it's a clearer description. Remove superfluous
10968           redraws.
10969
10970 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10971
10972         * text.C: fix bug 488. Not ideal, but getting
10973           getWord() to work properly for the insets that
10974           matter is more difficult ...
10975
10976 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10977
10978         * BufferView_pimpl.C:
10979         * LyXAction.C:
10980         * commandtags.h:
10981         * lyxfunc.C: remove the six million index lyxfuncs to just
10982           one, and DTRT (bug 458)
10983
10984 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * BufferView.h:
10987         * BufferView.C:
10988         * BufferView_pimpl.h:
10989         * BufferView_pimpl.C: clean up resize() stuff,
10990           and unnecessary updateScreen()s
10991
10992 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * BufferView.h:
10995         * BufferView.C:
10996         * BufferView_pimpl.h:
10997         * BufferView_pimpl.C:
10998         * lyxfind.h:
10999         * lyxfind.C:
11000         * minibuffer.C: remove focus management of workarea,
11001           not needed. Use screen's greyOut()
11002
11003 2002-06-17  Herbert Voss  <voss@lyx.org>
11004
11005         * converter.C: (convert) do not post a message, when converting
11006         fails, let the calling function decide what to do in this case
11007
11008 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11009
11010         * lyxfunc.C: tidy up a little
11011
11012 2002-06-16    <alstrup@diku.dk>
11013
11014         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11015         Got rid of FORMS_H_LOCATION include. Now we are
11016         GUII.
11017
11018 2002-06-15  LyX Development team  <lyx@rilke>
11019
11020         * buffer.[Ch] (sgmlOpenTag):
11021         (sgmlCloseTag): Added support for avoiding pernicious mixed
11022         content. Return number of lines written.
11023
11024         (makeLinuxDocFile):
11025         (makeDocBookFile): Fixed calls to sgml*Tag.
11026         Simple white space clean.
11027
11028         (simpleDocBookOnePar): Simple white space clean.
11029
11030         * tabular.[Ch] (docBook): Renamed to docbook and got another
11031         argument to related with the pernicious mixed content.
11032
11033         (docbookRow): Fixed calls for docbook inset method.
11034
11035 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11036
11037         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11038         so it's X11 independent.
11039
11040         * kb*.[Ch]: ditto.
11041
11042         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11043
11044 2002-06-15  Lyx Development team  <lyx@electronia>
11045
11046         * intl.h: Renamed getTrans to getTransManager.
11047
11048 2002-06-14  Angus Leeming  <leeming@lyx.org>
11049
11050         * Makefile.am: nuke forgotten stl_string_fwd.h.
11051
11052 2002-06-12  Angus Leeming  <leeming@lyx.org>
11053
11054         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11055
11056 2002-06-13  Angus Leeming  <leeming@lyx.org>
11057
11058         * LaTeX.C:
11059         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11060
11061 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11062
11063         * kbmap.C (getiso): add support for cyrillic and greek
11064
11065 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11066
11067         * BufferView.h:
11068         * BufferView.C:
11069         * BufferView_pimpl.h:
11070         * BufferView_pimpl.C: move bogus scrolling logic
11071           to xforms
11072
11073 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * lyxfunc.C:
11076         * BufferView_pimpl.C: view->resize() change
11077
11078 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * BufferView_pimpl.C: topCursorVisible
11081           prototype change
11082
11083 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * Makefile.am:
11086         * lyx_gui.h:
11087         * lyx_gui.C: move to frontends/
11088
11089         * main.C:
11090         * lyx_main.h:
11091         * lyx_main.C: changes from above
11092
11093 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * intl.C:
11096         * intl.h:
11097         * kbmap.C:
11098         * kbsequence.C:
11099         * lyx_cb.C:
11100         * lyx_main.C: minor tidy
11101
11102 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11103
11104         * BufferView_pimpl.h:
11105         * BufferView_pimpl.C:
11106         * BufferView.h:
11107         * BufferView.C: make painter() const,
11108           remove dead code
11109
11110         * BufferView2.C: use screen() accessor
11111
11112         * lyx_main.h:
11113         * lyx_main.C: some minor cleanup
11114
11115 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * BufferView_pimpl.h:
11118         * BufferView_pimpl.C: remove enter/leaveView,
11119           use workHeight()
11120
11121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * BufferView.h:
11124         * BufferView.C:
11125         * BufferView2.C:
11126         * BufferView_pimpl.h:
11127         * BufferView_pimpl.C: only construct screen once,
11128           rename
11129
11130         * lyxrc.C: remove pointless comment
11131
11132 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * BufferView.h:
11135         * BufferView.C: remove active() and belowMouse()
11136
11137         * BufferView_pimpl.h:
11138         * BufferView_pimpl.C: use workarea() not workarea_,
11139           and make it use a scoped_ptr instead
11140
11141 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * lyx_gui.C: add debug message on BadWindow
11144
11145 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11146
11147         * sp_spell.C: fdopen is not part of the C++ standard.
11148
11149         * paragraph.C (InsetIterator): use >= instead of ==
11150
11151 2002-06-07  Angus Leeming  <leeming@lyx.org>
11152
11153         Fixes needed to compile with Compaq cxx 6.5.
11154         * BufferView_pimpl.C:
11155         * DepTable.C:
11156         * buffer.C:
11157         * converter.C:
11158         * encoding.C:
11159         * lyx_gui.C:
11160         * lyx_main.C:
11161         * lyxtextclasslist.C:
11162         * minibuffer.C:
11163         * sp_spell.C:
11164         * tabular_funcs.C:
11165         * vc-backend.C:
11166         all c-library variables have been moved into namespace std. Wrap
11167         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11168
11169         * lyxlength.C:
11170         * tabular-old.C:
11171         * tabular.C:
11172         Add a using std::abs declaration.
11173
11174         * kbmap.h (modifier_pair):
11175         * paragraph.h (InsetTable, InsetList):
11176         * lyxfont.h (FontBits):
11177         type definition made public.
11178
11179         * bufferlist.C (emergencyWriteAll): the compiler complains that
11180         there is more than one possible lyx::class_fun template to choose from.
11181         I re-named the void specialisation as lyx::void_class_fun.
11182
11183         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11184
11185         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11186         the compiler is is unable to find tostr in write_attribute.
11187
11188 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11189
11190         * buffer.C (sgmlError): hide #warning
11191
11192 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11193
11194         * xtl/*: get rid of xtl, which is not in use anyway
11195
11196         * LyXAction.C (init):
11197         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11198         were unimplemented xtl experimentation
11199
11200 2002-06-04  André Pönitz <poenitz@gmx.net>
11201
11202         * lyxfunc.C: disable array operation on simple formulae
11203
11204 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * converter.C: constify a bit
11207
11208 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * lyx_gui.C: check xforms version correctly
11211
11212 2002-04-30  Herbert Voss  <voss@lyx.org>
11213
11214         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11215         "keep" option
11216
11217 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11220           attempt to register it with a VCS)
11221
11222 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11223
11224         * lyx_main.C (init): honor variables LYX_DIR_13x and
11225         LYX_USERDIR_13x
11226
11227 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * buffer.h:
11230         * buffer.C:
11231         * lyx_main.C: fix a crash on bad command line,
11232           and give a useful exit status on error
11233
11234         * lyxfunc.C (doImport): allow -i lyx to work
11235
11236 2002-03-30  André Pönitz <poenitz@gmx.net>
11237
11238         * lyxfunc.C: mathed font changes
11239
11240 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11241
11242         * LaTeX.C:
11243         * importer.h:
11244         * importer.C:
11245         * lyx_sty.h:
11246         * lyx_sty.C:
11247         * lyxlex.C:
11248         * lyxrow.h:
11249         * lyxtext.h:
11250         * paragraph.h:
11251         * paragraph.C:
11252         * texrow.h:
11253         * texrow.C:
11254         * text.C:
11255         * trans_mgr.h: srcdocs, and some minor cleanups
11256
11257 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11260         call getFont all the time)
11261
11262 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * switch from SigC signals to boost::signals
11265
11266 2002-05-29  André Pönitz <poenitz@gmx.net>
11267
11268         * paragraph_pimpl.C (getChar): don't call size() too often...
11269
11270 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11271
11272         * paragraph_pimpl.C (insertChar): do not try to update tables when
11273         appending (pos == size())
11274
11275         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11276         in order to reduce drastically the number of comparisons needed to
11277         parse a large document
11278
11279 2002-05-29  André Pönitz <poenitz@gmx.net>
11280
11281         * text.C:
11282         * text2.C:
11283         * lyxtextclass.C:
11284         * sp_pspell.h:
11285         * textclasslist.[Ch]:
11286         * sp_ispell.h: whitespace change
11287
11288 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11291         lyxaction directly now.
11292
11293 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11294
11295         * trans.C:
11296         * lyxfont.C:
11297         * lyxvc.C: remove unused headers
11298
11299 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * Makefile.am:
11302         * buffer.h:
11303         * undostack.h:
11304         * undostack.C:
11305         * undo_funcs.h:
11306         * undo_funcs.C: some cleanups. Use shared_ptr
11307           and a template for the undo stacks.
11308
11309 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * BufferView_pimpl.h:
11312         * BufferView_pimpl.C:
11313         * kbmap.h:
11314         * kbmap.C:
11315         * kbsequence.h:
11316         * kbsequence.C:
11317         * lyxfunc.h:
11318         * lyxfunc.C:
11319         * text2.C: use key_state/mouse_state
11320
11321 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11322
11323         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11324         and LSubstring
11325
11326         * chset.C: change include order
11327         (loadFile): use boost regex and get rid of LRegex and LSubstring
11328
11329         * Makefile.am (BOOST_LIBS): new variable
11330         (lyx_LDADD): use it
11331
11332         * LaTeX.C: change include order.
11333         (scanAuxFile): use boost regex and get rid of LRegex and
11334         LSubstring
11335         (deplog): ditto
11336
11337 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11338
11339         * ColorHandler.h:
11340         * ColorHandler.C:
11341         * FontInfo.h:
11342         * FontInfo.C: moved to frontends/xforms/
11343
11344         * FontLoader.h:
11345         * FontLoader.C: moved into frontends for GUIIzation
11346
11347         * Makefile.am:
11348         * lyx_gui.C:
11349         * lyxfont.C:
11350         * lyxfunc.C: changes from above
11351
11352 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * LColor.C: remove spurious X include
11355
11356         * BufferView_pimpl.C:
11357         * Makefile.am:
11358         * font.h:
11359         * font.C:
11360         * text.C:
11361         * text2.C: move font metrics to frontends/
11362
11363 2002-05-24  Juergen Vigna  <jug@sad.it>
11364
11365         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11366         setting the undo_cursor.
11367
11368         * ParagraphParameters.h: include local includes first.
11369
11370 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * BufferView_pimpl.C:
11373         * BufferView_pimpl.h:
11374         * Makefile.am:
11375         * WorkArea.h:
11376         * WorkArea.C:
11377         * screen.C: move WorkArea into frontends/
11378
11379         * lyxscreen.h:
11380         * screen.C:
11381         * text.C:
11382         * BufferView.C:
11383         * BufferView2.C: move LyXScreen into frontends/
11384
11385         * lyxlookup.h:
11386         * lyxlookup.C:
11387         * lyx_gui.C: move lyxlookup into frontends/xforms/
11388
11389 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * BufferView2.C:
11392         * BufferView_pimpl.C:
11393         * FontLoader.C:
11394         * LyXView.h:
11395         * LyXView.C:
11396         * Makefile.am:
11397         * WorkArea.C:
11398         * XFormsView.h:
11399         * XFormsView.C:
11400         * buffer.C:
11401         * bufferlist.C:
11402         * bufferview_funcs.C:
11403         * converter.C:
11404         * importer.C:
11405         * lyx_cb.C:
11406         * lyx_gui.C:
11407         * lyx_main.C:
11408         * lyx_find.C:
11409         * lyxfunc.C:
11410         * lyxvc.C:
11411         * minibuffer.C:
11412         * text.C:
11413         * text2.C:
11414         * trans.C:
11415         * vc-backend.C: move LyX/XFormsView into frontends/
11416
11417 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * Makefile.am:
11420         * PainterBase.C:
11421         * PainterBase.h:
11422         * Painter.C:
11423         * Painter.h:
11424         * WorkArea.C:
11425         * WorkArea.h:
11426         * screen.C:
11427         * tabular.C:
11428         * text.C:
11429         * text2.C: move Painter to frontends/
11430
11431 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11432
11433         * buffer.C: comment out some some code that depend upon lyx_format
11434         < 220
11435
11436         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11437         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11438
11439         * buffer.h (NO_COMPABILITY): turn off compability
11440
11441         * ColorHandler.C: include scoped_array.hpp
11442
11443         * font.C: Use more specific smart_ptr header.
11444         * Painter.C: ditto
11445         * gettext.C: ditto
11446         * ShareContainer.h: ditto
11447         * lyx_main.h: ditto
11448         * kbmap.h: ditto
11449         * FontInfo.h: ditto
11450         * BufferView_pimpl.h: ditto
11451         * ColorHandler.h: ditto
11452
11453         * kbmap.C (defkey): change call to shared_ptr::reset
11454
11455 2002-05-21  Juergen Vigna  <jug@sad.it>
11456
11457         * buffer.C (insertErtContents): fix to insert ert asis if it is
11458         non empty. Skip it completely if it contains only whitespaces.
11459
11460 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * BufferView_pimpl.C:
11463         * BufferView2.C: clear selection on paste (bug 393)
11464
11465 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11466
11467         * DepTable.C: include ctime
11468
11469 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11472
11473 2002-05-14  Juergen Vigna  <jug@sad.it>
11474
11475         * text.C (breakParagraph): fixed function to honor the keepempty
11476         layout in the right maner and also to permit the right breaking
11477         algorithm on empty or non empyt keepempty paragraphs.
11478
11479         * paragraph.C (breakParagraph): we have to check also if the par
11480         is really empty (!size()) for isempty otherwise we do the wrong
11481         paragraph break.
11482
11483 2002-05-10  Juergen Vigna  <jug@sad.it>
11484
11485         * buffer.[Ch] : The following are only changes to the ert
11486         compatibility read reading old LaTeX layout and font stuff and
11487         convert it to ERTInsets.
11488
11489         * buffer.h: added isErtInset().
11490
11491         * buffer.C (struct ErtComp): add a fromlayout bool to check
11492         if we're inside a LaTeX layout.
11493         (isErtInset): new helper function.
11494         (insertErtContents): look for other ert insets before this one
11495         and insert the contents there, so that we don't have subsequent
11496         ERT insets with nothing between them. This way we create only one
11497         inset with multiple paragraphs. Also check if we don't insert only
11498         spaces ' ' as they are ignored anyway afterwards in the .tex file
11499         so if we have only spaces we will ignore this latex part in the
11500         new file.
11501         (parseSingleLyXformat2Token \\layout): better compatibility when
11502         reading layout-latex stuff.
11503         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11504         language tag.
11505         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11506         stuff after reading the inset only get the information back from
11507         the stack.
11508
11509 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11510
11511         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11512
11513         * LaTeXFeatures.C (getBabelOptions): New method.
11514
11515 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * BufferView_pimpl.C (Dispatch): work around missing argument for
11518         'layout'
11519
11520 2002-05-08  Juergen Vigna  <jug@sad.it>
11521
11522         * text.C (leftMargin): handle paragraph leftindent.
11523
11524         * paragraph.C (writeFile): write the new \\leftindent tag.
11525         (validate): handle leftindent code.
11526         (TeXEnvironment): handle paragraphleftindent code again.
11527
11528         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11529
11530         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11531         for paragrap_extra indent code and new token \\leftindent.
11532         (latexParagraphs): handle the leftindent as environment.
11533
11534         * ParameterStruct.h: added leftindent support.
11535
11536         * ParagraphParameters.C (leftIndent): added support functions for
11537         the paragraph left indent.
11538
11539         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11540         more appropriate.
11541
11542 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11543
11544         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11545         inside insetERT.
11546
11547         * text.C (computeBidiTables): No bidi in insetERT.
11548
11549         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11550         in RTL documents.
11551
11552 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11553
11554         * version.C.in: pre 5
11555
11556 2002-05-02  José Matos  <jamatos@fep.up.pt>
11557         * buffer.C (makeDocBookFile): white space changes, add newline to
11558         command styles.
11559         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11560
11561         * tabular.C (docBook): fix typo.
11562
11563 2002-05-03  Juergen Vigna  <jug@sad.it>
11564
11565         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11566         change in LyXText as we can not be sure it was not freed.
11567         (drawOneRow): remove unused code.
11568
11569         * text.C (drawInset): redo the calculation of the need_break_row as
11570         it could have a row which was already freed.
11571         (draw): look at the return value of drawInset and return false if
11572         it also returned false.
11573         (paintRowText): look at the return value of draw and return false if
11574         it also returned false.
11575
11576         * lyxtext.h: added bool return type to drawInset() and draw() so that
11577         if we have a change in the row so that the rowbreak has to be redone
11578         we abort drawing as it will be called again.
11579
11580 2002-05-02  Juergen Vigna  <jug@sad.it>
11581
11582         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11583         a change in the maintext also if we're inside an inset.
11584         (Dispatch): set the cursor again after a break line and after the
11585         screen has been updated as it could be we're in a different row.
11586
11587         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11588         to set the cursor behind the pargraph with > size().
11589         (setCursor): check also for the same paragraph when checking where
11590         to put the cursor if we have a NFR inset.
11591
11592         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11593         parts of layout read further up as it still was in the wrong
11594         position.
11595
11596 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11597
11598         * screen.C (drawFromTo): change sine fullRebreak always return
11599         true.
11600
11601         * buffer.C (parseSingleLyXformat2Token): reindent some
11602
11603         * BufferView_pimpl.C (update): change since fullRebreak always
11604         return true.
11605         (Dispatch): git rid of the last hardcoded "Standard"s.
11606
11607 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11608
11609         * text2.[Ch] (fullRebreak): make it return void now that we always
11610         returned true.
11611
11612 2002-04-30  Juergen Vigna  <jug@sad.it>
11613
11614         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11615         ert compatibility check for "latex" layout.
11616
11617 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11620         minipages: use col% instead of p%, and also use the current font.
11621         (makeLaTeXFile): Fix use babel condition.
11622         (parseSingleLyXformat2Token): Correct font when reading old floats.
11623
11624 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11625
11626         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11627         inserting list of floats.
11628
11629 2002-04-25  Herbert Voss  <voss@lyx.org>
11630
11631         * MenuBackend.C (expand): don't add the graphics extensions to the
11632         export menu
11633
11634 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11635
11636         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11637         non-existing layout, do not complain if it was the default layout
11638         of the original class (bug #342)
11639
11640 2002-04-24  Juergen Vigna  <jug@sad.it>
11641
11642         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11643         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11644
11645 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11646
11647         * buffer.C (getBibkeyList): If using \bibliography, return the
11648         option field with the reference itself. Enables us to provide natbib
11649         support when using \bibliography.
11650
11651 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11652
11653         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11654
11655         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11656         natbib is provided by the LaTeX class.
11657
11658 2002-04-23  Juergen Vigna  <jug@sad.it>
11659
11660         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11661         Wakeup functions.
11662
11663         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11664
11665 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11666
11667         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11668
11669         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11670         ensuremath around textordmasculine, textordfeminine and
11671         textdegree.
11672
11673 2002-04-19  Juergen Vigna  <jug@sad.it>
11674
11675         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11676         reinitializing the buffer otherwise row-dimensions may be wrong.
11677         (update): reset also the selection cursors if they do exits otherwise
11678         their x/y positions may be wrong.
11679
11680         * text2.C (cursorDown): don't enter the inset if we came from a row
11681         above and are one row over the inset.
11682
11683         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11684         really leaving an inset.
11685
11686 2002-04-18  Juergen Vigna  <jug@sad.it>
11687
11688         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11689         of the selected paragraph does not have the selected layout also if
11690         the last one had!
11691
11692         * text2.C (setLayout): fixed bug which did not change last selected
11693         paragraph.
11694
11695         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11696         changed the read and substituted \\end_float with \\end_inset!
11697
11698         * BufferView_pimpl.C (cursorPrevious):
11699         (cursorNext): fixed to make it work with rows heigher than the work
11700         area without moving the cursor only the draw of the row.
11701         (workAreaMotionNotify): fix jumping over high rows.
11702
11703 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11704
11705         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11706         Ressler.
11707
11708 2002-04-16  Juergen Vigna  <jug@sad.it>
11709
11710         * text2.C (setCursor): set also the irow().
11711         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11712         (cursorUp):
11713         (cursorDown): support for locking an inset if the x_fix value goes
11714         inside it. That way I can transverse insets too with cursor up/down.
11715
11716         * lyxrow.h: added irow helper function same as other (i) functions.
11717
11718         * BufferView_pimpl.C (cursorPrevious):
11719         (cursorNext): fixed for insets!
11720
11721 2002-04-15  Juergen Vigna  <jug@sad.it>
11722
11723         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11724         position otherwise it is wrong in some cases.
11725
11726         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11727         inside the inset before the call.
11728
11729 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11730
11731         * buffer.[Ch] (getBibkeyList): make it const.
11732
11733 2002-04-12  Juergen Vigna  <jug@sad.it>
11734
11735         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11736
11737         * text2.C (getCursorX): new helper function
11738         (setCursor): compute also ix_
11739         (setCursorFromCoordinates): set also ix.
11740
11741         * lyxcursor.h: added ix_ and helper functions.
11742
11743         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11744
11745         * buffer.C (insertStringAsLines): dont break paragraph if the this
11746         paragraph is inside an inset which does not permit it!
11747
11748         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11749         also with no chars on this paragraph.
11750         (paintRowText): only paint stuff if it's inside the workarea!
11751
11752         * paragraph.C (breakParagraph): honor keepempty flag and break the
11753         paragraph always below not above.
11754
11755         * BufferView2.C (unlockInset): update the paragraph layout on inset
11756         unlock as we changed paragraph in such a case.
11757
11758         * lyxfind.C (LyXFind): clear the former selection if not found!
11759
11760         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11761         again called in insertChar().
11762
11763         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11764         an inset which uses the whole row!
11765         (rightMargin): ditto.
11766         (insertChar): force a rebreak if we inserted an inset!
11767
11768 2002-03-28  Herbert Voss  <voss@lyx.org>
11769
11770         * lyxlength.[Ch]: add inBP() to get the right PS-point
11771         units (BigPoint). With inPixels we have rounding errors
11772
11773 2002-04-11  Juergen Vigna  <jug@sad.it>
11774
11775         * text2.C (setCursorFromCoordinates): set iy to the right value.
11776         (setCursor): add check if row->previous exists!
11777
11778         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11779         an old float_type as this was the case in the old code!
11780
11781         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11782
11783         * BufferView2.C (showLockedInsetCursor): use iy
11784         (fitLockedInsetCursor): ditto
11785
11786         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11787         locked insets as there we have the right value now.
11788
11789         * lyxcursor.C: added iy_ variable and iy functions to set to the
11790         baseline of cursor-y of the locked inset.
11791
11792         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11793         (setCursor): fixed for insets which need a full row.
11794
11795         * text.C (rowLastPrintable): don't ignore the last space when before
11796         an inset which needs a full row.
11797         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11798         as last character of a row when before a inset which needs a full row.
11799
11800 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * version.C.in: update date
11803
11804         * text2.C (fullRebreak): try to always return true and see what
11805         happens...
11806
11807 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * MenuBackend.C (expand): use Floating::listName
11810
11811         * FloatList.C (FloatList): add listName argument to the built-in
11812         floats
11813
11814         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11815         text associated with the float.
11816
11817 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11818
11819         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11820
11821 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11822
11823         * ShareContainer.h: add a couple of missing typenames.
11824
11825 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11826
11827         * lyxrc.C (getDescription): use _() correctly rather than N_().
11828
11829 2002-03-28  Herbert Voss  <voss@lyx.org>
11830
11831         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11832         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11833
11834 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11835
11836         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11837         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11838
11839 2002-03-29  Juergen Vigna  <jug@sad.it>
11840
11841         * lyxfunc.C (dispatch): add a missing fitCursor call.
11842
11843         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11844         it was scrolled by a cursor move, so return the bool status.
11845
11846         * BufferView.C (fitCursor): return the bool flag also to the outside
11847         world as this is needed.
11848
11849         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11850
11851         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11852         call the edit() as it is not needed (and wrong) IMO.
11853         (workAreaButtonPress): set the screen_first variable before evt.
11854         unlock the inset as this may change screen_first and then we have
11855         a wrong y position for the click!
11856
11857 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * MenuBackend.C (expand): another translation that I missed
11860
11861 2002-03-28  Juergen Vigna  <jug@sad.it>
11862
11863         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11864
11865         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11866
11867 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11868
11869         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11870
11871         * MenuBackend.C (expand): fix export/view/update when there is no
11872         document open.
11873
11874 2002-03-27  Herbert Voss  <voss@lyx.org>
11875
11876         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11877         and text%
11878
11879 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11880
11881         * bufferview_funcs.C (currentState): only show paragraph number
11882         for is DEVEL_VERSION is set.
11883
11884         * lyxfunc.C (dispatch): put warning in INFO channel
11885
11886         * MenuBackend.C (expand): translate the name of floats
11887
11888         * FloatList.C (FloatList): mark the float names for translation
11889
11890         * converter.C (convert): use LibScriptSearch
11891
11892 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * MenuBackend.C (defaults): fix default menu (we might as well get
11895         rid of it...)
11896
11897 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11898
11899         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11900         directory.
11901
11902 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11903
11904         * lyxvc.C: reorder includes.
11905
11906 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11909           properly
11910
11911 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * CutAndPaste.C: change layouts earlier on paste
11914           to avoid crashing when calling getFont()
11915
11916 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11917
11918         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11919         irritating #error.
11920
11921 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * WorkArea.C: remove 'Pending' debug message.
11924
11925         * most files: ws cleanup
11926
11927         * buffer.[Ch]: ws changes
11928
11929         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11930
11931 2002-03-21  Juergen Vigna  <jug@sad.it>
11932
11933         * tabular.C (SetMultiColumn): collapse also the contents of the
11934         cells and set the last border right. Added a Buffer const * param.
11935
11936 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11937
11938         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11939         linking or not.
11940
11941 2002-03-19  Juergen Vigna  <jug@sad.it>
11942
11943         * text2.C (clearSelection): reset also xsel_cache.
11944
11945         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11946         where it needs to be called (John tells us to do so too :)
11947         (selectionLost): reset sel_cache.
11948
11949         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11950
11951 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11952
11953         * text2.C (setCursorIntern): put debuging code in INSETS channel
11954
11955 2002-03-19  André Pönitz <poenitz@gmx.net>
11956
11957         * lyxfunc.C: tiny whitespace change
11958
11959 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11960
11961         * ToolbarDefaults.C (init):
11962         * LyXAction.C (init):
11963         * commandtags.h:
11964         * BufferView_pimpl.C (Dispatch):
11965         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11966
11967 2002-03-19  Allan Rae  <rae@lyx.org>
11968
11969         * exporter.C (Export): removeAutoInsets before doing anything else.
11970         While I've just introduced a dependency on BufferView this really is
11971         the best place to clean the buffer otherwise you need to cleanup in
11972         a dozen places before calling export or cleanup in a dozen functions
11973         that export calls.
11974
11975         * converter.C (runLaTeX):
11976         (scanLog): Better handling of removeAutoInsets and screen updates.
11977
11978         * lyxfunc.C (dispatch): small whitespace changes
11979
11980 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11981
11982         * WorkArea.C (C_WorkAreaEvent): return a value.
11983         (event_cb): return 1 if we handled the event, 0 otherwise.
11984
11985         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11986
11987 2002-03-18  Juergen Vigna  <jug@sad.it>
11988
11989         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11990         (GetAdditionalWidth): ditto.
11991         (RightLine): ditto.
11992         (LeftLine): ditto.
11993
11994         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11995         inset if we're there actually (probably not used right now but this
11996         is the direction to go for unifying code).
11997         (paste): disable code to clear the selection.
11998
11999         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12000         inside an InsetText and move the check further up as it is in the
12001         wrong place.
12002
12003         * text2.C (pasteSelection): set a selection over the pasted text.
12004
12005 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12006
12007         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12008         and libgraphics to build on Cygwin.
12009
12010 2002-03-15  Juergen Vigna  <jug@sad.it>
12011
12012         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12013         inserting an Inset into the paragraph. I know this is not the best
12014         fix but we already use current_view in CutAndPaste so we will remove
12015         all of it's using at the same time.
12016
12017         * buffer.C (sgmlError): deactivated function till it is rewritten in
12018         the right mode, now it can create problems.
12019
12020         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12021         before accessing it.
12022
12023 2002-03-14  Juergen Vigna  <jug@sad.it>
12024
12025         * undo_funcs.C (textHandleUndo): do the right thing when updating
12026         the inset after the undo/redo.
12027
12028         * text2.C (setCursor): just some testcode for #44 not ready yet.
12029
12030         * undo_funcs.C (textHandleUndo): set the next() and previous()
12031         pointers of the paragraph to 0 before deleting otherwise we have
12032         problems with the Paragraph::[destructor].
12033
12034         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12035         on a paragraph insertion.
12036
12037 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * buffer.C (asciiParagraph): use += operator for char append to
12040         string.
12041
12042         * paragraph.C (getFontSettings): compare >= not just >
12043         (highestFontInRange): ditto
12044         (setFont): ditto
12045
12046 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12047
12048         * paragraph.C: change several algorithm to be more appripriate for
12049         the problem domain. This is lookip in FontList and in the InsetList.
12050
12051 2002-03-13  André Pönitz <poenitz@gmx.net>
12052
12053         * commandtags.h:
12054         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12055
12056 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * commandtags.h:
12059         * LyXAction.C:
12060         * lyxfunc.C:
12061         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12062
12063 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * Painter.C (display): anon helper function, adjust code for this
12066         change.
12067         (pixmap): remove function.
12068
12069         * Painter.h: remove private display variable.
12070
12071         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12072
12073 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12074
12075         * WorkArea.[Ch]: remove figinset_canvas cruft.
12076
12077 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12078
12079         * lyxtextclass.C (operator): add one item cache optimization.
12080
12081         * bufferlist.h: doxy changes
12082
12083         * bufferlist.C: ws changes
12084
12085         * DepTable.[Ch] (ext_exist): place const in the right spot.
12086
12087         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12088         call resizeInsets.
12089         (workAreaExpose): call resizeInsets when the with BufferView changes.
12090         (Dispatch): adjust for protectedBlank removal
12091         (specialChar): call updateInset if the insert went ok.
12092
12093         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12094         specialChar instead.
12095
12096         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12097
12098         * BufferView.h: doxy change
12099
12100         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12101
12102         * lyxtextclass.C (operator[]): remove non-const version
12103         (defaultLayout): remove non-const version
12104
12105 2002-03-12  Juergen Vigna  <jug@sad.it>
12106
12107         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12108         did resize the LyXText too.
12109
12110         * buffer.C (readLyXformat2): set layout information on newly allocated
12111         paragraphs.
12112
12113         * tabular.C (OldFormatRead): set layout information on the paragraph.
12114
12115 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12116
12117         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12118
12119 2002-03-11  Juergen Vigna  <jug@sad.it>
12120
12121         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12122         plainly wrong.
12123         (resizeCurrentBuffer): force also the insets to resize themselfes.
12124         (moveCursorUpdate): fixed up for InsetText.
12125
12126 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12127
12128         * commandtags.h:
12129         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12130         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12131         value of Dialogs::tooltipsEnabled().
12132         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12133
12134 2002-03-08  Juergen Vigna  <jug@sad.it>
12135
12136         * BufferView_pimpl.C (updateInset): update inset inside inset also
12137         if it isn't inside theLockingInset().
12138
12139 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * buffer.C (asciiParagraph): redo some of the word and line length
12142         handling.
12143         (getLists): look for Caption instead of caption.
12144
12145 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12146
12147         * buffer.C (Buffer): initialize niceFile to true
12148         (makeLaTeXFile):
12149         (makeLinuxDocFile):
12150         (makeDocBookFile): make sure niceFile is true on exit
12151
12152 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12155
12156 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12157
12158         * LyXSendto.C: remove.
12159         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12160         * lyx_gui.C: remove now-redundant comment.
12161         * ColorHandler.h: remove forward declaration of class WorkArea.
12162         * lyxfunc.C: remove #include "WorkArea.h".
12163
12164 2002-03-07  Juergen Vigna  <jug@sad.it>
12165
12166         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12167         got moved away with the DEPM and also set the inset_owner always
12168         right which before could have been omitted.
12169
12170 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12173         wanted layout is not found.
12174
12175 2002-03-07  Juergen Vigna  <jug@sad.it>
12176
12177         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12178
12179 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * paragraph.C (breakParagraph): use default layout not layout of
12182         prev paragraph.
12183         (Paragraph): clear ParagraphParameters.
12184
12185 2002-03-06  Juergen Vigna  <jug@sad.it>
12186
12187         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12188         otherwise it would not be a valid lenght. Fixed a special case in
12189         the minipage compatibility read where we end the document with a
12190         minipage.
12191
12192         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12193         was set as it could be 0 for InsetTexts first entry.
12194
12195 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * paragraph.C (writeFile): if layout is empty write out
12198         defaultLayoutName().
12199
12200         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12201         file without named layout we set layout to defaultLayoutName().
12202
12203 2002-03-06  Juergen Vigna  <jug@sad.it>
12204
12205         * CutAndPaste.C (copySelection): set layout for new paragraph.
12206
12207         * text.C (prepareToPrint): leave ERT inset left aligned
12208         (leftMargin): don't indent paragraphs inside ERT insets
12209
12210 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12211
12212         * paragraph.C (breakParagraph): dont call clear do the work manually
12213
12214         * paragraph.[Ch] (clear): remove function
12215
12216 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * paragraph.C (Paragraph): dont call clear, the work has already
12219         been done.
12220
12221         * lyxtextclass.C (operator): assert if n is empty
12222
12223         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12224         work manually instead.
12225
12226 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * BufferView_pimpl.C: protect selectionLost against text == 0
12229
12230 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * text.C (breakParagraph): fix a setting layout to '0' problem.
12233
12234 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12235
12236         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12237         final location of file, for the included files, and graphics.
12238
12239 2002-03-05  Juergen Vigna  <jug@sad.it>
12240
12241         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12242
12243 2002-03-04  Juergen Vigna  <jug@sad.it>
12244
12245         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12246
12247         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12248         last column of multicolumn cells.
12249         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12250
12251 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12252
12253         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12254         file if it doesn't go to a temporary file.
12255
12256         * buffer.C (sgmlOpenTag):
12257         (sgmlCloseTag):  remove extra newline insertion.
12258
12259 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12260
12261         * text.C (getRowNearY): comment out debug msg
12262
12263 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * text2.C: first -> first_y
12266
12267         * text.C (getRowNearY): add some attemts at a possible
12268         optimization, not working.
12269
12270         * tabular.[Ch]: add BufferParams to several function so that newly
12271         created paragraph can be initialized to he default layotu for the
12272         buffers textclass.
12273
12274         * tabular-old.C (ReadOld): add buf->params to call of Init
12275
12276         * screen.C: rename text->first to text->first_y
12277
12278         * paragraph.C (breakParagraph): always set layout in the broken
12279         paragraph
12280
12281         * lyxtextclass.C (Read): remove lowercase
12282         (hasLayout): ditto
12283         (operator): ditto
12284         (delete_layout): ditto
12285
12286         * lyxtext.h: rename first -> first_y
12287
12288         * lyxlayout.C (Read): remove lowercase
12289         (name): ditto
12290         (setName): ditto
12291         (obsoleted_by): ditto
12292
12293         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12294
12295         * buffer.C (insertErtContents): add params are to InsetERT
12296         (parseSingleLyXformat2Token): add code to check if a paragraphs
12297         layout really exist.
12298         (parseSingleLyXformat2Token): add params to several inset
12299         constructors
12300         (asciiParagraph): remove lowercase, do the layout comparisons with
12301         no_case
12302
12303         * BufferView_pimpl.C (cursorNext): first -> first_y
12304         (resizeCurrentBuffer): first -> first_y
12305         (updateScrollbar): first -> first_y
12306         (scrollCB): first -> first_y
12307         (workAreaMotionNotify): first -> first_y
12308         (workAreaButtonPress): first -> first_y
12309         (checkInsetHit): first -> first_y
12310         (cursorPrevious): first -> first_y
12311         (cursorNext): first -> first_y
12312         (Dispatch): add buffer_->params to severl inset contructors
12313
12314 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * lyxlayout.C (Read): remove some debug info that I forgot.
12317
12318         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12319         clean up the code slightly.
12320         (makeLinuxDocFile): ditto
12321         (makeDocBookFile): ditto
12322
12323         * text2.C: layout as string
12324
12325         * text.C: layout as string
12326
12327         * paragraph_pimpl.C: layout as string
12328
12329         * paragraph.[Ch]: layout as string
12330
12331         * lyxtextclasslist.[Ch]: layout as string
12332
12333         * lyxtextclass.[Ch]: layout as string
12334
12335         * lyxtext.h: layout as string
12336
12337         * lyxlayout.[Ch]: layout as string
12338
12339         * lyx_cb.C: layout as string
12340
12341         * bufferview_funcs.C: layout as string
12342
12343         * bufferparams.C: layout as string
12344
12345         * buffer.C: layout as string
12346
12347         * LyXView.[Ch]: layout as string
12348
12349         * LaTeXFeatures.[Ch]: layout as string
12350
12351         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12352
12353         * BufferView_pimpl.C: change current_layout to string, remove
12354         lyx::layout_type.
12355         (Dispatch):
12356         (smartQuote):
12357         (insertInset):
12358         (workAreaButtonRelease): layout as string
12359
12360         * BufferView2.C (unlockInset): adjust
12361
12362         * vspace.C (asLatexCommand): use an explict temp variable.
12363
12364 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12365
12366         * Makefile.am: use FRONTEND_*
12367
12368 2002-03-01  Juergen Vigna  <jug@sad.it>
12369
12370         * tabular.C (SetWidthOfMulticolCell): changed to something better
12371         I hope but still work in progress.
12372         (recalculateMulticolumnsOfColumn): renamed function from
12373         recalculateMulticolCells as it is more appropriate now.
12374         (SetWidthOfCell): calculate multicols better.
12375
12376 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12379
12380         * lyxfunc.C (processKeySym): print sequence also if it is
12381         `deleted' (complete)
12382
12383         * kbsequence.C (print): print sequence even if it is deleted
12384         (complete would be a better word, actually).
12385
12386         * lyxfunc.C (dispatch): print complete options after a prefix key
12387
12388         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12389
12390 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12391
12392         * text2.C (setCharFont): eliminate setCharFont code duplication.
12393
12394 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12395
12396         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12397         LFUN_TABULAR_FEATURE (bug #177)
12398
12399 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12400
12401         * Makefile.am: remove figure.h
12402
12403 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12404
12405         * Bufferview_pimpl.C:
12406         * CutAndPasteC:
12407         * LaTeX.C:
12408         * LyXSendto.C:
12409         * buffer.C:
12410         * bufferlist.C:
12411         * converter.C:
12412         * language.C:
12413         * lyxfunc.C:
12414         * lyxvc.C:
12415         * paragraph.C:
12416         * text.C:
12417         * text2.C: remove #include "lyx_gui_misc.h".
12418
12419         * LaTeX.C: added #include <cstdio>
12420
12421 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12422
12423         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12424         that the paragraph following this one can have.
12425
12426         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12427
12428         * vspace.C (asLatexCommand): fix bogus gcc warning
12429
12430         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12431
12432 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12433
12434         * text2.C (setLayout): get rid of redundant code
12435
12436 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12437
12438         * text2.C (incDepth): make sure depth cannot be increased beyond
12439         reasonable values.
12440
12441 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12444         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12445
12446         * PainterBase.h (image):
12447         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12448         a LyXImage const *.
12449
12450 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * BufferView.C:
12453         * BufferView.h:
12454         * BufferView_pimpl.C:
12455         * BufferView_pimpl.h:
12456         * LaTeXFeatures.C:
12457         * LyXAction.C:
12458         * LyXView.C:
12459         * Makefile.am:
12460         * UpdateList.h:
12461         * UpdateList.C:
12462         * buffer.C:
12463         * figure.h:
12464         * figureForm.C:
12465         * figureForm.h:
12466         * figure_form.C:
12467         * figure_form.h:
12468         * lyx_cb.C:
12469         * lyx_gui.C:
12470         * lyx_gui_misc.C:
12471         * lyxfunc.C:
12472         * sp_base.h:
12473         * sp_ispell.h:
12474         * sp_pspell.h:
12475         * sp_spell.C: remove fig inset, and the crap house of
12476           cards that follows it
12477
12478 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * Makefile.am:
12481         * lyxserver.C:
12482         * os2_defines.h:
12483         * os2_errortable.h:
12484         * nt_defines.h: move .h into support/
12485
12486         * vms_defines.h: remove
12487
12488         * WorkArea.C: add space in debug output
12489
12490         * text2.C:
12491         * paragraph.C:
12492         * buffer.C: add WITH_WARNINGS
12493
12494         * vc-backend.h:
12495         * vc-backend.C:
12496         * bufferlist.C: s/retrive/retrieve/, add docs
12497
12498         * vspace.h:
12499         * vspace.C:
12500         * kbmap.h:
12501         * lyxlength.h:
12502         * lyxgluelength.h:
12503         * length_common.h:
12504         * chset.h:
12505         * chset.C: add docs
12506
12507         * lyxgui.C: add ID to X error handler
12508
12509         * lyxtestclass.c: fix typo
12510
12511 2002-02-26  Juergen Vigna  <jug@sad.it>
12512
12513         * tabular_funcs.C (write_attribute): changed so that some default
12514         attributes are not written at all.
12515         (getTokenValue): set default values before trying to read the
12516         value so we have the return value always set as default if we don't
12517         find the token we search for.
12518
12519         * tabular.C (Write): write bools as bools not as strings!
12520
12521 2002-02-22  Juergen Vigna  <jug@sad.it>
12522
12523         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12524         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12525
12526         * text.C (leftMargin): don't add an indent for paragraphs inside
12527         tabular cells (fix #208).
12528
12529 2002-02-21  José Matos  <jamatos@fep.up.pt>
12530
12531         * tabular.C (docBook): fixed support for long tables.
12532
12533 2002-02-20  Juergen Vigna  <jug@sad.it>
12534
12535         * text2.C (getFont): get the drawing font of the Inset if this
12536         paragraph is inside an inset (only important for InsetERT for now).
12537
12538         * buffer.C (insertErtContents): use new lanugage params in ERT
12539         constructor.
12540
12541         * CutAndPaste.C: commenting out seemingly uneeded code.
12542
12543 2002-02-19  Allan Rae  <rae@lyx.org>
12544
12545         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12546         Iterators might be simple to use but they also get invalidated.
12547         (removeAutoInsets): renamed saved cursor tracking variables and added
12548         some comments to clarify what everything does.
12549
12550 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12551
12552         * Chktex.C:
12553         * LaTeX.C:
12554         * LyXSendto.C:
12555         * converter.C:
12556         * lyx_cb.C:
12557         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12558         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12559
12560         * lyxfunc.C:
12561         * vc-backend.h: remove #include "support/syscall.h"
12562
12563         * LaTeX.C:
12564         * LyXSendto.C:
12565         * converter.C: rearrange #includes in Lars' approved fashion.
12566
12567         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12568         forward declare class Timeout in the header file.
12569
12570         * XFormsView.C: changes due to the above.
12571
12572         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12573         similar to LyXView.
12574
12575         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12576         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12577
12578 2002-02-18  José Matos  <jamatos@fep.up.pt>
12579
12580         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12581         insets contents.
12582
12583 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12584
12585         * a lot of small ws changes
12586         * add a lot of using std::XXX
12587         * use std construcs some places where approp.
12588         * use some exisint stuff from lyxfunctional where approp.
12589         * Make file changes to use partial linking (lets test this now...)
12590
12591 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12592
12593         * Chktex.C:
12594         * buffer.C:
12595         remove #include "support/syscontr.h" as it's redundant. Always has been.
12596
12597         * Chktex.C:
12598         * LaTeX.C:
12599         * LyXSendto.C:
12600         * converter.C:
12601         * lyx_cb.C:
12602         * vc-backend.C:
12603         change Systemcalls::System to Systemcalls::Wait and
12604         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12605         No change of functionality, just reflects the stripped down Systemcalls
12606         class.
12607
12608 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * debug.[Ch]: add a GRAPHICS type to the enum.
12611
12612 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12613
12614         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12615
12616         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12617         there is an inset.
12618
12619 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12620
12621         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12622         match the changes below.
12623
12624         * text2.C (toggleInset): if there is not editable inset at cursor
12625         position, try to see if cursor is _inside_ a collapsable inset
12626         and close it.
12627
12628 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12629
12630         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12631         document menu has a nice checkbox
12632
12633 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12634
12635         * lyxlength.C (asLatexString): change PW to output as percent of
12636         \textwidth.
12637
12638         * lengthcommon.C: change '%' to 't%'
12639
12640         * lyxfunc.C (dispatch): a few comments from Martin
12641
12642 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * WorkArea.h:
12645         * WorkArea.C:
12646         * BufferView_pimpl.h:
12647         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12648           the X selection.
12649
12650 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12651
12652         * vspace.C (inPixels): fix compiler warning
12653
12654 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12655
12656         * lyxfunc.C (getStatus): fix status message for disabled commands.
12657
12658 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * BufferView_pimpl.C: fix crash on close buffer
12661         during selection (#227)
12662
12663 2002-01-27  Herbert Voss  <voss@lyx.org>
12664
12665         * buffer.C: link old Figure to new graphic inset
12666
12667 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12668
12669         * FontLoader.C (getFontinfo): Change the latex font names in order
12670         to match the names of type1inst.
12671
12672 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12675
12676         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12677         (extchanged): ditto
12678         (ext_exist): ditto
12679         (remove_files_with_extension): ditto
12680         (remove_file): ditto
12681         (write): ditto
12682
12683         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12684         document is smaller than the work area height. Do not initialize
12685         static variables to 0.
12686
12687 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12690
12691         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12692         LFUN_LAYOUT_PARAGRAPHS.
12693
12694         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12695         tabular. It is possible to provide a possible cell, which will
12696         typically be the actcell from the corresponding insettabular
12697
12698         * lyxfunc.C (getStatus): small cleanup; disable
12699         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12700         true
12701
12702 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12703
12704         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12705
12706         * paragraph.C (startTeXParParams):
12707         (endTeXParParams): new methods. The LaTeX code to
12708         start/end paragraph formatting
12709         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12710         empty (fixes bug #200)
12711
12712         * vspace.C (inPixels): adapt to the change below
12713         (inPixels): [later] more cleanups (remove unused variables)
12714
12715         * lyxlength.C (inPixels): change to use a width and a height as
12716         parameter.
12717
12718 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12719
12720         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12721         Replaced with \paperwidth
12722
12723         * DepTable.C (insert): add std:: qualifier
12724
12725 2002-01-18  Allan Rae  <rae@lyx.org>
12726
12727         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12728         updated also?
12729
12730         * text.C (drawInset): Turned out I didn't know enough about how
12731         rebreaking worked.  This fixes most of the redraw problems.  I see
12732         an occasional cursor trail when a line is broken now and the cursor
12733         placement can seem out by a few pixels also after a rebreak.
12734
12735 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12736
12737         * buffer.C (parseSingleLyXformat2Token): update because minipage
12738         width is now a LyXLength
12739
12740         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12741
12742         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12743         math insets
12744
12745 2002-01-17  Juergen Vigna  <jug@sad.it>
12746
12747         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12748
12749         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12750         is set correctly and the inset is updated correctly.
12751
12752 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12753
12754         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12755         the beginning of the loop.
12756
12757 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * lyxrc.C: improve help for use_scalable_fonts
12760
12761 2002-01-17  Allan Rae  <rae@lyx.org>
12762
12763         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12764
12765 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12766
12767         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12768         make sure to set their inset_owner to the right value (bug #171)
12769
12770 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12771
12772         * DepTable.h
12773         * DepTable.C: Implement mtime checking to reduce time spent doing
12774         CRCs.
12775
12776 2002-01-16  Juergen Vigna  <jug@sad.it>
12777
12778         * tabular.C (GetAdditionalHeight): one of error fixed.
12779
12780         * lyxrc.C (output): small fix in writing use_pspell.
12781
12782 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12783
12784         * sp_base.h: #include LString.h
12785
12786 2002-01-16  Allan Rae  <rae@lyx.org>
12787
12788         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12789         Can someone check this please?
12790
12791         * text.C (drawInset): It was possible that p.row would be removed by
12792         breakAgainOneRow upsetting a few other settings.  There may be another
12793         small tweak possible by setting need_break_row = 0 when p.row has been
12794         removed but I don't know enough about the logic here.
12795
12796 2002-01-15  Allan Rae  <rae@lyx.org>
12797
12798         * text.C (insertChar): removed conditional truism.
12799
12800         * BufferView2.C (removeAutoInsets): More tweaks.
12801         cur_par_prev could be a stray pointer.  Check for trailing empty line
12802         in case last line was cur_par and only had an error inset on it.
12803
12804 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12805
12806         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12807         absolute
12808
12809         * vc-backend.C (most methods):
12810         * exporter.C (Export):
12811         * converter.C (convert):
12812         (runLaTeX):
12813         * LyXSendto.C (SendtoApplyCB):
12814         * lyxfunc.C (dispatch):
12815         (menuNew):
12816         (open):
12817         (doImport):
12818         * lyx_cb.C (AutoSave):
12819         (InsertAsciiFile):
12820         * BufferView_pimpl.C (MenuInsertLyXFile):
12821         * buffer.C (runChktex): use Buffer::filePath().
12822
12823         * buffer.h: rename filename to filename_; rename filepath to
12824         filepath_ and make it private
12825         (filePath): new method
12826
12827         * buffer.C (writeFile): use fileName()
12828         (getLatexName):
12829
12830         * lyx_main.C (init): fix starting  of LyX when the binary is a
12831         link from so,ewhere else.
12832
12833         * minibuffer.C: include <cctype> for isprint
12834
12835 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12838         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12839         name clash with InsetCollapsable's width function.
12840
12841 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * lastfiles.C: include <iterator>
12844
12845 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12848         std::count.
12849
12850         * buffer.C (makeLaTeXFile): ditto.
12851         Also make loop operation more transparent.
12852
12853 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12854
12855         * ToolbarDefaults.C: remove trailing comma closing namespace.
12856
12857         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12858
12859         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12860         as in WorkArea.
12861
12862         * trans.C (Load): comment out unused variable, allowed.
12863
12864 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12865
12866         * minibuffer.[Ch] (append_char): new method to recieve input from the
12867         drop-down completion browser. If a key was pressed, then recieve this
12868         char and append it to the existing string.
12869         (peek_event): modify the positioning data passed to the completion
12870         browser so that it can be placed above the minibuffer rather than below.
12871 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * LyXAction.C (init): alloe error-next for readonly documents.
12874
12875         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12876         count.
12877
12878 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12879
12880         * bufferlist.C (readFile): create the buffer _after_ checking that
12881         the file exists.
12882
12883         * lyxfunc.C (verboseDispatch): fix handling of arguments
12884
12885         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12886
12887         * lyxrc.C: use string::erase() instead of initializing to "".
12888
12889
12890 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * BufferView_pimpl.h:
12893         * BufferView_pimpl.C:
12894         * WorkArea.h:
12895         * WorkArea.C:
12896         * text2.C: tell X when we have made a selection for copying
12897
12898 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12899
12900         * BufferView_pimpl.C (MenuInsertLyXFile):
12901         * lyxfunc.C (menuNew):
12902         (open):
12903         (doImport): add shortcuts to directory buttons
12904
12905         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12906         open a float)
12907
12908         * lyxfunc.C (setStatusMessage):
12909         (getStatusMessage): new methods
12910         (getStatus):use setStatusMessage instead of setErrorMessage
12911         (dispatch): when function is disabled, set error message here
12912         [instead of in getStatus previously]
12913
12914         * BufferView_pimpl.C (workAreaButtonRelease): update
12915         toolbar/menubar here too.
12916
12917 2002-01-13  Allan Rae  <rae@lyx.org>
12918
12919         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12920         Now seems indestructible.  Remaining task is to audit all other
12921         code affected by deleteEmptyParagraphMechanism.  One small quirk
12922         left is that an empty document with an error in the preamble can
12923         be made to report an error but no error box appears.  I don't know
12924         where it goes.
12925         (removeAutoInsets): Improved comments.
12926
12927 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * Thesaurus.h:
12930         * Thesaurus.C: update for Aiksaurus 0.14
12931
12932 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * text2.C (firstParagraph): removed member function, all uses
12935         replaces with ownerParagraph
12936         (redoParagraphs): here
12937         (updateInset): here
12938         (toggleAppendix): here
12939         * BufferView2.C (insertErrors): here
12940         (setCursorFromRow): here
12941
12942 2002-01-13  Allan Rae  <rae@lyx.org>
12943
12944         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12945         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12946         There is still a way to segfault this although you may have to do this
12947         multiple times: Have an InsetERT with an unknown command in it.
12948         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12949         <down-arrow>, <Enter> again, View->DVI, BANG!
12950
12951         * text2.C (setCursor):
12952         (deleteEmptyParagraphMechanism):
12953         * lyxtext.h (setCursor):
12954         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12955         Making use of the return value may help fix other bugs.
12956
12957 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12958
12959         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12960
12961         * LyXView.C (updateMenubar): call MenuBar::update here
12962         (updateToolbar): but not here
12963         (showState): do not update toolbar/menubar
12964
12965         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12966         should need to care about that.
12967
12968         * lyxfunc.C (verboseDispatch): simplify a bit
12969         (getStatus): have a version which takes a pseudoaction, and
12970         another which requires a (kb_action,string).
12971
12972         * LyXAction.C (retrieveActionArg): make it work also when action
12973         is not a pseudo-action.
12974         (getActionName): simplify a bit
12975         (helpText):
12976
12977 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12978
12979         * lyxfunc.C (verboseDispatch): new families of methods with
12980         several ways to specify a command and a bool to indicate whether
12981         the command name and shortcut should be displayed in minibuffer
12982         (eventually, we could extend that to a finer bitmask like
12983         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12984         (dispatch): the pristine dispatch command which just, well,
12985         dispatchs! Note it still sets its result to minibuffer; I'm not
12986         sure we want that.
12987
12988         * lyxfunc.h: remove setHintMessage
12989
12990         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12991
12992 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12993
12994         * BufferView_pimpl.C (specialChar): delete new inset if we have
12995         not been able to insert it.
12996
12997         * kbmap.C: revert to using int instead of kb_action, since all we
12998         are dealing with is pseudo-actions.
12999
13000         * LyXAction.C (searchActionArg): change to return int instead of
13001         kb_action, since the result is a pseudoaction.
13002
13003 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13004
13005         * buffer.C (insertErtContents): Fix (partially) the font bug.
13006
13007 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13008
13009         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13010         as the other one is broken on my machine!
13011
13012 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13013
13014         * commandtags.h:
13015         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13016
13017 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13018
13019         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13020         reflect their actual use. Provide compatibility code for older lyxrc
13021         files.
13022
13023         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13024         FL_NORMAL_STYLE.
13025         change names of popup font variables in line with the changes to lyxrc.C
13026
13027 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13028
13029         * buffer.C (asciiParagraph): avoid outputing a word twice after
13030         an inset.
13031
13032         * lyxrc.C (getDescription): document that document_path and
13033         template_path can be empty.
13034
13035 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13036
13037         * LaTeXFeatures.C (getMacros):
13038         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13039
13040         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13041
13042         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13043         getPackages.
13044         (getPackages): rename feature "floats" to "float". Use an array to
13045         iterate over 'simple' features (i.e. just a \usepackage). Add
13046         handling of "amsmath" (renamed from "amsstyle").
13047
13048 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13049
13050         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13051         features list.
13052
13053 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13054
13055         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13056         FuncStaus::FuncStatus & FuncStaus::some_method().
13057
13058 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13059
13060         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13061         of the func_satus stuff. Edited and massaged in various ways by
13062         JMarc.
13063
13064         * lyxfunc.C (getStatus): use FuncStatus
13065
13066 2002-01-08  Juergen Vigna  <jug@sad.it>
13067
13068         * text.C (nextBreakPoint): use function Inset::isChar().
13069
13070         * paragraph.C (TeXOnePar): use function
13071         Inset::forceDefaultParagraphs.
13072
13073         * buffer.C (latexParagraphs): use function
13074         Inset::forceDefaultParagraphs.
13075
13076 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13077
13078         * lyx_gui.C (init): set the style of the menu popups to
13079         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13080
13081 2002-01-07  Juergen Vigna  <jug@sad.it>
13082
13083         * text.C (setHeightOfRow): small fix
13084         (prepareToPrint): don't look at alignment if we don't have the place
13085         for doing it.
13086
13087 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * box.C: New file. Move the Box methods and functions out of box.h,
13090         following Lars' suggestion.
13091
13092 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13093
13094         * box.h: #include "support/LOstream.h", needed for inlined function.
13095
13096         * lyxtextclass.C:
13097         * lyxtextclasslist.C: added some using std declarations.
13098
13099 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13100
13101         * box.h: make signed dimensions to allow insets wider than
13102           the screen (bug #162)
13103
13104         * BufferView_pimpl.C: add some insetHit debug
13105
13106 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * vc-backend.C: add FIXME
13109
13110 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13111
13112         * lyxfunc.C (getStatus): enable code for showing math font status
13113         in toolbar/menu.
13114
13115 2002-01-07  Juergen Vigna  <jug@sad.it>
13116
13117         * text.C (nextBreakPoint): removed debug output not needed anymore.
13118
13119 2002-01-06  Juergen Vigna  <jug@sad.it>
13120
13121         * text.C (nextBreakPoint): fixed up this function we had this bug
13122         since ever but now hopefully we break row better.
13123         (insertChar): we have to check if an inset is the next char as it
13124         could now happen that a large inset is causing a break.
13125
13126 2002-01-05  Juergen Vigna  <jug@sad.it>
13127
13128         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13129         if it doesn't like to be drawed.
13130
13131 2002-01-04  Juergen Vigna  <jug@sad.it>
13132
13133         * BufferView2.C (lockInset): forgot to set a cursor.
13134
13135         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13136
13137 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13138
13139         * FormMathsPanel.C:
13140         * FormMathsPanel.h
13141         * MathsSymbols.C:
13142         * form_maths_panel.C:
13143         * form_maths_panel.h:
13144         * form_maths_panel.fd: implemented sub- and super- buttons in math
13145         panel.
13146
13147         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13148         (or ^ space) to be used as in TeX (req'd by André).
13149
13150         * lyxfunc.C: Allow ^ and _ again to be used both as
13151         super/subscript (mathed) and as themselves (in text).
13152
13153 2002-01-03  Allan Rae  <rae@lyx.org>
13154
13155         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13156         "LyX" or the filename of the current buffer if it has one.  This is a
13157         modified form of John Levon's patch.
13158
13159         * XFormsView.C (setWindowTitle): also set icon title.
13160
13161         * LyXView.h (setWindowTitle): signature changed.
13162         * XFormsView.h (setWindowTitle): ditto.
13163
13164 2002-01-02  Juergen Vigna  <jug@sad.it>
13165
13166         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13167
13168 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * screen.C (topCursorVisible): introduce a temp var for
13171         text->cursor.row(), handle the case where this row is null. (kindo
13172         hachish)
13173
13174         * text2.C (setCursor): add a couple of asserts.
13175
13176         * paragraph.h (inset_iterator): add -> operator
13177
13178         * paragraph.[Ch] (autoDeleteInsets): remove member function
13179
13180         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13181         cursor pos correctly and handle inset deletion by itself.
13182         (insertErrors): move iterator declaration out of for expression
13183
13184         * lyxtextclass.C: add <algorithm>
13185
13186         * Makefile.am: added the new files to sources, removed layout.C
13187
13188         * layout.C: removed file
13189
13190         * layout.h: remove LYX_DUMMY_LAYOUT
13191
13192         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13193         layout.
13194
13195         * lyxlayout.[Ch]:
13196         * lyxtextclass.[Ch]:
13197         * lyxtextclasslist.[Ch]: new files
13198
13199         * include order changes to a lot of files, also changes because of
13200         the six new files.
13201
13202 2001-12-27  Juergen Vigna  <jug@sad.it>
13203
13204         * buffer.C (asciiParagraph): more fixes.
13205
13206         * tabular.C (ascii): make ascii export support export of only the
13207         data separated by a column-delimiter.
13208         (ascii): better support for ascii export.
13209
13210         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13211
13212 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * tabular_funcs.C: use a "using std::getline" instead of the
13215         previous fix from Angus (necessary for cxx + lyxstring)
13216
13217 2001-12-24  Juergen Vigna  <jug@sad.it>
13218
13219         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13220
13221         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13222         problems. First check a minipage also if we have some ert-contents
13223         (not only on par->size(), second set the right depth of the paragraph
13224         on the relink to the root-paragraph-list!
13225
13226         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13227         which then did not anymore update the main paragraphs on undo/redo!
13228
13229 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13230
13231         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13232         code. Support all font-changing funcs (even those which are not in
13233         menu currently). Support for reporting font settings in
13234         mathed (disabled until Andre provides a function on mathed's side).
13235
13236         * func_status.h (toggle): small helper function to set toggle
13237         state on a flag.
13238
13239 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * tabular_funcs.C: getline -> std::getline
13242
13243 2001-12-21  Juergen Vigna  <jug@sad.it>
13244
13245         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13246         accessed and could be 0 (I couldn't generate this but it seems
13247         Michael could!).
13248
13249 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13250
13251         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13252         * tabular_funcs.h: here and include iosfwd
13253
13254 2001-12-20  Juergen Vigna  <jug@sad.it>
13255
13256         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13257         inside inset but undo_par was.
13258
13259 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13260
13261         * Thesaurus.C: always include <config.h> in sources.
13262
13263         * Painter.h:
13264         * lyxlookup.h:
13265         * box.h: do not include <config.h> in header files
13266
13267         * text.C (paintLastRow): remove unused variable
13268
13269         * text.C (transformChar):
13270         (insertChar):
13271         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13272
13273         * Painter.C (text):
13274         * font.C (width): rewrite to use uppercase() instead of
13275         islower/toupper.
13276
13277         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13278
13279 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13280
13281         * lyxfind.C: clean up of find failure position change
13282
13283 2001-12-20  Juergen Vigna  <jug@sad.it>
13284
13285         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13286
13287         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13288         (TeXRow): added to LaTeX a single tabular row.
13289         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13290         (Latex): simplified and finally good LT-h/f support.
13291         (various_functions): just small adaptions for LT-h/f support.
13292
13293         * tabular_funcs.[hC]: added and moved here all not classfunctions
13294         of LyXTabular.
13295
13296 2001-12-19  Juergen Vigna  <jug@sad.it>
13297
13298         * tabular.[Ch]: better support for longtabular options (not finished
13299         yet!)
13300
13301 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * text.C (paintLastRow): use the label font instead of the font of
13304         the last character to compute the size of *_BOX. This makes more
13305         sense and avoids a crash with empty paragraphs.
13306         Use Painter::rectangle to draw EMPTY_BOX.
13307
13308 2001-12-19  Juergen Vigna  <jug@sad.it>
13309
13310         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13311         the paragraphs if the replaced paragraph is not the first one!
13312         Tried to delete not used paragraphs but does not work yet so for
13313         now it's inside #ifdef's and by default off!
13314
13315 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13316
13317         * MenuBackend.C: include "lyx_main.h" instead of declaring
13318         lastfiles (actually was declared as LastFiles* instead of a
13319         scoped_ptr).
13320
13321 2001-12-17  Juergen Vigna  <jug@sad.it>
13322
13323         * tabular.C (AppendColumn): applied John's fix
13324
13325 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13326
13327         * BufferView.h:
13328         * BufferView.C:
13329         * BufferView_pimpl.h:
13330         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13331
13332         * Makefile.am:
13333         * box.h: new start of class for above
13334
13335         * lyxfunc.C: ignore space-only minibuffer dispatches.
13336           Show the command name when it doesn't exist
13337
13338         * minibuffer.C: don't add empty lines to the history
13339
13340         * minibuffer.C: add a space on dropdown completion
13341
13342 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13343
13344         * text.C: fix line above/below drawing in insets
13345
13346 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13347
13348         * lyxlength.C (LyXLength): Initialize private variables.
13349
13350 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13351
13352         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13353         when inserting error insets.
13354
13355 2001-12-13  Juergen Vigna  <jug@sad.it>
13356
13357         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13358         actually sometimes the before-paragraph.
13359         (setUndo): don't clear the redostack if we're not actually undoing!
13360
13361 2001-12-06  Juergen Vigna  <jug@sad.it>
13362
13363         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13364         and fixed redoing of main paragraph, so we can use it now ;)
13365
13366         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13367
13368 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13369
13370         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13371         Juergen's request
13372
13373 2001-12-13  André Pönitz <poenitz@gmx.net>
13374
13375         * undostack.[Ch]:
13376         * undo_func.C: minor cleanup
13377
13378 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13379
13380         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13381         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13382         font in urw-fonts package which is marked as -urw-fontspecific and
13383         does not work (incidentally, changing the encoding in the
13384         fonts.dir of this package to -adobe-fontspecific fixes the
13385         problem).
13386
13387         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13388         is a crash when undoing first paragraph (Juergen, please take a
13389         look). THis does not mean the undo fix is wrong, just that it
13390         uncovers problems.
13391
13392         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13393         the (Paragraph*) version when needed instead of duplicating the
13394         code.
13395
13396         * text.C (workWidth): use Inset::parOwner to find out where the
13397         inset has been inserted. This is a huge performance gain for large
13398         documents with lots of insets. If Inset::parOwner is not set, fall
13399         back on the brute force method
13400
13401         * paragraph_pimpl.C (insertInset):
13402         * paragraph.C (Paragraph):
13403         (cutIntoMinibuffer): set parOwner of insets when
13404         inserting/removing them
13405
13406         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13407
13408 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13409
13410         * commandtags.h:
13411         * LyXAction.C:
13412         * lyx_main.C:
13413         * lyxfunc.C:
13414         * mathed/formulabase.C:
13415         * mathed/math_cursor.[Ch]:
13416         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13417
13418
13419 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * lyxlength.[Ch] (operator!=): new function
13422
13423 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13424
13425         * text.C (workWidth): use Inset::parOwner to find out where the
13426         inset has been inserted. This is a huge performance gain for large
13427         documents with lots of insets. If Inset::parOwner is not set, fall
13428         back on the brute force method
13429
13430         * paragraph_pimpl.C (insertInset):
13431         * paragraph.C (Paragraph):
13432         (cutIntoMinibuffer): set parOwner of insets when
13433         inserting/removing them
13434
13435         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13436
13437 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13438
13439         * tabular-old.C (getTokenValue):
13440         * tabular.C (getTokenValue):
13441         (write_attribute): new versions for LyXLength
13442         (everywhere): adjust the use of widths
13443
13444         * tabular.h: change the type of widths from string to LyXLength
13445
13446 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13447
13448         * paragraph.C: fixed missing line number count when exporting
13449         Environments to LaTeX file
13450
13451         * buffer.C: added informational message for checking line numbers.
13452
13453 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13454
13455         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13456         paragraph, do the 'double space' part, but not the 'empty
13457         paragraph' one.
13458
13459         * text.C (workWidth): small optimization
13460         (getLengthMarkerHeight): use minimal size for negative lengths.
13461
13462 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13463
13464         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13465
13466         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13467
13468 2001-12-11  André Pönitz <poenitz@gmx.net>
13469
13470         * FontLoader.C:
13471         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13472
13473 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13474
13475         * text2.C: keep selection on a setFont()
13476
13477 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13478
13479         * lyx_cb.C: another bv->text misuse, from insert label
13480
13481 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13482
13483         * kbsequence.h:
13484         * kbsequence.C: re-instate nmodifier mask
13485
13486 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * lyx_main.h: make lyxGUI private.
13489
13490 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * lyxfind.C: place the cursor correctly on failed search
13493
13494 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13495
13496         * text.C (getLengthMarkerHeight): for small heights, the arrows
13497         are not always on top/bottom of the text
13498         (drawLengthMarker): smaller arrows; take the left margin in
13499         account; draw also vfills.
13500         (paintFirstRow):
13501         (paintLastRow): remove special code for vfill and standard spaces,
13502         since everything is handled in drawLengthMarker now.
13503
13504 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13505
13506         * buffer.C (insertErtContents): try to handle font and language
13507         interaction a bit better.g
13508
13509         * ColorHandler.C (updateColor): change the hash to cover the whole
13510         LColor enum, ws cleanup
13511         (getGCLinepars): ditto
13512         (getGCLinepars): only lookup in the linecache once.
13513
13514 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13515
13516         * iterators.C (operator++): Make the iterator more robust
13517
13518         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13519         (John's patch)
13520         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13521
13522 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13523
13524         * lyxtext.h:
13525         * text.C: better added space drawing
13526
13527 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13528
13529         * LyXView.C:
13530         * BufferView2.C: fix layout combo update on inset unlock
13531
13532 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * Makefile.am: don't compile unused files
13535
13536 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13537
13538         * lyxfunc.C:
13539         * commandtags.h:
13540         * LyXAction.C: remove old LFUN_LAYOUTNO
13541
13542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * paragraph_pimpl.h:
13545         * paragraph_pimpl.C: isTextAt() doesn't need font param
13546
13547 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * lyxlex.h:
13550         * lyxlex.C: little cleanup
13551
13552 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13553
13554         * BufferView_pimpl.C: fix insertAscii for insets
13555
13556 2001-12-05  Juergen Vigna  <jug@sad.it>
13557
13558         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13559         set the right font on the "multi" paragraph paste!
13560
13561 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13562
13563         * trans_decl.h:
13564         * trans_mgr.[Ch]:
13565         * trans.[Ch]:
13566         * lyxgluelength.C:
13567         * lyxlength.C: remove out-commented code.
13568
13569         * BufferView_pimpl:
13570         * CutAndPaste.C:
13571         * DepTable.C:
13572         * buffer.C:
13573         * chset.C:
13574         * lastfiles.C:
13575         * lyxlex.C:
13576         * lyxlex_pimpl.C:
13577         * lyxserver.C:
13578         * screen.C:
13579         * tabular-old.C:
13580         * tabular.C:
13581         * text.C:
13582         * trans_mgr.C:
13583         * vc-backend.C: change "while(" to "while ("
13584
13585         * lyxlength.[Ch]: add zero function to check if length is zero or
13586         not
13587         * lyxgluelength.C: use it
13588
13589 2001-12-05  Allan Rae  <rae@lyx.org>
13590
13591         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13592         Works for 2.95.3, from what I understand of Garst's reports this should
13593         work for other g++ versions.  We're screwed if the abs(int) definition
13594         changed between bugfix releases of gcc.
13595
13596 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * text.C: fix chapter label offset !
13599
13600 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * lyxtext.h:
13603         * text.C: fix hfill at end of line, clean up
13604
13605 2001-12-04  Juergen Vigna  <jug@sad.it>
13606
13607         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13608         that we force an update of the inset and it's owners if neccessary.
13609
13610 2001-12-03  Juergen Vigna  <jug@sad.it>
13611
13612         * text.C (rowLast): simplified code
13613
13614 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * lyxfunc.C: fix show options on timeout
13617
13618 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * screen.C (topCursorVisible): scroll half a page when the cursor
13621         reached top of bottom of screen
13622
13623 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * minibuffer.C: deactivate on loss of focus
13626
13627 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * vspace.[Ch] (operator!=): add operator.
13630
13631 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13632
13633         * BufferView_pimpl.C: refuse to open an inset when
13634         there's a selection.
13635
13636 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13637
13638         * BufferView_pimpl.C: allow to click on RHS of full row insets
13639
13640 2001-11-30  Juergen Vigna  <jug@sad.it>
13641
13642         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13643         insets for undo reasons.
13644
13645 2001-11-28  André Pönitz <poenitz@gmx.net>
13646
13647         * vspace.[Ch]: cosmetical changes
13648
13649 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13650
13651         * LyXAction.h:
13652         * LyXAction.C:
13653         * lyxfunc.h:
13654         * lyxfunc.C:
13655         * kbmap.h:
13656         * kbmap.C:
13657         * lyxrc.C:
13658         * kbsequence.h:
13659         * kbsequence.C: part re-write of old kb code
13660
13661         * Painter.C:
13662         * WorkArea.C: remove Lgb_bug_find_hack
13663
13664 2001-11-30  José Matos <jamatos@fep.up.pt>
13665
13666         * buffer.C (makeDocBookFile): add a comment to point a hack.
13667         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13668         Fixed a double write of labels.
13669
13670 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13671
13672         * LaTeX.C:
13673         * LaTeX.h Fixed bug in LaTeX class where it would not
13674         re-run latex if no depfiles were changed, but the .dvi was removed.
13675
13676 2001-11-28  André Pönitz <poenitz@gmx.net>
13677
13678         * all the files from the change on 2001/11/26:
13679         use lyx::layout_type instead of LyXTextClass::size_type
13680         use lyx::textclass_type instead of LyXTextClassList::size_type
13681
13682 2001-11-29  Juergen Vigna  <jug@sad.it>
13683
13684         * text.C: added support for paragraph::isFreeSpacing()
13685
13686         * buffer.C: same as above
13687
13688         * paragraph.h: inserted isFreeSpacing() function to enable
13689         FreeSpacing inside InsetERT.
13690
13691         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13692         of the paragraph's in the cut/copy buffer to 0!
13693
13694         * text2.C (removeRow): remove the assert as it can!
13695
13696         * lyxtext.h: added helper function firstRow returning firstrow and
13697         made firstrow private again.
13698
13699         * BufferView2.C (lockInset): don't relock if we're already locked!
13700
13701         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13702         the only paragraph.
13703         (removeRow): added Assert::(firstrow)
13704
13705         * debug.C: forgot to add INSETTEXT here.
13706
13707 2001-11-28  Juergen Vigna  <jug@sad.it>
13708
13709         * sp_spell.C (initialize): changed error text to more general
13710         spellchecker command use (not only ispell!)
13711
13712         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13713
13714         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13715
13716 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * vspace.C: initialise lyxgluelength on failure
13719
13720 2001-11-28  Allan Rae  <rae@lyx.org>
13721
13722         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13723         declaration & definition that looks like a function declaration.
13724
13725 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * BufferView2.C (copy):
13728         (copyEnvironment): do not clear the selection when doing a copy.
13729
13730         * text.C (paintFirstRow): compilation fix
13731
13732 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13733
13734         * tabular.C (Latex): correct line count when writing latex.
13735
13736 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13737
13738         * paragraph_pimpl.h:
13739         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13740           bug a bit
13741
13742 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * text.C:
13745         * LColor.h:
13746         * LColor.C: change vfillline->added_space
13747
13748         * text.C: add markers and text for added space
13749
13750         * vspace.C: fix comment
13751
13752 2001-11-28  André Pönitz <poenitz@gmx.net>
13753
13754         * paragraph.C: whitespace changes
13755         * all the other files from the change on 2001/11/26:
13756         change *::pos_type into lyx::pos_type
13757
13758 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13759
13760         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13761         language of the document when inserting error insets.
13762
13763 2001-11-26  André Pönitz <poenitz@gmx.net>
13764
13765         * BufferView_pimpl.[Ch]:
13766         *       CutAndPaste.C:
13767         * buffer.[Ch]:
13768         * lyxcursor.[Ch]:
13769         * lyxfind.C:
13770         * lyxfunc.C:
13771         * lyxrow.[Ch]:
13772         * paragraph.[Ch]:
13773         * paragraph_pimpl.[Ch]:
13774         * sp_spell.C:
13775         * text.C:
13776         * text2.C: reduce header dependencies, introduce type for positions
13777
13778 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13779
13780         * <various>: change to use Alert.h
13781
13782 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13785         when encountering an unknown token.
13786         (readLyXformat2): Show an error message if there were unknown tokens.
13787
13788 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13789
13790         * BufferView2.C:
13791         * BufferView_pimpl.C:
13792         * buffer.C:
13793         * paragraph.h:
13794         * text.C:
13795         * text2.C: use par->isInset()
13796
13797 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13798
13799         * paragraph_pimpl.h:
13800         * paragraph_pimpl.C: cleanup
13801
13802 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13803
13804         * text2.C (removeRow):
13805         * text.C (setHeightOfRow): remove useless (and costly) call to
13806         getRow.
13807
13808 2001-11-20  Allan Rae  <rae@lyx.org>
13809
13810         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13811         Now need Inset*::checkInsertChar() to return true for appropriate
13812         cases so that the characters in the minibuffer will actually be
13813         inserted.
13814
13815 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13816
13817         * text.C: change the order of the includes.
13818         (workWidth): initialize it at once.
13819         (workWidth): make maxw unsigned
13820         (setHeightOfRow): remove unused variable (inset)
13821         (selectSelectedWord): remove unused variable (inset)
13822         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13823
13824 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13825
13826         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13827         server is not running.
13828         (openConnection):
13829         (closeConnection): add debug info when server is disabled.
13830
13831         * ColorHandler.C (getGCForeground): send debug message to GUI
13832         channel.
13833
13834         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13835
13836         * kbmap.C (bind): modify because return conventions of
13837         kb_sequence::parse have changed.
13838
13839         * kbsequence.C (parse): only ignore spaces and not any stupid
13840         control character. This avoids tests like s[i] <= ' ', which are
13841         guaranteed to fail with 8bit characters and signed chars.
13842         Change return code to string::npos when there have been no error
13843         (0 was a bad idea when error is at first character)
13844
13845 2001-11-14  José Matos  <jamatos@fep.up.pt>
13846
13847         * buffer.h:
13848         * buffer.C (simpleDocBookOnePar): removed unused argument.
13849
13850 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13851
13852         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13853         insets which are part of a word. Paragraph::isLetter takes care of
13854         that now. Use Paragraph::isInset to identify insets.
13855         (selectSelectedWord): do not test for hyphenation break.
13856
13857         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13858         that protected spaces are considered as spaces.
13859
13860         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13861         Inset::isLetter.
13862
13863 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13864
13865         * lyxserver.h:
13866         * lyxserver.C: fix it. and small cleanup.
13867
13868 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * BufferView_pimpl.C: use inline helpers
13871
13872         * LaTeXFeatures.h:
13873         * LaTeXFeatures.C: fix typos
13874
13875         * Spacing.h:
13876         * Spacing.C: move spacing_string into class
13877
13878         * ToolbarDefaults.C: move stuff into namespace anon
13879
13880         * layout.h: update enum
13881
13882         * lyxfunc.C: use better debug
13883
13884         * minibuffer.h: fix typo
13885
13886         * debug.h:
13887         * debug.C:
13888         * WorkArea.C: add and use Debug::WORKAREA
13889
13890         * lyxtext.h:
13891         * text.C:
13892         * text2.C: code re-organisation, inline helpers
13893
13894 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13895
13896         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13897         std::vector.empty().
13898
13899 2001-11-09  Allan Rae  <rae@lyx.org>
13900
13901         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13902         '\n's after tables.  Tabular and ERT inset work now makes this no
13903         longer necessary.
13904
13905 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13906
13907         * minibuffer.h:
13908         * minibuffer.C: fix crash, improve drop-down completion
13909
13910 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * lyxserver.h:
13913         * lyxserver.C: invalidate fd's when doing endPipe()
13914
13915 2001-11-08  José Matos  <jamatos@fep.up.pt>
13916
13917         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13918         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13919
13920         * paragraph.h:
13921         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13922
13923 2001-11-07  José Matos  <jamatos@fep.up.pt>
13924
13925         * buffer.h:
13926         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13927         const qualifier.
13928
13929         * buffer.C (sgmlOpenTag):
13930         * buffer.C (sgmlCloseTag): removed debug info.
13931
13932         * buffer.h (sgmlOpenTag):
13933         * buffer.h (sgmlCloseTag): made public.
13934
13935 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * buffer.C (saveParamsAsDefaults):
13938         * lyx_cb.C (MenuLayoutSave): remove
13939
13940         * LyXAction.C (init):
13941         * commandtags.h:
13942         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13943
13944 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13945
13946         * buffer.C (setPaperStuff): removed from here...
13947
13948         * bufferparams.C (setPaperStuff): ... and moved there.
13949
13950 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13951
13952         * minibuffer.h:
13953         * minibuffer.C:
13954         * XFormsView.C: add support for drop-down completion
13955
13956 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13957
13958         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13959         commands.
13960
13961 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13964         disabled.
13965
13966 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13967
13968         * lyx_main.C: change ref to known bugs
13969
13970 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13971
13972         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13973         to work around older babel problems.
13974
13975 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13976
13977         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13978
13979 2001-10-24  Juergen Vigna  <jug@sad.it>
13980
13981         * tabular-old.C (ReadOld): below variable changes reflected.
13982
13983         * tabular.[Ch]: added ltType struct for longtable header/footer
13984         defines and changed all instances where they are used. Added
13985         future support for double top/bottom rows.
13986
13987 2001-10-24  José Matos  <jamatos@fep.up.pt>
13988
13989         * buffer.h (docbookHandleCaption):
13990         * buffer.C (docbookHandleCaption): removed unused function.
13991         (makeDocBookFile): moved docbook supported version to v4.1.
13992
13993 2001-10-24  José Matos  <jamatos@fep.up.pt>
13994
13995         * tabular.h:
13996         * tabular.C (docbookRow): new function to export docbook code of a row.
13997         (DocBook): now honors the longtable flags.
13998
13999 2001-10-23  José Matos  <jamatos@fep.up.pt>
14000
14001         * LaTeXFeatures.h:
14002         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14003         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14004
14005         * buffer.C (makeLinuxDocFile):
14006         (makeDocBookFile): reworked the preamble, more clean, and with
14007         support for lyx defined entities. Changed the document declaration
14008         to be more XML friendly.
14009
14010         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14011         if we need to output XML that should be done with a filter.
14012
14013 2001-10-22  Juergen Vigna  <jug@sad.it>
14014
14015         * sp_pspell.h (class PSpell): add alive function needed in the
14016         controller to see if the spellchecker could be started.
14017
14018 2001-10-22  Juergen Vigna  <jug@sad.it>
14019
14020         * buffer.C (insertStringAsLines): modify the font for inserting
14021         chars in certain conditions by calling checkInsertChar(font).
14022
14023 2001-10-19  Juergen Vigna  <jug@sad.it>
14024
14025         * text.C (workWidth): use getRow instead of wrong algorithm.
14026         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14027
14028 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * lyxserver.h:
14031         * lyxserver.C:
14032         * lyx_main.h:
14033         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14034
14035 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14036
14037         * text.C (workWidth): do not search for the exact row when
14038         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14039         optimization for big documents.
14040
14041 2001-10-18  Juergen Vigna  <jug@sad.it>
14042
14043         * text.C (workWidth): new function with added Inset * parameter.
14044
14045 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14046
14047         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14048
14049         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14050         change return type of getColumnNearX.
14051
14052
14053         * text.C (changeRegionCase): use uppercase/lowercase instead of
14054         toupper/tolower.
14055         (leftMargin):
14056         (rightMargin): simplify code by factoring out the uses of
14057         textclasslist.
14058         (labelFill):
14059         (numberOfHfills):
14060         (setHeightOfRow):
14061         (appendParagraph): use Paragraph::size_type
14062
14063 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * vspace.C (asLatexString): add a missing break
14066
14067 2001-10-15  Herbert Voss  <voss@perce.de>
14068
14069         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14070
14071 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14072
14073         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14074         is not available.
14075
14076 2001-10-10  André Pönitz <poenitz@gmx.net>
14077
14078         * lyxfunc.C: removed greek_kb_flag.
14079
14080 2001-10-10  Herbert Voss  <voss@perce.de>
14081
14082         * lyx_main.C: delete global string help_lyxdir.
14083
14084 2001-10-09  Herbert Voss  <voss@perce.de>
14085
14086         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14087
14088         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14089
14090         * lyx_main.C: added global string help_lyxdir.
14091
14092         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14093
14094 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14095
14096         * lyxrc.C (set_font_norm_type): support iso8859-4
14097
14098 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14099
14100         * LaTeX.C (deplog): add another regex for MikTeX
14101
14102 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14103
14104         * lyxrc.C (set_font_norm_type): support iso8859-3
14105
14106 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14107
14108         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14109
14110         * LaTeXFeatures.C: remove special case of french and index
14111
14112         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14113         before \begin{document}). This solves several incompatibilities.
14114
14115 2001-10-03  Garst Reese  <reese@isn.net>
14116
14117         * lyx_cb.C: change CheckTex error msg.
14118
14119 2001-10-03  José Matos  <jamatos@fep.up.pt>
14120
14121         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14122
14123 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14124
14125         * .cvsignore: update
14126
14127         * lyx_main.C (commandLineVersionInfo): use new style version info.
14128
14129         * buffer.C (writeFile):
14130         (makeLaTeXFile):
14131         (makeLinuxDocFile):
14132         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14133
14134         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14135
14136         * version.h: update to use stuff in version.C
14137
14138         * version.C.in: new file. Contains version information determined
14139         at compile time. This is a merging of version.h and
14140         version_info.h.in.
14141
14142 2001-10-03  Juergen Vigna  <jug@sad.it>
14143
14144         * BufferView_pimpl.C (update): don't change "dirty" status in
14145         updateInset call.
14146
14147 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14148
14149         * WorkArea.C (c-tor): re-position version string slightly.
14150
14151 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14152
14153         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14154         revert to previous code.
14155
14156         WorkArea.[Ch]: (show, destroySplash): methods removed.
14157
14158         WorkArea.C: rework code so that it's an amalgam of the codes before and
14159         after the splash screen was moved to WorkArea.
14160
14161 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14162
14163         * lyxrc.C (read):
14164         * vspace.C (inPixels):
14165         (lyx_advance):
14166         * kbmap.C (bind):
14167         * buffer.C (insertStringAsLines):
14168         (asciiParagraph): fix types to be large enough
14169
14170         * lyxlex_pimpl.h: change member status from short to int
14171
14172         * layout.h: fix type of endlabeltype
14173
14174         * kbmap.C (bind):
14175         * kbsequence.C (parse): change return type to string::size_type
14176
14177         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14178         variable
14179
14180         * Bullet.C (bulletSize):
14181         (bulletEntry): do not use short ints as parameters
14182
14183         * BufferView2.C (insertLyXFile): change a char to an int.
14184
14185         * WorkArea.C (WorkArea): remove unneeded floats in computation
14186
14187 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14188
14189         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14190
14191         * paragraph.C (asString): Do not ignore newline/hfill chars when
14192         copying to the clipboard.
14193
14194 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14195
14196         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14197         after a multi-line inset.
14198
14199 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14200
14201         * paragraph.C (validate): Set NeedLyXFootnoteCode
14202
14203 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14206         and decrease-error to decrease.
14207
14208 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14211         it more readable (should be equivalent)
14212
14213 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14214
14215         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14216
14217 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14220         of a cursor (row, etc.) after a character has been deleted
14221         (deleteEmptyParagraphMechanism): call the method above on _all_
14222         cursors held by the LyXText when a double space has been
14223         detected/deleted.
14224
14225 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14226
14227         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14228         pixmap.
14229         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14230
14231         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14232         background. Use greyOut() and the new show() methods to toggle between
14233         the foreground and background. Add code to remove the splash after
14234         its initial showing.
14235
14236         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14237         (create_forms): no longer call Dialogs::showSplash.
14238
14239 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * .cvsignore: add version_info.h
14242
14243 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * version_info.h.in: new file
14246
14247         * Makefile.am: add version_info.h.in
14248
14249         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14250         version_info.h instead of VERSION_INFO
14251
14252 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14253
14254         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14255         The ERT inset now returns string().
14256
14257 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14258
14259         * lyxtext.h, text.C (selectNextWord): renamed as
14260         selectNextWordToSpellcheck.
14261
14262         * text.C (selectNextWordToSpellcheck): Modified to not select
14263         words inside an ERT inset.
14264
14265 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * lyx_cb.C (MenuLayoutSave): change a bit the question
14268
14269         * sp_base.h: include <sys/types.h>
14270
14271 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14272
14273         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14274
14275 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14276
14277         * several files: fix typos in user-visible strings
14278
14279 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * text2.C (pasteSelection): do not set the selection, since it
14282         will be cleared later. Actually, the intent was to fix the way the
14283         selection was set, but I figured rmoving the code was just as good.
14284
14285 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14286
14287         * FontLoader.C (available): Check if font is available without
14288         loading the font.
14289
14290 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14291
14292         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14293
14294 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14295
14296         * lyxrc.[Ch]: added display_graphics variable and associated code.
14297
14298 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * bufferparams.C (hasClassDefaults): new method. Returns true if
14301         the buffer parameters correspond to known class defaults
14302
14303 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14304
14305         * XFormsView.C (show): set minimum size to the main window.
14306
14307 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14308
14309         * text2.C (copySelection):
14310         (cutSelection):
14311         * lyxfind.C (LyXReplace):
14312         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14313         LyXText::selectionAsString.
14314
14315         * paragraph.C (asString): add "label" argument to the second form
14316
14317         * text2.C (selectionAsString): add "label" argument and pass it to
14318         Paragraph::asString.
14319
14320 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * lyx_main.C (commandLineHelp): remove version information
14323
14324 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14325
14326         * lyx_main.C: add -version commandline option
14327
14328 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14329
14330         * paragraph.h: make the optional constructor arg required instead.
14331         some modifications to other files because of this.
14332
14333         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14334
14335         * lyxserver.C (C_LyXComm_callback): make it static
14336
14337         * lyx_main.C (error_handler): make it static
14338
14339         * lyx_gui.C (LyX_XErrHandler): make it static
14340
14341         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14342
14343         * WorkArea.C: make the extern "C" methods static.
14344
14345         * Makefile.am (lyx_LDADD): simplify
14346
14347 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14350         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14351
14352         * LyXAction.C (init):
14353         * lyxfunc.C (dispatch): associated code removal.
14354
14355 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14356
14357         * lyxfont.h (isSymbolFont): shut off warning
14358
14359         * text.C (setHeightOfRow):
14360         (getVisibleRow): fix crash with empty paragraphs which have a
14361         bottom line
14362
14363 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14364
14365         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14366         code.
14367
14368 2001-09-04  José Matos  <jamatos@fep.up.pt>
14369         * buffer.C
14370         * buffer.h
14371         * tabular.C (docbook): rename docBook method to docbook.
14372
14373 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14374
14375         * Makefile.am: add dependencies to main.o.
14376
14377 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14378
14379         * FontLoader.C (available): Return false if !lyxrc.use_gui
14380
14381 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14382
14383         * FontInfo.C (query):
14384         * converter.C (view):
14385         * importer.C (Import):
14386         * exporter.C (Export): Can not -> cannot.
14387
14388 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14389
14390         * BufferView_pimpl.C: allow to create index inset even if
14391           string is empty
14392
14393 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14394
14395         * buffer.C (getLists): replace boost::tie code with an explicit pair
14396         as boost::tie can break some compilers.
14397
14398         * iterators.h: Added a std:: declaration to the return type of
14399         ParIterator::size.
14400
14401 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14404           case.
14405
14406 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14407
14408         * iterators.[Ch]: New files. Provide paragraph iterators.
14409
14410         * buffer.C (changeLanguage): Use paragraph iterators.
14411         (isMultiLingual): ditto
14412
14413         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14414
14415 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14416
14417         * FontLoader.C: Support for cmr font.
14418
14419 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14420
14421         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14422         (available): New method.
14423
14424         * FontInfo.C (getFontname): Use scalable fonts even when
14425         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14426         found.
14427
14428 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14429
14430         * converter.C (Formats::view): reverted! Incorrect fix.
14431
14432 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * converter.C (Formats::view): only output the -paper option
14435         if the dvi viewer is xdvi, thereby fixing bug #233429.
14436
14437 2001-08-23  Herbert Voss  <voss@perce>
14438
14439         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14440
14441 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14442
14443         * Spacing.h (Spacing): Set space to Default on in the default
14444         constructor.
14445
14446 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14447
14448         * vc-backend.h (RCS::versionString): add RCS to version
14449         (CVS::versionString): add CVS to version
14450
14451         * vc-backend.C (scanMaster): do not add CVS to version.
14452         (scanMaster): do not add RCS to version
14453
14454         * lyxvc.C (versionString): new method
14455
14456         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14457
14458 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14459
14460         * Spacing.C (set): initialize fval
14461
14462 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14463
14464         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14465         " or \.
14466
14467 2001-08-16  Juergen Vigna  <jug@sad.it>
14468
14469         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14470
14471 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14472
14473         * BufferView_pimpl.C:
14474         * figureForm.C:
14475         * lyxtext.h:
14476         * text2.C: setParagraph takes linespacing now
14477
14478 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14479
14480         * LyxAction.C: add internal LFUN_CITATION_INSERT
14481
14482         * LyXView.C: actually apply fix
14483
14484         * bufferlist.C: fix open non-existent file
14485
14486         * lyxfind.C: fix indentation
14487
14488         * lyxfunc.C: remove unneeded assert, fix typo
14489
14490 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14491
14492         * MenuBackend.C: use "Floatname List"
14493
14494 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14495
14496         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14497         when converting LaTeX layout to insetERT.
14498         Generate a non-collapsed float when reading old float
14499
14500 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14501
14502         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14503         ERT insets.
14504
14505 2001-08-13  Juergen Vigna  <jug@sad.it>
14506
14507         * text.C (fill): return 0 instead of 20 as this seems to be the more
14508         correct value.
14509
14510 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14511
14512         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14513         lyxrc.font_norm.
14514
14515 2001-08-13  Juergen Vigna  <jug@sad.it>
14516
14517         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14518         casesensitive off.
14519         (SearchBackward): comment out the unlocking of the inset_owner this
14520         should not be needed!
14521
14522 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14523
14524         * Many files: Remove inherit_language, and add latex_language
14525
14526         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14527         collapsible insets.
14528
14529 2001-08-10  Juergen Vigna  <jug@sad.it>
14530
14531         * text.C (prepareToPrint): fixed hfill-width in draw!
14532
14533         * BufferView2.C (selectLastWord): save the selection cursor as this
14534         now is cleared in the function LyXText::clearSelection!
14535
14536 2001-08-08  Juergen Vigna  <jug@sad.it>
14537
14538         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14539         BACKSPACE type functions.
14540
14541         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14542         is only cutted from the document but not put in the cut-buffer, where
14543         still the old stuff should be.
14544
14545         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14546
14547         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14548
14549         * tabular.C (SetWidthOfCell): fixed special case where the width
14550         was not updated!
14551         (LeftLine): handle '|' in align_special.
14552         (RightLine): ditto
14553         (LeftAlreadyDrawed): ditto
14554         (SetWidthOfCell): ditto
14555
14556 2001-08-07  Juergen Vigna  <jug@sad.it>
14557
14558         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14559
14560 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14561
14562         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14563         * lyxlex.[hC]: ditto
14564
14565 2001-08-06  Juergen Vigna  <jug@sad.it>
14566
14567         * text.C (getVisibleRow): fix up row clearing a bit.
14568
14569 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * minibuffer.C: make sure the X server sees the changes in the input.
14572
14573 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14574
14575         * paragraph.C (getFont): split into...
14576         (getLabelFont): this
14577         (getLayoutFont): and this
14578         * paragraph_pimpl.C (realizeFont): calling this
14579
14580         * text2.C (getFont): split into...
14581         (getLayoutFont): this
14582         (getLabelFont): and this
14583         (realizeFont): all three calling this
14584
14585         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14586         files where used.
14587
14588 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14589
14590         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14591
14592 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14593
14594         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14595         layouts from the Quote inset insertion.
14596
14597 2001-08-03  Juergen Vigna  <jug@sad.it>
14598
14599         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14600
14601         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14602         only if status not is already CHANGED_IN_DRAW (second level).
14603
14604         * text.C (draw): don't set the need_break_row when inside an
14605         InsetText LyXText.
14606
14607 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14608
14609         * buffer.C (parseSingleLyXformat2Token): handle more latex
14610         conversion cases.
14611
14612         * bufferview_funcs.[hC]: change function names to
14613         begin with small char, adjust other files.
14614
14615 2001-08-02  André Pönitz <poenitz@gmx.net>
14616
14617         * lyxfunc.C:
14618         BufferView_pimpl.C: remove broken special code for math-greek
14619
14620 2001-08-02  Juergen Vigna  <jug@sad.it>
14621
14622         * BufferView_pimpl.C (update): redone this function so that we
14623         update the text again if there was a CHANGE_IN_DRAW.
14624
14625         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14626         (drawFromTo): added a new internal bool which is used by draw() and
14627         redraw() function.
14628         (general): some cursor drawing problems fixed.
14629
14630 2001-08-01  Juergen Vigna  <jug@sad.it>
14631
14632         * lyxfind.C (LyXFind): fixed
14633         (SearchForward): ditto
14634         (SearchBackward): ditto
14635
14636         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14637         spurius drawing of the cursor in the main area.
14638
14639         * text2.C (status): small fix which could lead to a segfault!
14640         (clearSelection): remove unneeded BufferView param.
14641
14642 2001-08-01  André Pönitz <poenitz@gmx.net>
14643
14644         * lyxfunc.C: small change due to changed mathed interface
14645
14646 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14647
14648         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14649
14650 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * lyxfunc.c: fail gracefully if file doesn't exist
14653
14654         * LyXSendto.C:
14655         * buffer.C:
14656         * lyxfunc.C:
14657         * BufferView_pimpl.C: IsDirWriteable() proto changed
14658
14659         * LyXView.C: fix updateWindowTitle() to store the last title
14660
14661 2001-07-31  Juergen Vigna  <jug@sad.it>
14662
14663         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14664         the font (wrong since using of Paragraph::highestFontInRange).
14665
14666         * paragraph.C (highestFontInRange): added a default_size parameter.
14667
14668         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14669         (setHeightOfRow): reformat
14670
14671 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * converter.[hC] + affected files: move to (inital-char)lowercase
14674         function names.
14675
14676         * ParagraphParameters.C (ParagraphParameters): remove commented code
14677
14678         * PainterBase.[Ch]: remove commented code
14679
14680         * LaTeXFeatures.h: add "bool floats" for float.sty
14681
14682         * LaTeXFeatures.C (LaTeXFeatures): init floats
14683         (require): handle float
14684         (getPackages): do it with floats
14685
14686 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * BufferView_pimpl.C (Dispatch): improve handling of
14689         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14690
14691         * commandtags.h: #include lyxfont.h here temporarily to avoid
14692         keybinding bug.
14693
14694         * bufferlist.h: include LString.h here.
14695
14696 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * text2.C (getStringToIndex): new method.
14699
14700 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14701
14702         * *: Reduced header file dependencies all over.
14703
14704 2001-07-30  Baruch Even  <baruch@lyx.org>
14705
14706         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14707
14708 2001-07-29  Baruch Even  <baruch@lyx.org>
14709
14710         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14711
14712 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14713
14714         * ParameterStruct.h (endif): add a default constructor to make
14715         sure that all variables is initialized.
14716
14717         * ParagraphParameters.C (ParagraphParameters): adjust
14718
14719 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14720
14721         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14722         index; also, check that there is something to index, and that it
14723         does not span over several paragraphs.
14724         (doubleClick): use WHOLE_WORD_STRICT for double click.
14725
14726         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14727
14728         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14729         scheme.
14730
14731 2001-07-26  Baruch Even  <baruch@lyx.org>
14732
14733         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14734         an InsetFig figure, backwards compatible reading of old figure code.
14735
14736 2001-07-27  Juergen Vigna  <jug@sad.it>
14737
14738         * text2.C: font.realize function adaption.
14739
14740         * text.C (draw): add a warnings lyxerr text if needed.
14741
14742         * layout.C: font.realize function adaption.
14743
14744         * language.C: add inherit_language and implement it's handlings
14745
14746         * bufferview_funcs.C (StyleReset): remove language parameter from
14747         font creation (should be language_inherit now).
14748
14749         * bufferparams.C (writeFile): handle ignore_language.
14750
14751         * paragraph.C (getFontSettings): the language has to be resolved
14752         otherwise we have problems in LyXFont!
14753
14754         * lyxfont.C (lyxWriteChanges): added document_language parameter
14755         (update): removed unneeded language parameter
14756
14757         * paragraph.C (validate): fixed wrong output of color-package when
14758         using interface colors for certain fonts in certain environments,
14759         which should not seen as that on the final output.
14760
14761 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14762
14763         * BufferView_pimpl.C:
14764         * Thesaurus.h:
14765         * Thesaurus.C:
14766         * Makefile.am:
14767         * commandtags.h:
14768         * LyXAction.C: add thesaurus support
14769
14770         * lyxfind.h:
14771         * lyxfind.C: add "once" parameter, for thesaurus, to not
14772           move to the next match
14773
14774 2001-07-26  Juergen Vigna  <jug@sad.it>
14775
14776         * lyxfont.C (realize): honor ignore_language too!
14777         (resolved): ditto.
14778
14779         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14780
14781         * text.C (draw): one place more for ignore_language to not draw
14782         itself!
14783
14784 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14785
14786         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14787
14788 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14789
14790         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14791         the minipage conversion problem.
14792
14793 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14794
14795         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14796         insert an inset.
14797
14798 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14799
14800         * BufferView.h: don't forward declare WorkArea
14801
14802         * BufferView.C: don't include WorkArea.h
14803
14804 2001-07-25  André Pönitz <poenitz@gmx.net>
14805
14806         * commandtags.h:
14807         * LyXAction.C:
14808         * lyxfunc.C:  new LFUN 'math-space'
14809
14810         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14811
14812 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14813
14814         * text2.C (toggleInset): call open/close
14815
14816 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * lyxfunc.C (dispatch): add debug for the disabled case
14819
14820         * font.C (buttonText): make similar to rectText
14821
14822         * buffer.C (readInset): comment out parsing of insetlist and
14823         insttheorem
14824
14825         * PainterBase.C (rectText): small correction
14826
14827         * BufferView_pimpl.C: comment out insettheorem and insetlist
14828         * LyXAction.C: ditto
14829         * commandtags.h: ditto
14830
14831 2001-07-24  Juergen Vigna  <jug@sad.it>
14832
14833         * text.C (draw): honor the ignore_language.
14834
14835         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14836
14837 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14840         char inset.
14841
14842 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14843
14844         * lyxtext.h: remove unused (and unimplemented) methods
14845
14846 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14847
14848         * text.C (getVisibleRow): honor background color
14849
14850         * PainterBase.h:
14851         * Painter.h: remove default color argument for fillRectangle
14852
14853         * text.C (backgroundColor): new method
14854
14855 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14856
14857         * text.C (getVisibleRow): adjust
14858
14859         * font.[Ch] (rectText): new method, metrics
14860         (buttonText): new method, metrics
14861
14862         * PainterBase.[hC]: make rectText and buttonText always draw and take
14863         fewer paramteres.
14864
14865 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14866
14867         * ToolbarDefaults.C (read):
14868         * MenuBackend.C (read): allow escaping in all strings
14869
14870         * BufferView_pimpl.C (insertAndEditInset): new method.
14871         (Dispatch): use insertAndEditInset whenever appropriate.
14872
14873         * BufferView_pimpl.C (insertNote): removed
14874
14875         * BufferView_pimpl.C (smartQuote): new method, moved from
14876         BufferView; if an insetquote cannot be inserted, insert a '"'
14877         character instead.
14878
14879         * BufferView2.C: remove insertCorrectQuote();
14880
14881         * lyxfunc.C (getStatus): Add support for all remaingin
14882         inset-insert lfuns.
14883
14884         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14885
14886         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14887         command (necessary to pass " as parameter of self-insert.
14888
14889         * text.C (selectWordWhenUnderCursor):
14890         (selectWord): add word_location parameter
14891         (selectWordWhenUnderCursor): same + remove special code for word
14892         boundary.
14893         (selectNextWord): use kind() to guess type of insetspecialchar,
14894         not latex().
14895
14896         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14897         (insertErtContents): create ert insets as collapsed.
14898         (readInset): better compatibility code for Info inset.
14899
14900 2001-07-20  Juergen Vigna  <jug@sad.it>
14901
14902         * lyxfunc.C (dispatch): use always LyXFind now!
14903
14904         * text2.C (init): add a reinit flag so that the LyXText can be
14905         reinited instead of deleted and reallocated (used in InsetText).
14906
14907         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14908
14909         * text.C: ditto
14910
14911         * text2.C: ditto
14912
14913 2001-07-18  Juergen Vigna  <jug@sad.it>
14914
14915         * text.C (selectNextWord): handle insets inside inset by calling
14916         always the bv->text functions so that we can go up the_locking_inset!
14917
14918         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14919         in strange locations when inside an inset!
14920
14921         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14922         handling to include insets.
14923
14924         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14925
14926 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14927
14928         * LyXAction.C (init):
14929         * commandtags.h:
14930         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14931         LIGATURE_BREAK, since the name is so stupid.
14932
14933 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14934
14935         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14936         InsetInfos.
14937
14938         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14939
14940         * sp_form.[Ch]: remove.
14941
14942         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14943
14944         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14945         InsetInfo.
14946
14947         * src/buffer.C (readInset): ditto.
14948
14949 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14950
14951         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14952         menuSeparator(), endOfSentenceDot(), ldots() and
14953         hyphenationPoint(), which are therefore removed.
14954         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14955
14956         * LyXAction.C (init):
14957         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14958
14959         * paragraph.C (getWord): removed.
14960
14961         * BufferView_pimpl.C (Dispatch): use last word or selection for
14962         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14963
14964         * lyx_main.C (queryUserLyXDir): do not ask before creating
14965         user_dir, except if it has been named explicitely.
14966
14967 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14968
14969         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14970         a document of zero size.
14971
14972 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14973
14974         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14975         approriately in the c-tor and in require().
14976         (getPackages): output the appropriate LaTeX for natbib support.
14977
14978         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14979         variables "use_natbib" and "use_numerical_citations" when reading the
14980         LyX file.
14981         (readInset): read the various natbib cite commands.
14982         (validate): white-space change.
14983
14984         * bufferparams.[Ch]: new variables "bool use_natbib" and
14985         "bool use_numerical_citations".
14986         (writeFile): output them in the LyX file.
14987
14988 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14989
14990         * lyxfunc.C (getStatus): add support for all the inset insertion
14991         commands.
14992
14993         * text2.C (insertInset):
14994         * paragraph.C (insetAllowed):
14995         * BufferView_pimpl.C (insertInset): update to take in account the
14996         renaming of insertInsetAllowed
14997
14998         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14999
15000         * text2.C (getInset): new method. returns inset at cursor position.
15001
15002         * BufferView_pimpl.C (Dispatch): changes because of this.
15003
15004         * LyXAction.C (init): rename open-stuff to inset-toggle.
15005
15006         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15007
15008         * text2.C (toggleInset): renamed from openStuff; use
15009         Inset::open().
15010
15011 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15012
15013         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15014
15015         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15016
15017 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15018
15019         * buffer.C (readLyXformat2): Add filename to the error dialog
15020
15021 2001-07-18  Juergen Vigna  <jug@sad.it>
15022
15023         * tabular.C (GetCellNumber): put an assert here instead of the check!
15024
15025 2001-07-17  Juergen Vigna  <jug@sad.it>
15026
15027         * BufferView_pimpl.C (toggleSelection): adapted too.
15028
15029         * text.C (selectNextWord): adapted for use with insets.
15030         (selectSelectedWord): ditto
15031
15032 2001-07-17  Juergen Vigna  <jug@sad.it>
15033
15034         * sp_spell.C (PSpell): fix initialitation order.
15035
15036 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15037
15038         * paragraph.C: spacing
15039
15040 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15041
15042         * sp_spell.C: repair language selection for pspell
15043
15044 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * lyxfunc.h: change more methods to begin with lower char.
15047
15048 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15049
15050         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15051         for unknown layouts.
15052
15053 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15054
15055         * buffer.C (readLyXformat2): Generate an error dialog if there are
15056         unknown layouts.
15057
15058 2001-07-16  Juergen Vigna  <jug@sad.it>
15059
15060         * sp_spell.C: always compile ISpell part.
15061
15062         * lyxrc.C: added use_pspell entry and it's handling.
15063
15064 2001-07-13  Juergen Vigna  <jug@sad.it>
15065
15066         * sp_spell.C: removed double includes.
15067
15068 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15069
15070         Consistent use of Lsstream.h:
15071         * Lsstream.h: added using std::stringstream for consistencies sake.
15072
15073         * buffer.C: removed using std::stringstream
15074
15075         * lyxfont.C (stateText):
15076         * paragraph.C (asString):
15077         * text.C (selectNextWord, selectSelectedWord):
15078         * text2.C (setCounter):
15079         * vspace.C (asString, asLatexString):
15080         std::ostringstream -> ostringstream.
15081
15082 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15083
15084         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15085         * commandtags.h: add LFUN_HELP_ABOUTLYX
15086         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15087
15088 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15089
15090         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15091         cursorToggle()
15092         * lyx_gui_misc.C: remove spellchecker
15093         * lyxfunc.C: showSpellchecker
15094         * sp_base.h: added
15095         * sp_ispell.h: added
15096         * sp_pspell.h: added
15097         * sp_spell.C: added
15098         * sp_form.[Ch]: removed
15099         * spellchecker.[Ch]: removed
15100
15101 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15102
15103         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15104         is set.
15105         (simpleTeXSpecialChars): Simply print the input character without
15106         any special translation if pass_thru is set.
15107
15108         * layout.h: Added bool pass_thru to layout class for being able to
15109         implement pass through of a paragraph for Literate Programming.
15110
15111         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15112         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15113         * layout.C (Read): add "passthru" to list of layout tags and add
15114         code to set the pass_thru boolean when it is read.
15115
15116 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15117
15118         * trans_decl.h: remove allowed from KmodInfo
15119
15120         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15121         remove allowed code
15122         (Load): adjust
15123
15124         * paragraph_pimpl.C (erase): use boost::prior
15125
15126         * Painter.C (text): use data() instead of c_str() when length is
15127         also provided.
15128         * WorkArea.C (putClipboard): ditto
15129         * font.h (width): ditto
15130
15131         * BufferView2.C: use it-> instead of (*it). for iterators
15132         * texrow.C: ditto
15133         * paragraph_pimpl.C: ditto
15134         * paragraph.C: ditto
15135         * minibuffer.C: ditto
15136         * language.C: ditto
15137         * kbmap.C: ditto
15138         * encoding.C: ditto
15139         * counters.C: ditto
15140         * converter.C: ditto
15141         * chset.C: ditto
15142         * Variables.C: ditto
15143         * TextCache.C: ditto
15144         * MenuBackend.C: ditto
15145         * LyXAction.C: ditto
15146         * LColor.C: ditto
15147         * FloatList.C: ditto
15148         * DepTable.C: ditto
15149         * ColorHandler.C (LyXColorHandler): ditto
15150
15151 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15152
15153         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15154
15155         * text2.C (openStuff): reintroduce this method (which had been
15156         nuked in NEW_INSETS frenzy).
15157
15158         * lyxfunc.C (Dispatch): when an action has not been handled, use
15159         its name in the error message, not its number.
15160
15161         * paragraph.C (inInset): change method name to begin with lowercase.
15162
15163         * undo_funcs.C:
15164         * text2.C: updates because of this.
15165
15166 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * ToolbarDefaults.C (add): add spaces in error message
15169
15170 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15173         (readLyXformat2): rename return_par to first_par, use lyxlex's
15174         pushToken and remove the manual push handling.
15175         (parseSingleLyXformat2Token): add another ert comp. variable:
15176         in_tabular, rename return_par to first_par. handle newlines better
15177
15178 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15179
15180         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15181
15182 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * text2.C (getParFromID): removed
15185
15186         * buffer.C (getParFromID): new method moved form lyxtext.
15187         * BufferView2.C (insertErrors): adjust
15188         (setCursorFromRow): adjust
15189         * BufferView_pimpl.C (restorePosition): adjust
15190         * lyxfunc.C (Dispatch): adjust
15191         * undo_funcs.C (textUndo): adjust
15192         (textRedo): adjust
15193         (textHandleUndo): adjust
15194         (textHandleUndo): adjust
15195
15196 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * buffer.C: up' the LYX_FORMAT
15199
15200         * lyxfont.h: turn NO_LATEX on as default
15201
15202         * buffer.C (insertErtContents): new methods of tex style compability.
15203         (parseSingleLyXformat2Token): use it several places.
15204         * tabular.C (OldFormatRead): and here
15205
15206 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15207
15208         * text2.C: remove some commented code.
15209         reindent file.
15210
15211         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15212         * trans.C: changes because of the above.
15213
15214 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * text2.C (setCounter): Fix counters bug with bibliography layout.
15217
15218 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15219
15220         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15221         own member functions
15222         (simpleTeXSpecialChars): ditto
15223
15224 2001-07-06  Juergen Vigna  <jug@sad.it>
15225
15226         * a lot of files: changed the access to LyXText::status and the
15227         call of undo-functions.
15228
15229         * undo.[Ch]: added a inset_id to the undo informations.
15230
15231         * undo_funcs.[Ch]: added and moved here all undo functions.
15232
15233         * lyxtext.h: give the status enum a weight, made status_ a private
15234         variable and made accessor functions for it, removed the whole bunch
15235         of undo-functions as they are now in their own file, make some
15236         functions publically available. Added function ownerParagraph with
15237         int parameter.
15238
15239         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15240         made InInset() a const function, added getParFromID() function.
15241
15242         * buffer.[Ch]: added const version for inset_iterator functions,
15243         added getInsetFromID() function.
15244
15245         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15246         changed undo functions for new version.
15247
15248 2001-07-05  Juergen Vigna  <jug@sad.it>
15249
15250         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15251         unknow mechanism does not call the proper constructor but only this
15252         one also if I request the other!?
15253
15254 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15255
15256         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15257
15258         * text2.C (LyXText): use initialization lists.
15259
15260         * lyxtext.h (Selection): initialize set_ and mark_
15261         (init): remove method
15262
15263 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15264
15265         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15266
15267 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15268
15269         * screen.[Ch]: change method names to begin with lowercase
15270
15271         * BufferView_pimpl.C (updateScrollbar): simplify further and
15272         hopefully make it a bit faster.
15273
15274 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15277         calling directly xforms functions.
15278
15279         * Painter.C (Painter):
15280         * lyx_cb.C (MenuWrite):
15281         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15282         fl_display.
15283
15284         * lyx_gui.C: remove bogus guiruntime extern declaration.
15285
15286 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15287
15288         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15289         in NEW_INSETS
15290         (redoDrawingOfParagraph): ditto
15291         (redoParagraphs): ditto
15292         (cutSelection): don't create a object for CutAndPaste use the
15293         static method directly
15294         (pasteSelection): ditto
15295
15296         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15297         LyXview (+ rename)
15298
15299 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * modifications to some other files because of this.
15302
15303         * Makefile.am (lyx_SOURCES): add XFormsView
15304
15305         * XFormsView.[Ch]: new files
15306
15307         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15308         the main window. Move the gui dependent stuff to XFormsView
15309
15310 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15311
15312         * tabular.C (GetCellInset): update cur_cell also in the row/col
15313         version of this function.
15314
15315         * lyxfunc.C: no need to include figure_form.h here.
15316
15317         * FontLoader.h:
15318         * lyxfunc.h:
15319         * lyxscreen.h:
15320         * text2.C:
15321         * lyxvc.C: no need to include forms.h here.
15322
15323 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15326
15327         * lyxfunc.C (Dispatch):
15328         * Spacing.C (set):
15329         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15330         constructor argument.
15331
15332 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15333
15334         * paragraph.C (Paragraph): dont't clear, and just set layout.
15335         (makeSameLayout): use params's copy contructor.
15336
15337         * ParagraphParameters.[Ch] (makeSame): delete method
15338
15339 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15340
15341         * Variables.[Ch]: fix indentation, rename set to isSet
15342
15343 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15344
15345         * lyxfunc.C (Dispatch): fix typo
15346
15347 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15350         upper_bound.
15351
15352         * bufferlist.C: include assert.h for emergencyWrite().
15353
15354 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15355
15356         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15357           give up at last (bug #425202) !
15358
15359 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15360
15361         * lyx_gui_misc.C:
15362         * sp_form.h:
15363         * sp_form.C:
15364         * spellchecker.h:
15365         * spellchecker.C: strip spellchecker options and bring up
15366           preferences tab instead
15367
15368 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15369
15370         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15371         the istringstream constructor
15372
15373 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * paragraph.C (getLayout): fix return value
15376
15377         * paragraph.h: do not declare getLayout as inline.
15378
15379         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15380
15381 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15382
15383         * lyxcursor.h (operator<): new func
15384         (operator>): new func
15385         (operator>=): new func
15386         (operator<=): new func
15387
15388         * text.C (changeCase): use selection.start and selection.end
15389         (changeRegionCase): require from to be <= to. Require par to be a
15390         valid paragraph.
15391
15392         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15393
15394 2001-06-27  Juergen Vigna  <jug@sad.it>
15395
15396         * text.C (cursorLeftOneWord): changed to return the cursor and added
15397         overlay with BufferView * parameter which calls this one.
15398         (getWord): added
15399         (selectWord): use new getWord function.
15400         (changeCase): renamed from changeWordCase as and extended to work
15401         also on selections.
15402
15403         * lyxtext.h: added enum word_location
15404
15405         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15406         changeCase as this operates now also on selections.
15407
15408 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15409
15410         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15411
15412         * many files: send debug output to Debug::INFO instead of
15413         Debug::ANY.
15414
15415         * converter.C (View):
15416         (Convert):
15417         (Move): send debug output to Debug::FILES instead of console.
15418
15419 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15420
15421         * lyxfunc.C (getStatus): use func_status
15422
15423         * func_status.h: new header, describing the results of
15424         LyXFunc::getStatus;
15425
15426         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15427         LFUN_MATH_HALIGN.
15428
15429 2001-06-25  The LyX Project  <jug@sad.it>
15430
15431         * buffer.C (sgmlOpenTag):
15432         (sgmlCloseTag):
15433         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15434
15435 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15436
15437         * text2.C: remove some dead code
15438
15439         * tabular.C (GetCellInset): store the last cell checked (gotten)
15440
15441         * tabular.h: add the helper for the speedup
15442
15443         * lyxtext.h: remove some dead code
15444
15445 2001-06-26  The LyX Project  <Asger>
15446
15447         * paragraph.C: Change export to LaTeX of alignment to
15448         \begin{center} and family for better roundtrip work with reLyX.
15449
15450         * Tune the math drawing a bit.
15451
15452 2001-06-25  The LyX Project  <Asger>
15453
15454         * LColor.C (LColor): New color for math background. New color
15455         for buttons.
15456
15457 2001-06-25  The LyX Project  <jug@sad.it>
15458
15459         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15460
15461         * lyxfunc.C (Open):
15462         * bufferlist.C (newFile): do not restrict to files ending with
15463         .lyx
15464
15465         * BufferView_pimpl.C (MenuInsertLyXFile):
15466
15467 2001-06-24  The LyX Project  <jug@sad.it>
15468
15469         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15470         of compare_no_case
15471
15472 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15473
15474         * lyxtext.h: rename most methods to begin with a small char.
15475         Lots of changes because of this.
15476
15477         * paragraph.C (Paragraph): do not call fitToSize
15478         (erase): call Pimpl::erase
15479         (insertChar): call Pimpl::insertChar
15480         (insertInset): call Pipl::insertInset
15481         (breakParagraph): do not call fitToSize
15482         (breakParagraphConservative): do not call fitToSize
15483         (fitToSize): remove method
15484
15485         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15486
15487 2001-06-24  The LyX Project  <Asger>
15488
15489         * Fix Qt compilation^2
15490
15491 2001-06-24  The LyX Project  <jug@sad.it>
15492
15493         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15494         depthHook(getDepth()-1).
15495
15496         * paragraph.h:
15497         * ParagraphParameters.h:
15498         * ParameterStruct.h: change type of depth to unsigned int ==
15499         depth_type. Many adaptations to other files before of that.
15500
15501 2001-06-24  The LyX Project  <Asger>
15502
15503         * Fix Qt compilation.
15504
15505 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15506
15507         * paragraph.h: renamed several methods to begin with small letter.
15508         several changes to many parts of the code because of this.
15509
15510 2001-06-23  The LyX Project  <jug@sad.it>
15511
15512         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15513         rewritten to discard all double spaces when KeepEmpty is off
15514         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15515         to only handle newlines but not fiddle with spaces and friends.
15516
15517         * lyxfunc.C (MenuNew): when doing 'new from template', use
15518         template_path as default directory
15519
15520 2001-06-23  The LyX Project  <Asger>
15521
15522         * Clean-up of header file includes all over
15523         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15524
15525 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * paragraph.h: renamed from lyxparagraph.h
15528
15529 2001-06-23  Asger  <lyx@violet.home.sad.it>
15530
15531         * Buffer.h: Removed Buffer::resize
15532         * BufferList.h: Removed BufferList::resize
15533         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15534         the document lazily when we change the width, or the font settings.
15535
15536 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15537
15538         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15539
15540 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15541
15542         * buffer.h: remove out of date comment
15543
15544 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15545
15546         * lyxscreen.h:
15547         * screen.C: fix "theoretical" GC leak
15548
15549 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * LaTeX.C (scanAuxFile):
15552         (deplog): remove trailing \r when reading stream (useful under
15553         win32)
15554
15555 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15558         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15559         and BufferView::theLockingInset(Inset*), so should use them and not
15560         access bv_->text->the_locking_inset directly.
15561
15562         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15563
15564 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15565
15566         * Makefile.am:
15567         * tex-defs.h: remove old unused file
15568
15569 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15570
15571         * BufferView_pimpl.C: fix typo, remove minibuffer message
15572           when buffer has loaded
15573
15574 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15575
15576         * lyxfunc.C (Dispatch): use stringstream
15577         (MenuNew): use stringstream
15578         (Open): use stringstream
15579
15580         * importer.C (Import): use stringstream
15581
15582         * bufferview_funcs.C (CurrentState): use stringstream
15583
15584         * LaTeX.C (run): use stringstream
15585
15586         * BufferView_pimpl.C (savePosition): use stringstream
15587         (restorePosition): use stringstream
15588         (MenuInsertLyXFile): use stringstream
15589
15590 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15591
15592         * BufferView.C:
15593         * Bullet.C:
15594         * ColorHandler.C:
15595         * FontInfo.C:
15596         * FontLoader.C:
15597         * LColor.C:
15598         * LaTeXFeatures.C:
15599         * Painter.C:
15600         * gettext.C:
15601         * lyx_gui_misc.C:
15602         * lyxserver.C:
15603         * vspace.C: removed // -*- C++ -*- as first line.
15604
15605         * lyxfind.h:
15606         * version.h: added // -*- C++ -*- as first line.
15607
15608 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15609
15610         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15611
15612         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15613         of string
15614
15615 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15616
15617         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15618         of floats.
15619
15620 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15621
15622         * gettext.C: include LString.h even when --disable-nls is on.
15623
15624 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15625
15626         * converter.h (Get): changed argument type from int to
15627         FormatList::size_type to avoid unnecessary conversion.
15628
15629         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15630         before using it.
15631
15632 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15633
15634         * gettext.h: include LString.h even when --disable-nls is on.
15635
15636 2001-06-07  Juergen Vigna  <jug@sad.it>
15637
15638         * text.C (BreakAgain): subst spaces with tabs.
15639
15640         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15641         (resizeInsetsLyXText): set force on resizeLyXText.
15642
15643 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * gettext.h (gettext_init):
15646         (locale_init): use a real definition instead of a macro
15647
15648 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15649
15650         * Bufferview_pimpl.C:
15651         * LColor.h:
15652         * LColor.C: further lcolor tidies
15653
15654 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * BufferView_pimpl.C (updateScrollbar): simplify.
15657
15658         * BufferView2.C: don't include insets/insetinfo.h, change
15659         prototype for insertInset and call the Pimpl version. let
15660         updateInset call Pimpl version.
15661
15662         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15663         gotoInset to BufferView::Pimpl
15664
15665 2001-06-01  Juergen Vigna  <jug@sad.it>
15666
15667         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15668         inside a LockingInset (is the update needed at all?).
15669
15670 2001-05-31  Juergen Vigna  <jug@sad.it>
15671
15672         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15673         here not the old one otherwise how should we compare it afterwards
15674         if it's the same!
15675
15676 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15677
15678         * lyxfont.C:
15679         * tabular.C:
15680         * tabular-old.C:
15681         * FontInfo.C: bring C functions into global namespace when
15682         necessary
15683
15684 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15685
15686         * LString.h: make sure config.h has been loaded before LString.h.
15687
15688         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15689         (one for each char read by EatLine!).
15690
15691         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15692         variables.
15693
15694 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15695
15696         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15697         to the same as the par we break from
15698
15699 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15700
15701         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15702
15703         * MenuBackend.C (expand): also create menu entries for wide
15704         versions of the floats.
15705
15706         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15707
15708         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15709
15710         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15711         frontends/Makefile.am
15712
15713         * text2.C: adjust
15714         * text.C: adjust
15715
15716
15717         * tabular.C (getTokenValue): add std::
15718
15719         * tabular-old.C (getTokenValue): add std::
15720         (getTokenValue): ditto
15721         (getTokenValue): ditto
15722
15723         * screen.C (ToggleSelection): adjust
15724
15725         * lyxtext.h: put selection cursors inside a Selection struct.
15726
15727         * lyxfunc.C (moveCursorUpdate): adjust
15728
15729         * lyxfont.C (latexWriteStartChanges): add std::
15730
15731         * lyxfind.C: adjust
15732
15733         * font.h: delete with(char const *, LyXFont const &)
15734
15735         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15736
15737         * FontInfo.C (getFontname): add std::
15738
15739         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15740         (workAreaButtonPress): adjust
15741         (tripleClick): adjust
15742         (update): adjust
15743         (moveCursorUpdate): adjust
15744         (Dispatch): adjust
15745
15746         * BufferView2.C (gotoInset): adjust
15747
15748 2001-05-30  Juergen Vigna  <jug@sad.it>
15749
15750         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15751         to check pspell I add this as default as I now have new pspell
15752         libraries and they seem to use this.
15753
15754 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15755
15756         * text2.C (CutSelection): make the cursor valid before the call to
15757         ClearSelection.
15758
15759 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15760
15761         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15762         relied on 0 terminated strings and other horrors. Bug found due to
15763         the new assert in lyxstring!
15764
15765         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15766         KP_ keys.
15767
15768 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15769
15770         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15771         to latinkeys.bind.
15772
15773         * lyxfunc.C (processKeySym): change method of getting to the
15774         self-insert char.
15775
15776         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15777         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15778         * BufferView_pimpl.[Ch]: here as private methods.
15779
15780 2001-05-28  Juergen Vigna  <jug@sad.it>
15781
15782         * text.C (SetHeightOfRow): added the update() call again as it is
15783         needed to initialize inset dimensions!
15784
15785 2001-05-16  Juergen Vigna  <jug@sad.it>
15786
15787         * text2.C (SetCharFont): Add new function with BufferView * and
15788         bool toggleall parameters for setting insets internal fonts.
15789         (SetFont): Freeze the undo as we may change fonts in Insets and
15790         all this change should be inside only one Undo!
15791
15792         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15793         setting font's in insets as for them we have the SetFont function!
15794
15795 2001-05-15  Juergen Vigna  <jug@sad.it>
15796
15797         * text2.C (ClearSelection): to be sure we REALLY don't have any
15798         selection anymore!
15799
15800         * tabular.C (TeXCellPreamble): fixed the left border problem for
15801         multicolumn cells.
15802
15803 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15804
15805         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15806         dependancy file
15807
15808 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15809
15810         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15811         LFUN_BREAKPARAGRAPH.
15812
15813         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15814         help test to "internal only", similar for LFUN_INSERT_URL
15815
15816         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15817         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15818         auto_region_delete and deadkeys.
15819
15820 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15821
15822         * LColor.h:
15823         * LColor.C: remove some dead entries, tidy a little
15824
15825 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15826
15827         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15828         commented code.
15829         (Dispatch): implement LFUN_ESCAPE
15830
15831         * commandtags.h: add LFUN_ESCAPE
15832
15833         * LyXAction.C (init): add entry for LFUN_ESCAPE
15834
15835         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15836         Remove commented code.
15837         (insertNote): moved here
15838         (open_new_inset): moved here
15839
15840         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15841         BufferView_pimpl
15842
15843 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15844
15845         * kbmap.C (findbinding): clean it up and make it work correctly.
15846
15847         * lyx_main.C (init): do not pass argc and argv as parameters
15848
15849 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15850
15851         * buffer.C: fix path for OS/2 & Win32
15852
15853         * lyx_gui.C:
15854         * lyx_main:
15855         * lyx_main.C: Added os:: class.
15856
15857         * os2_defines.h: update
15858
15859 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15860
15861         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15862         better by trying again with reduced state.
15863
15864 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15865
15866         * lyxrc.C (read): print error about invalid key sequence only when
15867         debugging (because not all latinX keysyms are known to some X
15868         servers)
15869
15870         * kbsequence.C (getiso): add a few std:: qualifiers
15871         (getiso): comment out extra return statement.
15872
15873 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15874
15875         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15876         handling.
15877         (Dispatch): enhance the accent inset a bit. (not perfect)
15878
15879 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15882
15883 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * bufferlist.C (emergencyWrite): fix assert() call
15886
15887 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15888
15889         * text.C (InsertChar): Added trivial patch to only send the "you
15890         can not do multiple spaces this way" message once during a
15891         session.
15892
15893 2001-05-08  Baruch Even  <baruch@lyx.org>
15894
15895         * Makefile.am: Changed order of libraries to get LyX to link properly
15896         with the gnome frontend.
15897
15898 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * LaTeXFeatures.h: add a std:: qualifier
15901
15902 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * paragraph.C (String): use stringstream
15905
15906 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * paragraph.C (writeFile): remove footflag arg
15909
15910         * buffer.C (makeLaTeXFile): use stringstream
15911         (latexParagraphs): remove footnot gurba
15912
15913         * LaTeXFeatures.C (getPackages): use stringstream
15914         (getMacros): likewise
15915         (getTClassPreamble): likewise
15916         (getFloatDefinitions): new method
15917
15918         * paragraph.C (writeFile): reindent
15919         (Erase): reindent
15920
15921         * WorkArea.h: revert the xpos + etc changes.
15922
15923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15924
15925         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15926
15927         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15928         (pasteSelection): likewise
15929         * text2.C (CreateUndo): likewise
15930
15931 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * minibuffer.C (peek_event): temporarily reduce the functionality
15934         of the minibuffer (to allow args on lfuns)
15935
15936         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15937         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15938
15939         * buffer.C (readInset): add compability reading of old float
15940         lists, add reading of new style float list.
15941         (readInset): avoid reevaluation of inscmd.getCmdName()
15942         (getLists): reindent
15943
15944         * MenuBackend.C (MenuItem): implement parsing of
15945         md_floatlistinsert and md_floatinsert.
15946         (expand::LastFiles): move initalizaton of iterators out of loop,
15947         avoid reevaluation.
15948         (expand::Documents): introduce typdedef vector<string> Strings,
15949         and use it.
15950         (expand::ExportFormats): introduce typedef vector<Format const *>
15951         Formats, and use it.
15952         (expand): implement FloatListInsert and FloatInsert.
15953
15954         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15955         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15956         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15957
15958         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15959         handling.
15960         (Dispatch::LFUN_FLOAT_LIST): implement
15961
15962 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15963
15964         * LaTeX.C (run): Fix problem with --export code.
15965
15966 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15967
15968         * BufferView.[Ch] (workarea): removed.
15969         (getClipboard) new method; wrapper for workarea()->getClipboard()
15970
15971         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15972         bug.
15973
15974         * WorkArea.h (width, height, xpos, ypos): These methods all
15975         returned the dimensions of the work_area sub-area of WorkArea,
15976         resulting in a position error if the WorkArea were resized. Now
15977         return the dimensions of the entire WorkArea.
15978
15979         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15980
15981 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15982
15983         * LaTeX.C (deplog): correct the syntax of regex reg1
15984
15985 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15986
15987         * undo.C: remove !NEW_INSETS cruft
15988
15989 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15990
15991         * text2.C: remove !NEW_INSETS cruft
15992
15993         * text.C: remove !NEW_INSETS cruft
15994
15995         * tabular.C: remove !NEW_INSETS cruft
15996
15997         * spellchecker.C: remove !NEW_INSETS cruft
15998
15999         * lyxtext.h: remove !NEW_INSETS cruft
16000
16001         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16002
16003         * lyxfunc.C: remove !NEW_INSETS cruft
16004
16005         * lyxfind.C: remove !NEW_INSETS cruft
16006
16007         * lyx_cb.C: remove !NEW_INSETS cruft
16008
16009         * figureForm.C: remove  !NEW_INSETS cruft
16010
16011         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16012
16013         * buffer.[Ch]: remove !NEW_INSETS cruft
16014
16015         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16016
16017         * CutAndPaste.C: remove !NEW_INSETS cruft
16018
16019         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16020
16021         * BufferView2.C: remove !NEW_INSETS cruft
16022
16023         * BufferView.h: remove !NEW_INSETS cruft
16024
16025 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16026
16027         * Lsstream.h: include LString.h before the sstream headers to
16028         fix problem with gcc 2.95.3 and lyxstring
16029
16030 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16031
16032         * lyx_main.C: add using directives when needed for C functions
16033         declared in std:: namespace.
16034
16035 2001-04-27  Juergen Vigna  <jug@sad.it>
16036
16037         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16038         (SetHeightOfRow): comment out the update call should not be needed!
16039
16040 2001-04-13  Juergen Vigna  <jug@sad.it>
16041
16042         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16043         (LyXTabular): tried to minimize operator= operations (and realized
16044         hopfully Lars wish).
16045
16046 2001-04-27  Juergen Vigna  <jug@sad.it>
16047
16048         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16049
16050 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16051
16052         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16053
16054         * buffer.C (readInset): hack to make listof algorithm work
16055
16056         * BufferView_pimpl.C: hack to make listof algorithm work
16057
16058 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16059
16060         * LyXAction.C: removed all !NEW_INSETS cruft
16061         (init): moved lfun_item in method
16062
16063         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16064
16065 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16066
16067         * BufferView2.C (theLockingInset): white space.
16068
16069 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16070
16071         * minibuffer.C: include <iostream>
16072
16073         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16074
16075         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16076
16077         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16078
16079         * text.[Ch] (TransposeChars): new method
16080
16081 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16082
16083         * call message directly through LyXView instead of through LyXFunc
16084         * BufferView2.C: adjust
16085         * BufferView_pimpl.C: adjust
16086         * FontLoader.C: adjust
16087         * buffer.C: adjust
16088         * bufferview_funcs.C: adjust
16089         * converter.C: adjust
16090         * figureForm.C: adjust
16091         * importer.C: adjust
16092         * lyx_cb.C: adjust
16093         * lyx_gui_misc.C: adjust
16094         * lyxfunc.C: adjust
16095         * lyxvc.C: adjust
16096         * text2.C: adjust
16097         + more files in subdirs
16098
16099         * lyxparagraph.h (size): move up int file
16100         (GetLayout): ditto
16101
16102         * adjust all uses of Assert to lyx::Assert.
16103
16104         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16105         lyxfunctional in namespace lyx
16106         * layout.C (hasLayout): ditto
16107         (GetLayout): ditto
16108         (GetLayout): ditto
16109         (delete_layout): ditto
16110         (NumberOfClass): ditto
16111         * converter.C (GetFormat): ditto
16112         (GetNumber): ditto
16113         (Add): ditto
16114         (Delete): ditto
16115         (SetViewer): ditto
16116         * bufferlist.C (getFileNames): ditto
16117         (emergencyWriteAll): ditto
16118         (exists): ditto
16119         (getBuffer): ditto
16120         * MenuBackend.C (hasSubmenu): ditto
16121         (hasMenu): ditto
16122         (getMenu): ditto
16123         * BufferView_pimpl.C (getInsetByCode): ditto
16124
16125 2001-04-18  Juergen Vigna  <jug@sad.it>
16126
16127         * vspace.C (asLatexString): fixed the 100% problem.
16128
16129 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16130
16131         * lyxfunc.C (Dispatch):
16132         * minibuffer.C:
16133         * minibuffer.h: add a few std:: qualifiers
16134
16135 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16136
16137         * minibuffer.[Ch]: reimplement so that commands is initiated and
16138         run from lyxfunc, simplified som handling, and made the completion
16139         and history code for complete. wip.
16140
16141         * lyxfunc.C (processKeySym): call message
16142         (miniDispatch): new temporary method
16143         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16144         (LFUN_MESSAGE): implement
16145         (LFUN_MESSAGE_PUSH): implement
16146         (LFUN_MESSAGE_POP): implement
16147         (initMiniBuffer): the initial/defualt minibuffer message.
16148
16149         * lyxfont.[Ch]: inline some more getters
16150
16151         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16152
16153         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16154
16155         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16156         (AutoSave): use LFUN_MESSAGE
16157         (Reconfigure): ditto
16158
16159         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16160
16161         * figureForm.C: use LFUN_MESSAGE
16162
16163         * converter.C (runLaTeX): use LFUN_MESSAGE
16164
16165         * bufferview_funcs.C: use LFUN_MESSAGE
16166         (Melt): ditto
16167         (changeDepth): ditto
16168
16169         * bufferparams.h: use boost::
16170
16171         * bufferlist.h: inherit privately from noncopyable
16172
16173         * bufferlist.C (loadLyXFile): remove some commented code.
16174
16175         * buffer.C (runChktex): use LFUN_MESSAGE
16176
16177         * ShareContainer.h: inherit privately from noncopyable
16178
16179         * ParagraphParameters.[hC] (depth): inline it.
16180
16181         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16182         methods.
16183         (message): new method
16184         (messagePush): ditto
16185         (messagePop): ditto
16186         (show): init minibuffer
16187         (showState): direct call
16188
16189         * LaTeX.[Ch]: inherit privately from noncopyable
16190         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16191         instead of WriteStatus.
16192
16193         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16194
16195         * BufferView_pimpl.C (buffer): don't init minibuffer
16196         (workAreaButtonPress): use LFUN_MESSAGE
16197         (workAreaButtonRelease): ditto
16198         (savePosition): ditto
16199         (restorePosition): ditto
16200         (MenuInsertLyXFile): ditto
16201         (workAreaExpose): don't init minibuffer
16202         (update): remove commented code, simplify
16203
16204         * BufferView2.C (openStuff): use LFUN_MESSAGE
16205         (toggleFloat): ditto
16206         (menuUndo): ditto
16207         (menuRedo): ditto
16208         (copyEnvironment): ditto
16209         (pasteEnvironment): ditto
16210         (copy): ditto
16211         (cut): ditto
16212         (paste): ditto
16213         (gotoInset): ditto
16214         (updateInset): remove some commented code
16215
16216         * lastfiles.h: inherit privately from noncopyable
16217         * layout.h: ditto
16218         * lyx_gui.h: ditto
16219         * lyx_main.h: ditto
16220         * lyxlex.h: ditto
16221         * lyxlex_pimpl.h: ditto
16222
16223         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16224         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16225         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16226
16227         * LyXAction.h: inherit privately from noncopyable, add methods
16228         func_begin, func_end, returning iterators to the func map.
16229
16230         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16231         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16232         (func_begin): new method
16233         (func_end): new method
16234
16235         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16236         and not)
16237         (copySelection): ditto
16238         (pasteSelection): ditto
16239
16240         * BufferView.C: whitespace change
16241         * BufferView.h: inherit privately from noncopyable
16242
16243 2001-04-16  Allan Rae  <rae@lyx.org>
16244
16245         * tabular-old.C (l_getline):
16246         * spellchecker.C (sc_check_word):
16247         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16248         an unrecognised preprocessor directive.  So ensure they're wrapped.
16249
16250 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16251
16252         * src/exporter.C (Export): Give an error message when path to file
16253         contains spaces.
16254
16255 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16256
16257         * LaTeX.C (deplog): Always check that foundfile exists.
16258
16259 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16260
16261         * lyx_main.h:
16262         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16263
16264 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16265
16266         * tabular.[Ch] (getLabelList): implement new method
16267
16268         * minibuffer.h: comment ouf setTiimer
16269
16270         * minibuffer.C (ExecutingCB): constify res
16271         (peek_event): constify s
16272         (Set): constify ntext
16273         (Init): constify nicename
16274
16275         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16276
16277         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16278         (savePosition): use two params to Minibuffer::Set
16279         (restorePosition): ditto
16280
16281 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16282
16283         * lyx_main.C: include language.h
16284
16285         * Makefile.am (lyx_main.o): add language.h
16286
16287 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * exporter.C:
16290         * paragraph.C:
16291         * screen.C:
16292         * tabular.C:
16293         * CutAndPaste.C: include gettext.h
16294
16295         * lyxfont.h: remove old hack with ON and OFF.
16296
16297         * lyxparagraph.h:
16298         * lyxfont.h: do not include language.h...
16299
16300         * BufferView2.C:
16301         * LaTeXFeatures.C:
16302         * Painter.C:
16303         * bufferview_funcs.C:
16304         * font.C:
16305         * lyxfont.C:
16306         * text.C:
16307         * text2.C:
16308         * trans_mgr.C:
16309         * paragraph.C: ... but do it here instead
16310
16311 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16312
16313         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16314
16315         * tabular.C: small reformat
16316
16317         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16318         NEW_INSETS version
16319         (GetChar): ditto
16320         (BreakParagraph): ditto
16321         (SetOnlyLayout): ditto
16322         (SetLayout): ditto
16323
16324         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16325         with one arg less.
16326
16327         * lastfiles.C: removed most using decl, add std:: where needed
16328
16329         * buffer.C: ws changes
16330
16331         * MenuBackend.C (class compare_format): put into anon namespace
16332         (expand): constify label, names, action, action2
16333         (expand):
16334
16335         * text.C (SingleWidth): constify font
16336         (IsBoundary): constify rtl2
16337         (GetVisibleRow): constify ww
16338
16339         * LaTeX.C (deplog): constify logfile
16340
16341         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16342         start_x, end_x
16343         (workAreaExpose): constify widthChange, heightChange
16344
16345         * lyxrow.C (par): moved
16346         (height): moved
16347         (next): moved
16348         * lyxrow.h: as inlines here
16349
16350         * lyxfont.h (shape): moved from lyxfont.C
16351         (emph): moved from lyxfont.C
16352
16353         * lyxfont.C (LyXFont): use initialization list for all
16354         constructors
16355         (shape): move to lyxfont.h as inline
16356         (emph): move to lyxfont.h as inline
16357
16358
16359 2001-04-04  Juergen Vigna  <jug@sad.it>
16360
16361         * vspace.C: had to include stdio.h for use of sscanf
16362
16363 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16364
16365         * BufferView.h:
16366         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16367         independent of xforms.
16368
16369 2001-04-02  Juergen Vigna  <jug@sad.it>
16370
16371         * spellchecker.C: fixed namespace placing!
16372
16373 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16374
16375         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16376         the LyXParagraph * is 0.
16377
16378 2001-03-29  Juergen Vigna  <jug@sad.it>
16379
16380         * vspace.C: added support for %, c%, p%, l%.
16381         (stringFromUnit): added helper function.
16382         (asLatexString): changed to give right results for the %-values.
16383
16384         * buffer.C: convert the widthp in a width%.
16385
16386 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16387
16388         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16389         figureForm.[Ch].
16390
16391         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16392         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16393
16394         * lyx_cb.[Ch]: see above.
16395
16396         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16397         form1.[Ch].
16398
16399         * form1.[Ch]:
16400         * lyx.[Ch]: replaced by figure_form.[Ch].
16401
16402         * lyx_gui.C:
16403         * lyx_gui_misc.C:
16404         * lyxfunc.C: changed headers associated with above changes.
16405
16406 2001-03-27  Juergen Vigna  <jug@sad.it>
16407
16408         * BufferView_pimpl.C: set the temporary cursor right!
16409
16410 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16411
16412         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16413
16414 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16415
16416         * LString.h: removed "using std::getline"!
16417
16418         * BufferView_pimpl.C (Dispatch): changes due to changes in
16419         InsetInclude::Params.
16420
16421         * buffer.C (tag_name): removed redundant break statements as they were
16422         producing lots of warnings with my compiler.
16423
16424 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16425
16426         * LString.h: add "using std::getline" when using the real <string>.
16427
16428 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16429
16430         * buffer.C: removed bitset usage.
16431         PAR_TAG moved to an anonymous name space.
16432         (tag_name): new funtion, also in the anonymous namespace.
16433         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16434         (makeDocBookFile): clean code. Completed transition from string arrays
16435         to string vectors.
16436         (SimpleDocBookOnePar): code clean.
16437
16438 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16439
16440         * tabular.C: add some comments.
16441
16442 2001-03-22  Juergen Vigna  <jug@sad.it>
16443
16444         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16445         compatibility read a bit and fixed bug with minipage in different
16446         depth.
16447
16448 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16449
16450         * buffer.C (pop_tag): removed.
16451         (push_tag): removed.
16452         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16453         array replaced with vector. Added support for CDATA sections.
16454         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16455         at any nest level.
16456         (makeDocBookFile): XML conformant declaration of CDATA section,
16457         fixed bug related to <emphasis> in the first paragraph char.
16458         (sgmlOpenTag): exclude empty tags.
16459         (sgmlCloseTag): ditto.
16460
16461         * buffer.h (pop_tag): removed.
16462         (push_tag): removed.
16463
16464 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16465
16466         * language.h (Languages): added size_type and size().
16467
16468 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16469
16470         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16471         response on compability reading of minipages. One probliem is that
16472         the old usage of minipages was «flertydig»
16473
16474         * several files here and in subdirs: don't use static at file
16475         scope use anon namespaces instead.
16476
16477 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16478
16479         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16480         LaTeX output. This is necessary for Literate document
16481         processing.
16482
16483 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16484
16485         * buffer.C: insert hfill when needed.
16486
16487         * tabular.C (l_getline): use string::erase, small whitespace change.
16488
16489         * BufferView_pimpl.C: try the anon namespace.
16490         * WorkArea.C: ditto
16491
16492 2001-03-16  Juergen Vigna  <jug@sad.it>
16493
16494         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16495         otherwise it won't open options-dialogs.
16496
16497         * buffer.C: honor pextraWidth(p) on converting minipages.
16498
16499         * tabular.C (l_getline): changed the functions to strip trailing \r.
16500
16501 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16502
16503         * BufferView_pimpl.C:
16504         * minibuffer..C: added "using SigC::slot" declaration.
16505
16506 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16507
16508         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16509
16510         * text2.C: ditto
16511
16512         * text.C: ditto
16513
16514         * paragraph.C: ditto
16515
16516         * lyxtext.h: NO_PEXTRA
16517
16518         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16519
16520         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16521         * ParameterStruct.h: ditto
16522         * ParagraphParameters.h: ditto
16523         * lyxparagraph.h: ditto
16524
16525 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16526
16527         * buffer.C: add compability for minipage alignment.
16528         (latexParagraphs): remove unwanted pextra check.
16529
16530         * several files: remove CXX_WORKING_NAMESPACES
16531
16532         * buffer.C (pop_tag): tie is in namespace boost
16533
16534         * BufferView.h: noncopyable is in namespace boost
16535         * lyxlex.h: ditto
16536         * lyx_main.h: ditto
16537         * lyx_gui.h: ditto
16538         * layout.h: ditto
16539         * lastfiles.h: ditto
16540         * bufferlist.h: ditto
16541         * ShareContainer.h: ditto
16542         * LyXView.h: ditto
16543         * LyXAction.h: ditto
16544         * LaTeX.h: ditto
16545
16546 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16547
16548         * Merging changes from BRANCH_MVC back into HEAD.
16549
16550         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16551
16552 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16553
16554         * BufferView_pimpl.C: change from intl.C
16555
16556         * combox.h:
16557         * combox.C:
16558         * Makefile.am: move combox.*
16559
16560         * form1.h:
16561         * form1.C:
16562         * lyx_gui.C:
16563         * intl.h:
16564         * intl.C: remove dialog (covered by prefs)
16565
16566 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16567
16568         * lyxfunc.C (Dispatch): removed redundant break statement.
16569
16570 2001-03-14  Juergen Vigna  <jug@sad.it>
16571
16572         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16573
16574 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16575
16576         * buffer.C: add hack to fix compability reading of minipages.
16577
16578 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16579
16580         * buffer.C (getLists): Cleanup.
16581
16582 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16583
16584         * lyxfont.C (update): don't honor toggleall on font size.
16585
16586 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16587
16588         * bmtable.c:
16589         * bmtable.h:
16590         * Makefile.am: moved to frontends/xforms/
16591
16592         * lyx_gui_misc.C:
16593         * lyxfunc.C:
16594         * BufferView_pimpl.C: changes for moved mathpanel
16595
16596 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16597
16598         * gettext.h: fix gettext_init() in --disable-nls
16599
16600 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16601
16602         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16603
16604 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16605
16606         * lyx.C:
16607         * lyx.h: strip external form
16608
16609 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16610
16611         * BufferView_pimpl.C: add comment, destroySplash()
16612
16613 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16614
16615         * BufferView_pimpl.C:
16616         * LyXAction.C:
16617         * buffer.C:
16618         * commandtags.h:
16619         * lyxfunc.C: use re-worked insetinclude
16620
16621 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16622
16623         * buffer.C: add using std::stringstream.
16624
16625         * lyx_cb.C: readd using std::ios.
16626
16627         * buffer.C: add using std::map.
16628
16629         * BufferView_pimpl.C: add using std::vector.
16630
16631         * ShareContainer.h: add std:: to swap.
16632
16633         * buffer.h: add some typedefs
16634         * buffer.C (getLists): use them
16635         (getLists): renamed from getTocList.
16636         add a counter for the different float types and use it in the
16637         generated string.
16638         (getLists): use the same counter for the NEW_INSETS and the "non"
16639         NEW_INSETS
16640
16641         * lyx_cb.h: remove unused items, includes, using etc.
16642
16643         * ShareContainer.h: remove some commented code, add more comments
16644         and "documentation".
16645
16646 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16647
16648         * buffer.C (getTocList): make the list also when NEW_INSETS is
16649         defined.
16650
16651         * buffer.h: remove TocType
16652
16653         * buffer.C (getTocList): change to return a map<string,
16654         vector<TocItem> >, implement for dynamic number of list.
16655
16656         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16657         * text2.C (PasteSelection): adjust
16658         * CutAndPaste.C (pasteSelection): adjust
16659
16660         * FloatList.C (FloatList): update from the new_insets branch.
16661         * Floating.[Ch]: ditto
16662         * LaTeXFeatures.C: ditto
16663         * buffer.C: ditto
16664         * lyxlex_pimpl.C: ditto
16665
16666         * paragraph.C (Last): remove when NEW_INSETS is defined.
16667
16668         * other file: changes because of the above.
16669
16670 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16671
16672         * lyxparagraph.h: rename next to next_, previous to previous_,
16673         make them private for NEW_INSETS. Rename Next() to next(),
16674         Previous() to previous().
16675
16676         * other files: changes because of the above.
16677
16678 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16679
16680         * BufferView.h:
16681         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16682         problem.
16683
16684 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16685
16686         * main.C (main): pass lyx_localedir to gettext_init().
16687
16688         * gettext.h: remove locale_init and gettext_init macros
16689
16690         * gettext.C (locale_init): new function
16691         (gettext_init): new function
16692
16693         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16694         setlocale().
16695
16696 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16697
16698         * Moved credits to frontends:
16699         * credits.[Ch]: removed
16700         * credits_form.[Ch]: removed
16701         * lyx_gui_misc.C: remove credits stuff
16702         * Makefile.am:
16703
16704 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16705
16706         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16707
16708         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16709         unneeded destructor.
16710
16711         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16712         a standalone pointer again.
16713
16714         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16715
16716 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16717
16718         * Makefile.am:
16719         * filedlg.h:
16720         * filedlg.C:
16721         * LyXAction.C:
16722         * ToolbarDefaults.C:
16723         * bufferlist.C:
16724         * commandtags.h:
16725         * form1.C:
16726         * form1.h:
16727         * lyx_cb.C:
16728         * lyx_cb.h:
16729         * lyxfunc.h:
16730         * lyxfunc.C:
16731         * BufferView_pimpl.C: use new file dialog in GUII
16732
16733         * lyx_cb.h:
16734         * lyx_cb.C: remove LayoutsCB to Toolbar
16735
16736 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16737
16738         * ShareContainer.h (get): add std:: qualifier
16739
16740 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * ShareContainer.h: define a proper ShareContainer::value_type
16743         type (and use typename to please compaq cxx)
16744
16745 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16746
16747         * lyxparagraph.h: move serveral local vars to
16748         ParameterStruct/ParagraphParameters., use ShareContainer in
16749         FontTable., make vars in FontTable private and add getter and
16750         setter.
16751
16752         * paragraph.C: changes because of the above.
16753
16754         * lyxfont.h: remove copy constructor and copy assignment. (the
16755         default ones is ok), move number inside FontBits. move inlines to
16756         lyxfont.C
16757
16758         * lyxfont.C: add number to initializaton of statics, move several
16759         inlines here. constify several local vars. some whitespace
16760         cleanup. Dont hide outerscope variables.
16761
16762         * Spacing.h: add two new constructors to match the set methods.
16763
16764         * ShareContainer.h: new file, will perhaps be moved to support
16765
16766         * ParameterStruct.h: new file
16767
16768         * ParagraphParameters.h: new file
16769
16770         * ParagraphParameters.C: new file
16771
16772         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16773         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16774
16775         * BufferView_pimpl.C: ParagraphParameter changes.
16776         * buffer.C: Likewise.
16777         * bufferview_funcs.C: Likewise.
16778         * text.C: Likewise.
16779         * text2.C: Likewise.
16780
16781 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * lyxfind.C (LyXReplace): do not redefine default argument in
16784         implementation.
16785         (IsStringInText): ditto
16786         (SearchForward): ditto
16787         (SearchBackward): ditto
16788
16789 2001-03-06  Juergen Vigna  <jug@sad.it>
16790
16791         * lyxfind.C (IsStringInText): put parentes around expressions.
16792
16793 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16794
16795         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16796
16797 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16798
16799         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16800
16801         * stl_string_fwd.h: add comment
16802
16803         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16804
16805         * tabular.h:
16806         * tabular.C: remove unused DocBook methods
16807
16808         * intl.C:
16809         * language.C:
16810         * paragraph.C:
16811         * buffer.C:
16812         killed DO_USE_DEFAULT_LANGUAGE
16813
16814 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16815
16816         * lyx_gui.C: do not include language.h.
16817
16818         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16819         arguments in function implementation.
16820
16821 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16822
16823         * BufferView_pimpl.C: add <ctime>
16824
16825 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16826
16827         * BufferView_pimpl.C: add using std::find_if
16828
16829 2001-02-27  José Matos  <jamatos@fep.up.pt>
16830
16831         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16832         by OnlyPath.
16833
16834 2001-02-11  José Matos  <jamatos@fep.up.pt>
16835
16836         * buffer.C (makeDocBookFile): command styles now have a parameter as
16837         "title" by default.
16838
16839 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16840
16841         * layout_forms.[Ch]: removed
16842         * lyx_cb.[Ch]: out character
16843         * lyx_gui.C: out character
16844         * lyx_gui_misc.C: out character
16845         * bufferview_funcs.C: : out character,
16846         added toggleall as parameter in ToggleAndShow
16847
16848 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16849
16850         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16851
16852         * text2.C (SetCurrentFont): Disable number property at boundary.
16853
16854 2001-02-26  Juergen Vigna  <jug@sad.it>
16855
16856         * lyxfunc.C (getStatus): added a string argument override function so
16857         that this is correctly called from LyXFunc::Dispatch if it contains a
16858         do_not_use_argument which is used!
16859         (Dispatch): added check for "custom" export and call appropriate func.
16860
16861 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16862
16863         * lyxrc.C: Add language_command_local, language_use_babel and
16864         language_global_options.
16865
16866         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16867
16868         * buffer.C (makeLaTeXFile): Use language_use_babel and
16869         language_global_options.
16870
16871 2001-02-23  Juergen Vigna  <jug@sad.it>
16872
16873         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16874         which works with LyXText and putted it inside BufferView. Here now we
16875         only call for that part the BufferView::Dispatch() function.
16876
16877         * BufferView.C (Dispatch): added.
16878
16879         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16880         functions which needs to use a LyXText over from LyXFunc.
16881         (MenuInsertLyXFile): added
16882         (getInsetByCode): added
16883         (moveCursorUpdate): added
16884         (static TEXT): added
16885
16886 2001-02-22  Juergen Vigna  <jug@sad.it>
16887
16888         * BufferView_pimpl.C (update): call a status update to see if LyXText
16889         needs it.
16890
16891 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16892
16893         * vc-backend.C (revert): implement for CVS
16894         (getLog): implement for CVS
16895
16896 2001-02-20  Juergen Vigna  <jug@sad.it>
16897
16898         * text2.C (ClearSelection): added BufferView param for inset_owner call
16899
16900         * lyxfunc.C (TEXT): added this function and use it instead of
16901         directly owner->view()-text of getLyXText().
16902
16903 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16904
16905         * src/layout_forms.C: out preamble
16906         * src/layout_forms.h: out preamble
16907         * src/lyx_cb.C: out preamble
16908         * src/lyx_cb.h: out preamble
16909         * src/lyx_gui.C: out preamble
16910         * src/lyx_gui_misc.C: out preamble
16911         * src/lyxfunc.C: connect with guii preamble
16912
16913 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16914
16915         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16916
16917 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16918
16919         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16920         whether to run bibtex.
16921
16922 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16923
16924         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16925
16926 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16927
16928         * Makefile.am (lyx_SOURCES): removed bibforms.h
16929
16930         * vspace.h: doxygen
16931
16932         * text.C (GetVisibleRow): make several local vars const
16933
16934         * tabular.C: small cleanup.
16935
16936         * lyxserver.C (callback): use compare instead of strncmp
16937
16938         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16939         inlines to after class or to paragraph.C
16940
16941         * lyxfont.h: remove friend operator!=
16942
16943         * converter.h: move friend bool operator< to non friend and after
16944         class def.
16945
16946         * combox.h: small cleanup
16947
16948         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16949         to inlines after class def.
16950
16951         * buffer.C (pop_tag): use string operations instead of strcmp
16952
16953         * bmtable.c: doxygen, small cleanup
16954
16955         * LaTeX.h: remove friend operator==
16956
16957 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16958
16959         * screen.C:
16960         * lyxrc.[Ch]:
16961         * lyxfunc.C:
16962         * lyxfont.[Ch]:
16963         * lyx_cb.C:
16964         * intl.[Ch]:
16965         * commandtags.h:
16966         * buffer.C:
16967         * WorkArea.[Ch]:
16968         * LyXAction.C:
16969         * BufferView_pimpl.C:
16970         * BufferView.[Ch]: remove cruft
16971
16972 2001-02-14  Juergen Vigna  <jug@sad.it>
16973
16974         * lyxfunc.C: removed #if 0 unused code
16975
16976         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16977
16978         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16979
16980         * text2.C (SetSelection): added a BufferView * parameter
16981
16982 2001-02-13  Juergen Vigna  <jug@sad.it>
16983
16984         * lyxfunc.C (Dispatch): fixed protected blank problem.
16985         * BufferView2.C (protectedBlank): added LyxText * parameter.
16986
16987         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16988         (AppendColumn): same as above for column_info.
16989
16990         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16991         (moveCursorUpdate): use a LyXText param for support of InsetText.
16992
16993         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16994         (tripleClick): ditto
16995
16996         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16997
16998         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16999
17000         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17001
17002         * text2.C (SetSelection): set correct update status if inset_owner
17003         (ToggleFree): ditto
17004
17005 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17006
17007         * tabular.C: remove some commented code.
17008
17009 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17010
17011         * BufferView_pimpl.C: call hideSplash()
17012
17013         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17014
17015         * include_form.h:
17016         * bibforms.h: remove
17017
17018         * lyxfunc.C:
17019         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17020           add LFUN_CHILD_CREATE
17021
17022         * counters.h: fix tiny typo
17023
17024         * lyx_cb.C:
17025         * lyx.h:
17026         * lyx_gui.C:
17027         * lyx.C: move splash to frontends/xforms/
17028
17029         * lyx_gui_misc.C: move Include and Bibform to frontends
17030
17031         * lyxvc.h: clarify comment
17032
17033         * vspace.C: tiny housekeeping
17034
17035 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17036
17037         * text.C (PrepareToPrint): RTL Fix.
17038
17039         * paragraph.C (GetUChar): New method.
17040         (String):  Use GetUChar.
17041
17042         * buffer.C (asciiParagraph): Use GetUChar.
17043
17044 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17045
17046         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17047
17048 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17049
17050         * buffer.h:
17051         * buffer.C: rename to getLogName(), handle
17052           build log / latex log nicely
17053
17054 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17055
17056         * MenuBackend.C:
17057         * MenuBackend.h: remove support for reference menuitem type.
17058
17059 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17060
17061         * BufferView_pimpl.C: housekeeping
17062         * BufferView_pimpl.h:
17063         * LyXView.h:
17064         * Makefile.am:
17065         * Timeout.C:
17066         * Timeout.h:
17067         * minibuffer.h: move Timeout GUI-I
17068
17069 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17070
17071         * lyxrc.C (read): Update converters data-structures.
17072
17073 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17074
17075         * LaTeX.h (operator!=): add operator != for Aux_Info
17076
17077 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17078
17079         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17080
17081         * LaTeXLog.C: deleted, useful code moved to Buffer
17082
17083         * buffer.h:
17084         * buffer.C: new function getLatexLogName()
17085
17086         * lyx_gui_misc.C:
17087         * lyx_gui.C:
17088         * lyxvc.C:
17089         * lyxvc.h:
17090         * lyxfunc.C: use frontends for LaTeX and VC logs
17091
17092 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17093
17094         * LaTeX.h: yet another std:: that Allan forgot.
17095
17096         * Variables.C (set): renamed from isset(), because this clashes
17097         with some HP-UX macros (grr).
17098
17099 2001-02-06  Allan Rae  <rae@lyx.org>
17100
17101         * LaTeX.h: Another bug fix.  Missing std:: this time.
17102
17103 2001-02-04  Allan Rae  <rae@lyx.org>
17104
17105         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17106         floats problem. I've left it commented out because it's not quite
17107         correct.  It should also test that the current object is a table or
17108         figure inset.  But I haven't gotten around to figuring out how to do
17109         that.  I *think* it'll be something like: "table" == inset.type()
17110
17111         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17112         bool.
17113
17114 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17115
17116         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17117         all the citation/databases/styles in the auxilary file.
17118         (run): Rerun latex if there was a babel language error.
17119
17120 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17121
17122         * text.C (Backspace): Preserve the font when changing newline char
17123         with a space.
17124         (BreakParagraph): If the cursor is before a space, delete the space.
17125
17126         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17127
17128 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17129
17130         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17131         new argument (code).
17132         (ChangeCitationsIfUnique): New method.
17133
17134         * paragraph.C (GetPositionOfInset): Handle bibkey.
17135
17136 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17137
17138         * BufferView_pimpl.h: change type of Position::par_pos to
17139         LyXParagraph::size_type.
17140
17141 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17142
17143         * BufferView_pimpl.C (savePosition, restorePosition): Write
17144         messages to minibuffer.
17145
17146 2001-01-28  José Matos  <jamatos@fep.up.pt>
17147
17148         * buffer.C (makeDocBookFile): adds support for document language.
17149         A silly restriction on the name of LatexCommand types where removed.
17150         Added support for CDATA sections, allows to chars unescaped, used
17151         among others in code, to avoid escape < and >.
17152
17153 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17154
17155         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17156         saved positions instrad of a stack. Furthermore, a position is
17157         stored using paragraph id/paragraph position.
17158
17159         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17160         Remove LFUN_REF_BACK.
17161
17162 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17163
17164         * converter.C (dvipdfm_options): New method.
17165
17166 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17167
17168         * vspace.C (isValidLength): Fix for empty input string.
17169
17170 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17171
17172         * LyXAction.C (init): change description of LFUN_FIGURE to
17173         "Insert Graphics"
17174
17175 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17176
17177         * LaTeX.C: add using directive
17178
17179 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17180
17181         * MenuBackend.C (expand): Fix the sorting of the formats.
17182
17183 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17184
17185         * lyx_main.C: tiny error message fix
17186
17187 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17188
17189         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17190         calling fl_initialize(). This fixes the problem with ',' as
17191         decimal separator in text files.
17192
17193 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17194
17195         * trans.C (process): Fix the keymap bug.
17196
17197 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17198
17199         * LaTeX.C (scanAuxFiles): New method. Provides support for
17200         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17201         (scanLogFile) Scan for "run BibTeX" messages.
17202
17203         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17204         OT1 font encoding. Also, load the aecompl package if the ae
17205         package is loaded.
17206
17207         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17208
17209 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17210
17211         * texrow.C (increasePos): turn two error messages into debug
17212         messages.
17213
17214 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17215
17216         * LaTeX.C (scanAux): Handle the \@input macro.
17217         (runBibTeX): Use scanAux().
17218
17219         * language.C (latex_options_): New field.
17220
17221         * LaTeXFeatures.C (getMacros): Add language macros.
17222
17223         * buffer.C (makeLaTeXFile): Small fix.
17224
17225 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17226
17227         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17228
17229         * text2.C: add a using directive.
17230
17231 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17232
17233         * BufferView2.C:
17234         * lyx_gui_misc.h:
17235         * lyxfr1.C:
17236         * lyxfunc.C: kill LyXBell.
17237
17238 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17239
17240         * text.C (IsBoundary): Remove the error message
17241
17242         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17243
17244         * lyxrc.C (setDefaults): Correct initialization value for
17245         font_norm_type.
17246
17247 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17248
17249         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17250         gotoError().
17251
17252         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17253         and GotoNextNote().
17254
17255         * src/LyXAction.C: Added reference-next.
17256
17257         * text.C (InsertChar): Use contains instead of strchr.
17258
17259         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17260
17261 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17262
17263         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17264         alignment commands (when needed).
17265
17266         * text.C (InsertChar): Add ':' to number separator chars.