]> git.lyx.org Git - features.git/blob - src/ChangeLog
try to fix broken cursor (from Andr�)
[features.git] / src / ChangeLog
1 2005-02-13  André Pönitz  <poenitz@gmx.net>
2
3         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
4         * Cursor.C (dispatch): use fixIfBroken
5         * lyxfunc.C (getStatus): use fixIfBroken
6
7 2005-02-15  Angus Leeming  <leeming@lyx.org>
8
9         * lyx_main.C (error_handler):
10         * lyxfunc.C:
11         * lyxrc.C (setDefaults):
12         s/GetEnv/getEnv/.
13         #include "environment.h".
14
15         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
16
17 2005-02-15  Angus Leeming  <leeming@lyx.org>
18
19         * lyxserver.C (startPipe): squash MSVC warning "local variable
20         'fd' used without having been initialized".
21
22 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * BufferView_pimpl.C: revert accidental commit.
25
26 2005-02-14  André Pönitz  <poenitz@gmx.net>
27
28         * dociterator.[Ch]: new member forwardPosNoDescent(),
29         which doesn't enter nested insets.
30         * text2.C (setFont): use forwardPosNoDescent() instead
31         of ForwardPos() (fixes crash on font change).
32
33 2005-02-13  Angus Leeming  <leeming@lyx.org>
34
35         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
36         only if lyxrc.path_prefix is not empty.
37
38 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
39
40         * bufferparams.C (readGraphicsDriver): prevent crash
41
42 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
43
44         * text2.C (setCounter): check for inInset() == 0
45
46 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
49         but use update() to get correct screen display; use convert
50         instead of istringstream. 
51         (getStatus): handle LFUN_GOTO_PARAGRAPH 
52
53         * lyxfunc.C (dispatch, getStatus): do not handle
54         LFUN_GOTO_PARAGRAPH here.
55
56 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
57
58         * text3.C (dispatch): size() -> depth()
59
60         * text2.C: remove some debug output
61
62         * paragraph.C: ws changes only
63
64         * lyxfunc.C (getStatus): size() -> depth()
65
66         * dociterator.h (clear, push_back, pop_back, internalData,
67         operator[], resize, empty): new functions
68         Make StableDocIterator and operator== be friends. Don't inherit
69         from std::vector use a privat class variable slices_ instead.
70         Modify to fit.
71
72         * dociterator.C: update because of not inheriting from std::vector
73         anymore. Call explictly to slices_ instead. Use depth() instead of
74         size() and top() instead of back()
75
76         * cursor.C: chagne size() -> depth and back() -> top(). Also
77         remove some direct operator[](i) calls in favour of foo[i]
78         (getFont): remove some dead code
79
80         * bufferview_funcs.C (coordOffset): size() -> depth()
81
82         * buffer.C: ws changes only
83
84         * CutAndPaste.C (eraseSelection): back() -> top()
85
86         * BufferView_pimpl.C (selectionRequested): back() -> top()
87
88         * BufferView.C (setCursor): size() -> depth()
89
90 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
91
92         * text3.C (cursorPrevious): return true if depm changed something
93         (cursorNext): ditto
94         (dispatch): rename sl to oldTopSlice, remove moving use the new
95         NoUpdate func attrib instead. Make sure that needsUpdate is set
96         for function that have NoUpdate, but where depm might have changed
97         the buffer anyway.
98
99         * text2.C (cursorLeft): make us return true if depm changed
100         something
101         (cursorRight): ditto
102         (cursorUpParagraph): ditto
103         (curosrDownParagraph): ditto
104         (cursorUp, cursorDown): ditto, make sure to read comments in code
105         (deleteEmptyParagraphMechanism): remove an assert, also return
106         true if just a single char was deleted.
107
108         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
109         cursor that we modify, to avoid modifying an active cursor before
110         we call setCursor. This allows depm to run. Also return true if
111         depm deleted something.
112
113         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
114         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
115         cursorDownParagraph, cursorPrevious and cursorNext, return true if
116         something was changed in the buffer because of them (ie. depm run)
117
118         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
119         debug messages. Make update by default be false. Make sure that
120         the result of update is retained throught several calls down to
121         dispatch.
122
123         * LyXAction.h: add a new func_attrib: NoUpdate
124
125         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
126         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
127         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
128         and LFUN_WORDLEFT
129         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
130
131 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
134         bv_->owner(), bv_->buffer() by direct references to the private
135         members.
136         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
137         (getStatus): isSavedPosition() is in BufferView::Pimpl.
138         (fitCursor): center() is in BufferView::Pimpl.
139         (getStatus, trackChanges, dispatch): no need for a temporary buf
140         variable
141         (fitCursor, workAreaDispatch): use workarea().workheight()
142
143 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
144
145         * CutAndPaste.C (pasteSelectionHelper): fix a crash
146
147 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * buffer.C: format up to 241.
150         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
151         break if pasting into ERT
152         * lyxfunc.C (getStatus): suppress mathpanel and
153         LFUN_DIALOG_SHOW_NEW_INSET in ERT
154
155 2005-02-01  Angus Leeming  <leeming@lyx.org>
156
157         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
158
159 2005-02-01  Angus Leeming  <leeming@lyx.org>
160
161         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
162         calling fs::is_directory().
163
164 2005-01-31  Angus Leeming  <leeming@lyx.org>
165
166         * lyx_main.C (priv_exec): specify explicitly the relative location
167         of the top level build directory when run in-place.
168
169 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
170
171         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
172         LyXText containing the cursor, not the top-level one.
173
174         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
175         true.
176         (insertStringAsLines): rename par to pit; use temporary variable
177         par to hold a Paragraph; do not store par.layout() in a variable,
178         since the pointer may die when breaking paragraphs; pass pars to
179         breakParagraph() instead of Buffer::paragraphs().
180
181 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
182
183         * lyxlex_pimpl.h: #include <fstream>.
184
185         * BufferView.[Ch] (getLyXText): add a const version.
186
187         * BufferView_pimpl.C: add debug aids.
188
189         * RowList_fwd.h:
190         * buffer.h:
191         * lyxrow.h:
192         * paragraph_funcs.h: add commentary explaining what the class does.
193
194
195         * coordcache.[Ch]: add lots of commentary.
196         (startUpdating, doneUpdating): debug aids.
197         (arrays, insets, parPos, getParPos): accessors to private data.
198
199         * cursor_slice.[Ch] (text): add a const version.
200         * dociterator.[Ch] (text, innerText): add const versions.
201
202         * lyxtext.h (breakParagraph): change the keep_layout arg to a
203         bool.
204
205         * paragraph.C (getRow, pos2ros): add asserts.
206
207         * paragraph.h: add commentary. Lots of.
208
209         * paragraph.[Ch] (metrucs, draw): removed.
210
211         * cursor.C:
212         * rowpainter.[Ch]: const-correct changes.
213
214         * text.C: various obvious clean-ups. Removal of ancient cruft.
215         Bug fixes, even.
216
217 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
218
219         * vc-backend.C (find_file): rewrite to use boost.filesystem
220         (scanMaster): ditto
221
222         * main.C (main): set default name check for boost.filesystem to
223         no check
224
225         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
226         (open): ditto
227         (doImport): ditto
228         (actOnUpdatedPrefs): ditto
229
230         * lyx_main.C (init): rewrite to use boost.filesystem
231         (queryUserLyXDir): ditto
232
233         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
234         (getContentsOfAsciiFile): ditto
235
236         * lastfiles.C (readFile): rewrite to use boost.filesystem
237
238         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
239
240         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
241         (loadLyXFile): ditto
242
243         * buffer.C (Buffer): adjust for destroydir
244         (getLogName): rewrite to use boost.filesystem
245         (setFileName): ditto
246         (save): use fs::copy_file (from fs_extras)
247
248         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
249
250         * LaTeX.C (run): rewrite to use boost.filesystem
251         (scanAuxFiles): ditto
252         (handleFoundFile): ditto
253
254 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
255
256         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
257
258         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
259
260 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
261
262         * lyxlayout.[Ch]: change some vars from float to double
263
264         * buffer.C (readFile): make a local var const
265
266         * Several files: use convert<> instead of atoi,strToXXX and friends
267
268 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
269
270         * LaTeXFeatures.[Ch]: Add a static list packages_ that
271         holds the contents of packages.lst. New functions getAvailable
272         and isAvailable to parse and check that list, resp.
273
274         * LyXAction.C:
275         * lfuns.h:
276         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
277
278         * bufferparams.[Ch]: new param output_changes.
279
280         * Buffer.C: increase file format to 240.
281         Use output_changes and isVailable.
282
283         * changes.[Ch]:
284         * paragraph.C:
285         * paragraph_pimpl.C: Use output_changes and isVailable.
286
287 2005-01-23  Angus Leeming  <leeming@lyx.org>
288
289         * output_latex.C: #include "insetbibitem.h", rather than
290         forward declare function bibitemWidest.
291
292 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
293
294         * lyx_main.C (init): make it compile on the Mac.
295
296 2005-01-20  Angus Leeming  <leeming@lyx.org>
297
298         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
299         (setLyXMisc): (char string literal) != (char string literal) is
300         performing a comparison on the addresses. Convert one operand
301         explicitly to string to guarantee expected behaviour.
302         From MSVC warning.
303
304 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
305
306         * buffer.C:
307         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
308
309         * output_plaintext.C: remove unneeded #include gzstream.h.
310
311 2005-01-20  Angus Leeming  <leeming@lyx.org>
312
313         * SpellBase.h: rename some of the elements of the Result enum.
314
315         * aspell_local.h:
316         * ispell.h:
317         * pspell.h:
318         * aspell.C (check):
319         * ispell.C (check):
320         * pspell.C (check): ditto
321
322 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
323
324         * buffer.C: add #include <fstream>.
325
326         * lyx_main.C (init): Compile fix.
327
328         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
329
330 2005-01-20  Angus Leeming  <leeming@lyx.org>
331
332         * mover.h: change commentary to reflect the changed meaning of
333         the $$s placeholder.
334
335 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
336
337         * output_linuxdoc.C (linuxdocParagraphs): silence warning
338
339         * lyxfind.C (MatchString::operator()): remove bogus semicolon
340
341 2005-01-20  Angus Leeming  <leeming@lyx.org>
342
343         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
344         printing diagnostic data by not dereferecing an iterator past the
345         end.
346
347 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
348
349         * buffer.C (readHeader): use "&&" rather than "and".
350
351         * lyxserver.h (inPipeName, outPipeName): make these const.
352
353 2005-01-19  Angus Leeming  <leeming@lyx.org>
354
355         * lyx_main.C (error_handler, init): protect SIGHUP with
356         #ifdef SIGHUP guards.
357
358 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
361
362 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
363
364         * text.C (setHeightOfRow): add a margin at the top and bottom of
365         the document (bug 1761)
366
367 2005-01-17  Angus Leeming  <leeming@lyx.org>
368
369         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
370         with "python ". Workaround for a brain-dead Windows.
371
372 2005-01-16  Angus Leeming  <leeming@lyx.org>
373
374         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
375         for MacOSX and Windows to use prependEnvPath.
376         Strip out the hard-coded block to add elements to the PATH for
377         MacOSX and replace it with a call to prependEnvPath using the
378         contents of LyXRC::path_prefix.
379         (queryUserLyXDir): strip out the code to run reconfigure, instead
380         returning a boolean indicating the necessity to do so.
381         (reconfigureUserLyXDir): contains the code to reconfigure the
382         user support directory. Is now called after the various LyXRC data
383         files have been read.
384
385         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
386
387 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
388
389         * converter.[Ch] (convert): take a new parameter try_default. Use
390         a default converter (imagemagick) if try_default is true.
391
392 2005-01-13  Angus Leeming  <leeming@lyx.org>
393
394         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
395         os::cygwin_path_fix.
396         (write): output LyXRC::cygwin_path_fix as necessary.
397
398 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
399
400         * lyxrc.h:
401         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
402
403 2005-01-12  Angus Leeming  <leeming@lyx.org>
404
405         * lyx_main.C (init): set the PATH variable to include the
406         directory containing the LyX binary when running on Mac or Windows.
407
408 2005-01-12  Angus Leeming  <leeming@lyx.org>
409
410         * lyx_main.C (init): remove cruft that purports to set the locale
411         dir. It doesn't and is not needed anyway.
412
413 2005-01-10  Angus Leeming  <leeming@lyx.org>
414
415         * Makefile.am: remove the lyx_main.C special casing.
416
417         * BufferView_pimpl.C:
418         * bufferlist.C:
419         * exporter.C:
420         * lyx_cb.C:
421         * lyx_main.C:
422         * lyxfunc.C:
423         * messages.C: use support/package.h to provide the paths to the
424         various directories used by LyX.
425
426 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
427
428         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
429         layout if pasting into an empty paragraph)
430
431 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
432
433         * tex-accent.C: add <string>
434
435 2005-01-06  José Matos  <jamatos@lyx.org>
436
437         * ParagraphParameters.C (write): put every parameter in its own line.
438         * paragraph.C (write): reduce number of consecutive empty lines exported.
439         * buffer.C (LYX_FORMAT): increase file format to 239.
440
441 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
442
443         * everywhere: change support/tostr.h -> support/convert.h
444
445         * tabular.C: make all write_attributes templates, tostr -> convert
446
447         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
448         (emptyTag): and -> &&, and fix type for ret from getChar
449         (getFirstWord): fix type for ret from getChar
450         (onlyText): and -> &&
451         (simpleDocBookOnePar): and not -> && !, fix type for ret from
452         getChar
453
454         * toc.C (goTo, action):
455         * text3.C (dispatch):
456         * text.C (currentState):
457         * tex-accent.C (DoAccent):
458         * sgml.C:
459         * lyxrc.C:
460         * lyxfunc.C (menuNew):
461         * lyxfinc.C (replace):
462         * counters.C (laberItem):
463         * bufferview_funcs.C (font2string):
464         * bufferparams.C (writeFile):
465         * buffer.C (readFile):
466         * Spacing.C (set):
467         * MenuBackend.C: tostr -> convert
468
469         * LaTeX.C (runMessage): fix format
470         (scanAuxFiles): tostr -> convert
471
472         * BufferView_pimpl.C (savePosition): fix format
473         (restorePosition): ditto
474         (dispatch): ditto
475
476 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * Spacing.[Ch]: New method getValueAsString().
479
480         * Spacing.[Ch]:
481         * bufferparams.C:
482         * ParagraphParameters.C:
483         * lyxlayout.C:
484         * text.C:
485         * text3.C: store/read spacing value as string.
486
487         * rowpainter.C: change float value (spacing_val) to double.
488
489         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
490         broken custom document spacing).
491
492 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
493
494         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
495         namespace, also more use of temp references and const
496
497         * cursor.[Ch] (getStatus): move to lyxfunc.C
498
499         * bufferparams.C: reformat slightly
500
501         * bufferview_funcs.C (font2string): constify arg
502
503         * changes.C:
504         * converter.C:
505         * counters.C:
506         * bufferlist.C:
507         * buffer_funcs.C: (many funcs): constify arg on function
508         definitions, also make more local vars const, also add ASSERTS on
509         pointer args.
510
511         * buffer.C (LYX_FORMAT): put const in correct place
512         (many funcs): constify arg on function definitions, also make
513         more local vars const
514
515         * aspell_local.h: remove "struct" from typdef setup
516
517         * aspell.C (check): make word_ok const
518         (nextMiss): simplify slightly
519         (error): ditto
520
521 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
522
523         * lyxrc.[Ch]: store all float values as strings.
524         use int (not float) for lyxrc.dpi.
525
526 2005-01-04  Angus Leeming  <leeming@lyx.org>
527
528         * lyx_cb.C (Reconfigure):
529         * lyx_main.C (queryUserLyXDir):
530         to run the <system_lyxdir>/configure correctly on Windows, prefix
531         the path to the script with "sh " when generating the string that
532         is passed to system().
533
534 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
537
538 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * lyxlength.C (asLatexString): get rid of setprecision
541
542 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
543
544         * text2.C (setLayout): remove unused variable endpit.
545         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
546
547         * paragraph.C (onlyText): remove unused variable style.
548
549         * cursor.C (bruteFind): remove unused variables beg and end.
550
551         * Makefile.am (dist_noinset_DATA): not needed anymore
552
553         * cheaders/*: remove.
554
555 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
556
557         * text3.C: fix LFUN_MATH_MODE.
558
559 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
560
561         * buffer_funcs.C (countWords): new function. Counts words between
562         two iterators.
563
564         * BufferView_pimpl.C (getStatus, dispatch): handle
565         LFUN_WORDS_COUNT.
566
567         * LyXAction.C (init):
568         * lfuns.h: add LFUN_WORDS_COUNT.
569
570 2004-12-19  Angus Leeming  <leeming@lyx.org>
571
572         * buffer.C (save): s/slashify_path/internal_path/.
573
574 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
575
576         * lyxfind.C (findChange): do not search for end of pars, because
577         the change tracker cannot handle this (fixes bug 1719).
578
579 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
580
581         * paragraph.[Ch] (autoBreakRows): remove
582
583         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
584
585         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
586         avoid using the paragraph one
587
588         * text2.C (LyXText, insertStringAsLines): adjust
589
590 2004-12-16  Angus Leeming  <leeming@lyx.org>
591
592         * bufferlist.C:
593         * lyx_main.C:
594         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
595
596 2004-12-14  Angus Leeming  <leeming@lyx.org>
597
598         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
599
600         * bufferlist.C (emergencyWrite):
601         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
602         GetEnvPath("HOME").
603
604 2004-12-14  Angus Leeming  <leeming@lyx.org>
605
606         * main.C: (main): no longer pass pointers to os::init.
607
608 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
609
610         * undo.C (textUndoOrRedo): simplify logic, fix a crash
611         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
612
613 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
614
615         * lyxfunc.C:
616         * text3.C: remove selection_possible global flag
617
618 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * text2.C (getSelectionSpan): remove
621         (changeDepth, changeDepthAllowed): adjust
622
623 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
624
625         * Makefile.am (BOOST_LIBS): use boost variables
626
627 2004-12-03  José Matos  <jamatos@lyx.org>
628
629         * buffer.C: format up to 238.
630
631 2004-12-03  José Matos  <jamatos@lyx.org>
632
633         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
634
635 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
636
637         * cursor.C (goUpDown): remove call to idxUpDown2
638
639 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
640
641         * tabular.[Ch]: use size_t-like types for cell, row and column
642         indices
643
644 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * lyxfunc.C (getStatus): do not lose previous information when
647         calling BufferView::getStatus; do not set a default "Command
648         disabled" message at the beginning, but just before returning.
649
650 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
651
652         * cursor.h (getStatus): add better comment from src/cursor.C
653
654 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
655
656         * text3.C (getStatus): return false when the lfun is not handled
657
658 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659
660         * broken_headers.h: remove
661
662         * Makefile.am (lyx_SOURCES): remove broken_headers.h
663
664 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
665
666         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
667         offset_ref accessors
668
669         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
670         top_y_, merge fitcursor with update
671         (updateScrollbar, scrollDocView, fitCursor, center, update): new
672         coord scheme
673         (metrics): introduce
674         (workAreaDispatch): adapt to new coord scheme
675         (redoCurrentBuffer): remove
676
677         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
678
679         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
680         CurStatus enum.
681
682         * coordcache.[Ch]: add paragraph cache and helpers
683
684         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
685         adjust everywhere
686
687         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
688         (targetX, setTargetX): introduce
689
690         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
691         baseline -> ascent, as the rest of lyx
692
693         * lyxtext.h: remove redoParagraphs, updateParPositions,
694         fullRebreak, redoParagraphInternal. move dist to anon namespace in
695         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
696         have ascent/descent (ascent is ascent of first par)
697
698         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
699         step of BufferView
700
701         * paragraph.[Ch]: unify dimension handling with the rest of lyx
702
703         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
704
705         * pariterator.C: fix infinite loop introduced in par->pit renaming
706
707         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
708         in insets and LyXText, draw two off-screen paragraphs using
709         NullPainter, and adapt to new coord scheme
710
711         * text.C:
712         * text2.C:
713         * text3.C: adapt lfun handlers to the new coord scheme, which
714         means: there's only guaranteed coord information for onscreen pars
715         plus one above and one below. This implies that one can do search
716         from y coordinates in the range [-1,workHeight]
717
718 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
719
720         * rename a lot of InsetOld to InsetBase
721
722 2004-11-25  Angus Leeming  <leeming@lyx.org>
723
724         * BufferView_pimpl.C:
725         * lyx_cb.C:
726         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
727
728 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
731         call BufferView::getStatus if LCursor::getStatus did nothing
732         (setStatusMessage, getStatusMessage): removed.
733
734         * FuncStatus.C (message): new methods. Used to provide an error
735         message indicating why a command is disabled.
736         (clear, |=, FuncStatus): update for message.
737
738 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
739
740         * lyxfunc.C (dispatch): always call sendDispatchMessage
741
742 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
743
744         * BufferView.C:
745         * BufferView_pimpl.C:
746         * CutAndPaste.C:
747         * FontIterator.C:
748         * buffer.C:
749         * cursor.C:
750         * cursor_slice.[Ch]:
751         * dociterator.[Ch]:
752         * lyxfind.C:
753         * paragraph_funcs.C:
754         * pariterator.C:
755         * rowpainter.C:
756         * text.C:
757         * text2.C:
758         * text3.C:
759         * undo.C: par->pit renaming
760
761 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
762
763         * tabular.C (cellstruct): use initialization, store a shared_ptr
764         to insettext instead of the insettext directly, adjust to fit.
765         (operator=):  new function
766         (swap): new function
767         (rowstruct): use initialization
768         (columnstruct): use initialization
769         (ltType): use initialization
770
771
772         * lyxlength.h (swap): new function
773
774         * LColor.[Ch] (operator=): use the common semantics
775
776 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * lyxfind.C (findNextChange): update the bufferview after setting
779         the selection.
780
781 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
784         number of InsetOptArgs has already been inserted.
785
786         * output_latex.C (latexOptArgInsets): new method. This outputs all
787         the optarg insets, up to the limit defined in the layout file.
788         (optArgInset): removed
789         (TeXOnePar): call latexOptArgInsets; correctly update texrow
790
791 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
792
793         * paragraph.C (isLetter): remove special spellchecker-related
794         code; return true also for digits
795         (isWord, isKomma): remove
796
797         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
798         * lyxfind.C (MatchString()): use isLetter instead of isWord
799
800 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
801
802         * pariterator.h (operatir=): comment out un-implemented member
803         function.
804
805         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
806         static cast.
807
808 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
809
810         * lyxfont.h: include LColor.h to satisfy concept checks.
811
812 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
813
814         * pariterator.h: add typdefs for value_type, difference_type,
815         pointer and reference to satisfy concept checks. Also add default
816         constructor for same reason.
817
818         * pariterator.C (operator++): add post-increment operator to
819         satisfy concept checks.
820
821         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
822         checks.
823
824         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
825
826         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
827         checks. Also rename base_type to BaseType to follow naming
828         standard better.
829
830         * FloatList.h: include Floating.h to satisfy concept checks.
831
832 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * lyxfunc.C (getStatus): when the origin of the request is menu or
835         toolbar, and the LyXView does not have focus, do as if there was
836         no buffer (bug 1720)
837
838         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
839         FuncRequest to individual entries of LFUN_SEQUENCE
840
841 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
842
843         * output_latex.C (TeXOnePar): override runparams.moving_arg
844         according to the needprotect value of the current paragraph (bug
845         1739)
846
847         * paragraph.C (simpleTeXOnePar): no need to override
848         runparams.moving_args here
849
850 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
851
852         * vspace.C: fix off-by-one-error, related to fix #1682
853
854 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
855
856         * lengthcommon.C: a more general fix for bug 1682
857
858 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
859
860         * text.C (backspace): fix crash
861
862 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
863
864         * format.[Ch] (getFormatFromFile): new method
865         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
866
867 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
868
869         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
870
871 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * lyxfunc.C (dispatch): remove the verbose argument
874         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
875         instead
876
877         * kbmap.C (defkey): set the origin of func to KEYBOARD
878
879         * MenuBackend.C (MenuItem):
880         * ToolbarBackend.C (add): set the origin of func to UI
881
882         * funcrequest.[Ch]: add origin member, which indicates which part
883         of LyX requests an action
884
885 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
886
887         * converter.C (move): don't lie in the error message
888         * converter.h (isReachable, move): document
889
890 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
891
892         * buffer.C: remove unused using lyx::support::atoi
893         * paragraph_funcs.C: ditto
894
895 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
896
897         * bufferlist.C (exists): use bind and equal_to instead of
898         compare_memfun
899         (getBuffer): ditto
900         * lyxtextclasslist.C (NumberOfClass): ditto
901
902         * cursor.C (insert): use for_each instead of explicit for loop
903
904         * bufferlist.C (getFileNames): use std::transform and
905         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
906
907         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
908         for loop
909
910         * buffer.C (changeLanguage): use for_each instead of explicit for
911         loop
912         (hasParWithID): implement using getParFromID
913
914         * LaTeXFeatures.C: ws change only
915
916         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
917         to cleanup a bit.
918
919         * BufferView_pimpl.C (trackChanges): use for_each instead of
920         expilicit for loop
921
922 2004-11-04  André Pönitz  <poenitz@gmx.net>
923
924         * undo.h:
925         * undo.C (textUndoOrRedo): fix crash when creating undo information.
926
927         * dociterator.C (asDocIterator): use hard assert again.
928
929 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
930
931         * lyxlength.C (asLatexString): rewrite so that it does not use
932         snprintf anymore
933
934 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * text3.C (specialChar, dispatch): make sure cursor moves to the
937         right after inserting an inset
938
939 2004-11-02  José Matos  <jamatos@lyx.org>
940
941         * output_docbook.C (docbook):
942         * paragraph.C (getID):
943         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
944         garantee that the output is always legal.
945
946         * tabular.C (docbook):
947         * outputprams.[Ch]: remove mixed contents.
948
949 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
950
951         * text2.C (setCounter): prevent endless loop
952
953 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
954
955         * exporter.C (copyFile): use the mover instead of support::copy()
956         * exporter.C (Export): pass format and latex name to copyFile()
957         * exporter.h (addExternalFile): document
958         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
959
960 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
961
962         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
963
964 2004-10-30  José Matos  <jamatos@lyx.org>
965
966         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
967         text and no inset or font change. This allows to use CDATA
968         sections just for the whole paragraph.
969
970 2004-10-30  José Matos  <jamatos@lyx.org>
971
972         * paragraph.C (getFirstWord): remove unused variable.
973
974 2004-10-30  José Matos  <jamatos@lyx.org>
975
976         * paragraph.C (getFirstWord): the content should always be escaped
977         there.
978         (simpleDocBookOnePar):
979         * output_docbook.C (makeEnvironment): replace reference to CDATA
980         to style pass_thru.
981
982 2004-10-30  José Matos  <jamatos@lyx.org>
983
984         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
985
986 2004-10-30  José Matos  <jamatos@lyx.org>
987
988         * output_docbook.C (makeParagraphs):
989         * paragraph.[Ch] (emptyTag): for docbook and company, if the
990         standard paragraph has only a given type of content drop the wrapper.
991
992 2004-10-29  José Matos  <jamatos@lyx.org>
993
994         * output_docbook.C (makeEnvironment):
995         * sgml.C (openTag):
996         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
997
998 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
999
1000         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1001         (cleanID): sanitize any id.
1002
1003 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1004
1005         * buffer.C, lyxlex_pimpl.C:
1006         * lyxlex_pimpl.C (setFile):
1007         s/getExtFromContents/getFormatFromContents/
1008
1009 2004-10-28  José Matos  <jamatos@lyx.org>
1010
1011         * output_docbook.C (makeEnvironment): move id to broadest possible
1012         scope.
1013
1014         * sgml.C (openTag): apply substitution of <> for all attributes.
1015
1016 2004-10-28  José Matos  <jamatos@lyx.org>
1017
1018         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1019         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1020         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1021
1022         * sgml.[Ch]: new version for open and closeTag for paragraph and
1023         for strings. Now they handle the ids of paragraphs.
1024
1025 2004-10-26  Angus Leeming  <leeming@lyx.org>
1026
1027         * Makefile.am: add mover.[Ch].
1028
1029         * converter.C (convert, move): use the new Movers to move external
1030         files to the temp directory.
1031
1032         * lyx_main.C (init): ensure that the global system_movers data
1033         is initialised.
1034
1035         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1036         preferences file.
1037
1038         * mover.[Ch]: new files, defining a Mover as a utility to move an
1039         external file between directories and, if necessary, manipulate this
1040         file using a helper script.
1041
1042 2004-10-25  José Matos  <jamatos@lyx.org>
1043
1044         * output_docbook.C (makeCommand): merge two if's that tested the
1045         same condition.
1046
1047 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * sgml.C (escapeString): fix warning in a better way
1050
1051 2004-10-25  José Matos  <jamatos@lyx.org>
1052
1053         * sgml.C (escapeString): import the require boosts header file for
1054         tie, and avoid a signed unsigned comparison.
1055
1056 2004-10-25  José Matos  <jamatos@lyx.org>
1057
1058         * sgml.h: add #include <string>
1059
1060 2004-10-25  José Matos  <jamatos@lyx.org>
1061
1062         * sgml.[Ch] (escapeString): new function to escape all the string.
1063
1064 2004-10-24  José Matos  <jamatos@lyx.org>
1065
1066         * paragraph.[Ch] (getFirstWord): new function to get the first
1067         word. Useful for description.
1068         (simpleDocBookOnePar): remove depth argument, add another that
1069         says where to start the paragraph.
1070
1071         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1072         use the new functions to fix cleanly the support for descriptions.
1073
1074 2004-10-24  José Matos  <jamatos@lyx.org>
1075
1076         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1077         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1078         * output_linuxdoc.C (linuxdocParagraphs):
1079         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1080         add buffer as argument.
1081
1082 2004-10-24  José Matos  <jamatos@lyx.org>
1083
1084         * output_docbook.C (makeEnvironment, searchEnvironment): place
1085         CDATA inside paragraphs and fix scope for listitems.
1086
1087 2004-10-24  José Matos  <jamatos@lyx.org>
1088
1089         * output_docbook.C: remove using statement for stack.
1090
1091 2004-10-23  José Matos  <jamatos@lyx.org>
1092
1093         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1094         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1095         docbook. The new scheme is recursive and makes use of iterators, the
1096         same as latex export works.
1097         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1098         directly with the paragraph contents. This code was moved up to
1099         output_docbook.C (docbookParagraphs).
1100         * sgml.C (openTag, closeTag): removed unneeded newlines.
1101         (closeEnvTags) removed.
1102
1103 2004-10-23  André Pönitz  <poenitz@gmx.net>
1104
1105         * undo.C (textUndoOrRedo):
1106         * dociterator.C (asDocIterator): work around crash
1107
1108         * cursor.C (getStatus): replace ASSERT by more verbose error message
1109           and manual correction of the problem. Should increase stability
1110           while providing more sensible information.
1111
1112 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1115
1116         * bufferlist.C (previous, next): new methods
1117
1118         * lfuns.h:
1119         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1120
1121 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1122
1123         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1124         entities to preamble.
1125
1126 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1127
1128         * messages.C (Pimpl): strip off translation context information
1129
1130 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1131
1132         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1133         the cursor is correct (bug 1694)
1134
1135 2004-10-13  José Matos  <jamatos@lyx.org>
1136
1137         * output_docbook.C (docbookParagraphs): fix closing tags in the
1138         end of the document.
1139
1140 2004-10-09  José Matos  <jamatos@lyx.org>
1141
1142         * buffer.C: format up to 237.
1143         * bufferparams.C (write): use tostr to convert booleans to strings.
1144
1145 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1146
1147         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1148
1149 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1150
1151         * LaTeX.C: implement use of babel language in xindy.
1152
1153 2004-10-05  José Matos  <jamatos@lyx.org>
1154
1155         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1156         Add new translators to help reading and writing the lyx file.
1157
1158 2004-10-05  José Matos  <jamatos@lyx.org>
1159
1160         * ParagraphParameters.C (read):
1161         * text.C (readParToken): replace nexToken by more appropriate lex
1162         methods.
1163
1164 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1165
1166         * LaTeX.C (runMakeIndex):
1167         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1168         (usually 'makeindex') configurable.
1169
1170         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1171         with a variable rather than with a number.
1172
1173 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1174
1175         * output_latex.C (TeXOnePar): make sure font setting is the first
1176         thing that gets output (and the last at the end). Should fix bug
1177         1404.
1178
1179 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1180
1181         * pch.h: use proper signal include
1182
1183         * LaTeX.h: Use preferred calling of Boost.Signal
1184         * buffer.h: ditto
1185
1186 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1187
1188         * pch.h: dont include <boost/function/function0.hpp>
1189
1190         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1191
1192         * paragraph_pimpl.h: remove usage of ShareContainer
1193
1194         * paragraph_pimpl.C: remove initialization of ShareContainer.
1195
1196 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         Fix bug #1666
1199
1200         * BufferView.C (putSelectionAt): change the semantics when
1201         backwards == true: now, this just swaps cursor and anchor wrt the
1202         forward case
1203
1204         * BufferView.h (putSelectionAt): add some documentation
1205
1206         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1207         make sure backwardChar is done at least once (to avoid getting
1208         stuck)
1209         (findNextChange): use putSelectionAt in the forward direction
1210         (operator()): use Paragraph::isWord
1211
1212 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1213
1214         * Spacing.C (set): c_str fix
1215
1216 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * lyx_cb.C (Reconfigure): quote the name of configure script in
1219         case it contains spaces
1220
1221 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1222
1223         * client: new dir
1224
1225         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1226         (BOOST_LIBS): use top_buildir when looking for the file
1227
1228 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1229
1230         * pch.h: do not use include boost/format.hpp, multiple symbols
1231                 will result (gcc bug)
1232
1233
1234 2004-08-23  José Matos  <jamatos@lyx.org>
1235
1236         * bufferparams.C (readToken): fix reading of the author field.
1237
1238 2004-08-20  José Matos  <jamatos@lyx.org>
1239
1240         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1241
1242 2004-08-20  José Matos  <jamatos@lyx.org>
1243
1244         * lyxlex.[Ch] (findToken): remove function.
1245
1246         * ParagraphParameters.C (findToken):
1247         * bufferparams.C (findToken): replace call for previous function
1248         with local copy. This local function has one more argument, the
1249         read string argument.
1250
1251 2004-08-16  José Matos  <jamatos@lyx.org>
1252
1253         * ParagraphParameters.C (write):
1254         * Spacing.C (writeFile):
1255         * bufferparams.C (writeLaTeX):
1256         * lyx_cb.C (Reconfigure):
1257         * paragraph.C (write):
1258         * tabular.C (write): remove unnecessary space at end of line.
1259
1260
1261 2004-08-16  José Matos  <jamatos@lyx.org>
1262
1263         * text.C (readParagraph): remove debug message.
1264
1265 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1268         crash
1269
1270         * output_plaintext.C (asciiParagraph): set depth correctly
1271
1272         * outputparams.h: add member depth
1273
1274         * paragraph_funcs.C (ownerPar): remove.
1275
1276         * text2.C (setCounter): remove first_pit; comment out some
1277         non-working code that uses ownerPar
1278
1279         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1280         uses ownerPar
1281
1282 2004-08-16  José Matos  <jamatos@lyx.org>
1283
1284         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1285         For the same level of importance use the same chanel to report problems.
1286         (read): add code to deal with \begin_body and \end_body.
1287
1288
1289 2004-08-15  José Matos  <jamatos@lyx.org>
1290
1291         * lyxlex.C (getString): fix comment, buffer::readBody is now
1292         buffer:readDocument.
1293
1294         * tex-strings.C (string_papersize): Default -> default,
1295         Custom -> custom, for consistency with other options.
1296
1297 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1298
1299         * pch.h: new file
1300
1301         * Makefile.am: support pch
1302
1303 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1304
1305         * text.C (readParToken): remove the static LyXFont variable and
1306         pass it as a parameter instead. This fixes a nasty bug where an
1307         inset will be inserted with a bad font in some situations
1308         (readParagraph): adapt
1309
1310         * text2.C (setCounter): reduce number of calls to pars_[pit]
1311
1312         * text.C (singleWidth): add an assert, fix a test
1313
1314         * rowpainter.C (paintText): reduce number of calls to singleWidth
1315
1316         * paragraph.C (isHfill):
1317         (isNewline): ws only
1318
1319 2004-08-14  André Pönitz  <poenitz@gmx.net>
1320
1321         * text.C:
1322         * text2.C:
1323         * rowpainter.C:
1324         * lyxtext.h (several functions): use a Paragraph & argument
1325         instead of par_type
1326
1327 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1328
1329         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1330
1331         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1332
1333         * text.C (singleWidth): remove useless test
1334
1335 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * tabular.h: remove bogus comments
1338
1339         * tabular.C (getDescentOfRow):
1340         (isPartOfMultiColumn): add assertions
1341
1342         * lyxlength.C (inPixels): remove #warning
1343
1344 2004-08-14  André Pönitz  <poenitz@gmx.net>
1345
1346         * paragraph.h: inline getChar()
1347
1348         * BufferView.h: remove unused declarations
1349
1350 2004-08-14  José Matos  <jamatos@lyx.org>
1351
1352         * Buffer.[Ch] (readDocument): new name for old readBody.
1353         * Buffer.C: new file format, new keywords: \begin_document,
1354         \begin_header, \begin_body, \end_body.
1355
1356         * bufferparams.C (readToken): replace all calls to lex.nextToken
1357         by lex.next(). Do the same to eatLine except where really needed.
1358
1359         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1360         line when writing to the lyx file.
1361
1362         * output_plaintext.C (asciiParagraph): fix Bibliography style
1363         handling.
1364
1365         * text.C (read): fix end of file handling.
1366
1367 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1368
1369         * MenuBackend.C (Menu::operator[]): new method to access
1370         individual menu items
1371         (Menu::hasFunc): new method. search for an item that corresponds
1372         to a given func
1373         (MenuBackend::specialMenu): new method
1374         (MenuBackend::expand): if a special menu has been set, skip
1375         entries whose func() appears in this menu
1376
1377 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1378
1379         * text3.C: use Debug::DEBUG a bit more
1380
1381         * text.C (leftMargin): try to simplify a tiny bit change var x to
1382         l_margin. Dont output the wide margins always.
1383         (rightMargin): no margin in inner texts
1384
1385         * rowpainter.h (nestMargin): new func
1386         (changebarMargin): new func
1387         (rightMargin): new func
1388
1389         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1390         now functions.
1391         (paintLast): ditto
1392
1393         * factory.C (createInset): modify setDrawFrame
1394
1395         * cursor.C: use Debug::DEBUG a bit more
1396
1397 2004-08-14  André Pönitz  <poenitz@gmx.net>
1398
1399         * coordcache.[Ch]:
1400         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1401         cache for all insets in (at least partially) visible (top-level)
1402         paragraphs.
1403
1404         * BufferView_pimpl.C: reset external coord cache before every update.
1405         This means the coord cache only contains valid entries.
1406
1407 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1408
1409         bug 1096
1410         * BufferView_pimpl.C (getInsetByCode): move function out of class
1411         and change in to a template in anon namespace. Also fix to do what
1412         suits us better.
1413
1414 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1415
1416         bug 1305
1417         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1418         of char
1419         (breakParagraph): rename par to par_offset and use a local
1420         reference. Add code to keep the language over a rebreak.
1421         (breakParagraphConservative): rename par to par_offset, use a
1422         local reference
1423         (mergeParagraph): ditto
1424         (outerHook): ditto
1425         (isFirstInSequence): ditto
1426         (outerFont): rename pit to par_offset
1427
1428         * paragraph.C: ws change
1429         * paragraph.h: ditto
1430         * text3.C: ditto
1431         * text.C: ditto
1432
1433 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1436         treatment for ']'
1437
1438         * paragraph.C (simpleTeXOnePar): when we have a \item with
1439         optional argument, enclose the argument with curly brackets (in
1440         case it contains a closing square bracket)
1441
1442         * text2.C (editXY):
1443         * text2.C (editXY):
1444         * text3.C (checkInsetHit): constify
1445
1446 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1449         documents (bug 1629)
1450
1451 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         Fix toggling of collapsable insets with the mouse (bug 1558)
1454
1455         * lyxfunc.C (dispatch): adapt to LCursor changes
1456
1457         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1458         make sure that dispatch is not invoked twice
1459
1460         * cursor.C (needsUpdate): new method
1461         (dispatch): return void
1462         (result): new method, to access the DispatchResult of the cursor.
1463
1464 2004-08-13  José Matos  <jamatos@lyx.org>
1465
1466         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1467
1468 2004-08-13  André Pönitz  <poenitz@gmx.net>
1469
1470         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1471
1472         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1473           multiple cells
1474
1475 2004-08-12  André Pönitz  <poenitz@gmx.net>
1476
1477         * text3.C: take out the 'cursor right' form insertInset and only
1478         do it in those places when it is really needed. Fixes crash on
1479         C-m...
1480
1481 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1482
1483         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1484
1485         * BufferView_pimpl.C (setBuffer): initialize the current font of
1486         the underlying LyXText
1487
1488 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * kbsequence.C (print): use UI native formatting for menu
1491         shortcuts
1492
1493         * text.C (insertChar): call Paragraph::insertChar with a font
1494         argument (cosmetic)
1495
1496         * paragraph.C (insertInset, insertChar): the version that takes a
1497         LyXFont argument is now a wrapper around the other one (the
1498         opposite used to be true).
1499
1500         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1501         argument. Font setting is done in Paragraph now.
1502
1503 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1504
1505         * outputparams.h: add new members intitle and lang.
1506
1507         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1508         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1509
1510 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1511
1512         * text3.C (dispatch): remove special handling of button 4 and 5,
1513         it is now taken care of in the frontend code.
1514
1515 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1516
1517         * Spacing.h: add <string> (STLPort compile fix)
1518
1519 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1520
1521         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1522
1523 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1526         to bool.
1527
1528         * converter.C (showMessage): inherit from unary_function, make
1529         operator() const.
1530
1531         * buffer.C (writeFile): initialize retval
1532
1533         * InsetList.h: rename private variable list to list_
1534         * InsetList.[Ch]: adjust accordingly.
1535
1536 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1537
1538         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1539         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1540         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1541         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1542         * ParagraphParameters.C, LaTeXFeatures.C: replace
1543         "support/std_sstream.h" with <sstream>
1544
1545 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1546
1547         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1548         * lyxsocket.C (LyXServerSocket): ditto
1549         (serverCallback): ditto
1550
1551 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1552
1553         * LaTeXFeatures.C: check release date when loading jurabib.
1554
1555 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1556
1557         * lyxserver.C (startPipe): call register_socket_callback
1558         (endPipe): call unregister_socket_callback
1559
1560 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1561
1562         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1563         (LyXServerSocket): register the callback
1564         (LyXServerSocket): unregister the callback
1565         (fd): delete function
1566         (serverCallback): improve error checking and setup the callbacks.
1567         (dataCallback): change arg to fd.
1568         (writeln): new func (copied fro the client socket) used for server
1569         write to client.
1570         (LyXDataSocket): simplify
1571         (~LyXDataSocket): close ann unregiser callback
1572         (server): delete function
1573         (fd): delete function
1574         (readln): small changes, improve some std::string usage
1575         (writeln): constify a bit
1576
1577 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1578
1579         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1580         Qt frontend
1581
1582 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1583
1584         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1585         after it has been populated
1586
1587 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1588
1589         * text2.C (insertInset): move cursor when inserting inset.
1590
1591 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1592
1593         * kbmap.C (findbindings): a couple of new methods. returns a
1594         container of kb_sequence objects. The real work is done by the
1595         private recursive version
1596         (printbindings): uses findbindings to print out a bracketed list
1597         of bindings (renamed from findbinding).
1598
1599         * MenuBackend.C (binding): use kb_keymap::findbindings
1600
1601         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1602
1603 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1604
1605         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1606
1607 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * paragraph.C (isWord): return true on insets that report
1610         isLetter().
1611
1612         * text.C (getWord): use Paragraph::isWord to decide what is in a
1613         word and what is not; fix bug 1609.
1614
1615 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1616
1617         * tex-strings.C: add "none" to string_paperpackages[], fixes
1618         off-by-one-error in the paperpackage selection.
1619
1620         * lyxlex.[Ch]:
1621         * tex-strings.[Ch]: char const * string[n]
1622         -> char const * const string[]
1623
1624 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1627         command, return early.
1628
1629 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1630
1631         * debug.h: add DEBUG to enum and fix size of ANY.
1632
1633         * debug.C: add support for Debug::DEBUG
1634         (showTags): cast errorTags.level to unsigned int
1635
1636         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1637         (redoCurrentBuffer): ditto
1638         (updateScrollbar): ditto
1639         * cursor.C (dispatch): ditto
1640         * text2.C (setLayout): ditto
1641         (setFont): ditto
1642         (updateCounters): ditto
1643         (editXY): ditto
1644         (deleteEmptyParagraphMechanism): ditto
1645
1646 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1647
1648         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1649         annotations to cleanup the Makefile slightly.
1650
1651 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1652
1653         * lyxrc.C: do not set user_email to a default value but use empty
1654         instead. The entry used to be translated, which does not work
1655         since at the point where lyxrc is constructed there is no
1656         translation service available
1657
1658         * messages.C (getLocaleDir): remove and use directly
1659         lyx_localedir() instead
1660
1661 2004-06-02  Angus Leeming  <leeming@lyx.org>
1662
1663         Fix crash caused by dereferencing null pointer 'exportdata' in
1664         OutputParams by creating a new ExportData variable on the heap,
1665         storing it in a boost::shared_ptr.
1666         The crash was triggered when generating an Instant Preview
1667         of an external inset.
1668
1669         * Makefile.am: add outputparams.C
1670
1671         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1672         (c-tor): allocate memory to it.
1673
1674         * exporter.C (c-tor): associated changes.
1675
1676 2004-06-01  Angus Leeming  <leeming@lyx.org>
1677
1678         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1679         contains data before calling isInset(0). (Bug 1513.)
1680
1681 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1682
1683         * exporter.C (checkOverwrite): new method
1684         * exporter.C (copyFile): new method
1685         * exporter.C (Export): copy referenced files to the document dir
1686         * exporter.[Ch]: new class ExportedFile
1687         * exporter.[Ch]: new class ExportData. Contains currently the
1688         names of referenced external files
1689         * outputparams.h: add exportdata member.
1690
1691 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1692
1693         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1694         version.C-tmp
1695
1696 2004-05-19  Angus Leeming  <leeming@lyx.org>
1697
1698         * LaTeXFeatures.C:
1699         * ToolbarBackend.C:
1700         * bufferparams.C:
1701         * lyxfunc.C: small changes due to the introduction of namespace
1702         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1703
1704 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1705
1706         * text3.C (dispatch): supress update when only moving the cursor
1707         * cursor.C (selHandle): remove commented code
1708
1709 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1710
1711         * paragraph.C (startTeXParParams): correct column count
1712         * CutAndPaste.C (pasteSelection): remove const_cast
1713         * output_docbook.C (docbookParagraphs): remove const_cast
1714         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1715         const_cast and return ParagraphList::const_iterator
1716         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1717         * output_plaintext.C (writeFileAscii): remove const_cast
1718         * paragraph.[Ch] (simpleTeXOnePar): make const
1719         * paragraph_funcs.C (outerPar): use const iterators
1720         * paragraph_pimpl.C (validate): use const iterators
1721         * text.C (setHeightOfRow): use const iterators
1722
1723 2004-05-17  Angus Leeming  <leeming@lyx.org>
1724
1725         * lfuns.h:
1726         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1727
1728         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1729         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1730         if the citation engine has changed.
1731
1732 2004-05-14  José Matos  <jamatos@lyx.org>
1733
1734         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1735         if the textclass does not provide it. Have it different for sgml and
1736         xml.
1737         support the language of document.
1738         * output_docbook.C (docbookParagraphs):
1739         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1740         first anchor as the id of the paragraph, remove special case code.
1741         * sgml.C (escapeChar): escape only < & >.
1742
1743 2004-05-14  Angus Leeming  <leeming@lyx.org>
1744
1745         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1746         dependencies on src/frontends/controllers/biblio.h. Define a
1747         CiteEngine_enum wrapper class to enable the enum to be forward
1748         declared.
1749
1750 2004-05-12  Angus Leeming  <leeming@lyx.org>
1751
1752         * buffer.C: up LYX_FORMAT to 234.
1753         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1754         use_numerical_citations with a single biblio::CiteEngine cite_engine
1755         variable.
1756         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1757
1758 2004-05-13  José Matos  <jamatos@lyx.org>
1759
1760         * converter.h:
1761         * converter.C (Converter, readFlags): add xml member.
1762         * outputparams.h: add XML flavor.
1763         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1764
1765 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1766
1767         * lyxfunc.C (dispatch):
1768         (getStatus): fix handling of LFUN_SEQUENCE
1769
1770 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1771
1772         * debug.C (showLevel): do not forget the end-of-line marker
1773
1774 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * kbmap.C (read): do not stop parsing a bind file when an error
1777         occurs (bug 1575)
1778
1779 2004-04-29  Angus Leeming  <leeming@lyx.org>
1780
1781         * cursor.C:
1782         * factory.C:
1783         * pariterator.C:
1784         * text2.C: wrap a bunch of #warning statements
1785         inside #ifdef WITH_WARNINGS blocks.
1786
1787 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1788
1789         * buffer.C: increment format to 233.
1790
1791 2004-04-28  Angus Leeming  <leeming@lyx.org>
1792
1793         * BufferView_pimpl.C:
1794         * lyxfunc.C:
1795         * text3.C:
1796         s/updateToolbar()/updateToolbars()/
1797         s/Toolbar.h/Toolbars.h/
1798
1799 2004-04-28  Angus Leeming  <leeming@lyx.org>
1800
1801         * BufferView.[Ch] (c-tor):
1802         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1803         No longer passes these data to the WorkArea generator.
1804
1805 2004-04-28  Angus Leeming  <leeming@lyx.org>
1806
1807         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1808
1809 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1810
1811         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1812
1813 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * output_latex.C (TeXEnvironment): make sure that there is a line
1816         break before \end{foo} for the last paragraph of a document
1817         (TeXOnePar): if the paragraph is at the end of the document (or
1818         inset) and the language has to be reset, then make sure that the
1819         line break is _before_ the language command, not after (fixes bug
1820         1225); also make sure that the language reset command is the first
1821         thing after the paragraph (to ensure proper nesting of
1822         environments and thus fix bug 1404)
1823
1824 2004-04-21  John Levon  <levon@movementarian.org>
1825
1826         * ToolbarBackend.h:
1827         * ToolbarBackend.C: make "name" be a programmatic name
1828         and a gui_name field.
1829
1830         * lyxfunc.C: display the minibuffer on M-x
1831
1832 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1835         (bug 1526)
1836
1837 2004-04-19  Angus Leeming  <leeming@lyx.org>
1838
1839         * BufferView_pimpl.C (setBuffer): changed preview interface.
1840
1841         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1842         possible values.
1843
1844 2004-04-19  John Levon  <levon@movementarian.org>
1845
1846         * BufferView_pimpl.C:
1847         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1848
1849 2004-04-05  Angus Leeming  <leeming@lyx.org>
1850
1851         * text.C (redoParagraphs): add call to updateCounters(), thereby
1852         fixing the missing "Figure #:" label from the caption of a
1853         figure float.
1854
1855 2004-04-13  Angus Leeming  <leeming@lyx.org>
1856
1857         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1858         cursor is clicked out of an inset.
1859
1860 2004-04-13  Angus Leeming  <leeming@lyx.org>
1861
1862         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1863         than an InsetOld one.
1864
1865 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1866
1867         * format.[Ch]: add editor to Format
1868         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1869         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1870
1871 2004-04-08  André Pönitz  <poenitz@gmx.net>
1872
1873         * metricsinfo.h: remove PainterInfo::width member
1874
1875 2004-04-08  Angus Leeming  <leeming@lyx.org>
1876
1877         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1878         "\providecommand" rather than "\newcommand", thereby preventing
1879         clashes with packages that define "\boldsymbol" themselves.
1880         Eg, beamer.
1881
1882 2004-04-08  Angus Leeming  <leeming@lyx.org>
1883
1884         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1885         thereby squashing an unnecessary warning.
1886
1887 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1888
1889         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1890         setBuffer()
1891
1892 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1893
1894         * BufferView.C (setCursor): call redoParagraph (some insets could
1895         have been opened)
1896         (putSelectionAt): remove the 'double update' trick
1897
1898         * BufferView_pimpl.C (fitCursor): call refreshPar
1899         (workAreaDispatch): remove an uneeded update call
1900         (dispatch): remove some manual update calls
1901
1902         * cursor.[Ch]: remove cached_y_, updatePos
1903         (selHandle): set noUpdate when appropriate
1904
1905         * lyxfunc.C (dispatch): track if we need an update
1906
1907         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1908
1909         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1910         (paintSelection): cheap optimization, do not call cursorX when not
1911         needed
1912         (paintPars): change signature
1913         (refreshPar): add
1914         (paintText): adjust
1915         (paintTextInset): adjust
1916
1917         * text.C: adjust
1918
1919 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1920
1921         * lengthcommon.C: compilation fix: remove explicit array size from
1922         unit_name[] and friends
1923
1924 2004-04-05  Angus Leeming  <leeming@lyx.org>
1925
1926         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1927
1928         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1929         present only for the preferences dialog.
1930         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1931
1932 2004-04-05  Angus Leeming  <leeming@lyx.org>
1933
1934         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1935         to enable the frontends to export changes to lyxrc correctly.
1936
1937         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1938
1939 2004-04-07  André Pönitz  <poenitz@gmx.net>
1940
1941         * cursor.[Ch] (selClear, adjust): remove math
1942
1943         * cursor_slice.C: more agressive assert
1944
1945         * lyxfunc.C:
1946         * BufferView_pimpl.C: rework mouse event dispatch
1947
1948         * dociterator.C:
1949         * paragraph.C:
1950         * text2.C:
1951         * text3.C: adjust
1952
1953 2004-04-05  André Pönitz  <poenitz@gmx.net>
1954
1955         * cursor.[Ch] (valign, halign...): remove unneeded functions
1956
1957 2004-04-05  Angus Leeming  <leeming@lyx.org>
1958
1959         * lyxlength.[Ch] (unit_name et al.): const-correct.
1960
1961 2004-04-05  Angus Leeming  <leeming@lyx.org>
1962
1963         * BufferView_pimpl.C:
1964         * buffer.C:
1965         * counters.C:
1966         * cursor.C:
1967         * lyxfunc.C
1968         * paragraph.C:
1969         * pariterator.C:
1970         * text.C:
1971         * text2.C:
1972         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1973
1974 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1977
1978 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1979
1980         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1981         * BufferView_pimpl.[Ch] (getStatus)
1982         * BufferView.[Ch] (getStatus): add
1983         * lyxfunc.C (getStatus): move lfuns handled in
1984         BufferView::dispatch to te function above
1985         * Cursor.C (setSelection): set selection() = true
1986
1987 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1988
1989         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1990
1991 2004-03-31  Angus Leeming  <leeming@lyx.org>
1992
1993         * lyxfunc.C (dispatch): Fall through to the generic
1994         Dialogs::show("preamble").
1995
1996 2004-03-31  Angus Leeming  <leeming@lyx.org>
1997
1998         * lyxfunc.C (dispatch): Fall through to the generic
1999         Dialogs::show("spellchecker").
2000
2001 2004-03-31  Angus Leeming  <leeming@lyx.org>
2002
2003         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2004         preferences dialog.
2005
2006 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * BufferView.C
2009         * cursor.[Ch]
2010         * dociterator.[Ch]:
2011         * insetiterator.[Ch]:
2012         * lyxfind.C:
2013         * lyxfunc.C:
2014         * pariterator.[Ch]:
2015         * text2.C:
2016         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2017
2018 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2019
2020         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2021         insets where we are putting the cursor.
2022
2023 2004-03-31  Angus Leeming  <leeming@lyx.org>
2024
2025         * lfuns.h:
2026         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2027
2028         * lyxrc.[Ch] (read, write): overloaded member functions taking
2029         a std::[io]stream arguments.
2030
2031         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2032
2033 2004-03-31  Angus Leeming  <leeming@lyx.org>
2034
2035         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2036         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2037
2038         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2039         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2040
2041 2004-03-31  Angus Leeming  <leeming@lyx.org>
2042
2043         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2044         the LFUN_ALL_INSETS_TOGGLE code.
2045
2046 2004-03-30  Angus Leeming  <leeming@lyx.org>
2047
2048         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2049         has died. Fall through to the generic Dialogs::show("document").
2050
2051 2004-03-30  Angus Leeming  <leeming@lyx.org>
2052
2053         * lfuns.h:
2054         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2055         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2056
2057         * lyxfunc.C (getStatus, dispatch): define the actions for these
2058         lfuns. Little more than a cut and pste job from ControlDocument.C
2059
2060         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2061
2062 2004-03-30  Angus Leeming  <leeming@lyx.org>
2063
2064         * lfuns.h:
2065         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2066         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2067
2068         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2069         open/closed state of ollapsable insets. Usage:
2070
2071         all-inset-toggle <state> <name>, where
2072         <state> == "open" || "closed" || "toggle" and
2073         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2074
2075         * lyxtext.h, text2.C (toggleInset): removed.
2076
2077         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2078         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2079         now passes LFUN_INSET_TOGGLE to the found inset.
2080
2081         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2082         is now invoked as "all-insets-toggle toggle branch".
2083
2084 2004-03-30  Angus Leeming  <leeming@lyx.org>
2085
2086         * dociterator.C:
2087         * insetiterator.C:
2088         * pariterator.[Ch]: added/corrected header blurb.
2089
2090 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * dociterator.[Ch]: add an inset_ member
2093         (backwardPos): implemented
2094         (backwardPos, forwardPos): use inset_ when the stack is empty.
2095         (doc_iterator_begin, doc_iterator_end): implemented
2096         * pariterator.[Ch]: adjust, add begin, end
2097         * insetiterator.[Ch]: adjust, add begin, end
2098         * cursor.C:
2099         * document.C:
2100         * BufferView.C:
2101         * BufferView_pimpl.C:
2102         * CutAndPaste.C: adjust
2103
2104 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2105
2106         * buffer.C: increment file format to 232.
2107         * LaTeXFeatures.C: add bibtopic package.
2108         * bufferparams.[Ch]: param \use_bibtopic.
2109
2110         * lyxrc.[Ch]: add lyxrc bibtex_command
2111         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2112
2113         * buffer.C: increment file format to 231.
2114
2115 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * dociterator.C: implement forwardPar
2118         * iterators.[Ch]: remove, replaced by
2119         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2120         * BufferView.C:
2121         * BufferView_pimpl.C:
2122         * CutAndPaste.C:
2123         * buffer.C:
2124         * bufferview_funcs.C:
2125         * cursor.C:
2126         * lyxfind.C
2127         * lyxfunc.C
2128         * paragraph_funcs.C
2129         * toc.C:
2130         * Makefile.am: adjust
2131
2132 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * CutAndPaste.C (pasteSelection): fix 2 crashes
2135         (eraseSelection): fix a crash
2136         * paragraph_funcs.C: remove a warning
2137
2138 2004-03-28  Angus Leeming  <leeming@lyx.org>
2139
2140         * lfuns.h:
2141         * LyXAction.C (init): new LFUN_PRINT.
2142
2143         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2144
2145 2004-03-27  Angus Leeming  <leeming@lyx.org>
2146
2147         * lfuns.h:
2148         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2149
2150         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2151
2152 2004-03-27  Angus Leeming  <leeming@lyx.org>
2153
2154         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2155         insetlist always contains non-null pointers to insets.
2156
2157 2004-03-26  Angus Leeming  <leeming@lyx.org>
2158
2159         * src/BufferView_pimpl.C:
2160         * src/CutAndPaste.C:
2161         * src/buffer.C:
2162         * src/iterators.C:
2163         * src/output_plaintext.C:
2164         * src/outputparams.h:
2165         * src/paragraph_funcs.C:
2166         * src/rowpainter.C:
2167         * src/text.C:
2168         * src/text2.C:
2169         * src/frontends/controllers/ControlErrorList.C:
2170         * src/frontends/gtk/FileDialogPrivate.C:
2171         * src/frontends/gtk/GPainter.C:
2172         * src/frontends/gtk/GToolbar.C:
2173         * src/frontends/qt2/QRef.C:
2174         * src/mathed/math_scriptinset.C: squash compiler warnings.
2175
2176 2004-03-26  Angus Leeming  <leeming@lyx.org>
2177
2178         * ispell.C (LaunchIspell::start):
2179         * lyx_cb.C (AutoSaveBuffer::start):
2180         invoke run(DontWait) rather than runNonBlocking().
2181
2182 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2185
2186 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2187
2188         * kbsequence.C (print): adjust
2189
2190         * kbmap.C (printKeySym): rename and change signature
2191         (printKey): use LyXKeySym::print()
2192
2193 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2194
2195         * undo.C: add using std::advance to compile for stlport
2196
2197 2004-03-24  Angus Leeming  <leeming@lyx.org>
2198
2199         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2200         it leads to a crash when no buffer is present.
2201
2202 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2203             Martin Vermeer  <martin.vermeer@hut.fi>
2204
2205         * lyxfunc.C (dispatch):
2206         * bufferparams.C (readToken): use the new LColor::setColor
2207
2208         * LColor.[Ch] (setColor): new version that takes two strings as
2209         argument and creates a new color entry if necessary
2210
2211 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2212
2213         * buffer.C (makeLaTeXFile): if the main latex file that is
2214         processed is usually a subdocument of some master, then pretend
2215         for a while that it is actually the master
2216
2217 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2218
2219         * buffer.C (getLabelList):
2220         (getBibkeyList): use getMasterBuffer()
2221         (getMasterBuffer): new method. Returns the main document in the
2222         case where one is using included documents.
2223
2224 2004-03-25  André Pönitz  <poenitz@gmx.net>
2225
2226         * Makefile.am:
2227         * iterators.[Ch]:
2228         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2229
2230         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2231
2232         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2233         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2234
2235         * ParameterStruct.h: merge with ParagraphParameters
2236
2237         * lyxtext.h: remove LyXText::parOffset() and getPar()
2238
2239         * text3.C: Remove all 'manual' update calls. We do now one per user
2240         interaction which is completely sufficient.
2241
2242         * Bidi.C:
2243         * BufferView.[Ch]:
2244         * BufferView_pimpl.C:
2245         * FontIterator.[Ch]:
2246         * MenuBackend.C:
2247         * ParagraphParameters.[Ch]:
2248         * buffer.C:
2249         * buffer.h:
2250         * bufferlist.C:
2251         * cursor.[Ch]:
2252         * cursor_slice.[Ch]:
2253         * dociterator.[Ch]:
2254         * errorlist.[Ch]:
2255         * factory.C:
2256         * lfuns.h:
2257         * lyxfind.C:
2258         * lyxfunc.C:
2259         * output_docbook.[Ch]:
2260         * output_latex.[Ch]:
2261         * output_linuxdoc.[Ch]:
2262         * output_plaintext.[Ch]:
2263         * paragraph.[Ch]:
2264         * paragraph_funcs.[Ch]:
2265         * paragraph_pimpl.[Ch]:
2266         * rowpainter.C:
2267         * tabular.[Ch]:
2268         * text.C:
2269         * text2.C:
2270         * toc.C:
2271         * undo.[Ch]: adjust
2272
2273         * frontends/controllers/ControlDocument.C:
2274         * frontends/controllers/ControlErrorList.C:
2275         * frontends/controllers/ControlSpellchecker.C:
2276         * insets/inset.C:
2277         * insets/inset.h:
2278         * insets/insetbase.h:
2279         * insets/insetbibitem.C:
2280         * insets/insetbox.C:
2281         * insets/insetbranch.C:
2282         * insets/insetcaption.C:
2283         * insets/insetcharstyle.C:
2284         * insets/insetcharstyle.h:
2285         * insets/insetcollapsable.C:
2286         * insets/insetcollapsable.h:
2287         * insets/insetert.C:
2288         * insets/insetfloat.C:
2289         * insets/insetfoot.C:
2290         * insets/insetmarginal.C:
2291         * insets/insetnote.C:
2292         * insets/insetoptarg.C:
2293         * insets/insettabular.C:
2294         * insets/insettext.C:
2295         * insets/insettext.h:
2296         * insets/insetwrap.C:
2297         * mathed/math_mboxinset.C:
2298         * mathed/math_nestinset.C:
2299         * mathed/math_scriptinset.C:
2300         * mathed/math_scriptinset.h:
2301         * support/types.h:
2302
2303 2004-03-24  Angus Leeming  <leeming@lyx.org>
2304
2305         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2306         deal with any child processes that have finished but are waiting to
2307         communicate this fact to the rest of LyX.
2308
2309 2004-03-24  Angus Leeming  <leeming@lyx.org>
2310
2311         64-bit compile fixes.
2312
2313         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2314         (c-tor): pass lyx::pos_types rather than ints.
2315
2316         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2317         lyx::pos_type.
2318
2319         * text.C (Delete): compile fix.
2320         (getPar): ensure that function declaration is the same as that in
2321         the header file.
2322
2323 2004-03-23  Angus Leeming  <leeming@lyx.org>
2324
2325         * ispell.C (LaunchIspell):
2326         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2327         a boost::shred_ptr rather than a std::auto_ptr.
2328
2329 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2330
2331         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2332         handle LFUN_FILE_INSERT_*
2333
2334         * lyxrc.C (setDefaults, getDescription, output, read):
2335         * lyxrc.h: remove ps_command
2336
2337 2004-03-22  Angus Leeming  <leeming@lyx.org>
2338
2339         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2340         Ensure that error_handler is processed once only and that all data
2341         is saved before attempting to output any warning messages.
2342
2343         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2344
2345 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2348
2349 2004-03-19  André Pönitz  <poenitz@gmx.net>
2350
2351         * cursor.[Ch] (reset): take main text inset as argument
2352
2353         * BufferView: adjust
2354         * BufferView_pimpl.C: adjust
2355
2356         * paragraph.[Ch]: fix completely broken operator=()
2357
2358 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2359
2360         * LColor.C (getFromLyXName): make sure that the color name is used
2361         as lowercase.
2362
2363 2004-03-17  Angus Leeming  <leeming@lyx.org>
2364
2365         * lfuns.h:
2366         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2367
2368         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2369         dialog and to kill a forked process.
2370
2371 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2372
2373         * text2.C (setCursorFromCoordinates): fix font problem
2374
2375 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2376
2377         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2378         bogus "rebuild cursor" code
2379
2380 2004-03-11  André Pönitz  <poenitz@gmx.net>
2381
2382         * buffer.[Ch]: use InsetText instead of LyXText as container for
2383         the main lyx text.
2384
2385         * dociterator.[Ch]: drop the BufferView * member which is not needed
2386         anymore after the change to buffer.C
2387
2388         * paragraph_funcs.C:
2389         * text.C:
2390         * text2.C:
2391         * BufferView.[Ch]:
2392         * BufferView_pimpl.[Ch]:
2393         * cursor.[Ch]:
2394         * cursor_slice.[Ch]: adjust
2395
2396         * text3.C: fix bug in mathDispatch
2397
2398 2004-03-08  André Pönitz  <poenitz@gmx.net>
2399
2400         * undo.[Ch]: use 'StableDocumentIterator' as base for
2401         the Undo struct.
2402
2403 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2404
2405         * LaTeXFeatures.C:
2406         * bufferparams.[Ch]: add jurabib support and param.
2407
2408         * LaTeX.C: add FIXME/comment.
2409
2410 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2411
2412         * buffer.C: increment file format to 230.
2413
2414 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2415
2416         * cursor.C (dispatch): avoid infinite loops
2417
2418 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2419
2420         * rowpainter.C (paintSelection): fix x coordinates
2421
2422 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * text.C (rowBreakPoint): fix breaking before displayed insets
2425
2426 2004-03-01  André Pönitz  <poenitz@gmx.net>
2427
2428         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2429
2430         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2431
2432         * Makefile.am:
2433         * BufferView.C:
2434         * BufferView_pimpl.C:
2435         * buffer.C:
2436         * lyxfind.C:
2437         * lyxfunc.C:
2438         * text.C:
2439         * text2.C:
2440         * text3.C: adjust
2441
2442 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * lyxtext.h:
2445         * text.C:
2446         * text2.C:
2447         * rowpainter.C:
2448         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2449         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2450
2451 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2452
2453         * Bidi.[Ch] (computeTables): const correctness
2454         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2455         fill_hfill, fill_label_hfill and x from Row
2456         * lyxtext.h: prepareToPrint returns a RowMetrics
2457         * rowPainter.C: adjust
2458         * text.C (prepareToPrint): use width, not textWidth. adjust
2459         (redoParagraphInternal, cursorX): adjust
2460         * text2.C (getColumnNearX): adjust
2461         (init): put a default value to the top LyXText::width
2462
2463 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2464
2465         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2466
2467 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2468
2469         * lyxtext.h: add FontIterator class
2470
2471         * text.C (FontIterator, operator*, operator->, operator++): add
2472         (rowBreakPoint, setRowWidth): adjust (fixing a
2473         rebreaking bug)
2474
2475 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * BufferView_pimpl.C (workAreaDispatch): allow also
2478         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2479
2480 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2481
2482         * text.C (rowBreakPoint): fix a bug showing with very large insets
2483
2484 2004-02-25  André Pönitz  <poenitz@gmx.net>
2485
2486         * text3.C:
2487         * cursor.[Ch]: move some mathed specific code to mathed
2488
2489 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2490
2491         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2492         use_tempdir in preferences
2493         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2494         tempfile creation
2495         * lyx_main.C: ensure that tempdir is valid
2496         * lyxlex.h: correct typo
2497         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2498         * paragraph.[Ch] (isMultiLingual): make const
2499         * cursor.[Ch] (openable): make const
2500
2501 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2502
2503         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2504
2505 2004-02-20  André Pönitz  <poenitz@gmx.net>
2506
2507         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2508
2509         * cursor.[Ch]: prepare for localized getStatus()
2510
2511         * lyxtext.h:
2512         * tabular.C:
2513         * text.C:
2514         * text2.C:
2515         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2516
2517 2004-02-20  André Pönitz  <poenitz@gmx.net>
2518
2519         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2520
2521 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2522
2523         * text2.C (setCursorFromCoordinates): switch to absolute coords
2524         (cursorUp): adjust
2525         (cursorDown): adjust
2526         * text3.C (dispatch): adjust
2527
2528 2004-02-16  André Pönitz  <poenitz@gmx.net>
2529
2530         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2531           insets/ChangeLog)
2532
2533         * cursor_slice.[Ch]: remove unneeded acessor function
2534
2535         * lyxtext.h: rename rtl() to isRTL()
2536
2537         * rowpainter.C:
2538         * tabular.C:
2539         * text.C:
2540         * text2.C:
2541         * text3.C: adjust
2542
2543 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2544
2545         * rowpainter.C (paintSelection): coord fix
2546
2547 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2548
2549         * Spacing.C: compile fix
2550
2551 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2552
2553         * cursor.C (dispatch): restore current_ before returning
2554
2555 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2556
2557         * text2.C (cursorUp, cursorDown): fix coords
2558         (moveUp): fix crash
2559
2560 2004-02-12  André Pönitz  <poenitz@gmx.net>
2561
2562         * lyxtext.h:
2563         * text.C:
2564         * text2.C:
2565         * text3.C: add LCursor & parameter to most cursor movement functions
2566           remove usage of LyXText::cursorRow() and cursorPar()
2567
2568         * cursor.[Ch]: add textRow() needed members
2569
2570         * BufferView.C:
2571         * BufferView_pimpl.C:
2572         * paragraph.[Ch]:
2573         * BufferView.C:
2574         * BufferView_pimpl.C: adjust
2575
2576 2004-02-11  André Pönitz  <poenitz@gmx.net>
2577
2578         * lyxfunc.C:
2579         * BufferView.[Ch]:
2580         * BufferView_pimpl.C: shift undo/redo handling
2581
2582         * cursor.[Ch]: fix mathed crash
2583
2584         * lyxfind.C:
2585         * lyxtext.h: move selectionAsText to LCursor
2586
2587         * output_latex.C:
2588         * paragraph.C:
2589         * text.C:
2590         * text2.C:
2591         * text3.C: adjust
2592
2593         * rowpainter.C: fix excessive drawing
2594
2595 2004-02-06  André Pönitz  <poenitz@gmx.net>
2596
2597         * BufferView.[Ch]:
2598         * BufferView_pimpl.[Ch]:
2599         * text3.C: move some text specific LFUN handling
2600
2601 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2602
2603         * text3.C (checkInsetHit): adjust coords
2604         * text2.C (getColumnNearX): adjust coords
2605         (edit): adjust coords
2606         * text.C (getRowNearY): add two asserts
2607
2608 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2609
2610         * converter.C:
2611         * format.C: add using std::distance to compile on gcc 2.95/stlport
2612
2613 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2614
2615         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2616
2617 2004-02-04  André Pönitz  <poenitz@gmx.net>
2618
2619         * BufferView.[Ch] (insertInset):
2620         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2621
2622         * text2.C:
2623         * text3.C: adjust
2624
2625 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2626
2627         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2628         on the default clause of the switch
2629         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2630         wasn't catched by LCursor::dispatch
2631
2632 2004-02-03  André Pönitz  <poenitz@gmx.net>
2633
2634         * BufferView.C:
2635         * cursor.[Ch]: some additional asserts
2636
2637         * undo.[Ch]: remove LyXText dependency in interface
2638
2639         * lyxfunc.C: adjust
2640
2641         * lyxtext.h (firstPar, lastPar): remove dead functions
2642
2643         * text.C:
2644         * text2.C:
2645         * text3.C:
2646         * paragraph.[Ch]: adjust
2647
2648 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2649
2650         * lyxfind.C (find): fix argument order in call to ::find
2651
2652 2004-02-02  André Pönitz  <poenitz@gmx.net>
2653
2654         * cursor.[Ch]: remove direct access to anchor
2655
2656         * text.C: remove findText() hack
2657
2658 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2659
2660         * iterators.[Ch] (lockPath): remove in favour of...
2661         * BufferView.[Ch] (setCursor): this addition
2662         * BufferView.C (putSelectionAt): adjust
2663         * undo.C (performUndoOrRedo): adjust
2664         * lyxfunc.C (dispatch): adjust
2665
2666 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * iterators.C (lockPath): add a missing slice
2669         * undo.C (performUndoOrRedo): remove redundant positioning code
2670
2671 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2672
2673         * vc-backend.C (scanMaster): ";" -> ';'
2674
2675 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2676
2677         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2678         std::binary_function
2679
2680         * lyxtextclass.C (compare_name): rename to...
2681         (LayoutNamesEqual): ...this
2682
2683         * lyxlex_pimpl.C (compare_tags): inherit from
2684         std::binary_function, put back into anon namespace
2685
2686         * lyxfind.C (MatchString): inherig from std::binary_function
2687         (findChange): use empty() istead of !size()
2688
2689         * format.C (FormatNamesEqual): new functor
2690         (getFormat): use it
2691         (getNumber): use it
2692         (add): use it
2693         (erase): use it
2694         (setViewer): use it
2695
2696         * converter.C (compare_Converter): rename to...
2697         (ConverterEqual): ...this, and fixup a bit.
2698         (getConverter): use it, and make function const
2699         (getNumber): use it, and make function const
2700         (add): use it
2701         (erase): use it:
2702
2703         * bufferlist.C: add using boost::bind
2704
2705         * MenuBackend.C (MenuNamesEqual): new functor
2706         (hasMenu): use it, and make function const
2707         (hasSubmenu): use nested bind to get rid of compare_memfun.
2708
2709 2004-01-30  André Pönitz  <poenitz@gmx.net>
2710
2711         * BufferView_pimpl.C:
2712         * cursor.C:
2713         * cursor.h:
2714         * cursor_slice.[Ch]:
2715         * lyxfunc.C:
2716         * lyxtext.h:
2717         * paragraph_funcs.C:
2718         * paragraph_funcs.h:
2719         * rowpainter.C:
2720         * text.C:
2721         * text2.C:
2722         * text3.C: move some of the edit(x,y) handling to the insets
2723         some coordinate changes.
2724
2725 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2726
2727         * text.C: add using statements for std::advance and std::distance
2728
2729         * paragraph.C: add using statement for std::distance
2730
2731         * lyxfind.C: add using statement for std::advance
2732
2733         * cursor.C (region): remove std:: from swap
2734         (openable): use nucleus in stead of operator->
2735
2736         * BufferView.C: add using statements for std::distance and std::swap
2737
2738 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2739
2740         * iterators.C: Remove the pimple, move the needed structures to
2741         the header file. Create accessor for the positions stack.
2742         (asPosIterator): remove function
2743
2744         * PosIterator.C (PosIterator): move constructors to top of file
2745         (PosIterator): reimplement the constructor taking a ParIterator in
2746         terms of setFrom.
2747         (setFrom): new function
2748         (operator!=): inline it
2749
2750 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2751
2752         * lyxfind.C (replaceAll): use std::advance
2753
2754         * iterators.h: inherit from std::iterator.
2755
2756         * PosIterator.C (advance, distance): remove
2757         * PosIterator.h: interit from std::iterator.
2758
2759 2004-01-26  André Pönitz  <poenitz@gmx.net>
2760
2761         * BufferView.[Ch]:
2762         * BufferView_pimpl.[Ch]:
2763         * InsetList.[Ch]:
2764         * PosIterator.[Ch]:
2765         * buffer.h:
2766         * bufferview_funcs.C:
2767         * cursor.[Ch]:
2768         * cursor_slice.h:
2769         * factory.[Ch]:
2770         * iterators.[Ch]:
2771         * lyxfind.C:
2772         * lyxfunc.C:
2773         * lyxtext.h:
2774         * output_docbook.C:
2775         * output_latex.C:
2776         * output_linuxdoc.C:
2777         * output_plaintext.C:
2778         * paragraph.[Ch]:
2779         * paragraph_funcs.[Ch]:
2780         * paragraph_pimpl.[Ch]:
2781         * rowpainter.C:
2782         * tabular.C:
2783         * tabular.h:
2784         * text.C:
2785         * text2.C:
2786         * text3.C: more IU:  dumps most of the rest of the mathcursor
2787     implementation into cursor.[Ch]; "globalize" a bit of it.
2788
2789 2004-01-25  Angus Leeming  <leeming@lyx.org>
2790
2791         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2792
2793 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2794
2795         * LaTeXFeatures.h: add nice_ and nice() const
2796         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2797
2798 2004-01-20  André Pönitz  <poenitz@gmx.net>
2799
2800         * BufferView.[Ch]:
2801         * BufferView_pimpl.C:
2802         * PosIterator.C:
2803         * bufferview_funcs.C:
2804         * cursor.[Ch]:
2805         * cursor_slice.[Ch]:
2806         * factory.C:
2807         * iterators.C:
2808         * lyx_cb.C:
2809         * lyxfind.C:
2810         * lyxfunc.C:
2811         * lyxtext.h:
2812         * rowpainter.C:
2813         * text.C:
2814         * text2.C:
2815         * text3.C:
2816         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2817           LCursor and mathcursor parts to LCursor and InsetBase.
2818
2819 2004-01-15  André Pönitz  <poenitz@gmx.net>
2820
2821         * cursor_slice.[Ch]: add a few covienience functions
2822
2823         * funcrequest.[Ch]: remove BufferView * member
2824
2825         * BufferView_pimpl.C:
2826         * cursor.C:
2827         * factory.[Ch]:
2828         * lyxfind.[Ch]:
2829         * lyxfunc.C:
2830         * lyxtext.h:
2831         * text3.C:
2832         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2833
2834 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2835
2836         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2837         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2838
2839 2004-01-13  André Pönitz  <poenitz@gmx.net>
2840
2841         * textcursor.[Ch]:
2842         * lyxtext.h: hide cursor and selection anchor behind accessor function
2843
2844         * BufferView.C:
2845         * BufferView_pimpl.[Ch]:
2846         * PosIterator.C:
2847         * bufferview_funcs.C:
2848         * cursor.h:
2849         * lyxfind.C:
2850         * lyxfunc.C:
2851         * text.C:
2852         * text2.C:
2853         * text3.C:
2854         * undo.C: adjust
2855
2856         * cursor.h:
2857         * cursor_slice.[Ch]: some integer type changes for inset unification
2858
2859         * lyxcursor.[hC]: remove, it's CursorSlice now.
2860
2861         * Makefile.am:
2862         * BufferView_pimpl.[Ch]:
2863         * bufferview_funcs.C:
2864         * cursor_slice.C:
2865         * lyxtext.h:
2866         * text.C:
2867         * text2.C:
2868         * text3.C:
2869         * textcursor.[Ch]: adjust
2870
2871 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2872
2873         * text2.C (undoSpan): add and use
2874         * text.C (breakParagraph): use undoSpan (fix bug 578)
2875         * lyxtext.h: adjust
2876
2877 2004-01-08  Angus Leeming  <leeming@lyx.org>
2878
2879         * BufferView_pimpl.C (MenuInsertLyXFile):
2880         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2881         * lyxfunc.C (menuNew, open, doImport):
2882         FileFilterList change to the FileDialog open and save functions.
2883
2884 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2885
2886         * ShareContainer.h: make isEqual and isUnique adaptable
2887
2888         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2889
2890 2004-01-07  Angus Leeming  <leeming@lyx.org>
2891
2892         * LyXAction.C:
2893         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2894
2895         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2896
2897         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2898         functions replacing find, replace and replaceAll.
2899
2900         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2901         LFUN_WORDFIND(FORWARD|BACKWARD).
2902
2903 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2904
2905         * text.C (breakParagraph): remove an outdated #warning
2906
2907 2004-01-07  André Pönitz  <poenitz@gmx.net>
2908
2909         * lyxfind.C: somewhat clearer logic
2910
2911         * text.C: prevent crash in cursorX on unitialized row cache
2912
2913 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2914
2915         * lyxcursor.[Ch] (operator>): add
2916         * textcursor.C (selStart, selEnd): use std::min and std::max
2917
2918 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2919
2920         * Chktex.C: include boost/format.hpp
2921
2922 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2923
2924         * InsetList.C: replace functor MathcIt with adaptable functor
2925         InsetTablePosLess
2926         (insetIterator): modify accordingly
2927
2928         * BranchList.h: move the BranchNamesEqual functor here from...
2929         * BranchList.C: ... to here
2930
2931         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2932         SameName and match.
2933         (add): replace a finding loop with std::find_if.
2934
2935 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2936
2937         * output_docbook.C: moving LatexParam functionality into
2938         .layout files
2939
2940 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2941
2942         * buffer.C: increment format to 229.
2943
2944 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2945
2946         * LaTeXFeatures.C:
2947         * lyx_sty.[Ch]: remove minipageindent_def
2948
2949         * LyXAction.C:
2950         * factory.C:
2951         * lfuns.h:
2952         * lyxfunc.C:
2953         * text3.C: remove LFUN_INSET_MINIPAGE
2954
2955 2003-12-28  Angus Leeming  <leeming@lyx.org>
2956
2957         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2958
2959 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2960
2961         * text2.C (setParagraph): fix off-by-one crash
2962
2963 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2964
2965         * output_docbook.C: header stuff for AGU
2966
2967 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2968
2969         * text2.C (redoCursor): remove
2970         * text.C:
2971         * text3.C:
2972         * BufferView_pimpl.C: remove calls to redoCursor and
2973         setCursor(cursor.par(), cursor.pos()) all around
2974
2975 2003-12-15  Angus Leeming  <leeming@lyx.org>
2976
2977         * buffer.C: up the format to 228.
2978
2979 2003-12-15  André Pönitz  <poenitz@gmx.net>
2980
2981         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2982         slices
2983
2984         * Makefile.am:
2985
2986         * BufferView_pimpl.C:
2987         * cursor.[Ch]:
2988         * lyxcursor.[Ch]:
2989         * rowpainter.[Ch]:
2990         * lyxtext.h:
2991         * text.C:
2992         * text2.C:
2993         * text3.C: adjust
2994
2995 2003-12-15  Angus Leeming  <leeming@lyx.org>
2996
2997         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2998         than getFromGUIName to manipulate the color.
2999
3000 2003-12-14  Angus Leeming  <leeming@lyx.org>
3001
3002         * BranchList.[Ch]: minimize the API.
3003         (Branch::getBranch, getColor): now return a 'const &'.
3004         (Branch::setSelected) now returns a bool set to true if the
3005         selection status changes.
3006         (BranchList::clear, size, getColor, setColor, setSelected,
3007         allBranches, allSelected, separator): removed.
3008         (BranchList::find): new functions, returning the Branch with
3009         the given name.
3010         (BranchList::add, remove): return a bool indicating that
3011         the operation was successful.
3012
3013         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3014         new InsetBranch::isBranchSlected member function.
3015
3016         * LColor.[Ch]: mimimize the API.
3017         (fill): renamed as addColor and made private.
3018         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3019         versions of these functions taking a string arg have been removed.
3020
3021         * bufferparams.C (readToken):
3022         * lyxfunc.C (dispatch):
3023         * lyxrc.C (read): changes due to the altered BranchList and
3024         LColor APIs.
3025
3026         * factory.C (createInset, readInset): changes due to altered
3027         InsetBranch c-tor.
3028
3029 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3030
3031         * factory.C:
3032         * lyxfunc.C: remove insetminipage. "minipage-insert"
3033         now produces a frameless minipage box inset.
3034
3035 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3036
3037         * textcursor.[Ch] (selStart,selEnd): add new methods
3038         remove selection::start, end, use LyXCursor::operator<
3039         * lyxcursor.[Ch] (operator<): add
3040         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3041         * BufferView.[Ch] (unsetXSel): add
3042         * text2.C (clearSelection): use unsetXSel,adjust
3043         * text.C: adjust
3044         * text3.C: adjust
3045         * rowpainter.C: adjust
3046         * bufferview_funcs.C (put_selection_at): adjust
3047
3048 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3049
3050         * BufferView_pimpl.C: small coord. correction
3051
3052 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3053
3054         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3055         dragging over the splash screen.
3056
3057 2003-12-11  Angus Leeming  <leeming@lyx.org>
3058
3059         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3060         as it is now handled in LyXText::dispatch.
3061
3062         * text3.C (doInsertInset): remove a level of nesting.
3063
3064 2003-12-11  Angus Leeming  <leeming@lyx.org>
3065
3066         * factory.C (createInset): changes due to the changed interface to
3067         InsetCommandMailer::string2params.
3068
3069 2003-12-10  Angus Leeming  <leeming@lyx.org>
3070
3071         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3072         'dialog-show-new-inset <inset name>'
3073
3074 2003-12-10  Angus Leeming  <leeming@lyx.org>
3075
3076         * buffer.C: up the format to 227.
3077
3078         * factory.C: the box inset is now identified simply by 'Box'.
3079
3080 2003-12-10  Angus Leeming  <leeming@lyx.org>
3081
3082         * buffer.C: up the format to 226.
3083
3084         * factory.C: the note inset is now identified simply by 'Note'.
3085
3086 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3087
3088         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3089         when a pit is enough. Standarize a couple of loops.
3090
3091 2003-12-05  Angus Leeming  <leeming@lyx.org>
3092
3093         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3094         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3095         data to the re-worked "log" dialog.
3096
3097 2003-12-03  André Pönitz  <poenitz@gmx.net>
3098
3099         * PosIterator.C:
3100         * iterators.C:
3101         * lyxtext.h:
3102         * output_latex.C:
3103         * paragraph_funcs.C:
3104         * text.C:
3105         * text2.C: use Inset::getText instead of Inset::getParagraph
3106
3107 2003-12-03  André Pönitz  <poenitz@gmx.net>
3108
3109         * buffer.[Ch]:
3110         * lyxtext.h:
3111         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3112         InsetText::read() as LyXText::read()
3113
3114 2003-12-02  Angus Leeming  <leeming@lyx.org>
3115
3116         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3117         type. Add a comment in the implementation that the function uses
3118         the stream's bad() function rather than fail() as the std::streams
3119         would do.
3120
3121 2003-12-02  André Pönitz  <poenitz@gmx.net>
3122
3123         * lyxlex.[Ch]: make interface more similar to std::stream
3124
3125         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3126
3127 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3128
3129         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3130
3131 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3132
3133         * vspace.[Ch]: remove VSpace::NONE
3134
3135 2003-12-01  André Pönitz  <poenitz@gmx.net>
3136
3137         * buffer.[Ch]:
3138         * lyxtext.h: move ParagraphList member to LyXText
3139         rename LyXText::ownerParagraphs to LyXText::paragraph
3140
3141         * CutAndPaste.C:
3142         * bufferview_funcs.C:
3143         * iterators.[Ch]:
3144         * lyx_cb.C:
3145         * paragraph.C:
3146         * rowpainter.C:
3147         * tabular.C:
3148         * text.C:
3149         * text2.C:
3150         * text3.C: adjust
3151
3152         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3153
3154         * undo.C: fix cursor positioning
3155
3156 2003-12-01  John Levon  <levon@movementarian.org>
3157
3158         * BufferView_pimpl.C: fix a crash on exit with
3159         a buffer open
3160
3161 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3162
3163         * BranchList.C: fix setSelected() method.
3164
3165 2003-11-28  André Pönitz  <poenitz@gmx.net>
3166
3167         * ParagraphParameters.[Ch]:
3168         * ParameterStruct.h: remove space above/below from Paragraph to
3169          InsetVSpace
3170
3171         * BufferView_pimpl.C:
3172         * factory.C:
3173         * lyxfunc.C:
3174         * lyxtext.h:
3175         * output_latex.C:
3176         * paragraph.C:
3177         * paragraph_funcs.C:
3178         * rowpainter.[Ch]:
3179         * text.C:
3180         * text2.C:
3181         * text3.C: adjust
3182
3183 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3184
3185         * factory.C: Syntax change for CharStyles
3186
3187 2003-11-28  André Pönitz  <poenitz@gmx.net>
3188
3189         * BufferView.[Ch]:
3190         * BufferView.[Ch]:
3191         * buffer.[Ch]:
3192         * buffer.[Ch]: move LyXText member
3193
3194 2003-11-28  André Pönitz  <poenitz@gmx.net>
3195
3196         * BufferView.[Ch]: make LyXText * text a private member
3197
3198         * BufferView_pimpl.C:
3199         * cursor.C:
3200         * iterators.C:
3201         * lyx_cb.C:
3202         * lyxfind.C:
3203         * lyxtext.h:
3204         * rowpainter.[Ch]:
3205         * text.C:
3206         * text2.C:
3207         * undo.C: adjust
3208
3209         * output_plaintext.C: cleanup
3210
3211 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3212
3213         * buffer.C:
3214         * lyxtextclass.[Ch]: parametrize SGML document header
3215
3216 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3217
3218         * converter.[Ch]:
3219         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3220         getFlavor().
3221
3222 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3223
3224         * text2.C (setFont): rework using PosIterator (no more recursive)
3225         (setCharFont): no more needed
3226         (setLayout): no more selection cursors fiddling (done by redoCursor)
3227         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3228         destroy remaining ones)
3229
3230 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3231
3232         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3233         * lyxtext.h: ditto
3234         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3235         selection cursors
3236         * lyxfunc.C: adjust
3237         * text3.C: adjust + re-allow multi par depth changes
3238         * textcursor.C: simplify a bit
3239
3240 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3241
3242         * src/buffer.C:
3243         * src/lyxlayout.C:
3244         * src/lyxlayout.h:
3245         * src/lyxtext.h:
3246         * src/output_docbook.C:
3247         * src/output_latex.C:
3248         * src/paragraph.C:
3249         * src/paragraph.h:
3250         * src/sgml.C:
3251         * src/sgml.h:
3252         * src/text2.C: Introducing a number of tags parametrizing various
3253         XML formats that we may want to support
3254
3255 2003-11-25  André Pönitz  <poenitz@gmx.net>
3256
3257         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3258
3259         * lyxtext.h (leftMargin/rightMargin): simplify interface
3260
3261         * rowpainter.C:
3262         * text.C:
3263         * text2.C:
3264         * text3.C: adjust
3265
3266 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3267
3268         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3269         master file to any child files. Fixes bug 546.
3270
3271 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3272
3273         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3274
3275 2003-11-24  André Pönitz  <poenitz@gmx.net>
3276
3277         * rowpainter.C: simplification
3278
3279         * text2.C (updateCounters): remove call to redoParagraph on
3280         changed labels as this is far too expensive.
3281
3282 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * converter.C (convert): fix a crash: this function gets
3285         called with buffer == 0 from importer code.
3286
3287 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3288
3289         * text3.C (cursorPrevious): make sure that we do not compare
3290         iterators form different containers.
3291         (cursorNext): ditto
3292
3293         * rowpainter.C (paintSelection): make sure that we do not compare
3294         iterators from different containers.
3295
3296         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3297         iterators from different ParagraphList containers.
3298         [NEXT] ditto
3299
3300         * text2.C (LyXText): change order of initialization slightly
3301         (operator=): new function. copy all variables except cache_par_
3302         (moveUp): make sure that we do not compare iterators from
3303         different ParagraphList constainers.
3304         (moveDown): ditto
3305
3306         * text.C (firstPar): new function
3307         (lastPar): new function
3308         (endPar): new function
3309
3310         * lyxtext.h: move things around and group public functions, public
3311         variables, private functions, private variables
3312
3313 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3314
3315         * factory.C: change call to InsetERT constructor to avoid
3316         additional invocation of method status
3317         * text2.C (toggleInset): remove redundant update() call
3318         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3319         instead of a Bufferview pointer
3320
3321 2003-11-21  André Pönitz  <poenitz@gmx.net>
3322
3323         * rowpainter.C: simplification
3324
3325 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3326
3327         * text3.C (dispatch): make possible to extend a word/row selection
3328         with the mouse
3329
3330 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3331
3332         * lyxtext.h: x0_,y0_ -> xo_,yo_
3333         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3334         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3335         * rowpainter.C (paintRows): paint full paragraphs
3336
3337 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3338
3339         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3340         screen coordinates)
3341
3342 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3343
3344         * lyxtext.h: add x0_, y0_
3345         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3346         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3347
3348 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3349
3350         * text2.C (setCursorIntern): move the x_target update here *
3351         * text3.C: change some bv() to true/false in calls to
3352         cursorUp/Down/Right/Left
3353         * cursor.C: use helper function.
3354
3355 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3356
3357         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3358         * paragraph_funcs.[Ch]: correct comment
3359         * rowpainter.C: do not paint selections away from bv->cursor()
3360         Fix a long standing selection painting bug.
3361         * text3.C: generalize mouse-selection code to LyXTexts other that
3362         top one
3363         * textcursor.C: do not use y coords if we can use par offsets
3364
3365 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3366
3367         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3368         cursor position after e.g. inset insert)
3369
3370 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3371
3372         * lyxfind.C (replace): adjust to locking removal + some
3373         code simplification
3374
3375 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3376
3377         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3378         of the path
3379
3380 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3381
3382         * lyxlayout.[Ch]:
3383         * output_docbook.C: XML sanitation: new layout
3384         parameters InnerTag and CommandDepth
3385
3386 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3387
3388         * BufferView_pimpl.C:
3389         * factory.C:
3390         * text3.C: Fix the insertion and modification of button-style
3391         insets
3392
3393 2003-11-13  André Pönitz  <poenitz@gmx.net>
3394
3395         * InsetList.[Ch]: remove deleteLyXText
3396
3397         * paragraph.[Ch]: cache beginOfBody position
3398
3399         * Bidi.C:
3400         * text.C:
3401         * text2.C:
3402         * text3.C: remove superfluous update() calls
3403
3404         * vspace.C: cleanup
3405
3406 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3407
3408         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3409         * BufferView.C (fitLockedInsetCursor): remove
3410         * cursor.[Ch] (getDim): add
3411         * text.C (getRowNearY): add faster version
3412         * text3.C: remove some update calls
3413
3414 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3415
3416         * LaTeXFeatures.C:
3417         * LyXAction.C:
3418         * MenuBackend.C:
3419         * MenuBackend.h:
3420         * dispatchresult.h:
3421         * factory.C:
3422         * lfuns.h:
3423         * lyxfunc.C:
3424         * lyxtextclass.C:
3425         * lyxtextclass.h:
3426         * text3.C: The Character Style /XML short element patch.
3427
3428 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3429
3430         * text3.C:
3431         * factory.C: Small step to solving 'unable to insert some insets'
3432         problem
3433
3434 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3435
3436         * cursor.[Ch] (updatePos): new function for updating the y
3437         position of the tip inset
3438         * bufferview_funcs.C (put_selection_at):
3439         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3440
3441 2003-11-11  André Pönitz  <poenitz@gmx.net>
3442
3443         * text.C: remove big comment on invalid Paragraph pointers as it is
3444         not valid anymore
3445
3446 2003-11-11  André Pönitz  <poenitz@gmx.net>
3447
3448         * text_funcs.[Ch]: merge with ...
3449
3450         * text.C: ... this
3451
3452         * lyxtext.h:
3453         * text2.C:
3454         * text3.C: adjust
3455
3456         * Makefile.am: remove text_funcs.[Ch]
3457
3458 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * cursor.C (getPos): return absolute cached y coord
3461
3462         * BufferView_pimpl.C (fitCursor): new simplistic code
3463         (workAreaDispatch): add a fitCursor call
3464
3465 2003-11-10  André Pönitz  <poenitz@gmx.net>
3466
3467         * BufferView.[Ch]:
3468         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3469
3470 2003-11-10  André Pönitz  <poenitz@gmx.net>
3471
3472         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3473         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3474         indicate that the cursor needs to leave an inset
3475
3476         * lyxtext.h: remove inset locking
3477
3478         * cursor.[Ch]: re-implement functionality provided by inset locking
3479
3480         * BufferView.[Ch]:
3481         * BufferView_pimpl.[Ch]:
3482         * LyXAction.C:
3483         * bufferview_funcs.[Ch]:
3484         * factory.C:
3485         * funcrequest.[Ch]:
3486         * iterators.C:
3487         * lyx_cb.C:
3488         * lyxfind.C:
3489         * lyxfunc.C:
3490         * text.C:
3491         * text2.C:
3492         * text3.C:
3493         * undo.C: adjust
3494
3495 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * PosIterator.[Ch]: replace the stack with a vector, add inset
3498         accesor
3499         * iterators.[C]: adjust
3500
3501 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3502
3503         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3504         replaced
3505         * paragraph_funcs.C (readParToken): put the correct id in the
3506         error item, not the id of the top paragraph
3507
3508 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3511         * bufferview_funcs.C (put_selection_at): use the above
3512
3513 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3516
3517 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3518
3519         * output_linuxdoc.h:
3520         * output_plaintext.h:
3521         * output.h:
3522         * output_docbook.h: add #include statements
3523
3524 2003-11-05  José Matos  <jamatos@lyx.org>
3525
3526         * output_docbook.[Ch]:
3527         * output_latex.[Ch]:
3528         * output_linuxdoc.[Ch]:
3529         * output_plaintext.[Ch]: New files for output formats.
3530         * output.[Ch]: New file for helper functions.
3531
3532         * buffer.[Ch]:
3533         * paragraph_funcs.[Ch]: output functions moved to new files.
3534
3535         * outputparams.h: rename of latexrunparams.h
3536
3537         * LaTeX.[Ch]:
3538         * buffer.[Ch]:
3539         * bufferlist.[Ch]:
3540         * converter.[Ch]:
3541         * exporter.C:
3542         * paragraph.[Ch]:
3543         * paragraph_funcs.[Ch]:
3544         * paragraph_pimpl.[Ch]:
3545         * tabular.[Ch]: rename ascii to plaintext
3546         and LatexRunParams to OutputParams.
3547
3548 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * iterators.[Ch] (text): require bv argument
3551         * undo.C (recordUndo):
3552         * lyxfunc.C (dispatch):
3553         * bufferview_funcs.C (put_selection_at): adjust
3554
3555 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3556
3557         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3558
3559 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3562         nestings
3563
3564 2003-11-04  André Pönitz  <poenitz@gmx.net>
3565
3566         * cursor.[Ch]: restructure
3567
3568         * BufferView.[Ch]:
3569         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3570
3571         * iterators.[Ch] (asCursor): remove
3572
3573         * lfuns.h: remove LFUN_INSET_EDIT
3574
3575         * lyxfunc.C:
3576         * tabular.C:
3577         * text.C:
3578         * text2.C:
3579         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3580
3581 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3582
3583         * lyxfind.[Ch]: complete overhaul
3584         * BufferView_pimpl.C:
3585         * lyxfunc.C: adjust
3586         * paragraph.[Ch] (insert): add
3587
3588 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3589
3590         * BufferView.[Ch]:
3591         * lyxtext.h:
3592         * text.C: remove dead spellcheck code
3593
3594 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3595
3596         * dispatchresult.h: add a val setter
3597
3598         * cursor.C (dispatch): use a tempvar for data_[i]
3599
3600 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * PosIterator.[Ch]: compile fix
3603
3604 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3605
3606         * text.C (cursorPar): deactivate the cursor cache
3607
3608 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3609
3610         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3611
3612 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3613
3614         * text3.C (dispatch): adjust for new DisptchResult semantics.
3615
3616         * lyxfunc.C (dispatch): handle update when return from
3617         Cursor::dispatch, adjust for new DispatchResult semantics.
3618
3619         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3620         DispatchResult(true) mean to not update. Add class functions for
3621         setting dispatched and update, as well as reading.
3622
3623         * cursor.C (dispatch): don't handle update here
3624
3625 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3628         * trans_mgr.C: adjust
3629
3630         * paragraph_funcs.C (readParToken): exception safety
3631
3632         * lyxvc.h: store the vcs pointer in a scoped_ptr
3633         * lyxvc.C: adjust
3634
3635         * lyxsocket.C (serverCallback): exception safety
3636
3637         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3638
3639         * ispell.C (clone): make it return a auto_ptr
3640
3641         * factory.C (createInset): exception safety
3642         (readInset): exception safety
3643
3644         * bufferlist.C (newBuffer): exception safety
3645
3646         * Thesaurus.C (Thesaurus): use initialization for aik_
3647
3648         * MenuBackend.C (expandToc): exception safety.
3649
3650 2003-11-03  André Pönitz  <poenitz@gmx.net>
3651
3652         * buffer.C:
3653         * buffer.h:
3654         * bufferview_funcs.C: remove getInsetFromId()
3655
3656         * lyxcursor.[Ch]:
3657         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3658
3659         * lyxfunc.C:
3660         * text2.C:
3661         * text3.C: adjust
3662
3663 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3664
3665         * PosIterator.C (distance, advance): new
3666         * bufferview_funcs.[Ch] (put_selection_at): new
3667         * iterators.[Ch] (lockPath): new
3668
3669 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * iterators.[Ch] (asPosIterator): added
3672         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3673         * PosIterator.[Ch]: added
3674
3675 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * text3.C:
3678         * lyxfunc.C:
3679         * cursor.C (dispatch):
3680         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3681
3682         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3683         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3684         contructor, add a class function dispatched. Remove operator>=
3685
3686 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * debug.C: only use the default constructor for debugstream
3689         (lyxerr) here.
3690
3691         * main.C (main): include debug.h and setup the lyxerr streambuf
3692         here.
3693
3694 2003-10-31  José Matos  <jamatos@lyx.org>
3695
3696         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3697
3698         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3699         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3700         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3701         * paragraph_pimpl.C (simpleTeXSpecialC):
3702         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3703         add LatexRunParams argument.
3704
3705         * exporter.C (Export): change call accordingly.
3706
3707         * latexrunparams.h: add new member to take care of the other backends.
3708 2003-10-30  José Matos  <jamatos@lyx.org>
3709
3710         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3711         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3712         factorise code for paragraph output.
3713         * buffer.[Ch]:
3714         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3715         move functions.
3716
3717 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * text3.C (dispatch):
3720         * lyxfunc.C (dispatch):
3721         * cursor.C (dispatch):
3722         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3723
3724         * dispatchresult.h: make the dispatch_result_t ctor explicit
3725
3726 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3727
3728         * sgml.[Ch]:
3729         * buffer.C: small refactoring of docbook stuff
3730
3731 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3732
3733         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3734         meaning.
3735
3736 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3739         operator dispatch_result_t, and operators for == != and >=
3740
3741         * cursor.C (dispatch): adjust for operator dispatch_result_t
3742         removal. comment out call to update
3743
3744         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3745
3746 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3747
3748         * text3.C:
3749         * text2.C:
3750         * text.C:
3751         * lyxtext.h:
3752         * lyxfunc.C:
3753         * cursor.C:
3754         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3755         (dispatch):
3756
3757         * dispatchresult.h: new file, DispatchResult broken out of
3758         insets/insetbase.h
3759
3760         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3761
3762 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3763
3764         * text.C (rowBreakPoint): put a hack inside #if 0
3765
3766 2003-10-28  André Pönitz  <poenitz@gmx.net>
3767
3768         * lyxtext.h:
3769         * metricsinfo.C:
3770         * paragraph_funcs.C:
3771         * rowpainter.C:
3772         * text.C:
3773         * text2.C: general cleanup (lots of small stuff)
3774
3775 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3776
3777         * text2.C (cursorEnd): simple fix to the "end key goes to one
3778         before the end on last row" bug
3779
3780 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3781
3782         * text.C (backspace): fix the "zombie characters"
3783
3784 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3787
3788 2003-10-27  André Pönitz  <poenitz@gmx.net>
3789
3790         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3791
3792         * factory.C: handle new InsetPagebreak, InsetLine
3793
3794         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3795         and move handling into new InsetPagebreak, InsetLine
3796
3797         * BufferView_pimpl.C:
3798         * LyXAction.C:
3799         * ParagraphParameters.C:
3800         * ParameterStruct.h:
3801         * lyxfunc.C:
3802         * lyxtext.h:
3803         * paragraph.C:
3804         * paragraph.h:
3805         * paragraph_funcs.C:
3806         * paragraph_pimpl.C:
3807         * rowpainter.C:
3808         * text.C:
3809         * text2.C:
3810         * text3.C: adjust
3811
3812 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3813
3814         * text.C:
3815         * lyxrow_funcs.[Ch]:
3816         * Bidi.C:
3817         * paragraph.C:
3818         * lyxtext.h:
3819         * rowpainter.C:
3820         * text2.C:
3821         * text3.C: remove lastPos uses in favour of Row::endpos
3822
3823 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3824
3825         * undo.C (performUndoOrRedo): fix two crashes by setting a
3826         cursor by hand and reordering some calls. Use bv->lockInset instead
3827         of inset->edit because the latter loses cursor information
3828
3829 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3830
3831         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3832         by Martin
3833         (rowBreakPoint): fix width. change point to point + 1.
3834         Add a missing check.
3835
3836 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3837
3838         * MenuBackend.C:
3839         * lyxfunc.C: fix (at least partly) the problems
3840         with the Nav menu and headers inside branch insets
3841         reported by Kayvan
3842
3843 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3844
3845         * paragraph.C (getChar): add strong asserts
3846
3847         * lyxrow_funcs.C (lastPos): remove hideous hack
3848
3849         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3850         (fill): adjust to that (avoid an infinite loop)
3851
3852 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3855
3856 2003-10-23  André Pönitz  <poenitz@gmx.net>
3857
3858         * RowList_fwd.h: change list<> to vector<> to gain speed
3859         after suggestion from Alfredo
3860
3861 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * lyxtext.h: move the bidi stuff from here...
3864         * text.C: and here
3865         * text2.C: and here
3866         * Bidi.[Ch]: ... to here
3867
3868 2003-10-23  André Pönitz  <poenitz@gmx.net>
3869
3870         * lyxtext.h:
3871         * text.C (isLastRow, isFirstRow): new functions
3872
3873         * paragraph.h: new width cache member
3874
3875         * rowpainter.C: replace RowList::iterator with Row & where possible
3876
3877         * lyxfunc.C: replace several view()->text with a single call
3878
3879         * toc.C: fix 'unused' warning
3880
3881 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3882
3883         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3884         when woring with stream::pos_type
3885         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3886
3887 2003-10-22  André Pönitz  <poenitz@gmx.net>
3888
3889         * lyxtext.h:
3890         * text.C: use Row & instead of RowList::iterator
3891
3892         * lyxrow.h: rename end() to endpos()
3893
3894         * rowpainter.C:
3895         * text.C:
3896         * text2.C: adjust
3897
3898 2003-10-22  Angus Leeming  <leeming@lyx.org>
3899
3900         * buffer.[Ch] (fully_loaded): new member function, returning true
3901         only when the file has been loaded fully.
3902         Used to prevent the premature generation of previews and by the
3903         citation inset to prevent computation of the natbib-style label.
3904
3905         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3906         templates are all set up.
3907
3908         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3909
3910 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3911
3912         * text.C: fixed an "oops" in the "is a bit silly"
3913         bug fix
3914
3915 2003-10-21  André Pönitz  <poenitz@gmx.net>
3916
3917         * FuncStatus.[Ch]: small stuff, whitespace
3918
3919         * lyxfont.[Ch]: operator<<() for debug reasons
3920
3921         * lyxfunc.C:
3922         * lyxrow_funcs.C:
3923         * lyxtext.h: whitespace, spelling
3924
3925         * paragraph.C: naming of variables
3926
3927         * text.C:
3928         * text2.C: small stuff
3929
3930
3931 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3932
3933         * text.C: (1) finish off the inset display() work;
3934         (2) fix the "is a bit silly" bug (accessing char
3935         past end of par).
3936
3937 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3938
3939         * text.C: re-introduce display() for insets, fixing the
3940         various bugs (stretch of line above, math inset
3941         positioning, ...)
3942
3943 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3944
3945         * text.C (rightMargin): remove spurious semicolon
3946
3947         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3948         1415)
3949
3950 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3951
3952         * text3.C: fix one crash due to wrong cursor def
3953
3954 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3955
3956         * vc-backend.C (scanMaster): make the regex static
3957
3958         * LaTeX.C (scanAuxFile): make the regexs static
3959
3960         * text3.C (doInsertInset, dispatch, dispatch):
3961         * text2.C (cursorUp, cursorDown):
3962         * text.C (selectNextWordToSpellcheck):
3963         * BufferView_pimpl.C (dispatch):
3964         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3965
3966 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3967
3968         * lyxsocket.C: include <cerrno>
3969
3970 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * lyxfunc.C (dispatch): remove textcache stuff
3973
3974         * bufferlist.C (release): remove textcache stuff
3975         (closeAll): ditto
3976
3977         * TextCache.C: delete file
3978         * TextCache.h: delete file
3979
3980         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3981
3982         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3983         delete of the bv_->text.
3984         (resizeCurrentBuffer): remove texcache stuff
3985         (workAreaResize): ditto
3986
3987 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3988
3989         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3990         action.
3991
3992 2003-10-16  André Pönitz  <poenitz@gmx.net>
3993
3994         * lyxrow.[Ch]:
3995         * paragraph.h:
3996         * rowpainter.C:
3997         * text.C:
3998         * text2.C:
3999         * text3.C: speed up by storing y positions per paragraph plus per-row
4000         offset instead of having a 'full' y position in the row.
4001
4002 2003-10-15  André Pönitz  <poenitz@gmx.net>
4003
4004         * iterators.[Ch]:
4005         * iterators.[Ch]:
4006         * undo.[Ch]: make undo aware of inner insets
4007
4008 2003-10-14  Angus Leeming  <leeming@lyx.org>
4009
4010         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4011         static member functions LyX::ref() and LyX::cref.
4012         (lastfiles): new accessor functions for the new lastfiles_ member var.
4013         (addLyXView, views_): add a new LyXView to the list of views_.
4014         (updateInset): loop over all LyXViews to call their own updateInset
4015         member function, returning a pointer to the Buffer owning the inset.
4016
4017         * BufferView_pimpl.C (loadLyXFile):
4018         * MenuBackend.C (expandLastfiles):
4019         * bufferlist.C (MenuWrite, QuitLyX):
4020         lastfiles is no longer a global variable.
4021         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4022
4023         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4024         static function. Access through LyX::cref().emergencyCleanup().
4025
4026 2003-10-14  André Pönitz  <poenitz@gmx.net>
4027
4028         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4029
4030         * undo.[Ch]: restoring part of 'undo in insets'
4031
4032         * Makefile.am:
4033         * undo_funcs.[Ch]: merge with undo.[Ch]
4034
4035         * tabular.C: small cleansing stuff
4036
4037 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4038
4039         * paragraph_funcs.C (readParToken): report unknown insets as error
4040         boxes. Use the outer paragraph as location (also for unknown
4041         tokens).
4042
4043         * factory.C (readInset): do not abort on reading an unknown inset.
4044         Eat it and return 0.
4045
4046 2003-10-13  Angus Leeming  <leeming@lyx.org>
4047
4048         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4049
4050         * lyxrc.C: displayTranslator is now a function,
4051         declared in GraphicsTypes.h.
4052
4053 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4054
4055         * format.C: new placeholder $$a to pass the socket address.
4056
4057         * bufferlist.[Ch]: new function getBufferFromTmp.
4058
4059         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4060           files in the temporary dir.
4061
4062 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4063
4064         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4065
4066         * Makefile.am: add lyxsocket.[Ch].
4067
4068         * lyx_main.C (error_handler): handle SIGPIPE.
4069
4070 2003-10-13  André Pönitz  <poenitz@gmx.net>
4071
4072         * BufferView_pimpl.C:
4073         * lyxtext.h:
4074         * text.C:
4075         * text2.C:
4076         * text3.C:
4077         * undo_funcs.[Ch]: use paroffset_type instead of
4078           ParagraphList::iterators to prevent multiple conversion
4079           (and get a more robust interface)
4080
4081 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4084         * lyxtext.h: ditto
4085         * text3.C (dispatch): ditto
4086
4087 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4088
4089         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4090         move the onlyfile, use onlyfile instead of foundfile in a couple
4091         of places.
4092
4093         * DepTable.C (update): flush the error stream a bit more
4094
4095 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * lyxserver.C (callback): adjust
4098
4099         * lyxfunc.C (getStatus): add a missing brace in commented code
4100         (ensureBufferClean): reindent
4101         (dispatch): delete version taking a string
4102
4103 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * LaTeX.C (deplog): move found file handlig from here...
4106         (handleFoundFile): .. to new function here.
4107         (deplog): make sure to discover several files mentioned on the
4108         same log line.
4109
4110 2003-10-10  André Pönitz  <poenitz@gmx.net>
4111
4112         * lyxfunc.C:
4113         * lyxtext.h:
4114         * tabular.C:
4115         * text.C:
4116         * text2.C:
4117         * text3.C: fix some of the tabular crashes
4118
4119 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4120
4121         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4122
4123         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4124
4125 2003-10-09  André Pönitz  <poenitz@gmx.net>
4126
4127         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4128
4129         * BufferView.C:
4130         * BufferView_pimpl.C:
4131         * bufferview_funcs.C:
4132         * lyx_cb.C:
4133         * lyxcursor.C:
4134         * lyxfind.C:
4135         * lyxfunc.C:
4136         * lyxtext.h:
4137         * text.C:
4138         * text2.C:
4139         * text3.C:
4140         * text_funcs.[Ch]:
4141         * textcursor.[Ch]:
4142         * undo_funcs.C: adjust
4143
4144 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * text2.C (incrementItemDepth): new function, use a backtracking
4147         algorithm to discover the correct item depth.
4148         (resetEnumCounterIfNeeded): new function, use a backtracking
4149         algorithm to discover if counter reset is needed.
4150         (setCounter): use them. Simplify a bit. Add different labels for
4151         different item depths for itemize.
4152
4153         * paragraph.C (Paragraph): remove initialization of enumdepth
4154         (operator=): ditto
4155
4156         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4157         enumerate and itemize. Change the type of itemdepth to signed char.
4158
4159 2003-10-08  André Pönitz  <poenitz@gmx.net>
4160
4161         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4162           thing assignable.
4163         * text.C:
4164         * text2.C: adjust
4165
4166         * tabular.[Ch]: fix crash after 'row-insert'
4167
4168 2003-10-08  Angus Leeming  <leeming@lyx.org>
4169
4170         Fix doxygen warnings.
4171
4172         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4173         Remove CutAndPaste:: prefix from header file declaration.
4174
4175         * LColor.h (fill): remove LColor:: prefix from declaration.
4176
4177         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4178         use lyx::depth_type rather than Paragraph::depth_type so that
4179         header file and .C file match.
4180
4181         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4182
4183         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4184         * aspell.C: \file aspell_local.C -> \file aspell.C
4185         * gettext.C: \file gettext.C -> \file src/gettext.C
4186         * gettext.h: \file gettext.h -> \file src/gettext.h
4187         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4188         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4189         * text.C: \file text.C -> \file src/text.C
4190
4191         * toc.C: move comment so that doxygen is not confused.
4192
4193 2003-10-07  Angus Leeming  <leeming@lyx.org>
4194
4195         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4196
4197 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4198
4199         * aspell.C:
4200         * aspell_local.h: add forgotten std::string's.
4201
4202 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4203
4204         * LaTeXFeatures.C:
4205         * LyXAction.C:
4206         * factory.C:
4207         * lfuns.h:
4208         * lyxfunc.C:
4209         * text3.C: The Box patch. Fancybox support, minipage, parbox
4210
4211 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4212
4213         * CutAndPaste.h:
4214         * DepTable.h:
4215         * FloatList.h:
4216         * LaTeXFeatures.h:
4217         * ParagraphParameters.h:
4218         * TextCache.h:
4219         * Thesaurus.h:
4220         * bufferlist.h:
4221         * exporter.h:
4222         * importer.h:
4223         * lastfiles.h:
4224         * lyxfind.h:
4225         * lyxfont.h:
4226         * lyxlex.h:
4227         * lyxtextclasslist.h:
4228         * messages.h:
4229         * paragraph.h:
4230         * paragraph_pimpl.C:
4231         * textcursor.h: add <string> and other small fixes to make Lars'
4232         std::string patch compile with STLport.
4233
4234 2003-10-06  Angus Leeming  <leeming@lyx.org>
4235
4236         * LColor.h: Add missing #include <string>.
4237
4238 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * All most all file in all subdirs: Make <string> be the prefered
4241         way of getting to std::string, add using declarations.
4242
4243 2003-10-06  André Pönitz  <poenitz@gmx.net>
4244
4245         * metricsinfo.C: initialize LyXFont before changing attribute.
4246         (fixes the 'math in \emph is upright' bug)
4247
4248 2003-10-06  André Pönitz  <poenitz@gmx.net>
4249
4250         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4251
4252 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4253
4254         * graph.C:
4255         * paragraph_pimpl.C: Small fixes to build using STLport
4256
4257 2003-10-02  André Pönitz  <poenitz@gmx.net>
4258
4259         * lyxfunc.C:
4260         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4261
4262 2003-10-01  André Pönitz  <poenitz@gmx.net>
4263
4264         * factory.C: assert early
4265
4266 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * lyx_main.C: remove the global debug object
4269
4270         * debug.h: adjust for new debugstream
4271
4272         * debug.C: adjust for new debugstream and keep the global debug
4273         object here.
4274
4275 2003-09-22  Angus Leeming  <leeming@lyx.org>
4276
4277         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4278         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4279         an incomplete class LyXFont.
4280
4281 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4282
4283         * factory.C: bug fix in branches
4284
4285 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * lyxfunc.C (processKeySym): adjust
4288         (dispatch): adjust
4289         (dispatch): change arg name from ev to func, adjust
4290         (sendDispatchMessage): ditto
4291
4292         * lyx_main.C (defaultKeyBindings): adjust keybindings
4293         (deadKeyBindings): ditto
4294
4295         * kbsequence.C (addkey): return a FuncRequest
4296
4297         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4298
4299         * kbmap.C (bind): take a FuncRequest as arg, adjust
4300         (read): adjust
4301         (lookup): adjust
4302         (defkey): change to take a FuncRequest as arg, adjust
4303         (findbinding): take a FuncRequest as arg, adjust.
4304
4305         * funcrequest.h (operator=): added
4306
4307         * funcrequest.C (FuncRequest): default kb_action changed from
4308         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4309
4310         * buffer.C (dispatch): simplify
4311         (dispatch): adjust to take a FuncRequest as arg, adjust
4312
4313         * boost.C (assertion_failed): change assertion message slightly
4314
4315         * ToolbarBackend.C (read): simplify
4316
4317         * MenuBackend.C (binding): adjust call to findbinding, add a
4318         message if no binding is found.
4319         (read): simplify
4320         (expandToc): correct by adding a empty FuncRequest
4321
4322         * LyXAction.C: include <boost/assert.hpp>
4323         (isPseudoAction): delete function
4324         (LookupFunc): change name to...
4325         (lookupFunc): this. change return type to FuncRequest.
4326         (getActionName): take kb_action as arg, simplify
4327         (funcHasFlag): add an assert, simplify.
4328
4329 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * toc.C (action): return a FuncRequest, simplify
4332
4333         * lyxfunc.C (processKeySym): adjust
4334         (getStatus): delete version that takes an int.
4335         (getStatus): adjust
4336         (dispatch): delete version that takes action as int
4337         (dispatch): adjust
4338         (sendDispatchMessage): simplify and adjust
4339
4340         * funcrequest.C (getArg): take unsigned int as arg
4341
4342         * ToolbarBackend.C (read): adjust
4343         (add): delete version that takes func as a string.
4344         (getIton): take a FuncRequest as arg
4345
4346         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4347         action.
4348
4349         * MenuBackend.C (MenuItem): add a new construct that only takes a
4350         Kind, simplify the constructor use for submenus.
4351         (add): adjust
4352         (expandLastfiles): adjust
4353         (expandDocuments): adjust
4354         (expandFormats): adjust
4355         (expandFloatListInsert): adjust
4356         (expandFloatInsert): adjust
4357         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4358
4359         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4360         Remove class variables lyx_pseudo_map and lyx_arg_map
4361
4362         * LyXAction.C (searchActionArg): delete function
4363         (getPseudoAction): delete function
4364         (retrieveActionArg): delete function
4365         (LookupFunc): make it return kb_action, simplify.
4366         (getActionName): simplify
4367
4368         * factory.C (createInset): fix new bug
4369
4370 2003-09-19  Angus Leeming  <leeming@lyx.org>
4371
4372         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4373         masterFilename_ parameter in the include inset.
4374
4375         * factory.C (createInset): changes due to the changes to InsetInclude.
4376
4377 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4378
4379         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4380
4381 2003-09-18  Angus Leeming  <leeming@lyx.org>
4382
4383         * buffer.C:
4384         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4385         Inset::fillWithBibKeys.
4386         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4387
4388 2003-09-18  Angus Leeming  <leeming@lyx.org>
4389
4390         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4391         variables.
4392         (ctor): pass and store a 'Buffer const &'
4393         (buffer): new member function.
4394
4395         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4396         '*this' to the LaTeXFeatures ctor.
4397
4398 2003-09-18  Angus Leeming  <leeming@lyx.org>
4399
4400         * LColor.h:
4401         * lyxfont.C:
4402         * lyxfont.h:
4403         * lyxtext.h:
4404         * text.C: rename EnumLColor as LColor_color.
4405
4406 2003-09-18  Angus Leeming  <leeming@lyx.org>
4407
4408         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4409         remove #include "insets/insetbase.h" from cursor.h.
4410
4411 2003-09-18  Angus Leeming  <leeming@lyx.org>
4412
4413         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4414         InsetOld_code to remove #include "inset.h".
4415
4416         * iterators.C: add #include "insets/inset.h"
4417
4418 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4419
4420         * BufferView.C: remove more locking stuff that apparently doesn't
4421         do anything sensible.
4422
4423 2003-09-16  André Pönitz  <poenitz@gmx.net>
4424
4425         * paragraph.[Ch]:
4426         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4427           performance boost.
4428
4429 2003-09-16  Angus Leeming  <leeming@lyx.org>
4430
4431         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4432
4433         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4434         arg/return type.
4435
4436         * paragraph.h: remove #include "lyxfont.h". Forward declare
4437         LyXFont_size.
4438
4439 2003-09-16  Angus Leeming  <leeming@lyx.org>
4440
4441         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4442         of support/textutils.h.
4443         (isWord): move the contents of support/textutils.h's IsWordChar here.
4444
4445         * buffer.C:
4446         * lyxfind.C:
4447         * rowpainter.C:
4448         * text.C:
4449         * text2.C: add #include "paragraph.h".
4450
4451         * rowpainter.C:
4452         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4453
4454 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * main.C:
4457         * lyx_main.C:
4458         * lyx_cb.C:
4459         * buffer.C:
4460         * LaTeX.C: use namespace alias for lyx::support::os
4461
4462 2003-09-16  Angus Leeming  <leeming@lyx.org>
4463
4464         * bufferparams.C:
4465         * bufferview_funcs.C:
4466         * factory.C:
4467         * lyxfunc.C:
4468         * paragraph_pimpl.C:
4469         * rowpainter.C:
4470         * text.C: add #include "LColor.h".
4471
4472 2003-09-16  Angus Leeming  <leeming@lyx.org>
4473
4474         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4475         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4476         return LyXFont &.
4477         Store the FontBits::color variable as an int rather than as an
4478         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4479         file.
4480
4481         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4482         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4483         string calls together.
4484
4485         * lyxrc.C: add #include "LColor.h".
4486
4487 2003-09-15  Angus Leeming  <leeming@lyx.org>
4488
4489         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4490         a cow_ptr.
4491
4492 2003-09-15  Angus Leeming  <leeming@lyx.org>
4493
4494         * LColor.h: add an EnumLColor wrapper for LColor::color.
4495
4496         * lyxfont.[Ch] (color, setColor, realColor):
4497         * lyxtext.h, text.C (backgroundColor):
4498         pass EnumLColor args to/from the functions, rather than LColor::color
4499         ones.
4500
4501         * lyxfont.h:
4502         * lyxtext.h: forward declare EnumLColor.
4503
4504         * lyx_main.C: add #include "LColor.h".
4505
4506 2003-09-15  Angus Leeming  <leeming@lyx.org>
4507
4508         * .cvsignore: add lyx-gtk.
4509
4510 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * Chktex.C
4513         * LaTeX.C
4514         * LaTeXFeatures.C
4515         * ParagraphParameters.C
4516         * Spacing.C
4517         * buffer.C
4518         * bufferparams.C
4519         * bufferview_funcs.C
4520         * chset.C
4521         * counters.C
4522         * funcrequest.C
4523         * lyxfont.C
4524         * lyxgluelength.C
4525         * lyxlength.C
4526         * paragraph.C
4527         * paragraph_funcs.C
4528         * text3.C
4529         * vc-backend.C: remove usage of STRCONV
4530
4531 2003-09-15  Angus Leeming  <leeming@lyx.org>
4532
4533         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4534         explicitly define the color passed to the painter.
4535
4536 2003-09-15  Angus Leeming  <leeming@lyx.org>
4537
4538         * bufferparams.C (BufferParams): reorder member initializers to avoid
4539         compiler warning.
4540
4541 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4544         * text.C (updateRowPositions): remove an unusual nop
4545
4546 2003-09-12  André Pönitz  <poenitz@gmx.net>
4547
4548         * BufferView_pimpl.C:
4549         * Bullet.C:
4550         * layout.h:
4551         * lyxfunc.C:
4552         * lyxlayout.[Ch]:
4553         * lyxtextclass.C:
4554         * rowpainter.C:
4555         * text.C:
4556         * text2.C:
4557         * Counters.[Ch]: finish the 'automatic counters' job
4558
4559 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4560
4561         * aspell.C: include <boost/assert.cpp> (compile fix)
4562
4563 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4564
4565         * boost.C (assertion_failed): use lyx::support::abort instead of
4566         assert.
4567
4568 2003-09-10  Angus Leeming  <leeming@lyx.org>
4569
4570         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4571         with their _fwd progeny.
4572
4573 2003-09-09  Angus Leeming  <leeming@lyx.org>
4574
4575         134 files throughtout the source tree: replace 'using namespace abc;'
4576         directives with the appropriate 'using abc::xyz;' declarations.
4577
4578 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4579
4580         * boost.C (emergencyCleanup): moved here from LAssert.c
4581         (assertion_failed): new function, called by BOOST_ASSERT
4582
4583         * several files: change Assert to BOOST_ASSERT
4584
4585 2003-09-09  Angus Leeming  <leeming@lyx.org>
4586
4587         * buffer.[Ch]: Add an Impl class and move Buffer's member
4588         variables into it. As a result move several header files out of
4589         buffer.h.
4590
4591         Add header files to lots of .C files all over the tree as a result.
4592
4593 2003-09-09  Angus Leeming  <leeming@lyx.org>
4594
4595         * buffer.[Ch]: make Buffer's member variables private. Add
4596         accessor functions.
4597
4598         Lots of changes all over the tree as a result.
4599
4600 2003-09-08  Angus Leeming  <leeming@lyx.org>
4601
4602         * graph.C: #include <config.h>.
4603
4604 2003-09-08  Angus Leeming  <leeming@lyx.org>
4605
4606         * BranchList.C:
4607         * BufferView.C:
4608         * BufferView_pimpl.C:
4609         * CutAndPaste.C:
4610         * DepTable.C:
4611         * LaTeX.C:
4612         * LaTeXFeatures.C:
4613         * LyXAction.C:
4614         * MenuBackend.C:
4615         * TextCache.C:
4616         * aspell.C:
4617         * buffer.C:
4618         * bufferlist.C:
4619         * changes.C:
4620         * chset.C:
4621         * converter.C:
4622         * counters.C:
4623         * debug.C:
4624         * graph.C:
4625         * ispell.C:
4626         * lyx_cb.C:
4627         * lyxfind.C:
4628         * lyxfunc.C:
4629         * lyxlex_pimpl.C:
4630         * lyxrc.C:
4631         * lyxrow.C:
4632         * paragraph.C:
4633         * rowpainter.C:
4634         * texrow.C:
4635         * text.C:
4636         * text2.C:
4637         * toc.C: remove redundant using directives.
4638
4639 2003-09-07  Angus Leeming  <leeming@lyx.org>
4640
4641         * LaTeXFeatures.h: remove #include "support/types.h".
4642         * ToolbarBackend.h: remove #include <algorithm>.
4643         * changes.h: remove #include <ctime>.
4644         * debug.h: remove #include <iosfwd>.
4645         * graph.h: remove #include "support/std_string.h".
4646         * lyx_main.h: remove #include <csignal>.
4647         * lyxlex_pimpl.h: remove #include <fstream>.
4648         * sgml.h: remove #include <algorithm>, <utility>.
4649         * toc.h: remove #include "support/std_ostream.h".
4650         Add #include <iosfwd>.
4651
4652 2003-09-07  Angus Leeming  <leeming@lyx.org>
4653
4654         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4655
4656         * converter.h: forward declare LatexRunParams.
4657         * encoding.h: remove #include "lyxrc.h".
4658         * lyxtext.h: remove #include "LColor.h".
4659         * lyxtextclass.h: remove #include "support/types.h".
4660         * trans.h: remove #include "tex-accent.h".
4661         * trans_mgr.h: remove #include "tex-accent.h".
4662         * insets/inset.h: remove #include "support/types.h", <vector>.
4663         * insets/insetcollapsable.h: remove #include "LColor.h".
4664         * insets/insetinclude.h: remove #include "dimension.h".
4665         * insets/insetlatexaccent.h: remove #include "dimension.h".
4666         * insets/insetoptarg.h:: remove #include "insettext.h".
4667         * insets/insettext.h: remove #include "dimension.h",
4668         <boost/shared_ptr.hpp>
4669
4670         * insets/renderers.h: add #include "dimension.h".
4671         * insets/updatableinset.h: add #include "support/types.h".
4672
4673         * many .C files: Associated changes.
4674
4675 2003-09-06  Angus Leeming  <leeming@lyx.org>
4676
4677         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4678         one, inside testInvariant.
4679
4680         * PrinterParams.C: new file.
4681         * PrinterParams.[Ch]: move the function bodies out of line.
4682
4683 2003-09-06  Angus Leeming  <leeming@lyx.org>
4684
4685         * ParagraphParameters.h: forward declare ParameterStruct rather than
4686         including its header file.
4687         (depth): moved out-of-line.
4688
4689 2003-09-06  Angus Leeming  <leeming@lyx.org>
4690
4691         * BufferView_pimpl.h:
4692         * kbmap.h:
4693         * kbsequence.h:
4694         * lyxfunc.h: forward declare LyXKeySym rather than
4695         #include "frontends/LyXKeySym.h".
4696
4697         * BufferView_pimpl.C:
4698         * kbmap.C:
4699         * kbsequence.C:
4700         * lyxfunc.C: associated changes.
4701
4702 2003-09-06  Angus Leeming  <leeming@lyx.org>
4703
4704         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4705         As a result, can remove the #include "insets/inset.h" from BufferView.h
4706
4707 2003-09-06  Angus Leeming  <leeming@lyx.org>
4708
4709         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4710         As a result, can remove the #include "insets/inset.h" from BufferView.h
4711
4712 2003-09-06  Angus Leeming  <leeming@lyx.org>
4713
4714         * buffer_funcs.C:
4715         * buffer.h:
4716         * bufferlist.C:
4717         * BufferView.C:
4718         * bufferview_funcs.C:
4719         * BufferView_pimpl.C:
4720         * CutAndPaste.C:
4721         * lyx_cb.C:
4722         * lyxfunc.C:
4723         * paragraph.h:
4724         * ParagraphParameters.C:
4725         * tabular.C:
4726         * text3.C:
4727         * toc.C:
4728         * undo_funcs.C:
4729         * frontends/controllers/ControlDocument.C:
4730         * insets/insetcaption.C: rearrange the #includes into some sort of
4731         coherent order.
4732
4733         * buffer.h: remove #includes ErrorList.h, undo.h
4734
4735 2003-09-06  Angus Leeming  <leeming@lyx.org>
4736
4737         * support/types.h: add a 'depth_type' typedef, used to store the
4738         nesting depth of a paragraph.
4739
4740         * paragraph.h:
4741         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4742         defining explicitly.
4743
4744         * buffer.h:
4745         * paragraph_funcs.h:
4746         * ParagraphParameters.h:
4747         * sgml.h: use lyx::depth_type rather than Paragraph or
4748         ParameterStruct's depth_type.
4749
4750         * buffer.h
4751         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4752
4753         * BufferView.C:
4754         * BufferView_pimpl.C:
4755         * CutAndPaste.C:
4756         * ParagraphParameters.C:
4757         * buffer_funcs.C:
4758         * bufferlist.C:
4759         * bufferview_funcs.C:
4760         * lyx_cb.C:
4761         * lyxfunc.C:
4762         * tabular.C:
4763         * text3.C:
4764         * toc.C:
4765         * undo_funcs.C:
4766         * frontends/LyXView.C:
4767         * frontends/controllers/ControlDocument.C:
4768         * frontends/controllers/ControlErrorList.C:
4769         * insets/insetbibitem.C:
4770         * insets/insetbranch.C:
4771         * insets/insetcaption.C:
4772         * insets/insetcollapsable.C:
4773         * insets/insetenv.C:
4774         * insets/insetert.C:
4775         * insets/insetfloat.C:
4776         * insets/insetfoot.C:
4777         * insets/insetfootlike.C:
4778         * insets/insetnewline.C:
4779         * insets/insetquotes.C:
4780         * insets/insettabular.C:
4781         * insets/insettext.C:
4782         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4783
4784         * frontends/controllers/ControlChanges.C: #include "changes.h".
4785
4786 2003-09-06  Angus Leeming  <leeming@lyx.org>
4787
4788         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4789         than #including paragraph.h.
4790
4791         * ParagraphList.h:
4792         * RowList.h: deleted. Superfluous.
4793
4794         * CutAndPaste.h:
4795         * iterators.h:
4796         * lyxcursor.h:
4797         * lyxtext.h:
4798         * text_funcs.h:
4799         * undo.h:
4800         * undo_funcs.h:
4801         * insets/inset.h:
4802         * insets/insettext.h: use ParagraphList_fwd.h rather than
4803         ParagraphList.h.
4804
4805         * paragraph.h: don't forward declare ParagraphList.
4806
4807         * buffer.h:
4808         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4809         rather than ParagraphList.h. paragraph.h is still needed for the
4810         Paragraph::depth_type parameters.
4811
4812         * textcursor.h: enable it to compile stand-alone in light of the
4813         above changes.
4814
4815         * bufferview_funcs.C:
4816         * iterators.C:
4817         * lyxfunc.C:
4818         * lyxrow_funcs.C:
4819         * paragraph.C:
4820         * rowpainter.C:
4821         * text.C:
4822         * text2.C:
4823         * text3.C:
4824         * text_funcs.C:
4825         * textcursor.C:
4826         * undo.C:
4827         * frontends/controllers/ControlParagraph.C:
4828         * frontends/controllers/ControlTabular.C:
4829         * insets/insetmarginal.C:
4830         * insets/insetminipage.C:
4831         * insets/insetnote.C:
4832         * insets/insetoptarg.C: add header files needed to compile again.
4833
4834 2003-09-06  Angus Leeming  <leeming@lyx.org>
4835
4836         * RowList_fwd.h: new file, forward-declaring Row rather than
4837         #including lyxrow.h.
4838
4839         * lyxrow_funcs.h:
4840         * lyxtext.h:
4841         * paragraph.h:
4842         * insets/insettext.h: use it instead of RowList.h
4843
4844         * bufferview_funcs.C:
4845         * lyxfunc.C:
4846         * lyxrow_funcs.C:
4847         * paragraph.C:
4848         * rowpainter.C:
4849         * text.C:
4850         * text2.C:
4851         * text3.C: #include "RowList.h".
4852
4853 2003-09-05  Angus Leeming  <leeming@lyx.org>
4854
4855         * factory.C (createInset):
4856         * vspace.C (c-tor): replace sscanf call with an istringstream.
4857         * ispell.C: re-add missing HP/UX headers.
4858         * lyxserver.C: re-add missing  os2 headers.
4859
4860 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4861
4862         * BranchList.C:
4863         * graph.C:
4864         * ispell.C:
4865         * lastfiles.C:
4866         * lyx_cb.C:
4867         * lyxserver.C:
4868         * texrow.C:
4869         * text3.C: re-add missing system headers, needed for 2.95.2.
4870
4871 2003-09-05  Angus Leeming  <leeming@lyx.org>
4872
4873         Changes most place everywhere due to the removal of using directives
4874         from support/std_sstream.h.
4875
4876 2003-09-05  Angus Leeming  <leeming@lyx.org>
4877
4878         Replace LString.h with support/std_string.h,
4879         Lsstream.h with support/std_sstream.h,
4880         support/LIstream.h with support/std_istream.h,
4881         support/LOstream.h with support/std_ostream.h.
4882
4883         Changes resulting throughout the tree.
4884
4885 2003-09-05  Angus Leeming  <leeming@lyx.org>
4886
4887         * sgml.h: ensure that the header file can be compiled stand-alone.
4888         * *.C: strip out redundant #includes. (320 in total.)
4889
4890 2003-09-04  Angus Leeming  <leeming@lyx.org>
4891
4892         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4893         here (from getPackages).
4894
4895         * debug.[Ch]: add a new EXTERNAL tag.
4896
4897 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4898
4899         * text2.C (cursorEnd): simplify
4900         (setCursor): adjust
4901         (getColumnNearX): adjust
4902
4903         * text.C (computeBidiTables): adjust
4904         (fill): adjust
4905
4906         * rowpainter.C (paintChars): adjust
4907         (paintSelection): adjust
4908         (paintChangeBar): adjust
4909         (paintText): adjust
4910
4911         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4912         lastPos instead.
4913         (numberOfSeparators): adjust
4914
4915 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4916
4917         * LyXAction.C:
4918         * box.[Ch]:
4919         * lfuns.h:
4920         * lyxfunc.C:
4921         * text3.C: Restricts the mouse click functionality
4922         of insets like bibtex, include, toc and floatlist to the visible
4923         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4924         up the dialogs. Cursor has to be in front of the inset (i.e.
4925         start of row) for this to function.
4926
4927 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4928
4929         * bufferview_funcs.C (currentState): output row information
4930
4931 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4932
4933         * bufferview_funcs.C (currentState): output paragraph position
4934
4935 2003-09-04  Angus Leeming  <leeming@lyx.org>
4936
4937         * FloatList.h: move out #include "Floating.h".
4938         * LaTeX.h: move out #include "DepTable.h".
4939         * LyXAction.h: move out #include "funcrequest.h".
4940         * buffer.h: move out #include "author.h", "iterators.h".
4941         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4942         * lyx_main.h: move out #include "errorlist.h".
4943         * lyxfunc.h: move out #include "FuncStatus.h".
4944         * lyxtext: move out #include "lyxcursor.h".
4945         * paragraph_pimpl.h: move out #include "counters.h".
4946
4947 2003-09-03  Angus Leeming  <leeming@lyx.org>
4948
4949         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4950         preamble_snippets list, enabling us to add snippets to the preamble
4951         only if the snippet was not there already.
4952
4953 2003-09-04  Angus Leeming  <leeming@lyx.org>
4954
4955         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4956
4957 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4960         update
4961
4962 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4963
4964         * BranchList.C: point fix, earlier forgotten
4965
4966 2003-09-02  Angus Leeming  <leeming@lyx.org>
4967
4968         * box.C (contains): renamed from 'contained' after a fantastic
4969         amount of hot air.
4970
4971 2003-09-02  John Levon  <levon@movementarian.org>
4972
4973         * BufferView.C:
4974         * lyxcursor.h:
4975         * lyxcursor.C:
4976         * lyxfunc.C:
4977         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4978
4979 2003-09-02  John Levon  <levon@movementarian.org>
4980
4981         * text2.C: simplification of cursorEnd(), including partial
4982         fix for bug 1376
4983
4984 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * buffer.C (readFile): add a space
4987
4988 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4991
4992 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * buffer.C (readFile): new function, take a filename and a
4995         ParagraphList::iterator
4996         (readFile): adjust
4997         (readFile): adjust, make it private. don't use setStream, make
4998         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4999         always contain the filename.
5000
5001         * BufferView.C (insertLyXFile): simplify and make it work for
5002         gzipped files.
5003
5004 2003-08-30  John Levon  <levon@movementarian.org>
5005
5006         * Makefile.am: fix dist (from Kayvan)
5007
5008 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5009
5010         * most files: change to use const Buffer refs
5011
5012 2003-08-27  André Pönitz  <poenitz@gmx.net>
5013
5014         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5015         on top of ownerPar().
5016
5017 2003-08-27  John Levon  <levon@movementarian.org>
5018
5019         * funcrequest.C: properly initialise POD members
5020
5021 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5022
5023         * lyxtext.h (top_y): move top_y from here
5024         * text.C:
5025         * text2.C:
5026         * text3.C:
5027         * BufferView.[Ch]:
5028         * BufferView_pimpl.[Ch]: to here
5029         * frontends/screen.C:
5030         * insets/insettabular.C:
5031         * insets/insettext.C: adjust
5032         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5033
5034 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * BufferView.[Ch]:
5037         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5038
5039 2003-08-26  André Pönitz  <poenitz@gmx.net>
5040
5041         * paragraph_func.[Ch] (outerPar): new function
5042
5043         * paragraph.C:
5044         * paragraph_funcs.C:
5045         * paragraph_funcs.h:
5046         * paragraph_pimpl.C:
5047         * text2.C: remove Inset::par_owner
5048
5049 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5050
5051         * lyxrow_funcs.C:
5052         * lyxtext.h:
5053         * text.C:
5054         * text2.C: eliminates the needFullRow/display() stuff
5055         altogether, putting the logic in metrics/draw in the insets.
5056
5057 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5058
5059         * text2.C (redoParagraphInternal, redoParagraphs):
5060         * text.C (redoParagraph): add a call to updateRowPositions at the
5061         end of each 'metrics-like' call. Remove all others.
5062         (getRow): remove the 'y-computing' version.
5063         (getRowNearY): do not compute nor return the real y. Solve the
5064         'y < 0' problem and simplify.
5065
5066 2003-08-22  Angus Leeming  <leeming@lyx.org>
5067
5068         * *.[Ch]: clean-up of licence and author blurbs.
5069         Also move config.h out of a few .h files and into a few .C files.
5070
5071 2003-08-22  André Pönitz  <poenitz@gmx.net>
5072
5073         * lyxrow.[Ch]: add x_ and *fill_ members
5074
5075         * lyxtext.h:
5076         * text.C:
5077         * rowpainter.C:
5078         * text2.C: adjust/remove prepareToPrint() calls
5079
5080 2003-08-22  André Pönitz  <poenitz@gmx.net>
5081
5082         * lyxrow.[Ch]: add  end_ member
5083
5084         * lyxrow_funcs.C: use LyXRow::end_
5085
5086         * lyxtext.h (singleWidth): add LyXFont parameter
5087
5088         * rowpainter.C:
5089         * text2.C: adjust LyXText::singleWidth() calls
5090
5091         * text.C (redoParagraph): simplify row breaking logic
5092
5093
5094 2003-08-19  André Pönitz  <poenitz@gmx.net>
5095
5096         * funcrequest.C: initialize button_ member
5097
5098         * text3.C:
5099         * rowpainter.[Ch]: interface consolidation
5100
5101 2003-08-18  André Pönitz  <poenitz@gmx.net>
5102
5103         * BufferView.C:
5104         * BufferView_pimpl.C:
5105         * lyxfind.C:
5106         * paragraph_funcs.C:
5107         * rowpainter.C:
5108         * text3.C: remove LyXScreen::draw() and fitCursor calls
5109
5110         * BranchList.h: remove spurious semicolons
5111
5112         * MenuBackend.C: fix branchlist related crash
5113
5114 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5115
5116         * BranchList.[Ch]:
5117         * InsetList.[Ch]:
5118         * LColor.[Ch]:
5119         * LyXAction.C:
5120         * Makefile.am:
5121         * MenuBackend.[Ch]:
5122         * bufferparams.[Ch]:
5123         * factory.C:
5124         * lfuns.h:
5125         * lyxfunc.C:
5126         * text3.C: implements the 'branch inset'
5127         idea. This allows the output of various versions of a document
5128         from a single source version, selectively outputing or suppressing
5129         output of parts of the text.
5130         This implementation contains a 'branch list editor' in a separate
5131         tab of the document settings dialog. Branches are user definable
5132         and have a "display colour" to distinguish them on-screen.
5133
5134         ColorHandler was somewhat cleaned up.
5135         (1) make possible a dynamically growing LColor list by allowing
5136         the graphic context cache to grow along (vector);
5137         (2) eliminate an IMHO unnecessary step in colour allocation.
5138
5139 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5140
5141         * BufferView_pimpl.C: compile fix
5142
5143 2003-08-15  André Pönitz  <poenitz@gmx.net>
5144
5145         * rowpainter.C: remove extra metrics calls
5146
5147         * lyxtext.h: merge the two constructors into a single one,
5148           pass reference to owner's par list
5149
5150         * BufferView_pimpl.C:
5151         * text.C:
5152         * text2.C: adjust
5153
5154 2003-08-15  André Pönitz  <poenitz@gmx.net>
5155
5156         * lyxrow_funcs.[Ch]:
5157         * lyxtext.h:
5158         * paragraph.h:
5159         * paragraph_funcs.C:
5160         * rowpainter.C:
5161         * text.C:
5162         * text2.C:
5163         * text3.C:
5164         * text_funcs.C: split LyXText::rowlist_ into individual
5165         Paragraph::rows_ chunks
5166
5167         * BufferView.[Ch]:
5168         * BufferView_pimpl.[Ch]:
5169         * lyxfind.C:
5170         * lyxtext.h:
5171         * text3.C: remove toggleSelection()
5172
5173 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5174
5175         * bufferlist.C: beautify two alerts (shorter text of buttons)
5176         * buffer.C: Remove redundant ' ' from message
5177         * tabular.h:
5178         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5179         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5180         rename VALIGN_CENTER to VALIGN_MIDDLE
5181
5182 2003-08-11  André Pönitz  <poenitz@gmx.net>
5183
5184         * lyxtext.h (getPar):
5185         * text.C: new function
5186
5187 2003-08-11  André Pönitz  <poenitz@gmx.net>
5188
5189         * Makefile.am:
5190         * tracer.[Ch]: remove unneeded files
5191
5192         * InsetList.[Ch]: remove resizeInsetsLyXText()
5193
5194         * lyxtext.h:
5195         * text.C:
5196         * text2.C:
5197         * text3.C: merge insertParagraphs() and appendParagraph()
5198         remove breakAgain(), update()
5199
5200         * BufferView_pimpl.[Ch]:
5201         * bufferview_funcs.[Ch]:
5202         * lyxfunc.C:
5203         * paragraph.[Ch]:
5204         * rowpainter.C:
5205         * tabular.C: adjust after text & InsetList changes.
5206
5207 2003-08-08  André Pönitz  <poenitz@gmx.net>
5208
5209         * text.C (insertChar, backspace): replace rowlist fiddling
5210         with rebreak of full par
5211
5212         * lyxtext.h:
5213         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5214         checkParagraph, updateInset): removed
5215
5216 2003-08-07  André Pönitz  <poenitz@gmx.net>
5217
5218         * paragraph.C:
5219         * text3.C: merge some LFUN handlers, remove dead code
5220
5221 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5222
5223         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5224
5225 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5226
5227         * text2.C (DEPM): fix part of bug 1255 and 1256
5228
5229 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5230
5231         * BufferView_pimpl.C (workAreaDispatch): change to use
5232         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5233         that are no mouse related.
5234
5235 2003-08-05  André Pönitz  <poenitz@gmx.net>
5236
5237         * BufferView.[Ch]:
5238         * BufferView_pimpl.[Ch]:
5239         * bufferview_funcs.C:
5240         * text2.C:
5241         * text3.C: rip out "deep update"
5242
5243         * textcursor.[Ch] (last_sel_cursor): remove unused member
5244
5245 2003-08-04  André Pönitz  <poenitz@gmx.net>
5246
5247         * BufferView.[Ch]:
5248         * BufferView_pimpl.[Ch]:
5249         * ParagraphParameters.C:
5250         * bufferview_funcs.C:
5251         * lyx_cb.C:
5252         * lyxfind.C:
5253         * lyxfunc.C:
5254         * text.C:
5255         * text2.C:
5256         * text3.C: replace "complicated" BufferView::update(...) calls with
5257         simpler ones.
5258
5259         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5260
5261 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5262
5263         * Makefile.am (lyx_SOURCES): add paper.h
5264
5265 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5266
5267         * Makefile.am: move things around so that both lyx-qt and
5268         lyx-xforms can be built (according to --with-frontend). Then lyx
5269         is a symbolic link to lyx-[firstfrontend]
5270
5271 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5272
5273         * Always use std::endl with lyxerr
5274
5275 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5276
5277         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5278
5279 2003-08-01  André Pönitz  <poenitz@gmx.net>
5280
5281         * BufferView.[Ch]:
5282         * BufferView_pimpl.[Ch]:
5283         * lyxfunc.C:
5284         * text3.C: merge BufferView::repaint() and BufferView::update()
5285
5286 2003-08-01  José Matos  <jamatos@lyx.org>
5287
5288         * buffer.[Ch]: file_format is no longer a buffer data element.
5289
5290 2003-08-01  André Pönitz  <poenitz@gmx.net>
5291
5292         * BufferView.C:
5293         * lyxtext.h:
5294         * text.C:
5295         * text2.C: make redoParagraph more independent of current cursor
5296
5297         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5298         * text.C:
5299         * text2.C: remove unneeded members
5300
5301 2003-07-30  André Pönitz  <poenitz@gmx.net>
5302
5303         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5304
5305         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5306           create a single function...
5307
5308         * paragraph_funcs.C (moveItem): ... here.
5309
5310         * text.C:
5311           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5312
5313 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5314
5315         * LColor.[Ch]: Add comment and greyedout logical colors.
5316
5317 2003-07-30  André Pönitz  <poenitz@gmx.net>
5318
5319         * tabular.C: don't use Assert too heavily. This crashes where it
5320           shouldn't
5321
5322 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5325         is disabled (bug 1232)
5326
5327 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5328
5329         * factory.C: limited 'arg' scope
5330
5331 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5332
5333         * factory.C: fixed Note submenu issues
5334
5335 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5336
5337         * factory.C: submenu for Note/Comment/Greyedout
5338
5339 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5340
5341         * lyx_main.C (LyX):
5342         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5343
5344 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5345
5346         * LaTeXFeatures.C:
5347         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5348         greyedout. Patch provided by Jürgen Spitzmüller.
5349
5350 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5351
5352         * kbmap.C (read): fix error message when reading bind files
5353
5354 2003-07-29  Angus Leeming  <leeming@lyx.org>
5355
5356         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5357         certainly does not do what it purports to do. I am doing it, and
5358         us, a favour by killing it.
5359
5360 2003-07-28  José Matos  <jamatos@lyx.org>
5361
5362         * buffer.C (readBody, do_writeFile):
5363         * paragraph.C(readParagraph): \end_document replaces \the_end.
5364
5365 2003-07-29  André Pönitz  <poenitz@gmx.net>
5366
5367         * BufferView.[Ch]:
5368         * BufferView_pimpl.[Ch]:
5369         * lyxfunc.C:
5370         * text2.C:
5371         * text3.C:
5372         * textcursor.[Ch]: remove toggleToggle & Co
5373
5374 2003-07-28  José Matos  <jamatos@fep.up.pt>
5375
5376         * buffer.C (readParagraph):
5377         * params_func (readParToken, readParagraph):
5378         * paragraph.C (write): \layout -> \begin_layout.
5379
5380 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * lyxlex_pimpl.C (setFile): clean up slightly.
5383
5384         * bufferparams.h: add compressed var
5385
5386         * buffer_funcs.C (readFile): adjust for LyXLex change
5387         (newFile): ditto + simplify
5388
5389         * buffer.C (writeFile): handle writing of compressed files
5390
5391         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5392         Check if the file is compressed and set a bufferparm if so.
5393
5394         * Makefile.am (lyx_LDADD): remove explicit -lz
5395
5396 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5397
5398         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5399         makeDocBookFile): put the real LyX version in the first line of
5400         the file
5401
5402         * version.h:
5403         * version.C.in: remove lyx_docversion
5404
5405         * tabular.C (write_attribute): add a template-based version to
5406         write enums properly
5407
5408 2003-07-28  André Pönitz  <poenitz@gmx.net>
5409
5410         * lyxtext.h:
5411         * text.C:
5412         * text2.C:
5413         * text3.C: use doubles again for x-coordinates. They are needed.
5414
5415 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5416
5417         * messages.C (getLocaleDir): use lyx_localedir()
5418
5419         * lyxlex_pimpl.C (setFile): compress stuff
5420
5421         * buffer.C (writeFile): add some compression stuff
5422         (do_writeFile): new func, dont call expliti close... will this
5423         breake anything?
5424
5425         * Makefile.am (lyx_LDADD): add -lz
5426
5427 2003-07-28  José Matos  <jamatos@fep.up.pt>
5428
5429         * buffer.C: increment file format.
5430         * paragraph_funcs (readParagraph, readParToken):
5431         * paragraph.C (readParagraph): add \end_layout.
5432
5433 2003-07-27  Angus Leeming  <leeming@lyx.org>
5434
5435         * Makefile.am: remove special casing for configure-time setting of
5436         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5437
5438         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5439         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5440
5441 2003-07-26  André Pönitz  <poenitz@gmx.net>
5442
5443         * paragraph_func.[Ch]:
5444         * paragraph.C (realizeFont): inline it whereever it is used
5445
5446         * rowpainter.C:
5447         * text.C:
5448         * text2.C:
5449         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5450
5451
5452 2003-07-26  André Pönitz  <poenitz@gmx.net>
5453
5454         *       lyxtext.h:
5455         * text.C:
5456         * text2.C: get rid of LyXText::need_break_row
5457
5458 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * toc.[Ch]: put namespace toc inside namespace lyx
5461
5462         * MenuBackend.C (expandToc2): adjust for lyx::toc
5463         (expandToc): ditto
5464
5465         * lyxfunc.C (dispatch): adjust for lyx::find
5466
5467         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5468         lyx::find instead. Reorganize a bit.
5469         (LyXReplace): rename to replace
5470         (LyXFind): rename to find
5471
5472         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5473         (dispatch): ditto
5474
5475 2003-07-26  André Pönitz  <poenitz@gmx.net>
5476
5477         * text.C (setHeightOfRow): restrict scope of temporary variable
5478
5479         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5480           code (never has been used?)
5481
5482 2003-07-27  Asger Alstrup  <alstrup@local>
5483
5484         * text.C (fill): Optimise algorithm to exploit that we can reuse
5485         the LyXFont for many characters.
5486         (setHeightOfRow): Same thing.
5487         (rowBreakPoint): Same thing.
5488
5489 2003-07-26  Asger Alstrup  <alstrup@local>
5490
5491         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5492
5493         * text.C (singleWidth): Spurious font copying in hot-spot
5494         singleWidth avoided. Reorder tests for arabic for efficiency.
5495
5496         * text.C (fill): handle empty paragraphs better.
5497
5498 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5499
5500         * ispell.C:
5501         * encoding.h: add includes
5502
5503         * lyxrc.C: remove reading of bind files
5504
5505         * lyx_main.C (init): setup bindings and menus only if we have a
5506         gui.
5507
5508         * kbmap.C (read): new method. Do the actual reading of bind
5509         files.
5510
5511         * converter.C (dvipdfm_options):
5512         * bufferparams.C:
5513         * lyxrc.C (read):
5514         (output): adapt PAPER_* enums.
5515
5516         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5517
5518         * bufferparams.h: remove paper-related enums from there
5519
5520         * paper.h: New file. A trivial header file to hold paper-related
5521         enums. It should later expand to contain many paper-related
5522         horrors access.
5523
5524         * lyxrc.C: declare extern displayTranslator
5525
5526 2003-07-27  José Matos  <jamatos@fep.up.pt>
5527
5528         * tabular.[Ch] (linuxdoc): add support for tables and figures
5529         (linuxdoc).
5530
5531 2003-07-27  José Matos  <jamatos@fep.up.pt>
5532
5533         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5534         consistency in both functions.
5535         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5536
5537 2003-07-26  Asger Alstrup  <alstrup@local>
5538
5539         * rowpainter.C (paintRows): Change algorithm to work directly on
5540         the insets rather than asking every character in the document
5541         whether its an inset.
5542
5543 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5544
5545         * buffer.C (openFileWrite): factorize some code
5546
5547 2003-07-26  Angus Leeming  <leeming@lyx.org>
5548
5549         * lyx_cb.C:
5550         * lyx_main.[Ch]: replace occurances of system_tempdir with
5551         os::getTmpDir().
5552
5553 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * rename Inset to InsetOld
5556
5557 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5558
5559         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5560         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5561         which I think is a bit clearer. EDIT is gone, since it was
5562         premature optimisation, and broken for mathed anyway.
5563         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5564         with cursor positioning in insets as well (math insets still do not
5565         work, but that's a different story anyway.) It mysteriously
5566         crashes sometimes with undo in the first paragraph, but I'm fairly
5567         confident that this is a compiler bug.
5568
5569 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570
5571         * paragraph.C (Paragraph): adjust for new clone return type
5572         (operator==): ditto
5573         (copyIntoMinibuffer): ditto
5574
5575 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5576
5577         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5578         by not having a special case, and always doing a full rebreak of
5579         the document after undo.
5580
5581 2003-07-23  Angus Leeming  <leeming@lyx.org>
5582
5583         * factory.C (createInset): InsetExternal::setParams now takes a
5584         Buffer const * arg.
5585
5586 2003-07-23  Angus Leeming  <leeming@lyx.org>
5587
5588         * factory.C (createInset): changed interface to the external and
5589         graphics mailers' string2params functions.
5590
5591 2003-07-23  Angus Leeming  <leeming@lyx.org>
5592
5593         * factory.C (createInset): pass a
5594         Buffer const * parameter to InsetExternalMailer's string2params.
5595
5596 2003-07-22  John Levon  <levon@movementarian.org>
5597
5598         * Thesaurus.h: include the right aiksaurus header
5599
5600 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5601
5602         * MenuBackend.C (expand): check menu shortcuts unconditionally
5603
5604 2003-07-21  Angus Leeming  <leeming@lyx.org>
5605
5606         * factory.C (createInset): pass a
5607         buffer_path parameter to InsetGraphicsMailer's string2params.
5608
5609 2003-07-21  Angus Leeming  <leeming@lyx.org>
5610
5611         * BufferView_pimpl.C (buffer):
5612         * buffer.C (d-tor):
5613         * lyx_main.C (LyX):
5614         * lyxfunc.C (dispatch):
5615         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5616         rather than the grfx shortcut.
5617
5618 2003-07-21  André Pönitz  <poenitz@gmx.net>
5619
5620         * rowpainter.C: remove unused variables
5621
5622         * tabular_funcs.C:
5623         * tabular_funcs.h: move to tabular.C
5624         * Makefile.am: adjust
5625
5626         * tabular.[Ch]: basic optical cleaning
5627
5628         * author.h: pass references, not values
5629
5630 2003-07-18  André Pönitz  <poenitz@gmx.net>
5631
5632         * lyxtext.h:
5633         * metricsinfo.C:
5634         * metricsinfo.h:
5635         * rowpainter.C:
5636         * text.C:
5637         * text2.C:
5638         * text3.C: two-phase drawing for InsetText and InsetTabular
5639         some float -> int changes.
5640
5641 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5642
5643         * lyx_main.C: fix the fix
5644
5645 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * lyx_main.C: fix a crash in batch mode if no files specified
5648         * converter.C: ws
5649
5650 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5651
5652         * format.[Ch] (papersize): moved to BufferParams
5653         * converter.[Ch] (dvips_options): moved to BufferParams
5654         (dvipdfm_options): moved to anon namespace
5655         * bufferparams.[Ch]: added above functions.
5656
5657 2003-07-17  André Pönitz  <poenitz@gmx.net>
5658
5659         * lyxtext.h:
5660         * rowpainter.C:
5661         * text2.C: don't call inset->update() anymore
5662
5663         * metricsinfo.[Ch]: add convenience constructor
5664
5665 2003-07-16  André Pönitz  <poenitz@gmx.net>
5666
5667         * lyxcursor.[Ch]:
5668         * lyxfunc.[Ch]:
5669         * text.C:
5670         * text2.C: replace the LyXCursor::irow_ member with
5671          on-demand computation of the value
5672
5673 2003-07-16  John Levon  <levon@movementarian.org>
5674
5675         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5676
5677 2003-07-15  André Pönitz  <poenitz@gmx.net>
5678
5679         * text.C:
5680         * text2.C: remove no more needed refresh_row
5681
5682 2003-07-15  André Pönitz  <poenitz@gmx.net>
5683
5684         * lyxtext.h:
5685         * rowpainter.C:
5686         * text2.C:
5687         * text3.C: refresh_status tristate -> need_update bool
5688
5689 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5690
5691         * lyxtext.h (init): remove reinit argument (act as if always true)
5692         * text2.C: adjust to that
5693
5694 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5695
5696         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5697         * text3.C: use it to delete selections in some cases
5698         (bugs 441, 673, 702, 954).
5699
5700 2003-07-14  André Pönitz  <poenitz@gmx.net>
5701
5702         * rowpainter.[Ch]: reduce interface
5703
5704 2003-07-14  André Pönitz  <poenitz@gmx.net>
5705
5706         * BufferView_pimpl.C:
5707         * text2.C: adjust after removing unused BufferView * argument
5708
5709 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5710
5711         * text2.C (init): fix a crash fired on resize
5712
5713 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5714
5715         * buffer.[Ch]: added new closing signal
5716         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5717         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5718         BufferView::Pimpl via the closing the signal
5719
5720 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5721
5722         * buffer.[Ch]: take out all bv-related from buffer
5723         * BufferView.C:
5724         * BufferView_pimpl.[Ch]: connect to new signals
5725         * CutAndPaste.C: removed useless asserts
5726         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5727         * lyxvc.[Ch]:
5728         * vc-backend.[Ch]:
5729         * lyxfunc.C: moved view-related funciontality from vc here
5730         * paragraph.C: removed outdated comments
5731         * text.C: ws
5732
5733 2003-07-10  André Pönitz  <poenitz@gmx.net>
5734
5735         * BufferView_pimpl.C:
5736         * tabular.h:
5737         * tabular_funcs.C:
5738         * text.C:
5739         * text2.C: remove InsetText::InnerCache, clean up consequences
5740
5741 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5742
5743         * ispell.C: fix two typos in error messages
5744
5745 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5746
5747         * Extend Note inset to other forms of annotation like Comment
5748         and Greyedout. Right button click gives dialog.
5749
5750         Files modified or added (+):
5751
5752         * insetnote.[Ch]
5753         * FormNote.[Ch]      +
5754         * ControlNote.[Ch]   +
5755         * form_note.fd       +
5756         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5757         frontends/controllers
5758         * xforms/Dialogs.C
5759         * factory.C
5760
5761 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5762
5763         * aspell.C: add missing namespace lyx::support
5764
5765 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5766
5767         * BufferView.[Ch] (newFile): Add
5768         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5769         * LaTeX.[Ch] (message): added this signal and use it
5770         * buffer.[Ch] (busy, message): added these signals and use them
5771         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5772         * converter.C:
5773         * exporter.C:
5774         * format.C:
5775         * importer.C: use buffer signals instead of direct bv calling
5776         * lyx_cb.[Ch] (ShowMessage): removed
5777         * lyx_main.C:
5778         * lyxfunc.C:
5779         * paragraph_funcs.C:
5780         * text2.C: use buffer signals
5781
5782 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * introduce namespace lyx::graphics
5785
5786 2003-07-02  André Pönitz  <poenitz@gmx.net>
5787
5788         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5789
5790 2003-07-01  André Pönitz  <poenitz@gmx.net>
5791
5792         * text.C:
5793         * text2.C:
5794         * text3.C:
5795         * text_funcs.[Ch]:
5796         * textcursor.h:
5797         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5798           text*.C to text_func.C
5799
5800 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * introduce namespace lyx::support
5803
5804 2003-06-30  André Pönitz  <poenitz@gmx.net>
5805
5806         * Chktex.C:
5807         * funcrequest.C:
5808         * lyxtext.h:
5809         * text.C: re-enable --with-included-string
5810
5811 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * textcursor.C: add <config.h>
5814
5815         * text.C (getWord): remove const from word_location arg
5816
5817         * lyxvc.C (getLogFile): fix const type order
5818
5819         * lyxtext.h: remove const from word_location arg, add arg name
5820
5821         * lyxlayout.h: currect type on labeltype.
5822
5823         * importer.C: correct \file
5824
5825         * converter.C (intToFormat): use std:: on ret val, ws changes
5826
5827         * bufferlist.h: correct \file
5828
5829         * buffer.C (makeLinuxDocFile): fix const type order
5830         (makeDocBookFile): ditto
5831         (fillWithBibKeys): use std:: on stdlib args.
5832
5833         * CutAndPaste.C: fix authors.
5834         (availableSelections): use std:: on return vector
5835
5836 2003-06-27  André Pönitz  <poenitz@gmx.net>
5837
5838         * BufferView_pimpl.C:
5839         * bufferview_funcs.C:
5840         * lyxcursor.C:
5841         * lyxcursor.h:
5842         * lyxfunc.C:
5843         * lyxtext.h:
5844         * rowpainter.C:
5845         * text.C:
5846         * text2.C:
5847         * text3.C: remove LyXCursor::row_ member
5848
5849         * lyxtext.h:
5850         * text.C: rename fullRebreak() to partialRebreak() and implement
5851           a fullRebreak() that really bereks fully
5852
5853         * textcursor.h: new struct for cursor-related data
5854
5855 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5856
5857         * lyx_main.C (LyX): get full path of document loaded on the
5858         command line
5859
5860 2003-06-26  André Pönitz  <poenitz@gmx.net>
5861
5862         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5863           remove unused/broken operator>,<,>=.
5864
5865         *       text.C: remove only use of broken operator<= in an Assert().
5866
5867 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5868
5869         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5870         moved errorlist_.clear to showErrorList
5871
5872 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5873
5874         * converter.C (scanLog, runLaTeX):
5875         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5876         move the bv->showErrorList call to the callers
5877         * lyxfunc.C: i.e. here...
5878         * text2.C: and here
5879         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5880         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5881         namespace, the second to...
5882         * buffer_funcs (BufferFormat, parseErrors): added
5883         * errorlist.C (ErrorList(TeXErrors const &)): removed
5884
5885 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5886
5887         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5888
5889 2003-06-24  "Garst R. Reese" <reese@isn.net>
5890
5891         * debug.C: fix typo
5892
5893 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5894
5895         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5896
5897         * version.C.in: change docversion to 1.4
5898
5899 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5900
5901         * buffer.C: fix a bug just introduced
5902
5903 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5904
5905         * buffer.[Ch]: added the parseError signal and use it, removed
5906         sgmlError
5907         * BufferView.[Ch] (addError): moved to ...
5908         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5909         to the Buffer::parseError signal to catch (guess what) parse errors
5910         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5911
5912 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5913
5914         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5915         ability to create a buffer and to return an existing one from
5916         the list. Moved these functions to...
5917         * buffer_funcs.[Ch]: added
5918         * BufferView.[Ch] (loadLyXFile): added
5919         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5920         job removed from bufferlist::loadLyXFile.
5921         * buffer.C (setReadOnly): make it work without view
5922         (i.e added an if (users))
5923
5924 2003-06-19  Angus Leeming  <leeming@lyx.org>
5925
5926         * lfuns.h:
5927         * LyXAction.C (init):
5928         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5929         with LFUN_DIALOG_SHOW <name> <data>.
5930
5931 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5932
5933         * CutAndPaste.C (availableSelections): small compilation fix for
5934         ancient (gcc 2.9x) compilers
5935
5936 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * text3.C (cursorNext): add tmp var
5939
5940         * text2.C (updateCounters): for function calling out of for clause
5941         (replaceSelectionWithString): ditto
5942         (insertStringAsParagraphs): ditto
5943         (getColumnNearX): add tmp var
5944         (setCursorFromCoordinates): add tmp var
5945         (cursorDownParagraph): add tmp var
5946         (deleteEmptyParagraphMechanism): add tmp var
5947
5948         * text.C (insertChar): add tmp var
5949
5950         * rowpainter.C (paintDepthBar): add tmp var
5951
5952         * CutAndPaste.C (availableSelections): potentially check all
5953         paragraphs in a cut to fill the shown strings.
5954
5955 2003-06-18  André Pönitz  <poenitz@gmx.net>
5956
5957         * kbmap.[Ch]: use vector<> instead of list<>
5958
5959 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5960
5961         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5962         pasteSelection with index
5963
5964         * text2.C (pasteSelection): modify, call pasteSelection with index
5965
5966         * paragraph.C (asString): reimplement version with no interval to
5967         call the one with interval.
5968
5969         * lyxtext.h: add index arg to pasteSelection
5970
5971         * MenuBackend.C (MenuItem): handle PasteRecent
5972         (Menu::read::Menutags): add md_pasterecent
5973         (read): handle it
5974         (expandPasteRecent): new function
5975         (expand): use it
5976
5977         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5978
5979         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5980         the limited stack
5981         (availableSelections): new function
5982
5983 2003-06-17  Angus Leeming  <leeming@lyx.org>
5984
5985         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5986
5987 2003-06-17  Angus Leeming  <leeming@lyx.org>
5988
5989         * lfuns.h:
5990         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5991
5992         * lyxfunc.C (dispatch): invoke it.
5993
5994 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5995
5996         * iterators.C (operator++, ParPosition): reintroduce some
5997         const_cast for the benefit of older compilers.
5998
5999 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6000
6001         * text3.C (dispatch): do not modify clipboard when doing
6002         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6003         LFUN_DELETE_SKIP on a selection selection
6004
6005 2003-06-16  André Pönitz  <poenitz@gmx.net>
6006
6007         * BufferView.C:
6008         * buffer.C:
6009         * buffer.h:
6010         * paragraph.C:
6011         * tabular.[Ch]: IU of clone() and getLabelList();
6012
6013 2003-06-13  André Pönitz  <poenitz@gmx.net>
6014
6015         * tabular.h: compactification
6016
6017 2003-06-12  André Pönitz  <poenitz@gmx.net>
6018
6019         * tabular.C:
6020         * tabular.h:
6021         * tabular_funcs.h: some renaming plus whitespace
6022
6023 2003-06-12  André Pönitz  <poenitz@gmx.net>
6024
6025         * BufferView.C:
6026         * BufferView_pimpl.C:
6027         * CutAndPaste.C:
6028         * buffer.C:
6029         * iterators.[Ch]:
6030         * lyxfunc.C:
6031         * text.C:
6032         * toc.C: Return a Paragraph & for ParIterator::operator*()
6033
6034 2003-06-11  John Levon  <levon@movementarian.org>
6035
6036         * lyx_main.C:
6037         * ToolbarBackend.h:
6038         * ToolbarBackend.C: add "Toolbars" section and
6039         put the flags there
6040
6041 2003-06-10  Angus Leeming  <leeming@lyx.org>
6042
6043         * lfuns.h:
6044         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6045
6046         * lyxfunc.C (dispatch): invoke it.
6047
6048 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * main.C: protect <ios> with HAVE_IOS
6051         (main): protect sync_with_stdio with HAVE_IOS
6052
6053 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6054
6055         * text2.C (cutSelection): adjust
6056         (pasteSelection): adjust
6057
6058         * messages.C: handle get of empty string
6059
6060         * main.C (main): use sync_with_stdio(false)
6061
6062         * lyxfunc.C (dispatch): adjust
6063
6064         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6065         (WriteAs): remove unneeded BufferView arg.
6066
6067         * bufferparams.h: use correct types on papersize, papersize2 and
6068         paperpackage.
6069
6070         * bufferparams.C (readToken): adjust for type
6071         (writeLaTeX): add missing cases to switch.
6072
6073         * bufferlist.C (quitWriteBuffer): adjust
6074         (close): adjust
6075
6076         * buffer.C (asciiParagraph): remove some commented code.
6077
6078         * CutAndPaste.C: remove current_view extern variable.
6079         (cutSelection): add BufferParams arg.
6080         (eraseSelection): add BufferParams arg.
6081         (pasteSelection): add Buffer const & arg
6082
6083 2003-06-07  John Levon  <levon@movementarian.org>
6084
6085         * buffer.C:
6086         * paragraph_funcs.C:
6087         * paragraph_pimpl.C:
6088         * text.C:
6089         * text2.C:
6090         * paragraph.h:
6091         * paragraph.C: allow InsetERT to freely space lines,
6092         and some consolidation of code
6093
6094 2003-06-06  José Matos  <jamatos@fep.up.pt>
6095
6096         * buffer.C (makeDocBookFile): fix bug #821
6097
6098 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6099
6100         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6101
6102 2003-06-04  Angus Leeming  <leeming@lyx.org>
6103
6104         * buffer.C: bump format to 224.
6105
6106 2003-06-05  André Pönitz  <poenitz@gmx.net>
6107
6108         * text2.C (redoParagraphs): remove two const_cast<>
6109
6110 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6111
6112         * ParagraphList.h: remove last remnants of NO_STD_LIST
6113
6114 2003-06-03  Angus Leeming  <leeming@lyx.org>
6115
6116         * factory.C (createInset): small change to the way InsetExternal's params
6117         are set.
6118
6119 2003-06-04  André Pönitz  <poenitz@gmx.net>
6120
6121         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6122
6123         * paragraph_pimpl.h:
6124         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6125
6126         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6127
6128         * undo_funcs.C: make some simple cases of undo work again
6129
6130 2003-06-03  John Levon  <levon@movementarian.org>
6131
6132         * ispell.C: HPUX doesn't have sys/select.h
6133         (from Albert Chin)
6134
6135 2003-06-03  John Levon  <levon@movementarian.org>
6136
6137         * CutAndPaste.C: update tabular and include inset
6138         buffer references
6139
6140         * buffer.h:
6141         * paragraph.h:
6142         * paragraph.C: remove owningBuffer(), don't pass Buffer
6143         to clone()
6144
6145         * factory.C: insetGraphicsParams changed
6146
6147 2003-06-02  John Levon  <levon@movementarian.org>
6148
6149         * LyXAction.C:
6150         * factory.C:
6151         * lfuns.h:
6152         * lyxfunc.C:
6153         * text3.C: remove insetparent
6154
6155 2003-06-02  John Levon  <levon@movementarian.org>
6156
6157         * buffer.h:
6158         * buffer.C: fix inset_iterator.end(), move out of line
6159         (bug 1149)
6160
6161 2003-06-01  John Levon  <levon@movementarian.org>
6162
6163         * text3.C: use a proper cut/paste when doing inset
6164         insert (from Jürgen Spitzmüller)
6165
6166 2003-06-01  John Levon  <levon@movementarian.org>
6167
6168         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6169
6170 2003-05-30  André Pönitz  <poenitz@gmx.net>
6171
6172         * rowpainter.C: unify second drawing phase
6173
6174 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6175
6176         * trans_mgr.C: remove one case of current_view
6177
6178         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6179
6180         * paragraph_funcs.h: remove paragraph.h include
6181
6182         * paragraph.h: delete NO_STD_LIST stuff
6183
6184         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6185
6186         * buffer.h: remove paragraph.h include
6187
6188         * ParagraphList.C: delete file
6189
6190         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6191
6192         * toc.C (getTocList): adjust
6193
6194         * paragraph_pimpl.C (validate): adjust
6195
6196         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6197
6198         * paragraph.C (Paragraph): adjust
6199         (getPositionOfInset): use const_iterator, adjust
6200         (bibitem): use const_iterator, adjust
6201         (setInsetOwner): adjust
6202
6203         * iterators.C (operator++): adjust
6204
6205         * InsetList.[Ch]: Replace selfmade iterator with standard
6206         vector::iterator also introduce const_iterator. Remove getPos,
6207         getInset and setInset from InsetTable. Adjust accordingly.
6208
6209         * BufferView.C (lockInset): adjust
6210         (ChangeInsets): adjust
6211
6212         * tabular.[Ch]: delete commented same_id functions
6213
6214 2003-05-28  John Levon  <levon@movementarian.org>
6215
6216         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6217
6218 2003-05-28  André Pönitz  <poenitz@gmx.net>
6219
6220         * metricsinfo.[Ch]: remove 'fullredraw' member
6221
6222 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6223
6224         * lyxtextclass.C (operator): remove caching.
6225
6226 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * text3.C: adjust
6229
6230         * text2.C (cursorBottom): adjust
6231         (setCounter): use ParagraphList::find, adjust
6232
6233         * text.C (workWidth): use ParagraphList::find, adjust
6234
6235         * lyxcursor.C (LyXCursor): adjust
6236
6237         * buffer.C (inset_iterator): adjust
6238
6239         * ParagraphList.h: make iterator(value_type) private, make
6240         ParagraphList a friend of iterator.
6241
6242         * ParagraphList.C (find): new function
6243
6244         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6245
6246 2003-05-27  André Pönitz  <poenitz@gmx.net>
6247
6248         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6249
6250 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6251
6252         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6253
6254 2003-05-26  John Levon  <levon@movementarian.org>
6255
6256         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6257
6258 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6259
6260         * remove same_id from function signatures, adjust.
6261
6262 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6265
6266         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6267
6268         * paragraph.C (Paragraph): get rid of same_ids parameter
6269
6270         * ParagraphList.C (insert): adjust
6271         (push_back): adjust
6272
6273 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6274
6275         * paragraph_funcs.C (breakParagraph): adjust
6276         (breakParagraphConservative): adjust
6277
6278         * buffer.C (readParagraph): adjust
6279
6280         * ParagraphList.C (insert): take a reference instead of a pointer
6281         (insert): adjust
6282
6283         * paragraph.[Ch] (id): new function
6284
6285         * bufferlist.C (newFile): adjust
6286
6287         * ParagraphList.C (ParagraphList): adjust
6288         (assign): adjust
6289         (push_back): take a reference instead of a pointer.
6290
6291         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6292
6293         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6294         instead.
6295
6296         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6297         set else use old code.
6298
6299         * ParagraphList.C: remove all NO_NEXT code and only compile this
6300         code of NO_STD_LIST is set.
6301
6302 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6303
6304         * BufferView_pimpl.C:
6305         * TextCache.C:
6306         * TextCache.h:
6307         * bufferlist.C:
6308         * errorlist.h:
6309         * format.C:
6310         * format.h:
6311         * graph.C:
6312         * lyxfunc.C:
6313         * lyxrc.C:
6314         * graphics/GraphicsConverter.C:
6315         * graphics/PreviewLoader.C: header adjustment
6316
6317 2003-05-23  Angus Leeming  <leeming@lyx.org>
6318
6319         * LaTeXFeatures.[Ch] (useBabel): new method.
6320         * bufferparams.C (writeLaTeX): use it.
6321
6322 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * ParagraphList.h (set): remove unused function.
6325
6326 2003-05-23  André Pönitz  <poenitz@gmx.net>
6327
6328         * BufferView.C:
6329         * BufferView_pimpl.C:
6330         * buffer.C:
6331         * buffer.h:
6332         * lyxfunc.C:
6333         * undo_funcs.C: setUndo reworked
6334
6335         * iterators.[Ch]: add access to topmost ParagraphList
6336
6337         * lyxtext.[Ch] (workWidth): add a const
6338
6339 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * texrow.[Ch] (increasePos): remove function
6342         * exporter.C (export): removed unused var and outdated comment
6343
6344 2003-05-23  Angus Leeming  <leeming@lyx.org>
6345
6346         * latexrunparams.h: rename fragile as moving_arg.
6347         * paragraph.C (simpleTeXOnePar): ditto.
6348         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6349
6350 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6353         (createUndo): ditto
6354         (textUndoOrRedo): comment out a currently unused var.
6355
6356         * paragraph.h (NO_NEXT): enable NO_NEXT
6357
6358         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6359
6360         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6361
6362         * exporter.C (Export): adjust for removeAutoInsets removal.
6363
6364         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6365
6366         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6367
6368         * BufferView.[Ch] (removeAutoInsets): delete function
6369
6370 2003-05-22  Angus Leeming  <leeming@lyx.org>
6371
6372         * latexrunparams.h: add a free_spacing variable.
6373
6374         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6375         to pass moving_arg, as the data is stored in runparams.fragile.
6376
6377         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6378         to Inset::latexOptional or to simpleTeXOnePar.
6379
6380         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6381         free_spacing arg to Inset::latexOptional.
6382
6383         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6384         free_spacing arg.
6385
6386 2003-05-22  Angus Leeming  <leeming@lyx.org>
6387
6388         * latexrunparams.h: add fragile and use_babel variables.
6389
6390         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6391         * buffer.C (makeLaTeXFile): store this returned value in
6392         runparams.use_babel, thus passing it to the inset::latex methods.
6393
6394         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6395         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6396
6397         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6398         longer has a fragile arg, as it is stored in runparams.fragile.
6399
6400         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6401         moving_arg parameter as the data is stored in runparams.fragile.
6402
6403         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6404         a fragile parameter as the data is stored in runparams.fragile.
6405
6406 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6407
6408         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6409
6410 2003-05-22  Angus Leeming  <leeming@lyx.org>
6411
6412         * latexrunparams.h: add a 'bool nice' which defaults to false.
6413
6414         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6415         now encapsulated within runparams.
6416
6417         * bufferlist.C (updateIncludedTeXfiles):
6418         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6419
6420 2003-05-22  Angus Leeming  <leeming@lyx.org>
6421
6422         * latexrunparams.h: new file containing struct LatexRunParams.
6423         * Makefile.am: add new file.
6424
6425         * LaTeX.[Ch] (c-tor, run):
6426         * buffer.[Ch] (makeLaTeXFile):
6427         * bufferlist.[Ch] (updateIncludedTeXfiles):
6428         * converter.C (convert, scanLog):
6429         * converter.[Ch] (runLaTeX):
6430         * exporter.C (Export):
6431         * paragraph.[Ch] (simpleTeXOnePar):
6432         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6433         * paragraph_funcs.[Ch] (latexParagraphs):
6434         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6435         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6436         pass around a LatexRunParams parameter.
6437
6438 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * paragraph.[Ch]: remove unused constructor
6441
6442         * ParagraphList.C (erase): new function, taking two iterators
6443
6444 2003-05-22  André Pönitz  <poenitz@gmx.net>
6445
6446         * undo_funcs.C: remove duplicated code
6447
6448         * iterator.[Ch]: operator=
6449
6450 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * tabular.C (SetMultiColumn): ws changes
6453
6454         * rowpainter.C (paintFirst): get rid of a ->previous
6455
6456         * lyx_cb.C (getPossibleLabel): parlist simplification
6457
6458         * BufferView.C (ChangeInsets): simplify slightly.
6459
6460 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6461
6462         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6463         * lfuns.h: new LFUN_SPACE
6464         * lyxfunc.C: protected space has a new lfun
6465         * paragraph_funcs.C: read new space insets
6466         * text3.C:
6467         * factory.C: handle new space insets
6468
6469 2003-05-22  André Pönitz  <poenitz@gmx.net>
6470
6471         * BufferView.C:
6472         * BufferView_pimpl.C:
6473         * buffer.[Ch]:
6474         * lyxfunc.C:
6475         * undo_funcs.C: return a ParIterator from getParFromID.
6476
6477         * iterators.[Ch]: add two const's
6478
6479 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6480
6481         * toc.C (getTocList): adjust
6482
6483         * iterators.[Ch]: rework for parlist
6484
6485         * buffer.C (par_iterator_begin): adjust
6486         (par_iterator_end): adjust
6487
6488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6489
6490         * BufferView.C (removeAutoInsets): adjust
6491         (ChangeInsets): adjust
6492
6493 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * text.C (top_y): fix bug 1110
6496
6497 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6498
6499         * errorlist.[Ch]: added
6500         * buffer.C:
6501         * BufferView.[Ch]:
6502         * BufferView_pimpl.C:
6503         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6504         instead
6505
6506 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6507
6508         * Makefile.am: ensure that lyx is relinked upon changes to the
6509         various "convenience" libs.
6510
6511 2003-05-20  Angus Leeming  <leeming@lyx.org>
6512
6513         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6514         files are compiled in alphabetical order again.
6515
6516         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6517
6518 2003-05-19  Angus Leeming  <leeming@lyx.org>
6519
6520         * gettext.[Ch]: remove "char const * _(char const *)".
6521
6522 2003-05-19  André Pönitz  <poenitz@gmx.net>
6523
6524         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6525
6526         * Makefile.am:
6527         * BufferView.C:
6528         * DepTable.h:
6529         * LaTeXFeatures.C:
6530         * buffer.C:
6531         * lyxfont.C:
6532         * lyxlex.h:
6533         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6534
6535 2003-05-19  André Pönitz  <poenitz@gmx.net>
6536
6537         * buffer.C:
6538         * lyxlayout.[Ch]:
6539         * lyxtextclass.[Ch]:
6540         * paragraph.C:
6541         * paragraph_funcs.[Ch]:
6542         * text2.C:
6543         * text3.C: more insetenv work
6544
6545 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6546
6547         * ParagraphParameters.C (params2string): small bug fixed
6548
6549 2003-05-16  André Pönitz  <poenitz@gmx.net>
6550
6551         * debug.C:
6552         * bufferview_funcs.C: patch from Kornel Benko to prevent
6553           crash when _(...) is called twice in a statement
6554
6555 2003-05-16  André Pönitz  <poenitz@gmx.net>
6556
6557         * BufferView.C:
6558         * lyxfunc.C:
6559         * text.C:
6560         * text2.C:
6561         * text3.C:
6562         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6563
6564 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6565
6566         * lyx_main.C (init): remove spurious static_cast
6567
6568 2003-05-14  André Pönitz  <poenitz@gmx.net>
6569
6570         * BufferView.C: fix format string
6571
6572 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6573
6574         * BufferView.[Ch] (insertErrors): removed
6575         * BufferView.[Ch] (showErrorList): added
6576         * buffer.C (runChkTeX):
6577         * converter.C (scanLog): call showErrorList instead of inserterrors
6578
6579 2003-05-13  André Pönitz  <poenitz@gmx.net>
6580
6581         * BufferView_pimpl.C:
6582         * buffer.C:
6583         * bufferview_func.C:
6584         * MenuBackend.C:
6585         * lyxfunc.C:
6586         * lyxrc.C:
6587         * tex-accent.C:
6588         * text3.C:
6589         * toc.C:
6590         * tabular_funcs.h: tostr() from its own header
6591
6592         * ParagraphParameters.C:
6593         * ToolbarBackend.C:
6594         * bufferparams.C:
6595         * format.C:
6596         * lyxlex_pimpl.C:
6597         * text3.C: STRCONV()
6598
6599 2003-05-12  André Pönitz  <poenitz@gmx.net>
6600
6601         * BufferView.C:
6602         * BufferView_pimpl.C:
6603         * CutAndPaste.C:
6604         * LaTeX.C:
6605         * LaTeXFeatures.C:
6606         * ParagraphParameters.C:
6607         * buffer.C:
6608         * bufferlist.C:
6609         * bufferparams.C:
6610         * bufferview_funcs.C:
6611         * converter.C:
6612         * counters.C:
6613         * debug.C:
6614         * exporter.C:
6615         * format.C:
6616         * importer.C:
6617         * lyx_cb.C:
6618         * lyx_main.C:
6619         * lyxfont.C:
6620         * lyxfunc.C:
6621         * lyxvc.C:
6622         * paragraph.C:
6623         * paragraph_funcs.C:
6624         * tabular.C:
6625         * tabular_funcs.C:
6626         * text2.C:
6627         * text3.C:  boost::format -> bformat  all over the place
6628
6629
6630 2003-05-09  André Pönitz  <poenitz@gmx.net>
6631
6632         * LColor.[Ch]: Pimpl the #include <map> away
6633
6634 2003-05-09  John Levon  <levon@movementarian.org>
6635
6636         * bufferlist.C: never remove emergency saves
6637
6638 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6639
6640         * Makefile.am: better lib building
6641
6642 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6643
6644         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6645         instead.
6646         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6647         (simpleTeXSpecialChars): adjust
6648         (simpleTeXSpecialChars): adjust
6649         * paragraph.C (simpleTeXOnePar): adjust
6650         * buffer.C (makeLaTeXFile): adjust
6651
6652         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6653
6654         * text2.C (changeDepth): parlist cleanup
6655         (getColumnNearX): ditto
6656
6657         * rowpainter.C (getLabelFont): parlist cleanup
6658
6659         * bufferlist.C (newFile): parlist cleanup
6660
6661         * CutAndPaste.C (eraseSelection): parlist cleanup
6662
6663         * BufferView_pimpl.C (trackChanges): parlist cleanup
6664         (dispatch): ditto
6665
6666         * BufferView.C (lockInset): parlist cleanup.
6667         (ChangeInsets): ditto
6668
6669 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * CutAndPaste.h: Update file header.
6672
6673         * CutAndPaste.C: Update file header.
6674         Store the parts cut out of the Document in a limited_stack.
6675         (copySelection): adjust
6676         (pasteSelection): new function, takes the index in the limited stack.
6677         (nrOfParagraphs): adjust
6678         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6679         simplify error inset insertion.
6680         (checkPastePossible): adjust
6681
6682 2003-05-06  John Levon  <levon@movementarian.org>
6683
6684         * text2.C: don't cast wrap inset to float
6685
6686 2003-05-05  André Pönitz  <poenitz@gmx.net>
6687
6688         * iterator.C:
6689         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6690
6691         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6692           few naked Paragraph *.
6693
6694 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6695
6696         * bufferparams.C: Output warning if a document with missing
6697         TeX document class is loaded
6698         * exporter.C: Disable TeX exports if the document class is missing
6699         * lyxtextclass.C:
6700         * lyxtextclass.h:
6701         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6702         isTeXClassAvailable()
6703
6704 2003-05-03  John Levon  <levon@movementarian.org>
6705
6706         * BufferView.h:
6707         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6708         explicit cursor show/hide
6709
6710         * BufferView_pimpl.h:
6711         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6712         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6713
6714         * lyxfunc.C: hide cursor before dispatching.
6715
6716         * lyx_cb.C:
6717         * lyxfind.C:
6718         * text.C:
6719         * text3.C: remove explicit cursor hides
6720
6721 2003-05-02  André Pönitz  <poenitz@gmx.net>
6722
6723         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6724
6725         * undo_funcs.C:
6726         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6727           linked lists
6728
6729         * text2.C: tiny whitespace
6730
6731 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * undo_funcs.C: almost only ws changes.
6734
6735         * ParagraphList.C (splice): just return if pl is empty.
6736
6737 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * ParagraphList.C (splice): new function.
6740
6741         * CutAndPaste.C (pasteSelection): use it
6742
6743 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * CutAndPaste.C (pasteSelection): remove the last next and
6746         previous from this file.
6747
6748 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * CutAndPaste.C (pasteSelection): more clean up, user proper
6751         ParagraphList functions for pasteing.
6752
6753         * ParagraphList.C (insert): new function, three arg insert
6754
6755 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6756
6757         * ParagraphList.C (insert): new function, three arg insert
6758
6759         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6760         not on paragraphs.
6761
6762 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6765
6766 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6767
6768         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6769
6770 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6771
6772         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6773         (copySelection): clean up a bit.
6774         (pasteSelection): use make_pair
6775
6776         * ParagraphList.C (ParagraphList): implement copy constructor
6777         (operator=): implement, base on copy constructor.
6778         (assign): new func
6779
6780         * paragraph.C (erase): return a bool
6781
6782         * paragraph_pimpl.C (erasePos): remove function, move contents...
6783         (erase): ... here. Return a bool.
6784         (erase): call erase instead of erasePos.
6785
6786 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6787
6788         * ParagraphList.h: define PitPosPair
6789         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6790         ParagraphList, fix a bug on pasting multiple pars
6791         * text2.C: change interface to C&P
6792
6793 2003-04-30  André Pönitz  <poenitz@gmx.net>
6794
6795         * undo_func.C: revert part of yesterday's patch 2
6796
6797 2003-04-30  John Levon  <levon@movementarian.org>
6798
6799         * LColor.C: s/tabular/table/
6800
6801 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * text3.C (dispatch): do not convert iterator -> pointer
6804         * undo_funcs.C (setCursorParUndo): ditto
6805         * text_funcs.C (transposeChars): ditto
6806
6807         * text2.C (setLayout): ws changes only
6808
6809         * text.C (breakParagraph): do not convert iterator -> pointer
6810         (insertChar): ditto
6811         (acceptChange): ditto
6812         (rejectChange): ditto
6813         (changeCase): ditto
6814         (Delete): ditto
6815         (backspace): ditto
6816
6817         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6818         pointer
6819
6820 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6821
6822         * text3.C (gotoInset): YABG (yet another bad getChar)
6823
6824 2003-04-29  André Pönitz  <poenitz@gmx.net>
6825
6826         * paragraph.h: make operator= private unimplemented as long as
6827           it is unusable
6828
6829         * ParagraphList.C: whitespace
6830
6831         * paragraph.[Ch]:
6832         * paragraph_pimpl.[Ch]:
6833         * paragraph_funcs.C:
6834         * CutAndPaste.C:
6835         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6836
6837         * text2.C:
6838           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6839
6840 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6841
6842         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6843         * paragraph.[Ch] (erase):
6844         * paragraph_pimpl.[Ch] (erase): change return type and value
6845         * text2.C (cutSelection): some rework
6846
6847 2003-04-28  John Levon  <levon@movementarian.org>
6848
6849         * bufferlist.C: changes for unsaved changes dialog
6850
6851 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * bufferlist.C (newFile): set language (messages_) for new
6854         documents also.
6855
6856         * buffer.C (readFile): ws changes only.
6857
6858 2003-04-28  André Pönitz  <poenitz@gmx.net>
6859
6860         * undo_funcs.C:
6861         * lyxfunc.C:
6862         * buffer.[Ch]:
6863         * BufferView_pimpl.C:
6864         * BufferView.C: getParFromID related ParagraphList::iterator changes
6865
6866 2003-04-28  André Pönitz  <poenitz@gmx.net>
6867
6868         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6869           Changes
6870
6871 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * messages.C: remove one more localedir class variable.
6874
6875 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6876
6877         * messages.C (getLocaleDir): singleton generation function
6878         (Pimpl): use it.
6879         (Messages): add a default constructor.
6880
6881         * main.C (main): do not setup localedir here, do not call
6882         gettext_init.
6883
6884         * gettext.C (_): use it.
6885         (gettext_init): delete funciton
6886
6887 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6888
6889         * gettext.C (getLyXMessages): new singleton generating function.
6890
6891         * buffer.C (updateDocLang): adjust
6892
6893         * Makefile.am (messages.o): add target
6894         (main.o): remove target
6895
6896 2003-04-27  John Levon  <levon@movementarian.org>
6897
6898         * bufferlist.C:
6899         * lyx_cb.C:
6900         * lyxfunc.C:
6901         * lyxvc.C: specify cancel button in Alert::prompt
6902
6903 2003-04-26  John Levon  <levon@movementarian.org>
6904
6905         * text3.C:
6906         * lyxfunc.C:
6907         * lfuns.h:
6908         * LyXAction.C: add LFUN_INSET_SETTINGS
6909
6910         * lyxfunc.C: don't enable tabular-feature when there's
6911         just any locking inset
6912
6913 2003-04-26  John Levon  <levon@movementarian.org>
6914
6915         * bufferlist.C: re-add Cancel to buffer close question
6916
6917         * lyxfunc.C: fix import UI a bit
6918
6919 2003-04-25  John Levon  <levon@movementarian.org>
6920
6921         * gettext.C: remove the broken asserts for now
6922
6923 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * messages.C: make case where setlocale cannot comply work better.
6926
6927         * buffer.C (updateDocLang): new function
6928         (changeLanguage): use it
6929         (readFile): use it
6930
6931         * text2.C (setCounter): use B_ a bit.
6932
6933         * lyxlayout.C (Read): be sure to trim the label strings.
6934
6935         * messages.C (Messages): fix typo in comment
6936
6937         * buffer.C (readFile): set message_ after file is loaded.
6938         (makeDocBookFile): remove double return
6939         (changeLanguage): reset message_ upon language change.
6940         (B_): new func, use this to get translated buffer strings.
6941
6942         * main.C: add myself and Jean Marc as authors.
6943
6944 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * messages.[hC]: pimplify Messages, and three different pimpls to be
6947         used in different circumstances.
6948
6949         * gettext.[Ch]: change for use with new message code.
6950
6951 2003-04-24 André Pönitz <poenitz@gmx.net>
6952
6953         * factory.C: support for eqref
6954
6955 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6956
6957         * messages.[Ch]: add missing char
6958
6959         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6960
6961         * messages.[Ch]: New files
6962
6963 2003-04-18  John Levon  <levon@movementarian.org>
6964
6965         * BufferView.h:
6966         * BufferView.C:
6967         * BufferView_pimpl.C:
6968         * lfuns.h:
6969         * LyXAction.C:
6970         * lyxtext.h:
6971         * text2.C: remove layout-copy/paste (bug 778)
6972
6973 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6974
6975         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6976
6977 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6978
6979         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6980         if they succeed. Act accordingly.
6981
6982 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * text2.C (setCharFont): adjust
6985         (setCounter): adjust
6986         (insertStringAsLines): adjust
6987
6988         * text.C (leftMargin): adjust
6989         (setHeightOfRow): adjust
6990
6991         * rowpainter.C (paintFirst): adjust
6992         (paintLast): adjust
6993
6994         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6995         (outerHook): ditto
6996         (isFirstInSequence): ditto
6997         (getEndLabel): ditto
6998         (outerFont): adjust
6999
7000         * paragraph.C (getParLanguage): comment out some hard stuff.
7001
7002         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7003         (sgmlError): ditto
7004         (simpleDocBookOnePar): ditto
7005         (makeDocBookFile): use ParagraphList::iterator
7006
7007         * CutAndPaste.C (pasteSelection): adjust
7008
7009 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * text2.C (getFont): adjust
7012         (getLayoutFont): adjust
7013         (getLabelFont): adjust
7014
7015         * paragraph_funcs.C (TeXOnePar): adjust
7016
7017         * buffer.C (simpleLinuxDocOnePar): adjust
7018         (simpleDocBookOnePar): adjust
7019
7020         * CutAndPaste.C (pasteSelection): adjust
7021
7022         * BufferView.C (getEncoding): adjust
7023
7024         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7025
7026 2003-04-16  John Levon  <levon@movementarian.org>
7027
7028         * lyxfind.C: use parlist stuff for search/changes
7029
7030 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7033
7034         * text2.C (deleteEmptyParagraphMechanism): adjust
7035
7036         * text2.[Ch] (ownerParagraph): delete func (both of them
7037
7038 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7041
7042 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * ParagraphList.C: prepare for NO_NEXT
7045
7046 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * text2.C (getFont): adjust
7049         (getLayoutFont): adjust
7050         (getLabelFont): adjust
7051
7052         * paragraph.C (getFont): adjust
7053         (getLabelFont): adjust
7054         (getLayoutFont): adjust
7055
7056         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7057
7058 2003-04-15  John Levon  <levon@movementarian.org>
7059
7060         From Angus Leeming
7061
7062         * lyx_main.C: handle Include in .ui files
7063
7064 2003-04-15  John Levon  <levon@movementarian.org>
7065
7066         * MenuBackend.C: make the doc files length shorter
7067
7068         * ToolbarBackend.h:
7069         * ToolbarBackend.C: handle toolbar placement flags,
7070         Minibuffer
7071
7072 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7073
7074         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7075         adjust
7076
7077         * paragraph_funcs.C (TeXOnePar): adjust
7078
7079         * paragraph.C (getLabelFont): add outerfont arg, adjust
7080         (getLayoutFont): ditto
7081         (simpleTeXOnePar): adjust
7082
7083         * paragraph_pimpl.C (realizeFont): delete func
7084
7085 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7086
7087         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7088         row argument, constify cur argument.
7089
7090 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7091
7092         * text2.C (getFont): adjust
7093         (getLayoutFont): adjust
7094         (getLabelFont): adjust
7095
7096         * paragraph_funcs.C (TeXOnePar): adjust
7097         (outerFont): new func...
7098         (realizeFont): ...moved out from here, changed this to facilitate
7099         transition
7100
7101         * paragraph.C (getFont): take outerfont as arg, adjust
7102         (simpleTeXOnePar): add outerfont arg, adjust
7103
7104         * buffer.C (simpleLinuxDocOnePar): adjust
7105         (simpleDocBookOnePar): adjust
7106
7107         * CutAndPaste.C (pasteSelection): adjust
7108
7109         * BufferView.C (getEncoding): adjust
7110
7111 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7112
7113         * text2.C (setCharFont): adjust
7114         (setCounter): adjust
7115
7116         * text.C (leftMargin): adjust
7117         (setHeightOfRow): adjust
7118
7119         * rowpainter.C (paintFirst): adjust
7120         (paintLast): adjust
7121
7122         * paragraph_pimpl.C (realizeFont): adjust
7123
7124         * paragraph.C (isFirstInSequence): move from here...
7125         * paragraph_funcs.C (isFirstInSequence): ...to here
7126
7127         * paragraph.C (outerHook): move from here...
7128         * paragraph_funcs.C (outerHook): ...to here
7129
7130         * paragraph.C (depthHook): move from here...
7131         * paragraph_funcs.C (depthHook): ...to here
7132
7133         * paragraph.C (getEndLabel): move from here...
7134         * paragraph_funcs.C (getEndLabel): ...to here
7135
7136         * text2.C (realizeFont): move from here...
7137         * paragraph_funcs.C (realizeFont): ...to here
7138
7139 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7142
7143 2003-04-14  Angus Leeming  <leeming@lyx.org>
7144
7145         * LColor.[Ch]: scrap LColor mathcursor.
7146
7147 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * lyxlex.[Ch] (text): delete function
7150         * trans.C (Load): adjust
7151         * paragraph_funcs.C (readParToken): adjust
7152
7153 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7156         vector<char> instead of a char[].
7157
7158         * lyxlex_pimpl.C (getString): adjust
7159         (next): adjust
7160         (lex): use getString
7161         (eatLine): adjust
7162         (nextToken): adjust
7163
7164         * lyxlex.C (text): use pimpl_->getString()
7165         (getBool): ditto
7166         (findToken): ditto
7167
7168 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7171         (makeFontEntriesLayoutSpecific): temp var for par.size()
7172         (setLayout): temp var for ownerParagraphs().end()
7173         (fullRebreak): temp var for rows().end()
7174         (selectionAsString): temp var for boost::next(startpit), realize
7175         that the while really is a regular for loop.
7176         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7177         setCursor in one place.
7178         (setParagraph): temp vr for ownerParagraphs().end()
7179         (updateCounters): make the while loop a for loop
7180         (cutSelection): temp var for ownerParagraphs().end()
7181         (updateInset): make the do {} while() a regular for loop
7182         (getCursorX): use temp vars
7183         (setCurrentFont): use temp vars
7184         (getColumnNearX): use temp vars
7185
7186 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7187
7188         * text.C (transformChar): use temp var for getChar
7189         (computeBidiTables): use temp var for row->par()
7190         (fill): move temp vars for row->par() and pit->layout() earlier in
7191         the function.
7192         (labelFill): use temp var for row->par()
7193         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7194         asc and desc, realize that pit never changes and that firstpit is
7195         just a duplicate and not needed. Exchange rit->par() with pit in a
7196         lot of places.
7197         (breakAgain): use a temp var for boost::next(rit)
7198         (breakAgainOneRow): ditto
7199         (breakParagraph): use a temp var for rows().begin()
7200         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7201         (cursorRightOneWord): use temp var for cursor.par() and
7202         cursor.pos(), remove usage of tmpcursor.
7203         (cursorLeftOneWord): use temp var for cursor.par() and
7204         cursor.pos() only set cur at end of function.
7205
7206 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7207
7208         * text.C, text2.C: exchange all usage of Paragraph::next with
7209         boost::next(ParagraphList::iterator)
7210
7211         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7212
7213         * text2.C (cursorTop): simplify implementation
7214         (cursorBottom): ditto
7215         (setParagraph): use ParagraphList::iterator
7216         (setCurrentFont): adjust
7217         (getColumnNearX): adjust
7218         (cursorRight): adjust
7219         (cursorLeft): remove usage of Paragraph::previous
7220         (cursorUpParagraph): ditto
7221         (deleteEmptyParagraphMechanism): slight cleanup
7222
7223         * text.C (isBoundary): take a Paragraph const & instead of a
7224         pointer as arg.
7225         (addressBreakPoint): ditto
7226         (leftMargin): remove usage of Paragraph::previous.
7227         (setHeightOfRow): ditto
7228         (cursorLeftOneWord): ditto
7229         (selectNextWordToSpellcheck): ditto
7230         (Delete): ditto
7231         (backspace): ditto
7232         (breakParagraph): remove one usage of Paragraph::next
7233         (redoParagraph): ditto
7234         (acceptChange): ditto
7235         (insertChar): adjust
7236         (rowBreakPoint): adjust
7237
7238         * bufferview_funcs.C (toggleAndShow): adjust
7239
7240 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7241
7242         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7243         methods to access it.
7244         * lyxtext.h:
7245         * text.C: Added updateRowPositions to compute all row positions.
7246         Make top_y and getRowNearY() to use the cached y position
7247
7248 2003-04-11  John Levon  <levon@movementarian.org>
7249
7250         * text.C (rowBreakPoint): reintroduce the labelEnd
7251         checks, code copied from the row fill stuff. Deep voodoo.
7252
7253         * text.C (fill): add a comment and debugging for the
7254         next poor soul.
7255
7256 2003-04-11  John Levon  <levon@movementarian.org>
7257
7258         * text.C: make sure fullrow insets get wrapped to the next line,
7259         even when they're in a manual label
7260
7261 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * text2.C (insertParagraph): make it take ParagraphList::iterator
7264         as arg.
7265         (setLayout): make it return ParagraphList::iterator
7266         (redoParagraphs): ditto
7267         (setCounter): ditto
7268         (checkParagraph): ditto
7269
7270         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7271
7272         * text2.C: adjust several funcs.
7273         (realizeFont): take a ParagraphList::iterator as arg.
7274         (getLayoutFont): ditto
7275         (getLabelFont): ditto
7276         (setCharFont): ditto
7277
7278         * text.C: adjust several funcs.
7279
7280 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7281
7282         * text.C (selectNextWordToSpellcheck): don't accidentally
7283         skip insets
7284
7285 2003-04-10  John Levon  <levon@movementarian.org>
7286
7287         * ToolbarBackend.C (getIcon): special handling for
7288         LFUN_MATH_DELIM
7289
7290 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7291
7292         * text2.C (cursorRight): a getChar assert fixed
7293
7294 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * text2.C (getFont): change to take a ParagraphList::iterator
7297         instead of Paragraph*
7298         Adjust several functions.
7299
7300         * text.C (transformChar): change to take a ParagraphList::iterator
7301         instead of Paragraph*
7302         (singleWidth): ditto
7303         Adjust several functions.
7304
7305         * rowpainter.C: adjust several functions
7306         * rowpainter.h:store a ParagraphList::iterator and not a
7307         Paragraph&.
7308
7309
7310 2003-04-09  John Levon  <levon@movementarian.org>
7311
7312         * lyxfunc.C:
7313         * lfuns.h:
7314         * LyXAction.h:
7315         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7316         and the "help" bits as well
7317
7318 2003-04-09  John Levon  <levon@movementarian.org>
7319
7320         * ToolbarBackend.h:
7321         * ToolbarBackend.C: allow multiple toolbars
7322
7323 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * undo_funcs.C (setCursorParUndo): adjust
7326
7327         * text_funcs.C (transposeChars): adjust
7328
7329         * text3.C (gotoNextInset): adjust
7330         (dispatch): adjust
7331
7332         * text2.C (setLayout): adjust
7333         (changeDepth): adjust
7334         (setFont): adjust
7335         (redoParagraphs): adjust
7336         (selectionAsString): adjust
7337         (setParagraph): adjust
7338         (insertInset): adjust
7339         (cutSelection): adjust
7340         (copySelection): adjust
7341         (pasteSelection): adjust
7342         (insertStringAsLines): adjust
7343         (updateInset): adjust
7344         (setCursor): change to take a ParagraphList::iterator parameter
7345         (setCursorIntern): change to take a ParagraphList::iterator parameter
7346         (setCurrentFont): adjust
7347         (cursorLeft): adjust
7348         (cursorRight): adjust
7349         (deleteEmptyParagraphMechanism): adjust
7350
7351         * text.C (breakParagraph): adjust
7352         (insertChar): adjust
7353         (acceptChange): adjust
7354         (rejectChange): adjust
7355         (selectNextWordToSpellcheck): adjust
7356         (changeCase): adjust
7357         (Delete): adjust
7358         (backspace): adjust
7359
7360         * lyxfind.C (SearchForward): adjust
7361         (SearchBackward): adjust
7362         (nextChange): adjust
7363
7364         * lyxcursor.C (par): adjust
7365
7366         * lyxcursor.h: store a ParagraphList::iterator instead of a
7367         Paragraph*
7368
7369         * lyx_cb.C (getPossibleLabel): adjust
7370
7371         * bufferview_funcs.C (toggleAndShow): adjust
7372
7373         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7374         (dispatch): adjust
7375
7376         * BufferView.C (removeAutoInsets): adjust
7377         (lockedInsetStoreUndo): adjust
7378
7379 2003-04-09  John Levon  <levon@movementarian.org>
7380
7381         * ToolbarBackend.C: try icon without argument
7382         if with argument fails
7383
7384 2003-04-08  John Levon  <levon@movementarian.org>
7385
7386         * ToolbarBackend.h:
7387         * ToolbarBackend.C: add getIcon(), handle tooltip,
7388         and change from "Icon" to "Item".
7389
7390 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7391
7392         * BufferView.C (lockInset): another bad getchar crunched
7393
7394 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7395
7396         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7397         again)
7398
7399 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7400
7401         * lyxfind.C (searchForward, searchBackwards): bug 782
7402
7403 2003-04-07  John Levon  <levon@movementarian.org>
7404
7405         * paragraph.C: remove dead comment
7406
7407         * text.C: remove troublesome depth-fiddling code
7408         in leftMargin() and rightMargin() (bug 1017)
7409
7410         * text.C: fix breaking of rows in nested lists
7411         (bug 1004)
7412
7413         * text2.C (updateCounters): fix up depth values
7414         (bug 1013)
7415
7416 2003-04-07  John Levon  <levon@movementarian.org>
7417
7418         * BufferView_pimpl.C: clear message when doc finishes resizing,
7419         and after a mouse event
7420
7421         * lyxfunc.C: clear message after exiting inset
7422
7423 2003-04-07  John Levon  <levon@movementarian.org>
7424
7425         * bufferview_funcs.C: show math status not outside
7426         status in the statusbar
7427
7428 2003-04-07  John Levon  <levon@movementarian.org>
7429
7430         * lyxfunc.C: note status changed after a depth change
7431
7432 2003-04-04  Angus Leeming  <leeming@lyx.org>
7433
7434         * LaTeX.h: move AuxInfo operator==, != out of line.
7435         Remove LaTeX virtual destructor; nothing derives from it.
7436         Move operator()() out of public area and rename it startscript().
7437         Change protected for private.
7438
7439 2003-04-04  Angus Leeming  <leeming@lyx.org>
7440
7441         * lyxfunc.C:
7442         * text2.C: remove unneeded #includes.
7443
7444 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7445
7446         * text2.C (dEPM): fix the heigth of the next row
7447
7448 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7449
7450         * text.C: squashed an invalid getChar requester + some ws changes
7451
7452 2003-04-03  John Levon  <levon@movementarian.org>
7453
7454         * bufferview_funcs.h:
7455         * bufferview_funcs.C:
7456         * lyxfunc.C:
7457         * lyxtext.h:
7458         * text2.C: make getStatus work for the env depth lfuns
7459
7460 2003-04-03  John Levon  <levon@movementarian.org>
7461
7462         * bufferview_funcs.h:
7463         * bufferview_funcs.C:
7464         * lyxfunc.C:
7465         * lyxtext.h:
7466         * text2.C: parlistize decDepth(), by merging it with incDepth()
7467
7468 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * lyxrow.h: store a ParagraphList::iterator instead of a
7471         Paragraph* and adjust other class functions to suit.
7472
7473         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7474         above.
7475
7476 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7477
7478         * text2.C (setCursor): do not anchor to cursor row for the time being
7479
7480 2003-04-02  John Levon  <levon@movementarian.org>
7481
7482         * LyXAction.C:
7483         * lfuns.h:
7484         * lyx_main.C:
7485         * lyxtext.h:
7486         * text.C:
7487         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7488
7489 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * paragraph.h: make ParagraphList and ParagraphList::iterator
7492         friends of Paragraph.
7493
7494         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7495
7496         * ParagraphList.C: Use the private next_ and previous_ from
7497         Paragraph.
7498
7499 2003-04-01  John Levon  <levon@movementarian.org>
7500
7501         * ToolbarBackend.h:
7502         * ToolbarBackend.C:
7503         * Makefile.am: rename, remove defaults gunk
7504
7505         * MenuBackend.h:
7506         * MenuBackend.C: remove defaults gunk
7507
7508         * Languages.h:
7509         * Languages.C: remove defaults gunk
7510
7511         * lyx_main.h:
7512         * lyx_main.C: error out if files couldn't be found.
7513
7514 2003-04-02  John Levon  <levon@movementarian.org>
7515
7516         * text2.C: make incDepth() use parlist
7517
7518 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * undo_funcs.C (firstUndoParagraph): adjust
7521
7522         * text3.C (gotoInset): adjust
7523         (dispatch): adjust, and rewrite loop.
7524
7525         * text2.C (init): adjust, and rewrite loop.
7526         (redoParagraphs): adjust
7527         (updateInset): adjust, and rewrite loop.
7528         (deleteEmptyParagraphMechanism): adjust
7529
7530         * tabular.C (LyXTabular): adjust
7531         (SetMultiColumn): adjust
7532         (TeXRow): adjust
7533
7534         * lyxtext.[Ch] (ownerParagraph): delete function
7535         (ownerParagraphs): new function returns a ParagraphList.
7536
7537         * BufferView.C (removeAutoInsets): adjust
7538         (insertErrors): adjust
7539         (setCursorFromRow): adjust
7540
7541 2003-04-01  Angus Leeming  <leeming@lyx.org>
7542
7543         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7544         in the frontends.
7545
7546 2003-04-02  John Levon  <levon@movementarian.org>
7547
7548         * lyxtext.h:
7549         * text.C:
7550         * Makefile.am:
7551         * text_funcs.h:
7552         * text_funcs.C: make transposeChars a free function
7553
7554         * lyxrow_funcs.C: remove wrong comment
7555
7556 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * lyxtext.h: adjust
7559         * rowpainter.C: adjust
7560         * text.C: adjust
7561         * text2.C: adjust
7562         * text3.C: adjust
7563
7564         * lyxrow_funcs. [Ch]: new files
7565
7566         * lyxrow.[Ch]: remove next and previous pointers
7567         (next,previous): remove accessor functions
7568         (isParEnd): move to lyxrow_funcs
7569         (lastPos): move to lyxrow_funcs
7570         (nextRowIsAllInset): move to lyxrow_funcs
7571         (lastPrintablePos): move to lyxrow_funcs
7572         (numberOfSeparators): move to lyxrow_funcs
7573         (numberOfHfills): move to lyxrow_funcs
7574         (numberOfLabelHfills): move to lyxrow_funcs
7575         (hfillExpansion): move to lyxrow_funcs
7576
7577         * lyxfunc.C: adjust
7578
7579         * bufferview_funcs.C (toggleAndShow): adjust
7580
7581         * RowList.h: Remove class RowList from file leave just a
7582         std::list<Row>.
7583
7584         * RowList.C: delete file
7585
7586         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7587         and lyxrow_funcs.h
7588
7589 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * text3.C (cursorPrevious): adjust
7592         (cursorNext): adjust
7593         (dispatch): adjust
7594
7595         * text2.C (redoHeightOfParagraph): adjust
7596         (redoDrawingOfParagraph): adjust
7597         (setCursor): adjust
7598
7599         * text.C (breakParagraph): adjust
7600         (insertChar): adjust
7601         (backspace): adjust
7602
7603         * rowpainter.C (RowPainter): adjust
7604         (leftMargin): simplify and adjust
7605         (most rowpainter functions): adjust.
7606
7607         * rowpainter.h: store the row as RowList::iterator not as Row*
7608
7609         * lyxcursor.C (row): taka RowList::iterator as arg
7610         (irow): ditto
7611
7612         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7613         of Row*.
7614
7615 2003-04-01  Angus Leeming  <leeming@lyx.org>
7616
7617         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7618         stuff like bool Bool.
7619
7620 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7621
7622         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7623         rewrite a loop
7624
7625 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7626
7627         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7628         RowList::iterator.
7629
7630         * lyxtext.h (rows): drop one version and leve a const variant that
7631         returns a RowList::iterator.
7632
7633 2003-03-31  Angus Leeming  <leeming@lyx.org>
7634
7635         * text.C (fill): ensure that the signature is the same as that in the
7636         header file.
7637
7638 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * text2.C (redoParagraphs): adjust
7641         (updateCounters): adjust
7642         (checkParagraph): adjust
7643         (getColumnNearX): adjust and reformat a bit.
7644
7645         * text.C (top_y): adjust
7646         (workWidth): adjust
7647         (leftMargin): adjust
7648         (prepareToPrint): adjust
7649         (getRow): adjust
7650         (getRowNearY): adjust
7651
7652         * lyxtext.h: make rowlist_ mutable.
7653
7654         * RowList.h: add const_iterator
7655         * RowList.C: adjust for RowList::const_iterator.
7656
7657         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7658         adjust.
7659
7660 2003-03-31  John Levon  <levon@movementarian.org>
7661
7662         * lyxrc.h:
7663         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7664
7665         * lyx_main.C: set default fonts from using lyx_gui funcs
7666
7667         * exporter.C: pdf_mode moved from lyxrc
7668
7669         * lyx_cb.C:
7670         * lyxfunc.C: changes from above
7671
7672 2003-03-31  John Levon  <levon@movementarian.org>
7673
7674         * lyx_main.C: fix to the last fix
7675
7676 2003-03-31  John Levon  <levon@movementarian.org>
7677
7678         * bufferlist.C: "Load original" -> "Load Original"
7679
7680         * converter.C:
7681         * exporter.C:
7682         * importer.C:
7683         * lyx_main.C:
7684         * format.C: more Alert cleanups
7685
7686 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * text2.C (removeParagraph): make it take a RowList::iterator as
7689         arg, adjust.
7690         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7691         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7692
7693         * text.C (anchor_row): make it take a RowList::iterator as arg,
7694         adjust.
7695         (computeBidiTables): make it take a const reference to Row instead
7696         of Row pointer, adjust.
7697         (leftMargin): make it take a RowList::iterator as arg, adjust.
7698         (rowBreakPoint): adjust
7699         (breakAgainOneRow): make it take a RowList::iterator as arg,
7700         adjust.
7701         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7702
7703         * bufferview_funcs.C (toggleAndShow): adjust
7704
7705 2003-03-30  John Levon  <levon@movementarian.org>
7706
7707         * Makefile.am:
7708         * BoostFormat.h:
7709         * boost-inst.C: moved to support
7710
7711         * several files: changes as a result
7712
7713 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * text2.C (LyXText): adjust.
7716         (init): adjust
7717         (removeRow): make it take a RowList::iterator as arg, adjust.
7718         (fullRebreak): adjust
7719         (deleteEmptyParagraphMechanism): adjust
7720         (clearPaint): adjust
7721         (postPaint): adjust
7722
7723         * text.C (top_y): adjust
7724         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7725         (breakAgain): make it take a RowList::iterator as arg, adjust.
7726         (breakParagraph): adjust
7727         (insertChar): adjust
7728         (backspace): adjust
7729
7730         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7731         need_break_row, and refresh_row.
7732
7733         * text3.C (dispatch): adjust
7734
7735         * text2.C (checkParagraph): adjust
7736         (setCursor): adjust
7737         (setCursorFromCoordinates): adjust
7738
7739         * text.C (top_y): adjust
7740         (workWidth): adjust
7741         (getRow): make it return a RowList::iterator, adjust
7742         (getRowNearY): make it return a RowList::iterator, adjust
7743
7744         * text2.C (init): adjust
7745         (insertRow): remove function
7746         (insertParagraph): adjust
7747         (redoParagraphs): adjust
7748         (fullRebreak): adjust
7749         (updateCounters): adjust
7750
7751         * text.C (top_y): rewrite to use RowList iterators.
7752         (top_y): adjust
7753         (setHeightOfRow): rewrite to sue RowList iterators.
7754         (appendParagraph): adjust
7755         (breakAgain): adjust
7756         (breakAgainOneRow): adjust
7757         (breakParagraph): adjust
7758         (getRow): adjust
7759         (getRowNearY): adjust, and remove commented code.
7760
7761         * lyxtext.h (firstRow): delete function
7762         (lastRow): delete function
7763         (rows): new function (const and non-const versions.)
7764         (insertRow): delete function
7765
7766         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7767
7768 2003-03-29  John Levon  <levon@movementarian.org>
7769
7770         * BufferView_pimpl.C: always update scrollbar top
7771         because pasting text when we're anchored could mean we
7772         miss an update altogether
7773
7774 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * text2.C (init): use rowlist_.end() and not 0.
7777         (insertRow): change to take a RowList::iterator as arg, adjust
7778         for this.
7779         (insertParagraph): change to take a RowList::iterator as arg,
7780         adjust for this.
7781         (redoParagraphs): remove some debug msgs.
7782
7783         * text.C (appendParagraph): change to take a RowList::iterator
7784         arg, adjust for this.
7785         (breakAgain): add an assert
7786         (breakAgainOneRow): ditto
7787
7788 2003-03-29  John Levon  <levon@movementarian.org>
7789
7790         * text2.C: do not clear selection after inc/decDepth
7791         (bug 550)
7792
7793 2003-03-29  John Levon  <levon@movementarian.org>
7794
7795         * BufferView.C:
7796         * buffer.C: fix broken strerrors according to Lars
7797
7798 2003-03-29  John Levon  <levon@movementarian.org>
7799
7800         * converters.C: more Alert cleanups
7801
7802 2003-03-29  John Levon  <levon@movementarian.org>
7803
7804         * bufferview_funcs.C: remove pointless Alert
7805
7806         * buffer.C: fix confusing error message when
7807         a template is chmoded 000
7808
7809 2003-03-29  John Levon  <levon@movementarian.org>
7810
7811         * BufferView.C:
7812         * BufferView.h:
7813         * BufferView_pimpl.C: Alert fixes
7814
7815         * Makefile.am:
7816         * tabular.C:
7817         * tabular-old.C: remove unused table compat reading
7818
7819 2003-03-29  John Levon  <levon@movementarian.org>
7820
7821         * BufferView.C:
7822         * buffer.C:
7823         * lyx_cb.h:
7824         * lyx_cb.C: more Alert cleanups
7825
7826         * lyxfunc.C: don't allow chktex if not latex document
7827
7828 2003-03-29  John Levon  <levon@movementarian.org>
7829
7830         * lyx_cb.C:
7831         * BufferView.C:
7832         * buffer.C: warnings pushed down from support/,
7833         kill err_alert
7834
7835 2003-03-29  John Levon  <levon@movementarian.org>
7836
7837         * lyxfunc.C: safety check for C-r (revert)
7838
7839 2003-03-29  John Levon  <levon@movementarian.org>
7840
7841         * bufferlist.h:
7842         * bufferlist.C: several UI fixes using Alert::prompt.
7843         Fix the pointless looping quit code. Fix stupid revert
7844         behaviour (bug 938)
7845
7846         * lyxvc.h:
7847         * lyxvc.C:
7848         * lyx_cb.C: use Alert::prompt
7849
7850         * lyx_main.C: remove a silly question
7851
7852         * lyxfunc.C: remove a couple of silly questions,
7853         use Alert::prompt
7854
7855 2003-03-28  John Levon  <levon@movementarian.org>
7856
7857         * text2.C: fix bug 974 (End on empty par)
7858
7859 2003-03-28  John Levon  <levon@movementarian.org>
7860
7861         * BufferView_pimpl.C:
7862         * LyXAction.C:
7863         * lfuns.h: remove do-nothing math greek lfuns
7864
7865 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * lyxgluelength.h (isValidGlueLength): add default arg on
7868         parameter 2. Remove default arg from friend in class.
7869
7870         * lyxlength.h (isValidLength): add default arg on parameter 2.
7871         Remove default arg from friend in class.
7872
7873         * text2.C (LyXText): adjust, initialize refresh_row.
7874         (init): adjust
7875         (removeRow): adjust
7876         (insertRow): adjust
7877         (insertParagraph): adjst
7878         (redoParagraphs): adjust
7879         (fullRebreak): adjust
7880         (updateCounters): adjust
7881         (deleteEmptyParagraphMechanism): first attempt at fixing a
7882         crashing bug.
7883
7884         * text.C (top_y): adjust
7885         (setHeightOfRow): adjust
7886         (getRow): adjust
7887         (getRowNearY): adjust
7888
7889         * lyxtext.h: include RowList.h
7890         (~LyXText): not needed anymore, deleted.
7891         (firstRow): modify for RowList
7892         (lastRow): new function
7893         Delete firstrow and lastrow class variables, add a Rowlist
7894         rowlist_ class variable.
7895
7896         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7897         paragraph is empty.
7898
7899         * RowList.C (insert): fix case where it == begin().
7900
7901 2003-03-26  Angus Leeming  <leeming@lyx.org>
7902
7903         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7904         the thesaurus dialog.
7905
7906 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7907
7908         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7909
7910         * RowList.[Ch]: new files
7911
7912         * ParagraphList.C (erase): handle the case where it == begin
7913         correctly.
7914
7915 2003-03-25  John Levon  <levon@movementarian.org>
7916
7917         * Makefile.am:
7918         * aspell_local.h:
7919         * aspell.C: add new aspell support
7920
7921         * lyxrc.h:
7922         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7923         have it accessible.
7924
7925 2003-03-25  Angus Leeming  <leeming@lyx.org>
7926
7927         * lfuns.h:
7928         * LyXAction.C (init): new LFUN_INSET_INSERT.
7929
7930         * BufferView_pimpl.C (dispatch): split out part of the
7931         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7932
7933         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7934         LFUN_INSET_APPLY.
7935
7936 2003-03-25  Angus Leeming  <leeming@lyx.org>
7937
7938         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7939
7940 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7941
7942         * text2.C:
7943         * text3.C: remove useless row->height(0)
7944
7945 2003-03-25  John Levon  <levon@movementarian.org>
7946
7947         * lyxtext.h:
7948         * text2.C:
7949         * text3.C: rename the refreshing stuff to better names
7950
7951 2003-03-24  John Levon  <levon@movementarian.org>
7952
7953         * BufferView_pimpl.h:
7954         * BufferView_pimpl.C: update layout choice on a mouse
7955         press/release
7956
7957 2003-03-23  John Levon  <levon@movementarian.org>
7958
7959         * Makefile.am: fix commandtags.h reference
7960
7961 2003-03-22  John Levon  <levon@movementarian.org>
7962
7963         * BufferView_pimpl.C:
7964         * lyxtext.h:
7965         * rowpainter.C:
7966         * rowpainter.h:
7967         * text.C:
7968         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7969
7970 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7971
7972         * lyxtext.h:
7973         * text.C: take the rtl methods out of line
7974
7975 2003-03-21 André Pönitz <poenitz@gmx.net>
7976
7977         * metricsinfo.[Ch]: new files containing structures to be passed around
7978         during the two-phase-drawing...
7979
7980 2003-03-21 André Pönitz <poenitz@gmx.net>
7981
7982         * lyxtextclass.C: read 'environment' tag.
7983
7984 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7985
7986         * text2.C (removeRow): fix bug 964
7987
7988 2003-03-20  John Levon  <levon@movementarian.org>
7989
7990         * rowpainter.C:
7991         * text.C:
7992         * text2.C: paint cleanups. Inset::update() dropped font
7993         parameter
7994
7995 2003-03-19  John Levon  <levon@movementarian.org>
7996
7997         * lyxfunc.C: only fitcursor/markDirty if available()
7998
7999 2003-03-19  John Levon  <levon@movementarian.org>
8000
8001         * commandtags.h: rename to ...
8002
8003         * lfuns.h: ... this, and renumber / cleanup
8004
8005 2003-03-19  John Levon  <levon@movementarian.org>
8006
8007         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8008         fit the cursor after an lfun
8009
8010         * BufferView.h:
8011         * BufferView.C:
8012         * BufferView_pimpl.h:
8013         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8014
8015         * LyXAction.C: layout-character should have ReadOnly
8016
8017         * ParagraphParameters.C:
8018         * buffer.C:
8019         * bufferview_funcs.C:
8020         * lyx_cb.C:
8021         * lyxfind.C:
8022         * lyxtext.h:
8023         * text.C:
8024         * text2.C:
8025         * text3.C:
8026         * undo_funcs.C: changes from above
8027
8028 2003-03-18  John Levon  <levon@movementarian.org>
8029
8030         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8031         remove it from update()
8032
8033         * lyxfunc.C: update layout choice after an lfun
8034
8035         * text3.C: remove extra updateLayoutChoice()s
8036
8037 2003-03-18  John Levon  <levon@movementarian.org>
8038
8039         * text.C: top_y change means full repaint, fix
8040         a drawing bug with cursor movement
8041
8042 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8043
8044         * lyxtext.h:
8045         * text.C:
8046         * text2.C: anchor row on setCursor
8047
8048 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8049
8050         * lyxtext.h: remove almost all mutable keywords
8051         * text.C:
8052         * text2.C:
8053         * text3.C: remove const keywords accordingly
8054
8055 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8058         anon namespace
8059         (TeXEnvironment): ditto
8060         (TeXOnePar): ditto
8061
8062 2003-03-17  John Levon  <levon@movementarian.org>
8063
8064         * text.C (rowBreakPoint): remove attempt to fix displayed
8065         math insets inside a manual label
8066
8067 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * lyxtext.h: remove BufferView* as first arg from almost all class
8070         functions.
8071         * other files: adjust.
8072
8073 2003-03-17  John Levon  <levon@movementarian.org>
8074
8075         * lyxtext.h:
8076         * undo_funcs.C:
8077         * text2.C: more paint cleanups
8078
8079         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8080
8081         * rowpainter.h:
8082         * rowpainter.C: remove "smart" background painting code
8083
8084 2003-03-16  John Levon  <levon@movementarian.org>
8085
8086         * lyxtext.h:
8087         * text.C:
8088         * text2.C:
8089         * text3.C: add helper functions for setting refresh_row/y
8090
8091 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8092
8093         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8094         newline inset which *can* get inserted in the pass_thru layouts.
8095         This is primarily for literate documents.
8096
8097 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8098
8099         * buffer.C: increment LYX_FORMAT to 223
8100
8101 2003-03-14 André Pönitz <poenitz@gmx.net>
8102
8103         * textclass.h: prepare for environment handling, ws changes
8104         * lyxlayout.C: read latexheader and latexfooter tags
8105
8106 2003-03-14  John Levon  <levon@movementarian.org>
8107
8108         * text2.C: rewrite ::status() a bit
8109
8110 2003-03-13  John Levon  <levon@movementarian.org>
8111
8112         * lyxtext.h: add some docs
8113
8114 2003-03-13  John Levon  <levon@movementarian.org>
8115
8116         * lyxtext.h:
8117         * text.C:
8118         * text2.C:
8119         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8120
8121 2003-03-13  John Levon  <levon@movementarian.org>
8122
8123         * text3.C: fix appendix redrawing
8124
8125 2003-03-13  John Levon  <levon@movementarian.org>
8126
8127         * text.C (setHeightOfRow):
8128         * rowpainter.h:
8129         * rowpainter.C: make appendix mark have the text
8130           "Appendix" so the user knows what it is
8131
8132         * LColor.h:
8133         * LColor.C: s/appendixline/appendix/ from above
8134
8135 2003-03-13  John Levon  <levon@movementarian.org>
8136
8137         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8138
8139         * text.C: fix a getChar(pos) bug properly
8140
8141 2003-03-13  Angus Leeming  <leeming@lyx.org>
8142
8143         * commandtags.h:
8144         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8145         Probably only temporary. Let's see how things pan out.
8146
8147         * BufferView.C (unlockInset):
8148         * BufferView_pimpl.C (fitCursor):
8149         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8150
8151         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8152         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8153
8154         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8155         new functions that convert ParagraphParameters to and from a string.
8156
8157         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8158         BufferView::Pimpl's dispatch.
8159         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8160
8161 2003-03-13 André Pönitz <poenitz@gmx.net>
8162
8163         * lyxfunc.C:
8164         * text3.C:
8165         * factory.C: make it aware of InsetEnv
8166
8167 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8168
8169         * text2.C (setCursor): never ask for one past last
8170         (setCursor): add some debugging messages.
8171
8172         * text.C (singleWidth): never ask for one past last
8173         (singleWidth): ditto
8174         (leftMargin): ditto
8175         (rightMargin): ditto
8176         (rowBreakPoint): ditto
8177         (setHeightOfRow): ditto
8178         (prepareToPrint): ditto
8179
8180         * rowpainter.C (paintBackground): never ask for one past last
8181         (paintText): never ask for one past last
8182
8183         * paragraph_pimpl.C (getChar): make the assert stricter, never
8184         allow the one past last pos to be taken
8185
8186         * paragraph.C (getChar): ws changes only
8187
8188         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8189         (numberOfSeparators): ditto
8190         (numberOfHfills): ditto
8191
8192 2003-03-12  John Levon  <levon@movementarian.org>
8193
8194         * author.h:
8195         * author.C:
8196         * bufferparams.h:
8197         * bufferparams.C:
8198         * paragraph_funcs.C: fix per-buffer authorlists
8199
8200 2003-03-12  John Levon  <levon@movementarian.org>
8201
8202         * text.C: fix newline in right address
8203
8204 2003-03-12  Angus Leeming  <leeming@lyx.org>
8205
8206         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8207         duplicate those in LyXFunc::dispatch.
8208
8209         * commandtags.h:
8210         * LyXAction.C:
8211         * ToolbarDefaults.C:
8212         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8213         Add LFUN_FONTFREE_UPDATE.
8214
8215         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8216         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8217
8218         * bufferview_func.[Ch]: several new functions to facilliate
8219         transfer of data to and from the character dialog.
8220
8221 2003-03-12  John Levon  <levon@movementarian.org>
8222
8223         * buffer.C:
8224         * paragraph.h:
8225         * paragraph.C:
8226         * paragraph_funcs.C:
8227         * paragraph_pimpl.C:
8228         * sgml.C:
8229         * tabular.C:
8230         * text.C:
8231         * text3.C: remove META_NEWLINE in favour of an inset
8232
8233         * rowpainter.h:
8234         * rowpainter.C: remove paintNewline (done by inset)
8235
8236 2003-03-12  John Levon  <levon@movementarian.org>
8237
8238         * paragraph_pimpl.C: complain about bad getChar()s
8239         for a while at least
8240
8241 2003-03-12  John Levon  <levon@movementarian.org>
8242
8243         * buffer.h:
8244         * buffer.C: move paragraph read into a separate function,
8245         a little renaming to reflect that.
8246
8247         * bufferparams.h:
8248         * bufferparams.C: remove the author_ids map, not necessary now
8249
8250         * factory.h:
8251         * factory.C: moved Buffer::readInset to here
8252
8253         * paragraph_funcs.h:
8254         * paragraph_funcs.C: readParagraph free function moved from
8255         buffer.C
8256
8257         * tabular.C: name change
8258
8259 2003-03-12  John Levon  <levon@movementarian.org>
8260
8261         * buffer.C:
8262         * ParagraphParameters.C: move par params input to
8263         a read() method
8264
8265         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8266         behave like a normal read from the stream wrt reading
8267         a line vs. a \\token
8268
8269 2003-03-12  John Levon  <levon@movementarian.org>
8270
8271         * paragraph.C:
8272         * ParagraphParameters.h:
8273         * ParagraphParameters.C: move output code to a
8274         ::write() method
8275
8276 2003-03-12  John Levon  <levon@movementarian.org>
8277
8278         * BufferView.C (insertLyXFile):
8279         * buffer.h:
8280         * buffer.C:
8281         * tabular.C: use a parlist iterator for creating the
8282           document.
8283
8284 2003-03-12  John Levon  <levon@movementarian.org>
8285
8286         * buffer.C: make current_change static local not
8287           static file-scope
8288
8289 2003-03-12  John Levon  <levon@movementarian.org>
8290
8291         * buffer.C: fix insertStringAsLines for change tracking
8292
8293 2003-03-12  John Levon  <levon@movementarian.org>
8294
8295         * BufferView.C:
8296         * tabular.C:
8297         * buffer.h:
8298         * buffer.C:
8299         * bufferparams.h:
8300         * bufferparams.C: move author list into params. Rename some
8301           functions. Move the header reading into a separate token
8302           loop. Move the header token reading into BufferParams.
8303
8304 2003-03-12  John Levon  <levon@movementarian.org>
8305
8306         * changes.C: put debug inside lyxerr.debugging() checks
8307
8308 2003-03-11 André Pönitz <poenitz@gmx.net>
8309
8310         * factory.C: make it aware of InsetHFill
8311
8312 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8313
8314         * buffer.C (latexParagraphs): move function from here...
8315         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8316         args.
8317
8318 2003-03-10  Angus Leeming  <leeming@lyx.org>
8319
8320         * LyXAction.C (init): fix bug in poplating array with multiple entries
8321         with the same LFUN (spotted by JMarc).
8322
8323 2003-03-10  John Levon  <levon@movementarian.org>
8324
8325         * text.C:
8326         * text2.C: move getColumnNearX() near its
8327         only call site
8328
8329 2003-03-10  John Levon  <levon@movementarian.org>
8330
8331         * text.C: fix break before a minipage
8332
8333 2003-03-10  John Levon  <levon@movementarian.org>
8334
8335         * text.C: fix the last commit
8336
8337 2003-03-09  John Levon  <levon@movementarian.org>
8338
8339         * lyxtext.h:
8340         * text.C:
8341         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8342         bug 365 (don't break before insets unless needed). Don't
8343         return a value > last under any circumstances.
8344
8345 2003-03-09  Angus Leeming  <leeming@lyx.org>
8346
8347         * BufferView_pimpl.C (trackChanges, dispatch): call
8348         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8349
8350 2003-03-09  Angus Leeming  <leeming@lyx.org>
8351
8352         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8353         than Dialogs::showAboutlyx().
8354
8355 2003-03-09  Angus Leeming  <leeming@lyx.org>
8356
8357         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8358         than Dialogs::showTabularCreate().
8359
8360 2003-03-09  John Levon  <levon@movementarian.org>
8361
8362         * lyxtext.h:
8363         * text.C:
8364         * text2.C: 3rd arg to nextBreakPoint was always the same.
8365           Use references.
8366
8367 2003-03-08  John Levon  <levon@movementarian.org>
8368
8369         * lyxrow.C:
8370         * paragraph.C:
8371         * paragraph.h:
8372         * rowpainter.C:
8373         * text.C:
8374         * text2.C: Remove the "main" bit from the "main body"
8375           notion.
8376
8377 2003-03-08  John Levon  <levon@movementarian.org>
8378
8379         * text.C (leftMargin): The left margin of an empty
8380         manual label paragraph should not include the label width
8381         string length.
8382
8383         * text.C (prepareToPrint): don't attempt to measure hfills
8384         for empty manual label paragraphs - the answer should be 0
8385
8386 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * CutAndPaste.C: remove commented code and reindent.
8389
8390 2003-03-08  John Levon  <levon@movementarian.org>
8391
8392         * lyxfunc.h:
8393         * lyxfunc.C: move reloadBuffer()
8394
8395         * BufferView.h:
8396         * BufferView.C: to here
8397
8398         * lyxvc.C: add comment
8399
8400         * vc-backend.h:
8401         * vc-backend.C: call bv->reload() to avoid
8402           getStatus() check on MENURELOAD
8403
8404 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8405
8406         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8407         to an old format .dep file.
8408
8409 2003-03-07  Angus Leeming  <leeming@lyx.org>
8410
8411         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8412         when the LFUN_MOUSE_RELEASE should have been handled by
8413         inset->localDispatch.
8414
8415 2003-03-07  Angus Leeming  <leeming@lyx.org>
8416
8417         * BufferView_pimpl.C (dispatch):
8418         * LyXAction.C (init):
8419         * ToolbarDefaults.C (init):
8420         * commandtags.h:
8421         * lyxfunc.C (getStatus):
8422         remove LFUN_INSET_GRAPHICS.
8423
8424         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8425
8426 2003-03-07  Angus Leeming  <leeming@lyx.org>
8427
8428         * commandtags.h:
8429         * LyXAction.C (init):
8430         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8431
8432         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8433
8434         * commandtags.h:
8435         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8436
8437         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8438         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8439
8440 2003-03-07  Angus Leeming  <leeming@lyx.org>
8441
8442         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8443         remove "ert".
8444
8445 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8446
8447         * ParagraphList.C (front): new function
8448         (back): implement
8449
8450 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8451
8452         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8453         and top_row_offset_. removed var first_y.
8454         * text.C (top_y):
8455         * text2.C (LyXText, removeRow):
8456         * text3.C:
8457         * BufferView_pimpl.C:
8458         use these methods instead of using first_y
8459
8460 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8461
8462         * text2.C (pasteSelection): adjust for checkPastePossible
8463
8464         * CutAndPaste.C: remove Paragraph * buf and replace with
8465         ParagraphList paragraphs.
8466         (DeleteBuffer): delete
8467         (cutSelection): change the tc type to textclass_type
8468         (copySelection): change the tc type to textclass_type
8469         (copySelection): adjust for ParagraphList
8470         (pasteSelection): change the tc type to textclass_type
8471         (pasteSelection): adjust for Paragraphlist
8472         (nrOfParagraphs): simplify for ParagraphList
8473         (checkPastePossible): simplify for ParagraphList
8474         (checkPastePossible): remove unused arg
8475
8476         * ParagraphList.C (insert): handle the case where there are no
8477         paragraphs yet.
8478
8479         * CutAndPaste.h: make CutAndPaste a namespace.
8480
8481         * text3.C (dispatch): adjust
8482
8483         * text.C (breakParagraph): add a ParagraphList as arg
8484
8485         * paragraph_funcs.C (breakParagraph): change to take a
8486         BufferParams and a ParagraphList as args.
8487         (breakParagraphConservative): ditto
8488         (mergeParagraph): ditto
8489         (TeXDeeper): add a ParagraphList arg
8490         (TeXEnvironment): ditto
8491         (TeXOnePar): ditto
8492
8493         * buffer.C (readLyXformat2): adjust
8494         (insertStringAsLines): adjust
8495         (latexParagraphs): adjust
8496
8497         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8498         (cutSelection): adjust
8499         (pasteSelection): adjust
8500
8501         * BufferView_pimpl.C (insertInset): adjust
8502
8503 2003-03-05  Angus Leeming  <leeming@lyx.org>
8504
8505         * commandtags.h:
8506         * LyXAction.C (init):
8507         * BufferView_pimpl.C (dispatch):
8508         * lyxfunc.C (getStatus):
8509         remove LFUN_CHILD_INSERT.
8510
8511         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8512
8513 2003-03-05  Angus Leeming  <leeming@lyx.org>
8514
8515         * commandtags.h:
8516         * LyXAction.C (init):
8517         * src/factory.C (createInset):
8518         * lyxfunc.C (getStatus):
8519         * text3.C (dispatch):
8520         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8521
8522         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8523
8524 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * ParagraphList.C (insert): handle insert right before end()
8527         (erase): fix cases where it can be first or last paragraph.
8528
8529 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8532         Paragraph::next and Paragraph::previous
8533         (TeXOnePar): ditto
8534
8535         * text.C (breakParagraph): adjust
8536
8537         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8538         BufferParams& as arg.
8539         (breakParagraph): use ParagraphList::insert
8540         (breakParagraphConservative): take a Buffer* instead of a
8541         BufferParams& as arg.
8542         (breakParagraphConservative): use ParagraphList::insert.
8543
8544         * buffer.C (insertStringAsLines): un-const it
8545         (insertStringAsLines): adjust
8546
8547         * ParagraphList.C (insert): new function
8548
8549         * CutAndPaste.C (pasteSelection): adjust
8550
8551         * text.C (backspace): adjust
8552
8553         * tabular.C (SetMultiColumn): adjust
8554
8555         * CutAndPaste.C (cutSelection): adjust
8556         (pasteSelection): adjust
8557
8558         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8559         Buffer const * as arg
8560
8561         * ParagraphList.C (erase): new function
8562         * paragraph_funcs.C (mergeParagraph): use it
8563         (mergeParagraph): make it take a Buffer* instead of a
8564         BufferParams* as arg
8565
8566         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8567         as arg
8568         (breakParagraphConservative): ditto
8569
8570         * paragraph.h: remove the breakParagraph friend
8571
8572         * paragraph.C (eraseIntern): new function
8573         (setChange): new function
8574
8575         * paragraph_funcs.C (mergeParagraph): make it take a
8576         ParagraphList::iterator instead of a Paragraph *, adjust
8577         accordingly.
8578
8579         * paragraph.h: move an #endif so that the change tracking stuff
8580         also works in the NO_NEXT case.
8581
8582 2003-03-04  Angus Leeming  <leeming@lyx.org>
8583
8584         * commandtags.h:
8585         * LyXAction.C: new LFUN_INSET_MODIFY.
8586
8587         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8588         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8589
8590 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8591
8592         * several files: ws changes only
8593
8594         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8595         (TeXEnvironment): ditto
8596         (TeXDeeper): ditto
8597
8598         * buffer.C (makeLaTeXFile): adjust
8599         (latexParagraphs): make it take ParagraphList::iterator as args
8600
8601 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * buffer.C (latexParagraphs): adjust
8604
8605         * paragraph.C (TeXOnePar): move function...
8606         (optArgInset): move function...
8607         (TeXEnvironment): move function...
8608         * paragraph_pimpl.C (TeXDeeper): move function...
8609         * paragraph_funcs.C: ...here
8610
8611         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8612
8613 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8614
8615         * buffer.C (readInset): remove compability code for old Figure and
8616         InsetInfo insets
8617
8618 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * buffer.C: ws changes
8621         (readInset):
8622
8623         * BufferView_pimpl.C: ditto
8624         * author.C: ditto
8625         * buffer.h: ditto
8626         * bufferlist.h: ditto
8627         * changes.h: ditto
8628         * lyxfunc.C: ditto
8629
8630 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8631
8632         * converter.[Ch]: split into itself +
8633         * graph.[Ch]
8634         * format.[Ch]
8635         * Makefile.am: += graph.[Ch] + format.[Ch]
8636         * MenuBackend.C
8637         * buffer.C
8638         * exporter.C
8639         * importer.C
8640         * lyx_main.C
8641         * lyxfunc.C
8642         * lyxrc.C: added #include "format.h"
8643
8644 2003-02-27  Angus Leeming  <leeming@lyx.org>
8645
8646         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8647           a label.
8648
8649         * factory.C (createInset): add "label" to the factory.
8650
8651         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8652           string and do no more.
8653
8654 2003-02-27  Angus Leeming  <leeming@lyx.org>
8655
8656         * commandtags.h:
8657         * LyXAction.C (init):
8658         * factory.C (createInset):
8659         * BufferView_pimpl.C (dispatch):
8660           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8661
8662         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8663
8664         * lyxfunc.C (dispatch):
8665         * text3.C (dispatch): pass name to params2string.
8666
8667 2003-02-26  Angus Leeming  <leeming@lyx.org>
8668
8669         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8670           blocks together.
8671           Rearrange the ~includes. Strip out the unnecessary ones.
8672
8673         * factory.C (createInset): reformat.
8674           create new insets for the various LFUN_XYZ_APPLY lfuns.
8675
8676 2003-02-26  John Levon  <levon@movementarian.org>
8677
8678         * lyxrow.h:
8679         * lyxrow.C: add isParStart,isParEnd helpers
8680
8681         * paragraph.h: make isInserted/DeletedText take refs
8682
8683         * paragraph_funcs.h:
8684         * paragraph_funcs.C: remove #if 0'd code
8685
8686         * lyxtext.h:
8687         * text3.C:
8688         * text2.C:
8689         * text.C: use lyxrow helpers above.
8690           Move draw and paint routines to RowPainter.
8691           Make several methods use refs not pointers.
8692           Make backgroundColor() const.
8693           Add markChangeInDraw(), isInInset().
8694           Merge changeRegionCase into changeCase.
8695           Make workWidth() shouldn't-happen code into an Assert.
8696
8697         * rowpainter.h:
8698         * rowpainter.C: new class for painting a row.
8699
8700         * vspace.h:
8701         * vspace.C: make inPixels take a ref
8702
8703 2003-02-26  Angus Leeming  <leeming@lyx.org>
8704
8705         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8706         LFUN_REF_APPLY.
8707
8708 2003-02-25  John Levon  <levon@movementarian.org>
8709
8710         * ispell.C: give the forked command a more accurate name
8711
8712 2003-02-22  John Levon  <levon@movementarian.org>
8713
8714         * toc.h:
8715         * toc.C: make TocItem store an id not a Paragraph *
8716           (bug #913)
8717
8718 2003-02-21  Angus Leeming  <leeming@lyx.org>
8719
8720         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8721           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8722           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8723           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8724           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8725           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8726
8727         * BufferView_pimpl.C (dispatch):
8728         * LyXAction.C (init):
8729         * factory.C (createInset):
8730         * lyxfunc.C (getStatus, dispatch):
8731         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8732
8733 2003-02-21  Angus Leeming  <leeming@lyx.org>
8734
8735         * BufferView_pimpl.C (MenuInsertLyXFile):
8736         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8737         * lyxfunc.C (menuNew, open, doImport):
8738           no longer pass a LyXView & to fileDlg.
8739
8740 2003-02-21  Angus Leeming  <leeming@lyx.org>
8741
8742         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8743         * LyXAction.C: change, BIBKEY to BIBITEM.
8744         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8745         Change InsetBibKey to InsetBibitem.
8746         Change BIBKEY_CODE to BIBITEM_CODE.
8747         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8748         * factory.C: replace insetbib.h with insetbibitem.h.
8749         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8750         * paragraph.C: replace insetbib.h with insetbibitem.h.
8751         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8752         Change bibkey() to bibitem().
8753         * text.C: remove insetbib.h.
8754         * text2.C: replace insetbib.h with insetbibitem.h.
8755         change bibkey() to bibitem().
8756         * text3.C: remove insetbib.h.
8757         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8758
8759 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8760
8761         * lyxrc.C (output): enclose user email in quotes (in case there are
8762         several words)
8763
8764 2003-02-18  John Levon  <levon@movementarian.org>
8765
8766         * buffer.h: add std::
8767
8768 2003-02-17  John Levon  <levon@movementarian.org>
8769
8770         * SpellBase.h:
8771         * ispell.h:
8772         * ispell.C:
8773         * pspell.h:
8774         * pspell.C: reworking. Especially in ispell, a large
8775           number of clean ups and bug fixes.
8776
8777         * lyxfunc.C: fix revert to behave sensibly
8778
8779 2003-02-17 André Pönitz <poenitz@gmx.net>
8780
8781         * LyXAction.C:
8782         * commandtags.h: new LFUN_INSERT_BIBKEY
8783
8784         * layout.h:
8785         * lyxlayout.C:
8786         * buffer.C:
8787         * factory.C:
8788         * text.C:
8789         * text2.C:
8790         * text3.C:
8791         * paragraph.[Ch]:
8792         * paragraph_func.C: remove special bibkey handling
8793
8794 2003-02-17  John Levon  <levon@movementarian.org>
8795
8796         * text.C (Delete): fix case where delete at the end of
8797           the very first paragraph would not merge the pars
8798
8799 2003-02-17  John Levon  <levon@movementarian.org>
8800
8801         * lyxrow.C: fix lastPrintablePos()
8802
8803 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8804
8805         * bufferparams.C (writeLaTeX): add a std:here
8806
8807         * buffer.C: and remove a using directive there
8808
8809 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8810
8811         * buffer.C (makeLaTeXFile): move the code that generates the
8812           preamble...
8813
8814         * bufferparams.C (writeLaTeX): ... in this new method
8815
8816         * LaTeXFeatures.C (getEncodingSet): make const
8817           (getLanguages): make const
8818
8819         * MenuBackend.C (binding): returns the binding associated to this
8820           action
8821           (add): sets the status of each item by calling getStatus. Adds
8822           some intelligence.
8823           (read): add support for OptSubMenu
8824           (expand): remove extra separator at the end of expanded menu
8825
8826 2003-02-15  John Levon  <levon@movementarian.org>
8827
8828         * BufferView.C:
8829         * BufferView_pimpl.C:
8830         * bufferlist.h:
8831         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8832           inset code that had no actual effect. Remove unneeded status
8833           code.
8834
8835 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8836
8837         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8838           in preamble
8839
8840 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8841
8842         * text.C (drawLengthMarker): also draw an arrow marker for
8843           symbolic lengths (medskip...)
8844
8845 2003-02-14  John Levon  <levon@movementarian.org>
8846
8847         * tabular.h:
8848         * tabular.C: better method names
8849
8850 2003-02-14  John Levon  <levon@movementarian.org>
8851
8852         * BufferView_pimpl.C:
8853         * bufferlist.C:
8854         * buffer.C:
8855         * converter.C:
8856         * lyx_cb.C:
8857         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8858           it's a more accurate name. Remove some pointless uses.
8859
8860 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8861
8862         * text2.C (LyXText): change order of initilizers to shut off
8863           warnings
8864
8865 2003-02-14  John Levon  <levon@movementarian.org>
8866
8867         * buffer.C: use ParIterator for getParFromID()
8868
8869         * paragraph.h:
8870         * paragraph.C:
8871         * paragraph_pimpl.h:
8872         * paragraph_pimpl.C: remove unused getParFromID()
8873
8874 2003-02-14  John Levon  <levon@movementarian.org>
8875
8876         * buffer.C: remove some very old #if 0'd parse code
8877
8878 2003-02-13  John Levon  <levon@movementarian.org>
8879
8880         * text.h:
8881         * text.C:
8882         * text2.C: move hfillExpansion(), numberOfSeparators(),
8883           rowLast(), rowLastPrintable(), numberofHfills(),
8884           numberOfLabelHfills() ...
8885
8886         * lyxrow.h:
8887         * lyxrow.C: ... to member functions here.
8888
8889         * paragraph.h:
8890         * paragraph.C:
8891         * lyxtext.h:
8892         * text.C: remove LyXText::beginningOfMainBody(), and call
8893           p->beginningOfMainBody() directly. Move the check for
8894           LABEL_MANUAL into the latter.
8895
8896         * text.h:
8897         * text.C:
8898         * text2.C:
8899         * vspace.C:
8900         * BufferView.h:
8901         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8902
8903         * text.h:
8904         * text.C:
8905         * text2.C:
8906         * text3.C:
8907         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8908           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8909
8910 2003-02-13  John Levon  <levon@movementarian.org>
8911
8912         * CutAndPaste.C: remove debug
8913
8914 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8915
8916         * paragraph.C (asString): remove two unused variables
8917
8918         * lyxtextclass.C (readTitleType):
8919           (Read):
8920           (LyXTextClass): handle new members titletype_ and titlename_
8921
8922         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8923
8924 2003-02-09  John Levon  <levon@movementarian.org>
8925
8926         * buffer.h:
8927         * buffer.C: replace hand-coded list with a map for the dep clean
8928
8929 2003-02-08  John Levon  <levon@movementarian.org>
8930
8931         * LaTeX.C: consolidate code into showRunMessage() helper
8932
8933 2003-02-08  John Levon  <levon@movementarian.org>
8934
8935         * lyxfind.C:
8936         * lyxtext.h:
8937         * text2.C:
8938         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8939           and pass the size in explicitly
8940
8941         * BufferView_pimpl.h:
8942         * BufferView_pimpl.C:
8943         * BufferView.h:
8944         * BufferView.C: add getCurrentChange()
8945
8946         * BufferView_pimpl.h:
8947         * BufferView_pimpl.C: handle change lfuns
8948
8949         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8950           for changes. Mark pasted paragraphs as new.
8951
8952         * support/lyxtime.h:
8953         * support/lyxtime.C:
8954         * DepTable.C: abstract time_t as lyx::time_type
8955
8956         * LColor.h:
8957         * LColor.C: add colours for new text, deleted text, changebars
8958
8959         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8960           package use "usenames" option.
8961
8962         * commandtags.h:
8963         * lyxfunc.C:
8964         * LyXAction.C: add change lfuns
8965
8966         * Makefile.am:
8967         * author.h:
8968         * author.C: author handling
8969
8970         * buffer.h:
8971         * buffer.C: add a per-buffer author list, with first entry as
8972           current author. Handle new .lyx tokens for change tracking. Output
8973           author list to .lyx file. Output dvipost stuff to .tex preamble.
8974           Bump lyx format to 222.
8975
8976         * bufferlist.h:
8977         * bufferlist.C: add setCurrentAuthor() to reset current author details
8978           in all buffers.
8979
8980         * bufferparams.h:
8981         * bufferparams.C: add param for tracking
8982
8983         * bufferview_funcs.C: output change info in minibuffer
8984
8985         * Makefile.am:
8986         * changes.h:
8987         * changes.C: add change-tracking structure
8988
8989         * debug.h:
8990         * debug.C: add CHANGES debug flag
8991
8992         * lyxfind.h:
8993         * lyxfind.C: add code for finding the next change piece
8994
8995         * lyxrc.h:
8996         * lyxrc.C: add user_name and user_email
8997
8998         * lyxrow.h:
8999         * lyxrow.C: add a metric for the top of the text line
9000
9001         * lyxtext.h:
9002         * text.C: implement accept/rejectChange()
9003
9004         * lyxtext.h:
9005         * text.C: paint changebars. Paint new/deleted text in the chosen
9006         colours. Strike through deleted text.
9007
9008         * paragraph.h:
9009         * paragraph.C:
9010         * paragraph_pimpl.h:
9011         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9012           in the current change to the insert functions. Rework erase to
9013           mark text as deleted, adding an eraseIntern() and a range-based
9014           erase(). Implement per-paragraph change lookup and
9015           accept/reject.
9016
9017         * paragraph_funcs.C: Fixup paste for change tracking.
9018
9019         * tabular.C: mark added row/columns as new.
9020
9021         * text.C: fix rowLast() to never return -1. Don't allow
9022           spellchecking of deleted text. Track transpose changes. Don't
9023           allow paragraph break or merge where appropriate.
9024
9025         * text2.C: leave cursor at end of selection after a cut.
9026
9027 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9028
9029         * text.C (getLengthMarkerHeight):
9030         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9031         visible on screen too.
9032
9033 2003-02-07  John Levon  <levon@movementarian.org>
9034
9035         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9036
9037 2003-02-05  Angus Leeming  <leeming@lyx.org>
9038
9039         * lyxserver.C (read_ready): revert my patch of 11 September last year
9040         as it sends PC cpu through the roof. Presumably this means that
9041         the lyxserver will no longer run on an Alpha...
9042
9043 2003-01-30  Angus Leeming  <leeming@lyx.org>
9044
9045         * factory.C (createInset): create an InsetCommandParam of type "index"
9046         and use it to 'do the right thing'.
9047
9048         * text2.C (getStringToIndex): ensure that cursor position is always
9049         reset to the reset_cursor position.
9050
9051 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9052
9053         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9054         disabled.
9055
9056 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9057
9058         * bufferview.C:
9059         * lyxcb.C:
9060         * lyxfunc.C: Output messages with identical spelling, punctuation,
9061         and spaces
9062
9063 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9064
9065         * MenuBackend.C (expandFormats): List only viewable export formats
9066         in "View" menu
9067
9068         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9069         message
9070
9071         * lyxfunc.C (getStatus): Make sure that formats other than
9072         "fax" can also be disabled
9073
9074 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9075
9076         * text3.C (dispatch): put the lfuns that insert insets in 3
9077         groups, and call doInsertInset with appropriate arguments.
9078         (doInsertInset): new function, that creates an inset and inserts
9079         it according to some boolean parameters.
9080
9081 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9082
9083         * buffer.C (readFile): remember to pass on 'par' when calling
9084         readFile recursively.
9085
9086 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9087
9088         * MenuBackend.C (expandFormats): add "..." to import formats.
9089
9090 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9091
9092         * paragraph.C (asString): Remove XForms RTL hacks.
9093
9094 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9095         * buffer.C: fix typo
9096
9097 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9098
9099         * Makefile.am (LIBS): delete var
9100         (lyx_LDADD): add @LIBS@ here instead.
9101
9102 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9103
9104         * Clarify the meaning of "wheel mouse jump"
9105
9106 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9107
9108         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9109         tabular in a float
9110
9111 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9112
9113         * importer.C (Loaders): do not preallocate 3 elements in the
9114         vector, since one ends up with 6 elements otherwise
9115
9116 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9117
9118         * DepTable.C (write): write the file name as last element of the
9119         .dep file (because it may contain spaces)
9120         (read): read info in the right order
9121
9122 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9123
9124         * paragraph_pimpl.C (simpleTeXBlanks):
9125         (simpleTeXSpecialChars):
9126         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9127
9128         * tabular.C (latex): add some missing case statements. Reindent.
9129
9130         * MenuBackend.C (expandToc): remove unused variable.
9131
9132 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9133
9134         * LColor.C:
9135         * LaTeX.C:
9136         * LyXAction.C:
9137         * MenuBackend.C:
9138         * buffer.C:
9139         * exporter.C:
9140         * lyxfunc.C:
9141         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9142         and the like.
9143
9144 2003-01-05  John Levon  <levon@movementarian.org>
9145
9146         * BufferView.h:
9147         * BufferView.C: add getEncoding()
9148
9149         * kbsequence.h:
9150         * kbsequence.C: do not store last keypress
9151
9152         * lyxfunc.h:
9153         * lyxfunc.C: store last keypress here instead. Pass encoding
9154           to getISOEncoded()
9155
9156 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9157
9158         * lyx_main.C (init): remove annoying error message when following
9159         symbolic links (bug #780)
9160
9161 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9162
9163         * text.C (insertChar):
9164         * lyxrc.C (getDescription): remove extra spaces
9165
9166 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9167
9168         * lyxrc.C (getDescription): remove extra spaces
9169
9170 2002-12-20  John Levon  <levon@movementarian.org>
9171
9172         * text3.C: hack fix for page up/down across tall rows
9173
9174 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9175
9176         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9177         not been invoked
9178
9179 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9180
9181         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9182         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9183         thesaurus is not compiled in
9184
9185 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9186
9187         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9188
9189 2002-12-16  Angus Leeming  <leeming@lyx.org>
9190
9191         * lyxrc.[Ch]:
9192         * lyx_main.C (init): remove override_x_deadkeys stuff.
9193
9194 2002-12-12  John Levon  <levon@movementarian.org>
9195
9196         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9197           insert. Only remove shift modifier under strict
9198           circumstances.
9199
9200 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * MenuBackend.C (expandToc): fix crash.
9203
9204 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9205
9206         * MenuBackend.C (expandToc): gettext on float names.
9207
9208 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9209
9210         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9211         implement bool empty() [bug 490]
9212
9213 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9214
9215         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9216
9217 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * several files: ws changes
9220
9221 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9222
9223         * text2.C (setCounter): clean up a bit, use boost.format.
9224         (updateCounters): initialize par upon declaration.
9225
9226         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9227         if the layout exists. We do not just store the layout any more.
9228         (SwitchLayoutsBetweenClasses): use boost.format
9229
9230 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9231
9232         * converter.C (convert): if from and to files are the same, use a
9233         temporary files as intermediary
9234
9235 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9236
9237         * commandtags.h:
9238         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9239
9240 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9243
9244 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9245
9246         * tabular.C (asciiPrintCell): use string(size, char) instead of
9247         explicit loop.
9248
9249         * sgml.C (openTag): fix order of arguments to string constructor
9250         (closeTag): ditto
9251
9252         * lyxfunc.C (dispatch): use boost.format
9253
9254         * lots of files: change "c" -> 'c'
9255
9256 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9257
9258         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9259
9260 2002-11-25  Angus Leeming  <leeming@lyx.org>
9261
9262         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9263
9264         * lyx_main.C (init): compile fix.
9265
9266 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * lyx_cb.C (start): boost.formatify
9269         do not include <iostream>
9270
9271         * lengthcommon.C: ws only
9272
9273         * boost-inst.C,BoostFormat.h: add more explict instantations
9274
9275 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9276
9277         * lots of files: handle USE_BOOST_FORMAT
9278
9279 2002-11-21  John Levon  <levon@movementarian.org>
9280
9281         * pspell.C: fix compile
9282
9283 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9284
9285         * lyxfunc.C (dispatch): use boost::format
9286         (open): ditto
9287         (doImport): ditto
9288
9289         * lyxfont.C (stateText): use boost::format
9290
9291         * lyx_main.C (LyX): use boost::format
9292         (init): ditto
9293         (queryUserLyXDir): ditto
9294         (readRcFile): ditto
9295         (parse_dbg): ditto
9296         (typedef boost::function): use the recommened syntax.
9297
9298         * importer.C (Import): use boost::format
9299
9300         * debug.C (showLevel): use boost::format
9301
9302         * converter.C (view): use boost::format
9303         (convert): ditto
9304         (move): ditto
9305         (scanLog): ditto
9306
9307         * bufferview_funcs.C (currentState): use boost::format
9308
9309         * bufferlist.C (emergencyWrite): use boost::format
9310
9311         * buffer.C (readLyXformat2): use boost::format
9312         (parseSingleLyXformat2Token): ditto
9313
9314         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9315
9316         * LaTeX.C (run): use boost::format
9317
9318         * Chktex.C (scanLogFile): use boost::format
9319
9320         * BufferView_pimpl.C (savePosition): use boost::format
9321         (restorePosition): ditto
9322         (MenuInsertLyXFile): ditto
9323
9324         * BoostFormat.h: help file for explicit instation.
9325
9326 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9327
9328         * tabular.C (latex): Support for block alignment in fixed width
9329         columns.
9330
9331 2002-11-17  John Levon  <levon@movementarian.org>
9332
9333         * BufferView_pimpl.C:
9334         * lyx_cb.C:
9335         * lyxfunc.C: split filedialog into open/save
9336
9337 2002-11-08  Juergen Vigna  <jug@sad.it>
9338
9339         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9340         by my last patch (hopefully).
9341
9342 2002-11-08  John Levon  <levon@movementarian.org>
9343
9344         * iterators.h:
9345         * iterators.C:
9346         * buffer.h:
9347         * buffer.C:
9348         * paragraph.h:
9349         * paragraph.C:
9350         * toc.h:
9351         * toc.C: ParConstIterator, and use it (from Lars)
9352
9353 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9354
9355         * lyxtextclass.[Ch]: revise and add doxygen comments
9356
9357 2002-11-07  John Levon  <levon@movementarian.org>
9358
9359         * text.C: fix progress value for spellchecker
9360
9361         * toc.C: fix navigate menu for insetwrap inside minipage
9362
9363         * paragraph_funcs.C: added FIXME for suspect code
9364
9365 2002-11-07  John Levon  <levon@movementarian.org>
9366
9367         * BufferView_pimpl.C: fix redrawing of insets
9368           on buffer switch
9369
9370 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9371
9372         * text2.C (updateCounters): fix bug 668
9373
9374 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9375
9376         * text3.C (dispatch): Do not make the buffer dirty when moving the
9377         cursor.
9378
9379 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9380
9381         * vc-backend.C: STRCONV
9382         (scanMaster): ditto
9383
9384         * text2.C (setCounter): STRCONV
9385
9386         * paragraph.C (asString): STRCONV
9387
9388         * lyxlength.C (asString): STRCONV
9389         (asLatexString): ditto
9390
9391         * lyxgluelength.C (asString): STRCONV
9392         (asLatexString): ditto
9393
9394         * lyxfunc.C (dispatch): STRCONV
9395         (open): ditto
9396
9397         * lyxfont.C (stateText): STRCONV
9398
9399         * importer.C (Import): STRCONV
9400
9401         * counters.C (labelItem): STRCONV
9402         (numberLabel): ditto
9403         (numberLabel): remove unused ostringstream o
9404
9405         * chset.C: STRCONV
9406         (loadFile): ditto
9407
9408         * bufferview_funcs.C (currentState): STRCONV
9409
9410         * buffer.C (readFile): STRCONV
9411         (asciiParagraph): ditto
9412         (makeLaTeXFile): ditto
9413
9414         * Spacing.C (writeEnvirBegin): STRCONV
9415
9416         * LaTeXFeatures.C (getLanguages): STRCONV
9417         (getPackages): ditto
9418         (getMacros): ditto
9419         (getBabelOptions): ditto
9420         (getTClassPreamble): ditto
9421         (getLyXSGMLEntities): ditto
9422         (getIncludedFiles): ditto
9423
9424         * LaTeX.C: STRCONV
9425         (run): ditto
9426         (scanAuxFile): ditto
9427         (deplog): ditto
9428
9429         * LString.h: add the STRCONV macros
9430
9431         * BufferView_pimpl.C (savePosition): STRCONV
9432         (restorePosition): ditto
9433         (MenuInsertLyXFile): ditto
9434
9435         * vc-backend.C (scanMaster): change from submatch[...] to
9436         submatch.str(...)
9437
9438         * funcrequest.C: include config.h
9439
9440         * factory.C: include config.h
9441
9442         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9443
9444         * box.C: include config.h
9445
9446         * LaTeX.C (scanAuxFile): change from submatch[...] to
9447         submatch.str(...)
9448         (deplog): ditto
9449
9450 2002-10-25  Angus Leeming  <leeming@lyx.org>
9451
9452         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9453
9454         * ispell.[Ch] (setError): new method.
9455         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9456         Use setError() insetead of goto END.
9457
9458         * lyx_cb.C (AutoSave): move out child process into new class
9459         AutoSaveBuffer.
9460
9461 2002-10-30  John Levon  <levon@movementarian.org>
9462
9463         * text3.C: make start appendix undoable
9464
9465 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9466
9467         * lyxlength.C (inPixels): Fix returned value.
9468
9469         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9470         environment.
9471
9472 2002-10-24  Angus Leeming  <leeming@lyx.org>
9473
9474         * lyxgluelength.h: no need to forward declare BufferParams
9475         or BufferView, so don't.
9476
9477 2002-10-21  John Levon  <levon@movementarian.org>
9478
9479         * BufferView.C: menuUndo ->undo, redo
9480
9481         * BufferView.h: document, remove dead, make some methods private
9482
9483         * paragraph_funcs.h:
9484         * paragraph_funcs.C:
9485         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9486
9487         * buffer.h:
9488         * buffer.C:
9489         * sgml.h:
9490         * sgml.C: move sgml open/close tag into sgml.C
9491
9492         * bufferview_funcs.h: unused prototype
9493
9494         * lyxfunc.h:
9495         * lyxfunc.C: remove unused
9496
9497         * lyxtext.h:
9498         * text.C: remove unused
9499
9500 2002-10-21  John Levon  <levon@movementarian.org>
9501
9502         * BufferView.h:
9503         * BufferView.C:
9504         * BufferView_pimpl.h:
9505         * BufferView_pimpl.C: fix mouse wheel handling based on
9506           patch from Darren Freeman
9507
9508 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9509
9510         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9511
9512 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9513
9514         * lyxlength.C (inPixels): Fix hanfling of negative length.
9515         Fix LyXLength::MU case.
9516
9517 2002-10-16  John Levon  <levon@movementarian.org>
9518
9519         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9520
9521 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9522
9523         * converter.C (view): add support for $$i (file name) and $$p
9524         (file path) for the viewer command. If $$i is not specified, then
9525         it is appended to the command (for compatibility with old syntax)
9526
9527 2002-10-14  Juergen Vigna  <jug@sad.it>
9528
9529         * undo_funcs.C (textHandleUndo): alter the order in which the
9530         new undopar is added to the LyXText, as we have to set first
9531         the right prev/next and then add it as otherwise the rebuild of
9532         LyXText is not correct. Also reset the cursor to the right paragraph,
9533         with this IMO we could remove the hack in "redoParagraphs()".
9534
9535 2002-10-09  Angus Leeming  <leeming@lyx.org>
9536
9537         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9538         to turn off an optimisation if a new inset is to be inserted.
9539
9540 2002-10-11 André Pönitz <poenitz@gmx.net>
9541
9542         * lyxtext.h: make some functions public to allow access
9543         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9544
9545 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9546
9547         * text3.C (dispatch): when changing layout, avoid an infinite loop
9548         [bug #652]
9549
9550 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9551
9552         * lyxrc.C (read): treat a viewer or converter command of "none" as
9553         if it were empty.
9554
9555         * MenuBackend.C (expandFormats): for an update, also allow the
9556         formats that are not viewable
9557
9558         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9559         script if it is newer than the lyxrc.defaults in user directory
9560
9561 2002-10-07 André Pönitz <poenitz@gmx.net>
9562
9563         * text.C: Vitaly Lipatov's small i18n fix
9564
9565 2002-09-25  Angus Leeming  <leeming@lyx.org>
9566
9567         * ispell.h: doxygen fix.
9568
9569 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9570
9571         * buffer.h (readFile): Add a new argument to the method, to allow
9572         reading of old-format templates.
9573
9574 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9575
9576         * toc.C (getTocList): Get TOC from InsetWrap.
9577
9578 2002-09-16  John Levon  <levon@movementarian.org>
9579
9580         * lyxfunc.C: check tabular for cut/copy too
9581
9582 2002-09-12  John Levon  <levon@movementarian.org>
9583
9584         * LyXAction.C: tidy
9585
9586         * factory.h:
9587         * factory.C: add header
9588
9589         * paragraph_funcs.h:
9590         * paragraph_funcs.C: cleanup
9591
9592 2002-09-11  John Levon  <levon@movementarian.org>
9593
9594         * PrinterParams.h: odd/even default to true
9595
9596 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9597
9598         * PrinterParams.h: update printer parameters for new xforms dialog
9599
9600 2002-09-11  Angus Leeming  <leeming@lyx.org>
9601
9602         * lyxserver.C (read_ready): re-write to make it more transparent
9603         and to make it work in coherent fashion under Tru64 Unix.
9604
9605 2002-09-11  André Pönitz <poenitz@gmx.net>
9606
9607         * commandtags.h:
9608         * LyXAction.C:
9609         * text3.C: implement LFUN_WORDSEL
9610
9611 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9612
9613         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9614         make floatlist_ a boost::shared_ptr<FloatList>
9615
9616         * lyxtextclass.C: include FloatList.h
9617         (LyXTextClass): initialize floatlist_
9618         (TextClassTags): add TC_NOFLOAT
9619         (Read): match "nofloat" to TC_NOFLOAT and use it.
9620         (readFloat): modify call to floatlist_
9621         (floats): ditto
9622         (floats): ditto
9623
9624         * FloatList.[Ch] (FloatList): remove commented out float
9625         initialization.
9626         (erase): new function
9627
9628 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9629
9630         * MenuBackend.C (expandToc): fix crash when there is no document
9631         open
9632
9633 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9634
9635         * many files: Add insetwrap.
9636
9637 2002-09-09  John Levon  <levon@movementarian.org>
9638
9639         * text2.C: remove confusing and awkward depth wraparound
9640
9641 2002-09-09  John Levon  <levon@movementarian.org>
9642
9643         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9644
9645         * buffer.h:
9646         * buffer.C: remove getIncludeonlyList()
9647
9648         * paragraph.C:
9649         * lyxfunc.C: remove headers
9650
9651 2002-09-09  Juergen Vigna  <jug@sad.it>
9652
9653         * text.C (getColumnNearX): fix form Michael this is most
9654         probably a cut&paste bug.
9655
9656 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9657
9658         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9659
9660         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9661         references, ws changes.
9662
9663         * text2.C (init): update counters after init
9664         (insertParagraph): no need to set counter on idividual paragraphs.
9665         (setCounter): access the counters object in the textclass object
9666         on in the buffer object.
9667         (updateCounters): ditto
9668
9669         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9670         shared_ptr<Counters> to avoid loading counters.h in all
9671         compilation units.
9672         (LyXTextClass): initialize ctrs_
9673         (TextClassTags): add TC_COUNTER, and ...
9674         (Read): use it here.
9675         (CounterTags): new tags
9676         (readCounter): new function
9677         (counters): new funtion
9678         (defaultLayoutName): return a const reference
9679
9680         * counters.C (Counters): remove contructor
9681         (newCounter): remove a couple of unneeded statements.
9682         (newCounter): simplify a bit.
9683         (numberLabel): some small formatting changes.
9684
9685         * buffer.[Ch]: remove all traces of counters, move the Counters
9686         object to the LyXTextClass.
9687
9688 2002-09-06  Alain Castera  <castera@in2p3.fr>
9689
9690         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9691         package to set the horizontal alignment on fixed width columns.
9692
9693         * lyx_sty.C:
9694         * lyx_sty.h: added tabularnewline macro def.
9695
9696         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9697
9698 2002-09-06  John Levon  <levon@movementarian.org>
9699
9700         * LyXAction.C: tooltips for sub/superscript
9701
9702         * MenuBackend.C: a bit more verbose
9703
9704         * lyxfunc.C: tiny clean
9705
9706         * undo_funcs.C: document undo_frozen
9707
9708 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9709
9710         * counters.C (Counters): add missing algorithm counter.
9711
9712         * text2.C (setCounter): lookup the counter with layouts latexname
9713         instead of by section number.
9714         (setCounter): use a hackish way to lookup the correct enum
9715         counter.
9716         a float name->type change
9717         reset enum couners with counter name directly instead of depth value.
9718
9719         * counters.C (Counters): remove the push_backs, change to use the
9720         float type not the float name.
9721         (labelItem): remove unused string, float name->type change
9722
9723         * counters.h: don't include vector, loose the enums and sects vectors
9724
9725 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9726
9727         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9728         (Read): add float->TC_FLOAT to textclassTags
9729         (Read): and handle it in the switch
9730         (readFloat): new function
9731
9732         * FloatList.C (FloatList): comment out the hardcoded float
9733         definitions.
9734
9735         * lyxlayout.h: ws change.
9736
9737 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9738
9739         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9740
9741 2002-09-03  Angus Leeming  <leeming@lyx.org>
9742
9743         * BufferView_pimpl.h: qualified name is not allowed in member
9744         declaration: WorkArea & Pimpl::workarea() const;
9745
9746         * factory.C: added using std::endl directive.
9747
9748         * text3.C: added using std::find and std::vector directives.
9749
9750 2002-08-29  André Pönitz <poenitz@gmx.net>
9751
9752         * lyxtext.h:
9753         * text2.C: remove unused member number_of_rows
9754
9755         * Makefile.am:
9756         * BufferView2.C: remove file, move contents to...
9757         * BufferView.C: ... here
9758
9759         * BufferView_pimpl.C:
9760         * factory.C: move more inset creation to factory
9761
9762         * vspace.C: avoid direct usage of LyXText, ws changes
9763
9764         * BufferView.[Ch]:
9765                 don't provide direct access to WorkArea, use two simple
9766                 acessors haveSelction() and workHeight() instead
9767
9768
9769 2002-08-29  John Levon  <levon@movementarian.org>
9770
9771         * BufferView_pimpl.C (dispatch): do not continue when
9772           no buffer
9773
9774 2002-08-28  André Pönitz <poenitz@gmx.net>
9775
9776         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9777
9778         * BufferView.h:
9779         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9780
9781 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9782
9783         * buffer.C: increment LYX_FORMAT to 221
9784
9785         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9786         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9787
9788         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9789
9790         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9791
9792 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9793
9794         * factory.C (createInset): use LyXTextClass::floats
9795
9796         * MenuBackend.C (expandFloatListInsert):
9797         (expandFloatInsert):
9798         (expandToc):
9799
9800         * text2.C (setCounter):
9801
9802         * LaTeXFeatures.C (useFloat):
9803         (getFloatDefinitions):
9804
9805         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9806
9807         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9808         floatlist_, with accessor floats().
9809
9810         * FloatList.h: remove global FloatList
9811
9812 2002-08-26  André Pönitz <poenitz@gmx.net>
9813
9814         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9815
9816         * BufferView.h:
9817         * BufferView2.C:
9818         * BufferView_pimpl.C:
9819         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9820
9821 2002-08-25  John Levon  <levon@movementarian.org>
9822
9823         * LyXAction.C: fix margin note description
9824
9825 2002-08-24  John Levon  <levon@movementarian.org>
9826
9827         * buffer.C:
9828         * bufferlist.C:
9829         * bufferview_funcs.C:
9830         * lyxfont.C:
9831         * undo_funcs.C: cleanups
9832
9833         * lyxfunc.C: disable CUT/COPY when no selection
9834
9835 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9836
9837         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9838         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9839
9840         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9841         Add backward compatibility to "mono", "gray" and "no".
9842
9843 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9844
9845         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9846         (and file_format >= 200).
9847
9848 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9849
9850         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9851
9852 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9853
9854         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9855
9856 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9857
9858         * BufferView_pimpl.C:
9859         * LyXAction.C:
9860         * buffer.C:
9861         * commandtags.h:
9862         * lyxfunc.C:
9863         * paragraph.[Ch]:
9864         * text2.C:
9865         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9866         inset and code to make it  work with the paragraph code. The inset
9867         can be anywhere in the paragraph, but will only do the expected
9868         thing in LaTeX if the layout file contains the parameter line
9869                         OptionalArgs    1
9870         (or more generally, a nonzero value) for that layout.
9871
9872 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9873
9874         * paragraph.h: remove the declaration of undefined counters class
9875         function.
9876
9877 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9878
9879         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9880         Dr. Richard Hawkins.
9881
9882 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9883
9884         * paragraph_funcs.h: remove some unneeded includes
9885
9886         * text.C (backspace): pasteParagraph now in global scipe
9887
9888         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9889         (pasteSelection): ditto
9890
9891         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9892         * paragraph_funcs.C (pasteParagraph): ... here
9893
9894 2002-08-20  André Pönitz <poenitz@gmx.net>
9895
9896         * commandtags.h: new LFUNs for swapping/copying table row/colums
9897
9898         * LyXAction.C:
9899         * lyxfunc.C: support for new lfuns
9900
9901 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9902
9903         * tabular.C:
9904         * buffer.[Ch]: remove NO_COMPABILITY stuff
9905
9906 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9907
9908         * boost.C (throw_exception): new file, with helper function for
9909         boost compiled without exceptions.
9910
9911         * paragraph.h:
9912         * lyxlength.C:
9913         * buffer.C:
9914         * ParameterStruct.h:
9915         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9916
9917         * bufferlist.C (emergencyWriteAll): use boost bind
9918
9919         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9920
9921         * text.C: include paragraph_funcs.h
9922         (breakParagraph): breakParagraph is now in global scope
9923
9924         * paragraph_funcs.[Ch]: new files
9925
9926         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9927         global scope
9928
9929         * buffer.C: include paragraph_funcs.h
9930         (insertStringAsLines): breakParagraph is now in global scope
9931
9932         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9933         paragraph_funcs.C
9934
9935         * CutAndPaste.C: include paragraph_funcs.h
9936         (cutSelection): breakParagraphConservative is now in global scope
9937         (pasteSelection): ditto
9938
9939         * buffer.h: declare oprator== and operator!= for
9940         Buffer::inset_iterator
9941
9942         * bufferlist.C (emergencyWrite): don't use fmt(...)
9943
9944         * text3.C: add using std::endl
9945
9946         * BufferView.C (moveCursorUpdate): remove default arg
9947
9948 2002-08-20  André Pönitz <poenitz@gmx.net>
9949
9950         * buffer.[Ch]: move inline functions to .C
9951
9952         * BufferView2.C:
9953         * BufferView_pimpl.C:
9954         * text.C:
9955         * buffer.[Ch]: use improved inset_iterator
9956
9957         * buffer.C:
9958         * paragraph.[Ch]: write one paragraph at a time
9959
9960 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9961
9962         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9963         style if style is not specified.
9964
9965 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * text2.C (setCounter): when searching for right label for a
9968         caption, make sure to recurse to parent insets (so that a caption
9969         in a minipage in a figure float works) (bug #568)
9970
9971 2002-08-20  André Pönitz <poenitz@gmx.net>
9972
9973         * text3.C: new file for LyXText::dispatch() and helpers
9974
9975         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9976
9977         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9978
9979 2002-08-19  André Pönitz <poenitz@gmx.net>
9980
9981         * lyxtext.h:
9982         * text.C: new LyXText::dispatch()
9983
9984         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9985
9986 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9987
9988         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9989
9990         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9991         Hebrew text.
9992
9993 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * Makefile.am: use $(variables) instead of @substitutions@
9996
9997 2002-08-15  André Pönitz <poenitz@gmx.net>
9998
9999         * lyxfunc.C:
10000         * BufferView_pimpl.C: streamlining mathed <-> outer world
10001         interaction
10002
10003         * commandtags.h:
10004         * LyXAction.C: remove unused LFUN_MATH
10005
10006 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10007
10008         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10009
10010 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10011
10012         * paragraph.C (Paragraph): reformat a bit
10013         (cutIntoMinibuffer): use builtin InsetList function instad of
10014         doing it manually.
10015         (getInset): ditto
10016
10017         * buffer.C: include boost/bind.hpp, add using std::for_each
10018         (writeFileAscii): use ParagraphList iterators
10019         (validate): use for_each for validate traversal of paragraphs
10020         (getBibkeyList): use ParagraphList iterators
10021         (resizeInsets): use for_each to resizeInsetsLyXText for all
10022         paragraphs.
10023         (getParFromID): use ParagraphList iterators
10024
10025         * BufferView2.C (lockInset): use paragraph list and iterators
10026
10027 2002-08-14  John Levon  <levon@movementarian.org>
10028
10029         * lyxserver.C: remove spurious xforms include
10030
10031 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10032
10033         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10034
10035 2002-08-13  André Pönitz <poenitz@gmx.net>
10036
10037         * LyXAction.[Ch]:
10038         * lyxfunc.C: further cleaning
10039
10040 2002-08-13  André Pönitz <poenitz@gmx.net>
10041
10042         * funcrequest.h: new constructor
10043
10044         * funcrequest.C: move stuff here from .h
10045
10046         * Makefile.am:
10047         * BufferView_pimpl.C:
10048         * LyXAction.C:
10049         * toc.C:
10050         * lyxfunc.C: subsequent changes
10051
10052         * lyxfunc.h: new view() member function
10053
10054         * lyxfunc.C: subsequent changes
10055
10056 2002-08-13  Angus Leeming  <leeming@lyx.org>
10057
10058         * BufferView2.C:
10059         * BufferView_pimpl.C:
10060         * buffer.C:
10061         * converter.C:
10062         * importer.C:
10063         * lyxfunc.C:
10064         * lyxvc.C:
10065         * toc.C:
10066         * vc-backend.C:
10067         changes due to the changed LyXView interface that now returns references
10068         to member variables not pointers.
10069
10070 2002-08-13  Angus Leeming  <leeming@lyx.org>
10071
10072         * WordLangTuple (word, lang_code): return references to strings,
10073         not strings.
10074
10075         * BufferView.h:
10076         * SpellBase.h:
10077         * lyxtext.h: forward-declare WordLangTuple.
10078
10079         * BufferView2.C:
10080         * ispell.C:
10081         * pspell.C:
10082         * text.C: #include "WordLangTuple.h".
10083
10084         * lyxtext.h:
10085         * text.C: (selectNextWordToSpellcheck): constify return type.
10086
10087 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10088
10089         * buffer.C:
10090         * buffer.h:
10091         * lyxtext.h:
10092         * paragraph.C:
10093         * paragraph_pimpl.h:
10094         * text.C:
10095         * text2.C:
10096         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10097         suggested by Angus.
10098         Made updateCounter always count from start of buffer, and removed
10099         second argument (par).
10100         Reverted floats number display to '#'. Perhaps I'll try again when the
10101         code base is sanitized a bit.
10102
10103 2002-08-12  Angus Leeming  <leeming@lyx.org>
10104
10105         * buffer.[Ch] (getLabelList): constify.
10106
10107 2002-08-07  André Pönitz <poenitz@gmx.net>
10108
10109         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10110
10111         * funcrequest.h: extension to keep mouse (x,y) position
10112
10113 2002-08-12  Juergen Vigna  <jug@sad.it>
10114
10115         * BufferView2.C (insertErrors): forbid undo when inserting error
10116         insets.
10117
10118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10119
10120 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10121
10122         * ParagraphList.[Ch]: new files
10123
10124         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10125
10126         * BufferView2.C (lockInset): ParagraphList changes
10127         * toc.C: ditto
10128         * text2.C: ditto
10129         * bufferlist.C: ditto
10130         * buffer.h: ditto
10131         * buffer.C: ditto
10132
10133 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10134
10135         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10136         unused class variable counter_,
10137
10138         * paragraph.[Ch] (getFirstCounter): delete unused function
10139
10140         * counters.C: include LAssert.h
10141         (reset): add a new function with no arg, change other version to
10142         not have def. arg and to not allow empty arg.
10143
10144         * text2.C (setCounter): remove empty arg from call to Counters::reset
10145
10146 2002-08-11  John Levon  <levon@movementarian.org>
10147
10148         * Makefile.am: add WordLangTuple.h
10149
10150 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10151
10152         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10153         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10154
10155         * insets/insettext.C: InsetList changes
10156
10157         * graphics/GraphicsSupport.C (operator()): InsetList changes
10158
10159         * toc.C (getTocList): InsetList changes
10160
10161         * paragraph_pimpl.[Ch]: InsetList changes
10162
10163         * paragraph.[Ch]: InsetList changes
10164
10165         * buffer.C (inset_iterator): InsetList changes
10166         (setParagraph): ditto
10167         * buffer.h (inset_iterator): ditto
10168         * iterators.C (operator++): ditto
10169         * iterators.h: ditto
10170
10171         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10172
10173         * InsetList.[Ch]: new files, most InsetList handling moved out of
10174         paragraph.C.
10175
10176         * BufferView2.C (removeAutoInsets): InsetList changes
10177         (lockInset): ditto
10178         (ChangeInsets): ditto
10179
10180 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10181
10182         * paragraph_pimpl.h (empty): new function
10183
10184         * paragraph.[Ch] (empty): new function
10185
10186         * other files: use the new Paragraph::empty function
10187
10188 2002-08-09  John Levon  <levon@movementarian.org>
10189
10190         * lyxtext.h: remove unused refresh_height
10191
10192 2002-08-09  John Levon  <levon@movementarian.org>
10193
10194         * Makefile.am:
10195         * sgml.h:
10196         * sgml.C:
10197         * buffer.C:
10198         * paragraph.h:
10199         * paragraph.C: move sgml char escaping out of paragraph
10200
10201         * paragraph.h:
10202         * paragraph.C: remove id setter
10203
10204         * buffer.C:
10205         * paragraph.C:
10206         * paragraph_pimpl.C: remove dead tex_code_break_column
10207
10208         * bufferview_funcs.C: small cleanup
10209
10210         * lyxfunc.C: remove dead proto
10211
10212         * lyxtext.h: make some stuff private. Remove some dead stuff.
10213
10214         * lyxgluelength.C: make as[LyX]String() readable
10215
10216 2002-08-08  John Levon  <levon@movementarian.org>
10217
10218         * LyXAction.h:
10219         * LyXAction.C:
10220         * MenuBackend.C:
10221         * ToolbarDefaults.C:
10222         * lyxfunc.C:
10223         * lyxrc.C:
10224         * toc.C: lyxaction cleanup
10225
10226 2002-08-08  John Levon  <levon@movementarian.org>
10227
10228         * BufferView2.C: small cleanup
10229
10230         * lyxfind.h:
10231         * lyxfind.C: move unnecessary header into the .C
10232
10233 2002-08-08  John Levon  <levon@movementarian.org>
10234
10235         * funcrequest.h: just tedious nonsense
10236
10237         * lyx_main.h:
10238         * lyx_main.C: cleanups
10239
10240         * buffer.C:
10241         * vspace.C: remove dead header lyx_main.h
10242
10243 2002-08-07  Angus Leeming  <leeming@lyx.org>
10244
10245         * Paragraph.[Ch]:
10246         * paragraph_pimpl.h:
10247         Forward declare class Counters in paragraph.h by moving the ctrs member
10248         variable into Paragraph::Pimpl.
10249         (counters): new method, returning a reference to pimpl_->ctrs.
10250
10251         * text2.C: ensuing changes.
10252
10253 2002-08-07  John Levon  <levon@movementarian.org>
10254
10255         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10256
10257         * BufferView_pimpl.C: announce X selection on double/triple
10258           click
10259
10260         * lyx_main.C: use correct bool in batch dispatch
10261
10262         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10263
10264 2002-08-07  André Pönitz <poenitz@gmx.net>
10265
10266         * funcrequest.h: new class to wrap a kb_action and its argument
10267
10268         * BufferView.[Ch]:
10269         * BufferView_pimpl[Ch]:
10270         * LaTeX.C:
10271         * LyXAction.[Ch]:
10272         * lyxfunc.[Ch]:
10273         * lyxrc.C: subsequent changes
10274
10275
10276 2002-08-07  John Levon  <levon@movementarian.org>
10277
10278         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10279           document options change.
10280
10281 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10282
10283         * counters.[Ch]
10284         * text2.C
10285         * paragraph.[Ch]
10286         * makefile.am: move counters functionality over from
10287         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10288
10289 2002-08-06  John Levon  <levon@movementarian.org>
10290
10291         * WordLangTuple.h: new file for word + language code tuple
10292
10293         * SpellBase.h:
10294         * pspell.h:
10295         * pspell.C:
10296         * ispell.h:
10297         * ispell.C:
10298         * lyxtext.h:
10299         * text.C:
10300         * text2.C:
10301         * BufferView.h:
10302         * BufferView2.C: use WordLangTuple
10303
10304         * layout.h:
10305         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10306
10307 2002-08-06  John Levon  <levon@movementarian.org>
10308
10309         * lyx_main.C: fix cmdline batch handling
10310
10311 2002-08-06  André Pönitz <poenitz@gmx.net>
10312
10313         * lyxrc.C: set default for show_banner to true
10314
10315 2002-08-06  John Levon  <levon@movementarian.org>
10316
10317         * pspell.C: fix a crash, and allow new aspell to work
10318
10319 2002-08-06  John Levon  <levon@movementarian.org>
10320
10321         * lyxfunc.C:
10322         * kbmap.C: small cleanup
10323
10324         * vspace.h:
10325         * vspace.C: add const
10326
10327 2002-08-05  John Levon  <levon@movementarian.org>
10328
10329         * LyXAction.C: back to tabular-insert
10330
10331 2002-08-04  John Levon  <levon@movementarian.org>
10332
10333         * BufferView.h:
10334         * BufferView.C: cosmetic change
10335
10336         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10337
10338         * bufferlist.C:
10339         * buffer.h:
10340         * buffer.C:
10341         * lyxcb.h:
10342         * lyxcb.C:
10343         * lyxserver.C:
10344         * lyxvc.C:
10345         * vc-backend.C:
10346         * BufferView2.C: purge all "Lyx" not "LyX" strings
10347
10348         * lyxcursor.h:
10349         * lyxcursor.C: attempt to add some documentation
10350
10351         * lyxfunc.C:
10352         * commandtags.h:
10353         * LyXAction.C:
10354         * ToolbarDefaults.C:
10355         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10356           merge with LFUN_TABULAR_INSERT
10357
10358         * Makefile.am:
10359         * SpellBase.h:
10360         * ispell.h:
10361         * ispell.C:
10362         * pspell.h:
10363         * pspell.C: split up i/pspell implementations into separate
10364           files, many cleanups
10365
10366         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10367
10368         * text2.C: some cleanup
10369
10370         * lyxfunc.C: don't check for isp_command == "none" any more, it
10371           didn't make any sense
10372
10373 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10374
10375         * counters.[Ch]
10376         * text2.C
10377         * paragraph.[Ch]
10378         * makefile.am: move counters functionality over
10379         from text2.C/paragraph.[Ch] to counters.[Ch], and
10380         make proper C++.
10381 2002-08-02  John Levon  <levon@movementarian.org>
10382
10383         * buffer.C: s/lyxconvert/lyx2lyx/
10384
10385 2002-08-02  Angus Leeming  <leeming@lyx.org>
10386
10387         * lyxlex.C: revert John's change as it breaks reading of the user
10388         preamble.
10389
10390 2002-08-02  Angus Leeming  <leeming@lyx.org>
10391
10392         * importer.C (Import):
10393         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10394         changes due to LyXView::view() now returning a boost::shared_ptr.
10395
10396 2002-08-02  John Levon  <levon@movementarian.org>
10397
10398         * lyxlex.C: small cleanup
10399
10400 2002-08-02  John Levon  <levon@movementarian.org>
10401
10402         * text2.C (status): small cleanup, no logic change
10403
10404 2002-08-01  John Levon  <levon@movementarian.org>
10405
10406         * buffer.h:
10407         * buffer.C (writeFile): don't output alerts, caller
10408           handles this
10409
10410         * bufferlist.C:
10411         * lyx_cb.C: from above
10412
10413         * lyxfunc.C: allow to open non-existent files
10414
10415 2002-07-31  John Levon  <levon@movementarian.org>
10416
10417         * lyxserver.C: don't let incidental errors get
10418           in the way (errno)
10419
10420 2002-07-30  John Levon  <levon@movementarian.org>
10421
10422         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10423
10424 2002-07-30  John Levon  <levon@movementarian.org>
10425
10426         * lyxserver.h:
10427         * lyxserver.C: remove I/O callback too
10428
10429 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10430
10431         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10432         log.
10433
10434 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10435
10436         * many files: strip,frontStrip -> trim,ltrim,rtrim
10437
10438 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10439
10440         * PrinterParams.h: remove extern containsOnly, and include
10441         support/lstrings.h instead.
10442
10443         * LaTeX.C (scanAuxFile): modify because of strip changes
10444         (deplog): ditto
10445         * buffer.C (makeLaTeXFile): ditto
10446         * bufferparams.C (writeFile): ditt
10447         * lyxfont.C (stateText): ditto
10448         * lyxserver.C (read_ready): ditto
10449         * vc-backend.C (scanMaster): ditto
10450
10451         * BufferView_pimpl.h: ws changes
10452
10453         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10454
10455 2002-07-26  André Pönitz <poenitz@gmx.net>
10456
10457         * kb_sequence.C: remove unnedred usings
10458
10459 2002-07-26  Juergen Vigna  <jug@sad.it>
10460
10461         * lyxfind.C (LyXReplace): we have to check better if the returned
10462         text is not of theLockingInset()->getLockingInset().
10463
10464 2002-07-25  Juergen Vigna  <jug@sad.it>
10465
10466         * lyxfind.C (LyXReplace): don't replace if we don't get the
10467         right LyXText.
10468
10469         * undo_funcs.C (createUndo): remove debugging code.
10470
10471 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10472
10473         * buffer.C (parseSingleLyXformat2Token): Use default placement
10474         when reading old floats.
10475
10476         * FloatList.C (FloatList): Change the default placement of figure
10477         and tables to "tbp".
10478
10479 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * MenuBackend.C: using std::max
10482
10483 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * MenuBackend.C (expandToc):
10486         (expandToc2): code moved from xforms menu frontend. It is now
10487         generic and TOCs are transparent to menu frontends.
10488
10489 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10490
10491         * toc.C (getTocList): protect against buf=0
10492
10493         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10494         Menu as first parameter. Now, this calls itself recursively to
10495         expand a whole tree (this will be useful for TOC handling)
10496         (expandFloatInsert): remove 'wide' version of floats
10497
10498         * MenuBackend.h (submenuname): returns the name of the submenu.
10499         (submenu): returns the submenu itself, provided it has been
10500         created by MenuBackend::expand
10501
10502 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10505         insets which have noFontChange == true. (bug #172)
10506
10507 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10508
10509         * BufferView_pimpl.C: add connection objects and use them...
10510         (Pimpl): here.
10511
10512 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10513
10514         * MenuBackend.C (expandLastfiles):
10515         (expandDocuments):
10516         (expandFormats):
10517         (expandFloatListInsert):
10518         (expandFloatInsert):
10519         (expand): split expand in parts
10520
10521 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * lyx_gui.C: use lyx_gui::exit()
10524
10525 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10526
10527         * LyXAction.C: show the failing pseudo action
10528
10529 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10530
10531         * buffer.C (readFile): Run the lyxconvert script in order to read
10532         old files.
10533
10534 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * LyXAction.C:
10537         * commandtags.h:
10538         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10539
10540 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * LyXAction.C:
10543         * commandtags.h:
10544         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10545
10546 2002-07-22  Herbert Voss  <voss@lyx.org>
10547
10548         * lengthcommon.C:
10549         * lyxlength.[Ch]: add support for the vertical lengths
10550
10551 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * toc.[Ch]: std:: fixes
10554
10555 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10556
10557         * lyxrc.C: do not include lyx_main.h
10558
10559         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10560         for layouts
10561
10562         * lyxrc.C:
10563         * encoding.C:
10564         * bufferlist.C:
10565         * BufferView2.C: include "lyxlex.h"
10566
10567         * tabular.h:
10568         * bufferparams.h: do not #include "lyxlex.h"
10569
10570         * lyxtextclasslist.C (Add): remove method
10571         (classlist): renamed to classlist_
10572
10573         * paragraph_pimpl.C:
10574         * paragraph.C:
10575         * text2.C:
10576         * CutAndPaste.C:
10577         * bufferview_funcs.C:
10578         * bufferlist.C:
10579         * text.C:
10580         * LaTeXFeatures.C:
10581         * buffer.C:
10582         * toc.C (getTocList): use BufferParams::getLyXTextClass
10583
10584         * toc.C (getTocList): use InsetFloat::addToToc
10585
10586         * toc.[Ch]: new files, containing helper functions to handle table
10587         of contents
10588
10589         * lyxfunc.C (dispatch): no need to remove spaces around command
10590         given as a string
10591         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10592         first command of the sequence; it is not very clever, but I do not
10593         have a better idea, actually
10594
10595         * LyXAction.C (LookupFunc): make sure to remove space at the
10596         beginning and end of the command
10597
10598 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10599
10600         * MenuBackend.C (getMenubar): new method: return the menubar of
10601         this menu set
10602         (read): treat differently reading of menu and menubar (in
10603         particular, the menubar has no name now)
10604         (Menu::menubar): remove
10605
10606         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10607         saving is finished
10608
10609 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10612         a bibitem inset in a RTL paragraph.
10613
10614 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * paragraph_pimpl.C: constify
10617
10618         * BufferView_pimpl.C:
10619         * LaTeX.C:
10620         * lyxfunc.C: fix dispatch in a nicer way
10621
10622 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10623
10624         * lyxfunc.C (dispatch):
10625         * BufferView_pimpl.C:
10626         * BufferView_pimpl.h:
10627         * BufferView.C:
10628         * BufferView.h: rename Dispatch() to dispatch()
10629
10630         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10631
10632         * lyxlayout.C (Read): honor DependsOn tag
10633
10634         * lyxlayout.[Ch] (depends_on): new method
10635
10636         * version.C.in: update lyx_docversion
10637
10638         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10639
10640         * paragraph.C (validate): remove from here...
10641         * paragraph_pimpl.C (validate): ... and move here
10642         (isTextAt): make it const
10643
10644         * buffer.C (getLists): ws cleanup
10645
10646 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10647
10648         * language.C (read): Use iso8859-1 encoding in latex_lang
10649         (this prevents LyX from crashing when using iso10646-1 encoding).
10650
10651 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * text2.C (toggleInset): if cursor is inside an inset, close the
10654         inset and leave cursor _after_ it
10655
10656 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * lyxfunc.C: move minibuffer completion handling out of here
10659
10660 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * BufferView_pimpl.C:
10663         * LaTeX.C: fix dispatch calls
10664
10665 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10666
10667         * text.C (drawChars): Fix Arabic text rendering.
10668
10669 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * LyXAction.C:
10672         * commandtags.h:
10673         * lyxfunc.C: remove message-push/pop
10674
10675         * lyxserver.C:
10676         * lyxfunc.h:
10677         * lyxfunc.C: rationalise some code by removing verboseDispatch
10678           in favour of a bool argument to dispatch()
10679
10680 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10681
10682         * lyx_main.C (init): make sure to read symlinks as absolute paths
10683
10684 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10685
10686         * lyxfunc.h:
10687         * lyxfunc.C: no need for commandshortcut to be a member
10688
10689 2002-07-15  André Pönitz <poenitz@gmx.net>
10690
10691         * converter.C: add support for $$s (scripts from lib/scripts dir)
10692         * lyx_main.C: white space
10693
10694 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * bufferlist.C:
10697         * lyxrc.h:
10698         * lyxrc.C: remove second exit confirmation
10699
10700 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * BufferView.h:
10703         * BufferView.C:
10704         * BufferView2.C:
10705         * BufferView_pimpl.h:
10706         * BufferView_pimpl.C:
10707         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10708
10709 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * MenuBackend.C (expand): add numeric shortcuts to document menu
10712
10713         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10714
10715 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10716
10717         * lyxfont.C (setLyXFamily):
10718         (setLyXSeries):
10719         (setLyXShape):
10720         (setLyXSize):
10721         (setLyXMisc):
10722         (lyxRead):
10723         * debug.C (value):
10724         * buffer.C (asciiParagraph): use ascii_lowercase
10725
10726 2002-07-15  Mike Fabian  <mfabian@suse.de>
10727
10728         * lyxlex_pimpl.C (search_kw):
10729         * lyxlex.C (getLongString):
10730         * converter.h (operator<):
10731         * converter.C (operator<):
10732         * buffer.C (parseSingleLyXformat2Token):
10733         (asciiParagraph):
10734         * ToolbarDefaults.C (read):
10735         * MenuBackend.C (checkShortcuts):
10736         (read):
10737         * LColor.C (getFromGUIName):
10738         (getFromLyXName): use the compare_ascii_no_case instead of
10739         compare_no_case, because in turkish, 'i' is not the lowercase
10740         version of 'I', and thus turkish locale breaks parsing of tags.
10741
10742 2002-07-16  Angus Leeming  <leeming@lyx.org>
10743
10744         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10745         now takes a Buffer const & argument.
10746
10747 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * BufferView.C (resize): check there's a buffer to resize
10750
10751 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10752
10753         * lyxfunc.C: remove dead code
10754
10755         * lyxserver.h:
10756         * lyxserver.C: use lyx_guii::set_read_callback
10757
10758 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10759
10760         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10761         an inset in a RTL paragraph.
10762
10763 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10764
10765         * lyxfunc.C: repaint after a font size update
10766
10767 2002-07-15  André Pönitz <poenitz@gmx.net>
10768
10769         * lyxlength.C: inBP should be able to return negative values
10770
10771 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10772
10773         * lyxfunc.C: use lyx_gui::update_fonts()
10774
10775 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10776
10777         * lyxfunc.C: use lyx_gui::update_color()
10778
10779 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * bufferlist.C:
10782         * lyxfunc.h:
10783         * lyxfunc.C:
10784         * lyxrc.h:
10785         * lyxrc.C: remove file->new asks for name option, and let
10786           buffer-new take an argument
10787
10788 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10789
10790         * BufferView_pimpl.C: remove unneeded extra repaint()
10791
10792 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * LyXAction.C: allow command-sequence with NoBuffer
10795
10796         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10797
10798 2002-07-10  Angus Leeming  <leeming@lyx.org>
10799
10800         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10801
10802 2002-07-09  Angus Leeming  <leeming@lyx.org>
10803
10804         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10805
10806 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * lengthcommon.h: whitespace
10809
10810         * lyxfunc.C: update scrollbar after goto paragraph
10811
10812         * lyxtext.h: factor out page break drawing, and fix it so
10813           page break/added space paints as selected nicely
10814
10815 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10816
10817         * BufferView_pimpl.C: add FIXMEs, clean up a little
10818
10819 2002-07-09  André Pönitz <poenitz@gmx.net>
10820
10821         * lyxfont.[Ch]: support for wasy symbols
10822
10823 2002-07-08  André Pönitz <poenitz@gmx.net>
10824
10825         * BufferView_pimpl.C: apply John's patch for #93.
10826
10827 2002-07-05  Angus Leeming  <leeming@lyx.org>
10828
10829         * BufferView_pimpl.C (buffer): generate previews if desired.
10830
10831         * LColor.h: add "preview" to the color enum.
10832
10833         * LColor.C (LColor): add a corresponding entry to the items array.
10834
10835         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10836         with this buffer.
10837
10838 2002-07-05  Angus Leeming  <leeming@lyx.org>
10839
10840         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10841         The body of the code is now in the method that is passed an ostream &
10842         rather than a file name.
10843         Pass an additional only_preamble parameter, useful for the forthcoming
10844         preview stuff.
10845
10846 2002-07-03  André Pönitz <poenitz@gmx.net>
10847
10848         * lyxfunc.C: simplify getStatus() a bit for math stuff
10849
10850 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10851
10852         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10853
10854 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * text.C (changeRegionCase): do not change case of all the
10857         document when region ends at paragraph end (bug #461)
10858
10859 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10860
10861         * paragraph.C (startTeXParParams):
10862         (endTeXParParams): add \protect when necessary
10863
10864 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * BufferView_pimpl.C (workAreaExpose): remove warning
10867
10868 2002-06-27  Angus Leeming  <leeming@lyx.org>
10869
10870         * Makefile.am: add lyxlayout_ptr_fwd.h.
10871
10872 2002-06-26  André Pönitz <poenitz@gmx.net>
10873
10874         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10875
10876 2002-06-25  Angus Leeming  <leeming@lyx.org>
10877
10878         * lyxfunc.C (dispatch): Comment out the call to
10879         grfx::GCache::changeDisplay. The method no longer exists now that the
10880         pixmap generation part of the graphics loader has been moved into
10881         InsetGraphics.
10882
10883 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * text2.C: layout as layout
10886
10887         * text.C: layout as layout
10888
10889         * tabular.C (OldFormatRead): layout as layout
10890
10891         * paragraph_pimpl.C (TeXDeeper): layout as layout
10892         (realizeFont): layout as layout
10893
10894         * paragraph.C (writeFile): layout as layout
10895         (validate): layout as layout
10896         (getFont): layout as layout
10897         (getLabelFont): layout as layout
10898         (getLayoutFont): layout as layout
10899         (breakParagraph): layout as layout
10900         (stripLeadingSpaces): layout as layout
10901         (getEndLabel): layout as layout
10902         (getMaxDepthAfter): layout as layout
10903         (applyLayout): layout as layout
10904         (TeXOnePar): layout as layout
10905         (simpleTeXOnePar): layout as layout
10906         (TeXEnvironment): layout as layout
10907         (layout): layout as layout
10908         (layout): layout as layout
10909
10910         * lyxtextclass.C (compare_name): new functor to work with
10911         shared_ptr, layout as layout
10912         (Read): layout as layout
10913         (hasLayout): layout as layout
10914         (operator): layout as layout
10915         (delete_layout): layout as layout
10916         (defaultLayout): layout as layout
10917
10918         * lyxlayout_ptr_fwd.h: new file
10919
10920         * lyxlayout.C (Read): layout as layout
10921
10922         * lyx_cb.C (MenuInsertLabel): layout as layout
10923
10924         * bufferlist.C (newFile): layout as layout
10925
10926         * buffer.C (readLyXformat2): layout as layout
10927         (parseSingleLyXformat2Token): layout as layout
10928         (insertStringAsLines): layout as layout
10929         (asciiParagraph): layout as layout
10930         (latexParagraphs): layout as layout
10931         (makeLinuxDocFile): layout as layout
10932         (simpleLinuxDocOnePar): layout as layout
10933         (makeDocBookFile): layout as layout
10934         (simpleDocBookOnePar): layout as layout
10935         (getLists): layout as layout
10936
10937         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10938
10939         * CutAndPaste.C (cutSelection): layout as layout
10940         (pasteSelection): layout as layout
10941         (SwitchLayoutsBetweenClasses): layout as layout
10942
10943         * BufferView_pimpl.C (Dispatch): layout as layout
10944         (smartQuote): layout as layout
10945
10946         * BufferView2.C (unlockInset): layout as layout
10947
10948 2002-06-24  André Pönitz <poenitz@gmx.net>
10949
10950         * lyxfunc.C: fix #487
10951
10952 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10953
10954         * lyxrc.h:
10955         * lyxrc.C:
10956         * lyxfunc.C: remove display_shortcuts, show_banner
10957
10958 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * Buffer_pimpl.C: oops, update on resize
10961
10962 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10963
10964         * buffer.C:
10965         * converter.C:
10966         * exporter.C:
10967         * lyxfunc.C:
10968         * BufferView.h:
10969         * BufferView.C: use repaint()
10970
10971         * BufferView_pimpl.h:
10972         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10973           as it's a clearer description. Remove superfluous
10974           redraws.
10975
10976 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10977
10978         * text.C: fix bug 488. Not ideal, but getting
10979           getWord() to work properly for the insets that
10980           matter is more difficult ...
10981
10982 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * BufferView_pimpl.C:
10985         * LyXAction.C:
10986         * commandtags.h:
10987         * lyxfunc.C: remove the six million index lyxfuncs to just
10988           one, and DTRT (bug 458)
10989
10990 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * BufferView.h:
10993         * BufferView.C:
10994         * BufferView_pimpl.h:
10995         * BufferView_pimpl.C: clean up resize() stuff,
10996           and unnecessary updateScreen()s
10997
10998 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * BufferView.h:
11001         * BufferView.C:
11002         * BufferView_pimpl.h:
11003         * BufferView_pimpl.C:
11004         * lyxfind.h:
11005         * lyxfind.C:
11006         * minibuffer.C: remove focus management of workarea,
11007           not needed. Use screen's greyOut()
11008
11009 2002-06-17  Herbert Voss  <voss@lyx.org>
11010
11011         * converter.C: (convert) do not post a message, when converting
11012         fails, let the calling function decide what to do in this case
11013
11014 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * lyxfunc.C: tidy up a little
11017
11018 2002-06-16    <alstrup@diku.dk>
11019
11020         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11021         Got rid of FORMS_H_LOCATION include. Now we are
11022         GUII.
11023
11024 2002-06-15  LyX Development team  <lyx@rilke>
11025
11026         * buffer.[Ch] (sgmlOpenTag):
11027         (sgmlCloseTag): Added support for avoiding pernicious mixed
11028         content. Return number of lines written.
11029
11030         (makeLinuxDocFile):
11031         (makeDocBookFile): Fixed calls to sgml*Tag.
11032         Simple white space clean.
11033
11034         (simpleDocBookOnePar): Simple white space clean.
11035
11036         * tabular.[Ch] (docBook): Renamed to docbook and got another
11037         argument to related with the pernicious mixed content.
11038
11039         (docbookRow): Fixed calls for docbook inset method.
11040
11041 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11042
11043         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11044         so it's X11 independent.
11045
11046         * kb*.[Ch]: ditto.
11047
11048         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11049
11050 2002-06-15  Lyx Development team  <lyx@electronia>
11051
11052         * intl.h: Renamed getTrans to getTransManager.
11053
11054 2002-06-14  Angus Leeming  <leeming@lyx.org>
11055
11056         * Makefile.am: nuke forgotten stl_string_fwd.h.
11057
11058 2002-06-12  Angus Leeming  <leeming@lyx.org>
11059
11060         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11061
11062 2002-06-13  Angus Leeming  <leeming@lyx.org>
11063
11064         * LaTeX.C:
11065         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11066
11067 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11068
11069         * kbmap.C (getiso): add support for cyrillic and greek
11070
11071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11072
11073         * BufferView.h:
11074         * BufferView.C:
11075         * BufferView_pimpl.h:
11076         * BufferView_pimpl.C: move bogus scrolling logic
11077           to xforms
11078
11079 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11080
11081         * lyxfunc.C:
11082         * BufferView_pimpl.C: view->resize() change
11083
11084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11085
11086         * BufferView_pimpl.C: topCursorVisible
11087           prototype change
11088
11089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * Makefile.am:
11092         * lyx_gui.h:
11093         * lyx_gui.C: move to frontends/
11094
11095         * main.C:
11096         * lyx_main.h:
11097         * lyx_main.C: changes from above
11098
11099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11100
11101         * intl.C:
11102         * intl.h:
11103         * kbmap.C:
11104         * kbsequence.C:
11105         * lyx_cb.C:
11106         * lyx_main.C: minor tidy
11107
11108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11109
11110         * BufferView_pimpl.h:
11111         * BufferView_pimpl.C:
11112         * BufferView.h:
11113         * BufferView.C: make painter() const,
11114           remove dead code
11115
11116         * BufferView2.C: use screen() accessor
11117
11118         * lyx_main.h:
11119         * lyx_main.C: some minor cleanup
11120
11121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * BufferView_pimpl.h:
11124         * BufferView_pimpl.C: remove enter/leaveView,
11125           use workHeight()
11126
11127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * BufferView.h:
11130         * BufferView.C:
11131         * BufferView2.C:
11132         * BufferView_pimpl.h:
11133         * BufferView_pimpl.C: only construct screen once,
11134           rename
11135
11136         * lyxrc.C: remove pointless comment
11137
11138 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11139
11140         * BufferView.h:
11141         * BufferView.C: remove active() and belowMouse()
11142
11143         * BufferView_pimpl.h:
11144         * BufferView_pimpl.C: use workarea() not workarea_,
11145           and make it use a scoped_ptr instead
11146
11147 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * lyx_gui.C: add debug message on BadWindow
11150
11151 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * sp_spell.C: fdopen is not part of the C++ standard.
11154
11155         * paragraph.C (InsetIterator): use >= instead of ==
11156
11157 2002-06-07  Angus Leeming  <leeming@lyx.org>
11158
11159         Fixes needed to compile with Compaq cxx 6.5.
11160         * BufferView_pimpl.C:
11161         * DepTable.C:
11162         * buffer.C:
11163         * converter.C:
11164         * encoding.C:
11165         * lyx_gui.C:
11166         * lyx_main.C:
11167         * lyxtextclasslist.C:
11168         * minibuffer.C:
11169         * sp_spell.C:
11170         * tabular_funcs.C:
11171         * vc-backend.C:
11172         all c-library variables have been moved into namespace std. Wrap
11173         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11174
11175         * lyxlength.C:
11176         * tabular-old.C:
11177         * tabular.C:
11178         Add a using std::abs declaration.
11179
11180         * kbmap.h (modifier_pair):
11181         * paragraph.h (InsetTable, InsetList):
11182         * lyxfont.h (FontBits):
11183         type definition made public.
11184
11185         * bufferlist.C (emergencyWriteAll): the compiler complains that
11186         there is more than one possible lyx::class_fun template to choose from.
11187         I re-named the void specialisation as lyx::void_class_fun.
11188
11189         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11190
11191         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11192         the compiler is is unable to find tostr in write_attribute.
11193
11194 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11195
11196         * buffer.C (sgmlError): hide #warning
11197
11198 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11199
11200         * xtl/*: get rid of xtl, which is not in use anyway
11201
11202         * LyXAction.C (init):
11203         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11204         were unimplemented xtl experimentation
11205
11206 2002-06-04  André Pönitz <poenitz@gmx.net>
11207
11208         * lyxfunc.C: disable array operation on simple formulae
11209
11210 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * converter.C: constify a bit
11213
11214 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11215
11216         * lyx_gui.C: check xforms version correctly
11217
11218 2002-04-30  Herbert Voss  <voss@lyx.org>
11219
11220         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11221         "keep" option
11222
11223 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11226           attempt to register it with a VCS)
11227
11228 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * lyx_main.C (init): honor variables LYX_DIR_13x and
11231         LYX_USERDIR_13x
11232
11233 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11234
11235         * buffer.h:
11236         * buffer.C:
11237         * lyx_main.C: fix a crash on bad command line,
11238           and give a useful exit status on error
11239
11240         * lyxfunc.C (doImport): allow -i lyx to work
11241
11242 2002-03-30  André Pönitz <poenitz@gmx.net>
11243
11244         * lyxfunc.C: mathed font changes
11245
11246 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * LaTeX.C:
11249         * importer.h:
11250         * importer.C:
11251         * lyx_sty.h:
11252         * lyx_sty.C:
11253         * lyxlex.C:
11254         * lyxrow.h:
11255         * lyxtext.h:
11256         * paragraph.h:
11257         * paragraph.C:
11258         * texrow.h:
11259         * texrow.C:
11260         * text.C:
11261         * trans_mgr.h: srcdocs, and some minor cleanups
11262
11263 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11264
11265         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11266         call getFont all the time)
11267
11268 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11269
11270         * switch from SigC signals to boost::signals
11271
11272 2002-05-29  André Pönitz <poenitz@gmx.net>
11273
11274         * paragraph_pimpl.C (getChar): don't call size() too often...
11275
11276 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * paragraph_pimpl.C (insertChar): do not try to update tables when
11279         appending (pos == size())
11280
11281         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11282         in order to reduce drastically the number of comparisons needed to
11283         parse a large document
11284
11285 2002-05-29  André Pönitz <poenitz@gmx.net>
11286
11287         * text.C:
11288         * text2.C:
11289         * lyxtextclass.C:
11290         * sp_pspell.h:
11291         * textclasslist.[Ch]:
11292         * sp_ispell.h: whitespace change
11293
11294 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11295
11296         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11297         lyxaction directly now.
11298
11299 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * trans.C:
11302         * lyxfont.C:
11303         * lyxvc.C: remove unused headers
11304
11305 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * Makefile.am:
11308         * buffer.h:
11309         * undostack.h:
11310         * undostack.C:
11311         * undo_funcs.h:
11312         * undo_funcs.C: some cleanups. Use shared_ptr
11313           and a template for the undo stacks.
11314
11315 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11316
11317         * BufferView_pimpl.h:
11318         * BufferView_pimpl.C:
11319         * kbmap.h:
11320         * kbmap.C:
11321         * kbsequence.h:
11322         * kbsequence.C:
11323         * lyxfunc.h:
11324         * lyxfunc.C:
11325         * text2.C: use key_state/mouse_state
11326
11327 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11330         and LSubstring
11331
11332         * chset.C: change include order
11333         (loadFile): use boost regex and get rid of LRegex and LSubstring
11334
11335         * Makefile.am (BOOST_LIBS): new variable
11336         (lyx_LDADD): use it
11337
11338         * LaTeX.C: change include order.
11339         (scanAuxFile): use boost regex and get rid of LRegex and
11340         LSubstring
11341         (deplog): ditto
11342
11343 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * ColorHandler.h:
11346         * ColorHandler.C:
11347         * FontInfo.h:
11348         * FontInfo.C: moved to frontends/xforms/
11349
11350         * FontLoader.h:
11351         * FontLoader.C: moved into frontends for GUIIzation
11352
11353         * Makefile.am:
11354         * lyx_gui.C:
11355         * lyxfont.C:
11356         * lyxfunc.C: changes from above
11357
11358 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * LColor.C: remove spurious X include
11361
11362         * BufferView_pimpl.C:
11363         * Makefile.am:
11364         * font.h:
11365         * font.C:
11366         * text.C:
11367         * text2.C: move font metrics to frontends/
11368
11369 2002-05-24  Juergen Vigna  <jug@sad.it>
11370
11371         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11372         setting the undo_cursor.
11373
11374         * ParagraphParameters.h: include local includes first.
11375
11376 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * BufferView_pimpl.C:
11379         * BufferView_pimpl.h:
11380         * Makefile.am:
11381         * WorkArea.h:
11382         * WorkArea.C:
11383         * screen.C: move WorkArea into frontends/
11384
11385         * lyxscreen.h:
11386         * screen.C:
11387         * text.C:
11388         * BufferView.C:
11389         * BufferView2.C: move LyXScreen into frontends/
11390
11391         * lyxlookup.h:
11392         * lyxlookup.C:
11393         * lyx_gui.C: move lyxlookup into frontends/xforms/
11394
11395 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * BufferView2.C:
11398         * BufferView_pimpl.C:
11399         * FontLoader.C:
11400         * LyXView.h:
11401         * LyXView.C:
11402         * Makefile.am:
11403         * WorkArea.C:
11404         * XFormsView.h:
11405         * XFormsView.C:
11406         * buffer.C:
11407         * bufferlist.C:
11408         * bufferview_funcs.C:
11409         * converter.C:
11410         * importer.C:
11411         * lyx_cb.C:
11412         * lyx_gui.C:
11413         * lyx_main.C:
11414         * lyx_find.C:
11415         * lyxfunc.C:
11416         * lyxvc.C:
11417         * minibuffer.C:
11418         * text.C:
11419         * text2.C:
11420         * trans.C:
11421         * vc-backend.C: move LyX/XFormsView into frontends/
11422
11423 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * Makefile.am:
11426         * PainterBase.C:
11427         * PainterBase.h:
11428         * Painter.C:
11429         * Painter.h:
11430         * WorkArea.C:
11431         * WorkArea.h:
11432         * screen.C:
11433         * tabular.C:
11434         * text.C:
11435         * text2.C: move Painter to frontends/
11436
11437 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * buffer.C: comment out some some code that depend upon lyx_format
11440         < 220
11441
11442         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11443         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11444
11445         * buffer.h (NO_COMPABILITY): turn off compability
11446
11447         * ColorHandler.C: include scoped_array.hpp
11448
11449         * font.C: Use more specific smart_ptr header.
11450         * Painter.C: ditto
11451         * gettext.C: ditto
11452         * ShareContainer.h: ditto
11453         * lyx_main.h: ditto
11454         * kbmap.h: ditto
11455         * FontInfo.h: ditto
11456         * BufferView_pimpl.h: ditto
11457         * ColorHandler.h: ditto
11458
11459         * kbmap.C (defkey): change call to shared_ptr::reset
11460
11461 2002-05-21  Juergen Vigna  <jug@sad.it>
11462
11463         * buffer.C (insertErtContents): fix to insert ert asis if it is
11464         non empty. Skip it completely if it contains only whitespaces.
11465
11466 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11467
11468         * BufferView_pimpl.C:
11469         * BufferView2.C: clear selection on paste (bug 393)
11470
11471 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11472
11473         * DepTable.C: include ctime
11474
11475 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11476
11477         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11478
11479 2002-05-14  Juergen Vigna  <jug@sad.it>
11480
11481         * text.C (breakParagraph): fixed function to honor the keepempty
11482         layout in the right maner and also to permit the right breaking
11483         algorithm on empty or non empyt keepempty paragraphs.
11484
11485         * paragraph.C (breakParagraph): we have to check also if the par
11486         is really empty (!size()) for isempty otherwise we do the wrong
11487         paragraph break.
11488
11489 2002-05-10  Juergen Vigna  <jug@sad.it>
11490
11491         * buffer.[Ch] : The following are only changes to the ert
11492         compatibility read reading old LaTeX layout and font stuff and
11493         convert it to ERTInsets.
11494
11495         * buffer.h: added isErtInset().
11496
11497         * buffer.C (struct ErtComp): add a fromlayout bool to check
11498         if we're inside a LaTeX layout.
11499         (isErtInset): new helper function.
11500         (insertErtContents): look for other ert insets before this one
11501         and insert the contents there, so that we don't have subsequent
11502         ERT insets with nothing between them. This way we create only one
11503         inset with multiple paragraphs. Also check if we don't insert only
11504         spaces ' ' as they are ignored anyway afterwards in the .tex file
11505         so if we have only spaces we will ignore this latex part in the
11506         new file.
11507         (parseSingleLyXformat2Token \\layout): better compatibility when
11508         reading layout-latex stuff.
11509         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11510         language tag.
11511         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11512         stuff after reading the inset only get the information back from
11513         the stack.
11514
11515 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11516
11517         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11518
11519         * LaTeXFeatures.C (getBabelOptions): New method.
11520
11521 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * BufferView_pimpl.C (Dispatch): work around missing argument for
11524         'layout'
11525
11526 2002-05-08  Juergen Vigna  <jug@sad.it>
11527
11528         * text.C (leftMargin): handle paragraph leftindent.
11529
11530         * paragraph.C (writeFile): write the new \\leftindent tag.
11531         (validate): handle leftindent code.
11532         (TeXEnvironment): handle paragraphleftindent code again.
11533
11534         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11535
11536         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11537         for paragrap_extra indent code and new token \\leftindent.
11538         (latexParagraphs): handle the leftindent as environment.
11539
11540         * ParameterStruct.h: added leftindent support.
11541
11542         * ParagraphParameters.C (leftIndent): added support functions for
11543         the paragraph left indent.
11544
11545         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11546         more appropriate.
11547
11548 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11549
11550         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11551         inside insetERT.
11552
11553         * text.C (computeBidiTables): No bidi in insetERT.
11554
11555         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11556         in RTL documents.
11557
11558 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * version.C.in: pre 5
11561
11562 2002-05-02  José Matos  <jamatos@fep.up.pt>
11563         * buffer.C (makeDocBookFile): white space changes, add newline to
11564         command styles.
11565         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11566
11567         * tabular.C (docBook): fix typo.
11568
11569 2002-05-03  Juergen Vigna  <jug@sad.it>
11570
11571         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11572         change in LyXText as we can not be sure it was not freed.
11573         (drawOneRow): remove unused code.
11574
11575         * text.C (drawInset): redo the calculation of the need_break_row as
11576         it could have a row which was already freed.
11577         (draw): look at the return value of drawInset and return false if
11578         it also returned false.
11579         (paintRowText): look at the return value of draw and return false if
11580         it also returned false.
11581
11582         * lyxtext.h: added bool return type to drawInset() and draw() so that
11583         if we have a change in the row so that the rowbreak has to be redone
11584         we abort drawing as it will be called again.
11585
11586 2002-05-02  Juergen Vigna  <jug@sad.it>
11587
11588         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11589         a change in the maintext also if we're inside an inset.
11590         (Dispatch): set the cursor again after a break line and after the
11591         screen has been updated as it could be we're in a different row.
11592
11593         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11594         to set the cursor behind the pargraph with > size().
11595         (setCursor): check also for the same paragraph when checking where
11596         to put the cursor if we have a NFR inset.
11597
11598         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11599         parts of layout read further up as it still was in the wrong
11600         position.
11601
11602 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * screen.C (drawFromTo): change sine fullRebreak always return
11605         true.
11606
11607         * buffer.C (parseSingleLyXformat2Token): reindent some
11608
11609         * BufferView_pimpl.C (update): change since fullRebreak always
11610         return true.
11611         (Dispatch): git rid of the last hardcoded "Standard"s.
11612
11613 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * text2.[Ch] (fullRebreak): make it return void now that we always
11616         returned true.
11617
11618 2002-04-30  Juergen Vigna  <jug@sad.it>
11619
11620         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11621         ert compatibility check for "latex" layout.
11622
11623 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11624
11625         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11626         minipages: use col% instead of p%, and also use the current font.
11627         (makeLaTeXFile): Fix use babel condition.
11628         (parseSingleLyXformat2Token): Correct font when reading old floats.
11629
11630 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11631
11632         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11633         inserting list of floats.
11634
11635 2002-04-25  Herbert Voss  <voss@lyx.org>
11636
11637         * MenuBackend.C (expand): don't add the graphics extensions to the
11638         export menu
11639
11640 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11641
11642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11643         non-existing layout, do not complain if it was the default layout
11644         of the original class (bug #342)
11645
11646 2002-04-24  Juergen Vigna  <jug@sad.it>
11647
11648         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11649         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11650
11651 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11652
11653         * buffer.C (getBibkeyList): If using \bibliography, return the
11654         option field with the reference itself. Enables us to provide natbib
11655         support when using \bibliography.
11656
11657 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11658
11659         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11660
11661         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11662         natbib is provided by the LaTeX class.
11663
11664 2002-04-23  Juergen Vigna  <jug@sad.it>
11665
11666         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11667         Wakeup functions.
11668
11669         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11670
11671 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11674
11675         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11676         ensuremath around textordmasculine, textordfeminine and
11677         textdegree.
11678
11679 2002-04-19  Juergen Vigna  <jug@sad.it>
11680
11681         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11682         reinitializing the buffer otherwise row-dimensions may be wrong.
11683         (update): reset also the selection cursors if they do exits otherwise
11684         their x/y positions may be wrong.
11685
11686         * text2.C (cursorDown): don't enter the inset if we came from a row
11687         above and are one row over the inset.
11688
11689         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11690         really leaving an inset.
11691
11692 2002-04-18  Juergen Vigna  <jug@sad.it>
11693
11694         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11695         of the selected paragraph does not have the selected layout also if
11696         the last one had!
11697
11698         * text2.C (setLayout): fixed bug which did not change last selected
11699         paragraph.
11700
11701         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11702         changed the read and substituted \\end_float with \\end_inset!
11703
11704         * BufferView_pimpl.C (cursorPrevious):
11705         (cursorNext): fixed to make it work with rows heigher than the work
11706         area without moving the cursor only the draw of the row.
11707         (workAreaMotionNotify): fix jumping over high rows.
11708
11709 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11710
11711         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11712         Ressler.
11713
11714 2002-04-16  Juergen Vigna  <jug@sad.it>
11715
11716         * text2.C (setCursor): set also the irow().
11717         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11718         (cursorUp):
11719         (cursorDown): support for locking an inset if the x_fix value goes
11720         inside it. That way I can transverse insets too with cursor up/down.
11721
11722         * lyxrow.h: added irow helper function same as other (i) functions.
11723
11724         * BufferView_pimpl.C (cursorPrevious):
11725         (cursorNext): fixed for insets!
11726
11727 2002-04-15  Juergen Vigna  <jug@sad.it>
11728
11729         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11730         position otherwise it is wrong in some cases.
11731
11732         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11733         inside the inset before the call.
11734
11735 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11736
11737         * buffer.[Ch] (getBibkeyList): make it const.
11738
11739 2002-04-12  Juergen Vigna  <jug@sad.it>
11740
11741         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11742
11743         * text2.C (getCursorX): new helper function
11744         (setCursor): compute also ix_
11745         (setCursorFromCoordinates): set also ix.
11746
11747         * lyxcursor.h: added ix_ and helper functions.
11748
11749         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11750
11751         * buffer.C (insertStringAsLines): dont break paragraph if the this
11752         paragraph is inside an inset which does not permit it!
11753
11754         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11755         also with no chars on this paragraph.
11756         (paintRowText): only paint stuff if it's inside the workarea!
11757
11758         * paragraph.C (breakParagraph): honor keepempty flag and break the
11759         paragraph always below not above.
11760
11761         * BufferView2.C (unlockInset): update the paragraph layout on inset
11762         unlock as we changed paragraph in such a case.
11763
11764         * lyxfind.C (LyXFind): clear the former selection if not found!
11765
11766         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11767         again called in insertChar().
11768
11769         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11770         an inset which uses the whole row!
11771         (rightMargin): ditto.
11772         (insertChar): force a rebreak if we inserted an inset!
11773
11774 2002-03-28  Herbert Voss  <voss@lyx.org>
11775
11776         * lyxlength.[Ch]: add inBP() to get the right PS-point
11777         units (BigPoint). With inPixels we have rounding errors
11778
11779 2002-04-11  Juergen Vigna  <jug@sad.it>
11780
11781         * text2.C (setCursorFromCoordinates): set iy to the right value.
11782         (setCursor): add check if row->previous exists!
11783
11784         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11785         an old float_type as this was the case in the old code!
11786
11787         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11788
11789         * BufferView2.C (showLockedInsetCursor): use iy
11790         (fitLockedInsetCursor): ditto
11791
11792         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11793         locked insets as there we have the right value now.
11794
11795         * lyxcursor.C: added iy_ variable and iy functions to set to the
11796         baseline of cursor-y of the locked inset.
11797
11798         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11799         (setCursor): fixed for insets which need a full row.
11800
11801         * text.C (rowLastPrintable): don't ignore the last space when before
11802         an inset which needs a full row.
11803         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11804         as last character of a row when before a inset which needs a full row.
11805
11806 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11807
11808         * version.C.in: update date
11809
11810         * text2.C (fullRebreak): try to always return true and see what
11811         happens...
11812
11813 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11814
11815         * MenuBackend.C (expand): use Floating::listName
11816
11817         * FloatList.C (FloatList): add listName argument to the built-in
11818         floats
11819
11820         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11821         text associated with the float.
11822
11823 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11826
11827 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11828
11829         * ShareContainer.h: add a couple of missing typenames.
11830
11831 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * lyxrc.C (getDescription): use _() correctly rather than N_().
11834
11835 2002-03-28  Herbert Voss  <voss@lyx.org>
11836
11837         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11838         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11839
11840 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11843         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11844
11845 2002-03-29  Juergen Vigna  <jug@sad.it>
11846
11847         * lyxfunc.C (dispatch): add a missing fitCursor call.
11848
11849         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11850         it was scrolled by a cursor move, so return the bool status.
11851
11852         * BufferView.C (fitCursor): return the bool flag also to the outside
11853         world as this is needed.
11854
11855         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11856
11857         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11858         call the edit() as it is not needed (and wrong) IMO.
11859         (workAreaButtonPress): set the screen_first variable before evt.
11860         unlock the inset as this may change screen_first and then we have
11861         a wrong y position for the click!
11862
11863 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11864
11865         * MenuBackend.C (expand): another translation that I missed
11866
11867 2002-03-28  Juergen Vigna  <jug@sad.it>
11868
11869         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11870
11871         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11872
11873 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11876
11877         * MenuBackend.C (expand): fix export/view/update when there is no
11878         document open.
11879
11880 2002-03-27  Herbert Voss  <voss@lyx.org>
11881
11882         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11883         and text%
11884
11885 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11886
11887         * bufferview_funcs.C (currentState): only show paragraph number
11888         for is DEVEL_VERSION is set.
11889
11890         * lyxfunc.C (dispatch): put warning in INFO channel
11891
11892         * MenuBackend.C (expand): translate the name of floats
11893
11894         * FloatList.C (FloatList): mark the float names for translation
11895
11896         * converter.C (convert): use LibScriptSearch
11897
11898 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11899
11900         * MenuBackend.C (defaults): fix default menu (we might as well get
11901         rid of it...)
11902
11903 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11906         directory.
11907
11908 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * lyxvc.C: reorder includes.
11911
11912 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11913
11914         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11915           properly
11916
11917 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * CutAndPaste.C: change layouts earlier on paste
11920           to avoid crashing when calling getFont()
11921
11922 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11925         irritating #error.
11926
11927 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11928
11929         * WorkArea.C: remove 'Pending' debug message.
11930
11931         * most files: ws cleanup
11932
11933         * buffer.[Ch]: ws changes
11934
11935         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11936
11937 2002-03-21  Juergen Vigna  <jug@sad.it>
11938
11939         * tabular.C (SetMultiColumn): collapse also the contents of the
11940         cells and set the last border right. Added a Buffer const * param.
11941
11942 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11943
11944         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11945         linking or not.
11946
11947 2002-03-19  Juergen Vigna  <jug@sad.it>
11948
11949         * text2.C (clearSelection): reset also xsel_cache.
11950
11951         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11952         where it needs to be called (John tells us to do so too :)
11953         (selectionLost): reset sel_cache.
11954
11955         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11956
11957 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11958
11959         * text2.C (setCursorIntern): put debuging code in INSETS channel
11960
11961 2002-03-19  André Pönitz <poenitz@gmx.net>
11962
11963         * lyxfunc.C: tiny whitespace change
11964
11965 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * ToolbarDefaults.C (init):
11968         * LyXAction.C (init):
11969         * commandtags.h:
11970         * BufferView_pimpl.C (Dispatch):
11971         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11972
11973 2002-03-19  Allan Rae  <rae@lyx.org>
11974
11975         * exporter.C (Export): removeAutoInsets before doing anything else.
11976         While I've just introduced a dependency on BufferView this really is
11977         the best place to clean the buffer otherwise you need to cleanup in
11978         a dozen places before calling export or cleanup in a dozen functions
11979         that export calls.
11980
11981         * converter.C (runLaTeX):
11982         (scanLog): Better handling of removeAutoInsets and screen updates.
11983
11984         * lyxfunc.C (dispatch): small whitespace changes
11985
11986 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * WorkArea.C (C_WorkAreaEvent): return a value.
11989         (event_cb): return 1 if we handled the event, 0 otherwise.
11990
11991         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11992
11993 2002-03-18  Juergen Vigna  <jug@sad.it>
11994
11995         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11996         (GetAdditionalWidth): ditto.
11997         (RightLine): ditto.
11998         (LeftLine): ditto.
11999
12000         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12001         inset if we're there actually (probably not used right now but this
12002         is the direction to go for unifying code).
12003         (paste): disable code to clear the selection.
12004
12005         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12006         inside an InsetText and move the check further up as it is in the
12007         wrong place.
12008
12009         * text2.C (pasteSelection): set a selection over the pasted text.
12010
12011 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12012
12013         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12014         and libgraphics to build on Cygwin.
12015
12016 2002-03-15  Juergen Vigna  <jug@sad.it>
12017
12018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12019         inserting an Inset into the paragraph. I know this is not the best
12020         fix but we already use current_view in CutAndPaste so we will remove
12021         all of it's using at the same time.
12022
12023         * buffer.C (sgmlError): deactivated function till it is rewritten in
12024         the right mode, now it can create problems.
12025
12026         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12027         before accessing it.
12028
12029 2002-03-14  Juergen Vigna  <jug@sad.it>
12030
12031         * undo_funcs.C (textHandleUndo): do the right thing when updating
12032         the inset after the undo/redo.
12033
12034         * text2.C (setCursor): just some testcode for #44 not ready yet.
12035
12036         * undo_funcs.C (textHandleUndo): set the next() and previous()
12037         pointers of the paragraph to 0 before deleting otherwise we have
12038         problems with the Paragraph::[destructor].
12039
12040         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12041         on a paragraph insertion.
12042
12043 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * buffer.C (asciiParagraph): use += operator for char append to
12046         string.
12047
12048         * paragraph.C (getFontSettings): compare >= not just >
12049         (highestFontInRange): ditto
12050         (setFont): ditto
12051
12052 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * paragraph.C: change several algorithm to be more appripriate for
12055         the problem domain. This is lookip in FontList and in the InsetList.
12056
12057 2002-03-13  André Pönitz <poenitz@gmx.net>
12058
12059         * commandtags.h:
12060         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12061
12062 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * commandtags.h:
12065         * LyXAction.C:
12066         * lyxfunc.C:
12067         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12068
12069 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * Painter.C (display): anon helper function, adjust code for this
12072         change.
12073         (pixmap): remove function.
12074
12075         * Painter.h: remove private display variable.
12076
12077         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12078
12079 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12080
12081         * WorkArea.[Ch]: remove figinset_canvas cruft.
12082
12083 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12084
12085         * lyxtextclass.C (operator): add one item cache optimization.
12086
12087         * bufferlist.h: doxy changes
12088
12089         * bufferlist.C: ws changes
12090
12091         * DepTable.[Ch] (ext_exist): place const in the right spot.
12092
12093         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12094         call resizeInsets.
12095         (workAreaExpose): call resizeInsets when the with BufferView changes.
12096         (Dispatch): adjust for protectedBlank removal
12097         (specialChar): call updateInset if the insert went ok.
12098
12099         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12100         specialChar instead.
12101
12102         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12103
12104         * BufferView.h: doxy change
12105
12106         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12107
12108         * lyxtextclass.C (operator[]): remove non-const version
12109         (defaultLayout): remove non-const version
12110
12111 2002-03-12  Juergen Vigna  <jug@sad.it>
12112
12113         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12114         did resize the LyXText too.
12115
12116         * buffer.C (readLyXformat2): set layout information on newly allocated
12117         paragraphs.
12118
12119         * tabular.C (OldFormatRead): set layout information on the paragraph.
12120
12121 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12122
12123         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12124
12125 2002-03-11  Juergen Vigna  <jug@sad.it>
12126
12127         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12128         plainly wrong.
12129         (resizeCurrentBuffer): force also the insets to resize themselfes.
12130         (moveCursorUpdate): fixed up for InsetText.
12131
12132 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12133
12134         * commandtags.h:
12135         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12136         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12137         value of Dialogs::tooltipsEnabled().
12138         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12139
12140 2002-03-08  Juergen Vigna  <jug@sad.it>
12141
12142         * BufferView_pimpl.C (updateInset): update inset inside inset also
12143         if it isn't inside theLockingInset().
12144
12145 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * buffer.C (asciiParagraph): redo some of the word and line length
12148         handling.
12149         (getLists): look for Caption instead of caption.
12150
12151 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12152
12153         * buffer.C (Buffer): initialize niceFile to true
12154         (makeLaTeXFile):
12155         (makeLinuxDocFile):
12156         (makeDocBookFile): make sure niceFile is true on exit
12157
12158 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12159
12160         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12161
12162 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12163
12164         * LyXSendto.C: remove.
12165         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12166         * lyx_gui.C: remove now-redundant comment.
12167         * ColorHandler.h: remove forward declaration of class WorkArea.
12168         * lyxfunc.C: remove #include "WorkArea.h".
12169
12170 2002-03-07  Juergen Vigna  <jug@sad.it>
12171
12172         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12173         got moved away with the DEPM and also set the inset_owner always
12174         right which before could have been omitted.
12175
12176 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12179         wanted layout is not found.
12180
12181 2002-03-07  Juergen Vigna  <jug@sad.it>
12182
12183         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12184
12185 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12186
12187         * paragraph.C (breakParagraph): use default layout not layout of
12188         prev paragraph.
12189         (Paragraph): clear ParagraphParameters.
12190
12191 2002-03-06  Juergen Vigna  <jug@sad.it>
12192
12193         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12194         otherwise it would not be a valid lenght. Fixed a special case in
12195         the minipage compatibility read where we end the document with a
12196         minipage.
12197
12198         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12199         was set as it could be 0 for InsetTexts first entry.
12200
12201 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * paragraph.C (writeFile): if layout is empty write out
12204         defaultLayoutName().
12205
12206         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12207         file without named layout we set layout to defaultLayoutName().
12208
12209 2002-03-06  Juergen Vigna  <jug@sad.it>
12210
12211         * CutAndPaste.C (copySelection): set layout for new paragraph.
12212
12213         * text.C (prepareToPrint): leave ERT inset left aligned
12214         (leftMargin): don't indent paragraphs inside ERT insets
12215
12216 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * paragraph.C (breakParagraph): dont call clear do the work manually
12219
12220         * paragraph.[Ch] (clear): remove function
12221
12222 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * paragraph.C (Paragraph): dont call clear, the work has already
12225         been done.
12226
12227         * lyxtextclass.C (operator): assert if n is empty
12228
12229         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12230         work manually instead.
12231
12232 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * BufferView_pimpl.C: protect selectionLost against text == 0
12235
12236 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12237
12238         * text.C (breakParagraph): fix a setting layout to '0' problem.
12239
12240 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12241
12242         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12243         final location of file, for the included files, and graphics.
12244
12245 2002-03-05  Juergen Vigna  <jug@sad.it>
12246
12247         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12248
12249 2002-03-04  Juergen Vigna  <jug@sad.it>
12250
12251         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12252
12253         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12254         last column of multicolumn cells.
12255         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12256
12257 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12258
12259         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12260         file if it doesn't go to a temporary file.
12261
12262         * buffer.C (sgmlOpenTag):
12263         (sgmlCloseTag):  remove extra newline insertion.
12264
12265 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * text.C (getRowNearY): comment out debug msg
12268
12269 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12270
12271         * text2.C: first -> first_y
12272
12273         * text.C (getRowNearY): add some attemts at a possible
12274         optimization, not working.
12275
12276         * tabular.[Ch]: add BufferParams to several function so that newly
12277         created paragraph can be initialized to he default layotu for the
12278         buffers textclass.
12279
12280         * tabular-old.C (ReadOld): add buf->params to call of Init
12281
12282         * screen.C: rename text->first to text->first_y
12283
12284         * paragraph.C (breakParagraph): always set layout in the broken
12285         paragraph
12286
12287         * lyxtextclass.C (Read): remove lowercase
12288         (hasLayout): ditto
12289         (operator): ditto
12290         (delete_layout): ditto
12291
12292         * lyxtext.h: rename first -> first_y
12293
12294         * lyxlayout.C (Read): remove lowercase
12295         (name): ditto
12296         (setName): ditto
12297         (obsoleted_by): ditto
12298
12299         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12300
12301         * buffer.C (insertErtContents): add params are to InsetERT
12302         (parseSingleLyXformat2Token): add code to check if a paragraphs
12303         layout really exist.
12304         (parseSingleLyXformat2Token): add params to several inset
12305         constructors
12306         (asciiParagraph): remove lowercase, do the layout comparisons with
12307         no_case
12308
12309         * BufferView_pimpl.C (cursorNext): first -> first_y
12310         (resizeCurrentBuffer): first -> first_y
12311         (updateScrollbar): first -> first_y
12312         (scrollCB): first -> first_y
12313         (workAreaMotionNotify): first -> first_y
12314         (workAreaButtonPress): first -> first_y
12315         (checkInsetHit): first -> first_y
12316         (cursorPrevious): first -> first_y
12317         (cursorNext): first -> first_y
12318         (Dispatch): add buffer_->params to severl inset contructors
12319
12320 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12321
12322         * lyxlayout.C (Read): remove some debug info that I forgot.
12323
12324         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12325         clean up the code slightly.
12326         (makeLinuxDocFile): ditto
12327         (makeDocBookFile): ditto
12328
12329         * text2.C: layout as string
12330
12331         * text.C: layout as string
12332
12333         * paragraph_pimpl.C: layout as string
12334
12335         * paragraph.[Ch]: layout as string
12336
12337         * lyxtextclasslist.[Ch]: layout as string
12338
12339         * lyxtextclass.[Ch]: layout as string
12340
12341         * lyxtext.h: layout as string
12342
12343         * lyxlayout.[Ch]: layout as string
12344
12345         * lyx_cb.C: layout as string
12346
12347         * bufferview_funcs.C: layout as string
12348
12349         * bufferparams.C: layout as string
12350
12351         * buffer.C: layout as string
12352
12353         * LyXView.[Ch]: layout as string
12354
12355         * LaTeXFeatures.[Ch]: layout as string
12356
12357         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12358
12359         * BufferView_pimpl.C: change current_layout to string, remove
12360         lyx::layout_type.
12361         (Dispatch):
12362         (smartQuote):
12363         (insertInset):
12364         (workAreaButtonRelease): layout as string
12365
12366         * BufferView2.C (unlockInset): adjust
12367
12368         * vspace.C (asLatexCommand): use an explict temp variable.
12369
12370 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * Makefile.am: use FRONTEND_*
12373
12374 2002-03-01  Juergen Vigna  <jug@sad.it>
12375
12376         * tabular.C (SetWidthOfMulticolCell): changed to something better
12377         I hope but still work in progress.
12378         (recalculateMulticolumnsOfColumn): renamed function from
12379         recalculateMulticolCells as it is more appropriate now.
12380         (SetWidthOfCell): calculate multicols better.
12381
12382 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12383
12384         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12385
12386         * lyxfunc.C (processKeySym): print sequence also if it is
12387         `deleted' (complete)
12388
12389         * kbsequence.C (print): print sequence even if it is deleted
12390         (complete would be a better word, actually).
12391
12392         * lyxfunc.C (dispatch): print complete options after a prefix key
12393
12394         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12395
12396 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12397
12398         * text2.C (setCharFont): eliminate setCharFont code duplication.
12399
12400 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12403         LFUN_TABULAR_FEATURE (bug #177)
12404
12405 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12406
12407         * Makefile.am: remove figure.h
12408
12409 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12410
12411         * Bufferview_pimpl.C:
12412         * CutAndPasteC:
12413         * LaTeX.C:
12414         * LyXSendto.C:
12415         * buffer.C:
12416         * bufferlist.C:
12417         * converter.C:
12418         * language.C:
12419         * lyxfunc.C:
12420         * lyxvc.C:
12421         * paragraph.C:
12422         * text.C:
12423         * text2.C: remove #include "lyx_gui_misc.h".
12424
12425         * LaTeX.C: added #include <cstdio>
12426
12427 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12428
12429         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12430         that the paragraph following this one can have.
12431
12432         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12433
12434         * vspace.C (asLatexCommand): fix bogus gcc warning
12435
12436         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12437
12438 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12439
12440         * text2.C (setLayout): get rid of redundant code
12441
12442 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12443
12444         * text2.C (incDepth): make sure depth cannot be increased beyond
12445         reasonable values.
12446
12447 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12448
12449         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12450         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12451
12452         * PainterBase.h (image):
12453         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12454         a LyXImage const *.
12455
12456 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * BufferView.C:
12459         * BufferView.h:
12460         * BufferView_pimpl.C:
12461         * BufferView_pimpl.h:
12462         * LaTeXFeatures.C:
12463         * LyXAction.C:
12464         * LyXView.C:
12465         * Makefile.am:
12466         * UpdateList.h:
12467         * UpdateList.C:
12468         * buffer.C:
12469         * figure.h:
12470         * figureForm.C:
12471         * figureForm.h:
12472         * figure_form.C:
12473         * figure_form.h:
12474         * lyx_cb.C:
12475         * lyx_gui.C:
12476         * lyx_gui_misc.C:
12477         * lyxfunc.C:
12478         * sp_base.h:
12479         * sp_ispell.h:
12480         * sp_pspell.h:
12481         * sp_spell.C: remove fig inset, and the crap house of
12482           cards that follows it
12483
12484 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * Makefile.am:
12487         * lyxserver.C:
12488         * os2_defines.h:
12489         * os2_errortable.h:
12490         * nt_defines.h: move .h into support/
12491
12492         * vms_defines.h: remove
12493
12494         * WorkArea.C: add space in debug output
12495
12496         * text2.C:
12497         * paragraph.C:
12498         * buffer.C: add WITH_WARNINGS
12499
12500         * vc-backend.h:
12501         * vc-backend.C:
12502         * bufferlist.C: s/retrive/retrieve/, add docs
12503
12504         * vspace.h:
12505         * vspace.C:
12506         * kbmap.h:
12507         * lyxlength.h:
12508         * lyxgluelength.h:
12509         * length_common.h:
12510         * chset.h:
12511         * chset.C: add docs
12512
12513         * lyxgui.C: add ID to X error handler
12514
12515         * lyxtestclass.c: fix typo
12516
12517 2002-02-26  Juergen Vigna  <jug@sad.it>
12518
12519         * tabular_funcs.C (write_attribute): changed so that some default
12520         attributes are not written at all.
12521         (getTokenValue): set default values before trying to read the
12522         value so we have the return value always set as default if we don't
12523         find the token we search for.
12524
12525         * tabular.C (Write): write bools as bools not as strings!
12526
12527 2002-02-22  Juergen Vigna  <jug@sad.it>
12528
12529         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12530         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12531
12532         * text.C (leftMargin): don't add an indent for paragraphs inside
12533         tabular cells (fix #208).
12534
12535 2002-02-21  José Matos  <jamatos@fep.up.pt>
12536
12537         * tabular.C (docBook): fixed support for long tables.
12538
12539 2002-02-20  Juergen Vigna  <jug@sad.it>
12540
12541         * text2.C (getFont): get the drawing font of the Inset if this
12542         paragraph is inside an inset (only important for InsetERT for now).
12543
12544         * buffer.C (insertErtContents): use new lanugage params in ERT
12545         constructor.
12546
12547         * CutAndPaste.C: commenting out seemingly uneeded code.
12548
12549 2002-02-19  Allan Rae  <rae@lyx.org>
12550
12551         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12552         Iterators might be simple to use but they also get invalidated.
12553         (removeAutoInsets): renamed saved cursor tracking variables and added
12554         some comments to clarify what everything does.
12555
12556 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12557
12558         * Chktex.C:
12559         * LaTeX.C:
12560         * LyXSendto.C:
12561         * converter.C:
12562         * lyx_cb.C:
12563         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12564         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12565
12566         * lyxfunc.C:
12567         * vc-backend.h: remove #include "support/syscall.h"
12568
12569         * LaTeX.C:
12570         * LyXSendto.C:
12571         * converter.C: rearrange #includes in Lars' approved fashion.
12572
12573         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12574         forward declare class Timeout in the header file.
12575
12576         * XFormsView.C: changes due to the above.
12577
12578         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12579         similar to LyXView.
12580
12581         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12582         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12583
12584 2002-02-18  José Matos  <jamatos@fep.up.pt>
12585
12586         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12587         insets contents.
12588
12589 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12590
12591         * a lot of small ws changes
12592         * add a lot of using std::XXX
12593         * use std construcs some places where approp.
12594         * use some exisint stuff from lyxfunctional where approp.
12595         * Make file changes to use partial linking (lets test this now...)
12596
12597 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12598
12599         * Chktex.C:
12600         * buffer.C:
12601         remove #include "support/syscontr.h" as it's redundant. Always has been.
12602
12603         * Chktex.C:
12604         * LaTeX.C:
12605         * LyXSendto.C:
12606         * converter.C:
12607         * lyx_cb.C:
12608         * vc-backend.C:
12609         change Systemcalls::System to Systemcalls::Wait and
12610         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12611         No change of functionality, just reflects the stripped down Systemcalls
12612         class.
12613
12614 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12615
12616         * debug.[Ch]: add a GRAPHICS type to the enum.
12617
12618 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12619
12620         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12621
12622         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12623         there is an inset.
12624
12625 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12628         match the changes below.
12629
12630         * text2.C (toggleInset): if there is not editable inset at cursor
12631         position, try to see if cursor is _inside_ a collapsable inset
12632         and close it.
12633
12634 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12635
12636         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12637         document menu has a nice checkbox
12638
12639 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * lyxlength.C (asLatexString): change PW to output as percent of
12642         \textwidth.
12643
12644         * lengthcommon.C: change '%' to 't%'
12645
12646         * lyxfunc.C (dispatch): a few comments from Martin
12647
12648 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12649
12650         * WorkArea.h:
12651         * WorkArea.C:
12652         * BufferView_pimpl.h:
12653         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12654           the X selection.
12655
12656 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12657
12658         * vspace.C (inPixels): fix compiler warning
12659
12660 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * lyxfunc.C (getStatus): fix status message for disabled commands.
12663
12664 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * BufferView_pimpl.C: fix crash on close buffer
12667         during selection (#227)
12668
12669 2002-01-27  Herbert Voss  <voss@lyx.org>
12670
12671         * buffer.C: link old Figure to new graphic inset
12672
12673 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12674
12675         * FontLoader.C (getFontinfo): Change the latex font names in order
12676         to match the names of type1inst.
12677
12678 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12681
12682         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12683         (extchanged): ditto
12684         (ext_exist): ditto
12685         (remove_files_with_extension): ditto
12686         (remove_file): ditto
12687         (write): ditto
12688
12689         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12690         document is smaller than the work area height. Do not initialize
12691         static variables to 0.
12692
12693 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12694
12695         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12696
12697         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12698         LFUN_LAYOUT_PARAGRAPHS.
12699
12700         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12701         tabular. It is possible to provide a possible cell, which will
12702         typically be the actcell from the corresponding insettabular
12703
12704         * lyxfunc.C (getStatus): small cleanup; disable
12705         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12706         true
12707
12708 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12709
12710         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12711
12712         * paragraph.C (startTeXParParams):
12713         (endTeXParParams): new methods. The LaTeX code to
12714         start/end paragraph formatting
12715         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12716         empty (fixes bug #200)
12717
12718         * vspace.C (inPixels): adapt to the change below
12719         (inPixels): [later] more cleanups (remove unused variables)
12720
12721         * lyxlength.C (inPixels): change to use a width and a height as
12722         parameter.
12723
12724 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12725
12726         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12727         Replaced with \paperwidth
12728
12729         * DepTable.C (insert): add std:: qualifier
12730
12731 2002-01-18  Allan Rae  <rae@lyx.org>
12732
12733         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12734         updated also?
12735
12736         * text.C (drawInset): Turned out I didn't know enough about how
12737         rebreaking worked.  This fixes most of the redraw problems.  I see
12738         an occasional cursor trail when a line is broken now and the cursor
12739         placement can seem out by a few pixels also after a rebreak.
12740
12741 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12742
12743         * buffer.C (parseSingleLyXformat2Token): update because minipage
12744         width is now a LyXLength
12745
12746         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12747
12748         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12749         math insets
12750
12751 2002-01-17  Juergen Vigna  <jug@sad.it>
12752
12753         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12754
12755         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12756         is set correctly and the inset is updated correctly.
12757
12758 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12759
12760         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12761         the beginning of the loop.
12762
12763 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * lyxrc.C: improve help for use_scalable_fonts
12766
12767 2002-01-17  Allan Rae  <rae@lyx.org>
12768
12769         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12770
12771 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12774         make sure to set their inset_owner to the right value (bug #171)
12775
12776 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12777
12778         * DepTable.h
12779         * DepTable.C: Implement mtime checking to reduce time spent doing
12780         CRCs.
12781
12782 2002-01-16  Juergen Vigna  <jug@sad.it>
12783
12784         * tabular.C (GetAdditionalHeight): one of error fixed.
12785
12786         * lyxrc.C (output): small fix in writing use_pspell.
12787
12788 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * sp_base.h: #include LString.h
12791
12792 2002-01-16  Allan Rae  <rae@lyx.org>
12793
12794         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12795         Can someone check this please?
12796
12797         * text.C (drawInset): It was possible that p.row would be removed by
12798         breakAgainOneRow upsetting a few other settings.  There may be another
12799         small tweak possible by setting need_break_row = 0 when p.row has been
12800         removed but I don't know enough about the logic here.
12801
12802 2002-01-15  Allan Rae  <rae@lyx.org>
12803
12804         * text.C (insertChar): removed conditional truism.
12805
12806         * BufferView2.C (removeAutoInsets): More tweaks.
12807         cur_par_prev could be a stray pointer.  Check for trailing empty line
12808         in case last line was cur_par and only had an error inset on it.
12809
12810 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12811
12812         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12813         absolute
12814
12815         * vc-backend.C (most methods):
12816         * exporter.C (Export):
12817         * converter.C (convert):
12818         (runLaTeX):
12819         * LyXSendto.C (SendtoApplyCB):
12820         * lyxfunc.C (dispatch):
12821         (menuNew):
12822         (open):
12823         (doImport):
12824         * lyx_cb.C (AutoSave):
12825         (InsertAsciiFile):
12826         * BufferView_pimpl.C (MenuInsertLyXFile):
12827         * buffer.C (runChktex): use Buffer::filePath().
12828
12829         * buffer.h: rename filename to filename_; rename filepath to
12830         filepath_ and make it private
12831         (filePath): new method
12832
12833         * buffer.C (writeFile): use fileName()
12834         (getLatexName):
12835
12836         * lyx_main.C (init): fix starting  of LyX when the binary is a
12837         link from so,ewhere else.
12838
12839         * minibuffer.C: include <cctype> for isprint
12840
12841 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12842
12843         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12844         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12845         name clash with InsetCollapsable's width function.
12846
12847 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * lastfiles.C: include <iterator>
12850
12851 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12852
12853         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12854         std::count.
12855
12856         * buffer.C (makeLaTeXFile): ditto.
12857         Also make loop operation more transparent.
12858
12859 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12860
12861         * ToolbarDefaults.C: remove trailing comma closing namespace.
12862
12863         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12864
12865         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12866         as in WorkArea.
12867
12868         * trans.C (Load): comment out unused variable, allowed.
12869
12870 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12871
12872         * minibuffer.[Ch] (append_char): new method to recieve input from the
12873         drop-down completion browser. If a key was pressed, then recieve this
12874         char and append it to the existing string.
12875         (peek_event): modify the positioning data passed to the completion
12876         browser so that it can be placed above the minibuffer rather than below.
12877 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * LyXAction.C (init): alloe error-next for readonly documents.
12880
12881         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12882         count.
12883
12884 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12885
12886         * bufferlist.C (readFile): create the buffer _after_ checking that
12887         the file exists.
12888
12889         * lyxfunc.C (verboseDispatch): fix handling of arguments
12890
12891         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12892
12893         * lyxrc.C: use string::erase() instead of initializing to "".
12894
12895
12896 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12897
12898         * BufferView_pimpl.h:
12899         * BufferView_pimpl.C:
12900         * WorkArea.h:
12901         * WorkArea.C:
12902         * text2.C: tell X when we have made a selection for copying
12903
12904 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12905
12906         * BufferView_pimpl.C (MenuInsertLyXFile):
12907         * lyxfunc.C (menuNew):
12908         (open):
12909         (doImport): add shortcuts to directory buttons
12910
12911         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12912         open a float)
12913
12914         * lyxfunc.C (setStatusMessage):
12915         (getStatusMessage): new methods
12916         (getStatus):use setStatusMessage instead of setErrorMessage
12917         (dispatch): when function is disabled, set error message here
12918         [instead of in getStatus previously]
12919
12920         * BufferView_pimpl.C (workAreaButtonRelease): update
12921         toolbar/menubar here too.
12922
12923 2002-01-13  Allan Rae  <rae@lyx.org>
12924
12925         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12926         Now seems indestructible.  Remaining task is to audit all other
12927         code affected by deleteEmptyParagraphMechanism.  One small quirk
12928         left is that an empty document with an error in the preamble can
12929         be made to report an error but no error box appears.  I don't know
12930         where it goes.
12931         (removeAutoInsets): Improved comments.
12932
12933 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * Thesaurus.h:
12936         * Thesaurus.C: update for Aiksaurus 0.14
12937
12938 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * text2.C (firstParagraph): removed member function, all uses
12941         replaces with ownerParagraph
12942         (redoParagraphs): here
12943         (updateInset): here
12944         (toggleAppendix): here
12945         * BufferView2.C (insertErrors): here
12946         (setCursorFromRow): here
12947
12948 2002-01-13  Allan Rae  <rae@lyx.org>
12949
12950         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12951         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12952         There is still a way to segfault this although you may have to do this
12953         multiple times: Have an InsetERT with an unknown command in it.
12954         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12955         <down-arrow>, <Enter> again, View->DVI, BANG!
12956
12957         * text2.C (setCursor):
12958         (deleteEmptyParagraphMechanism):
12959         * lyxtext.h (setCursor):
12960         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12961         Making use of the return value may help fix other bugs.
12962
12963 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12964
12965         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12966
12967         * LyXView.C (updateMenubar): call MenuBar::update here
12968         (updateToolbar): but not here
12969         (showState): do not update toolbar/menubar
12970
12971         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12972         should need to care about that.
12973
12974         * lyxfunc.C (verboseDispatch): simplify a bit
12975         (getStatus): have a version which takes a pseudoaction, and
12976         another which requires a (kb_action,string).
12977
12978         * LyXAction.C (retrieveActionArg): make it work also when action
12979         is not a pseudo-action.
12980         (getActionName): simplify a bit
12981         (helpText):
12982
12983 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12984
12985         * lyxfunc.C (verboseDispatch): new families of methods with
12986         several ways to specify a command and a bool to indicate whether
12987         the command name and shortcut should be displayed in minibuffer
12988         (eventually, we could extend that to a finer bitmask like
12989         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12990         (dispatch): the pristine dispatch command which just, well,
12991         dispatchs! Note it still sets its result to minibuffer; I'm not
12992         sure we want that.
12993
12994         * lyxfunc.h: remove setHintMessage
12995
12996         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12997
12998 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * BufferView_pimpl.C (specialChar): delete new inset if we have
13001         not been able to insert it.
13002
13003         * kbmap.C: revert to using int instead of kb_action, since all we
13004         are dealing with is pseudo-actions.
13005
13006         * LyXAction.C (searchActionArg): change to return int instead of
13007         kb_action, since the result is a pseudoaction.
13008
13009 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13010
13011         * buffer.C (insertErtContents): Fix (partially) the font bug.
13012
13013 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13016         as the other one is broken on my machine!
13017
13018 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13019
13020         * commandtags.h:
13021         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13022
13023 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13024
13025         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13026         reflect their actual use. Provide compatibility code for older lyxrc
13027         files.
13028
13029         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13030         FL_NORMAL_STYLE.
13031         change names of popup font variables in line with the changes to lyxrc.C
13032
13033 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13034
13035         * buffer.C (asciiParagraph): avoid outputing a word twice after
13036         an inset.
13037
13038         * lyxrc.C (getDescription): document that document_path and
13039         template_path can be empty.
13040
13041 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13042
13043         * LaTeXFeatures.C (getMacros):
13044         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13045
13046         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13047
13048         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13049         getPackages.
13050         (getPackages): rename feature "floats" to "float". Use an array to
13051         iterate over 'simple' features (i.e. just a \usepackage). Add
13052         handling of "amsmath" (renamed from "amsstyle").
13053
13054 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13055
13056         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13057         features list.
13058
13059 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13060
13061         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13062         FuncStaus::FuncStatus & FuncStaus::some_method().
13063
13064 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13065
13066         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13067         of the func_satus stuff. Edited and massaged in various ways by
13068         JMarc.
13069
13070         * lyxfunc.C (getStatus): use FuncStatus
13071
13072 2002-01-08  Juergen Vigna  <jug@sad.it>
13073
13074         * text.C (nextBreakPoint): use function Inset::isChar().
13075
13076         * paragraph.C (TeXOnePar): use function
13077         Inset::forceDefaultParagraphs.
13078
13079         * buffer.C (latexParagraphs): use function
13080         Inset::forceDefaultParagraphs.
13081
13082 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13083
13084         * lyx_gui.C (init): set the style of the menu popups to
13085         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13086
13087 2002-01-07  Juergen Vigna  <jug@sad.it>
13088
13089         * text.C (setHeightOfRow): small fix
13090         (prepareToPrint): don't look at alignment if we don't have the place
13091         for doing it.
13092
13093 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13094
13095         * box.C: New file. Move the Box methods and functions out of box.h,
13096         following Lars' suggestion.
13097
13098 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         * box.h: #include "support/LOstream.h", needed for inlined function.
13101
13102         * lyxtextclass.C:
13103         * lyxtextclasslist.C: added some using std declarations.
13104
13105 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * box.h: make signed dimensions to allow insets wider than
13108           the screen (bug #162)
13109
13110         * BufferView_pimpl.C: add some insetHit debug
13111
13112 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * vc-backend.C: add FIXME
13115
13116 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13117
13118         * lyxfunc.C (getStatus): enable code for showing math font status
13119         in toolbar/menu.
13120
13121 2002-01-07  Juergen Vigna  <jug@sad.it>
13122
13123         * text.C (nextBreakPoint): removed debug output not needed anymore.
13124
13125 2002-01-06  Juergen Vigna  <jug@sad.it>
13126
13127         * text.C (nextBreakPoint): fixed up this function we had this bug
13128         since ever but now hopefully we break row better.
13129         (insertChar): we have to check if an inset is the next char as it
13130         could now happen that a large inset is causing a break.
13131
13132 2002-01-05  Juergen Vigna  <jug@sad.it>
13133
13134         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13135         if it doesn't like to be drawed.
13136
13137 2002-01-04  Juergen Vigna  <jug@sad.it>
13138
13139         * BufferView2.C (lockInset): forgot to set a cursor.
13140
13141         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13142
13143 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13144
13145         * FormMathsPanel.C:
13146         * FormMathsPanel.h
13147         * MathsSymbols.C:
13148         * form_maths_panel.C:
13149         * form_maths_panel.h:
13150         * form_maths_panel.fd: implemented sub- and super- buttons in math
13151         panel.
13152
13153         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13154         (or ^ space) to be used as in TeX (req'd by André).
13155
13156         * lyxfunc.C: Allow ^ and _ again to be used both as
13157         super/subscript (mathed) and as themselves (in text).
13158
13159 2002-01-03  Allan Rae  <rae@lyx.org>
13160
13161         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13162         "LyX" or the filename of the current buffer if it has one.  This is a
13163         modified form of John Levon's patch.
13164
13165         * XFormsView.C (setWindowTitle): also set icon title.
13166
13167         * LyXView.h (setWindowTitle): signature changed.
13168         * XFormsView.h (setWindowTitle): ditto.
13169
13170 2002-01-02  Juergen Vigna  <jug@sad.it>
13171
13172         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13173
13174 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * screen.C (topCursorVisible): introduce a temp var for
13177         text->cursor.row(), handle the case where this row is null. (kindo
13178         hachish)
13179
13180         * text2.C (setCursor): add a couple of asserts.
13181
13182         * paragraph.h (inset_iterator): add -> operator
13183
13184         * paragraph.[Ch] (autoDeleteInsets): remove member function
13185
13186         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13187         cursor pos correctly and handle inset deletion by itself.
13188         (insertErrors): move iterator declaration out of for expression
13189
13190         * lyxtextclass.C: add <algorithm>
13191
13192         * Makefile.am: added the new files to sources, removed layout.C
13193
13194         * layout.C: removed file
13195
13196         * layout.h: remove LYX_DUMMY_LAYOUT
13197
13198         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13199         layout.
13200
13201         * lyxlayout.[Ch]:
13202         * lyxtextclass.[Ch]:
13203         * lyxtextclasslist.[Ch]: new files
13204
13205         * include order changes to a lot of files, also changes because of
13206         the six new files.
13207
13208 2001-12-27  Juergen Vigna  <jug@sad.it>
13209
13210         * buffer.C (asciiParagraph): more fixes.
13211
13212         * tabular.C (ascii): make ascii export support export of only the
13213         data separated by a column-delimiter.
13214         (ascii): better support for ascii export.
13215
13216         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13217
13218 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * tabular_funcs.C: use a "using std::getline" instead of the
13221         previous fix from Angus (necessary for cxx + lyxstring)
13222
13223 2001-12-24  Juergen Vigna  <jug@sad.it>
13224
13225         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13226
13227         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13228         problems. First check a minipage also if we have some ert-contents
13229         (not only on par->size(), second set the right depth of the paragraph
13230         on the relink to the root-paragraph-list!
13231
13232         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13233         which then did not anymore update the main paragraphs on undo/redo!
13234
13235 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13236
13237         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13238         code. Support all font-changing funcs (even those which are not in
13239         menu currently). Support for reporting font settings in
13240         mathed (disabled until Andre provides a function on mathed's side).
13241
13242         * func_status.h (toggle): small helper function to set toggle
13243         state on a flag.
13244
13245 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13246
13247         * tabular_funcs.C: getline -> std::getline
13248
13249 2001-12-21  Juergen Vigna  <jug@sad.it>
13250
13251         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13252         accessed and could be 0 (I couldn't generate this but it seems
13253         Michael could!).
13254
13255 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13258         * tabular_funcs.h: here and include iosfwd
13259
13260 2001-12-20  Juergen Vigna  <jug@sad.it>
13261
13262         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13263         inside inset but undo_par was.
13264
13265 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13266
13267         * Thesaurus.C: always include <config.h> in sources.
13268
13269         * Painter.h:
13270         * lyxlookup.h:
13271         * box.h: do not include <config.h> in header files
13272
13273         * text.C (paintLastRow): remove unused variable
13274
13275         * text.C (transformChar):
13276         (insertChar):
13277         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13278
13279         * Painter.C (text):
13280         * font.C (width): rewrite to use uppercase() instead of
13281         islower/toupper.
13282
13283         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13284
13285 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13286
13287         * lyxfind.C: clean up of find failure position change
13288
13289 2001-12-20  Juergen Vigna  <jug@sad.it>
13290
13291         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13292
13293         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13294         (TeXRow): added to LaTeX a single tabular row.
13295         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13296         (Latex): simplified and finally good LT-h/f support.
13297         (various_functions): just small adaptions for LT-h/f support.
13298
13299         * tabular_funcs.[hC]: added and moved here all not classfunctions
13300         of LyXTabular.
13301
13302 2001-12-19  Juergen Vigna  <jug@sad.it>
13303
13304         * tabular.[Ch]: better support for longtabular options (not finished
13305         yet!)
13306
13307 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13308
13309         * text.C (paintLastRow): use the label font instead of the font of
13310         the last character to compute the size of *_BOX. This makes more
13311         sense and avoids a crash with empty paragraphs.
13312         Use Painter::rectangle to draw EMPTY_BOX.
13313
13314 2001-12-19  Juergen Vigna  <jug@sad.it>
13315
13316         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13317         the paragraphs if the replaced paragraph is not the first one!
13318         Tried to delete not used paragraphs but does not work yet so for
13319         now it's inside #ifdef's and by default off!
13320
13321 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13322
13323         * MenuBackend.C: include "lyx_main.h" instead of declaring
13324         lastfiles (actually was declared as LastFiles* instead of a
13325         scoped_ptr).
13326
13327 2001-12-17  Juergen Vigna  <jug@sad.it>
13328
13329         * tabular.C (AppendColumn): applied John's fix
13330
13331 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13332
13333         * BufferView.h:
13334         * BufferView.C:
13335         * BufferView_pimpl.h:
13336         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13337
13338         * Makefile.am:
13339         * box.h: new start of class for above
13340
13341         * lyxfunc.C: ignore space-only minibuffer dispatches.
13342           Show the command name when it doesn't exist
13343
13344         * minibuffer.C: don't add empty lines to the history
13345
13346         * minibuffer.C: add a space on dropdown completion
13347
13348 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13349
13350         * text.C: fix line above/below drawing in insets
13351
13352 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13353
13354         * lyxlength.C (LyXLength): Initialize private variables.
13355
13356 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13359         when inserting error insets.
13360
13361 2001-12-13  Juergen Vigna  <jug@sad.it>
13362
13363         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13364         actually sometimes the before-paragraph.
13365         (setUndo): don't clear the redostack if we're not actually undoing!
13366
13367 2001-12-06  Juergen Vigna  <jug@sad.it>
13368
13369         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13370         and fixed redoing of main paragraph, so we can use it now ;)
13371
13372         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13373
13374 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13375
13376         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13377         Juergen's request
13378
13379 2001-12-13  André Pönitz <poenitz@gmx.net>
13380
13381         * undostack.[Ch]:
13382         * undo_func.C: minor cleanup
13383
13384 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13385
13386         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13387         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13388         font in urw-fonts package which is marked as -urw-fontspecific and
13389         does not work (incidentally, changing the encoding in the
13390         fonts.dir of this package to -adobe-fontspecific fixes the
13391         problem).
13392
13393         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13394         is a crash when undoing first paragraph (Juergen, please take a
13395         look). THis does not mean the undo fix is wrong, just that it
13396         uncovers problems.
13397
13398         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13399         the (Paragraph*) version when needed instead of duplicating the
13400         code.
13401
13402         * text.C (workWidth): use Inset::parOwner to find out where the
13403         inset has been inserted. This is a huge performance gain for large
13404         documents with lots of insets. If Inset::parOwner is not set, fall
13405         back on the brute force method
13406
13407         * paragraph_pimpl.C (insertInset):
13408         * paragraph.C (Paragraph):
13409         (cutIntoMinibuffer): set parOwner of insets when
13410         inserting/removing them
13411
13412         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13413
13414 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13415
13416         * commandtags.h:
13417         * LyXAction.C:
13418         * lyx_main.C:
13419         * lyxfunc.C:
13420         * mathed/formulabase.C:
13421         * mathed/math_cursor.[Ch]:
13422         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13423
13424
13425 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13426
13427         * lyxlength.[Ch] (operator!=): new function
13428
13429 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13430
13431         * text.C (workWidth): use Inset::parOwner to find out where the
13432         inset has been inserted. This is a huge performance gain for large
13433         documents with lots of insets. If Inset::parOwner is not set, fall
13434         back on the brute force method
13435
13436         * paragraph_pimpl.C (insertInset):
13437         * paragraph.C (Paragraph):
13438         (cutIntoMinibuffer): set parOwner of insets when
13439         inserting/removing them
13440
13441         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13442
13443 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13444
13445         * tabular-old.C (getTokenValue):
13446         * tabular.C (getTokenValue):
13447         (write_attribute): new versions for LyXLength
13448         (everywhere): adjust the use of widths
13449
13450         * tabular.h: change the type of widths from string to LyXLength
13451
13452 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13453
13454         * paragraph.C: fixed missing line number count when exporting
13455         Environments to LaTeX file
13456
13457         * buffer.C: added informational message for checking line numbers.
13458
13459 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13460
13461         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13462         paragraph, do the 'double space' part, but not the 'empty
13463         paragraph' one.
13464
13465         * text.C (workWidth): small optimization
13466         (getLengthMarkerHeight): use minimal size for negative lengths.
13467
13468 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13469
13470         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13471
13472         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13473
13474 2001-12-11  André Pönitz <poenitz@gmx.net>
13475
13476         * FontLoader.C:
13477         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13478
13479 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * text2.C: keep selection on a setFont()
13482
13483 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * lyx_cb.C: another bv->text misuse, from insert label
13486
13487 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * kbsequence.h:
13490         * kbsequence.C: re-instate nmodifier mask
13491
13492 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13493
13494         * lyx_main.h: make lyxGUI private.
13495
13496 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * lyxfind.C: place the cursor correctly on failed search
13499
13500 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * text.C (getLengthMarkerHeight): for small heights, the arrows
13503         are not always on top/bottom of the text
13504         (drawLengthMarker): smaller arrows; take the left margin in
13505         account; draw also vfills.
13506         (paintFirstRow):
13507         (paintLastRow): remove special code for vfill and standard spaces,
13508         since everything is handled in drawLengthMarker now.
13509
13510 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * buffer.C (insertErtContents): try to handle font and language
13513         interaction a bit better.g
13514
13515         * ColorHandler.C (updateColor): change the hash to cover the whole
13516         LColor enum, ws cleanup
13517         (getGCLinepars): ditto
13518         (getGCLinepars): only lookup in the linecache once.
13519
13520 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13521
13522         * iterators.C (operator++): Make the iterator more robust
13523
13524         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13525         (John's patch)
13526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13527
13528 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13529
13530         * lyxtext.h:
13531         * text.C: better added space drawing
13532
13533 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13534
13535         * LyXView.C:
13536         * BufferView2.C: fix layout combo update on inset unlock
13537
13538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * Makefile.am: don't compile unused files
13541
13542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * lyxfunc.C:
13545         * commandtags.h:
13546         * LyXAction.C: remove old LFUN_LAYOUTNO
13547
13548 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13549
13550         * paragraph_pimpl.h:
13551         * paragraph_pimpl.C: isTextAt() doesn't need font param
13552
13553 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13554
13555         * lyxlex.h:
13556         * lyxlex.C: little cleanup
13557
13558 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13559
13560         * BufferView_pimpl.C: fix insertAscii for insets
13561
13562 2001-12-05  Juergen Vigna  <jug@sad.it>
13563
13564         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13565         set the right font on the "multi" paragraph paste!
13566
13567 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * trans_decl.h:
13570         * trans_mgr.[Ch]:
13571         * trans.[Ch]:
13572         * lyxgluelength.C:
13573         * lyxlength.C: remove out-commented code.
13574
13575         * BufferView_pimpl:
13576         * CutAndPaste.C:
13577         * DepTable.C:
13578         * buffer.C:
13579         * chset.C:
13580         * lastfiles.C:
13581         * lyxlex.C:
13582         * lyxlex_pimpl.C:
13583         * lyxserver.C:
13584         * screen.C:
13585         * tabular-old.C:
13586         * tabular.C:
13587         * text.C:
13588         * trans_mgr.C:
13589         * vc-backend.C: change "while(" to "while ("
13590
13591         * lyxlength.[Ch]: add zero function to check if length is zero or
13592         not
13593         * lyxgluelength.C: use it
13594
13595 2001-12-05  Allan Rae  <rae@lyx.org>
13596
13597         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13598         Works for 2.95.3, from what I understand of Garst's reports this should
13599         work for other g++ versions.  We're screwed if the abs(int) definition
13600         changed between bugfix releases of gcc.
13601
13602 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13603
13604         * text.C: fix chapter label offset !
13605
13606 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13607
13608         * lyxtext.h:
13609         * text.C: fix hfill at end of line, clean up
13610
13611 2001-12-04  Juergen Vigna  <jug@sad.it>
13612
13613         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13614         that we force an update of the inset and it's owners if neccessary.
13615
13616 2001-12-03  Juergen Vigna  <jug@sad.it>
13617
13618         * text.C (rowLast): simplified code
13619
13620 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * lyxfunc.C: fix show options on timeout
13623
13624 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * screen.C (topCursorVisible): scroll half a page when the cursor
13627         reached top of bottom of screen
13628
13629 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13630
13631         * minibuffer.C: deactivate on loss of focus
13632
13633 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * vspace.[Ch] (operator!=): add operator.
13636
13637 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13638
13639         * BufferView_pimpl.C: refuse to open an inset when
13640         there's a selection.
13641
13642 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13643
13644         * BufferView_pimpl.C: allow to click on RHS of full row insets
13645
13646 2001-11-30  Juergen Vigna  <jug@sad.it>
13647
13648         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13649         insets for undo reasons.
13650
13651 2001-11-28  André Pönitz <poenitz@gmx.net>
13652
13653         * vspace.[Ch]: cosmetical changes
13654
13655 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13656
13657         * LyXAction.h:
13658         * LyXAction.C:
13659         * lyxfunc.h:
13660         * lyxfunc.C:
13661         * kbmap.h:
13662         * kbmap.C:
13663         * lyxrc.C:
13664         * kbsequence.h:
13665         * kbsequence.C: part re-write of old kb code
13666
13667         * Painter.C:
13668         * WorkArea.C: remove Lgb_bug_find_hack
13669
13670 2001-11-30  José Matos <jamatos@fep.up.pt>
13671
13672         * buffer.C (makeDocBookFile): add a comment to point a hack.
13673         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13674         Fixed a double write of labels.
13675
13676 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13677
13678         * LaTeX.C:
13679         * LaTeX.h Fixed bug in LaTeX class where it would not
13680         re-run latex if no depfiles were changed, but the .dvi was removed.
13681
13682 2001-11-28  André Pönitz <poenitz@gmx.net>
13683
13684         * all the files from the change on 2001/11/26:
13685         use lyx::layout_type instead of LyXTextClass::size_type
13686         use lyx::textclass_type instead of LyXTextClassList::size_type
13687
13688 2001-11-29  Juergen Vigna  <jug@sad.it>
13689
13690         * text.C: added support for paragraph::isFreeSpacing()
13691
13692         * buffer.C: same as above
13693
13694         * paragraph.h: inserted isFreeSpacing() function to enable
13695         FreeSpacing inside InsetERT.
13696
13697         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13698         of the paragraph's in the cut/copy buffer to 0!
13699
13700         * text2.C (removeRow): remove the assert as it can!
13701
13702         * lyxtext.h: added helper function firstRow returning firstrow and
13703         made firstrow private again.
13704
13705         * BufferView2.C (lockInset): don't relock if we're already locked!
13706
13707         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13708         the only paragraph.
13709         (removeRow): added Assert::(firstrow)
13710
13711         * debug.C: forgot to add INSETTEXT here.
13712
13713 2001-11-28  Juergen Vigna  <jug@sad.it>
13714
13715         * sp_spell.C (initialize): changed error text to more general
13716         spellchecker command use (not only ispell!)
13717
13718         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13719
13720         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13721
13722 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * vspace.C: initialise lyxgluelength on failure
13725
13726 2001-11-28  Allan Rae  <rae@lyx.org>
13727
13728         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13729         declaration & definition that looks like a function declaration.
13730
13731 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * BufferView2.C (copy):
13734         (copyEnvironment): do not clear the selection when doing a copy.
13735
13736         * text.C (paintFirstRow): compilation fix
13737
13738 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13739
13740         * tabular.C (Latex): correct line count when writing latex.
13741
13742 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13743
13744         * paragraph_pimpl.h:
13745         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13746           bug a bit
13747
13748 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13749
13750         * text.C:
13751         * LColor.h:
13752         * LColor.C: change vfillline->added_space
13753
13754         * text.C: add markers and text for added space
13755
13756         * vspace.C: fix comment
13757
13758 2001-11-28  André Pönitz <poenitz@gmx.net>
13759
13760         * paragraph.C: whitespace changes
13761         * all the other files from the change on 2001/11/26:
13762         change *::pos_type into lyx::pos_type
13763
13764 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13765
13766         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13767         language of the document when inserting error insets.
13768
13769 2001-11-26  André Pönitz <poenitz@gmx.net>
13770
13771         * BufferView_pimpl.[Ch]:
13772         *       CutAndPaste.C:
13773         * buffer.[Ch]:
13774         * lyxcursor.[Ch]:
13775         * lyxfind.C:
13776         * lyxfunc.C:
13777         * lyxrow.[Ch]:
13778         * paragraph.[Ch]:
13779         * paragraph_pimpl.[Ch]:
13780         * sp_spell.C:
13781         * text.C:
13782         * text2.C: reduce header dependencies, introduce type for positions
13783
13784 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13785
13786         * <various>: change to use Alert.h
13787
13788 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13791         when encountering an unknown token.
13792         (readLyXformat2): Show an error message if there were unknown tokens.
13793
13794 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * BufferView2.C:
13797         * BufferView_pimpl.C:
13798         * buffer.C:
13799         * paragraph.h:
13800         * text.C:
13801         * text2.C: use par->isInset()
13802
13803 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * paragraph_pimpl.h:
13806         * paragraph_pimpl.C: cleanup
13807
13808 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * text2.C (removeRow):
13811         * text.C (setHeightOfRow): remove useless (and costly) call to
13812         getRow.
13813
13814 2001-11-20  Allan Rae  <rae@lyx.org>
13815
13816         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13817         Now need Inset*::checkInsertChar() to return true for appropriate
13818         cases so that the characters in the minibuffer will actually be
13819         inserted.
13820
13821 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13822
13823         * text.C: change the order of the includes.
13824         (workWidth): initialize it at once.
13825         (workWidth): make maxw unsigned
13826         (setHeightOfRow): remove unused variable (inset)
13827         (selectSelectedWord): remove unused variable (inset)
13828         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13829
13830 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13831
13832         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13833         server is not running.
13834         (openConnection):
13835         (closeConnection): add debug info when server is disabled.
13836
13837         * ColorHandler.C (getGCForeground): send debug message to GUI
13838         channel.
13839
13840         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13841
13842         * kbmap.C (bind): modify because return conventions of
13843         kb_sequence::parse have changed.
13844
13845         * kbsequence.C (parse): only ignore spaces and not any stupid
13846         control character. This avoids tests like s[i] <= ' ', which are
13847         guaranteed to fail with 8bit characters and signed chars.
13848         Change return code to string::npos when there have been no error
13849         (0 was a bad idea when error is at first character)
13850
13851 2001-11-14  José Matos  <jamatos@fep.up.pt>
13852
13853         * buffer.h:
13854         * buffer.C (simpleDocBookOnePar): removed unused argument.
13855
13856 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13859         insets which are part of a word. Paragraph::isLetter takes care of
13860         that now. Use Paragraph::isInset to identify insets.
13861         (selectSelectedWord): do not test for hyphenation break.
13862
13863         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13864         that protected spaces are considered as spaces.
13865
13866         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13867         Inset::isLetter.
13868
13869 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13870
13871         * lyxserver.h:
13872         * lyxserver.C: fix it. and small cleanup.
13873
13874 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * BufferView_pimpl.C: use inline helpers
13877
13878         * LaTeXFeatures.h:
13879         * LaTeXFeatures.C: fix typos
13880
13881         * Spacing.h:
13882         * Spacing.C: move spacing_string into class
13883
13884         * ToolbarDefaults.C: move stuff into namespace anon
13885
13886         * layout.h: update enum
13887
13888         * lyxfunc.C: use better debug
13889
13890         * minibuffer.h: fix typo
13891
13892         * debug.h:
13893         * debug.C:
13894         * WorkArea.C: add and use Debug::WORKAREA
13895
13896         * lyxtext.h:
13897         * text.C:
13898         * text2.C: code re-organisation, inline helpers
13899
13900 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13901
13902         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13903         std::vector.empty().
13904
13905 2001-11-09  Allan Rae  <rae@lyx.org>
13906
13907         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13908         '\n's after tables.  Tabular and ERT inset work now makes this no
13909         longer necessary.
13910
13911 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * minibuffer.h:
13914         * minibuffer.C: fix crash, improve drop-down completion
13915
13916 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * lyxserver.h:
13919         * lyxserver.C: invalidate fd's when doing endPipe()
13920
13921 2001-11-08  José Matos  <jamatos@fep.up.pt>
13922
13923         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13924         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13925
13926         * paragraph.h:
13927         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13928
13929 2001-11-07  José Matos  <jamatos@fep.up.pt>
13930
13931         * buffer.h:
13932         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13933         const qualifier.
13934
13935         * buffer.C (sgmlOpenTag):
13936         * buffer.C (sgmlCloseTag): removed debug info.
13937
13938         * buffer.h (sgmlOpenTag):
13939         * buffer.h (sgmlCloseTag): made public.
13940
13941 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13942
13943         * buffer.C (saveParamsAsDefaults):
13944         * lyx_cb.C (MenuLayoutSave): remove
13945
13946         * LyXAction.C (init):
13947         * commandtags.h:
13948         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13949
13950 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * buffer.C (setPaperStuff): removed from here...
13953
13954         * bufferparams.C (setPaperStuff): ... and moved there.
13955
13956 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * minibuffer.h:
13959         * minibuffer.C:
13960         * XFormsView.C: add support for drop-down completion
13961
13962 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13963
13964         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13965         commands.
13966
13967 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13968
13969         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13970         disabled.
13971
13972 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13973
13974         * lyx_main.C: change ref to known bugs
13975
13976 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13977
13978         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13979         to work around older babel problems.
13980
13981 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13982
13983         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13984
13985 2001-10-24  Juergen Vigna  <jug@sad.it>
13986
13987         * tabular-old.C (ReadOld): below variable changes reflected.
13988
13989         * tabular.[Ch]: added ltType struct for longtable header/footer
13990         defines and changed all instances where they are used. Added
13991         future support for double top/bottom rows.
13992
13993 2001-10-24  José Matos  <jamatos@fep.up.pt>
13994
13995         * buffer.h (docbookHandleCaption):
13996         * buffer.C (docbookHandleCaption): removed unused function.
13997         (makeDocBookFile): moved docbook supported version to v4.1.
13998
13999 2001-10-24  José Matos  <jamatos@fep.up.pt>
14000
14001         * tabular.h:
14002         * tabular.C (docbookRow): new function to export docbook code of a row.
14003         (DocBook): now honors the longtable flags.
14004
14005 2001-10-23  José Matos  <jamatos@fep.up.pt>
14006
14007         * LaTeXFeatures.h:
14008         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14009         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14010
14011         * buffer.C (makeLinuxDocFile):
14012         (makeDocBookFile): reworked the preamble, more clean, and with
14013         support for lyx defined entities. Changed the document declaration
14014         to be more XML friendly.
14015
14016         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14017         if we need to output XML that should be done with a filter.
14018
14019 2001-10-22  Juergen Vigna  <jug@sad.it>
14020
14021         * sp_pspell.h (class PSpell): add alive function needed in the
14022         controller to see if the spellchecker could be started.
14023
14024 2001-10-22  Juergen Vigna  <jug@sad.it>
14025
14026         * buffer.C (insertStringAsLines): modify the font for inserting
14027         chars in certain conditions by calling checkInsertChar(font).
14028
14029 2001-10-19  Juergen Vigna  <jug@sad.it>
14030
14031         * text.C (workWidth): use getRow instead of wrong algorithm.
14032         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14033
14034 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14035
14036         * lyxserver.h:
14037         * lyxserver.C:
14038         * lyx_main.h:
14039         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14040
14041 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14042
14043         * text.C (workWidth): do not search for the exact row when
14044         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14045         optimization for big documents.
14046
14047 2001-10-18  Juergen Vigna  <jug@sad.it>
14048
14049         * text.C (workWidth): new function with added Inset * parameter.
14050
14051 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14052
14053         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14054
14055         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14056         change return type of getColumnNearX.
14057
14058
14059         * text.C (changeRegionCase): use uppercase/lowercase instead of
14060         toupper/tolower.
14061         (leftMargin):
14062         (rightMargin): simplify code by factoring out the uses of
14063         textclasslist.
14064         (labelFill):
14065         (numberOfHfills):
14066         (setHeightOfRow):
14067         (appendParagraph): use Paragraph::size_type
14068
14069 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * vspace.C (asLatexString): add a missing break
14072
14073 2001-10-15  Herbert Voss  <voss@perce.de>
14074
14075         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14076
14077 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14078
14079         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14080         is not available.
14081
14082 2001-10-10  André Pönitz <poenitz@gmx.net>
14083
14084         * lyxfunc.C: removed greek_kb_flag.
14085
14086 2001-10-10  Herbert Voss  <voss@perce.de>
14087
14088         * lyx_main.C: delete global string help_lyxdir.
14089
14090 2001-10-09  Herbert Voss  <voss@perce.de>
14091
14092         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14093
14094         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14095
14096         * lyx_main.C: added global string help_lyxdir.
14097
14098         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14099
14100 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14101
14102         * lyxrc.C (set_font_norm_type): support iso8859-4
14103
14104 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14105
14106         * LaTeX.C (deplog): add another regex for MikTeX
14107
14108 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14109
14110         * lyxrc.C (set_font_norm_type): support iso8859-3
14111
14112 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14113
14114         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14115
14116         * LaTeXFeatures.C: remove special case of french and index
14117
14118         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14119         before \begin{document}). This solves several incompatibilities.
14120
14121 2001-10-03  Garst Reese  <reese@isn.net>
14122
14123         * lyx_cb.C: change CheckTex error msg.
14124
14125 2001-10-03  José Matos  <jamatos@fep.up.pt>
14126
14127         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14128
14129 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * .cvsignore: update
14132
14133         * lyx_main.C (commandLineVersionInfo): use new style version info.
14134
14135         * buffer.C (writeFile):
14136         (makeLaTeXFile):
14137         (makeLinuxDocFile):
14138         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14139
14140         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14141
14142         * version.h: update to use stuff in version.C
14143
14144         * version.C.in: new file. Contains version information determined
14145         at compile time. This is a merging of version.h and
14146         version_info.h.in.
14147
14148 2001-10-03  Juergen Vigna  <jug@sad.it>
14149
14150         * BufferView_pimpl.C (update): don't change "dirty" status in
14151         updateInset call.
14152
14153 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14154
14155         * WorkArea.C (c-tor): re-position version string slightly.
14156
14157 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14158
14159         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14160         revert to previous code.
14161
14162         WorkArea.[Ch]: (show, destroySplash): methods removed.
14163
14164         WorkArea.C: rework code so that it's an amalgam of the codes before and
14165         after the splash screen was moved to WorkArea.
14166
14167 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14168
14169         * lyxrc.C (read):
14170         * vspace.C (inPixels):
14171         (lyx_advance):
14172         * kbmap.C (bind):
14173         * buffer.C (insertStringAsLines):
14174         (asciiParagraph): fix types to be large enough
14175
14176         * lyxlex_pimpl.h: change member status from short to int
14177
14178         * layout.h: fix type of endlabeltype
14179
14180         * kbmap.C (bind):
14181         * kbsequence.C (parse): change return type to string::size_type
14182
14183         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14184         variable
14185
14186         * Bullet.C (bulletSize):
14187         (bulletEntry): do not use short ints as parameters
14188
14189         * BufferView2.C (insertLyXFile): change a char to an int.
14190
14191         * WorkArea.C (WorkArea): remove unneeded floats in computation
14192
14193 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14194
14195         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14196
14197         * paragraph.C (asString): Do not ignore newline/hfill chars when
14198         copying to the clipboard.
14199
14200 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14203         after a multi-line inset.
14204
14205 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * paragraph.C (validate): Set NeedLyXFootnoteCode
14208
14209 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14210
14211         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14212         and decrease-error to decrease.
14213
14214 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14215
14216         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14217         it more readable (should be equivalent)
14218
14219 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14220
14221         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14222
14223 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14224
14225         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14226         of a cursor (row, etc.) after a character has been deleted
14227         (deleteEmptyParagraphMechanism): call the method above on _all_
14228         cursors held by the LyXText when a double space has been
14229         detected/deleted.
14230
14231 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14232
14233         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14234         pixmap.
14235         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14236
14237         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14238         background. Use greyOut() and the new show() methods to toggle between
14239         the foreground and background. Add code to remove the splash after
14240         its initial showing.
14241
14242         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14243         (create_forms): no longer call Dialogs::showSplash.
14244
14245 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14246
14247         * .cvsignore: add version_info.h
14248
14249 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * version_info.h.in: new file
14252
14253         * Makefile.am: add version_info.h.in
14254
14255         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14256         version_info.h instead of VERSION_INFO
14257
14258 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14259
14260         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14261         The ERT inset now returns string().
14262
14263 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14264
14265         * lyxtext.h, text.C (selectNextWord): renamed as
14266         selectNextWordToSpellcheck.
14267
14268         * text.C (selectNextWordToSpellcheck): Modified to not select
14269         words inside an ERT inset.
14270
14271 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14272
14273         * lyx_cb.C (MenuLayoutSave): change a bit the question
14274
14275         * sp_base.h: include <sys/types.h>
14276
14277 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14278
14279         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14280
14281 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14282
14283         * several files: fix typos in user-visible strings
14284
14285 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * text2.C (pasteSelection): do not set the selection, since it
14288         will be cleared later. Actually, the intent was to fix the way the
14289         selection was set, but I figured rmoving the code was just as good.
14290
14291 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14292
14293         * FontLoader.C (available): Check if font is available without
14294         loading the font.
14295
14296 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14297
14298         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14299
14300 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14301
14302         * lyxrc.[Ch]: added display_graphics variable and associated code.
14303
14304 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * bufferparams.C (hasClassDefaults): new method. Returns true if
14307         the buffer parameters correspond to known class defaults
14308
14309 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14310
14311         * XFormsView.C (show): set minimum size to the main window.
14312
14313 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * text2.C (copySelection):
14316         (cutSelection):
14317         * lyxfind.C (LyXReplace):
14318         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14319         LyXText::selectionAsString.
14320
14321         * paragraph.C (asString): add "label" argument to the second form
14322
14323         * text2.C (selectionAsString): add "label" argument and pass it to
14324         Paragraph::asString.
14325
14326 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * lyx_main.C (commandLineHelp): remove version information
14329
14330 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14331
14332         * lyx_main.C: add -version commandline option
14333
14334 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * paragraph.h: make the optional constructor arg required instead.
14337         some modifications to other files because of this.
14338
14339         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14340
14341         * lyxserver.C (C_LyXComm_callback): make it static
14342
14343         * lyx_main.C (error_handler): make it static
14344
14345         * lyx_gui.C (LyX_XErrHandler): make it static
14346
14347         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14348
14349         * WorkArea.C: make the extern "C" methods static.
14350
14351         * Makefile.am (lyx_LDADD): simplify
14352
14353 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14354
14355         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14356         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14357
14358         * LyXAction.C (init):
14359         * lyxfunc.C (dispatch): associated code removal.
14360
14361 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * lyxfont.h (isSymbolFont): shut off warning
14364
14365         * text.C (setHeightOfRow):
14366         (getVisibleRow): fix crash with empty paragraphs which have a
14367         bottom line
14368
14369 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14370
14371         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14372         code.
14373
14374 2001-09-04  José Matos  <jamatos@fep.up.pt>
14375         * buffer.C
14376         * buffer.h
14377         * tabular.C (docbook): rename docBook method to docbook.
14378
14379 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14380
14381         * Makefile.am: add dependencies to main.o.
14382
14383 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14384
14385         * FontLoader.C (available): Return false if !lyxrc.use_gui
14386
14387 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14388
14389         * FontInfo.C (query):
14390         * converter.C (view):
14391         * importer.C (Import):
14392         * exporter.C (Export): Can not -> cannot.
14393
14394 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14395
14396         * BufferView_pimpl.C: allow to create index inset even if
14397           string is empty
14398
14399 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14400
14401         * buffer.C (getLists): replace boost::tie code with an explicit pair
14402         as boost::tie can break some compilers.
14403
14404         * iterators.h: Added a std:: declaration to the return type of
14405         ParIterator::size.
14406
14407 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14408
14409         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14410           case.
14411
14412 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14413
14414         * iterators.[Ch]: New files. Provide paragraph iterators.
14415
14416         * buffer.C (changeLanguage): Use paragraph iterators.
14417         (isMultiLingual): ditto
14418
14419         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14420
14421 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14422
14423         * FontLoader.C: Support for cmr font.
14424
14425 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14426
14427         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14428         (available): New method.
14429
14430         * FontInfo.C (getFontname): Use scalable fonts even when
14431         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14432         found.
14433
14434 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14435
14436         * converter.C (Formats::view): reverted! Incorrect fix.
14437
14438 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14439
14440         * converter.C (Formats::view): only output the -paper option
14441         if the dvi viewer is xdvi, thereby fixing bug #233429.
14442
14443 2001-08-23  Herbert Voss  <voss@perce>
14444
14445         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14446
14447 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14448
14449         * Spacing.h (Spacing): Set space to Default on in the default
14450         constructor.
14451
14452 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * vc-backend.h (RCS::versionString): add RCS to version
14455         (CVS::versionString): add CVS to version
14456
14457         * vc-backend.C (scanMaster): do not add CVS to version.
14458         (scanMaster): do not add RCS to version
14459
14460         * lyxvc.C (versionString): new method
14461
14462         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14463
14464 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * Spacing.C (set): initialize fval
14467
14468 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14469
14470         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14471         " or \.
14472
14473 2001-08-16  Juergen Vigna  <jug@sad.it>
14474
14475         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14476
14477 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * BufferView_pimpl.C:
14480         * figureForm.C:
14481         * lyxtext.h:
14482         * text2.C: setParagraph takes linespacing now
14483
14484 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14485
14486         * LyxAction.C: add internal LFUN_CITATION_INSERT
14487
14488         * LyXView.C: actually apply fix
14489
14490         * bufferlist.C: fix open non-existent file
14491
14492         * lyxfind.C: fix indentation
14493
14494         * lyxfunc.C: remove unneeded assert, fix typo
14495
14496 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14497
14498         * MenuBackend.C: use "Floatname List"
14499
14500 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14501
14502         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14503         when converting LaTeX layout to insetERT.
14504         Generate a non-collapsed float when reading old float
14505
14506 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14507
14508         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14509         ERT insets.
14510
14511 2001-08-13  Juergen Vigna  <jug@sad.it>
14512
14513         * text.C (fill): return 0 instead of 20 as this seems to be the more
14514         correct value.
14515
14516 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14517
14518         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14519         lyxrc.font_norm.
14520
14521 2001-08-13  Juergen Vigna  <jug@sad.it>
14522
14523         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14524         casesensitive off.
14525         (SearchBackward): comment out the unlocking of the inset_owner this
14526         should not be needed!
14527
14528 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14529
14530         * Many files: Remove inherit_language, and add latex_language
14531
14532         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14533         collapsible insets.
14534
14535 2001-08-10  Juergen Vigna  <jug@sad.it>
14536
14537         * text.C (prepareToPrint): fixed hfill-width in draw!
14538
14539         * BufferView2.C (selectLastWord): save the selection cursor as this
14540         now is cleared in the function LyXText::clearSelection!
14541
14542 2001-08-08  Juergen Vigna  <jug@sad.it>
14543
14544         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14545         BACKSPACE type functions.
14546
14547         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14548         is only cutted from the document but not put in the cut-buffer, where
14549         still the old stuff should be.
14550
14551         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14552
14553         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14554
14555         * tabular.C (SetWidthOfCell): fixed special case where the width
14556         was not updated!
14557         (LeftLine): handle '|' in align_special.
14558         (RightLine): ditto
14559         (LeftAlreadyDrawed): ditto
14560         (SetWidthOfCell): ditto
14561
14562 2001-08-07  Juergen Vigna  <jug@sad.it>
14563
14564         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14565
14566 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14567
14568         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14569         * lyxlex.[hC]: ditto
14570
14571 2001-08-06  Juergen Vigna  <jug@sad.it>
14572
14573         * text.C (getVisibleRow): fix up row clearing a bit.
14574
14575 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * minibuffer.C: make sure the X server sees the changes in the input.
14578
14579 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14580
14581         * paragraph.C (getFont): split into...
14582         (getLabelFont): this
14583         (getLayoutFont): and this
14584         * paragraph_pimpl.C (realizeFont): calling this
14585
14586         * text2.C (getFont): split into...
14587         (getLayoutFont): this
14588         (getLabelFont): and this
14589         (realizeFont): all three calling this
14590
14591         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14592         files where used.
14593
14594 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14595
14596         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14597
14598 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14599
14600         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14601         layouts from the Quote inset insertion.
14602
14603 2001-08-03  Juergen Vigna  <jug@sad.it>
14604
14605         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14606
14607         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14608         only if status not is already CHANGED_IN_DRAW (second level).
14609
14610         * text.C (draw): don't set the need_break_row when inside an
14611         InsetText LyXText.
14612
14613 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14614
14615         * buffer.C (parseSingleLyXformat2Token): handle more latex
14616         conversion cases.
14617
14618         * bufferview_funcs.[hC]: change function names to
14619         begin with small char, adjust other files.
14620
14621 2001-08-02  André Pönitz <poenitz@gmx.net>
14622
14623         * lyxfunc.C:
14624         BufferView_pimpl.C: remove broken special code for math-greek
14625
14626 2001-08-02  Juergen Vigna  <jug@sad.it>
14627
14628         * BufferView_pimpl.C (update): redone this function so that we
14629         update the text again if there was a CHANGE_IN_DRAW.
14630
14631         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14632         (drawFromTo): added a new internal bool which is used by draw() and
14633         redraw() function.
14634         (general): some cursor drawing problems fixed.
14635
14636 2001-08-01  Juergen Vigna  <jug@sad.it>
14637
14638         * lyxfind.C (LyXFind): fixed
14639         (SearchForward): ditto
14640         (SearchBackward): ditto
14641
14642         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14643         spurius drawing of the cursor in the main area.
14644
14645         * text2.C (status): small fix which could lead to a segfault!
14646         (clearSelection): remove unneeded BufferView param.
14647
14648 2001-08-01  André Pönitz <poenitz@gmx.net>
14649
14650         * lyxfunc.C: small change due to changed mathed interface
14651
14652 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14653
14654         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14655
14656 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14657
14658         * lyxfunc.c: fail gracefully if file doesn't exist
14659
14660         * LyXSendto.C:
14661         * buffer.C:
14662         * lyxfunc.C:
14663         * BufferView_pimpl.C: IsDirWriteable() proto changed
14664
14665         * LyXView.C: fix updateWindowTitle() to store the last title
14666
14667 2001-07-31  Juergen Vigna  <jug@sad.it>
14668
14669         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14670         the font (wrong since using of Paragraph::highestFontInRange).
14671
14672         * paragraph.C (highestFontInRange): added a default_size parameter.
14673
14674         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14675         (setHeightOfRow): reformat
14676
14677 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * converter.[hC] + affected files: move to (inital-char)lowercase
14680         function names.
14681
14682         * ParagraphParameters.C (ParagraphParameters): remove commented code
14683
14684         * PainterBase.[Ch]: remove commented code
14685
14686         * LaTeXFeatures.h: add "bool floats" for float.sty
14687
14688         * LaTeXFeatures.C (LaTeXFeatures): init floats
14689         (require): handle float
14690         (getPackages): do it with floats
14691
14692 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14693
14694         * BufferView_pimpl.C (Dispatch): improve handling of
14695         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14696
14697         * commandtags.h: #include lyxfont.h here temporarily to avoid
14698         keybinding bug.
14699
14700         * bufferlist.h: include LString.h here.
14701
14702 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * text2.C (getStringToIndex): new method.
14705
14706 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14707
14708         * *: Reduced header file dependencies all over.
14709
14710 2001-07-30  Baruch Even  <baruch@lyx.org>
14711
14712         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14713
14714 2001-07-29  Baruch Even  <baruch@lyx.org>
14715
14716         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14717
14718 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * ParameterStruct.h (endif): add a default constructor to make
14721         sure that all variables is initialized.
14722
14723         * ParagraphParameters.C (ParagraphParameters): adjust
14724
14725 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14726
14727         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14728         index; also, check that there is something to index, and that it
14729         does not span over several paragraphs.
14730         (doubleClick): use WHOLE_WORD_STRICT for double click.
14731
14732         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14733
14734         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14735         scheme.
14736
14737 2001-07-26  Baruch Even  <baruch@lyx.org>
14738
14739         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14740         an InsetFig figure, backwards compatible reading of old figure code.
14741
14742 2001-07-27  Juergen Vigna  <jug@sad.it>
14743
14744         * text2.C: font.realize function adaption.
14745
14746         * text.C (draw): add a warnings lyxerr text if needed.
14747
14748         * layout.C: font.realize function adaption.
14749
14750         * language.C: add inherit_language and implement it's handlings
14751
14752         * bufferview_funcs.C (StyleReset): remove language parameter from
14753         font creation (should be language_inherit now).
14754
14755         * bufferparams.C (writeFile): handle ignore_language.
14756
14757         * paragraph.C (getFontSettings): the language has to be resolved
14758         otherwise we have problems in LyXFont!
14759
14760         * lyxfont.C (lyxWriteChanges): added document_language parameter
14761         (update): removed unneeded language parameter
14762
14763         * paragraph.C (validate): fixed wrong output of color-package when
14764         using interface colors for certain fonts in certain environments,
14765         which should not seen as that on the final output.
14766
14767 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14768
14769         * BufferView_pimpl.C:
14770         * Thesaurus.h:
14771         * Thesaurus.C:
14772         * Makefile.am:
14773         * commandtags.h:
14774         * LyXAction.C: add thesaurus support
14775
14776         * lyxfind.h:
14777         * lyxfind.C: add "once" parameter, for thesaurus, to not
14778           move to the next match
14779
14780 2001-07-26  Juergen Vigna  <jug@sad.it>
14781
14782         * lyxfont.C (realize): honor ignore_language too!
14783         (resolved): ditto.
14784
14785         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14786
14787         * text.C (draw): one place more for ignore_language to not draw
14788         itself!
14789
14790 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14791
14792         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14793
14794 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14795
14796         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14797         the minipage conversion problem.
14798
14799 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14802         insert an inset.
14803
14804 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * BufferView.h: don't forward declare WorkArea
14807
14808         * BufferView.C: don't include WorkArea.h
14809
14810 2001-07-25  André Pönitz <poenitz@gmx.net>
14811
14812         * commandtags.h:
14813         * LyXAction.C:
14814         * lyxfunc.C:  new LFUN 'math-space'
14815
14816         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14817
14818 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * text2.C (toggleInset): call open/close
14821
14822 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * lyxfunc.C (dispatch): add debug for the disabled case
14825
14826         * font.C (buttonText): make similar to rectText
14827
14828         * buffer.C (readInset): comment out parsing of insetlist and
14829         insttheorem
14830
14831         * PainterBase.C (rectText): small correction
14832
14833         * BufferView_pimpl.C: comment out insettheorem and insetlist
14834         * LyXAction.C: ditto
14835         * commandtags.h: ditto
14836
14837 2001-07-24  Juergen Vigna  <jug@sad.it>
14838
14839         * text.C (draw): honor the ignore_language.
14840
14841         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14842
14843 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14846         char inset.
14847
14848 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14849
14850         * lyxtext.h: remove unused (and unimplemented) methods
14851
14852 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14853
14854         * text.C (getVisibleRow): honor background color
14855
14856         * PainterBase.h:
14857         * Painter.h: remove default color argument for fillRectangle
14858
14859         * text.C (backgroundColor): new method
14860
14861 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14862
14863         * text.C (getVisibleRow): adjust
14864
14865         * font.[Ch] (rectText): new method, metrics
14866         (buttonText): new method, metrics
14867
14868         * PainterBase.[hC]: make rectText and buttonText always draw and take
14869         fewer paramteres.
14870
14871 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14872
14873         * ToolbarDefaults.C (read):
14874         * MenuBackend.C (read): allow escaping in all strings
14875
14876         * BufferView_pimpl.C (insertAndEditInset): new method.
14877         (Dispatch): use insertAndEditInset whenever appropriate.
14878
14879         * BufferView_pimpl.C (insertNote): removed
14880
14881         * BufferView_pimpl.C (smartQuote): new method, moved from
14882         BufferView; if an insetquote cannot be inserted, insert a '"'
14883         character instead.
14884
14885         * BufferView2.C: remove insertCorrectQuote();
14886
14887         * lyxfunc.C (getStatus): Add support for all remaingin
14888         inset-insert lfuns.
14889
14890         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14891
14892         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14893         command (necessary to pass " as parameter of self-insert.
14894
14895         * text.C (selectWordWhenUnderCursor):
14896         (selectWord): add word_location parameter
14897         (selectWordWhenUnderCursor): same + remove special code for word
14898         boundary.
14899         (selectNextWord): use kind() to guess type of insetspecialchar,
14900         not latex().
14901
14902         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14903         (insertErtContents): create ert insets as collapsed.
14904         (readInset): better compatibility code for Info inset.
14905
14906 2001-07-20  Juergen Vigna  <jug@sad.it>
14907
14908         * lyxfunc.C (dispatch): use always LyXFind now!
14909
14910         * text2.C (init): add a reinit flag so that the LyXText can be
14911         reinited instead of deleted and reallocated (used in InsetText).
14912
14913         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14914
14915         * text.C: ditto
14916
14917         * text2.C: ditto
14918
14919 2001-07-18  Juergen Vigna  <jug@sad.it>
14920
14921         * text.C (selectNextWord): handle insets inside inset by calling
14922         always the bv->text functions so that we can go up the_locking_inset!
14923
14924         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14925         in strange locations when inside an inset!
14926
14927         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14928         handling to include insets.
14929
14930         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14931
14932 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14933
14934         * LyXAction.C (init):
14935         * commandtags.h:
14936         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14937         LIGATURE_BREAK, since the name is so stupid.
14938
14939 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14940
14941         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14942         InsetInfos.
14943
14944         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14945
14946         * sp_form.[Ch]: remove.
14947
14948         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14949
14950         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14951         InsetInfo.
14952
14953         * src/buffer.C (readInset): ditto.
14954
14955 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14956
14957         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14958         menuSeparator(), endOfSentenceDot(), ldots() and
14959         hyphenationPoint(), which are therefore removed.
14960         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14961
14962         * LyXAction.C (init):
14963         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14964
14965         * paragraph.C (getWord): removed.
14966
14967         * BufferView_pimpl.C (Dispatch): use last word or selection for
14968         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14969
14970         * lyx_main.C (queryUserLyXDir): do not ask before creating
14971         user_dir, except if it has been named explicitely.
14972
14973 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14974
14975         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14976         a document of zero size.
14977
14978 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14979
14980         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14981         approriately in the c-tor and in require().
14982         (getPackages): output the appropriate LaTeX for natbib support.
14983
14984         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14985         variables "use_natbib" and "use_numerical_citations" when reading the
14986         LyX file.
14987         (readInset): read the various natbib cite commands.
14988         (validate): white-space change.
14989
14990         * bufferparams.[Ch]: new variables "bool use_natbib" and
14991         "bool use_numerical_citations".
14992         (writeFile): output them in the LyX file.
14993
14994 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14995
14996         * lyxfunc.C (getStatus): add support for all the inset insertion
14997         commands.
14998
14999         * text2.C (insertInset):
15000         * paragraph.C (insetAllowed):
15001         * BufferView_pimpl.C (insertInset): update to take in account the
15002         renaming of insertInsetAllowed
15003
15004         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15005
15006         * text2.C (getInset): new method. returns inset at cursor position.
15007
15008         * BufferView_pimpl.C (Dispatch): changes because of this.
15009
15010         * LyXAction.C (init): rename open-stuff to inset-toggle.
15011
15012         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15013
15014         * text2.C (toggleInset): renamed from openStuff; use
15015         Inset::open().
15016
15017 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15018
15019         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15020
15021         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15022
15023 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * buffer.C (readLyXformat2): Add filename to the error dialog
15026
15027 2001-07-18  Juergen Vigna  <jug@sad.it>
15028
15029         * tabular.C (GetCellNumber): put an assert here instead of the check!
15030
15031 2001-07-17  Juergen Vigna  <jug@sad.it>
15032
15033         * BufferView_pimpl.C (toggleSelection): adapted too.
15034
15035         * text.C (selectNextWord): adapted for use with insets.
15036         (selectSelectedWord): ditto
15037
15038 2001-07-17  Juergen Vigna  <jug@sad.it>
15039
15040         * sp_spell.C (PSpell): fix initialitation order.
15041
15042 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15043
15044         * paragraph.C: spacing
15045
15046 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15047
15048         * sp_spell.C: repair language selection for pspell
15049
15050 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15051
15052         * lyxfunc.h: change more methods to begin with lower char.
15053
15054 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15055
15056         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15057         for unknown layouts.
15058
15059 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15060
15061         * buffer.C (readLyXformat2): Generate an error dialog if there are
15062         unknown layouts.
15063
15064 2001-07-16  Juergen Vigna  <jug@sad.it>
15065
15066         * sp_spell.C: always compile ISpell part.
15067
15068         * lyxrc.C: added use_pspell entry and it's handling.
15069
15070 2001-07-13  Juergen Vigna  <jug@sad.it>
15071
15072         * sp_spell.C: removed double includes.
15073
15074 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15075
15076         Consistent use of Lsstream.h:
15077         * Lsstream.h: added using std::stringstream for consistencies sake.
15078
15079         * buffer.C: removed using std::stringstream
15080
15081         * lyxfont.C (stateText):
15082         * paragraph.C (asString):
15083         * text.C (selectNextWord, selectSelectedWord):
15084         * text2.C (setCounter):
15085         * vspace.C (asString, asLatexString):
15086         std::ostringstream -> ostringstream.
15087
15088 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15089
15090         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15091         * commandtags.h: add LFUN_HELP_ABOUTLYX
15092         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15093
15094 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15095
15096         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15097         cursorToggle()
15098         * lyx_gui_misc.C: remove spellchecker
15099         * lyxfunc.C: showSpellchecker
15100         * sp_base.h: added
15101         * sp_ispell.h: added
15102         * sp_pspell.h: added
15103         * sp_spell.C: added
15104         * sp_form.[Ch]: removed
15105         * spellchecker.[Ch]: removed
15106
15107 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15108
15109         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15110         is set.
15111         (simpleTeXSpecialChars): Simply print the input character without
15112         any special translation if pass_thru is set.
15113
15114         * layout.h: Added bool pass_thru to layout class for being able to
15115         implement pass through of a paragraph for Literate Programming.
15116
15117         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15118         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15119         * layout.C (Read): add "passthru" to list of layout tags and add
15120         code to set the pass_thru boolean when it is read.
15121
15122 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * trans_decl.h: remove allowed from KmodInfo
15125
15126         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15127         remove allowed code
15128         (Load): adjust
15129
15130         * paragraph_pimpl.C (erase): use boost::prior
15131
15132         * Painter.C (text): use data() instead of c_str() when length is
15133         also provided.
15134         * WorkArea.C (putClipboard): ditto
15135         * font.h (width): ditto
15136
15137         * BufferView2.C: use it-> instead of (*it). for iterators
15138         * texrow.C: ditto
15139         * paragraph_pimpl.C: ditto
15140         * paragraph.C: ditto
15141         * minibuffer.C: ditto
15142         * language.C: ditto
15143         * kbmap.C: ditto
15144         * encoding.C: ditto
15145         * counters.C: ditto
15146         * converter.C: ditto
15147         * chset.C: ditto
15148         * Variables.C: ditto
15149         * TextCache.C: ditto
15150         * MenuBackend.C: ditto
15151         * LyXAction.C: ditto
15152         * LColor.C: ditto
15153         * FloatList.C: ditto
15154         * DepTable.C: ditto
15155         * ColorHandler.C (LyXColorHandler): ditto
15156
15157 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15158
15159         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15160
15161         * text2.C (openStuff): reintroduce this method (which had been
15162         nuked in NEW_INSETS frenzy).
15163
15164         * lyxfunc.C (Dispatch): when an action has not been handled, use
15165         its name in the error message, not its number.
15166
15167         * paragraph.C (inInset): change method name to begin with lowercase.
15168
15169         * undo_funcs.C:
15170         * text2.C: updates because of this.
15171
15172 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15173
15174         * ToolbarDefaults.C (add): add spaces in error message
15175
15176 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15177
15178         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15179         (readLyXformat2): rename return_par to first_par, use lyxlex's
15180         pushToken and remove the manual push handling.
15181         (parseSingleLyXformat2Token): add another ert comp. variable:
15182         in_tabular, rename return_par to first_par. handle newlines better
15183
15184 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15185
15186         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15187
15188 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * text2.C (getParFromID): removed
15191
15192         * buffer.C (getParFromID): new method moved form lyxtext.
15193         * BufferView2.C (insertErrors): adjust
15194         (setCursorFromRow): adjust
15195         * BufferView_pimpl.C (restorePosition): adjust
15196         * lyxfunc.C (Dispatch): adjust
15197         * undo_funcs.C (textUndo): adjust
15198         (textRedo): adjust
15199         (textHandleUndo): adjust
15200         (textHandleUndo): adjust
15201
15202 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15203
15204         * buffer.C: up' the LYX_FORMAT
15205
15206         * lyxfont.h: turn NO_LATEX on as default
15207
15208         * buffer.C (insertErtContents): new methods of tex style compability.
15209         (parseSingleLyXformat2Token): use it several places.
15210         * tabular.C (OldFormatRead): and here
15211
15212 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15213
15214         * text2.C: remove some commented code.
15215         reindent file.
15216
15217         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15218         * trans.C: changes because of the above.
15219
15220 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * text2.C (setCounter): Fix counters bug with bibliography layout.
15223
15224 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15225
15226         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15227         own member functions
15228         (simpleTeXSpecialChars): ditto
15229
15230 2001-07-06  Juergen Vigna  <jug@sad.it>
15231
15232         * a lot of files: changed the access to LyXText::status and the
15233         call of undo-functions.
15234
15235         * undo.[Ch]: added a inset_id to the undo informations.
15236
15237         * undo_funcs.[Ch]: added and moved here all undo functions.
15238
15239         * lyxtext.h: give the status enum a weight, made status_ a private
15240         variable and made accessor functions for it, removed the whole bunch
15241         of undo-functions as they are now in their own file, make some
15242         functions publically available. Added function ownerParagraph with
15243         int parameter.
15244
15245         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15246         made InInset() a const function, added getParFromID() function.
15247
15248         * buffer.[Ch]: added const version for inset_iterator functions,
15249         added getInsetFromID() function.
15250
15251         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15252         changed undo functions for new version.
15253
15254 2001-07-05  Juergen Vigna  <jug@sad.it>
15255
15256         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15257         unknow mechanism does not call the proper constructor but only this
15258         one also if I request the other!?
15259
15260 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15263
15264         * text2.C (LyXText): use initialization lists.
15265
15266         * lyxtext.h (Selection): initialize set_ and mark_
15267         (init): remove method
15268
15269 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15270
15271         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15272
15273 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * screen.[Ch]: change method names to begin with lowercase
15276
15277         * BufferView_pimpl.C (updateScrollbar): simplify further and
15278         hopefully make it a bit faster.
15279
15280 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15283         calling directly xforms functions.
15284
15285         * Painter.C (Painter):
15286         * lyx_cb.C (MenuWrite):
15287         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15288         fl_display.
15289
15290         * lyx_gui.C: remove bogus guiruntime extern declaration.
15291
15292 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15293
15294         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15295         in NEW_INSETS
15296         (redoDrawingOfParagraph): ditto
15297         (redoParagraphs): ditto
15298         (cutSelection): don't create a object for CutAndPaste use the
15299         static method directly
15300         (pasteSelection): ditto
15301
15302         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15303         LyXview (+ rename)
15304
15305 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15306
15307         * modifications to some other files because of this.
15308
15309         * Makefile.am (lyx_SOURCES): add XFormsView
15310
15311         * XFormsView.[Ch]: new files
15312
15313         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15314         the main window. Move the gui dependent stuff to XFormsView
15315
15316 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15317
15318         * tabular.C (GetCellInset): update cur_cell also in the row/col
15319         version of this function.
15320
15321         * lyxfunc.C: no need to include figure_form.h here.
15322
15323         * FontLoader.h:
15324         * lyxfunc.h:
15325         * lyxscreen.h:
15326         * text2.C:
15327         * lyxvc.C: no need to include forms.h here.
15328
15329 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15332
15333         * lyxfunc.C (Dispatch):
15334         * Spacing.C (set):
15335         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15336         constructor argument.
15337
15338 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15339
15340         * paragraph.C (Paragraph): dont't clear, and just set layout.
15341         (makeSameLayout): use params's copy contructor.
15342
15343         * ParagraphParameters.[Ch] (makeSame): delete method
15344
15345 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15346
15347         * Variables.[Ch]: fix indentation, rename set to isSet
15348
15349 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15350
15351         * lyxfunc.C (Dispatch): fix typo
15352
15353 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15356         upper_bound.
15357
15358         * bufferlist.C: include assert.h for emergencyWrite().
15359
15360 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15361
15362         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15363           give up at last (bug #425202) !
15364
15365 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * lyx_gui_misc.C:
15368         * sp_form.h:
15369         * sp_form.C:
15370         * spellchecker.h:
15371         * spellchecker.C: strip spellchecker options and bring up
15372           preferences tab instead
15373
15374 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375
15376         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15377         the istringstream constructor
15378
15379 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * paragraph.C (getLayout): fix return value
15382
15383         * paragraph.h: do not declare getLayout as inline.
15384
15385         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15386
15387 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15388
15389         * lyxcursor.h (operator<): new func
15390         (operator>): new func
15391         (operator>=): new func
15392         (operator<=): new func
15393
15394         * text.C (changeCase): use selection.start and selection.end
15395         (changeRegionCase): require from to be <= to. Require par to be a
15396         valid paragraph.
15397
15398         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15399
15400 2001-06-27  Juergen Vigna  <jug@sad.it>
15401
15402         * text.C (cursorLeftOneWord): changed to return the cursor and added
15403         overlay with BufferView * parameter which calls this one.
15404         (getWord): added
15405         (selectWord): use new getWord function.
15406         (changeCase): renamed from changeWordCase as and extended to work
15407         also on selections.
15408
15409         * lyxtext.h: added enum word_location
15410
15411         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15412         changeCase as this operates now also on selections.
15413
15414 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15415
15416         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15417
15418         * many files: send debug output to Debug::INFO instead of
15419         Debug::ANY.
15420
15421         * converter.C (View):
15422         (Convert):
15423         (Move): send debug output to Debug::FILES instead of console.
15424
15425 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15426
15427         * lyxfunc.C (getStatus): use func_status
15428
15429         * func_status.h: new header, describing the results of
15430         LyXFunc::getStatus;
15431
15432         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15433         LFUN_MATH_HALIGN.
15434
15435 2001-06-25  The LyX Project  <jug@sad.it>
15436
15437         * buffer.C (sgmlOpenTag):
15438         (sgmlCloseTag):
15439         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15440
15441 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15442
15443         * text2.C: remove some dead code
15444
15445         * tabular.C (GetCellInset): store the last cell checked (gotten)
15446
15447         * tabular.h: add the helper for the speedup
15448
15449         * lyxtext.h: remove some dead code
15450
15451 2001-06-26  The LyX Project  <Asger>
15452
15453         * paragraph.C: Change export to LaTeX of alignment to
15454         \begin{center} and family for better roundtrip work with reLyX.
15455
15456         * Tune the math drawing a bit.
15457
15458 2001-06-25  The LyX Project  <Asger>
15459
15460         * LColor.C (LColor): New color for math background. New color
15461         for buttons.
15462
15463 2001-06-25  The LyX Project  <jug@sad.it>
15464
15465         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15466
15467         * lyxfunc.C (Open):
15468         * bufferlist.C (newFile): do not restrict to files ending with
15469         .lyx
15470
15471         * BufferView_pimpl.C (MenuInsertLyXFile):
15472
15473 2001-06-24  The LyX Project  <jug@sad.it>
15474
15475         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15476         of compare_no_case
15477
15478 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15479
15480         * lyxtext.h: rename most methods to begin with a small char.
15481         Lots of changes because of this.
15482
15483         * paragraph.C (Paragraph): do not call fitToSize
15484         (erase): call Pimpl::erase
15485         (insertChar): call Pimpl::insertChar
15486         (insertInset): call Pipl::insertInset
15487         (breakParagraph): do not call fitToSize
15488         (breakParagraphConservative): do not call fitToSize
15489         (fitToSize): remove method
15490
15491         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15492
15493 2001-06-24  The LyX Project  <Asger>
15494
15495         * Fix Qt compilation^2
15496
15497 2001-06-24  The LyX Project  <jug@sad.it>
15498
15499         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15500         depthHook(getDepth()-1).
15501
15502         * paragraph.h:
15503         * ParagraphParameters.h:
15504         * ParameterStruct.h: change type of depth to unsigned int ==
15505         depth_type. Many adaptations to other files before of that.
15506
15507 2001-06-24  The LyX Project  <Asger>
15508
15509         * Fix Qt compilation.
15510
15511 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * paragraph.h: renamed several methods to begin with small letter.
15514         several changes to many parts of the code because of this.
15515
15516 2001-06-23  The LyX Project  <jug@sad.it>
15517
15518         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15519         rewritten to discard all double spaces when KeepEmpty is off
15520         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15521         to only handle newlines but not fiddle with spaces and friends.
15522
15523         * lyxfunc.C (MenuNew): when doing 'new from template', use
15524         template_path as default directory
15525
15526 2001-06-23  The LyX Project  <Asger>
15527
15528         * Clean-up of header file includes all over
15529         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15530
15531 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15532
15533         * paragraph.h: renamed from lyxparagraph.h
15534
15535 2001-06-23  Asger  <lyx@violet.home.sad.it>
15536
15537         * Buffer.h: Removed Buffer::resize
15538         * BufferList.h: Removed BufferList::resize
15539         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15540         the document lazily when we change the width, or the font settings.
15541
15542 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15543
15544         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15545
15546 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15547
15548         * buffer.h: remove out of date comment
15549
15550 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15551
15552         * lyxscreen.h:
15553         * screen.C: fix "theoretical" GC leak
15554
15555 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15556
15557         * LaTeX.C (scanAuxFile):
15558         (deplog): remove trailing \r when reading stream (useful under
15559         win32)
15560
15561 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15562
15563         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15564         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15565         and BufferView::theLockingInset(Inset*), so should use them and not
15566         access bv_->text->the_locking_inset directly.
15567
15568         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15569
15570 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15571
15572         * Makefile.am:
15573         * tex-defs.h: remove old unused file
15574
15575 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15576
15577         * BufferView_pimpl.C: fix typo, remove minibuffer message
15578           when buffer has loaded
15579
15580 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15581
15582         * lyxfunc.C (Dispatch): use stringstream
15583         (MenuNew): use stringstream
15584         (Open): use stringstream
15585
15586         * importer.C (Import): use stringstream
15587
15588         * bufferview_funcs.C (CurrentState): use stringstream
15589
15590         * LaTeX.C (run): use stringstream
15591
15592         * BufferView_pimpl.C (savePosition): use stringstream
15593         (restorePosition): use stringstream
15594         (MenuInsertLyXFile): use stringstream
15595
15596 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15597
15598         * BufferView.C:
15599         * Bullet.C:
15600         * ColorHandler.C:
15601         * FontInfo.C:
15602         * FontLoader.C:
15603         * LColor.C:
15604         * LaTeXFeatures.C:
15605         * Painter.C:
15606         * gettext.C:
15607         * lyx_gui_misc.C:
15608         * lyxserver.C:
15609         * vspace.C: removed // -*- C++ -*- as first line.
15610
15611         * lyxfind.h:
15612         * version.h: added // -*- C++ -*- as first line.
15613
15614 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15615
15616         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15617
15618         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15619         of string
15620
15621 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15622
15623         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15624         of floats.
15625
15626 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15627
15628         * gettext.C: include LString.h even when --disable-nls is on.
15629
15630 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15631
15632         * converter.h (Get): changed argument type from int to
15633         FormatList::size_type to avoid unnecessary conversion.
15634
15635         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15636         before using it.
15637
15638 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15639
15640         * gettext.h: include LString.h even when --disable-nls is on.
15641
15642 2001-06-07  Juergen Vigna  <jug@sad.it>
15643
15644         * text.C (BreakAgain): subst spaces with tabs.
15645
15646         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15647         (resizeInsetsLyXText): set force on resizeLyXText.
15648
15649 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * gettext.h (gettext_init):
15652         (locale_init): use a real definition instead of a macro
15653
15654 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15655
15656         * Bufferview_pimpl.C:
15657         * LColor.h:
15658         * LColor.C: further lcolor tidies
15659
15660 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * BufferView_pimpl.C (updateScrollbar): simplify.
15663
15664         * BufferView2.C: don't include insets/insetinfo.h, change
15665         prototype for insertInset and call the Pimpl version. let
15666         updateInset call Pimpl version.
15667
15668         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15669         gotoInset to BufferView::Pimpl
15670
15671 2001-06-01  Juergen Vigna  <jug@sad.it>
15672
15673         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15674         inside a LockingInset (is the update needed at all?).
15675
15676 2001-05-31  Juergen Vigna  <jug@sad.it>
15677
15678         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15679         here not the old one otherwise how should we compare it afterwards
15680         if it's the same!
15681
15682 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15683
15684         * lyxfont.C:
15685         * tabular.C:
15686         * tabular-old.C:
15687         * FontInfo.C: bring C functions into global namespace when
15688         necessary
15689
15690 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15691
15692         * LString.h: make sure config.h has been loaded before LString.h.
15693
15694         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15695         (one for each char read by EatLine!).
15696
15697         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15698         variables.
15699
15700 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15703         to the same as the par we break from
15704
15705 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15706
15707         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15708
15709         * MenuBackend.C (expand): also create menu entries for wide
15710         versions of the floats.
15711
15712         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15713
15714         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15715
15716         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15717         frontends/Makefile.am
15718
15719         * text2.C: adjust
15720         * text.C: adjust
15721
15722
15723         * tabular.C (getTokenValue): add std::
15724
15725         * tabular-old.C (getTokenValue): add std::
15726         (getTokenValue): ditto
15727         (getTokenValue): ditto
15728
15729         * screen.C (ToggleSelection): adjust
15730
15731         * lyxtext.h: put selection cursors inside a Selection struct.
15732
15733         * lyxfunc.C (moveCursorUpdate): adjust
15734
15735         * lyxfont.C (latexWriteStartChanges): add std::
15736
15737         * lyxfind.C: adjust
15738
15739         * font.h: delete with(char const *, LyXFont const &)
15740
15741         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15742
15743         * FontInfo.C (getFontname): add std::
15744
15745         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15746         (workAreaButtonPress): adjust
15747         (tripleClick): adjust
15748         (update): adjust
15749         (moveCursorUpdate): adjust
15750         (Dispatch): adjust
15751
15752         * BufferView2.C (gotoInset): adjust
15753
15754 2001-05-30  Juergen Vigna  <jug@sad.it>
15755
15756         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15757         to check pspell I add this as default as I now have new pspell
15758         libraries and they seem to use this.
15759
15760 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15761
15762         * text2.C (CutSelection): make the cursor valid before the call to
15763         ClearSelection.
15764
15765 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15766
15767         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15768         relied on 0 terminated strings and other horrors. Bug found due to
15769         the new assert in lyxstring!
15770
15771         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15772         KP_ keys.
15773
15774 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15775
15776         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15777         to latinkeys.bind.
15778
15779         * lyxfunc.C (processKeySym): change method of getting to the
15780         self-insert char.
15781
15782         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15783         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15784         * BufferView_pimpl.[Ch]: here as private methods.
15785
15786 2001-05-28  Juergen Vigna  <jug@sad.it>
15787
15788         * text.C (SetHeightOfRow): added the update() call again as it is
15789         needed to initialize inset dimensions!
15790
15791 2001-05-16  Juergen Vigna  <jug@sad.it>
15792
15793         * text2.C (SetCharFont): Add new function with BufferView * and
15794         bool toggleall parameters for setting insets internal fonts.
15795         (SetFont): Freeze the undo as we may change fonts in Insets and
15796         all this change should be inside only one Undo!
15797
15798         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15799         setting font's in insets as for them we have the SetFont function!
15800
15801 2001-05-15  Juergen Vigna  <jug@sad.it>
15802
15803         * text2.C (ClearSelection): to be sure we REALLY don't have any
15804         selection anymore!
15805
15806         * tabular.C (TeXCellPreamble): fixed the left border problem for
15807         multicolumn cells.
15808
15809 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15810
15811         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15812         dependancy file
15813
15814 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15815
15816         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15817         LFUN_BREAKPARAGRAPH.
15818
15819         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15820         help test to "internal only", similar for LFUN_INSERT_URL
15821
15822         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15823         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15824         auto_region_delete and deadkeys.
15825
15826 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15827
15828         * LColor.h:
15829         * LColor.C: remove some dead entries, tidy a little
15830
15831 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15832
15833         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15834         commented code.
15835         (Dispatch): implement LFUN_ESCAPE
15836
15837         * commandtags.h: add LFUN_ESCAPE
15838
15839         * LyXAction.C (init): add entry for LFUN_ESCAPE
15840
15841         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15842         Remove commented code.
15843         (insertNote): moved here
15844         (open_new_inset): moved here
15845
15846         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15847         BufferView_pimpl
15848
15849 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15850
15851         * kbmap.C (findbinding): clean it up and make it work correctly.
15852
15853         * lyx_main.C (init): do not pass argc and argv as parameters
15854
15855 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15856
15857         * buffer.C: fix path for OS/2 & Win32
15858
15859         * lyx_gui.C:
15860         * lyx_main:
15861         * lyx_main.C: Added os:: class.
15862
15863         * os2_defines.h: update
15864
15865 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15868         better by trying again with reduced state.
15869
15870 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15871
15872         * lyxrc.C (read): print error about invalid key sequence only when
15873         debugging (because not all latinX keysyms are known to some X
15874         servers)
15875
15876         * kbsequence.C (getiso): add a few std:: qualifiers
15877         (getiso): comment out extra return statement.
15878
15879 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15882         handling.
15883         (Dispatch): enhance the accent inset a bit. (not perfect)
15884
15885 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15886
15887         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15888
15889 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15890
15891         * bufferlist.C (emergencyWrite): fix assert() call
15892
15893 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15894
15895         * text.C (InsertChar): Added trivial patch to only send the "you
15896         can not do multiple spaces this way" message once during a
15897         session.
15898
15899 2001-05-08  Baruch Even  <baruch@lyx.org>
15900
15901         * Makefile.am: Changed order of libraries to get LyX to link properly
15902         with the gnome frontend.
15903
15904 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * LaTeXFeatures.h: add a std:: qualifier
15907
15908 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15909
15910         * paragraph.C (String): use stringstream
15911
15912 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15913
15914         * paragraph.C (writeFile): remove footflag arg
15915
15916         * buffer.C (makeLaTeXFile): use stringstream
15917         (latexParagraphs): remove footnot gurba
15918
15919         * LaTeXFeatures.C (getPackages): use stringstream
15920         (getMacros): likewise
15921         (getTClassPreamble): likewise
15922         (getFloatDefinitions): new method
15923
15924         * paragraph.C (writeFile): reindent
15925         (Erase): reindent
15926
15927         * WorkArea.h: revert the xpos + etc changes.
15928
15929         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15930
15931         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15932
15933         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15934         (pasteSelection): likewise
15935         * text2.C (CreateUndo): likewise
15936
15937 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15938
15939         * minibuffer.C (peek_event): temporarily reduce the functionality
15940         of the minibuffer (to allow args on lfuns)
15941
15942         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15943         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15944
15945         * buffer.C (readInset): add compability reading of old float
15946         lists, add reading of new style float list.
15947         (readInset): avoid reevaluation of inscmd.getCmdName()
15948         (getLists): reindent
15949
15950         * MenuBackend.C (MenuItem): implement parsing of
15951         md_floatlistinsert and md_floatinsert.
15952         (expand::LastFiles): move initalizaton of iterators out of loop,
15953         avoid reevaluation.
15954         (expand::Documents): introduce typdedef vector<string> Strings,
15955         and use it.
15956         (expand::ExportFormats): introduce typedef vector<Format const *>
15957         Formats, and use it.
15958         (expand): implement FloatListInsert and FloatInsert.
15959
15960         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15961         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15962         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15963
15964         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15965         handling.
15966         (Dispatch::LFUN_FLOAT_LIST): implement
15967
15968 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15969
15970         * LaTeX.C (run): Fix problem with --export code.
15971
15972 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15973
15974         * BufferView.[Ch] (workarea): removed.
15975         (getClipboard) new method; wrapper for workarea()->getClipboard()
15976
15977         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15978         bug.
15979
15980         * WorkArea.h (width, height, xpos, ypos): These methods all
15981         returned the dimensions of the work_area sub-area of WorkArea,
15982         resulting in a position error if the WorkArea were resized. Now
15983         return the dimensions of the entire WorkArea.
15984
15985         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15986
15987 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15988
15989         * LaTeX.C (deplog): correct the syntax of regex reg1
15990
15991 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15992
15993         * undo.C: remove !NEW_INSETS cruft
15994
15995 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15996
15997         * text2.C: remove !NEW_INSETS cruft
15998
15999         * text.C: remove !NEW_INSETS cruft
16000
16001         * tabular.C: remove !NEW_INSETS cruft
16002
16003         * spellchecker.C: remove !NEW_INSETS cruft
16004
16005         * lyxtext.h: remove !NEW_INSETS cruft
16006
16007         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16008
16009         * lyxfunc.C: remove !NEW_INSETS cruft
16010
16011         * lyxfind.C: remove !NEW_INSETS cruft
16012
16013         * lyx_cb.C: remove !NEW_INSETS cruft
16014
16015         * figureForm.C: remove  !NEW_INSETS cruft
16016
16017         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16018
16019         * buffer.[Ch]: remove !NEW_INSETS cruft
16020
16021         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16022
16023         * CutAndPaste.C: remove !NEW_INSETS cruft
16024
16025         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16026
16027         * BufferView2.C: remove !NEW_INSETS cruft
16028
16029         * BufferView.h: remove !NEW_INSETS cruft
16030
16031 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16032
16033         * Lsstream.h: include LString.h before the sstream headers to
16034         fix problem with gcc 2.95.3 and lyxstring
16035
16036 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * lyx_main.C: add using directives when needed for C functions
16039         declared in std:: namespace.
16040
16041 2001-04-27  Juergen Vigna  <jug@sad.it>
16042
16043         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16044         (SetHeightOfRow): comment out the update call should not be needed!
16045
16046 2001-04-13  Juergen Vigna  <jug@sad.it>
16047
16048         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16049         (LyXTabular): tried to minimize operator= operations (and realized
16050         hopfully Lars wish).
16051
16052 2001-04-27  Juergen Vigna  <jug@sad.it>
16053
16054         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16055
16056 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16059
16060         * buffer.C (readInset): hack to make listof algorithm work
16061
16062         * BufferView_pimpl.C: hack to make listof algorithm work
16063
16064 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16065
16066         * LyXAction.C: removed all !NEW_INSETS cruft
16067         (init): moved lfun_item in method
16068
16069         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16070
16071 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16072
16073         * BufferView2.C (theLockingInset): white space.
16074
16075 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16076
16077         * minibuffer.C: include <iostream>
16078
16079         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16080
16081         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16082
16083         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16084
16085         * text.[Ch] (TransposeChars): new method
16086
16087 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * call message directly through LyXView instead of through LyXFunc
16090         * BufferView2.C: adjust
16091         * BufferView_pimpl.C: adjust
16092         * FontLoader.C: adjust
16093         * buffer.C: adjust
16094         * bufferview_funcs.C: adjust
16095         * converter.C: adjust
16096         * figureForm.C: adjust
16097         * importer.C: adjust
16098         * lyx_cb.C: adjust
16099         * lyx_gui_misc.C: adjust
16100         * lyxfunc.C: adjust
16101         * lyxvc.C: adjust
16102         * text2.C: adjust
16103         + more files in subdirs
16104
16105         * lyxparagraph.h (size): move up int file
16106         (GetLayout): ditto
16107
16108         * adjust all uses of Assert to lyx::Assert.
16109
16110         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16111         lyxfunctional in namespace lyx
16112         * layout.C (hasLayout): ditto
16113         (GetLayout): ditto
16114         (GetLayout): ditto
16115         (delete_layout): ditto
16116         (NumberOfClass): ditto
16117         * converter.C (GetFormat): ditto
16118         (GetNumber): ditto
16119         (Add): ditto
16120         (Delete): ditto
16121         (SetViewer): ditto
16122         * bufferlist.C (getFileNames): ditto
16123         (emergencyWriteAll): ditto
16124         (exists): ditto
16125         (getBuffer): ditto
16126         * MenuBackend.C (hasSubmenu): ditto
16127         (hasMenu): ditto
16128         (getMenu): ditto
16129         * BufferView_pimpl.C (getInsetByCode): ditto
16130
16131 2001-04-18  Juergen Vigna  <jug@sad.it>
16132
16133         * vspace.C (asLatexString): fixed the 100% problem.
16134
16135 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16136
16137         * lyxfunc.C (Dispatch):
16138         * minibuffer.C:
16139         * minibuffer.h: add a few std:: qualifiers
16140
16141 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16142
16143         * minibuffer.[Ch]: reimplement so that commands is initiated and
16144         run from lyxfunc, simplified som handling, and made the completion
16145         and history code for complete. wip.
16146
16147         * lyxfunc.C (processKeySym): call message
16148         (miniDispatch): new temporary method
16149         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16150         (LFUN_MESSAGE): implement
16151         (LFUN_MESSAGE_PUSH): implement
16152         (LFUN_MESSAGE_POP): implement
16153         (initMiniBuffer): the initial/defualt minibuffer message.
16154
16155         * lyxfont.[Ch]: inline some more getters
16156
16157         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16158
16159         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16160
16161         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16162         (AutoSave): use LFUN_MESSAGE
16163         (Reconfigure): ditto
16164
16165         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16166
16167         * figureForm.C: use LFUN_MESSAGE
16168
16169         * converter.C (runLaTeX): use LFUN_MESSAGE
16170
16171         * bufferview_funcs.C: use LFUN_MESSAGE
16172         (Melt): ditto
16173         (changeDepth): ditto
16174
16175         * bufferparams.h: use boost::
16176
16177         * bufferlist.h: inherit privately from noncopyable
16178
16179         * bufferlist.C (loadLyXFile): remove some commented code.
16180
16181         * buffer.C (runChktex): use LFUN_MESSAGE
16182
16183         * ShareContainer.h: inherit privately from noncopyable
16184
16185         * ParagraphParameters.[hC] (depth): inline it.
16186
16187         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16188         methods.
16189         (message): new method
16190         (messagePush): ditto
16191         (messagePop): ditto
16192         (show): init minibuffer
16193         (showState): direct call
16194
16195         * LaTeX.[Ch]: inherit privately from noncopyable
16196         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16197         instead of WriteStatus.
16198
16199         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16200
16201         * BufferView_pimpl.C (buffer): don't init minibuffer
16202         (workAreaButtonPress): use LFUN_MESSAGE
16203         (workAreaButtonRelease): ditto
16204         (savePosition): ditto
16205         (restorePosition): ditto
16206         (MenuInsertLyXFile): ditto
16207         (workAreaExpose): don't init minibuffer
16208         (update): remove commented code, simplify
16209
16210         * BufferView2.C (openStuff): use LFUN_MESSAGE
16211         (toggleFloat): ditto
16212         (menuUndo): ditto
16213         (menuRedo): ditto
16214         (copyEnvironment): ditto
16215         (pasteEnvironment): ditto
16216         (copy): ditto
16217         (cut): ditto
16218         (paste): ditto
16219         (gotoInset): ditto
16220         (updateInset): remove some commented code
16221
16222         * lastfiles.h: inherit privately from noncopyable
16223         * layout.h: ditto
16224         * lyx_gui.h: ditto
16225         * lyx_main.h: ditto
16226         * lyxlex.h: ditto
16227         * lyxlex_pimpl.h: ditto
16228
16229         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16230         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16231         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16232
16233         * LyXAction.h: inherit privately from noncopyable, add methods
16234         func_begin, func_end, returning iterators to the func map.
16235
16236         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16237         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16238         (func_begin): new method
16239         (func_end): new method
16240
16241         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16242         and not)
16243         (copySelection): ditto
16244         (pasteSelection): ditto
16245
16246         * BufferView.C: whitespace change
16247         * BufferView.h: inherit privately from noncopyable
16248
16249 2001-04-16  Allan Rae  <rae@lyx.org>
16250
16251         * tabular-old.C (l_getline):
16252         * spellchecker.C (sc_check_word):
16253         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16254         an unrecognised preprocessor directive.  So ensure they're wrapped.
16255
16256 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16257
16258         * src/exporter.C (Export): Give an error message when path to file
16259         contains spaces.
16260
16261 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * LaTeX.C (deplog): Always check that foundfile exists.
16264
16265 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16266
16267         * lyx_main.h:
16268         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16269
16270 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16271
16272         * tabular.[Ch] (getLabelList): implement new method
16273
16274         * minibuffer.h: comment ouf setTiimer
16275
16276         * minibuffer.C (ExecutingCB): constify res
16277         (peek_event): constify s
16278         (Set): constify ntext
16279         (Init): constify nicename
16280
16281         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16282
16283         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16284         (savePosition): use two params to Minibuffer::Set
16285         (restorePosition): ditto
16286
16287 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * lyx_main.C: include language.h
16290
16291         * Makefile.am (lyx_main.o): add language.h
16292
16293 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16294
16295         * exporter.C:
16296         * paragraph.C:
16297         * screen.C:
16298         * tabular.C:
16299         * CutAndPaste.C: include gettext.h
16300
16301         * lyxfont.h: remove old hack with ON and OFF.
16302
16303         * lyxparagraph.h:
16304         * lyxfont.h: do not include language.h...
16305
16306         * BufferView2.C:
16307         * LaTeXFeatures.C:
16308         * Painter.C:
16309         * bufferview_funcs.C:
16310         * font.C:
16311         * lyxfont.C:
16312         * text.C:
16313         * text2.C:
16314         * trans_mgr.C:
16315         * paragraph.C: ... but do it here instead
16316
16317 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16318
16319         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16320
16321         * tabular.C: small reformat
16322
16323         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16324         NEW_INSETS version
16325         (GetChar): ditto
16326         (BreakParagraph): ditto
16327         (SetOnlyLayout): ditto
16328         (SetLayout): ditto
16329
16330         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16331         with one arg less.
16332
16333         * lastfiles.C: removed most using decl, add std:: where needed
16334
16335         * buffer.C: ws changes
16336
16337         * MenuBackend.C (class compare_format): put into anon namespace
16338         (expand): constify label, names, action, action2
16339         (expand):
16340
16341         * text.C (SingleWidth): constify font
16342         (IsBoundary): constify rtl2
16343         (GetVisibleRow): constify ww
16344
16345         * LaTeX.C (deplog): constify logfile
16346
16347         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16348         start_x, end_x
16349         (workAreaExpose): constify widthChange, heightChange
16350
16351         * lyxrow.C (par): moved
16352         (height): moved
16353         (next): moved
16354         * lyxrow.h: as inlines here
16355
16356         * lyxfont.h (shape): moved from lyxfont.C
16357         (emph): moved from lyxfont.C
16358
16359         * lyxfont.C (LyXFont): use initialization list for all
16360         constructors
16361         (shape): move to lyxfont.h as inline
16362         (emph): move to lyxfont.h as inline
16363
16364
16365 2001-04-04  Juergen Vigna  <jug@sad.it>
16366
16367         * vspace.C: had to include stdio.h for use of sscanf
16368
16369 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16370
16371         * BufferView.h:
16372         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16373         independent of xforms.
16374
16375 2001-04-02  Juergen Vigna  <jug@sad.it>
16376
16377         * spellchecker.C: fixed namespace placing!
16378
16379 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16380
16381         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16382         the LyXParagraph * is 0.
16383
16384 2001-03-29  Juergen Vigna  <jug@sad.it>
16385
16386         * vspace.C: added support for %, c%, p%, l%.
16387         (stringFromUnit): added helper function.
16388         (asLatexString): changed to give right results for the %-values.
16389
16390         * buffer.C: convert the widthp in a width%.
16391
16392 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16393
16394         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16395         figureForm.[Ch].
16396
16397         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16398         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16399
16400         * lyx_cb.[Ch]: see above.
16401
16402         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16403         form1.[Ch].
16404
16405         * form1.[Ch]:
16406         * lyx.[Ch]: replaced by figure_form.[Ch].
16407
16408         * lyx_gui.C:
16409         * lyx_gui_misc.C:
16410         * lyxfunc.C: changed headers associated with above changes.
16411
16412 2001-03-27  Juergen Vigna  <jug@sad.it>
16413
16414         * BufferView_pimpl.C: set the temporary cursor right!
16415
16416 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16417
16418         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16419
16420 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16421
16422         * LString.h: removed "using std::getline"!
16423
16424         * BufferView_pimpl.C (Dispatch): changes due to changes in
16425         InsetInclude::Params.
16426
16427         * buffer.C (tag_name): removed redundant break statements as they were
16428         producing lots of warnings with my compiler.
16429
16430 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16431
16432         * LString.h: add "using std::getline" when using the real <string>.
16433
16434 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16435
16436         * buffer.C: removed bitset usage.
16437         PAR_TAG moved to an anonymous name space.
16438         (tag_name): new funtion, also in the anonymous namespace.
16439         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16440         (makeDocBookFile): clean code. Completed transition from string arrays
16441         to string vectors.
16442         (SimpleDocBookOnePar): code clean.
16443
16444 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16445
16446         * tabular.C: add some comments.
16447
16448 2001-03-22  Juergen Vigna  <jug@sad.it>
16449
16450         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16451         compatibility read a bit and fixed bug with minipage in different
16452         depth.
16453
16454 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16455
16456         * buffer.C (pop_tag): removed.
16457         (push_tag): removed.
16458         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16459         array replaced with vector. Added support for CDATA sections.
16460         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16461         at any nest level.
16462         (makeDocBookFile): XML conformant declaration of CDATA section,
16463         fixed bug related to <emphasis> in the first paragraph char.
16464         (sgmlOpenTag): exclude empty tags.
16465         (sgmlCloseTag): ditto.
16466
16467         * buffer.h (pop_tag): removed.
16468         (push_tag): removed.
16469
16470 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16471
16472         * language.h (Languages): added size_type and size().
16473
16474 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16475
16476         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16477         response on compability reading of minipages. One probliem is that
16478         the old usage of minipages was «flertydig»
16479
16480         * several files here and in subdirs: don't use static at file
16481         scope use anon namespaces instead.
16482
16483 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16484
16485         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16486         LaTeX output. This is necessary for Literate document
16487         processing.
16488
16489 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16490
16491         * buffer.C: insert hfill when needed.
16492
16493         * tabular.C (l_getline): use string::erase, small whitespace change.
16494
16495         * BufferView_pimpl.C: try the anon namespace.
16496         * WorkArea.C: ditto
16497
16498 2001-03-16  Juergen Vigna  <jug@sad.it>
16499
16500         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16501         otherwise it won't open options-dialogs.
16502
16503         * buffer.C: honor pextraWidth(p) on converting minipages.
16504
16505         * tabular.C (l_getline): changed the functions to strip trailing \r.
16506
16507 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16508
16509         * BufferView_pimpl.C:
16510         * minibuffer..C: added "using SigC::slot" declaration.
16511
16512 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16513
16514         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16515
16516         * text2.C: ditto
16517
16518         * text.C: ditto
16519
16520         * paragraph.C: ditto
16521
16522         * lyxtext.h: NO_PEXTRA
16523
16524         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16525
16526         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16527         * ParameterStruct.h: ditto
16528         * ParagraphParameters.h: ditto
16529         * lyxparagraph.h: ditto
16530
16531 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16532
16533         * buffer.C: add compability for minipage alignment.
16534         (latexParagraphs): remove unwanted pextra check.
16535
16536         * several files: remove CXX_WORKING_NAMESPACES
16537
16538         * buffer.C (pop_tag): tie is in namespace boost
16539
16540         * BufferView.h: noncopyable is in namespace boost
16541         * lyxlex.h: ditto
16542         * lyx_main.h: ditto
16543         * lyx_gui.h: ditto
16544         * layout.h: ditto
16545         * lastfiles.h: ditto
16546         * bufferlist.h: ditto
16547         * ShareContainer.h: ditto
16548         * LyXView.h: ditto
16549         * LyXAction.h: ditto
16550         * LaTeX.h: ditto
16551
16552 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16553
16554         * Merging changes from BRANCH_MVC back into HEAD.
16555
16556         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16557
16558 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16559
16560         * BufferView_pimpl.C: change from intl.C
16561
16562         * combox.h:
16563         * combox.C:
16564         * Makefile.am: move combox.*
16565
16566         * form1.h:
16567         * form1.C:
16568         * lyx_gui.C:
16569         * intl.h:
16570         * intl.C: remove dialog (covered by prefs)
16571
16572 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16573
16574         * lyxfunc.C (Dispatch): removed redundant break statement.
16575
16576 2001-03-14  Juergen Vigna  <jug@sad.it>
16577
16578         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16579
16580 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16581
16582         * buffer.C: add hack to fix compability reading of minipages.
16583
16584 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16585
16586         * buffer.C (getLists): Cleanup.
16587
16588 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16589
16590         * lyxfont.C (update): don't honor toggleall on font size.
16591
16592 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16593
16594         * bmtable.c:
16595         * bmtable.h:
16596         * Makefile.am: moved to frontends/xforms/
16597
16598         * lyx_gui_misc.C:
16599         * lyxfunc.C:
16600         * BufferView_pimpl.C: changes for moved mathpanel
16601
16602 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16603
16604         * gettext.h: fix gettext_init() in --disable-nls
16605
16606 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16607
16608         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16609
16610 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16611
16612         * lyx.C:
16613         * lyx.h: strip external form
16614
16615 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16616
16617         * BufferView_pimpl.C: add comment, destroySplash()
16618
16619 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16620
16621         * BufferView_pimpl.C:
16622         * LyXAction.C:
16623         * buffer.C:
16624         * commandtags.h:
16625         * lyxfunc.C: use re-worked insetinclude
16626
16627 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16628
16629         * buffer.C: add using std::stringstream.
16630
16631         * lyx_cb.C: readd using std::ios.
16632
16633         * buffer.C: add using std::map.
16634
16635         * BufferView_pimpl.C: add using std::vector.
16636
16637         * ShareContainer.h: add std:: to swap.
16638
16639         * buffer.h: add some typedefs
16640         * buffer.C (getLists): use them
16641         (getLists): renamed from getTocList.
16642         add a counter for the different float types and use it in the
16643         generated string.
16644         (getLists): use the same counter for the NEW_INSETS and the "non"
16645         NEW_INSETS
16646
16647         * lyx_cb.h: remove unused items, includes, using etc.
16648
16649         * ShareContainer.h: remove some commented code, add more comments
16650         and "documentation".
16651
16652 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16653
16654         * buffer.C (getTocList): make the list also when NEW_INSETS is
16655         defined.
16656
16657         * buffer.h: remove TocType
16658
16659         * buffer.C (getTocList): change to return a map<string,
16660         vector<TocItem> >, implement for dynamic number of list.
16661
16662         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16663         * text2.C (PasteSelection): adjust
16664         * CutAndPaste.C (pasteSelection): adjust
16665
16666         * FloatList.C (FloatList): update from the new_insets branch.
16667         * Floating.[Ch]: ditto
16668         * LaTeXFeatures.C: ditto
16669         * buffer.C: ditto
16670         * lyxlex_pimpl.C: ditto
16671
16672         * paragraph.C (Last): remove when NEW_INSETS is defined.
16673
16674         * other file: changes because of the above.
16675
16676 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16677
16678         * lyxparagraph.h: rename next to next_, previous to previous_,
16679         make them private for NEW_INSETS. Rename Next() to next(),
16680         Previous() to previous().
16681
16682         * other files: changes because of the above.
16683
16684 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16685
16686         * BufferView.h:
16687         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16688         problem.
16689
16690 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16691
16692         * main.C (main): pass lyx_localedir to gettext_init().
16693
16694         * gettext.h: remove locale_init and gettext_init macros
16695
16696         * gettext.C (locale_init): new function
16697         (gettext_init): new function
16698
16699         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16700         setlocale().
16701
16702 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16703
16704         * Moved credits to frontends:
16705         * credits.[Ch]: removed
16706         * credits_form.[Ch]: removed
16707         * lyx_gui_misc.C: remove credits stuff
16708         * Makefile.am:
16709
16710 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16711
16712         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16713
16714         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16715         unneeded destructor.
16716
16717         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16718         a standalone pointer again.
16719
16720         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16721
16722 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16723
16724         * Makefile.am:
16725         * filedlg.h:
16726         * filedlg.C:
16727         * LyXAction.C:
16728         * ToolbarDefaults.C:
16729         * bufferlist.C:
16730         * commandtags.h:
16731         * form1.C:
16732         * form1.h:
16733         * lyx_cb.C:
16734         * lyx_cb.h:
16735         * lyxfunc.h:
16736         * lyxfunc.C:
16737         * BufferView_pimpl.C: use new file dialog in GUII
16738
16739         * lyx_cb.h:
16740         * lyx_cb.C: remove LayoutsCB to Toolbar
16741
16742 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16743
16744         * ShareContainer.h (get): add std:: qualifier
16745
16746 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16747
16748         * ShareContainer.h: define a proper ShareContainer::value_type
16749         type (and use typename to please compaq cxx)
16750
16751 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16752
16753         * lyxparagraph.h: move serveral local vars to
16754         ParameterStruct/ParagraphParameters., use ShareContainer in
16755         FontTable., make vars in FontTable private and add getter and
16756         setter.
16757
16758         * paragraph.C: changes because of the above.
16759
16760         * lyxfont.h: remove copy constructor and copy assignment. (the
16761         default ones is ok), move number inside FontBits. move inlines to
16762         lyxfont.C
16763
16764         * lyxfont.C: add number to initializaton of statics, move several
16765         inlines here. constify several local vars. some whitespace
16766         cleanup. Dont hide outerscope variables.
16767
16768         * Spacing.h: add two new constructors to match the set methods.
16769
16770         * ShareContainer.h: new file, will perhaps be moved to support
16771
16772         * ParameterStruct.h: new file
16773
16774         * ParagraphParameters.h: new file
16775
16776         * ParagraphParameters.C: new file
16777
16778         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16779         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16780
16781         * BufferView_pimpl.C: ParagraphParameter changes.
16782         * buffer.C: Likewise.
16783         * bufferview_funcs.C: Likewise.
16784         * text.C: Likewise.
16785         * text2.C: Likewise.
16786
16787 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16788
16789         * lyxfind.C (LyXReplace): do not redefine default argument in
16790         implementation.
16791         (IsStringInText): ditto
16792         (SearchForward): ditto
16793         (SearchBackward): ditto
16794
16795 2001-03-06  Juergen Vigna  <jug@sad.it>
16796
16797         * lyxfind.C (IsStringInText): put parentes around expressions.
16798
16799 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16800
16801         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16802
16803 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16804
16805         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16806
16807         * stl_string_fwd.h: add comment
16808
16809         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16810
16811         * tabular.h:
16812         * tabular.C: remove unused DocBook methods
16813
16814         * intl.C:
16815         * language.C:
16816         * paragraph.C:
16817         * buffer.C:
16818         killed DO_USE_DEFAULT_LANGUAGE
16819
16820 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16821
16822         * lyx_gui.C: do not include language.h.
16823
16824         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16825         arguments in function implementation.
16826
16827 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16828
16829         * BufferView_pimpl.C: add <ctime>
16830
16831 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16832
16833         * BufferView_pimpl.C: add using std::find_if
16834
16835 2001-02-27  José Matos  <jamatos@fep.up.pt>
16836
16837         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16838         by OnlyPath.
16839
16840 2001-02-11  José Matos  <jamatos@fep.up.pt>
16841
16842         * buffer.C (makeDocBookFile): command styles now have a parameter as
16843         "title" by default.
16844
16845 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16846
16847         * layout_forms.[Ch]: removed
16848         * lyx_cb.[Ch]: out character
16849         * lyx_gui.C: out character
16850         * lyx_gui_misc.C: out character
16851         * bufferview_funcs.C: : out character,
16852         added toggleall as parameter in ToggleAndShow
16853
16854 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16855
16856         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16857
16858         * text2.C (SetCurrentFont): Disable number property at boundary.
16859
16860 2001-02-26  Juergen Vigna  <jug@sad.it>
16861
16862         * lyxfunc.C (getStatus): added a string argument override function so
16863         that this is correctly called from LyXFunc::Dispatch if it contains a
16864         do_not_use_argument which is used!
16865         (Dispatch): added check for "custom" export and call appropriate func.
16866
16867 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16868
16869         * lyxrc.C: Add language_command_local, language_use_babel and
16870         language_global_options.
16871
16872         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16873
16874         * buffer.C (makeLaTeXFile): Use language_use_babel and
16875         language_global_options.
16876
16877 2001-02-23  Juergen Vigna  <jug@sad.it>
16878
16879         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16880         which works with LyXText and putted it inside BufferView. Here now we
16881         only call for that part the BufferView::Dispatch() function.
16882
16883         * BufferView.C (Dispatch): added.
16884
16885         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16886         functions which needs to use a LyXText over from LyXFunc.
16887         (MenuInsertLyXFile): added
16888         (getInsetByCode): added
16889         (moveCursorUpdate): added
16890         (static TEXT): added
16891
16892 2001-02-22  Juergen Vigna  <jug@sad.it>
16893
16894         * BufferView_pimpl.C (update): call a status update to see if LyXText
16895         needs it.
16896
16897 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16898
16899         * vc-backend.C (revert): implement for CVS
16900         (getLog): implement for CVS
16901
16902 2001-02-20  Juergen Vigna  <jug@sad.it>
16903
16904         * text2.C (ClearSelection): added BufferView param for inset_owner call
16905
16906         * lyxfunc.C (TEXT): added this function and use it instead of
16907         directly owner->view()-text of getLyXText().
16908
16909 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16910
16911         * src/layout_forms.C: out preamble
16912         * src/layout_forms.h: out preamble
16913         * src/lyx_cb.C: out preamble
16914         * src/lyx_cb.h: out preamble
16915         * src/lyx_gui.C: out preamble
16916         * src/lyx_gui_misc.C: out preamble
16917         * src/lyxfunc.C: connect with guii preamble
16918
16919 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16920
16921         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16922
16923 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16924
16925         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16926         whether to run bibtex.
16927
16928 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16929
16930         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16931
16932 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16933
16934         * Makefile.am (lyx_SOURCES): removed bibforms.h
16935
16936         * vspace.h: doxygen
16937
16938         * text.C (GetVisibleRow): make several local vars const
16939
16940         * tabular.C: small cleanup.
16941
16942         * lyxserver.C (callback): use compare instead of strncmp
16943
16944         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16945         inlines to after class or to paragraph.C
16946
16947         * lyxfont.h: remove friend operator!=
16948
16949         * converter.h: move friend bool operator< to non friend and after
16950         class def.
16951
16952         * combox.h: small cleanup
16953
16954         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16955         to inlines after class def.
16956
16957         * buffer.C (pop_tag): use string operations instead of strcmp
16958
16959         * bmtable.c: doxygen, small cleanup
16960
16961         * LaTeX.h: remove friend operator==
16962
16963 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16964
16965         * screen.C:
16966         * lyxrc.[Ch]:
16967         * lyxfunc.C:
16968         * lyxfont.[Ch]:
16969         * lyx_cb.C:
16970         * intl.[Ch]:
16971         * commandtags.h:
16972         * buffer.C:
16973         * WorkArea.[Ch]:
16974         * LyXAction.C:
16975         * BufferView_pimpl.C:
16976         * BufferView.[Ch]: remove cruft
16977
16978 2001-02-14  Juergen Vigna  <jug@sad.it>
16979
16980         * lyxfunc.C: removed #if 0 unused code
16981
16982         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16983
16984         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16985
16986         * text2.C (SetSelection): added a BufferView * parameter
16987
16988 2001-02-13  Juergen Vigna  <jug@sad.it>
16989
16990         * lyxfunc.C (Dispatch): fixed protected blank problem.
16991         * BufferView2.C (protectedBlank): added LyxText * parameter.
16992
16993         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16994         (AppendColumn): same as above for column_info.
16995
16996         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16997         (moveCursorUpdate): use a LyXText param for support of InsetText.
16998
16999         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17000         (tripleClick): ditto
17001
17002         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17003
17004         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17005
17006         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17007
17008         * text2.C (SetSelection): set correct update status if inset_owner
17009         (ToggleFree): ditto
17010
17011 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17012
17013         * tabular.C: remove some commented code.
17014
17015 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17016
17017         * BufferView_pimpl.C: call hideSplash()
17018
17019         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17020
17021         * include_form.h:
17022         * bibforms.h: remove
17023
17024         * lyxfunc.C:
17025         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17026           add LFUN_CHILD_CREATE
17027
17028         * counters.h: fix tiny typo
17029
17030         * lyx_cb.C:
17031         * lyx.h:
17032         * lyx_gui.C:
17033         * lyx.C: move splash to frontends/xforms/
17034
17035         * lyx_gui_misc.C: move Include and Bibform to frontends
17036
17037         * lyxvc.h: clarify comment
17038
17039         * vspace.C: tiny housekeeping
17040
17041 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17042
17043         * text.C (PrepareToPrint): RTL Fix.
17044
17045         * paragraph.C (GetUChar): New method.
17046         (String):  Use GetUChar.
17047
17048         * buffer.C (asciiParagraph): Use GetUChar.
17049
17050 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17051
17052         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17053
17054 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17055
17056         * buffer.h:
17057         * buffer.C: rename to getLogName(), handle
17058           build log / latex log nicely
17059
17060 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17061
17062         * MenuBackend.C:
17063         * MenuBackend.h: remove support for reference menuitem type.
17064
17065 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17066
17067         * BufferView_pimpl.C: housekeeping
17068         * BufferView_pimpl.h:
17069         * LyXView.h:
17070         * Makefile.am:
17071         * Timeout.C:
17072         * Timeout.h:
17073         * minibuffer.h: move Timeout GUI-I
17074
17075 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17076
17077         * lyxrc.C (read): Update converters data-structures.
17078
17079 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17080
17081         * LaTeX.h (operator!=): add operator != for Aux_Info
17082
17083 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17084
17085         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17086
17087         * LaTeXLog.C: deleted, useful code moved to Buffer
17088
17089         * buffer.h:
17090         * buffer.C: new function getLatexLogName()
17091
17092         * lyx_gui_misc.C:
17093         * lyx_gui.C:
17094         * lyxvc.C:
17095         * lyxvc.h:
17096         * lyxfunc.C: use frontends for LaTeX and VC logs
17097
17098 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17099
17100         * LaTeX.h: yet another std:: that Allan forgot.
17101
17102         * Variables.C (set): renamed from isset(), because this clashes
17103         with some HP-UX macros (grr).
17104
17105 2001-02-06  Allan Rae  <rae@lyx.org>
17106
17107         * LaTeX.h: Another bug fix.  Missing std:: this time.
17108
17109 2001-02-04  Allan Rae  <rae@lyx.org>
17110
17111         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17112         floats problem. I've left it commented out because it's not quite
17113         correct.  It should also test that the current object is a table or
17114         figure inset.  But I haven't gotten around to figuring out how to do
17115         that.  I *think* it'll be something like: "table" == inset.type()
17116
17117         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17118         bool.
17119
17120 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17121
17122         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17123         all the citation/databases/styles in the auxilary file.
17124         (run): Rerun latex if there was a babel language error.
17125
17126 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17127
17128         * text.C (Backspace): Preserve the font when changing newline char
17129         with a space.
17130         (BreakParagraph): If the cursor is before a space, delete the space.
17131
17132         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17133
17134 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17135
17136         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17137         new argument (code).
17138         (ChangeCitationsIfUnique): New method.
17139
17140         * paragraph.C (GetPositionOfInset): Handle bibkey.
17141
17142 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17143
17144         * BufferView_pimpl.h: change type of Position::par_pos to
17145         LyXParagraph::size_type.
17146
17147 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17148
17149         * BufferView_pimpl.C (savePosition, restorePosition): Write
17150         messages to minibuffer.
17151
17152 2001-01-28  José Matos  <jamatos@fep.up.pt>
17153
17154         * buffer.C (makeDocBookFile): adds support for document language.
17155         A silly restriction on the name of LatexCommand types where removed.
17156         Added support for CDATA sections, allows to chars unescaped, used
17157         among others in code, to avoid escape < and >.
17158
17159 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17160
17161         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17162         saved positions instrad of a stack. Furthermore, a position is
17163         stored using paragraph id/paragraph position.
17164
17165         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17166         Remove LFUN_REF_BACK.
17167
17168 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17169
17170         * converter.C (dvipdfm_options): New method.
17171
17172 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17173
17174         * vspace.C (isValidLength): Fix for empty input string.
17175
17176 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17177
17178         * LyXAction.C (init): change description of LFUN_FIGURE to
17179         "Insert Graphics"
17180
17181 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17182
17183         * LaTeX.C: add using directive
17184
17185 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17186
17187         * MenuBackend.C (expand): Fix the sorting of the formats.
17188
17189 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17190
17191         * lyx_main.C: tiny error message fix
17192
17193 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17194
17195         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17196         calling fl_initialize(). This fixes the problem with ',' as
17197         decimal separator in text files.
17198
17199 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17200
17201         * trans.C (process): Fix the keymap bug.
17202
17203 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17204
17205         * LaTeX.C (scanAuxFiles): New method. Provides support for
17206         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17207         (scanLogFile) Scan for "run BibTeX" messages.
17208
17209         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17210         OT1 font encoding. Also, load the aecompl package if the ae
17211         package is loaded.
17212
17213         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17214
17215 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17216
17217         * texrow.C (increasePos): turn two error messages into debug
17218         messages.
17219
17220 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17221
17222         * LaTeX.C (scanAux): Handle the \@input macro.
17223         (runBibTeX): Use scanAux().
17224
17225         * language.C (latex_options_): New field.
17226
17227         * LaTeXFeatures.C (getMacros): Add language macros.
17228
17229         * buffer.C (makeLaTeXFile): Small fix.
17230
17231 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17232
17233         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17234
17235         * text2.C: add a using directive.
17236
17237 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17238
17239         * BufferView2.C:
17240         * lyx_gui_misc.h:
17241         * lyxfr1.C:
17242         * lyxfunc.C: kill LyXBell.
17243
17244 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17245
17246         * text.C (IsBoundary): Remove the error message
17247
17248         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17249
17250         * lyxrc.C (setDefaults): Correct initialization value for
17251         font_norm_type.
17252
17253 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17254
17255         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17256         gotoError().
17257
17258         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17259         and GotoNextNote().
17260
17261         * src/LyXAction.C: Added reference-next.
17262
17263         * text.C (InsertChar): Use contains instead of strchr.
17264
17265         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17266
17267 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17268
17269         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17270         alignment commands (when needed).
17271
17272         * text.C (InsertChar): Add ':' to number separator chars.