]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
make "make distcheck" work
[lyx.git] / src / ChangeLog
1 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
2
3         * paragraph_funcs.C: fix crash when pasting insets in change 
4         tracking mode [bug 1277] (honour change type in moveItem).
5
6 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
9
10 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * BufferView.C (setCursor): change to use a DocIterator.
13         (gotoLabel): use BufferView::setCursor (other part of bug 781).
14         (putSelectionAt): adapt to BufferView::setCursor change.
15
16         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
17         moved here from LyXText and rewritten to use proper cursor
18         methods. Fixes bug 1787, 616 and 835.
19
20         * BufferView_pimpl.C (restorePosition): set the cursor correctly
21         when inside an inset (part of bug 781).
22         (dispatch): adapt to change of BufferView::setCursor.
23         (getStatus, dispatch): handle LFUN_GOTOERROR,
24         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
25
26         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
27         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
28         * text3.C (gotoNextInset, gotoInset): removed.
29
30 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
33
34 2005-02-15  Angus Leeming  <leeming@lyx.org>
35
36         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
37         can be used meaningfully in a comparison.
38
39 2005-02-13  André Pönitz  <poenitz@gmx.net>
40
41         * bufferview_funcs.C (coordOffset): improve cursor drawing
42
43 2005-02-13  André Pönitz  <poenitz@gmx.net>
44
45         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
46         * Cursor.C (dispatch): use fixIfBroken
47         * lyxfunc.C (getStatus): use fixIfBroken
48
49 2005-02-15  Angus Leeming  <leeming@lyx.org>
50
51         * lyx_main.C (error_handler):
52         * lyxfunc.C:
53         * lyxrc.C (setDefaults):
54         s/GetEnv/getEnv/.
55         #include "environment.h".
56
57         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
58
59 2005-02-15  Angus Leeming  <leeming@lyx.org>
60
61         * lyxserver.C (startPipe): squash MSVC warning "local variable
62         'fd' used without having been initialized".
63
64 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
65
66         * BufferView_pimpl.C: revert accidental commit.
67
68 2005-02-14  André Pönitz  <poenitz@gmx.net>
69
70         * dociterator.[Ch]: new member forwardPosNoDescent(),
71         which doesn't enter nested insets.
72         * text2.C (setFont): use forwardPosNoDescent() instead
73         of ForwardPos() (fixes crash on font change).
74
75 2005-02-13  Angus Leeming  <leeming@lyx.org>
76
77         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
78         only if lyxrc.path_prefix is not empty.
79
80 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
81
82         * bufferparams.C (readGraphicsDriver): prevent crash
83
84 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
85
86         * text2.C (setCounter): check for inInset() == 0
87
88 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
91         but use update() to get correct screen display; use convert
92         instead of istringstream. 
93         (getStatus): handle LFUN_GOTO_PARAGRAPH 
94
95         * lyxfunc.C (dispatch, getStatus): do not handle
96         LFUN_GOTO_PARAGRAPH here.
97
98 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
99
100         * text3.C (dispatch): size() -> depth()
101
102         * text2.C: remove some debug output
103
104         * paragraph.C: ws changes only
105
106         * lyxfunc.C (getStatus): size() -> depth()
107
108         * dociterator.h (clear, push_back, pop_back, internalData,
109         operator[], resize, empty): new functions
110         Make StableDocIterator and operator== be friends. Don't inherit
111         from std::vector use a privat class variable slices_ instead.
112         Modify to fit.
113
114         * dociterator.C: update because of not inheriting from std::vector
115         anymore. Call explictly to slices_ instead. Use depth() instead of
116         size() and top() instead of back()
117
118         * cursor.C: chagne size() -> depth and back() -> top(). Also
119         remove some direct operator[](i) calls in favour of foo[i]
120         (getFont): remove some dead code
121
122         * bufferview_funcs.C (coordOffset): size() -> depth()
123
124         * buffer.C: ws changes only
125
126         * CutAndPaste.C (eraseSelection): back() -> top()
127
128         * BufferView_pimpl.C (selectionRequested): back() -> top()
129
130         * BufferView.C (setCursor): size() -> depth()
131
132 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
133
134         * text3.C (cursorPrevious): return true if depm changed something
135         (cursorNext): ditto
136         (dispatch): rename sl to oldTopSlice, remove moving use the new
137         NoUpdate func attrib instead. Make sure that needsUpdate is set
138         for function that have NoUpdate, but where depm might have changed
139         the buffer anyway.
140
141         * text2.C (cursorLeft): make us return true if depm changed
142         something
143         (cursorRight): ditto
144         (cursorUpParagraph): ditto
145         (curosrDownParagraph): ditto
146         (cursorUp, cursorDown): ditto, make sure to read comments in code
147         (deleteEmptyParagraphMechanism): remove an assert, also return
148         true if just a single char was deleted.
149
150         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
151         cursor that we modify, to avoid modifying an active cursor before
152         we call setCursor. This allows depm to run. Also return true if
153         depm deleted something.
154
155         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
156         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
157         cursorDownParagraph, cursorPrevious and cursorNext, return true if
158         something was changed in the buffer because of them (ie. depm run)
159
160         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
161         debug messages. Make update by default be false. Make sure that
162         the result of update is retained throught several calls down to
163         dispatch.
164
165         * LyXAction.h: add a new func_attrib: NoUpdate
166
167         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
168         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
169         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
170         and LFUN_WORDLEFT
171         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
172
173 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
176         bv_->owner(), bv_->buffer() by direct references to the private
177         members.
178         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
179         (getStatus): isSavedPosition() is in BufferView::Pimpl.
180         (fitCursor): center() is in BufferView::Pimpl.
181         (getStatus, trackChanges, dispatch): no need for a temporary buf
182         variable
183         (fitCursor, workAreaDispatch): use workarea().workheight()
184
185 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
186
187         * CutAndPaste.C (pasteSelectionHelper): fix a crash
188
189 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
190
191         * buffer.C: format up to 241.
192         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
193         break if pasting into ERT
194         * lyxfunc.C (getStatus): suppress mathpanel and
195         LFUN_DIALOG_SHOW_NEW_INSET in ERT
196
197 2005-02-01  Angus Leeming  <leeming@lyx.org>
198
199         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
200
201 2005-02-01  Angus Leeming  <leeming@lyx.org>
202
203         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
204         calling fs::is_directory().
205
206 2005-01-31  Angus Leeming  <leeming@lyx.org>
207
208         * lyx_main.C (priv_exec): specify explicitly the relative location
209         of the top level build directory when run in-place.
210
211 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
214         LyXText containing the cursor, not the top-level one.
215
216         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
217         true.
218         (insertStringAsLines): rename par to pit; use temporary variable
219         par to hold a Paragraph; do not store par.layout() in a variable,
220         since the pointer may die when breaking paragraphs; pass pars to
221         breakParagraph() instead of Buffer::paragraphs().
222
223 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
224
225         * lyxlex_pimpl.h: #include <fstream>.
226
227         * BufferView.[Ch] (getLyXText): add a const version.
228
229         * BufferView_pimpl.C: add debug aids.
230
231         * RowList_fwd.h:
232         * buffer.h:
233         * lyxrow.h:
234         * paragraph_funcs.h: add commentary explaining what the class does.
235
236
237         * coordcache.[Ch]: add lots of commentary.
238         (startUpdating, doneUpdating): debug aids.
239         (arrays, insets, parPos, getParPos): accessors to private data.
240
241         * cursor_slice.[Ch] (text): add a const version.
242         * dociterator.[Ch] (text, innerText): add const versions.
243
244         * lyxtext.h (breakParagraph): change the keep_layout arg to a
245         bool.
246
247         * paragraph.C (getRow, pos2ros): add asserts.
248
249         * paragraph.h: add commentary. Lots of.
250
251         * paragraph.[Ch] (metrucs, draw): removed.
252
253         * cursor.C:
254         * rowpainter.[Ch]: const-correct changes.
255
256         * text.C: various obvious clean-ups. Removal of ancient cruft.
257         Bug fixes, even.
258
259 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
260
261         * vc-backend.C (find_file): rewrite to use boost.filesystem
262         (scanMaster): ditto
263
264         * main.C (main): set default name check for boost.filesystem to
265         no check
266
267         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
268         (open): ditto
269         (doImport): ditto
270         (actOnUpdatedPrefs): ditto
271
272         * lyx_main.C (init): rewrite to use boost.filesystem
273         (queryUserLyXDir): ditto
274
275         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
276         (getContentsOfAsciiFile): ditto
277
278         * lastfiles.C (readFile): rewrite to use boost.filesystem
279
280         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
281
282         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
283         (loadLyXFile): ditto
284
285         * buffer.C (Buffer): adjust for destroydir
286         (getLogName): rewrite to use boost.filesystem
287         (setFileName): ditto
288         (save): use fs::copy_file (from fs_extras)
289
290         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
291
292         * LaTeX.C (run): rewrite to use boost.filesystem
293         (scanAuxFiles): ditto
294         (handleFoundFile): ditto
295
296 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
299
300         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
301
302 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
303
304         * lyxlayout.[Ch]: change some vars from float to double
305
306         * buffer.C (readFile): make a local var const
307
308         * Several files: use convert<> instead of atoi,strToXXX and friends
309
310 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
311
312         * LaTeXFeatures.[Ch]: Add a static list packages_ that
313         holds the contents of packages.lst. New functions getAvailable
314         and isAvailable to parse and check that list, resp.
315
316         * LyXAction.C:
317         * lfuns.h:
318         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
319
320         * bufferparams.[Ch]: new param output_changes.
321
322         * Buffer.C: increase file format to 240.
323         Use output_changes and isVailable.
324
325         * changes.[Ch]:
326         * paragraph.C:
327         * paragraph_pimpl.C: Use output_changes and isVailable.
328
329 2005-01-23  Angus Leeming  <leeming@lyx.org>
330
331         * output_latex.C: #include "insetbibitem.h", rather than
332         forward declare function bibitemWidest.
333
334 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
335
336         * lyx_main.C (init): make it compile on the Mac.
337
338 2005-01-20  Angus Leeming  <leeming@lyx.org>
339
340         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
341         (setLyXMisc): (char string literal) != (char string literal) is
342         performing a comparison on the addresses. Convert one operand
343         explicitly to string to guarantee expected behaviour.
344         From MSVC warning.
345
346 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
347
348         * buffer.C:
349         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
350
351         * output_plaintext.C: remove unneeded #include gzstream.h.
352
353 2005-01-20  Angus Leeming  <leeming@lyx.org>
354
355         * SpellBase.h: rename some of the elements of the Result enum.
356
357         * aspell_local.h:
358         * ispell.h:
359         * pspell.h:
360         * aspell.C (check):
361         * ispell.C (check):
362         * pspell.C (check): ditto
363
364 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
365
366         * buffer.C: add #include <fstream>.
367
368         * lyx_main.C (init): Compile fix.
369
370         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
371
372 2005-01-20  Angus Leeming  <leeming@lyx.org>
373
374         * mover.h: change commentary to reflect the changed meaning of
375         the $$s placeholder.
376
377 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
378
379         * output_linuxdoc.C (linuxdocParagraphs): silence warning
380
381         * lyxfind.C (MatchString::operator()): remove bogus semicolon
382
383 2005-01-20  Angus Leeming  <leeming@lyx.org>
384
385         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
386         printing diagnostic data by not dereferecing an iterator past the
387         end.
388
389 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
390
391         * buffer.C (readHeader): use "&&" rather than "and".
392
393         * lyxserver.h (inPipeName, outPipeName): make these const.
394
395 2005-01-19  Angus Leeming  <leeming@lyx.org>
396
397         * lyx_main.C (error_handler, init): protect SIGHUP with
398         #ifdef SIGHUP guards.
399
400 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
403
404 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * text.C (setHeightOfRow): add a margin at the top and bottom of
407         the document (bug 1761)
408
409 2005-01-17  Angus Leeming  <leeming@lyx.org>
410
411         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
412         with "python ". Workaround for a brain-dead Windows.
413
414 2005-01-16  Angus Leeming  <leeming@lyx.org>
415
416         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
417         for MacOSX and Windows to use prependEnvPath.
418         Strip out the hard-coded block to add elements to the PATH for
419         MacOSX and replace it with a call to prependEnvPath using the
420         contents of LyXRC::path_prefix.
421         (queryUserLyXDir): strip out the code to run reconfigure, instead
422         returning a boolean indicating the necessity to do so.
423         (reconfigureUserLyXDir): contains the code to reconfigure the
424         user support directory. Is now called after the various LyXRC data
425         files have been read.
426
427         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
428
429 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
430
431         * converter.[Ch] (convert): take a new parameter try_default. Use
432         a default converter (imagemagick) if try_default is true.
433
434 2005-01-13  Angus Leeming  <leeming@lyx.org>
435
436         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
437         os::cygwin_path_fix.
438         (write): output LyXRC::cygwin_path_fix as necessary.
439
440 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
441
442         * lyxrc.h:
443         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
444
445 2005-01-12  Angus Leeming  <leeming@lyx.org>
446
447         * lyx_main.C (init): set the PATH variable to include the
448         directory containing the LyX binary when running on Mac or Windows.
449
450 2005-01-12  Angus Leeming  <leeming@lyx.org>
451
452         * lyx_main.C (init): remove cruft that purports to set the locale
453         dir. It doesn't and is not needed anyway.
454
455 2005-01-10  Angus Leeming  <leeming@lyx.org>
456
457         * Makefile.am: remove the lyx_main.C special casing.
458
459         * BufferView_pimpl.C:
460         * bufferlist.C:
461         * exporter.C:
462         * lyx_cb.C:
463         * lyx_main.C:
464         * lyxfunc.C:
465         * messages.C: use support/package.h to provide the paths to the
466         various directories used by LyX.
467
468 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
469
470         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
471         layout if pasting into an empty paragraph)
472
473 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
474
475         * tex-accent.C: add <string>
476
477 2005-01-06  José Matos  <jamatos@lyx.org>
478
479         * ParagraphParameters.C (write): put every parameter in its own line.
480         * paragraph.C (write): reduce number of consecutive empty lines exported.
481         * buffer.C (LYX_FORMAT): increase file format to 239.
482
483 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
484
485         * everywhere: change support/tostr.h -> support/convert.h
486
487         * tabular.C: make all write_attributes templates, tostr -> convert
488
489         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
490         (emptyTag): and -> &&, and fix type for ret from getChar
491         (getFirstWord): fix type for ret from getChar
492         (onlyText): and -> &&
493         (simpleDocBookOnePar): and not -> && !, fix type for ret from
494         getChar
495
496         * toc.C (goTo, action):
497         * text3.C (dispatch):
498         * text.C (currentState):
499         * tex-accent.C (DoAccent):
500         * sgml.C:
501         * lyxrc.C:
502         * lyxfunc.C (menuNew):
503         * lyxfinc.C (replace):
504         * counters.C (laberItem):
505         * bufferview_funcs.C (font2string):
506         * bufferparams.C (writeFile):
507         * buffer.C (readFile):
508         * Spacing.C (set):
509         * MenuBackend.C: tostr -> convert
510
511         * LaTeX.C (runMessage): fix format
512         (scanAuxFiles): tostr -> convert
513
514         * BufferView_pimpl.C (savePosition): fix format
515         (restorePosition): ditto
516         (dispatch): ditto
517
518 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
519
520         * Spacing.[Ch]: New method getValueAsString().
521
522         * Spacing.[Ch]:
523         * bufferparams.C:
524         * ParagraphParameters.C:
525         * lyxlayout.C:
526         * text.C:
527         * text3.C: store/read spacing value as string.
528
529         * rowpainter.C: change float value (spacing_val) to double.
530
531         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
532         broken custom document spacing).
533
534 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
535
536         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
537         namespace, also more use of temp references and const
538
539         * cursor.[Ch] (getStatus): move to lyxfunc.C
540
541         * bufferparams.C: reformat slightly
542
543         * bufferview_funcs.C (font2string): constify arg
544
545         * changes.C:
546         * converter.C:
547         * counters.C:
548         * bufferlist.C:
549         * buffer_funcs.C: (many funcs): constify arg on function
550         definitions, also make more local vars const, also add ASSERTS on
551         pointer args.
552
553         * buffer.C (LYX_FORMAT): put const in correct place
554         (many funcs): constify arg on function definitions, also make
555         more local vars const
556
557         * aspell_local.h: remove "struct" from typdef setup
558
559         * aspell.C (check): make word_ok const
560         (nextMiss): simplify slightly
561         (error): ditto
562
563 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
564
565         * lyxrc.[Ch]: store all float values as strings.
566         use int (not float) for lyxrc.dpi.
567
568 2005-01-04  Angus Leeming  <leeming@lyx.org>
569
570         * lyx_cb.C (Reconfigure):
571         * lyx_main.C (queryUserLyXDir):
572         to run the <system_lyxdir>/configure correctly on Windows, prefix
573         the path to the script with "sh " when generating the string that
574         is passed to system().
575
576 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
577
578         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
579
580 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
581
582         * lyxlength.C (asLatexString): get rid of setprecision
583
584 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         * text2.C (setLayout): remove unused variable endpit.
587         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
588
589         * paragraph.C (onlyText): remove unused variable style.
590
591         * cursor.C (bruteFind): remove unused variables beg and end.
592
593         * Makefile.am (dist_noinset_DATA): not needed anymore
594
595         * cheaders/*: remove.
596
597 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
598
599         * text3.C: fix LFUN_MATH_MODE.
600
601 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * buffer_funcs.C (countWords): new function. Counts words between
604         two iterators.
605
606         * BufferView_pimpl.C (getStatus, dispatch): handle
607         LFUN_WORDS_COUNT.
608
609         * LyXAction.C (init):
610         * lfuns.h: add LFUN_WORDS_COUNT.
611
612 2004-12-19  Angus Leeming  <leeming@lyx.org>
613
614         * buffer.C (save): s/slashify_path/internal_path/.
615
616 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
617
618         * lyxfind.C (findChange): do not search for end of pars, because
619         the change tracker cannot handle this (fixes bug 1719).
620
621 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
622
623         * paragraph.[Ch] (autoBreakRows): remove
624
625         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
626
627         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
628         avoid using the paragraph one
629
630         * text2.C (LyXText, insertStringAsLines): adjust
631
632 2004-12-16  Angus Leeming  <leeming@lyx.org>
633
634         * bufferlist.C:
635         * lyx_main.C:
636         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
637
638 2004-12-14  Angus Leeming  <leeming@lyx.org>
639
640         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
641
642         * bufferlist.C (emergencyWrite):
643         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
644         GetEnvPath("HOME").
645
646 2004-12-14  Angus Leeming  <leeming@lyx.org>
647
648         * main.C: (main): no longer pass pointers to os::init.
649
650 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
651
652         * undo.C (textUndoOrRedo): simplify logic, fix a crash
653         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
654
655 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
656
657         * lyxfunc.C:
658         * text3.C: remove selection_possible global flag
659
660 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
661
662         * text2.C (getSelectionSpan): remove
663         (changeDepth, changeDepthAllowed): adjust
664
665 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
666
667         * Makefile.am (BOOST_LIBS): use boost variables
668
669 2004-12-03  José Matos  <jamatos@lyx.org>
670
671         * buffer.C: format up to 238.
672
673 2004-12-03  José Matos  <jamatos@lyx.org>
674
675         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
676
677 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
678
679         * cursor.C (goUpDown): remove call to idxUpDown2
680
681 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
682
683         * tabular.[Ch]: use size_t-like types for cell, row and column
684         indices
685
686 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * lyxfunc.C (getStatus): do not lose previous information when
689         calling BufferView::getStatus; do not set a default "Command
690         disabled" message at the beginning, but just before returning.
691
692 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * cursor.h (getStatus): add better comment from src/cursor.C
695
696 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * text3.C (getStatus): return false when the lfun is not handled
699
700 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * broken_headers.h: remove
703
704         * Makefile.am (lyx_SOURCES): remove broken_headers.h
705
706 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
707
708         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
709         offset_ref accessors
710
711         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
712         top_y_, merge fitcursor with update
713         (updateScrollbar, scrollDocView, fitCursor, center, update): new
714         coord scheme
715         (metrics): introduce
716         (workAreaDispatch): adapt to new coord scheme
717         (redoCurrentBuffer): remove
718
719         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
720
721         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
722         CurStatus enum.
723
724         * coordcache.[Ch]: add paragraph cache and helpers
725
726         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
727         adjust everywhere
728
729         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
730         (targetX, setTargetX): introduce
731
732         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
733         baseline -> ascent, as the rest of lyx
734
735         * lyxtext.h: remove redoParagraphs, updateParPositions,
736         fullRebreak, redoParagraphInternal. move dist to anon namespace in
737         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
738         have ascent/descent (ascent is ascent of first par)
739
740         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
741         step of BufferView
742
743         * paragraph.[Ch]: unify dimension handling with the rest of lyx
744
745         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
746
747         * pariterator.C: fix infinite loop introduced in par->pit renaming
748
749         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
750         in insets and LyXText, draw two off-screen paragraphs using
751         NullPainter, and adapt to new coord scheme
752
753         * text.C:
754         * text2.C:
755         * text3.C: adapt lfun handlers to the new coord scheme, which
756         means: there's only guaranteed coord information for onscreen pars
757         plus one above and one below. This implies that one can do search
758         from y coordinates in the range [-1,workHeight]
759
760 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
761
762         * rename a lot of InsetOld to InsetBase
763
764 2004-11-25  Angus Leeming  <leeming@lyx.org>
765
766         * BufferView_pimpl.C:
767         * lyx_cb.C:
768         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
769
770 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
773         call BufferView::getStatus if LCursor::getStatus did nothing
774         (setStatusMessage, getStatusMessage): removed.
775
776         * FuncStatus.C (message): new methods. Used to provide an error
777         message indicating why a command is disabled.
778         (clear, |=, FuncStatus): update for message.
779
780 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
781
782         * lyxfunc.C (dispatch): always call sendDispatchMessage
783
784 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
785
786         * BufferView.C:
787         * BufferView_pimpl.C:
788         * CutAndPaste.C:
789         * FontIterator.C:
790         * buffer.C:
791         * cursor.C:
792         * cursor_slice.[Ch]:
793         * dociterator.[Ch]:
794         * lyxfind.C:
795         * paragraph_funcs.C:
796         * pariterator.C:
797         * rowpainter.C:
798         * text.C:
799         * text2.C:
800         * text3.C:
801         * undo.C: par->pit renaming
802
803 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
804
805         * tabular.C (cellstruct): use initialization, store a shared_ptr
806         to insettext instead of the insettext directly, adjust to fit.
807         (operator=):  new function
808         (swap): new function
809         (rowstruct): use initialization
810         (columnstruct): use initialization
811         (ltType): use initialization
812
813
814         * lyxlength.h (swap): new function
815
816         * LColor.[Ch] (operator=): use the common semantics
817
818 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * lyxfind.C (findNextChange): update the bufferview after setting
821         the selection.
822
823 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
824
825         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
826         number of InsetOptArgs has already been inserted.
827
828         * output_latex.C (latexOptArgInsets): new method. This outputs all
829         the optarg insets, up to the limit defined in the layout file.
830         (optArgInset): removed
831         (TeXOnePar): call latexOptArgInsets; correctly update texrow
832
833 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * paragraph.C (isLetter): remove special spellchecker-related
836         code; return true also for digits
837         (isWord, isKomma): remove
838
839         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
840         * lyxfind.C (MatchString()): use isLetter instead of isWord
841
842 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
843
844         * pariterator.h (operatir=): comment out un-implemented member
845         function.
846
847         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
848         static cast.
849
850 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
851
852         * lyxfont.h: include LColor.h to satisfy concept checks.
853
854 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
855
856         * pariterator.h: add typdefs for value_type, difference_type,
857         pointer and reference to satisfy concept checks. Also add default
858         constructor for same reason.
859
860         * pariterator.C (operator++): add post-increment operator to
861         satisfy concept checks.
862
863         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
864         checks.
865
866         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
867
868         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
869         checks. Also rename base_type to BaseType to follow naming
870         standard better.
871
872         * FloatList.h: include Floating.h to satisfy concept checks.
873
874 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         * lyxfunc.C (getStatus): when the origin of the request is menu or
877         toolbar, and the LyXView does not have focus, do as if there was
878         no buffer (bug 1720)
879
880         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
881         FuncRequest to individual entries of LFUN_SEQUENCE
882
883 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
884
885         * output_latex.C (TeXOnePar): override runparams.moving_arg
886         according to the needprotect value of the current paragraph (bug
887         1739)
888
889         * paragraph.C (simpleTeXOnePar): no need to override
890         runparams.moving_args here
891
892 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
893
894         * vspace.C: fix off-by-one-error, related to fix #1682
895
896 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
897
898         * lengthcommon.C: a more general fix for bug 1682
899
900 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
901
902         * text.C (backspace): fix crash
903
904 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * format.[Ch] (getFormatFromFile): new method
907         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
908
909 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
912
913 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * lyxfunc.C (dispatch): remove the verbose argument
916         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
917         instead
918
919         * kbmap.C (defkey): set the origin of func to KEYBOARD
920
921         * MenuBackend.C (MenuItem):
922         * ToolbarBackend.C (add): set the origin of func to UI
923
924         * funcrequest.[Ch]: add origin member, which indicates which part
925         of LyX requests an action
926
927 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
928
929         * converter.C (move): don't lie in the error message
930         * converter.h (isReachable, move): document
931
932 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
933
934         * buffer.C: remove unused using lyx::support::atoi
935         * paragraph_funcs.C: ditto
936
937 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
938
939         * bufferlist.C (exists): use bind and equal_to instead of
940         compare_memfun
941         (getBuffer): ditto
942         * lyxtextclasslist.C (NumberOfClass): ditto
943
944         * cursor.C (insert): use for_each instead of explicit for loop
945
946         * bufferlist.C (getFileNames): use std::transform and
947         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
948
949         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
950         for loop
951
952         * buffer.C (changeLanguage): use for_each instead of explicit for
953         loop
954         (hasParWithID): implement using getParFromID
955
956         * LaTeXFeatures.C: ws change only
957
958         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
959         to cleanup a bit.
960
961         * BufferView_pimpl.C (trackChanges): use for_each instead of
962         expilicit for loop
963
964 2004-11-04  André Pönitz  <poenitz@gmx.net>
965
966         * undo.h:
967         * undo.C (textUndoOrRedo): fix crash when creating undo information.
968
969         * dociterator.C (asDocIterator): use hard assert again.
970
971 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * lyxlength.C (asLatexString): rewrite so that it does not use
974         snprintf anymore
975
976 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * text3.C (specialChar, dispatch): make sure cursor moves to the
979         right after inserting an inset
980
981 2004-11-02  José Matos  <jamatos@lyx.org>
982
983         * output_docbook.C (docbook):
984         * paragraph.C (getID):
985         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
986         garantee that the output is always legal.
987
988         * tabular.C (docbook):
989         * outputprams.[Ch]: remove mixed contents.
990
991 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
992
993         * text2.C (setCounter): prevent endless loop
994
995 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
996
997         * exporter.C (copyFile): use the mover instead of support::copy()
998         * exporter.C (Export): pass format and latex name to copyFile()
999         * exporter.h (addExternalFile): document
1000         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1001
1002 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1003
1004         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1005
1006 2004-10-30  José Matos  <jamatos@lyx.org>
1007
1008         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1009         text and no inset or font change. This allows to use CDATA
1010         sections just for the whole paragraph.
1011
1012 2004-10-30  José Matos  <jamatos@lyx.org>
1013
1014         * paragraph.C (getFirstWord): remove unused variable.
1015
1016 2004-10-30  José Matos  <jamatos@lyx.org>
1017
1018         * paragraph.C (getFirstWord): the content should always be escaped
1019         there.
1020         (simpleDocBookOnePar):
1021         * output_docbook.C (makeEnvironment): replace reference to CDATA
1022         to style pass_thru.
1023
1024 2004-10-30  José Matos  <jamatos@lyx.org>
1025
1026         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1027
1028 2004-10-30  José Matos  <jamatos@lyx.org>
1029
1030         * output_docbook.C (makeParagraphs):
1031         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1032         standard paragraph has only a given type of content drop the wrapper.
1033
1034 2004-10-29  José Matos  <jamatos@lyx.org>
1035
1036         * output_docbook.C (makeEnvironment):
1037         * sgml.C (openTag):
1038         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1039
1040 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1041
1042         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1043         (cleanID): sanitize any id.
1044
1045 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1046
1047         * buffer.C, lyxlex_pimpl.C:
1048         * lyxlex_pimpl.C (setFile):
1049         s/getExtFromContents/getFormatFromContents/
1050
1051 2004-10-28  José Matos  <jamatos@lyx.org>
1052
1053         * output_docbook.C (makeEnvironment): move id to broadest possible
1054         scope.
1055
1056         * sgml.C (openTag): apply substitution of <> for all attributes.
1057
1058 2004-10-28  José Matos  <jamatos@lyx.org>
1059
1060         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1061         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1062         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1063
1064         * sgml.[Ch]: new version for open and closeTag for paragraph and
1065         for strings. Now they handle the ids of paragraphs.
1066
1067 2004-10-26  Angus Leeming  <leeming@lyx.org>
1068
1069         * Makefile.am: add mover.[Ch].
1070
1071         * converter.C (convert, move): use the new Movers to move external
1072         files to the temp directory.
1073
1074         * lyx_main.C (init): ensure that the global system_movers data
1075         is initialised.
1076
1077         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1078         preferences file.
1079
1080         * mover.[Ch]: new files, defining a Mover as a utility to move an
1081         external file between directories and, if necessary, manipulate this
1082         file using a helper script.
1083
1084 2004-10-25  José Matos  <jamatos@lyx.org>
1085
1086         * output_docbook.C (makeCommand): merge two if's that tested the
1087         same condition.
1088
1089 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1090
1091         * sgml.C (escapeString): fix warning in a better way
1092
1093 2004-10-25  José Matos  <jamatos@lyx.org>
1094
1095         * sgml.C (escapeString): import the require boosts header file for
1096         tie, and avoid a signed unsigned comparison.
1097
1098 2004-10-25  José Matos  <jamatos@lyx.org>
1099
1100         * sgml.h: add #include <string>
1101
1102 2004-10-25  José Matos  <jamatos@lyx.org>
1103
1104         * sgml.[Ch] (escapeString): new function to escape all the string.
1105
1106 2004-10-24  José Matos  <jamatos@lyx.org>
1107
1108         * paragraph.[Ch] (getFirstWord): new function to get the first
1109         word. Useful for description.
1110         (simpleDocBookOnePar): remove depth argument, add another that
1111         says where to start the paragraph.
1112
1113         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1114         use the new functions to fix cleanly the support for descriptions.
1115
1116 2004-10-24  José Matos  <jamatos@lyx.org>
1117
1118         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1119         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1120         * output_linuxdoc.C (linuxdocParagraphs):
1121         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1122         add buffer as argument.
1123
1124 2004-10-24  José Matos  <jamatos@lyx.org>
1125
1126         * output_docbook.C (makeEnvironment, searchEnvironment): place
1127         CDATA inside paragraphs and fix scope for listitems.
1128
1129 2004-10-24  José Matos  <jamatos@lyx.org>
1130
1131         * output_docbook.C: remove using statement for stack.
1132
1133 2004-10-23  José Matos  <jamatos@lyx.org>
1134
1135         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1136         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1137         docbook. The new scheme is recursive and makes use of iterators, the
1138         same as latex export works.
1139         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1140         directly with the paragraph contents. This code was moved up to
1141         output_docbook.C (docbookParagraphs).
1142         * sgml.C (openTag, closeTag): removed unneeded newlines.
1143         (closeEnvTags) removed.
1144
1145 2004-10-23  André Pönitz  <poenitz@gmx.net>
1146
1147         * undo.C (textUndoOrRedo):
1148         * dociterator.C (asDocIterator): work around crash
1149
1150         * cursor.C (getStatus): replace ASSERT by more verbose error message
1151           and manual correction of the problem. Should increase stability
1152           while providing more sensible information.
1153
1154 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1155
1156         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1157
1158         * bufferlist.C (previous, next): new methods
1159
1160         * lfuns.h:
1161         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1162
1163 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1164
1165         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1166         entities to preamble.
1167
1168 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1169
1170         * messages.C (Pimpl): strip off translation context information
1171
1172 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1173
1174         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1175         the cursor is correct (bug 1694)
1176
1177 2004-10-13  José Matos  <jamatos@lyx.org>
1178
1179         * output_docbook.C (docbookParagraphs): fix closing tags in the
1180         end of the document.
1181
1182 2004-10-09  José Matos  <jamatos@lyx.org>
1183
1184         * buffer.C: format up to 237.
1185         * bufferparams.C (write): use tostr to convert booleans to strings.
1186
1187 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1188
1189         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1190
1191 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1192
1193         * LaTeX.C: implement use of babel language in xindy.
1194
1195 2004-10-05  José Matos  <jamatos@lyx.org>
1196
1197         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1198         Add new translators to help reading and writing the lyx file.
1199
1200 2004-10-05  José Matos  <jamatos@lyx.org>
1201
1202         * ParagraphParameters.C (read):
1203         * text.C (readParToken): replace nexToken by more appropriate lex
1204         methods.
1205
1206 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1207
1208         * LaTeX.C (runMakeIndex):
1209         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1210         (usually 'makeindex') configurable.
1211
1212         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1213         with a variable rather than with a number.
1214
1215 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1216
1217         * output_latex.C (TeXOnePar): make sure font setting is the first
1218         thing that gets output (and the last at the end). Should fix bug
1219         1404.
1220
1221 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1222
1223         * pch.h: use proper signal include
1224
1225         * LaTeX.h: Use preferred calling of Boost.Signal
1226         * buffer.h: ditto
1227
1228 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1229
1230         * pch.h: dont include <boost/function/function0.hpp>
1231
1232         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1233
1234         * paragraph_pimpl.h: remove usage of ShareContainer
1235
1236         * paragraph_pimpl.C: remove initialization of ShareContainer.
1237
1238 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         Fix bug #1666
1241
1242         * BufferView.C (putSelectionAt): change the semantics when
1243         backwards == true: now, this just swaps cursor and anchor wrt the
1244         forward case
1245
1246         * BufferView.h (putSelectionAt): add some documentation
1247
1248         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1249         make sure backwardChar is done at least once (to avoid getting
1250         stuck)
1251         (findNextChange): use putSelectionAt in the forward direction
1252         (operator()): use Paragraph::isWord
1253
1254 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1255
1256         * Spacing.C (set): c_str fix
1257
1258 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1259
1260         * lyx_cb.C (Reconfigure): quote the name of configure script in
1261         case it contains spaces
1262
1263 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1264
1265         * client: new dir
1266
1267         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1268         (BOOST_LIBS): use top_buildir when looking for the file
1269
1270 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1271
1272         * pch.h: do not use include boost/format.hpp, multiple symbols
1273                 will result (gcc bug)
1274
1275
1276 2004-08-23  José Matos  <jamatos@lyx.org>
1277
1278         * bufferparams.C (readToken): fix reading of the author field.
1279
1280 2004-08-20  José Matos  <jamatos@lyx.org>
1281
1282         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1283
1284 2004-08-20  José Matos  <jamatos@lyx.org>
1285
1286         * lyxlex.[Ch] (findToken): remove function.
1287
1288         * ParagraphParameters.C (findToken):
1289         * bufferparams.C (findToken): replace call for previous function
1290         with local copy. This local function has one more argument, the
1291         read string argument.
1292
1293 2004-08-16  José Matos  <jamatos@lyx.org>
1294
1295         * ParagraphParameters.C (write):
1296         * Spacing.C (writeFile):
1297         * bufferparams.C (writeLaTeX):
1298         * lyx_cb.C (Reconfigure):
1299         * paragraph.C (write):
1300         * tabular.C (write): remove unnecessary space at end of line.
1301
1302
1303 2004-08-16  José Matos  <jamatos@lyx.org>
1304
1305         * text.C (readParagraph): remove debug message.
1306
1307 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1308
1309         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1310         crash
1311
1312         * output_plaintext.C (asciiParagraph): set depth correctly
1313
1314         * outputparams.h: add member depth
1315
1316         * paragraph_funcs.C (ownerPar): remove.
1317
1318         * text2.C (setCounter): remove first_pit; comment out some
1319         non-working code that uses ownerPar
1320
1321         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1322         uses ownerPar
1323
1324 2004-08-16  José Matos  <jamatos@lyx.org>
1325
1326         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1327         For the same level of importance use the same chanel to report problems.
1328         (read): add code to deal with \begin_body and \end_body.
1329
1330
1331 2004-08-15  José Matos  <jamatos@lyx.org>
1332
1333         * lyxlex.C (getString): fix comment, buffer::readBody is now
1334         buffer:readDocument.
1335
1336         * tex-strings.C (string_papersize): Default -> default,
1337         Custom -> custom, for consistency with other options.
1338
1339 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1340
1341         * pch.h: new file
1342
1343         * Makefile.am: support pch
1344
1345 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * text.C (readParToken): remove the static LyXFont variable and
1348         pass it as a parameter instead. This fixes a nasty bug where an
1349         inset will be inserted with a bad font in some situations
1350         (readParagraph): adapt
1351
1352         * text2.C (setCounter): reduce number of calls to pars_[pit]
1353
1354         * text.C (singleWidth): add an assert, fix a test
1355
1356         * rowpainter.C (paintText): reduce number of calls to singleWidth
1357
1358         * paragraph.C (isHfill):
1359         (isNewline): ws only
1360
1361 2004-08-14  André Pönitz  <poenitz@gmx.net>
1362
1363         * text.C:
1364         * text2.C:
1365         * rowpainter.C:
1366         * lyxtext.h (several functions): use a Paragraph & argument
1367         instead of par_type
1368
1369 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1370
1371         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1372
1373         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1374
1375         * text.C (singleWidth): remove useless test
1376
1377 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1378
1379         * tabular.h: remove bogus comments
1380
1381         * tabular.C (getDescentOfRow):
1382         (isPartOfMultiColumn): add assertions
1383
1384         * lyxlength.C (inPixels): remove #warning
1385
1386 2004-08-14  André Pönitz  <poenitz@gmx.net>
1387
1388         * paragraph.h: inline getChar()
1389
1390         * BufferView.h: remove unused declarations
1391
1392 2004-08-14  José Matos  <jamatos@lyx.org>
1393
1394         * Buffer.[Ch] (readDocument): new name for old readBody.
1395         * Buffer.C: new file format, new keywords: \begin_document,
1396         \begin_header, \begin_body, \end_body.
1397
1398         * bufferparams.C (readToken): replace all calls to lex.nextToken
1399         by lex.next(). Do the same to eatLine except where really needed.
1400
1401         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1402         line when writing to the lyx file.
1403
1404         * output_plaintext.C (asciiParagraph): fix Bibliography style
1405         handling.
1406
1407         * text.C (read): fix end of file handling.
1408
1409 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * MenuBackend.C (Menu::operator[]): new method to access
1412         individual menu items
1413         (Menu::hasFunc): new method. search for an item that corresponds
1414         to a given func
1415         (MenuBackend::specialMenu): new method
1416         (MenuBackend::expand): if a special menu has been set, skip
1417         entries whose func() appears in this menu
1418
1419 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1420
1421         * text3.C: use Debug::DEBUG a bit more
1422
1423         * text.C (leftMargin): try to simplify a tiny bit change var x to
1424         l_margin. Dont output the wide margins always.
1425         (rightMargin): no margin in inner texts
1426
1427         * rowpainter.h (nestMargin): new func
1428         (changebarMargin): new func
1429         (rightMargin): new func
1430
1431         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1432         now functions.
1433         (paintLast): ditto
1434
1435         * factory.C (createInset): modify setDrawFrame
1436
1437         * cursor.C: use Debug::DEBUG a bit more
1438
1439 2004-08-14  André Pönitz  <poenitz@gmx.net>
1440
1441         * coordcache.[Ch]:
1442         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1443         cache for all insets in (at least partially) visible (top-level)
1444         paragraphs.
1445
1446         * BufferView_pimpl.C: reset external coord cache before every update.
1447         This means the coord cache only contains valid entries.
1448
1449 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1450
1451         bug 1096
1452         * BufferView_pimpl.C (getInsetByCode): move function out of class
1453         and change in to a template in anon namespace. Also fix to do what
1454         suits us better.
1455
1456 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1457
1458         bug 1305
1459         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1460         of char
1461         (breakParagraph): rename par to par_offset and use a local
1462         reference. Add code to keep the language over a rebreak.
1463         (breakParagraphConservative): rename par to par_offset, use a
1464         local reference
1465         (mergeParagraph): ditto
1466         (outerHook): ditto
1467         (isFirstInSequence): ditto
1468         (outerFont): rename pit to par_offset
1469
1470         * paragraph.C: ws change
1471         * paragraph.h: ditto
1472         * text3.C: ditto
1473         * text.C: ditto
1474
1475 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1478         treatment for ']'
1479
1480         * paragraph.C (simpleTeXOnePar): when we have a \item with
1481         optional argument, enclose the argument with curly brackets (in
1482         case it contains a closing square bracket)
1483
1484         * text2.C (editXY):
1485         * text2.C (editXY):
1486         * text3.C (checkInsetHit): constify
1487
1488 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1491         documents (bug 1629)
1492
1493 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1494
1495         Fix toggling of collapsable insets with the mouse (bug 1558)
1496
1497         * lyxfunc.C (dispatch): adapt to LCursor changes
1498
1499         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1500         make sure that dispatch is not invoked twice
1501
1502         * cursor.C (needsUpdate): new method
1503         (dispatch): return void
1504         (result): new method, to access the DispatchResult of the cursor.
1505
1506 2004-08-13  José Matos  <jamatos@lyx.org>
1507
1508         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1509
1510 2004-08-13  André Pönitz  <poenitz@gmx.net>
1511
1512         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1513
1514         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1515           multiple cells
1516
1517 2004-08-12  André Pönitz  <poenitz@gmx.net>
1518
1519         * text3.C: take out the 'cursor right' form insertInset and only
1520         do it in those places when it is really needed. Fixes crash on
1521         C-m...
1522
1523 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1524
1525         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1526
1527         * BufferView_pimpl.C (setBuffer): initialize the current font of
1528         the underlying LyXText
1529
1530 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * kbsequence.C (print): use UI native formatting for menu
1533         shortcuts
1534
1535         * text.C (insertChar): call Paragraph::insertChar with a font
1536         argument (cosmetic)
1537
1538         * paragraph.C (insertInset, insertChar): the version that takes a
1539         LyXFont argument is now a wrapper around the other one (the
1540         opposite used to be true).
1541
1542         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1543         argument. Font setting is done in Paragraph now.
1544
1545 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546
1547         * outputparams.h: add new members intitle and lang.
1548
1549         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1550         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1551
1552 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1553
1554         * text3.C (dispatch): remove special handling of button 4 and 5,
1555         it is now taken care of in the frontend code.
1556
1557 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1558
1559         * Spacing.h: add <string> (STLPort compile fix)
1560
1561 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1562
1563         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1564
1565 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1566
1567         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1568         to bool.
1569
1570         * converter.C (showMessage): inherit from unary_function, make
1571         operator() const.
1572
1573         * buffer.C (writeFile): initialize retval
1574
1575         * InsetList.h: rename private variable list to list_
1576         * InsetList.[Ch]: adjust accordingly.
1577
1578 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1579
1580         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1581         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1582         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1583         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1584         * ParagraphParameters.C, LaTeXFeatures.C: replace
1585         "support/std_sstream.h" with <sstream>
1586
1587 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1588
1589         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1590         * lyxsocket.C (LyXServerSocket): ditto
1591         (serverCallback): ditto
1592
1593 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1594
1595         * LaTeXFeatures.C: check release date when loading jurabib.
1596
1597 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1598
1599         * lyxserver.C (startPipe): call register_socket_callback
1600         (endPipe): call unregister_socket_callback
1601
1602 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1603
1604         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1605         (LyXServerSocket): register the callback
1606         (LyXServerSocket): unregister the callback
1607         (fd): delete function
1608         (serverCallback): improve error checking and setup the callbacks.
1609         (dataCallback): change arg to fd.
1610         (writeln): new func (copied fro the client socket) used for server
1611         write to client.
1612         (LyXDataSocket): simplify
1613         (~LyXDataSocket): close ann unregiser callback
1614         (server): delete function
1615         (fd): delete function
1616         (readln): small changes, improve some std::string usage
1617         (writeln): constify a bit
1618
1619 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1622         Qt frontend
1623
1624 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1627         after it has been populated
1628
1629 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1630
1631         * text2.C (insertInset): move cursor when inserting inset.
1632
1633 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1634
1635         * kbmap.C (findbindings): a couple of new methods. returns a
1636         container of kb_sequence objects. The real work is done by the
1637         private recursive version
1638         (printbindings): uses findbindings to print out a bracketed list
1639         of bindings (renamed from findbinding).
1640
1641         * MenuBackend.C (binding): use kb_keymap::findbindings
1642
1643         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1644
1645 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1646
1647         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1648
1649 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1650
1651         * paragraph.C (isWord): return true on insets that report
1652         isLetter().
1653
1654         * text.C (getWord): use Paragraph::isWord to decide what is in a
1655         word and what is not; fix bug 1609.
1656
1657 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1658
1659         * tex-strings.C: add "none" to string_paperpackages[], fixes
1660         off-by-one-error in the paperpackage selection.
1661
1662         * lyxlex.[Ch]:
1663         * tex-strings.[Ch]: char const * string[n]
1664         -> char const * const string[]
1665
1666 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1669         command, return early.
1670
1671 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1672
1673         * debug.h: add DEBUG to enum and fix size of ANY.
1674
1675         * debug.C: add support for Debug::DEBUG
1676         (showTags): cast errorTags.level to unsigned int
1677
1678         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1679         (redoCurrentBuffer): ditto
1680         (updateScrollbar): ditto
1681         * cursor.C (dispatch): ditto
1682         * text2.C (setLayout): ditto
1683         (setFont): ditto
1684         (updateCounters): ditto
1685         (editXY): ditto
1686         (deleteEmptyParagraphMechanism): ditto
1687
1688 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1689
1690         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1691         annotations to cleanup the Makefile slightly.
1692
1693 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * lyxrc.C: do not set user_email to a default value but use empty
1696         instead. The entry used to be translated, which does not work
1697         since at the point where lyxrc is constructed there is no
1698         translation service available
1699
1700         * messages.C (getLocaleDir): remove and use directly
1701         lyx_localedir() instead
1702
1703 2004-06-02  Angus Leeming  <leeming@lyx.org>
1704
1705         Fix crash caused by dereferencing null pointer 'exportdata' in
1706         OutputParams by creating a new ExportData variable on the heap,
1707         storing it in a boost::shared_ptr.
1708         The crash was triggered when generating an Instant Preview
1709         of an external inset.
1710
1711         * Makefile.am: add outputparams.C
1712
1713         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1714         (c-tor): allocate memory to it.
1715
1716         * exporter.C (c-tor): associated changes.
1717
1718 2004-06-01  Angus Leeming  <leeming@lyx.org>
1719
1720         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1721         contains data before calling isInset(0). (Bug 1513.)
1722
1723 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1724
1725         * exporter.C (checkOverwrite): new method
1726         * exporter.C (copyFile): new method
1727         * exporter.C (Export): copy referenced files to the document dir
1728         * exporter.[Ch]: new class ExportedFile
1729         * exporter.[Ch]: new class ExportData. Contains currently the
1730         names of referenced external files
1731         * outputparams.h: add exportdata member.
1732
1733 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1734
1735         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1736         version.C-tmp
1737
1738 2004-05-19  Angus Leeming  <leeming@lyx.org>
1739
1740         * LaTeXFeatures.C:
1741         * ToolbarBackend.C:
1742         * bufferparams.C:
1743         * lyxfunc.C: small changes due to the introduction of namespace
1744         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1745
1746 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * text3.C (dispatch): supress update when only moving the cursor
1749         * cursor.C (selHandle): remove commented code
1750
1751 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1752
1753         * paragraph.C (startTeXParParams): correct column count
1754         * CutAndPaste.C (pasteSelection): remove const_cast
1755         * output_docbook.C (docbookParagraphs): remove const_cast
1756         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1757         const_cast and return ParagraphList::const_iterator
1758         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1759         * output_plaintext.C (writeFileAscii): remove const_cast
1760         * paragraph.[Ch] (simpleTeXOnePar): make const
1761         * paragraph_funcs.C (outerPar): use const iterators
1762         * paragraph_pimpl.C (validate): use const iterators
1763         * text.C (setHeightOfRow): use const iterators
1764
1765 2004-05-17  Angus Leeming  <leeming@lyx.org>
1766
1767         * lfuns.h:
1768         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1769
1770         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1771         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1772         if the citation engine has changed.
1773
1774 2004-05-14  José Matos  <jamatos@lyx.org>
1775
1776         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1777         if the textclass does not provide it. Have it different for sgml and
1778         xml.
1779         support the language of document.
1780         * output_docbook.C (docbookParagraphs):
1781         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1782         first anchor as the id of the paragraph, remove special case code.
1783         * sgml.C (escapeChar): escape only < & >.
1784
1785 2004-05-14  Angus Leeming  <leeming@lyx.org>
1786
1787         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1788         dependencies on src/frontends/controllers/biblio.h. Define a
1789         CiteEngine_enum wrapper class to enable the enum to be forward
1790         declared.
1791
1792 2004-05-12  Angus Leeming  <leeming@lyx.org>
1793
1794         * buffer.C: up LYX_FORMAT to 234.
1795         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1796         use_numerical_citations with a single biblio::CiteEngine cite_engine
1797         variable.
1798         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1799
1800 2004-05-13  José Matos  <jamatos@lyx.org>
1801
1802         * converter.h:
1803         * converter.C (Converter, readFlags): add xml member.
1804         * outputparams.h: add XML flavor.
1805         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1806
1807 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * lyxfunc.C (dispatch):
1810         (getStatus): fix handling of LFUN_SEQUENCE
1811
1812 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * debug.C (showLevel): do not forget the end-of-line marker
1815
1816 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1817
1818         * kbmap.C (read): do not stop parsing a bind file when an error
1819         occurs (bug 1575)
1820
1821 2004-04-29  Angus Leeming  <leeming@lyx.org>
1822
1823         * cursor.C:
1824         * factory.C:
1825         * pariterator.C:
1826         * text2.C: wrap a bunch of #warning statements
1827         inside #ifdef WITH_WARNINGS blocks.
1828
1829 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1830
1831         * buffer.C: increment format to 233.
1832
1833 2004-04-28  Angus Leeming  <leeming@lyx.org>
1834
1835         * BufferView_pimpl.C:
1836         * lyxfunc.C:
1837         * text3.C:
1838         s/updateToolbar()/updateToolbars()/
1839         s/Toolbar.h/Toolbars.h/
1840
1841 2004-04-28  Angus Leeming  <leeming@lyx.org>
1842
1843         * BufferView.[Ch] (c-tor):
1844         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1845         No longer passes these data to the WorkArea generator.
1846
1847 2004-04-28  Angus Leeming  <leeming@lyx.org>
1848
1849         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1850
1851 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1852
1853         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1854
1855 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1856
1857         * output_latex.C (TeXEnvironment): make sure that there is a line
1858         break before \end{foo} for the last paragraph of a document
1859         (TeXOnePar): if the paragraph is at the end of the document (or
1860         inset) and the language has to be reset, then make sure that the
1861         line break is _before_ the language command, not after (fixes bug
1862         1225); also make sure that the language reset command is the first
1863         thing after the paragraph (to ensure proper nesting of
1864         environments and thus fix bug 1404)
1865
1866 2004-04-21  John Levon  <levon@movementarian.org>
1867
1868         * ToolbarBackend.h:
1869         * ToolbarBackend.C: make "name" be a programmatic name
1870         and a gui_name field.
1871
1872         * lyxfunc.C: display the minibuffer on M-x
1873
1874 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1875
1876         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1877         (bug 1526)
1878
1879 2004-04-19  Angus Leeming  <leeming@lyx.org>
1880
1881         * BufferView_pimpl.C (setBuffer): changed preview interface.
1882
1883         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1884         possible values.
1885
1886 2004-04-19  John Levon  <levon@movementarian.org>
1887
1888         * BufferView_pimpl.C:
1889         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1890
1891 2004-04-05  Angus Leeming  <leeming@lyx.org>
1892
1893         * text.C (redoParagraphs): add call to updateCounters(), thereby
1894         fixing the missing "Figure #:" label from the caption of a
1895         figure float.
1896
1897 2004-04-13  Angus Leeming  <leeming@lyx.org>
1898
1899         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1900         cursor is clicked out of an inset.
1901
1902 2004-04-13  Angus Leeming  <leeming@lyx.org>
1903
1904         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1905         than an InsetOld one.
1906
1907 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1908
1909         * format.[Ch]: add editor to Format
1910         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1911         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1912
1913 2004-04-08  André Pönitz  <poenitz@gmx.net>
1914
1915         * metricsinfo.h: remove PainterInfo::width member
1916
1917 2004-04-08  Angus Leeming  <leeming@lyx.org>
1918
1919         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1920         "\providecommand" rather than "\newcommand", thereby preventing
1921         clashes with packages that define "\boldsymbol" themselves.
1922         Eg, beamer.
1923
1924 2004-04-08  Angus Leeming  <leeming@lyx.org>
1925
1926         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1927         thereby squashing an unnecessary warning.
1928
1929 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1930
1931         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1932         setBuffer()
1933
1934 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * BufferView.C (setCursor): call redoParagraph (some insets could
1937         have been opened)
1938         (putSelectionAt): remove the 'double update' trick
1939
1940         * BufferView_pimpl.C (fitCursor): call refreshPar
1941         (workAreaDispatch): remove an uneeded update call
1942         (dispatch): remove some manual update calls
1943
1944         * cursor.[Ch]: remove cached_y_, updatePos
1945         (selHandle): set noUpdate when appropriate
1946
1947         * lyxfunc.C (dispatch): track if we need an update
1948
1949         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1950
1951         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1952         (paintSelection): cheap optimization, do not call cursorX when not
1953         needed
1954         (paintPars): change signature
1955         (refreshPar): add
1956         (paintText): adjust
1957         (paintTextInset): adjust
1958
1959         * text.C: adjust
1960
1961 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1962
1963         * lengthcommon.C: compilation fix: remove explicit array size from
1964         unit_name[] and friends
1965
1966 2004-04-05  Angus Leeming  <leeming@lyx.org>
1967
1968         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1969
1970         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1971         present only for the preferences dialog.
1972         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1973
1974 2004-04-05  Angus Leeming  <leeming@lyx.org>
1975
1976         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1977         to enable the frontends to export changes to lyxrc correctly.
1978
1979         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1980
1981 2004-04-07  André Pönitz  <poenitz@gmx.net>
1982
1983         * cursor.[Ch] (selClear, adjust): remove math
1984
1985         * cursor_slice.C: more agressive assert
1986
1987         * lyxfunc.C:
1988         * BufferView_pimpl.C: rework mouse event dispatch
1989
1990         * dociterator.C:
1991         * paragraph.C:
1992         * text2.C:
1993         * text3.C: adjust
1994
1995 2004-04-05  André Pönitz  <poenitz@gmx.net>
1996
1997         * cursor.[Ch] (valign, halign...): remove unneeded functions
1998
1999 2004-04-05  Angus Leeming  <leeming@lyx.org>
2000
2001         * lyxlength.[Ch] (unit_name et al.): const-correct.
2002
2003 2004-04-05  Angus Leeming  <leeming@lyx.org>
2004
2005         * BufferView_pimpl.C:
2006         * buffer.C:
2007         * counters.C:
2008         * cursor.C:
2009         * lyxfunc.C
2010         * paragraph.C:
2011         * pariterator.C:
2012         * text.C:
2013         * text2.C:
2014         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2015
2016 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2017
2018         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2019
2020 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2021
2022         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2023         * BufferView_pimpl.[Ch] (getStatus)
2024         * BufferView.[Ch] (getStatus): add
2025         * lyxfunc.C (getStatus): move lfuns handled in
2026         BufferView::dispatch to te function above
2027         * Cursor.C (setSelection): set selection() = true
2028
2029 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2030
2031         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2032
2033 2004-03-31  Angus Leeming  <leeming@lyx.org>
2034
2035         * lyxfunc.C (dispatch): Fall through to the generic
2036         Dialogs::show("preamble").
2037
2038 2004-03-31  Angus Leeming  <leeming@lyx.org>
2039
2040         * lyxfunc.C (dispatch): Fall through to the generic
2041         Dialogs::show("spellchecker").
2042
2043 2004-03-31  Angus Leeming  <leeming@lyx.org>
2044
2045         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2046         preferences dialog.
2047
2048 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2049
2050         * BufferView.C
2051         * cursor.[Ch]
2052         * dociterator.[Ch]:
2053         * insetiterator.[Ch]:
2054         * lyxfind.C:
2055         * lyxfunc.C:
2056         * pariterator.[Ch]:
2057         * text2.C:
2058         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2059
2060 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2063         insets where we are putting the cursor.
2064
2065 2004-03-31  Angus Leeming  <leeming@lyx.org>
2066
2067         * lfuns.h:
2068         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2069
2070         * lyxrc.[Ch] (read, write): overloaded member functions taking
2071         a std::[io]stream arguments.
2072
2073         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2074
2075 2004-03-31  Angus Leeming  <leeming@lyx.org>
2076
2077         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2078         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2079
2080         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2081         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2082
2083 2004-03-31  Angus Leeming  <leeming@lyx.org>
2084
2085         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2086         the LFUN_ALL_INSETS_TOGGLE code.
2087
2088 2004-03-30  Angus Leeming  <leeming@lyx.org>
2089
2090         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2091         has died. Fall through to the generic Dialogs::show("document").
2092
2093 2004-03-30  Angus Leeming  <leeming@lyx.org>
2094
2095         * lfuns.h:
2096         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2097         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2098
2099         * lyxfunc.C (getStatus, dispatch): define the actions for these
2100         lfuns. Little more than a cut and pste job from ControlDocument.C
2101
2102         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2103
2104 2004-03-30  Angus Leeming  <leeming@lyx.org>
2105
2106         * lfuns.h:
2107         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2108         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2109
2110         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2111         open/closed state of ollapsable insets. Usage:
2112
2113         all-inset-toggle <state> <name>, where
2114         <state> == "open" || "closed" || "toggle" and
2115         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2116
2117         * lyxtext.h, text2.C (toggleInset): removed.
2118
2119         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2120         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2121         now passes LFUN_INSET_TOGGLE to the found inset.
2122
2123         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2124         is now invoked as "all-insets-toggle toggle branch".
2125
2126 2004-03-30  Angus Leeming  <leeming@lyx.org>
2127
2128         * dociterator.C:
2129         * insetiterator.C:
2130         * pariterator.[Ch]: added/corrected header blurb.
2131
2132 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2133
2134         * dociterator.[Ch]: add an inset_ member
2135         (backwardPos): implemented
2136         (backwardPos, forwardPos): use inset_ when the stack is empty.
2137         (doc_iterator_begin, doc_iterator_end): implemented
2138         * pariterator.[Ch]: adjust, add begin, end
2139         * insetiterator.[Ch]: adjust, add begin, end
2140         * cursor.C:
2141         * document.C:
2142         * BufferView.C:
2143         * BufferView_pimpl.C:
2144         * CutAndPaste.C: adjust
2145
2146 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2147
2148         * buffer.C: increment file format to 232.
2149         * LaTeXFeatures.C: add bibtopic package.
2150         * bufferparams.[Ch]: param \use_bibtopic.
2151
2152         * lyxrc.[Ch]: add lyxrc bibtex_command
2153         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2154
2155         * buffer.C: increment file format to 231.
2156
2157 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * dociterator.C: implement forwardPar
2160         * iterators.[Ch]: remove, replaced by
2161         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2162         * BufferView.C:
2163         * BufferView_pimpl.C:
2164         * CutAndPaste.C:
2165         * buffer.C:
2166         * bufferview_funcs.C:
2167         * cursor.C:
2168         * lyxfind.C
2169         * lyxfunc.C
2170         * paragraph_funcs.C
2171         * toc.C:
2172         * Makefile.am: adjust
2173
2174 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2175
2176         * CutAndPaste.C (pasteSelection): fix 2 crashes
2177         (eraseSelection): fix a crash
2178         * paragraph_funcs.C: remove a warning
2179
2180 2004-03-28  Angus Leeming  <leeming@lyx.org>
2181
2182         * lfuns.h:
2183         * LyXAction.C (init): new LFUN_PRINT.
2184
2185         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2186
2187 2004-03-27  Angus Leeming  <leeming@lyx.org>
2188
2189         * lfuns.h:
2190         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2191
2192         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2193
2194 2004-03-27  Angus Leeming  <leeming@lyx.org>
2195
2196         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2197         insetlist always contains non-null pointers to insets.
2198
2199 2004-03-26  Angus Leeming  <leeming@lyx.org>
2200
2201         * src/BufferView_pimpl.C:
2202         * src/CutAndPaste.C:
2203         * src/buffer.C:
2204         * src/iterators.C:
2205         * src/output_plaintext.C:
2206         * src/outputparams.h:
2207         * src/paragraph_funcs.C:
2208         * src/rowpainter.C:
2209         * src/text.C:
2210         * src/text2.C:
2211         * src/frontends/controllers/ControlErrorList.C:
2212         * src/frontends/gtk/FileDialogPrivate.C:
2213         * src/frontends/gtk/GPainter.C:
2214         * src/frontends/gtk/GToolbar.C:
2215         * src/frontends/qt2/QRef.C:
2216         * src/mathed/math_scriptinset.C: squash compiler warnings.
2217
2218 2004-03-26  Angus Leeming  <leeming@lyx.org>
2219
2220         * ispell.C (LaunchIspell::start):
2221         * lyx_cb.C (AutoSaveBuffer::start):
2222         invoke run(DontWait) rather than runNonBlocking().
2223
2224 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2225
2226         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2227
2228 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * kbsequence.C (print): adjust
2231
2232         * kbmap.C (printKeySym): rename and change signature
2233         (printKey): use LyXKeySym::print()
2234
2235 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2236
2237         * undo.C: add using std::advance to compile for stlport
2238
2239 2004-03-24  Angus Leeming  <leeming@lyx.org>
2240
2241         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2242         it leads to a crash when no buffer is present.
2243
2244 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2245             Martin Vermeer  <martin.vermeer@hut.fi>
2246
2247         * lyxfunc.C (dispatch):
2248         * bufferparams.C (readToken): use the new LColor::setColor
2249
2250         * LColor.[Ch] (setColor): new version that takes two strings as
2251         argument and creates a new color entry if necessary
2252
2253 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2254
2255         * buffer.C (makeLaTeXFile): if the main latex file that is
2256         processed is usually a subdocument of some master, then pretend
2257         for a while that it is actually the master
2258
2259 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2260
2261         * buffer.C (getLabelList):
2262         (getBibkeyList): use getMasterBuffer()
2263         (getMasterBuffer): new method. Returns the main document in the
2264         case where one is using included documents.
2265
2266 2004-03-25  André Pönitz  <poenitz@gmx.net>
2267
2268         * Makefile.am:
2269         * iterators.[Ch]:
2270         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2271
2272         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2273
2274         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2275         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2276
2277         * ParameterStruct.h: merge with ParagraphParameters
2278
2279         * lyxtext.h: remove LyXText::parOffset() and getPar()
2280
2281         * text3.C: Remove all 'manual' update calls. We do now one per user
2282         interaction which is completely sufficient.
2283
2284         * Bidi.C:
2285         * BufferView.[Ch]:
2286         * BufferView_pimpl.C:
2287         * FontIterator.[Ch]:
2288         * MenuBackend.C:
2289         * ParagraphParameters.[Ch]:
2290         * buffer.C:
2291         * buffer.h:
2292         * bufferlist.C:
2293         * cursor.[Ch]:
2294         * cursor_slice.[Ch]:
2295         * dociterator.[Ch]:
2296         * errorlist.[Ch]:
2297         * factory.C:
2298         * lfuns.h:
2299         * lyxfind.C:
2300         * lyxfunc.C:
2301         * output_docbook.[Ch]:
2302         * output_latex.[Ch]:
2303         * output_linuxdoc.[Ch]:
2304         * output_plaintext.[Ch]:
2305         * paragraph.[Ch]:
2306         * paragraph_funcs.[Ch]:
2307         * paragraph_pimpl.[Ch]:
2308         * rowpainter.C:
2309         * tabular.[Ch]:
2310         * text.C:
2311         * text2.C:
2312         * toc.C:
2313         * undo.[Ch]: adjust
2314
2315         * frontends/controllers/ControlDocument.C:
2316         * frontends/controllers/ControlErrorList.C:
2317         * frontends/controllers/ControlSpellchecker.C:
2318         * insets/inset.C:
2319         * insets/inset.h:
2320         * insets/insetbase.h:
2321         * insets/insetbibitem.C:
2322         * insets/insetbox.C:
2323         * insets/insetbranch.C:
2324         * insets/insetcaption.C:
2325         * insets/insetcharstyle.C:
2326         * insets/insetcharstyle.h:
2327         * insets/insetcollapsable.C:
2328         * insets/insetcollapsable.h:
2329         * insets/insetert.C:
2330         * insets/insetfloat.C:
2331         * insets/insetfoot.C:
2332         * insets/insetmarginal.C:
2333         * insets/insetnote.C:
2334         * insets/insetoptarg.C:
2335         * insets/insettabular.C:
2336         * insets/insettext.C:
2337         * insets/insettext.h:
2338         * insets/insetwrap.C:
2339         * mathed/math_mboxinset.C:
2340         * mathed/math_nestinset.C:
2341         * mathed/math_scriptinset.C:
2342         * mathed/math_scriptinset.h:
2343         * support/types.h:
2344
2345 2004-03-24  Angus Leeming  <leeming@lyx.org>
2346
2347         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2348         deal with any child processes that have finished but are waiting to
2349         communicate this fact to the rest of LyX.
2350
2351 2004-03-24  Angus Leeming  <leeming@lyx.org>
2352
2353         64-bit compile fixes.
2354
2355         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2356         (c-tor): pass lyx::pos_types rather than ints.
2357
2358         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2359         lyx::pos_type.
2360
2361         * text.C (Delete): compile fix.
2362         (getPar): ensure that function declaration is the same as that in
2363         the header file.
2364
2365 2004-03-23  Angus Leeming  <leeming@lyx.org>
2366
2367         * ispell.C (LaunchIspell):
2368         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2369         a boost::shred_ptr rather than a std::auto_ptr.
2370
2371 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2374         handle LFUN_FILE_INSERT_*
2375
2376         * lyxrc.C (setDefaults, getDescription, output, read):
2377         * lyxrc.h: remove ps_command
2378
2379 2004-03-22  Angus Leeming  <leeming@lyx.org>
2380
2381         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2382         Ensure that error_handler is processed once only and that all data
2383         is saved before attempting to output any warning messages.
2384
2385         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2386
2387 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2388
2389         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2390
2391 2004-03-19  André Pönitz  <poenitz@gmx.net>
2392
2393         * cursor.[Ch] (reset): take main text inset as argument
2394
2395         * BufferView: adjust
2396         * BufferView_pimpl.C: adjust
2397
2398         * paragraph.[Ch]: fix completely broken operator=()
2399
2400 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401
2402         * LColor.C (getFromLyXName): make sure that the color name is used
2403         as lowercase.
2404
2405 2004-03-17  Angus Leeming  <leeming@lyx.org>
2406
2407         * lfuns.h:
2408         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2409
2410         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2411         dialog and to kill a forked process.
2412
2413 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * text2.C (setCursorFromCoordinates): fix font problem
2416
2417 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2418
2419         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2420         bogus "rebuild cursor" code
2421
2422 2004-03-11  André Pönitz  <poenitz@gmx.net>
2423
2424         * buffer.[Ch]: use InsetText instead of LyXText as container for
2425         the main lyx text.
2426
2427         * dociterator.[Ch]: drop the BufferView * member which is not needed
2428         anymore after the change to buffer.C
2429
2430         * paragraph_funcs.C:
2431         * text.C:
2432         * text2.C:
2433         * BufferView.[Ch]:
2434         * BufferView_pimpl.[Ch]:
2435         * cursor.[Ch]:
2436         * cursor_slice.[Ch]: adjust
2437
2438         * text3.C: fix bug in mathDispatch
2439
2440 2004-03-08  André Pönitz  <poenitz@gmx.net>
2441
2442         * undo.[Ch]: use 'StableDocumentIterator' as base for
2443         the Undo struct.
2444
2445 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2446
2447         * LaTeXFeatures.C:
2448         * bufferparams.[Ch]: add jurabib support and param.
2449
2450         * LaTeX.C: add FIXME/comment.
2451
2452 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2453
2454         * buffer.C: increment file format to 230.
2455
2456 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2457
2458         * cursor.C (dispatch): avoid infinite loops
2459
2460 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2461
2462         * rowpainter.C (paintSelection): fix x coordinates
2463
2464 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * text.C (rowBreakPoint): fix breaking before displayed insets
2467
2468 2004-03-01  André Pönitz  <poenitz@gmx.net>
2469
2470         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2471
2472         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2473
2474         * Makefile.am:
2475         * BufferView.C:
2476         * BufferView_pimpl.C:
2477         * buffer.C:
2478         * lyxfind.C:
2479         * lyxfunc.C:
2480         * text.C:
2481         * text2.C:
2482         * text3.C: adjust
2483
2484 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2485
2486         * lyxtext.h:
2487         * text.C:
2488         * text2.C:
2489         * rowpainter.C:
2490         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2491         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2492
2493 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2494
2495         * Bidi.[Ch] (computeTables): const correctness
2496         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2497         fill_hfill, fill_label_hfill and x from Row
2498         * lyxtext.h: prepareToPrint returns a RowMetrics
2499         * rowPainter.C: adjust
2500         * text.C (prepareToPrint): use width, not textWidth. adjust
2501         (redoParagraphInternal, cursorX): adjust
2502         * text2.C (getColumnNearX): adjust
2503         (init): put a default value to the top LyXText::width
2504
2505 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2506
2507         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2508
2509 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2510
2511         * lyxtext.h: add FontIterator class
2512
2513         * text.C (FontIterator, operator*, operator->, operator++): add
2514         (rowBreakPoint, setRowWidth): adjust (fixing a
2515         rebreaking bug)
2516
2517 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         * BufferView_pimpl.C (workAreaDispatch): allow also
2520         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2521
2522 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2523
2524         * text.C (rowBreakPoint): fix a bug showing with very large insets
2525
2526 2004-02-25  André Pönitz  <poenitz@gmx.net>
2527
2528         * text3.C:
2529         * cursor.[Ch]: move some mathed specific code to mathed
2530
2531 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2532
2533         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2534         use_tempdir in preferences
2535         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2536         tempfile creation
2537         * lyx_main.C: ensure that tempdir is valid
2538         * lyxlex.h: correct typo
2539         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2540         * paragraph.[Ch] (isMultiLingual): make const
2541         * cursor.[Ch] (openable): make const
2542
2543 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2544
2545         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2546
2547 2004-02-20  André Pönitz  <poenitz@gmx.net>
2548
2549         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2550
2551         * cursor.[Ch]: prepare for localized getStatus()
2552
2553         * lyxtext.h:
2554         * tabular.C:
2555         * text.C:
2556         * text2.C:
2557         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2558
2559 2004-02-20  André Pönitz  <poenitz@gmx.net>
2560
2561         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2562
2563 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2564
2565         * text2.C (setCursorFromCoordinates): switch to absolute coords
2566         (cursorUp): adjust
2567         (cursorDown): adjust
2568         * text3.C (dispatch): adjust
2569
2570 2004-02-16  André Pönitz  <poenitz@gmx.net>
2571
2572         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2573           insets/ChangeLog)
2574
2575         * cursor_slice.[Ch]: remove unneeded acessor function
2576
2577         * lyxtext.h: rename rtl() to isRTL()
2578
2579         * rowpainter.C:
2580         * tabular.C:
2581         * text.C:
2582         * text2.C:
2583         * text3.C: adjust
2584
2585 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * rowpainter.C (paintSelection): coord fix
2588
2589 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2590
2591         * Spacing.C: compile fix
2592
2593 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * cursor.C (dispatch): restore current_ before returning
2596
2597 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2598
2599         * text2.C (cursorUp, cursorDown): fix coords
2600         (moveUp): fix crash
2601
2602 2004-02-12  André Pönitz  <poenitz@gmx.net>
2603
2604         * lyxtext.h:
2605         * text.C:
2606         * text2.C:
2607         * text3.C: add LCursor & parameter to most cursor movement functions
2608           remove usage of LyXText::cursorRow() and cursorPar()
2609
2610         * cursor.[Ch]: add textRow() needed members
2611
2612         * BufferView.C:
2613         * BufferView_pimpl.C:
2614         * paragraph.[Ch]:
2615         * BufferView.C:
2616         * BufferView_pimpl.C: adjust
2617
2618 2004-02-11  André Pönitz  <poenitz@gmx.net>
2619
2620         * lyxfunc.C:
2621         * BufferView.[Ch]:
2622         * BufferView_pimpl.C: shift undo/redo handling
2623
2624         * cursor.[Ch]: fix mathed crash
2625
2626         * lyxfind.C:
2627         * lyxtext.h: move selectionAsText to LCursor
2628
2629         * output_latex.C:
2630         * paragraph.C:
2631         * text.C:
2632         * text2.C:
2633         * text3.C: adjust
2634
2635         * rowpainter.C: fix excessive drawing
2636
2637 2004-02-06  André Pönitz  <poenitz@gmx.net>
2638
2639         * BufferView.[Ch]:
2640         * BufferView_pimpl.[Ch]:
2641         * text3.C: move some text specific LFUN handling
2642
2643 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2644
2645         * text3.C (checkInsetHit): adjust coords
2646         * text2.C (getColumnNearX): adjust coords
2647         (edit): adjust coords
2648         * text.C (getRowNearY): add two asserts
2649
2650 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2651
2652         * converter.C:
2653         * format.C: add using std::distance to compile on gcc 2.95/stlport
2654
2655 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2656
2657         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2658
2659 2004-02-04  André Pönitz  <poenitz@gmx.net>
2660
2661         * BufferView.[Ch] (insertInset):
2662         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2663
2664         * text2.C:
2665         * text3.C: adjust
2666
2667 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2668
2669         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2670         on the default clause of the switch
2671         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2672         wasn't catched by LCursor::dispatch
2673
2674 2004-02-03  André Pönitz  <poenitz@gmx.net>
2675
2676         * BufferView.C:
2677         * cursor.[Ch]: some additional asserts
2678
2679         * undo.[Ch]: remove LyXText dependency in interface
2680
2681         * lyxfunc.C: adjust
2682
2683         * lyxtext.h (firstPar, lastPar): remove dead functions
2684
2685         * text.C:
2686         * text2.C:
2687         * text3.C:
2688         * paragraph.[Ch]: adjust
2689
2690 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2691
2692         * lyxfind.C (find): fix argument order in call to ::find
2693
2694 2004-02-02  André Pönitz  <poenitz@gmx.net>
2695
2696         * cursor.[Ch]: remove direct access to anchor
2697
2698         * text.C: remove findText() hack
2699
2700 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * iterators.[Ch] (lockPath): remove in favour of...
2703         * BufferView.[Ch] (setCursor): this addition
2704         * BufferView.C (putSelectionAt): adjust
2705         * undo.C (performUndoOrRedo): adjust
2706         * lyxfunc.C (dispatch): adjust
2707
2708 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * iterators.C (lockPath): add a missing slice
2711         * undo.C (performUndoOrRedo): remove redundant positioning code
2712
2713 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2714
2715         * vc-backend.C (scanMaster): ";" -> ';'
2716
2717 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2718
2719         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2720         std::binary_function
2721
2722         * lyxtextclass.C (compare_name): rename to...
2723         (LayoutNamesEqual): ...this
2724
2725         * lyxlex_pimpl.C (compare_tags): inherit from
2726         std::binary_function, put back into anon namespace
2727
2728         * lyxfind.C (MatchString): inherig from std::binary_function
2729         (findChange): use empty() istead of !size()
2730
2731         * format.C (FormatNamesEqual): new functor
2732         (getFormat): use it
2733         (getNumber): use it
2734         (add): use it
2735         (erase): use it
2736         (setViewer): use it
2737
2738         * converter.C (compare_Converter): rename to...
2739         (ConverterEqual): ...this, and fixup a bit.
2740         (getConverter): use it, and make function const
2741         (getNumber): use it, and make function const
2742         (add): use it
2743         (erase): use it:
2744
2745         * bufferlist.C: add using boost::bind
2746
2747         * MenuBackend.C (MenuNamesEqual): new functor
2748         (hasMenu): use it, and make function const
2749         (hasSubmenu): use nested bind to get rid of compare_memfun.
2750
2751 2004-01-30  André Pönitz  <poenitz@gmx.net>
2752
2753         * BufferView_pimpl.C:
2754         * cursor.C:
2755         * cursor.h:
2756         * cursor_slice.[Ch]:
2757         * lyxfunc.C:
2758         * lyxtext.h:
2759         * paragraph_funcs.C:
2760         * paragraph_funcs.h:
2761         * rowpainter.C:
2762         * text.C:
2763         * text2.C:
2764         * text3.C: move some of the edit(x,y) handling to the insets
2765         some coordinate changes.
2766
2767 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2768
2769         * text.C: add using statements for std::advance and std::distance
2770
2771         * paragraph.C: add using statement for std::distance
2772
2773         * lyxfind.C: add using statement for std::advance
2774
2775         * cursor.C (region): remove std:: from swap
2776         (openable): use nucleus in stead of operator->
2777
2778         * BufferView.C: add using statements for std::distance and std::swap
2779
2780 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2781
2782         * iterators.C: Remove the pimple, move the needed structures to
2783         the header file. Create accessor for the positions stack.
2784         (asPosIterator): remove function
2785
2786         * PosIterator.C (PosIterator): move constructors to top of file
2787         (PosIterator): reimplement the constructor taking a ParIterator in
2788         terms of setFrom.
2789         (setFrom): new function
2790         (operator!=): inline it
2791
2792 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2793
2794         * lyxfind.C (replaceAll): use std::advance
2795
2796         * iterators.h: inherit from std::iterator.
2797
2798         * PosIterator.C (advance, distance): remove
2799         * PosIterator.h: interit from std::iterator.
2800
2801 2004-01-26  André Pönitz  <poenitz@gmx.net>
2802
2803         * BufferView.[Ch]:
2804         * BufferView_pimpl.[Ch]:
2805         * InsetList.[Ch]:
2806         * PosIterator.[Ch]:
2807         * buffer.h:
2808         * bufferview_funcs.C:
2809         * cursor.[Ch]:
2810         * cursor_slice.h:
2811         * factory.[Ch]:
2812         * iterators.[Ch]:
2813         * lyxfind.C:
2814         * lyxfunc.C:
2815         * lyxtext.h:
2816         * output_docbook.C:
2817         * output_latex.C:
2818         * output_linuxdoc.C:
2819         * output_plaintext.C:
2820         * paragraph.[Ch]:
2821         * paragraph_funcs.[Ch]:
2822         * paragraph_pimpl.[Ch]:
2823         * rowpainter.C:
2824         * tabular.C:
2825         * tabular.h:
2826         * text.C:
2827         * text2.C:
2828         * text3.C: more IU:  dumps most of the rest of the mathcursor
2829     implementation into cursor.[Ch]; "globalize" a bit of it.
2830
2831 2004-01-25  Angus Leeming  <leeming@lyx.org>
2832
2833         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2834
2835 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2836
2837         * LaTeXFeatures.h: add nice_ and nice() const
2838         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2839
2840 2004-01-20  André Pönitz  <poenitz@gmx.net>
2841
2842         * BufferView.[Ch]:
2843         * BufferView_pimpl.C:
2844         * PosIterator.C:
2845         * bufferview_funcs.C:
2846         * cursor.[Ch]:
2847         * cursor_slice.[Ch]:
2848         * factory.C:
2849         * iterators.C:
2850         * lyx_cb.C:
2851         * lyxfind.C:
2852         * lyxfunc.C:
2853         * lyxtext.h:
2854         * rowpainter.C:
2855         * text.C:
2856         * text2.C:
2857         * text3.C:
2858         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2859           LCursor and mathcursor parts to LCursor and InsetBase.
2860
2861 2004-01-15  André Pönitz  <poenitz@gmx.net>
2862
2863         * cursor_slice.[Ch]: add a few covienience functions
2864
2865         * funcrequest.[Ch]: remove BufferView * member
2866
2867         * BufferView_pimpl.C:
2868         * cursor.C:
2869         * factory.[Ch]:
2870         * lyxfind.[Ch]:
2871         * lyxfunc.C:
2872         * lyxtext.h:
2873         * text3.C:
2874         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2875
2876 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2879         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2880
2881 2004-01-13  André Pönitz  <poenitz@gmx.net>
2882
2883         * textcursor.[Ch]:
2884         * lyxtext.h: hide cursor and selection anchor behind accessor function
2885
2886         * BufferView.C:
2887         * BufferView_pimpl.[Ch]:
2888         * PosIterator.C:
2889         * bufferview_funcs.C:
2890         * cursor.h:
2891         * lyxfind.C:
2892         * lyxfunc.C:
2893         * text.C:
2894         * text2.C:
2895         * text3.C:
2896         * undo.C: adjust
2897
2898         * cursor.h:
2899         * cursor_slice.[Ch]: some integer type changes for inset unification
2900
2901         * lyxcursor.[hC]: remove, it's CursorSlice now.
2902
2903         * Makefile.am:
2904         * BufferView_pimpl.[Ch]:
2905         * bufferview_funcs.C:
2906         * cursor_slice.C:
2907         * lyxtext.h:
2908         * text.C:
2909         * text2.C:
2910         * text3.C:
2911         * textcursor.[Ch]: adjust
2912
2913 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2914
2915         * text2.C (undoSpan): add and use
2916         * text.C (breakParagraph): use undoSpan (fix bug 578)
2917         * lyxtext.h: adjust
2918
2919 2004-01-08  Angus Leeming  <leeming@lyx.org>
2920
2921         * BufferView_pimpl.C (MenuInsertLyXFile):
2922         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2923         * lyxfunc.C (menuNew, open, doImport):
2924         FileFilterList change to the FileDialog open and save functions.
2925
2926 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2927
2928         * ShareContainer.h: make isEqual and isUnique adaptable
2929
2930         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2931
2932 2004-01-07  Angus Leeming  <leeming@lyx.org>
2933
2934         * LyXAction.C:
2935         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2936
2937         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2938
2939         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2940         functions replacing find, replace and replaceAll.
2941
2942         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2943         LFUN_WORDFIND(FORWARD|BACKWARD).
2944
2945 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2946
2947         * text.C (breakParagraph): remove an outdated #warning
2948
2949 2004-01-07  André Pönitz  <poenitz@gmx.net>
2950
2951         * lyxfind.C: somewhat clearer logic
2952
2953         * text.C: prevent crash in cursorX on unitialized row cache
2954
2955 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2956
2957         * lyxcursor.[Ch] (operator>): add
2958         * textcursor.C (selStart, selEnd): use std::min and std::max
2959
2960 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2961
2962         * Chktex.C: include boost/format.hpp
2963
2964 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2965
2966         * InsetList.C: replace functor MathcIt with adaptable functor
2967         InsetTablePosLess
2968         (insetIterator): modify accordingly
2969
2970         * BranchList.h: move the BranchNamesEqual functor here from...
2971         * BranchList.C: ... to here
2972
2973         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2974         SameName and match.
2975         (add): replace a finding loop with std::find_if.
2976
2977 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2978
2979         * output_docbook.C: moving LatexParam functionality into
2980         .layout files
2981
2982 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2983
2984         * buffer.C: increment format to 229.
2985
2986 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2987
2988         * LaTeXFeatures.C:
2989         * lyx_sty.[Ch]: remove minipageindent_def
2990
2991         * LyXAction.C:
2992         * factory.C:
2993         * lfuns.h:
2994         * lyxfunc.C:
2995         * text3.C: remove LFUN_INSET_MINIPAGE
2996
2997 2003-12-28  Angus Leeming  <leeming@lyx.org>
2998
2999         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3000
3001 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3002
3003         * text2.C (setParagraph): fix off-by-one crash
3004
3005 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3006
3007         * output_docbook.C: header stuff for AGU
3008
3009 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * text2.C (redoCursor): remove
3012         * text.C:
3013         * text3.C:
3014         * BufferView_pimpl.C: remove calls to redoCursor and
3015         setCursor(cursor.par(), cursor.pos()) all around
3016
3017 2003-12-15  Angus Leeming  <leeming@lyx.org>
3018
3019         * buffer.C: up the format to 228.
3020
3021 2003-12-15  André Pönitz  <poenitz@gmx.net>
3022
3023         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3024         slices
3025
3026         * Makefile.am:
3027
3028         * BufferView_pimpl.C:
3029         * cursor.[Ch]:
3030         * lyxcursor.[Ch]:
3031         * rowpainter.[Ch]:
3032         * lyxtext.h:
3033         * text.C:
3034         * text2.C:
3035         * text3.C: adjust
3036
3037 2003-12-15  Angus Leeming  <leeming@lyx.org>
3038
3039         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3040         than getFromGUIName to manipulate the color.
3041
3042 2003-12-14  Angus Leeming  <leeming@lyx.org>
3043
3044         * BranchList.[Ch]: minimize the API.
3045         (Branch::getBranch, getColor): now return a 'const &'.
3046         (Branch::setSelected) now returns a bool set to true if the
3047         selection status changes.
3048         (BranchList::clear, size, getColor, setColor, setSelected,
3049         allBranches, allSelected, separator): removed.
3050         (BranchList::find): new functions, returning the Branch with
3051         the given name.
3052         (BranchList::add, remove): return a bool indicating that
3053         the operation was successful.
3054
3055         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3056         new InsetBranch::isBranchSlected member function.
3057
3058         * LColor.[Ch]: mimimize the API.
3059         (fill): renamed as addColor and made private.
3060         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3061         versions of these functions taking a string arg have been removed.
3062
3063         * bufferparams.C (readToken):
3064         * lyxfunc.C (dispatch):
3065         * lyxrc.C (read): changes due to the altered BranchList and
3066         LColor APIs.
3067
3068         * factory.C (createInset, readInset): changes due to altered
3069         InsetBranch c-tor.
3070
3071 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3072
3073         * factory.C:
3074         * lyxfunc.C: remove insetminipage. "minipage-insert"
3075         now produces a frameless minipage box inset.
3076
3077 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3078
3079         * textcursor.[Ch] (selStart,selEnd): add new methods
3080         remove selection::start, end, use LyXCursor::operator<
3081         * lyxcursor.[Ch] (operator<): add
3082         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3083         * BufferView.[Ch] (unsetXSel): add
3084         * text2.C (clearSelection): use unsetXSel,adjust
3085         * text.C: adjust
3086         * text3.C: adjust
3087         * rowpainter.C: adjust
3088         * bufferview_funcs.C (put_selection_at): adjust
3089
3090 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3091
3092         * BufferView_pimpl.C: small coord. correction
3093
3094 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3095
3096         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3097         dragging over the splash screen.
3098
3099 2003-12-11  Angus Leeming  <leeming@lyx.org>
3100
3101         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3102         as it is now handled in LyXText::dispatch.
3103
3104         * text3.C (doInsertInset): remove a level of nesting.
3105
3106 2003-12-11  Angus Leeming  <leeming@lyx.org>
3107
3108         * factory.C (createInset): changes due to the changed interface to
3109         InsetCommandMailer::string2params.
3110
3111 2003-12-10  Angus Leeming  <leeming@lyx.org>
3112
3113         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3114         'dialog-show-new-inset <inset name>'
3115
3116 2003-12-10  Angus Leeming  <leeming@lyx.org>
3117
3118         * buffer.C: up the format to 227.
3119
3120         * factory.C: the box inset is now identified simply by 'Box'.
3121
3122 2003-12-10  Angus Leeming  <leeming@lyx.org>
3123
3124         * buffer.C: up the format to 226.
3125
3126         * factory.C: the note inset is now identified simply by 'Note'.
3127
3128 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3129
3130         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3131         when a pit is enough. Standarize a couple of loops.
3132
3133 2003-12-05  Angus Leeming  <leeming@lyx.org>
3134
3135         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3136         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3137         data to the re-worked "log" dialog.
3138
3139 2003-12-03  André Pönitz  <poenitz@gmx.net>
3140
3141         * PosIterator.C:
3142         * iterators.C:
3143         * lyxtext.h:
3144         * output_latex.C:
3145         * paragraph_funcs.C:
3146         * text.C:
3147         * text2.C: use Inset::getText instead of Inset::getParagraph
3148
3149 2003-12-03  André Pönitz  <poenitz@gmx.net>
3150
3151         * buffer.[Ch]:
3152         * lyxtext.h:
3153         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3154         InsetText::read() as LyXText::read()
3155
3156 2003-12-02  Angus Leeming  <leeming@lyx.org>
3157
3158         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3159         type. Add a comment in the implementation that the function uses
3160         the stream's bad() function rather than fail() as the std::streams
3161         would do.
3162
3163 2003-12-02  André Pönitz  <poenitz@gmx.net>
3164
3165         * lyxlex.[Ch]: make interface more similar to std::stream
3166
3167         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3168
3169 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3170
3171         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3172
3173 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3174
3175         * vspace.[Ch]: remove VSpace::NONE
3176
3177 2003-12-01  André Pönitz  <poenitz@gmx.net>
3178
3179         * buffer.[Ch]:
3180         * lyxtext.h: move ParagraphList member to LyXText
3181         rename LyXText::ownerParagraphs to LyXText::paragraph
3182
3183         * CutAndPaste.C:
3184         * bufferview_funcs.C:
3185         * iterators.[Ch]:
3186         * lyx_cb.C:
3187         * paragraph.C:
3188         * rowpainter.C:
3189         * tabular.C:
3190         * text.C:
3191         * text2.C:
3192         * text3.C: adjust
3193
3194         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3195
3196         * undo.C: fix cursor positioning
3197
3198 2003-12-01  John Levon  <levon@movementarian.org>
3199
3200         * BufferView_pimpl.C: fix a crash on exit with
3201         a buffer open
3202
3203 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3204
3205         * BranchList.C: fix setSelected() method.
3206
3207 2003-11-28  André Pönitz  <poenitz@gmx.net>
3208
3209         * ParagraphParameters.[Ch]:
3210         * ParameterStruct.h: remove space above/below from Paragraph to
3211          InsetVSpace
3212
3213         * BufferView_pimpl.C:
3214         * factory.C:
3215         * lyxfunc.C:
3216         * lyxtext.h:
3217         * output_latex.C:
3218         * paragraph.C:
3219         * paragraph_funcs.C:
3220         * rowpainter.[Ch]:
3221         * text.C:
3222         * text2.C:
3223         * text3.C: adjust
3224
3225 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3226
3227         * factory.C: Syntax change for CharStyles
3228
3229 2003-11-28  André Pönitz  <poenitz@gmx.net>
3230
3231         * BufferView.[Ch]:
3232         * BufferView.[Ch]:
3233         * buffer.[Ch]:
3234         * buffer.[Ch]: move LyXText member
3235
3236 2003-11-28  André Pönitz  <poenitz@gmx.net>
3237
3238         * BufferView.[Ch]: make LyXText * text a private member
3239
3240         * BufferView_pimpl.C:
3241         * cursor.C:
3242         * iterators.C:
3243         * lyx_cb.C:
3244         * lyxfind.C:
3245         * lyxtext.h:
3246         * rowpainter.[Ch]:
3247         * text.C:
3248         * text2.C:
3249         * undo.C: adjust
3250
3251         * output_plaintext.C: cleanup
3252
3253 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3254
3255         * buffer.C:
3256         * lyxtextclass.[Ch]: parametrize SGML document header
3257
3258 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3259
3260         * converter.[Ch]:
3261         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3262         getFlavor().
3263
3264 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3265
3266         * text2.C (setFont): rework using PosIterator (no more recursive)
3267         (setCharFont): no more needed
3268         (setLayout): no more selection cursors fiddling (done by redoCursor)
3269         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3270         destroy remaining ones)
3271
3272 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3273
3274         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3275         * lyxtext.h: ditto
3276         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3277         selection cursors
3278         * lyxfunc.C: adjust
3279         * text3.C: adjust + re-allow multi par depth changes
3280         * textcursor.C: simplify a bit
3281
3282 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3283
3284         * src/buffer.C:
3285         * src/lyxlayout.C:
3286         * src/lyxlayout.h:
3287         * src/lyxtext.h:
3288         * src/output_docbook.C:
3289         * src/output_latex.C:
3290         * src/paragraph.C:
3291         * src/paragraph.h:
3292         * src/sgml.C:
3293         * src/sgml.h:
3294         * src/text2.C: Introducing a number of tags parametrizing various
3295         XML formats that we may want to support
3296
3297 2003-11-25  André Pönitz  <poenitz@gmx.net>
3298
3299         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3300
3301         * lyxtext.h (leftMargin/rightMargin): simplify interface
3302
3303         * rowpainter.C:
3304         * text.C:
3305         * text2.C:
3306         * text3.C: adjust
3307
3308 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3309
3310         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3311         master file to any child files. Fixes bug 546.
3312
3313 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3314
3315         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3316
3317 2003-11-24  André Pönitz  <poenitz@gmx.net>
3318
3319         * rowpainter.C: simplification
3320
3321         * text2.C (updateCounters): remove call to redoParagraph on
3322         changed labels as this is far too expensive.
3323
3324 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * converter.C (convert): fix a crash: this function gets
3327         called with buffer == 0 from importer code.
3328
3329 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3330
3331         * text3.C (cursorPrevious): make sure that we do not compare
3332         iterators form different containers.
3333         (cursorNext): ditto
3334
3335         * rowpainter.C (paintSelection): make sure that we do not compare
3336         iterators from different containers.
3337
3338         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3339         iterators from different ParagraphList containers.
3340         [NEXT] ditto
3341
3342         * text2.C (LyXText): change order of initialization slightly
3343         (operator=): new function. copy all variables except cache_par_
3344         (moveUp): make sure that we do not compare iterators from
3345         different ParagraphList constainers.
3346         (moveDown): ditto
3347
3348         * text.C (firstPar): new function
3349         (lastPar): new function
3350         (endPar): new function
3351
3352         * lyxtext.h: move things around and group public functions, public
3353         variables, private functions, private variables
3354
3355 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3356
3357         * factory.C: change call to InsetERT constructor to avoid
3358         additional invocation of method status
3359         * text2.C (toggleInset): remove redundant update() call
3360         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3361         instead of a Bufferview pointer
3362
3363 2003-11-21  André Pönitz  <poenitz@gmx.net>
3364
3365         * rowpainter.C: simplification
3366
3367 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * text3.C (dispatch): make possible to extend a word/row selection
3370         with the mouse
3371
3372 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3373
3374         * lyxtext.h: x0_,y0_ -> xo_,yo_
3375         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3376         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3377         * rowpainter.C (paintRows): paint full paragraphs
3378
3379 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3380
3381         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3382         screen coordinates)
3383
3384 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3385
3386         * lyxtext.h: add x0_, y0_
3387         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3388         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3389
3390 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3391
3392         * text2.C (setCursorIntern): move the x_target update here *
3393         * text3.C: change some bv() to true/false in calls to
3394         cursorUp/Down/Right/Left
3395         * cursor.C: use helper function.
3396
3397 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3398
3399         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3400         * paragraph_funcs.[Ch]: correct comment
3401         * rowpainter.C: do not paint selections away from bv->cursor()
3402         Fix a long standing selection painting bug.
3403         * text3.C: generalize mouse-selection code to LyXTexts other that
3404         top one
3405         * textcursor.C: do not use y coords if we can use par offsets
3406
3407 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3408
3409         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3410         cursor position after e.g. inset insert)
3411
3412 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3413
3414         * lyxfind.C (replace): adjust to locking removal + some
3415         code simplification
3416
3417 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3418
3419         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3420         of the path
3421
3422 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3423
3424         * lyxlayout.[Ch]:
3425         * output_docbook.C: XML sanitation: new layout
3426         parameters InnerTag and CommandDepth
3427
3428 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3429
3430         * BufferView_pimpl.C:
3431         * factory.C:
3432         * text3.C: Fix the insertion and modification of button-style
3433         insets
3434
3435 2003-11-13  André Pönitz  <poenitz@gmx.net>
3436
3437         * InsetList.[Ch]: remove deleteLyXText
3438
3439         * paragraph.[Ch]: cache beginOfBody position
3440
3441         * Bidi.C:
3442         * text.C:
3443         * text2.C:
3444         * text3.C: remove superfluous update() calls
3445
3446         * vspace.C: cleanup
3447
3448 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3449
3450         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3451         * BufferView.C (fitLockedInsetCursor): remove
3452         * cursor.[Ch] (getDim): add
3453         * text.C (getRowNearY): add faster version
3454         * text3.C: remove some update calls
3455
3456 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3457
3458         * LaTeXFeatures.C:
3459         * LyXAction.C:
3460         * MenuBackend.C:
3461         * MenuBackend.h:
3462         * dispatchresult.h:
3463         * factory.C:
3464         * lfuns.h:
3465         * lyxfunc.C:
3466         * lyxtextclass.C:
3467         * lyxtextclass.h:
3468         * text3.C: The Character Style /XML short element patch.
3469
3470 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3471
3472         * text3.C:
3473         * factory.C: Small step to solving 'unable to insert some insets'
3474         problem
3475
3476 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3477
3478         * cursor.[Ch] (updatePos): new function for updating the y
3479         position of the tip inset
3480         * bufferview_funcs.C (put_selection_at):
3481         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3482
3483 2003-11-11  André Pönitz  <poenitz@gmx.net>
3484
3485         * text.C: remove big comment on invalid Paragraph pointers as it is
3486         not valid anymore
3487
3488 2003-11-11  André Pönitz  <poenitz@gmx.net>
3489
3490         * text_funcs.[Ch]: merge with ...
3491
3492         * text.C: ... this
3493
3494         * lyxtext.h:
3495         * text2.C:
3496         * text3.C: adjust
3497
3498         * Makefile.am: remove text_funcs.[Ch]
3499
3500 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3501
3502         * cursor.C (getPos): return absolute cached y coord
3503
3504         * BufferView_pimpl.C (fitCursor): new simplistic code
3505         (workAreaDispatch): add a fitCursor call
3506
3507 2003-11-10  André Pönitz  <poenitz@gmx.net>
3508
3509         * BufferView.[Ch]:
3510         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3511
3512 2003-11-10  André Pönitz  <poenitz@gmx.net>
3513
3514         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3515         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3516         indicate that the cursor needs to leave an inset
3517
3518         * lyxtext.h: remove inset locking
3519
3520         * cursor.[Ch]: re-implement functionality provided by inset locking
3521
3522         * BufferView.[Ch]:
3523         * BufferView_pimpl.[Ch]:
3524         * LyXAction.C:
3525         * bufferview_funcs.[Ch]:
3526         * factory.C:
3527         * funcrequest.[Ch]:
3528         * iterators.C:
3529         * lyx_cb.C:
3530         * lyxfind.C:
3531         * lyxfunc.C:
3532         * text.C:
3533         * text2.C:
3534         * text3.C:
3535         * undo.C: adjust
3536
3537 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3538
3539         * PosIterator.[Ch]: replace the stack with a vector, add inset
3540         accesor
3541         * iterators.[C]: adjust
3542
3543 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3544
3545         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3546         replaced
3547         * paragraph_funcs.C (readParToken): put the correct id in the
3548         error item, not the id of the top paragraph
3549
3550 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3551
3552         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3553         * bufferview_funcs.C (put_selection_at): use the above
3554
3555 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3558
3559 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3560
3561         * output_linuxdoc.h:
3562         * output_plaintext.h:
3563         * output.h:
3564         * output_docbook.h: add #include statements
3565
3566 2003-11-05  José Matos  <jamatos@lyx.org>
3567
3568         * output_docbook.[Ch]:
3569         * output_latex.[Ch]:
3570         * output_linuxdoc.[Ch]:
3571         * output_plaintext.[Ch]: New files for output formats.
3572         * output.[Ch]: New file for helper functions.
3573
3574         * buffer.[Ch]:
3575         * paragraph_funcs.[Ch]: output functions moved to new files.
3576
3577         * outputparams.h: rename of latexrunparams.h
3578
3579         * LaTeX.[Ch]:
3580         * buffer.[Ch]:
3581         * bufferlist.[Ch]:
3582         * converter.[Ch]:
3583         * exporter.C:
3584         * paragraph.[Ch]:
3585         * paragraph_funcs.[Ch]:
3586         * paragraph_pimpl.[Ch]:
3587         * tabular.[Ch]: rename ascii to plaintext
3588         and LatexRunParams to OutputParams.
3589
3590 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * iterators.[Ch] (text): require bv argument
3593         * undo.C (recordUndo):
3594         * lyxfunc.C (dispatch):
3595         * bufferview_funcs.C (put_selection_at): adjust
3596
3597 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3598
3599         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3600
3601 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3602
3603         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3604         nestings
3605
3606 2003-11-04  André Pönitz  <poenitz@gmx.net>
3607
3608         * cursor.[Ch]: restructure
3609
3610         * BufferView.[Ch]:
3611         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3612
3613         * iterators.[Ch] (asCursor): remove
3614
3615         * lfuns.h: remove LFUN_INSET_EDIT
3616
3617         * lyxfunc.C:
3618         * tabular.C:
3619         * text.C:
3620         * text2.C:
3621         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3622
3623 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3624
3625         * lyxfind.[Ch]: complete overhaul
3626         * BufferView_pimpl.C:
3627         * lyxfunc.C: adjust
3628         * paragraph.[Ch] (insert): add
3629
3630 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3631
3632         * BufferView.[Ch]:
3633         * lyxtext.h:
3634         * text.C: remove dead spellcheck code
3635
3636 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3637
3638         * dispatchresult.h: add a val setter
3639
3640         * cursor.C (dispatch): use a tempvar for data_[i]
3641
3642 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3643
3644         * PosIterator.[Ch]: compile fix
3645
3646 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3647
3648         * text.C (cursorPar): deactivate the cursor cache
3649
3650 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3651
3652         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3653
3654 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3655
3656         * text3.C (dispatch): adjust for new DisptchResult semantics.
3657
3658         * lyxfunc.C (dispatch): handle update when return from
3659         Cursor::dispatch, adjust for new DispatchResult semantics.
3660
3661         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3662         DispatchResult(true) mean to not update. Add class functions for
3663         setting dispatched and update, as well as reading.
3664
3665         * cursor.C (dispatch): don't handle update here
3666
3667 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3668
3669         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3670         * trans_mgr.C: adjust
3671
3672         * paragraph_funcs.C (readParToken): exception safety
3673
3674         * lyxvc.h: store the vcs pointer in a scoped_ptr
3675         * lyxvc.C: adjust
3676
3677         * lyxsocket.C (serverCallback): exception safety
3678
3679         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3680
3681         * ispell.C (clone): make it return a auto_ptr
3682
3683         * factory.C (createInset): exception safety
3684         (readInset): exception safety
3685
3686         * bufferlist.C (newBuffer): exception safety
3687
3688         * Thesaurus.C (Thesaurus): use initialization for aik_
3689
3690         * MenuBackend.C (expandToc): exception safety.
3691
3692 2003-11-03  André Pönitz  <poenitz@gmx.net>
3693
3694         * buffer.C:
3695         * buffer.h:
3696         * bufferview_funcs.C: remove getInsetFromId()
3697
3698         * lyxcursor.[Ch]:
3699         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3700
3701         * lyxfunc.C:
3702         * text2.C:
3703         * text3.C: adjust
3704
3705 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3706
3707         * PosIterator.C (distance, advance): new
3708         * bufferview_funcs.[Ch] (put_selection_at): new
3709         * iterators.[Ch] (lockPath): new
3710
3711 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * iterators.[Ch] (asPosIterator): added
3714         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3715         * PosIterator.[Ch]: added
3716
3717 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * text3.C:
3720         * lyxfunc.C:
3721         * cursor.C (dispatch):
3722         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3723
3724         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3725         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3726         contructor, add a class function dispatched. Remove operator>=
3727
3728 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * debug.C: only use the default constructor for debugstream
3731         (lyxerr) here.
3732
3733         * main.C (main): include debug.h and setup the lyxerr streambuf
3734         here.
3735
3736 2003-10-31  José Matos  <jamatos@lyx.org>
3737
3738         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3739
3740         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3741         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3742         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3743         * paragraph_pimpl.C (simpleTeXSpecialC):
3744         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3745         add LatexRunParams argument.
3746
3747         * exporter.C (Export): change call accordingly.
3748
3749         * latexrunparams.h: add new member to take care of the other backends.
3750 2003-10-30  José Matos  <jamatos@lyx.org>
3751
3752         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3753         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3754         factorise code for paragraph output.
3755         * buffer.[Ch]:
3756         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3757         move functions.
3758
3759 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * text3.C (dispatch):
3762         * lyxfunc.C (dispatch):
3763         * cursor.C (dispatch):
3764         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3765
3766         * dispatchresult.h: make the dispatch_result_t ctor explicit
3767
3768 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3769
3770         * sgml.[Ch]:
3771         * buffer.C: small refactoring of docbook stuff
3772
3773 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3776         meaning.
3777
3778 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3781         operator dispatch_result_t, and operators for == != and >=
3782
3783         * cursor.C (dispatch): adjust for operator dispatch_result_t
3784         removal. comment out call to update
3785
3786         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3787
3788 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * text3.C:
3791         * text2.C:
3792         * text.C:
3793         * lyxtext.h:
3794         * lyxfunc.C:
3795         * cursor.C:
3796         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3797         (dispatch):
3798
3799         * dispatchresult.h: new file, DispatchResult broken out of
3800         insets/insetbase.h
3801
3802         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3803
3804 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * text.C (rowBreakPoint): put a hack inside #if 0
3807
3808 2003-10-28  André Pönitz  <poenitz@gmx.net>
3809
3810         * lyxtext.h:
3811         * metricsinfo.C:
3812         * paragraph_funcs.C:
3813         * rowpainter.C:
3814         * text.C:
3815         * text2.C: general cleanup (lots of small stuff)
3816
3817 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * text2.C (cursorEnd): simple fix to the "end key goes to one
3820         before the end on last row" bug
3821
3822 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3823
3824         * text.C (backspace): fix the "zombie characters"
3825
3826 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3827
3828         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3829
3830 2003-10-27  André Pönitz  <poenitz@gmx.net>
3831
3832         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3833
3834         * factory.C: handle new InsetPagebreak, InsetLine
3835
3836         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3837         and move handling into new InsetPagebreak, InsetLine
3838
3839         * BufferView_pimpl.C:
3840         * LyXAction.C:
3841         * ParagraphParameters.C:
3842         * ParameterStruct.h:
3843         * lyxfunc.C:
3844         * lyxtext.h:
3845         * paragraph.C:
3846         * paragraph.h:
3847         * paragraph_funcs.C:
3848         * paragraph_pimpl.C:
3849         * rowpainter.C:
3850         * text.C:
3851         * text2.C:
3852         * text3.C: adjust
3853
3854 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3855
3856         * text.C:
3857         * lyxrow_funcs.[Ch]:
3858         * Bidi.C:
3859         * paragraph.C:
3860         * lyxtext.h:
3861         * rowpainter.C:
3862         * text2.C:
3863         * text3.C: remove lastPos uses in favour of Row::endpos
3864
3865 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3866
3867         * undo.C (performUndoOrRedo): fix two crashes by setting a
3868         cursor by hand and reordering some calls. Use bv->lockInset instead
3869         of inset->edit because the latter loses cursor information
3870
3871 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3872
3873         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3874         by Martin
3875         (rowBreakPoint): fix width. change point to point + 1.
3876         Add a missing check.
3877
3878 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3879
3880         * MenuBackend.C:
3881         * lyxfunc.C: fix (at least partly) the problems
3882         with the Nav menu and headers inside branch insets
3883         reported by Kayvan
3884
3885 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * paragraph.C (getChar): add strong asserts
3888
3889         * lyxrow_funcs.C (lastPos): remove hideous hack
3890
3891         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3892         (fill): adjust to that (avoid an infinite loop)
3893
3894 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3895
3896         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3897
3898 2003-10-23  André Pönitz  <poenitz@gmx.net>
3899
3900         * RowList_fwd.h: change list<> to vector<> to gain speed
3901         after suggestion from Alfredo
3902
3903 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * lyxtext.h: move the bidi stuff from here...
3906         * text.C: and here
3907         * text2.C: and here
3908         * Bidi.[Ch]: ... to here
3909
3910 2003-10-23  André Pönitz  <poenitz@gmx.net>
3911
3912         * lyxtext.h:
3913         * text.C (isLastRow, isFirstRow): new functions
3914
3915         * paragraph.h: new width cache member
3916
3917         * rowpainter.C: replace RowList::iterator with Row & where possible
3918
3919         * lyxfunc.C: replace several view()->text with a single call
3920
3921         * toc.C: fix 'unused' warning
3922
3923 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3926         when woring with stream::pos_type
3927         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3928
3929 2003-10-22  André Pönitz  <poenitz@gmx.net>
3930
3931         * lyxtext.h:
3932         * text.C: use Row & instead of RowList::iterator
3933
3934         * lyxrow.h: rename end() to endpos()
3935
3936         * rowpainter.C:
3937         * text.C:
3938         * text2.C: adjust
3939
3940 2003-10-22  Angus Leeming  <leeming@lyx.org>
3941
3942         * buffer.[Ch] (fully_loaded): new member function, returning true
3943         only when the file has been loaded fully.
3944         Used to prevent the premature generation of previews and by the
3945         citation inset to prevent computation of the natbib-style label.
3946
3947         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3948         templates are all set up.
3949
3950         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3951
3952 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3953
3954         * text.C: fixed an "oops" in the "is a bit silly"
3955         bug fix
3956
3957 2003-10-21  André Pönitz  <poenitz@gmx.net>
3958
3959         * FuncStatus.[Ch]: small stuff, whitespace
3960
3961         * lyxfont.[Ch]: operator<<() for debug reasons
3962
3963         * lyxfunc.C:
3964         * lyxrow_funcs.C:
3965         * lyxtext.h: whitespace, spelling
3966
3967         * paragraph.C: naming of variables
3968
3969         * text.C:
3970         * text2.C: small stuff
3971
3972
3973 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3974
3975         * text.C: (1) finish off the inset display() work;
3976         (2) fix the "is a bit silly" bug (accessing char
3977         past end of par).
3978
3979 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3980
3981         * text.C: re-introduce display() for insets, fixing the
3982         various bugs (stretch of line above, math inset
3983         positioning, ...)
3984
3985 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3986
3987         * text.C (rightMargin): remove spurious semicolon
3988
3989         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3990         1415)
3991
3992 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3993
3994         * text3.C: fix one crash due to wrong cursor def
3995
3996 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * vc-backend.C (scanMaster): make the regex static
3999
4000         * LaTeX.C (scanAuxFile): make the regexs static
4001
4002         * text3.C (doInsertInset, dispatch, dispatch):
4003         * text2.C (cursorUp, cursorDown):
4004         * text.C (selectNextWordToSpellcheck):
4005         * BufferView_pimpl.C (dispatch):
4006         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4007
4008 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4009
4010         * lyxsocket.C: include <cerrno>
4011
4012 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * lyxfunc.C (dispatch): remove textcache stuff
4015
4016         * bufferlist.C (release): remove textcache stuff
4017         (closeAll): ditto
4018
4019         * TextCache.C: delete file
4020         * TextCache.h: delete file
4021
4022         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4023
4024         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4025         delete of the bv_->text.
4026         (resizeCurrentBuffer): remove texcache stuff
4027         (workAreaResize): ditto
4028
4029 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4032         action.
4033
4034 2003-10-16  André Pönitz  <poenitz@gmx.net>
4035
4036         * lyxrow.[Ch]:
4037         * paragraph.h:
4038         * rowpainter.C:
4039         * text.C:
4040         * text2.C:
4041         * text3.C: speed up by storing y positions per paragraph plus per-row
4042         offset instead of having a 'full' y position in the row.
4043
4044 2003-10-15  André Pönitz  <poenitz@gmx.net>
4045
4046         * iterators.[Ch]:
4047         * iterators.[Ch]:
4048         * undo.[Ch]: make undo aware of inner insets
4049
4050 2003-10-14  Angus Leeming  <leeming@lyx.org>
4051
4052         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4053         static member functions LyX::ref() and LyX::cref.
4054         (lastfiles): new accessor functions for the new lastfiles_ member var.
4055         (addLyXView, views_): add a new LyXView to the list of views_.
4056         (updateInset): loop over all LyXViews to call their own updateInset
4057         member function, returning a pointer to the Buffer owning the inset.
4058
4059         * BufferView_pimpl.C (loadLyXFile):
4060         * MenuBackend.C (expandLastfiles):
4061         * bufferlist.C (MenuWrite, QuitLyX):
4062         lastfiles is no longer a global variable.
4063         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4064
4065         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4066         static function. Access through LyX::cref().emergencyCleanup().
4067
4068 2003-10-14  André Pönitz  <poenitz@gmx.net>
4069
4070         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4071
4072         * undo.[Ch]: restoring part of 'undo in insets'
4073
4074         * Makefile.am:
4075         * undo_funcs.[Ch]: merge with undo.[Ch]
4076
4077         * tabular.C: small cleansing stuff
4078
4079 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4080
4081         * paragraph_funcs.C (readParToken): report unknown insets as error
4082         boxes. Use the outer paragraph as location (also for unknown
4083         tokens).
4084
4085         * factory.C (readInset): do not abort on reading an unknown inset.
4086         Eat it and return 0.
4087
4088 2003-10-13  Angus Leeming  <leeming@lyx.org>
4089
4090         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4091
4092         * lyxrc.C: displayTranslator is now a function,
4093         declared in GraphicsTypes.h.
4094
4095 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4096
4097         * format.C: new placeholder $$a to pass the socket address.
4098
4099         * bufferlist.[Ch]: new function getBufferFromTmp.
4100
4101         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4102           files in the temporary dir.
4103
4104 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4105
4106         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4107
4108         * Makefile.am: add lyxsocket.[Ch].
4109
4110         * lyx_main.C (error_handler): handle SIGPIPE.
4111
4112 2003-10-13  André Pönitz  <poenitz@gmx.net>
4113
4114         * BufferView_pimpl.C:
4115         * lyxtext.h:
4116         * text.C:
4117         * text2.C:
4118         * text3.C:
4119         * undo_funcs.[Ch]: use paroffset_type instead of
4120           ParagraphList::iterators to prevent multiple conversion
4121           (and get a more robust interface)
4122
4123 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4124
4125         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4126         * lyxtext.h: ditto
4127         * text3.C (dispatch): ditto
4128
4129 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4130
4131         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4132         move the onlyfile, use onlyfile instead of foundfile in a couple
4133         of places.
4134
4135         * DepTable.C (update): flush the error stream a bit more
4136
4137 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4138
4139         * lyxserver.C (callback): adjust
4140
4141         * lyxfunc.C (getStatus): add a missing brace in commented code
4142         (ensureBufferClean): reindent
4143         (dispatch): delete version taking a string
4144
4145 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * LaTeX.C (deplog): move found file handlig from here...
4148         (handleFoundFile): .. to new function here.
4149         (deplog): make sure to discover several files mentioned on the
4150         same log line.
4151
4152 2003-10-10  André Pönitz  <poenitz@gmx.net>
4153
4154         * lyxfunc.C:
4155         * lyxtext.h:
4156         * tabular.C:
4157         * text.C:
4158         * text2.C:
4159         * text3.C: fix some of the tabular crashes
4160
4161 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4162
4163         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4164
4165         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4166
4167 2003-10-09  André Pönitz  <poenitz@gmx.net>
4168
4169         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4170
4171         * BufferView.C:
4172         * BufferView_pimpl.C:
4173         * bufferview_funcs.C:
4174         * lyx_cb.C:
4175         * lyxcursor.C:
4176         * lyxfind.C:
4177         * lyxfunc.C:
4178         * lyxtext.h:
4179         * text.C:
4180         * text2.C:
4181         * text3.C:
4182         * text_funcs.[Ch]:
4183         * textcursor.[Ch]:
4184         * undo_funcs.C: adjust
4185
4186 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text2.C (incrementItemDepth): new function, use a backtracking
4189         algorithm to discover the correct item depth.
4190         (resetEnumCounterIfNeeded): new function, use a backtracking
4191         algorithm to discover if counter reset is needed.
4192         (setCounter): use them. Simplify a bit. Add different labels for
4193         different item depths for itemize.
4194
4195         * paragraph.C (Paragraph): remove initialization of enumdepth
4196         (operator=): ditto
4197
4198         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4199         enumerate and itemize. Change the type of itemdepth to signed char.
4200
4201 2003-10-08  André Pönitz  <poenitz@gmx.net>
4202
4203         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4204           thing assignable.
4205         * text.C:
4206         * text2.C: adjust
4207
4208         * tabular.[Ch]: fix crash after 'row-insert'
4209
4210 2003-10-08  Angus Leeming  <leeming@lyx.org>
4211
4212         Fix doxygen warnings.
4213
4214         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4215         Remove CutAndPaste:: prefix from header file declaration.
4216
4217         * LColor.h (fill): remove LColor:: prefix from declaration.
4218
4219         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4220         use lyx::depth_type rather than Paragraph::depth_type so that
4221         header file and .C file match.
4222
4223         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4224
4225         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4226         * aspell.C: \file aspell_local.C -> \file aspell.C
4227         * gettext.C: \file gettext.C -> \file src/gettext.C
4228         * gettext.h: \file gettext.h -> \file src/gettext.h
4229         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4230         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4231         * text.C: \file text.C -> \file src/text.C
4232
4233         * toc.C: move comment so that doxygen is not confused.
4234
4235 2003-10-07  Angus Leeming  <leeming@lyx.org>
4236
4237         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4238
4239 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4240
4241         * aspell.C:
4242         * aspell_local.h: add forgotten std::string's.
4243
4244 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4245
4246         * LaTeXFeatures.C:
4247         * LyXAction.C:
4248         * factory.C:
4249         * lfuns.h:
4250         * lyxfunc.C:
4251         * text3.C: The Box patch. Fancybox support, minipage, parbox
4252
4253 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4254
4255         * CutAndPaste.h:
4256         * DepTable.h:
4257         * FloatList.h:
4258         * LaTeXFeatures.h:
4259         * ParagraphParameters.h:
4260         * TextCache.h:
4261         * Thesaurus.h:
4262         * bufferlist.h:
4263         * exporter.h:
4264         * importer.h:
4265         * lastfiles.h:
4266         * lyxfind.h:
4267         * lyxfont.h:
4268         * lyxlex.h:
4269         * lyxtextclasslist.h:
4270         * messages.h:
4271         * paragraph.h:
4272         * paragraph_pimpl.C:
4273         * textcursor.h: add <string> and other small fixes to make Lars'
4274         std::string patch compile with STLport.
4275
4276 2003-10-06  Angus Leeming  <leeming@lyx.org>
4277
4278         * LColor.h: Add missing #include <string>.
4279
4280 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * All most all file in all subdirs: Make <string> be the prefered
4283         way of getting to std::string, add using declarations.
4284
4285 2003-10-06  André Pönitz  <poenitz@gmx.net>
4286
4287         * metricsinfo.C: initialize LyXFont before changing attribute.
4288         (fixes the 'math in \emph is upright' bug)
4289
4290 2003-10-06  André Pönitz  <poenitz@gmx.net>
4291
4292         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4293
4294 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * graph.C:
4297         * paragraph_pimpl.C: Small fixes to build using STLport
4298
4299 2003-10-02  André Pönitz  <poenitz@gmx.net>
4300
4301         * lyxfunc.C:
4302         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4303
4304 2003-10-01  André Pönitz  <poenitz@gmx.net>
4305
4306         * factory.C: assert early
4307
4308 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * lyx_main.C: remove the global debug object
4311
4312         * debug.h: adjust for new debugstream
4313
4314         * debug.C: adjust for new debugstream and keep the global debug
4315         object here.
4316
4317 2003-09-22  Angus Leeming  <leeming@lyx.org>
4318
4319         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4320         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4321         an incomplete class LyXFont.
4322
4323 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4324
4325         * factory.C: bug fix in branches
4326
4327 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * lyxfunc.C (processKeySym): adjust
4330         (dispatch): adjust
4331         (dispatch): change arg name from ev to func, adjust
4332         (sendDispatchMessage): ditto
4333
4334         * lyx_main.C (defaultKeyBindings): adjust keybindings
4335         (deadKeyBindings): ditto
4336
4337         * kbsequence.C (addkey): return a FuncRequest
4338
4339         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4340
4341         * kbmap.C (bind): take a FuncRequest as arg, adjust
4342         (read): adjust
4343         (lookup): adjust
4344         (defkey): change to take a FuncRequest as arg, adjust
4345         (findbinding): take a FuncRequest as arg, adjust.
4346
4347         * funcrequest.h (operator=): added
4348
4349         * funcrequest.C (FuncRequest): default kb_action changed from
4350         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4351
4352         * buffer.C (dispatch): simplify
4353         (dispatch): adjust to take a FuncRequest as arg, adjust
4354
4355         * boost.C (assertion_failed): change assertion message slightly
4356
4357         * ToolbarBackend.C (read): simplify
4358
4359         * MenuBackend.C (binding): adjust call to findbinding, add a
4360         message if no binding is found.
4361         (read): simplify
4362         (expandToc): correct by adding a empty FuncRequest
4363
4364         * LyXAction.C: include <boost/assert.hpp>
4365         (isPseudoAction): delete function
4366         (LookupFunc): change name to...
4367         (lookupFunc): this. change return type to FuncRequest.
4368         (getActionName): take kb_action as arg, simplify
4369         (funcHasFlag): add an assert, simplify.
4370
4371 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * toc.C (action): return a FuncRequest, simplify
4374
4375         * lyxfunc.C (processKeySym): adjust
4376         (getStatus): delete version that takes an int.
4377         (getStatus): adjust
4378         (dispatch): delete version that takes action as int
4379         (dispatch): adjust
4380         (sendDispatchMessage): simplify and adjust
4381
4382         * funcrequest.C (getArg): take unsigned int as arg
4383
4384         * ToolbarBackend.C (read): adjust
4385         (add): delete version that takes func as a string.
4386         (getIton): take a FuncRequest as arg
4387
4388         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4389         action.
4390
4391         * MenuBackend.C (MenuItem): add a new construct that only takes a
4392         Kind, simplify the constructor use for submenus.
4393         (add): adjust
4394         (expandLastfiles): adjust
4395         (expandDocuments): adjust
4396         (expandFormats): adjust
4397         (expandFloatListInsert): adjust
4398         (expandFloatInsert): adjust
4399         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4400
4401         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4402         Remove class variables lyx_pseudo_map and lyx_arg_map
4403
4404         * LyXAction.C (searchActionArg): delete function
4405         (getPseudoAction): delete function
4406         (retrieveActionArg): delete function
4407         (LookupFunc): make it return kb_action, simplify.
4408         (getActionName): simplify
4409
4410         * factory.C (createInset): fix new bug
4411
4412 2003-09-19  Angus Leeming  <leeming@lyx.org>
4413
4414         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4415         masterFilename_ parameter in the include inset.
4416
4417         * factory.C (createInset): changes due to the changes to InsetInclude.
4418
4419 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4420
4421         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4422
4423 2003-09-18  Angus Leeming  <leeming@lyx.org>
4424
4425         * buffer.C:
4426         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4427         Inset::fillWithBibKeys.
4428         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4429
4430 2003-09-18  Angus Leeming  <leeming@lyx.org>
4431
4432         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4433         variables.
4434         (ctor): pass and store a 'Buffer const &'
4435         (buffer): new member function.
4436
4437         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4438         '*this' to the LaTeXFeatures ctor.
4439
4440 2003-09-18  Angus Leeming  <leeming@lyx.org>
4441
4442         * LColor.h:
4443         * lyxfont.C:
4444         * lyxfont.h:
4445         * lyxtext.h:
4446         * text.C: rename EnumLColor as LColor_color.
4447
4448 2003-09-18  Angus Leeming  <leeming@lyx.org>
4449
4450         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4451         remove #include "insets/insetbase.h" from cursor.h.
4452
4453 2003-09-18  Angus Leeming  <leeming@lyx.org>
4454
4455         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4456         InsetOld_code to remove #include "inset.h".
4457
4458         * iterators.C: add #include "insets/inset.h"
4459
4460 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4461
4462         * BufferView.C: remove more locking stuff that apparently doesn't
4463         do anything sensible.
4464
4465 2003-09-16  André Pönitz  <poenitz@gmx.net>
4466
4467         * paragraph.[Ch]:
4468         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4469           performance boost.
4470
4471 2003-09-16  Angus Leeming  <leeming@lyx.org>
4472
4473         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4474
4475         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4476         arg/return type.
4477
4478         * paragraph.h: remove #include "lyxfont.h". Forward declare
4479         LyXFont_size.
4480
4481 2003-09-16  Angus Leeming  <leeming@lyx.org>
4482
4483         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4484         of support/textutils.h.
4485         (isWord): move the contents of support/textutils.h's IsWordChar here.
4486
4487         * buffer.C:
4488         * lyxfind.C:
4489         * rowpainter.C:
4490         * text.C:
4491         * text2.C: add #include "paragraph.h".
4492
4493         * rowpainter.C:
4494         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4495
4496 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4497
4498         * main.C:
4499         * lyx_main.C:
4500         * lyx_cb.C:
4501         * buffer.C:
4502         * LaTeX.C: use namespace alias for lyx::support::os
4503
4504 2003-09-16  Angus Leeming  <leeming@lyx.org>
4505
4506         * bufferparams.C:
4507         * bufferview_funcs.C:
4508         * factory.C:
4509         * lyxfunc.C:
4510         * paragraph_pimpl.C:
4511         * rowpainter.C:
4512         * text.C: add #include "LColor.h".
4513
4514 2003-09-16  Angus Leeming  <leeming@lyx.org>
4515
4516         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4517         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4518         return LyXFont &.
4519         Store the FontBits::color variable as an int rather than as an
4520         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4521         file.
4522
4523         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4524         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4525         string calls together.
4526
4527         * lyxrc.C: add #include "LColor.h".
4528
4529 2003-09-15  Angus Leeming  <leeming@lyx.org>
4530
4531         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4532         a cow_ptr.
4533
4534 2003-09-15  Angus Leeming  <leeming@lyx.org>
4535
4536         * LColor.h: add an EnumLColor wrapper for LColor::color.
4537
4538         * lyxfont.[Ch] (color, setColor, realColor):
4539         * lyxtext.h, text.C (backgroundColor):
4540         pass EnumLColor args to/from the functions, rather than LColor::color
4541         ones.
4542
4543         * lyxfont.h:
4544         * lyxtext.h: forward declare EnumLColor.
4545
4546         * lyx_main.C: add #include "LColor.h".
4547
4548 2003-09-15  Angus Leeming  <leeming@lyx.org>
4549
4550         * .cvsignore: add lyx-gtk.
4551
4552 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * Chktex.C
4555         * LaTeX.C
4556         * LaTeXFeatures.C
4557         * ParagraphParameters.C
4558         * Spacing.C
4559         * buffer.C
4560         * bufferparams.C
4561         * bufferview_funcs.C
4562         * chset.C
4563         * counters.C
4564         * funcrequest.C
4565         * lyxfont.C
4566         * lyxgluelength.C
4567         * lyxlength.C
4568         * paragraph.C
4569         * paragraph_funcs.C
4570         * text3.C
4571         * vc-backend.C: remove usage of STRCONV
4572
4573 2003-09-15  Angus Leeming  <leeming@lyx.org>
4574
4575         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4576         explicitly define the color passed to the painter.
4577
4578 2003-09-15  Angus Leeming  <leeming@lyx.org>
4579
4580         * bufferparams.C (BufferParams): reorder member initializers to avoid
4581         compiler warning.
4582
4583 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4584
4585         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4586         * text.C (updateRowPositions): remove an unusual nop
4587
4588 2003-09-12  André Pönitz  <poenitz@gmx.net>
4589
4590         * BufferView_pimpl.C:
4591         * Bullet.C:
4592         * layout.h:
4593         * lyxfunc.C:
4594         * lyxlayout.[Ch]:
4595         * lyxtextclass.C:
4596         * rowpainter.C:
4597         * text.C:
4598         * text2.C:
4599         * Counters.[Ch]: finish the 'automatic counters' job
4600
4601 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4602
4603         * aspell.C: include <boost/assert.cpp> (compile fix)
4604
4605 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4606
4607         * boost.C (assertion_failed): use lyx::support::abort instead of
4608         assert.
4609
4610 2003-09-10  Angus Leeming  <leeming@lyx.org>
4611
4612         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4613         with their _fwd progeny.
4614
4615 2003-09-09  Angus Leeming  <leeming@lyx.org>
4616
4617         134 files throughtout the source tree: replace 'using namespace abc;'
4618         directives with the appropriate 'using abc::xyz;' declarations.
4619
4620 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4621
4622         * boost.C (emergencyCleanup): moved here from LAssert.c
4623         (assertion_failed): new function, called by BOOST_ASSERT
4624
4625         * several files: change Assert to BOOST_ASSERT
4626
4627 2003-09-09  Angus Leeming  <leeming@lyx.org>
4628
4629         * buffer.[Ch]: Add an Impl class and move Buffer's member
4630         variables into it. As a result move several header files out of
4631         buffer.h.
4632
4633         Add header files to lots of .C files all over the tree as a result.
4634
4635 2003-09-09  Angus Leeming  <leeming@lyx.org>
4636
4637         * buffer.[Ch]: make Buffer's member variables private. Add
4638         accessor functions.
4639
4640         Lots of changes all over the tree as a result.
4641
4642 2003-09-08  Angus Leeming  <leeming@lyx.org>
4643
4644         * graph.C: #include <config.h>.
4645
4646 2003-09-08  Angus Leeming  <leeming@lyx.org>
4647
4648         * BranchList.C:
4649         * BufferView.C:
4650         * BufferView_pimpl.C:
4651         * CutAndPaste.C:
4652         * DepTable.C:
4653         * LaTeX.C:
4654         * LaTeXFeatures.C:
4655         * LyXAction.C:
4656         * MenuBackend.C:
4657         * TextCache.C:
4658         * aspell.C:
4659         * buffer.C:
4660         * bufferlist.C:
4661         * changes.C:
4662         * chset.C:
4663         * converter.C:
4664         * counters.C:
4665         * debug.C:
4666         * graph.C:
4667         * ispell.C:
4668         * lyx_cb.C:
4669         * lyxfind.C:
4670         * lyxfunc.C:
4671         * lyxlex_pimpl.C:
4672         * lyxrc.C:
4673         * lyxrow.C:
4674         * paragraph.C:
4675         * rowpainter.C:
4676         * texrow.C:
4677         * text.C:
4678         * text2.C:
4679         * toc.C: remove redundant using directives.
4680
4681 2003-09-07  Angus Leeming  <leeming@lyx.org>
4682
4683         * LaTeXFeatures.h: remove #include "support/types.h".
4684         * ToolbarBackend.h: remove #include <algorithm>.
4685         * changes.h: remove #include <ctime>.
4686         * debug.h: remove #include <iosfwd>.
4687         * graph.h: remove #include "support/std_string.h".
4688         * lyx_main.h: remove #include <csignal>.
4689         * lyxlex_pimpl.h: remove #include <fstream>.
4690         * sgml.h: remove #include <algorithm>, <utility>.
4691         * toc.h: remove #include "support/std_ostream.h".
4692         Add #include <iosfwd>.
4693
4694 2003-09-07  Angus Leeming  <leeming@lyx.org>
4695
4696         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4697
4698         * converter.h: forward declare LatexRunParams.
4699         * encoding.h: remove #include "lyxrc.h".
4700         * lyxtext.h: remove #include "LColor.h".
4701         * lyxtextclass.h: remove #include "support/types.h".
4702         * trans.h: remove #include "tex-accent.h".
4703         * trans_mgr.h: remove #include "tex-accent.h".
4704         * insets/inset.h: remove #include "support/types.h", <vector>.
4705         * insets/insetcollapsable.h: remove #include "LColor.h".
4706         * insets/insetinclude.h: remove #include "dimension.h".
4707         * insets/insetlatexaccent.h: remove #include "dimension.h".
4708         * insets/insetoptarg.h:: remove #include "insettext.h".
4709         * insets/insettext.h: remove #include "dimension.h",
4710         <boost/shared_ptr.hpp>
4711
4712         * insets/renderers.h: add #include "dimension.h".
4713         * insets/updatableinset.h: add #include "support/types.h".
4714
4715         * many .C files: Associated changes.
4716
4717 2003-09-06  Angus Leeming  <leeming@lyx.org>
4718
4719         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4720         one, inside testInvariant.
4721
4722         * PrinterParams.C: new file.
4723         * PrinterParams.[Ch]: move the function bodies out of line.
4724
4725 2003-09-06  Angus Leeming  <leeming@lyx.org>
4726
4727         * ParagraphParameters.h: forward declare ParameterStruct rather than
4728         including its header file.
4729         (depth): moved out-of-line.
4730
4731 2003-09-06  Angus Leeming  <leeming@lyx.org>
4732
4733         * BufferView_pimpl.h:
4734         * kbmap.h:
4735         * kbsequence.h:
4736         * lyxfunc.h: forward declare LyXKeySym rather than
4737         #include "frontends/LyXKeySym.h".
4738
4739         * BufferView_pimpl.C:
4740         * kbmap.C:
4741         * kbsequence.C:
4742         * lyxfunc.C: associated changes.
4743
4744 2003-09-06  Angus Leeming  <leeming@lyx.org>
4745
4746         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4747         As a result, can remove the #include "insets/inset.h" from BufferView.h
4748
4749 2003-09-06  Angus Leeming  <leeming@lyx.org>
4750
4751         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4752         As a result, can remove the #include "insets/inset.h" from BufferView.h
4753
4754 2003-09-06  Angus Leeming  <leeming@lyx.org>
4755
4756         * buffer_funcs.C:
4757         * buffer.h:
4758         * bufferlist.C:
4759         * BufferView.C:
4760         * bufferview_funcs.C:
4761         * BufferView_pimpl.C:
4762         * CutAndPaste.C:
4763         * lyx_cb.C:
4764         * lyxfunc.C:
4765         * paragraph.h:
4766         * ParagraphParameters.C:
4767         * tabular.C:
4768         * text3.C:
4769         * toc.C:
4770         * undo_funcs.C:
4771         * frontends/controllers/ControlDocument.C:
4772         * insets/insetcaption.C: rearrange the #includes into some sort of
4773         coherent order.
4774
4775         * buffer.h: remove #includes ErrorList.h, undo.h
4776
4777 2003-09-06  Angus Leeming  <leeming@lyx.org>
4778
4779         * support/types.h: add a 'depth_type' typedef, used to store the
4780         nesting depth of a paragraph.
4781
4782         * paragraph.h:
4783         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4784         defining explicitly.
4785
4786         * buffer.h:
4787         * paragraph_funcs.h:
4788         * ParagraphParameters.h:
4789         * sgml.h: use lyx::depth_type rather than Paragraph or
4790         ParameterStruct's depth_type.
4791
4792         * buffer.h
4793         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4794
4795         * BufferView.C:
4796         * BufferView_pimpl.C:
4797         * CutAndPaste.C:
4798         * ParagraphParameters.C:
4799         * buffer_funcs.C:
4800         * bufferlist.C:
4801         * bufferview_funcs.C:
4802         * lyx_cb.C:
4803         * lyxfunc.C:
4804         * tabular.C:
4805         * text3.C:
4806         * toc.C:
4807         * undo_funcs.C:
4808         * frontends/LyXView.C:
4809         * frontends/controllers/ControlDocument.C:
4810         * frontends/controllers/ControlErrorList.C:
4811         * insets/insetbibitem.C:
4812         * insets/insetbranch.C:
4813         * insets/insetcaption.C:
4814         * insets/insetcollapsable.C:
4815         * insets/insetenv.C:
4816         * insets/insetert.C:
4817         * insets/insetfloat.C:
4818         * insets/insetfoot.C:
4819         * insets/insetfootlike.C:
4820         * insets/insetnewline.C:
4821         * insets/insetquotes.C:
4822         * insets/insettabular.C:
4823         * insets/insettext.C:
4824         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4825
4826         * frontends/controllers/ControlChanges.C: #include "changes.h".
4827
4828 2003-09-06  Angus Leeming  <leeming@lyx.org>
4829
4830         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4831         than #including paragraph.h.
4832
4833         * ParagraphList.h:
4834         * RowList.h: deleted. Superfluous.
4835
4836         * CutAndPaste.h:
4837         * iterators.h:
4838         * lyxcursor.h:
4839         * lyxtext.h:
4840         * text_funcs.h:
4841         * undo.h:
4842         * undo_funcs.h:
4843         * insets/inset.h:
4844         * insets/insettext.h: use ParagraphList_fwd.h rather than
4845         ParagraphList.h.
4846
4847         * paragraph.h: don't forward declare ParagraphList.
4848
4849         * buffer.h:
4850         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4851         rather than ParagraphList.h. paragraph.h is still needed for the
4852         Paragraph::depth_type parameters.
4853
4854         * textcursor.h: enable it to compile stand-alone in light of the
4855         above changes.
4856
4857         * bufferview_funcs.C:
4858         * iterators.C:
4859         * lyxfunc.C:
4860         * lyxrow_funcs.C:
4861         * paragraph.C:
4862         * rowpainter.C:
4863         * text.C:
4864         * text2.C:
4865         * text3.C:
4866         * text_funcs.C:
4867         * textcursor.C:
4868         * undo.C:
4869         * frontends/controllers/ControlParagraph.C:
4870         * frontends/controllers/ControlTabular.C:
4871         * insets/insetmarginal.C:
4872         * insets/insetminipage.C:
4873         * insets/insetnote.C:
4874         * insets/insetoptarg.C: add header files needed to compile again.
4875
4876 2003-09-06  Angus Leeming  <leeming@lyx.org>
4877
4878         * RowList_fwd.h: new file, forward-declaring Row rather than
4879         #including lyxrow.h.
4880
4881         * lyxrow_funcs.h:
4882         * lyxtext.h:
4883         * paragraph.h:
4884         * insets/insettext.h: use it instead of RowList.h
4885
4886         * bufferview_funcs.C:
4887         * lyxfunc.C:
4888         * lyxrow_funcs.C:
4889         * paragraph.C:
4890         * rowpainter.C:
4891         * text.C:
4892         * text2.C:
4893         * text3.C: #include "RowList.h".
4894
4895 2003-09-05  Angus Leeming  <leeming@lyx.org>
4896
4897         * factory.C (createInset):
4898         * vspace.C (c-tor): replace sscanf call with an istringstream.
4899         * ispell.C: re-add missing HP/UX headers.
4900         * lyxserver.C: re-add missing  os2 headers.
4901
4902 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4903
4904         * BranchList.C:
4905         * graph.C:
4906         * ispell.C:
4907         * lastfiles.C:
4908         * lyx_cb.C:
4909         * lyxserver.C:
4910         * texrow.C:
4911         * text3.C: re-add missing system headers, needed for 2.95.2.
4912
4913 2003-09-05  Angus Leeming  <leeming@lyx.org>
4914
4915         Changes most place everywhere due to the removal of using directives
4916         from support/std_sstream.h.
4917
4918 2003-09-05  Angus Leeming  <leeming@lyx.org>
4919
4920         Replace LString.h with support/std_string.h,
4921         Lsstream.h with support/std_sstream.h,
4922         support/LIstream.h with support/std_istream.h,
4923         support/LOstream.h with support/std_ostream.h.
4924
4925         Changes resulting throughout the tree.
4926
4927 2003-09-05  Angus Leeming  <leeming@lyx.org>
4928
4929         * sgml.h: ensure that the header file can be compiled stand-alone.
4930         * *.C: strip out redundant #includes. (320 in total.)
4931
4932 2003-09-04  Angus Leeming  <leeming@lyx.org>
4933
4934         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4935         here (from getPackages).
4936
4937         * debug.[Ch]: add a new EXTERNAL tag.
4938
4939 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4940
4941         * text2.C (cursorEnd): simplify
4942         (setCursor): adjust
4943         (getColumnNearX): adjust
4944
4945         * text.C (computeBidiTables): adjust
4946         (fill): adjust
4947
4948         * rowpainter.C (paintChars): adjust
4949         (paintSelection): adjust
4950         (paintChangeBar): adjust
4951         (paintText): adjust
4952
4953         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4954         lastPos instead.
4955         (numberOfSeparators): adjust
4956
4957 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4958
4959         * LyXAction.C:
4960         * box.[Ch]:
4961         * lfuns.h:
4962         * lyxfunc.C:
4963         * text3.C: Restricts the mouse click functionality
4964         of insets like bibtex, include, toc and floatlist to the visible
4965         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4966         up the dialogs. Cursor has to be in front of the inset (i.e.
4967         start of row) for this to function.
4968
4969 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4970
4971         * bufferview_funcs.C (currentState): output row information
4972
4973 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4974
4975         * bufferview_funcs.C (currentState): output paragraph position
4976
4977 2003-09-04  Angus Leeming  <leeming@lyx.org>
4978
4979         * FloatList.h: move out #include "Floating.h".
4980         * LaTeX.h: move out #include "DepTable.h".
4981         * LyXAction.h: move out #include "funcrequest.h".
4982         * buffer.h: move out #include "author.h", "iterators.h".
4983         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4984         * lyx_main.h: move out #include "errorlist.h".
4985         * lyxfunc.h: move out #include "FuncStatus.h".
4986         * lyxtext: move out #include "lyxcursor.h".
4987         * paragraph_pimpl.h: move out #include "counters.h".
4988
4989 2003-09-03  Angus Leeming  <leeming@lyx.org>
4990
4991         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4992         preamble_snippets list, enabling us to add snippets to the preamble
4993         only if the snippet was not there already.
4994
4995 2003-09-04  Angus Leeming  <leeming@lyx.org>
4996
4997         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4998
4999 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5000
5001         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5002         update
5003
5004 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5005
5006         * BranchList.C: point fix, earlier forgotten
5007
5008 2003-09-02  Angus Leeming  <leeming@lyx.org>
5009
5010         * box.C (contains): renamed from 'contained' after a fantastic
5011         amount of hot air.
5012
5013 2003-09-02  John Levon  <levon@movementarian.org>
5014
5015         * BufferView.C:
5016         * lyxcursor.h:
5017         * lyxcursor.C:
5018         * lyxfunc.C:
5019         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5020
5021 2003-09-02  John Levon  <levon@movementarian.org>
5022
5023         * text2.C: simplification of cursorEnd(), including partial
5024         fix for bug 1376
5025
5026 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5027
5028         * buffer.C (readFile): add a space
5029
5030 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5033
5034 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5035
5036         * buffer.C (readFile): new function, take a filename and a
5037         ParagraphList::iterator
5038         (readFile): adjust
5039         (readFile): adjust, make it private. don't use setStream, make
5040         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5041         always contain the filename.
5042
5043         * BufferView.C (insertLyXFile): simplify and make it work for
5044         gzipped files.
5045
5046 2003-08-30  John Levon  <levon@movementarian.org>
5047
5048         * Makefile.am: fix dist (from Kayvan)
5049
5050 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * most files: change to use const Buffer refs
5053
5054 2003-08-27  André Pönitz  <poenitz@gmx.net>
5055
5056         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5057         on top of ownerPar().
5058
5059 2003-08-27  John Levon  <levon@movementarian.org>
5060
5061         * funcrequest.C: properly initialise POD members
5062
5063 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * lyxtext.h (top_y): move top_y from here
5066         * text.C:
5067         * text2.C:
5068         * text3.C:
5069         * BufferView.[Ch]:
5070         * BufferView_pimpl.[Ch]: to here
5071         * frontends/screen.C:
5072         * insets/insettabular.C:
5073         * insets/insettext.C: adjust
5074         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5075
5076 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5077
5078         * BufferView.[Ch]:
5079         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5080
5081 2003-08-26  André Pönitz  <poenitz@gmx.net>
5082
5083         * paragraph_func.[Ch] (outerPar): new function
5084
5085         * paragraph.C:
5086         * paragraph_funcs.C:
5087         * paragraph_funcs.h:
5088         * paragraph_pimpl.C:
5089         * text2.C: remove Inset::par_owner
5090
5091 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5092
5093         * lyxrow_funcs.C:
5094         * lyxtext.h:
5095         * text.C:
5096         * text2.C: eliminates the needFullRow/display() stuff
5097         altogether, putting the logic in metrics/draw in the insets.
5098
5099 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5100
5101         * text2.C (redoParagraphInternal, redoParagraphs):
5102         * text.C (redoParagraph): add a call to updateRowPositions at the
5103         end of each 'metrics-like' call. Remove all others.
5104         (getRow): remove the 'y-computing' version.
5105         (getRowNearY): do not compute nor return the real y. Solve the
5106         'y < 0' problem and simplify.
5107
5108 2003-08-22  Angus Leeming  <leeming@lyx.org>
5109
5110         * *.[Ch]: clean-up of licence and author blurbs.
5111         Also move config.h out of a few .h files and into a few .C files.
5112
5113 2003-08-22  André Pönitz  <poenitz@gmx.net>
5114
5115         * lyxrow.[Ch]: add x_ and *fill_ members
5116
5117         * lyxtext.h:
5118         * text.C:
5119         * rowpainter.C:
5120         * text2.C: adjust/remove prepareToPrint() calls
5121
5122 2003-08-22  André Pönitz  <poenitz@gmx.net>
5123
5124         * lyxrow.[Ch]: add  end_ member
5125
5126         * lyxrow_funcs.C: use LyXRow::end_
5127
5128         * lyxtext.h (singleWidth): add LyXFont parameter
5129
5130         * rowpainter.C:
5131         * text2.C: adjust LyXText::singleWidth() calls
5132
5133         * text.C (redoParagraph): simplify row breaking logic
5134
5135
5136 2003-08-19  André Pönitz  <poenitz@gmx.net>
5137
5138         * funcrequest.C: initialize button_ member
5139
5140         * text3.C:
5141         * rowpainter.[Ch]: interface consolidation
5142
5143 2003-08-18  André Pönitz  <poenitz@gmx.net>
5144
5145         * BufferView.C:
5146         * BufferView_pimpl.C:
5147         * lyxfind.C:
5148         * paragraph_funcs.C:
5149         * rowpainter.C:
5150         * text3.C: remove LyXScreen::draw() and fitCursor calls
5151
5152         * BranchList.h: remove spurious semicolons
5153
5154         * MenuBackend.C: fix branchlist related crash
5155
5156 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5157
5158         * BranchList.[Ch]:
5159         * InsetList.[Ch]:
5160         * LColor.[Ch]:
5161         * LyXAction.C:
5162         * Makefile.am:
5163         * MenuBackend.[Ch]:
5164         * bufferparams.[Ch]:
5165         * factory.C:
5166         * lfuns.h:
5167         * lyxfunc.C:
5168         * text3.C: implements the 'branch inset'
5169         idea. This allows the output of various versions of a document
5170         from a single source version, selectively outputing or suppressing
5171         output of parts of the text.
5172         This implementation contains a 'branch list editor' in a separate
5173         tab of the document settings dialog. Branches are user definable
5174         and have a "display colour" to distinguish them on-screen.
5175
5176         ColorHandler was somewhat cleaned up.
5177         (1) make possible a dynamically growing LColor list by allowing
5178         the graphic context cache to grow along (vector);
5179         (2) eliminate an IMHO unnecessary step in colour allocation.
5180
5181 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5182
5183         * BufferView_pimpl.C: compile fix
5184
5185 2003-08-15  André Pönitz  <poenitz@gmx.net>
5186
5187         * rowpainter.C: remove extra metrics calls
5188
5189         * lyxtext.h: merge the two constructors into a single one,
5190           pass reference to owner's par list
5191
5192         * BufferView_pimpl.C:
5193         * text.C:
5194         * text2.C: adjust
5195
5196 2003-08-15  André Pönitz  <poenitz@gmx.net>
5197
5198         * lyxrow_funcs.[Ch]:
5199         * lyxtext.h:
5200         * paragraph.h:
5201         * paragraph_funcs.C:
5202         * rowpainter.C:
5203         * text.C:
5204         * text2.C:
5205         * text3.C:
5206         * text_funcs.C: split LyXText::rowlist_ into individual
5207         Paragraph::rows_ chunks
5208
5209         * BufferView.[Ch]:
5210         * BufferView_pimpl.[Ch]:
5211         * lyxfind.C:
5212         * lyxtext.h:
5213         * text3.C: remove toggleSelection()
5214
5215 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5216
5217         * bufferlist.C: beautify two alerts (shorter text of buttons)
5218         * buffer.C: Remove redundant ' ' from message
5219         * tabular.h:
5220         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5221         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5222         rename VALIGN_CENTER to VALIGN_MIDDLE
5223
5224 2003-08-11  André Pönitz  <poenitz@gmx.net>
5225
5226         * lyxtext.h (getPar):
5227         * text.C: new function
5228
5229 2003-08-11  André Pönitz  <poenitz@gmx.net>
5230
5231         * Makefile.am:
5232         * tracer.[Ch]: remove unneeded files
5233
5234         * InsetList.[Ch]: remove resizeInsetsLyXText()
5235
5236         * lyxtext.h:
5237         * text.C:
5238         * text2.C:
5239         * text3.C: merge insertParagraphs() and appendParagraph()
5240         remove breakAgain(), update()
5241
5242         * BufferView_pimpl.[Ch]:
5243         * bufferview_funcs.[Ch]:
5244         * lyxfunc.C:
5245         * paragraph.[Ch]:
5246         * rowpainter.C:
5247         * tabular.C: adjust after text & InsetList changes.
5248
5249 2003-08-08  André Pönitz  <poenitz@gmx.net>
5250
5251         * text.C (insertChar, backspace): replace rowlist fiddling
5252         with rebreak of full par
5253
5254         * lyxtext.h:
5255         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5256         checkParagraph, updateInset): removed
5257
5258 2003-08-07  André Pönitz  <poenitz@gmx.net>
5259
5260         * paragraph.C:
5261         * text3.C: merge some LFUN handlers, remove dead code
5262
5263 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5264
5265         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5266
5267 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5268
5269         * text2.C (DEPM): fix part of bug 1255 and 1256
5270
5271 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5272
5273         * BufferView_pimpl.C (workAreaDispatch): change to use
5274         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5275         that are no mouse related.
5276
5277 2003-08-05  André Pönitz  <poenitz@gmx.net>
5278
5279         * BufferView.[Ch]:
5280         * BufferView_pimpl.[Ch]:
5281         * bufferview_funcs.C:
5282         * text2.C:
5283         * text3.C: rip out "deep update"
5284
5285         * textcursor.[Ch] (last_sel_cursor): remove unused member
5286
5287 2003-08-04  André Pönitz  <poenitz@gmx.net>
5288
5289         * BufferView.[Ch]:
5290         * BufferView_pimpl.[Ch]:
5291         * ParagraphParameters.C:
5292         * bufferview_funcs.C:
5293         * lyx_cb.C:
5294         * lyxfind.C:
5295         * lyxfunc.C:
5296         * text.C:
5297         * text2.C:
5298         * text3.C: replace "complicated" BufferView::update(...) calls with
5299         simpler ones.
5300
5301         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5302
5303 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5304
5305         * Makefile.am (lyx_SOURCES): add paper.h
5306
5307 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5308
5309         * Makefile.am: move things around so that both lyx-qt and
5310         lyx-xforms can be built (according to --with-frontend). Then lyx
5311         is a symbolic link to lyx-[firstfrontend]
5312
5313 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5314
5315         * Always use std::endl with lyxerr
5316
5317 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5318
5319         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5320
5321 2003-08-01  André Pönitz  <poenitz@gmx.net>
5322
5323         * BufferView.[Ch]:
5324         * BufferView_pimpl.[Ch]:
5325         * lyxfunc.C:
5326         * text3.C: merge BufferView::repaint() and BufferView::update()
5327
5328 2003-08-01  José Matos  <jamatos@lyx.org>
5329
5330         * buffer.[Ch]: file_format is no longer a buffer data element.
5331
5332 2003-08-01  André Pönitz  <poenitz@gmx.net>
5333
5334         * BufferView.C:
5335         * lyxtext.h:
5336         * text.C:
5337         * text2.C: make redoParagraph more independent of current cursor
5338
5339         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5340         * text.C:
5341         * text2.C: remove unneeded members
5342
5343 2003-07-30  André Pönitz  <poenitz@gmx.net>
5344
5345         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5346
5347         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5348           create a single function...
5349
5350         * paragraph_funcs.C (moveItem): ... here.
5351
5352         * text.C:
5353           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5354
5355 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5356
5357         * LColor.[Ch]: Add comment and greyedout logical colors.
5358
5359 2003-07-30  André Pönitz  <poenitz@gmx.net>
5360
5361         * tabular.C: don't use Assert too heavily. This crashes where it
5362           shouldn't
5363
5364 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5365
5366         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5367         is disabled (bug 1232)
5368
5369 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5370
5371         * factory.C: limited 'arg' scope
5372
5373 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5374
5375         * factory.C: fixed Note submenu issues
5376
5377 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5378
5379         * factory.C: submenu for Note/Comment/Greyedout
5380
5381 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5382
5383         * lyx_main.C (LyX):
5384         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5385
5386 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5387
5388         * LaTeXFeatures.C:
5389         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5390         greyedout. Patch provided by Jürgen Spitzmüller.
5391
5392 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5393
5394         * kbmap.C (read): fix error message when reading bind files
5395
5396 2003-07-29  Angus Leeming  <leeming@lyx.org>
5397
5398         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5399         certainly does not do what it purports to do. I am doing it, and
5400         us, a favour by killing it.
5401
5402 2003-07-28  José Matos  <jamatos@lyx.org>
5403
5404         * buffer.C (readBody, do_writeFile):
5405         * paragraph.C(readParagraph): \end_document replaces \the_end.
5406
5407 2003-07-29  André Pönitz  <poenitz@gmx.net>
5408
5409         * BufferView.[Ch]:
5410         * BufferView_pimpl.[Ch]:
5411         * lyxfunc.C:
5412         * text2.C:
5413         * text3.C:
5414         * textcursor.[Ch]: remove toggleToggle & Co
5415
5416 2003-07-28  José Matos  <jamatos@fep.up.pt>
5417
5418         * buffer.C (readParagraph):
5419         * params_func (readParToken, readParagraph):
5420         * paragraph.C (write): \layout -> \begin_layout.
5421
5422 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * lyxlex_pimpl.C (setFile): clean up slightly.
5425
5426         * bufferparams.h: add compressed var
5427
5428         * buffer_funcs.C (readFile): adjust for LyXLex change
5429         (newFile): ditto + simplify
5430
5431         * buffer.C (writeFile): handle writing of compressed files
5432
5433         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5434         Check if the file is compressed and set a bufferparm if so.
5435
5436         * Makefile.am (lyx_LDADD): remove explicit -lz
5437
5438 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5439
5440         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5441         makeDocBookFile): put the real LyX version in the first line of
5442         the file
5443
5444         * version.h:
5445         * version.C.in: remove lyx_docversion
5446
5447         * tabular.C (write_attribute): add a template-based version to
5448         write enums properly
5449
5450 2003-07-28  André Pönitz  <poenitz@gmx.net>
5451
5452         * lyxtext.h:
5453         * text.C:
5454         * text2.C:
5455         * text3.C: use doubles again for x-coordinates. They are needed.
5456
5457 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * messages.C (getLocaleDir): use lyx_localedir()
5460
5461         * lyxlex_pimpl.C (setFile): compress stuff
5462
5463         * buffer.C (writeFile): add some compression stuff
5464         (do_writeFile): new func, dont call expliti close... will this
5465         breake anything?
5466
5467         * Makefile.am (lyx_LDADD): add -lz
5468
5469 2003-07-28  José Matos  <jamatos@fep.up.pt>
5470
5471         * buffer.C: increment file format.
5472         * paragraph_funcs (readParagraph, readParToken):
5473         * paragraph.C (readParagraph): add \end_layout.
5474
5475 2003-07-27  Angus Leeming  <leeming@lyx.org>
5476
5477         * Makefile.am: remove special casing for configure-time setting of
5478         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5479
5480         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5481         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5482
5483 2003-07-26  André Pönitz  <poenitz@gmx.net>
5484
5485         * paragraph_func.[Ch]:
5486         * paragraph.C (realizeFont): inline it whereever it is used
5487
5488         * rowpainter.C:
5489         * text.C:
5490         * text2.C:
5491         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5492
5493
5494 2003-07-26  André Pönitz  <poenitz@gmx.net>
5495
5496         *       lyxtext.h:
5497         * text.C:
5498         * text2.C: get rid of LyXText::need_break_row
5499
5500 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * toc.[Ch]: put namespace toc inside namespace lyx
5503
5504         * MenuBackend.C (expandToc2): adjust for lyx::toc
5505         (expandToc): ditto
5506
5507         * lyxfunc.C (dispatch): adjust for lyx::find
5508
5509         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5510         lyx::find instead. Reorganize a bit.
5511         (LyXReplace): rename to replace
5512         (LyXFind): rename to find
5513
5514         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5515         (dispatch): ditto
5516
5517 2003-07-26  André Pönitz  <poenitz@gmx.net>
5518
5519         * text.C (setHeightOfRow): restrict scope of temporary variable
5520
5521         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5522           code (never has been used?)
5523
5524 2003-07-27  Asger Alstrup  <alstrup@local>
5525
5526         * text.C (fill): Optimise algorithm to exploit that we can reuse
5527         the LyXFont for many characters.
5528         (setHeightOfRow): Same thing.
5529         (rowBreakPoint): Same thing.
5530
5531 2003-07-26  Asger Alstrup  <alstrup@local>
5532
5533         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5534
5535         * text.C (singleWidth): Spurious font copying in hot-spot
5536         singleWidth avoided. Reorder tests for arabic for efficiency.
5537
5538         * text.C (fill): handle empty paragraphs better.
5539
5540 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5541
5542         * ispell.C:
5543         * encoding.h: add includes
5544
5545         * lyxrc.C: remove reading of bind files
5546
5547         * lyx_main.C (init): setup bindings and menus only if we have a
5548         gui.
5549
5550         * kbmap.C (read): new method. Do the actual reading of bind
5551         files.
5552
5553         * converter.C (dvipdfm_options):
5554         * bufferparams.C:
5555         * lyxrc.C (read):
5556         (output): adapt PAPER_* enums.
5557
5558         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5559
5560         * bufferparams.h: remove paper-related enums from there
5561
5562         * paper.h: New file. A trivial header file to hold paper-related
5563         enums. It should later expand to contain many paper-related
5564         horrors access.
5565
5566         * lyxrc.C: declare extern displayTranslator
5567
5568 2003-07-27  José Matos  <jamatos@fep.up.pt>
5569
5570         * tabular.[Ch] (linuxdoc): add support for tables and figures
5571         (linuxdoc).
5572
5573 2003-07-27  José Matos  <jamatos@fep.up.pt>
5574
5575         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5576         consistency in both functions.
5577         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5578
5579 2003-07-26  Asger Alstrup  <alstrup@local>
5580
5581         * rowpainter.C (paintRows): Change algorithm to work directly on
5582         the insets rather than asking every character in the document
5583         whether its an inset.
5584
5585 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5586
5587         * buffer.C (openFileWrite): factorize some code
5588
5589 2003-07-26  Angus Leeming  <leeming@lyx.org>
5590
5591         * lyx_cb.C:
5592         * lyx_main.[Ch]: replace occurances of system_tempdir with
5593         os::getTmpDir().
5594
5595 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * rename Inset to InsetOld
5598
5599 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5600
5601         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5602         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5603         which I think is a bit clearer. EDIT is gone, since it was
5604         premature optimisation, and broken for mathed anyway.
5605         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5606         with cursor positioning in insets as well (math insets still do not
5607         work, but that's a different story anyway.) It mysteriously
5608         crashes sometimes with undo in the first paragraph, but I'm fairly
5609         confident that this is a compiler bug.
5610
5611 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * paragraph.C (Paragraph): adjust for new clone return type
5614         (operator==): ditto
5615         (copyIntoMinibuffer): ditto
5616
5617 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5618
5619         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5620         by not having a special case, and always doing a full rebreak of
5621         the document after undo.
5622
5623 2003-07-23  Angus Leeming  <leeming@lyx.org>
5624
5625         * factory.C (createInset): InsetExternal::setParams now takes a
5626         Buffer const * arg.
5627
5628 2003-07-23  Angus Leeming  <leeming@lyx.org>
5629
5630         * factory.C (createInset): changed interface to the external and
5631         graphics mailers' string2params functions.
5632
5633 2003-07-23  Angus Leeming  <leeming@lyx.org>
5634
5635         * factory.C (createInset): pass a
5636         Buffer const * parameter to InsetExternalMailer's string2params.
5637
5638 2003-07-22  John Levon  <levon@movementarian.org>
5639
5640         * Thesaurus.h: include the right aiksaurus header
5641
5642 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5643
5644         * MenuBackend.C (expand): check menu shortcuts unconditionally
5645
5646 2003-07-21  Angus Leeming  <leeming@lyx.org>
5647
5648         * factory.C (createInset): pass a
5649         buffer_path parameter to InsetGraphicsMailer's string2params.
5650
5651 2003-07-21  Angus Leeming  <leeming@lyx.org>
5652
5653         * BufferView_pimpl.C (buffer):
5654         * buffer.C (d-tor):
5655         * lyx_main.C (LyX):
5656         * lyxfunc.C (dispatch):
5657         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5658         rather than the grfx shortcut.
5659
5660 2003-07-21  André Pönitz  <poenitz@gmx.net>
5661
5662         * rowpainter.C: remove unused variables
5663
5664         * tabular_funcs.C:
5665         * tabular_funcs.h: move to tabular.C
5666         * Makefile.am: adjust
5667
5668         * tabular.[Ch]: basic optical cleaning
5669
5670         * author.h: pass references, not values
5671
5672 2003-07-18  André Pönitz  <poenitz@gmx.net>
5673
5674         * lyxtext.h:
5675         * metricsinfo.C:
5676         * metricsinfo.h:
5677         * rowpainter.C:
5678         * text.C:
5679         * text2.C:
5680         * text3.C: two-phase drawing for InsetText and InsetTabular
5681         some float -> int changes.
5682
5683 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5684
5685         * lyx_main.C: fix the fix
5686
5687 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5688
5689         * lyx_main.C: fix a crash in batch mode if no files specified
5690         * converter.C: ws
5691
5692 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5693
5694         * format.[Ch] (papersize): moved to BufferParams
5695         * converter.[Ch] (dvips_options): moved to BufferParams
5696         (dvipdfm_options): moved to anon namespace
5697         * bufferparams.[Ch]: added above functions.
5698
5699 2003-07-17  André Pönitz  <poenitz@gmx.net>
5700
5701         * lyxtext.h:
5702         * rowpainter.C:
5703         * text2.C: don't call inset->update() anymore
5704
5705         * metricsinfo.[Ch]: add convenience constructor
5706
5707 2003-07-16  André Pönitz  <poenitz@gmx.net>
5708
5709         * lyxcursor.[Ch]:
5710         * lyxfunc.[Ch]:
5711         * text.C:
5712         * text2.C: replace the LyXCursor::irow_ member with
5713          on-demand computation of the value
5714
5715 2003-07-16  John Levon  <levon@movementarian.org>
5716
5717         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5718
5719 2003-07-15  André Pönitz  <poenitz@gmx.net>
5720
5721         * text.C:
5722         * text2.C: remove no more needed refresh_row
5723
5724 2003-07-15  André Pönitz  <poenitz@gmx.net>
5725
5726         * lyxtext.h:
5727         * rowpainter.C:
5728         * text2.C:
5729         * text3.C: refresh_status tristate -> need_update bool
5730
5731 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5732
5733         * lyxtext.h (init): remove reinit argument (act as if always true)
5734         * text2.C: adjust to that
5735
5736 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5737
5738         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5739         * text3.C: use it to delete selections in some cases
5740         (bugs 441, 673, 702, 954).
5741
5742 2003-07-14  André Pönitz  <poenitz@gmx.net>
5743
5744         * rowpainter.[Ch]: reduce interface
5745
5746 2003-07-14  André Pönitz  <poenitz@gmx.net>
5747
5748         * BufferView_pimpl.C:
5749         * text2.C: adjust after removing unused BufferView * argument
5750
5751 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5752
5753         * text2.C (init): fix a crash fired on resize
5754
5755 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5756
5757         * buffer.[Ch]: added new closing signal
5758         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5759         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5760         BufferView::Pimpl via the closing the signal
5761
5762 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5763
5764         * buffer.[Ch]: take out all bv-related from buffer
5765         * BufferView.C:
5766         * BufferView_pimpl.[Ch]: connect to new signals
5767         * CutAndPaste.C: removed useless asserts
5768         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5769         * lyxvc.[Ch]:
5770         * vc-backend.[Ch]:
5771         * lyxfunc.C: moved view-related funciontality from vc here
5772         * paragraph.C: removed outdated comments
5773         * text.C: ws
5774
5775 2003-07-10  André Pönitz  <poenitz@gmx.net>
5776
5777         * BufferView_pimpl.C:
5778         * tabular.h:
5779         * tabular_funcs.C:
5780         * text.C:
5781         * text2.C: remove InsetText::InnerCache, clean up consequences
5782
5783 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5784
5785         * ispell.C: fix two typos in error messages
5786
5787 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5788
5789         * Extend Note inset to other forms of annotation like Comment
5790         and Greyedout. Right button click gives dialog.
5791
5792         Files modified or added (+):
5793
5794         * insetnote.[Ch]
5795         * FormNote.[Ch]      +
5796         * ControlNote.[Ch]   +
5797         * form_note.fd       +
5798         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5799         frontends/controllers
5800         * xforms/Dialogs.C
5801         * factory.C
5802
5803 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5804
5805         * aspell.C: add missing namespace lyx::support
5806
5807 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5808
5809         * BufferView.[Ch] (newFile): Add
5810         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5811         * LaTeX.[Ch] (message): added this signal and use it
5812         * buffer.[Ch] (busy, message): added these signals and use them
5813         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5814         * converter.C:
5815         * exporter.C:
5816         * format.C:
5817         * importer.C: use buffer signals instead of direct bv calling
5818         * lyx_cb.[Ch] (ShowMessage): removed
5819         * lyx_main.C:
5820         * lyxfunc.C:
5821         * paragraph_funcs.C:
5822         * text2.C: use buffer signals
5823
5824 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * introduce namespace lyx::graphics
5827
5828 2003-07-02  André Pönitz  <poenitz@gmx.net>
5829
5830         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5831
5832 2003-07-01  André Pönitz  <poenitz@gmx.net>
5833
5834         * text.C:
5835         * text2.C:
5836         * text3.C:
5837         * text_funcs.[Ch]:
5838         * textcursor.h:
5839         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5840           text*.C to text_func.C
5841
5842 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * introduce namespace lyx::support
5845
5846 2003-06-30  André Pönitz  <poenitz@gmx.net>
5847
5848         * Chktex.C:
5849         * funcrequest.C:
5850         * lyxtext.h:
5851         * text.C: re-enable --with-included-string
5852
5853 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5854
5855         * textcursor.C: add <config.h>
5856
5857         * text.C (getWord): remove const from word_location arg
5858
5859         * lyxvc.C (getLogFile): fix const type order
5860
5861         * lyxtext.h: remove const from word_location arg, add arg name
5862
5863         * lyxlayout.h: currect type on labeltype.
5864
5865         * importer.C: correct \file
5866
5867         * converter.C (intToFormat): use std:: on ret val, ws changes
5868
5869         * bufferlist.h: correct \file
5870
5871         * buffer.C (makeLinuxDocFile): fix const type order
5872         (makeDocBookFile): ditto
5873         (fillWithBibKeys): use std:: on stdlib args.
5874
5875         * CutAndPaste.C: fix authors.
5876         (availableSelections): use std:: on return vector
5877
5878 2003-06-27  André Pönitz  <poenitz@gmx.net>
5879
5880         * BufferView_pimpl.C:
5881         * bufferview_funcs.C:
5882         * lyxcursor.C:
5883         * lyxcursor.h:
5884         * lyxfunc.C:
5885         * lyxtext.h:
5886         * rowpainter.C:
5887         * text.C:
5888         * text2.C:
5889         * text3.C: remove LyXCursor::row_ member
5890
5891         * lyxtext.h:
5892         * text.C: rename fullRebreak() to partialRebreak() and implement
5893           a fullRebreak() that really bereks fully
5894
5895         * textcursor.h: new struct for cursor-related data
5896
5897 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5898
5899         * lyx_main.C (LyX): get full path of document loaded on the
5900         command line
5901
5902 2003-06-26  André Pönitz  <poenitz@gmx.net>
5903
5904         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5905           remove unused/broken operator>,<,>=.
5906
5907         *       text.C: remove only use of broken operator<= in an Assert().
5908
5909 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5910
5911         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5912         moved errorlist_.clear to showErrorList
5913
5914 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5915
5916         * converter.C (scanLog, runLaTeX):
5917         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5918         move the bv->showErrorList call to the callers
5919         * lyxfunc.C: i.e. here...
5920         * text2.C: and here
5921         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5922         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5923         namespace, the second to...
5924         * buffer_funcs (BufferFormat, parseErrors): added
5925         * errorlist.C (ErrorList(TeXErrors const &)): removed
5926
5927 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5928
5929         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5930
5931 2003-06-24  "Garst R. Reese" <reese@isn.net>
5932
5933         * debug.C: fix typo
5934
5935 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5936
5937         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5938
5939         * version.C.in: change docversion to 1.4
5940
5941 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5942
5943         * buffer.C: fix a bug just introduced
5944
5945 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5946
5947         * buffer.[Ch]: added the parseError signal and use it, removed
5948         sgmlError
5949         * BufferView.[Ch] (addError): moved to ...
5950         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5951         to the Buffer::parseError signal to catch (guess what) parse errors
5952         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5953
5954 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5955
5956         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5957         ability to create a buffer and to return an existing one from
5958         the list. Moved these functions to...
5959         * buffer_funcs.[Ch]: added
5960         * BufferView.[Ch] (loadLyXFile): added
5961         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5962         job removed from bufferlist::loadLyXFile.
5963         * buffer.C (setReadOnly): make it work without view
5964         (i.e added an if (users))
5965
5966 2003-06-19  Angus Leeming  <leeming@lyx.org>
5967
5968         * lfuns.h:
5969         * LyXAction.C (init):
5970         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5971         with LFUN_DIALOG_SHOW <name> <data>.
5972
5973 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5974
5975         * CutAndPaste.C (availableSelections): small compilation fix for
5976         ancient (gcc 2.9x) compilers
5977
5978 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * text3.C (cursorNext): add tmp var
5981
5982         * text2.C (updateCounters): for function calling out of for clause
5983         (replaceSelectionWithString): ditto
5984         (insertStringAsParagraphs): ditto
5985         (getColumnNearX): add tmp var
5986         (setCursorFromCoordinates): add tmp var
5987         (cursorDownParagraph): add tmp var
5988         (deleteEmptyParagraphMechanism): add tmp var
5989
5990         * text.C (insertChar): add tmp var
5991
5992         * rowpainter.C (paintDepthBar): add tmp var
5993
5994         * CutAndPaste.C (availableSelections): potentially check all
5995         paragraphs in a cut to fill the shown strings.
5996
5997 2003-06-18  André Pönitz  <poenitz@gmx.net>
5998
5999         * kbmap.[Ch]: use vector<> instead of list<>
6000
6001 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6002
6003         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6004         pasteSelection with index
6005
6006         * text2.C (pasteSelection): modify, call pasteSelection with index
6007
6008         * paragraph.C (asString): reimplement version with no interval to
6009         call the one with interval.
6010
6011         * lyxtext.h: add index arg to pasteSelection
6012
6013         * MenuBackend.C (MenuItem): handle PasteRecent
6014         (Menu::read::Menutags): add md_pasterecent
6015         (read): handle it
6016         (expandPasteRecent): new function
6017         (expand): use it
6018
6019         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6020
6021         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6022         the limited stack
6023         (availableSelections): new function
6024
6025 2003-06-17  Angus Leeming  <leeming@lyx.org>
6026
6027         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6028
6029 2003-06-17  Angus Leeming  <leeming@lyx.org>
6030
6031         * lfuns.h:
6032         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6033
6034         * lyxfunc.C (dispatch): invoke it.
6035
6036 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6037
6038         * iterators.C (operator++, ParPosition): reintroduce some
6039         const_cast for the benefit of older compilers.
6040
6041 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6042
6043         * text3.C (dispatch): do not modify clipboard when doing
6044         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6045         LFUN_DELETE_SKIP on a selection selection
6046
6047 2003-06-16  André Pönitz  <poenitz@gmx.net>
6048
6049         * BufferView.C:
6050         * buffer.C:
6051         * buffer.h:
6052         * paragraph.C:
6053         * tabular.[Ch]: IU of clone() and getLabelList();
6054
6055 2003-06-13  André Pönitz  <poenitz@gmx.net>
6056
6057         * tabular.h: compactification
6058
6059 2003-06-12  André Pönitz  <poenitz@gmx.net>
6060
6061         * tabular.C:
6062         * tabular.h:
6063         * tabular_funcs.h: some renaming plus whitespace
6064
6065 2003-06-12  André Pönitz  <poenitz@gmx.net>
6066
6067         * BufferView.C:
6068         * BufferView_pimpl.C:
6069         * CutAndPaste.C:
6070         * buffer.C:
6071         * iterators.[Ch]:
6072         * lyxfunc.C:
6073         * text.C:
6074         * toc.C: Return a Paragraph & for ParIterator::operator*()
6075
6076 2003-06-11  John Levon  <levon@movementarian.org>
6077
6078         * lyx_main.C:
6079         * ToolbarBackend.h:
6080         * ToolbarBackend.C: add "Toolbars" section and
6081         put the flags there
6082
6083 2003-06-10  Angus Leeming  <leeming@lyx.org>
6084
6085         * lfuns.h:
6086         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6087
6088         * lyxfunc.C (dispatch): invoke it.
6089
6090 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * main.C: protect <ios> with HAVE_IOS
6093         (main): protect sync_with_stdio with HAVE_IOS
6094
6095 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6096
6097         * text2.C (cutSelection): adjust
6098         (pasteSelection): adjust
6099
6100         * messages.C: handle get of empty string
6101
6102         * main.C (main): use sync_with_stdio(false)
6103
6104         * lyxfunc.C (dispatch): adjust
6105
6106         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6107         (WriteAs): remove unneeded BufferView arg.
6108
6109         * bufferparams.h: use correct types on papersize, papersize2 and
6110         paperpackage.
6111
6112         * bufferparams.C (readToken): adjust for type
6113         (writeLaTeX): add missing cases to switch.
6114
6115         * bufferlist.C (quitWriteBuffer): adjust
6116         (close): adjust
6117
6118         * buffer.C (asciiParagraph): remove some commented code.
6119
6120         * CutAndPaste.C: remove current_view extern variable.
6121         (cutSelection): add BufferParams arg.
6122         (eraseSelection): add BufferParams arg.
6123         (pasteSelection): add Buffer const & arg
6124
6125 2003-06-07  John Levon  <levon@movementarian.org>
6126
6127         * buffer.C:
6128         * paragraph_funcs.C:
6129         * paragraph_pimpl.C:
6130         * text.C:
6131         * text2.C:
6132         * paragraph.h:
6133         * paragraph.C: allow InsetERT to freely space lines,
6134         and some consolidation of code
6135
6136 2003-06-06  José Matos  <jamatos@fep.up.pt>
6137
6138         * buffer.C (makeDocBookFile): fix bug #821
6139
6140 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6141
6142         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6143
6144 2003-06-04  Angus Leeming  <leeming@lyx.org>
6145
6146         * buffer.C: bump format to 224.
6147
6148 2003-06-05  André Pönitz  <poenitz@gmx.net>
6149
6150         * text2.C (redoParagraphs): remove two const_cast<>
6151
6152 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6153
6154         * ParagraphList.h: remove last remnants of NO_STD_LIST
6155
6156 2003-06-03  Angus Leeming  <leeming@lyx.org>
6157
6158         * factory.C (createInset): small change to the way InsetExternal's params
6159         are set.
6160
6161 2003-06-04  André Pönitz  <poenitz@gmx.net>
6162
6163         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6164
6165         * paragraph_pimpl.h:
6166         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6167
6168         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6169
6170         * undo_funcs.C: make some simple cases of undo work again
6171
6172 2003-06-03  John Levon  <levon@movementarian.org>
6173
6174         * ispell.C: HPUX doesn't have sys/select.h
6175         (from Albert Chin)
6176
6177 2003-06-03  John Levon  <levon@movementarian.org>
6178
6179         * CutAndPaste.C: update tabular and include inset
6180         buffer references
6181
6182         * buffer.h:
6183         * paragraph.h:
6184         * paragraph.C: remove owningBuffer(), don't pass Buffer
6185         to clone()
6186
6187         * factory.C: insetGraphicsParams changed
6188
6189 2003-06-02  John Levon  <levon@movementarian.org>
6190
6191         * LyXAction.C:
6192         * factory.C:
6193         * lfuns.h:
6194         * lyxfunc.C:
6195         * text3.C: remove insetparent
6196
6197 2003-06-02  John Levon  <levon@movementarian.org>
6198
6199         * buffer.h:
6200         * buffer.C: fix inset_iterator.end(), move out of line
6201         (bug 1149)
6202
6203 2003-06-01  John Levon  <levon@movementarian.org>
6204
6205         * text3.C: use a proper cut/paste when doing inset
6206         insert (from Jürgen Spitzmüller)
6207
6208 2003-06-01  John Levon  <levon@movementarian.org>
6209
6210         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6211
6212 2003-05-30  André Pönitz  <poenitz@gmx.net>
6213
6214         * rowpainter.C: unify second drawing phase
6215
6216 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * trans_mgr.C: remove one case of current_view
6219
6220         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6221
6222         * paragraph_funcs.h: remove paragraph.h include
6223
6224         * paragraph.h: delete NO_STD_LIST stuff
6225
6226         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6227
6228         * buffer.h: remove paragraph.h include
6229
6230         * ParagraphList.C: delete file
6231
6232         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6233
6234         * toc.C (getTocList): adjust
6235
6236         * paragraph_pimpl.C (validate): adjust
6237
6238         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6239
6240         * paragraph.C (Paragraph): adjust
6241         (getPositionOfInset): use const_iterator, adjust
6242         (bibitem): use const_iterator, adjust
6243         (setInsetOwner): adjust
6244
6245         * iterators.C (operator++): adjust
6246
6247         * InsetList.[Ch]: Replace selfmade iterator with standard
6248         vector::iterator also introduce const_iterator. Remove getPos,
6249         getInset and setInset from InsetTable. Adjust accordingly.
6250
6251         * BufferView.C (lockInset): adjust
6252         (ChangeInsets): adjust
6253
6254         * tabular.[Ch]: delete commented same_id functions
6255
6256 2003-05-28  John Levon  <levon@movementarian.org>
6257
6258         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6259
6260 2003-05-28  André Pönitz  <poenitz@gmx.net>
6261
6262         * metricsinfo.[Ch]: remove 'fullredraw' member
6263
6264 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6265
6266         * lyxtextclass.C (operator): remove caching.
6267
6268 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * text3.C: adjust
6271
6272         * text2.C (cursorBottom): adjust
6273         (setCounter): use ParagraphList::find, adjust
6274
6275         * text.C (workWidth): use ParagraphList::find, adjust
6276
6277         * lyxcursor.C (LyXCursor): adjust
6278
6279         * buffer.C (inset_iterator): adjust
6280
6281         * ParagraphList.h: make iterator(value_type) private, make
6282         ParagraphList a friend of iterator.
6283
6284         * ParagraphList.C (find): new function
6285
6286         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6287
6288 2003-05-27  André Pönitz  <poenitz@gmx.net>
6289
6290         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6291
6292 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6293
6294         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6295
6296 2003-05-26  John Levon  <levon@movementarian.org>
6297
6298         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6299
6300 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * remove same_id from function signatures, adjust.
6303
6304 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6307
6308         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6309
6310         * paragraph.C (Paragraph): get rid of same_ids parameter
6311
6312         * ParagraphList.C (insert): adjust
6313         (push_back): adjust
6314
6315 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * paragraph_funcs.C (breakParagraph): adjust
6318         (breakParagraphConservative): adjust
6319
6320         * buffer.C (readParagraph): adjust
6321
6322         * ParagraphList.C (insert): take a reference instead of a pointer
6323         (insert): adjust
6324
6325         * paragraph.[Ch] (id): new function
6326
6327         * bufferlist.C (newFile): adjust
6328
6329         * ParagraphList.C (ParagraphList): adjust
6330         (assign): adjust
6331         (push_back): take a reference instead of a pointer.
6332
6333         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6334
6335         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6336         instead.
6337
6338         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6339         set else use old code.
6340
6341         * ParagraphList.C: remove all NO_NEXT code and only compile this
6342         code of NO_STD_LIST is set.
6343
6344 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6345
6346         * BufferView_pimpl.C:
6347         * TextCache.C:
6348         * TextCache.h:
6349         * bufferlist.C:
6350         * errorlist.h:
6351         * format.C:
6352         * format.h:
6353         * graph.C:
6354         * lyxfunc.C:
6355         * lyxrc.C:
6356         * graphics/GraphicsConverter.C:
6357         * graphics/PreviewLoader.C: header adjustment
6358
6359 2003-05-23  Angus Leeming  <leeming@lyx.org>
6360
6361         * LaTeXFeatures.[Ch] (useBabel): new method.
6362         * bufferparams.C (writeLaTeX): use it.
6363
6364 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * ParagraphList.h (set): remove unused function.
6367
6368 2003-05-23  André Pönitz  <poenitz@gmx.net>
6369
6370         * BufferView.C:
6371         * BufferView_pimpl.C:
6372         * buffer.C:
6373         * buffer.h:
6374         * lyxfunc.C:
6375         * undo_funcs.C: setUndo reworked
6376
6377         * iterators.[Ch]: add access to topmost ParagraphList
6378
6379         * lyxtext.[Ch] (workWidth): add a const
6380
6381 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6382
6383         * texrow.[Ch] (increasePos): remove function
6384         * exporter.C (export): removed unused var and outdated comment
6385
6386 2003-05-23  Angus Leeming  <leeming@lyx.org>
6387
6388         * latexrunparams.h: rename fragile as moving_arg.
6389         * paragraph.C (simpleTeXOnePar): ditto.
6390         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6391
6392 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6395         (createUndo): ditto
6396         (textUndoOrRedo): comment out a currently unused var.
6397
6398         * paragraph.h (NO_NEXT): enable NO_NEXT
6399
6400         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6401
6402         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6403
6404         * exporter.C (Export): adjust for removeAutoInsets removal.
6405
6406         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6407
6408         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6409
6410         * BufferView.[Ch] (removeAutoInsets): delete function
6411
6412 2003-05-22  Angus Leeming  <leeming@lyx.org>
6413
6414         * latexrunparams.h: add a free_spacing variable.
6415
6416         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6417         to pass moving_arg, as the data is stored in runparams.fragile.
6418
6419         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6420         to Inset::latexOptional or to simpleTeXOnePar.
6421
6422         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6423         free_spacing arg to Inset::latexOptional.
6424
6425         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6426         free_spacing arg.
6427
6428 2003-05-22  Angus Leeming  <leeming@lyx.org>
6429
6430         * latexrunparams.h: add fragile and use_babel variables.
6431
6432         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6433         * buffer.C (makeLaTeXFile): store this returned value in
6434         runparams.use_babel, thus passing it to the inset::latex methods.
6435
6436         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6437         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6438
6439         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6440         longer has a fragile arg, as it is stored in runparams.fragile.
6441
6442         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6443         moving_arg parameter as the data is stored in runparams.fragile.
6444
6445         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6446         a fragile parameter as the data is stored in runparams.fragile.
6447
6448 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6451
6452 2003-05-22  Angus Leeming  <leeming@lyx.org>
6453
6454         * latexrunparams.h: add a 'bool nice' which defaults to false.
6455
6456         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6457         now encapsulated within runparams.
6458
6459         * bufferlist.C (updateIncludedTeXfiles):
6460         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6461
6462 2003-05-22  Angus Leeming  <leeming@lyx.org>
6463
6464         * latexrunparams.h: new file containing struct LatexRunParams.
6465         * Makefile.am: add new file.
6466
6467         * LaTeX.[Ch] (c-tor, run):
6468         * buffer.[Ch] (makeLaTeXFile):
6469         * bufferlist.[Ch] (updateIncludedTeXfiles):
6470         * converter.C (convert, scanLog):
6471         * converter.[Ch] (runLaTeX):
6472         * exporter.C (Export):
6473         * paragraph.[Ch] (simpleTeXOnePar):
6474         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6475         * paragraph_funcs.[Ch] (latexParagraphs):
6476         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6477         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6478         pass around a LatexRunParams parameter.
6479
6480 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * paragraph.[Ch]: remove unused constructor
6483
6484         * ParagraphList.C (erase): new function, taking two iterators
6485
6486 2003-05-22  André Pönitz  <poenitz@gmx.net>
6487
6488         * undo_funcs.C: remove duplicated code
6489
6490         * iterator.[Ch]: operator=
6491
6492 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * tabular.C (SetMultiColumn): ws changes
6495
6496         * rowpainter.C (paintFirst): get rid of a ->previous
6497
6498         * lyx_cb.C (getPossibleLabel): parlist simplification
6499
6500         * BufferView.C (ChangeInsets): simplify slightly.
6501
6502 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6503
6504         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6505         * lfuns.h: new LFUN_SPACE
6506         * lyxfunc.C: protected space has a new lfun
6507         * paragraph_funcs.C: read new space insets
6508         * text3.C:
6509         * factory.C: handle new space insets
6510
6511 2003-05-22  André Pönitz  <poenitz@gmx.net>
6512
6513         * BufferView.C:
6514         * BufferView_pimpl.C:
6515         * buffer.[Ch]:
6516         * lyxfunc.C:
6517         * undo_funcs.C: return a ParIterator from getParFromID.
6518
6519         * iterators.[Ch]: add two const's
6520
6521 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * toc.C (getTocList): adjust
6524
6525         * iterators.[Ch]: rework for parlist
6526
6527         * buffer.C (par_iterator_begin): adjust
6528         (par_iterator_end): adjust
6529
6530         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6531
6532         * BufferView.C (removeAutoInsets): adjust
6533         (ChangeInsets): adjust
6534
6535 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6536
6537         * text.C (top_y): fix bug 1110
6538
6539 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6540
6541         * errorlist.[Ch]: added
6542         * buffer.C:
6543         * BufferView.[Ch]:
6544         * BufferView_pimpl.C:
6545         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6546         instead
6547
6548 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * Makefile.am: ensure that lyx is relinked upon changes to the
6551         various "convenience" libs.
6552
6553 2003-05-20  Angus Leeming  <leeming@lyx.org>
6554
6555         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6556         files are compiled in alphabetical order again.
6557
6558         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6559
6560 2003-05-19  Angus Leeming  <leeming@lyx.org>
6561
6562         * gettext.[Ch]: remove "char const * _(char const *)".
6563
6564 2003-05-19  André Pönitz  <poenitz@gmx.net>
6565
6566         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6567
6568         * Makefile.am:
6569         * BufferView.C:
6570         * DepTable.h:
6571         * LaTeXFeatures.C:
6572         * buffer.C:
6573         * lyxfont.C:
6574         * lyxlex.h:
6575         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6576
6577 2003-05-19  André Pönitz  <poenitz@gmx.net>
6578
6579         * buffer.C:
6580         * lyxlayout.[Ch]:
6581         * lyxtextclass.[Ch]:
6582         * paragraph.C:
6583         * paragraph_funcs.[Ch]:
6584         * text2.C:
6585         * text3.C: more insetenv work
6586
6587 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * ParagraphParameters.C (params2string): small bug fixed
6590
6591 2003-05-16  André Pönitz  <poenitz@gmx.net>
6592
6593         * debug.C:
6594         * bufferview_funcs.C: patch from Kornel Benko to prevent
6595           crash when _(...) is called twice in a statement
6596
6597 2003-05-16  André Pönitz  <poenitz@gmx.net>
6598
6599         * BufferView.C:
6600         * lyxfunc.C:
6601         * text.C:
6602         * text2.C:
6603         * text3.C:
6604         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6605
6606 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * lyx_main.C (init): remove spurious static_cast
6609
6610 2003-05-14  André Pönitz  <poenitz@gmx.net>
6611
6612         * BufferView.C: fix format string
6613
6614 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6615
6616         * BufferView.[Ch] (insertErrors): removed
6617         * BufferView.[Ch] (showErrorList): added
6618         * buffer.C (runChkTeX):
6619         * converter.C (scanLog): call showErrorList instead of inserterrors
6620
6621 2003-05-13  André Pönitz  <poenitz@gmx.net>
6622
6623         * BufferView_pimpl.C:
6624         * buffer.C:
6625         * bufferview_func.C:
6626         * MenuBackend.C:
6627         * lyxfunc.C:
6628         * lyxrc.C:
6629         * tex-accent.C:
6630         * text3.C:
6631         * toc.C:
6632         * tabular_funcs.h: tostr() from its own header
6633
6634         * ParagraphParameters.C:
6635         * ToolbarBackend.C:
6636         * bufferparams.C:
6637         * format.C:
6638         * lyxlex_pimpl.C:
6639         * text3.C: STRCONV()
6640
6641 2003-05-12  André Pönitz  <poenitz@gmx.net>
6642
6643         * BufferView.C:
6644         * BufferView_pimpl.C:
6645         * CutAndPaste.C:
6646         * LaTeX.C:
6647         * LaTeXFeatures.C:
6648         * ParagraphParameters.C:
6649         * buffer.C:
6650         * bufferlist.C:
6651         * bufferparams.C:
6652         * bufferview_funcs.C:
6653         * converter.C:
6654         * counters.C:
6655         * debug.C:
6656         * exporter.C:
6657         * format.C:
6658         * importer.C:
6659         * lyx_cb.C:
6660         * lyx_main.C:
6661         * lyxfont.C:
6662         * lyxfunc.C:
6663         * lyxvc.C:
6664         * paragraph.C:
6665         * paragraph_funcs.C:
6666         * tabular.C:
6667         * tabular_funcs.C:
6668         * text2.C:
6669         * text3.C:  boost::format -> bformat  all over the place
6670
6671
6672 2003-05-09  André Pönitz  <poenitz@gmx.net>
6673
6674         * LColor.[Ch]: Pimpl the #include <map> away
6675
6676 2003-05-09  John Levon  <levon@movementarian.org>
6677
6678         * bufferlist.C: never remove emergency saves
6679
6680 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * Makefile.am: better lib building
6683
6684 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6687         instead.
6688         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6689         (simpleTeXSpecialChars): adjust
6690         (simpleTeXSpecialChars): adjust
6691         * paragraph.C (simpleTeXOnePar): adjust
6692         * buffer.C (makeLaTeXFile): adjust
6693
6694         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6695
6696         * text2.C (changeDepth): parlist cleanup
6697         (getColumnNearX): ditto
6698
6699         * rowpainter.C (getLabelFont): parlist cleanup
6700
6701         * bufferlist.C (newFile): parlist cleanup
6702
6703         * CutAndPaste.C (eraseSelection): parlist cleanup
6704
6705         * BufferView_pimpl.C (trackChanges): parlist cleanup
6706         (dispatch): ditto
6707
6708         * BufferView.C (lockInset): parlist cleanup.
6709         (ChangeInsets): ditto
6710
6711 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * CutAndPaste.h: Update file header.
6714
6715         * CutAndPaste.C: Update file header.
6716         Store the parts cut out of the Document in a limited_stack.
6717         (copySelection): adjust
6718         (pasteSelection): new function, takes the index in the limited stack.
6719         (nrOfParagraphs): adjust
6720         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6721         simplify error inset insertion.
6722         (checkPastePossible): adjust
6723
6724 2003-05-06  John Levon  <levon@movementarian.org>
6725
6726         * text2.C: don't cast wrap inset to float
6727
6728 2003-05-05  André Pönitz  <poenitz@gmx.net>
6729
6730         * iterator.C:
6731         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6732
6733         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6734           few naked Paragraph *.
6735
6736 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6737
6738         * bufferparams.C: Output warning if a document with missing
6739         TeX document class is loaded
6740         * exporter.C: Disable TeX exports if the document class is missing
6741         * lyxtextclass.C:
6742         * lyxtextclass.h:
6743         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6744         isTeXClassAvailable()
6745
6746 2003-05-03  John Levon  <levon@movementarian.org>
6747
6748         * BufferView.h:
6749         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6750         explicit cursor show/hide
6751
6752         * BufferView_pimpl.h:
6753         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6754         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6755
6756         * lyxfunc.C: hide cursor before dispatching.
6757
6758         * lyx_cb.C:
6759         * lyxfind.C:
6760         * text.C:
6761         * text3.C: remove explicit cursor hides
6762
6763 2003-05-02  André Pönitz  <poenitz@gmx.net>
6764
6765         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6766
6767         * undo_funcs.C:
6768         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6769           linked lists
6770
6771         * text2.C: tiny whitespace
6772
6773 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * undo_funcs.C: almost only ws changes.
6776
6777         * ParagraphList.C (splice): just return if pl is empty.
6778
6779 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * ParagraphList.C (splice): new function.
6782
6783         * CutAndPaste.C (pasteSelection): use it
6784
6785 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6786
6787         * CutAndPaste.C (pasteSelection): remove the last next and
6788         previous from this file.
6789
6790 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6791
6792         * CutAndPaste.C (pasteSelection): more clean up, user proper
6793         ParagraphList functions for pasteing.
6794
6795         * ParagraphList.C (insert): new function, three arg insert
6796
6797 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6798
6799         * ParagraphList.C (insert): new function, three arg insert
6800
6801         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6802         not on paragraphs.
6803
6804 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6807
6808 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6811
6812 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6813
6814         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6815         (copySelection): clean up a bit.
6816         (pasteSelection): use make_pair
6817
6818         * ParagraphList.C (ParagraphList): implement copy constructor
6819         (operator=): implement, base on copy constructor.
6820         (assign): new func
6821
6822         * paragraph.C (erase): return a bool
6823
6824         * paragraph_pimpl.C (erasePos): remove function, move contents...
6825         (erase): ... here. Return a bool.
6826         (erase): call erase instead of erasePos.
6827
6828 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6829
6830         * ParagraphList.h: define PitPosPair
6831         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6832         ParagraphList, fix a bug on pasting multiple pars
6833         * text2.C: change interface to C&P
6834
6835 2003-04-30  André Pönitz  <poenitz@gmx.net>
6836
6837         * undo_func.C: revert part of yesterday's patch 2
6838
6839 2003-04-30  John Levon  <levon@movementarian.org>
6840
6841         * LColor.C: s/tabular/table/
6842
6843 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * text3.C (dispatch): do not convert iterator -> pointer
6846         * undo_funcs.C (setCursorParUndo): ditto
6847         * text_funcs.C (transposeChars): ditto
6848
6849         * text2.C (setLayout): ws changes only
6850
6851         * text.C (breakParagraph): do not convert iterator -> pointer
6852         (insertChar): ditto
6853         (acceptChange): ditto
6854         (rejectChange): ditto
6855         (changeCase): ditto
6856         (Delete): ditto
6857         (backspace): ditto
6858
6859         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6860         pointer
6861
6862 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6863
6864         * text3.C (gotoInset): YABG (yet another bad getChar)
6865
6866 2003-04-29  André Pönitz  <poenitz@gmx.net>
6867
6868         * paragraph.h: make operator= private unimplemented as long as
6869           it is unusable
6870
6871         * ParagraphList.C: whitespace
6872
6873         * paragraph.[Ch]:
6874         * paragraph_pimpl.[Ch]:
6875         * paragraph_funcs.C:
6876         * CutAndPaste.C:
6877         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6878
6879         * text2.C:
6880           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6881
6882 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6883
6884         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6885         * paragraph.[Ch] (erase):
6886         * paragraph_pimpl.[Ch] (erase): change return type and value
6887         * text2.C (cutSelection): some rework
6888
6889 2003-04-28  John Levon  <levon@movementarian.org>
6890
6891         * bufferlist.C: changes for unsaved changes dialog
6892
6893 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6894
6895         * bufferlist.C (newFile): set language (messages_) for new
6896         documents also.
6897
6898         * buffer.C (readFile): ws changes only.
6899
6900 2003-04-28  André Pönitz  <poenitz@gmx.net>
6901
6902         * undo_funcs.C:
6903         * lyxfunc.C:
6904         * buffer.[Ch]:
6905         * BufferView_pimpl.C:
6906         * BufferView.C: getParFromID related ParagraphList::iterator changes
6907
6908 2003-04-28  André Pönitz  <poenitz@gmx.net>
6909
6910         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6911           Changes
6912
6913 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * messages.C: remove one more localedir class variable.
6916
6917 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6918
6919         * messages.C (getLocaleDir): singleton generation function
6920         (Pimpl): use it.
6921         (Messages): add a default constructor.
6922
6923         * main.C (main): do not setup localedir here, do not call
6924         gettext_init.
6925
6926         * gettext.C (_): use it.
6927         (gettext_init): delete funciton
6928
6929 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6930
6931         * gettext.C (getLyXMessages): new singleton generating function.
6932
6933         * buffer.C (updateDocLang): adjust
6934
6935         * Makefile.am (messages.o): add target
6936         (main.o): remove target
6937
6938 2003-04-27  John Levon  <levon@movementarian.org>
6939
6940         * bufferlist.C:
6941         * lyx_cb.C:
6942         * lyxfunc.C:
6943         * lyxvc.C: specify cancel button in Alert::prompt
6944
6945 2003-04-26  John Levon  <levon@movementarian.org>
6946
6947         * text3.C:
6948         * lyxfunc.C:
6949         * lfuns.h:
6950         * LyXAction.C: add LFUN_INSET_SETTINGS
6951
6952         * lyxfunc.C: don't enable tabular-feature when there's
6953         just any locking inset
6954
6955 2003-04-26  John Levon  <levon@movementarian.org>
6956
6957         * bufferlist.C: re-add Cancel to buffer close question
6958
6959         * lyxfunc.C: fix import UI a bit
6960
6961 2003-04-25  John Levon  <levon@movementarian.org>
6962
6963         * gettext.C: remove the broken asserts for now
6964
6965 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6966
6967         * messages.C: make case where setlocale cannot comply work better.
6968
6969         * buffer.C (updateDocLang): new function
6970         (changeLanguage): use it
6971         (readFile): use it
6972
6973         * text2.C (setCounter): use B_ a bit.
6974
6975         * lyxlayout.C (Read): be sure to trim the label strings.
6976
6977         * messages.C (Messages): fix typo in comment
6978
6979         * buffer.C (readFile): set message_ after file is loaded.
6980         (makeDocBookFile): remove double return
6981         (changeLanguage): reset message_ upon language change.
6982         (B_): new func, use this to get translated buffer strings.
6983
6984         * main.C: add myself and Jean Marc as authors.
6985
6986 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * messages.[hC]: pimplify Messages, and three different pimpls to be
6989         used in different circumstances.
6990
6991         * gettext.[Ch]: change for use with new message code.
6992
6993 2003-04-24 André Pönitz <poenitz@gmx.net>
6994
6995         * factory.C: support for eqref
6996
6997 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * messages.[Ch]: add missing char
7000
7001         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7002
7003         * messages.[Ch]: New files
7004
7005 2003-04-18  John Levon  <levon@movementarian.org>
7006
7007         * BufferView.h:
7008         * BufferView.C:
7009         * BufferView_pimpl.C:
7010         * lfuns.h:
7011         * LyXAction.C:
7012         * lyxtext.h:
7013         * text2.C: remove layout-copy/paste (bug 778)
7014
7015 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7016
7017         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7018
7019 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7020
7021         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7022         if they succeed. Act accordingly.
7023
7024 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * text2.C (setCharFont): adjust
7027         (setCounter): adjust
7028         (insertStringAsLines): adjust
7029
7030         * text.C (leftMargin): adjust
7031         (setHeightOfRow): adjust
7032
7033         * rowpainter.C (paintFirst): adjust
7034         (paintLast): adjust
7035
7036         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7037         (outerHook): ditto
7038         (isFirstInSequence): ditto
7039         (getEndLabel): ditto
7040         (outerFont): adjust
7041
7042         * paragraph.C (getParLanguage): comment out some hard stuff.
7043
7044         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7045         (sgmlError): ditto
7046         (simpleDocBookOnePar): ditto
7047         (makeDocBookFile): use ParagraphList::iterator
7048
7049         * CutAndPaste.C (pasteSelection): adjust
7050
7051 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7052
7053         * text2.C (getFont): adjust
7054         (getLayoutFont): adjust
7055         (getLabelFont): adjust
7056
7057         * paragraph_funcs.C (TeXOnePar): adjust
7058
7059         * buffer.C (simpleLinuxDocOnePar): adjust
7060         (simpleDocBookOnePar): adjust
7061
7062         * CutAndPaste.C (pasteSelection): adjust
7063
7064         * BufferView.C (getEncoding): adjust
7065
7066         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7067
7068 2003-04-16  John Levon  <levon@movementarian.org>
7069
7070         * lyxfind.C: use parlist stuff for search/changes
7071
7072 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7073
7074         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7075
7076         * text2.C (deleteEmptyParagraphMechanism): adjust
7077
7078         * text2.[Ch] (ownerParagraph): delete func (both of them
7079
7080 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7081
7082         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7083
7084 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * ParagraphList.C: prepare for NO_NEXT
7087
7088 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * text2.C (getFont): adjust
7091         (getLayoutFont): adjust
7092         (getLabelFont): adjust
7093
7094         * paragraph.C (getFont): adjust
7095         (getLabelFont): adjust
7096         (getLayoutFont): adjust
7097
7098         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7099
7100 2003-04-15  John Levon  <levon@movementarian.org>
7101
7102         From Angus Leeming
7103
7104         * lyx_main.C: handle Include in .ui files
7105
7106 2003-04-15  John Levon  <levon@movementarian.org>
7107
7108         * MenuBackend.C: make the doc files length shorter
7109
7110         * ToolbarBackend.h:
7111         * ToolbarBackend.C: handle toolbar placement flags,
7112         Minibuffer
7113
7114 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7117         adjust
7118
7119         * paragraph_funcs.C (TeXOnePar): adjust
7120
7121         * paragraph.C (getLabelFont): add outerfont arg, adjust
7122         (getLayoutFont): ditto
7123         (simpleTeXOnePar): adjust
7124
7125         * paragraph_pimpl.C (realizeFont): delete func
7126
7127 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7128
7129         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7130         row argument, constify cur argument.
7131
7132 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7133
7134         * text2.C (getFont): adjust
7135         (getLayoutFont): adjust
7136         (getLabelFont): adjust
7137
7138         * paragraph_funcs.C (TeXOnePar): adjust
7139         (outerFont): new func...
7140         (realizeFont): ...moved out from here, changed this to facilitate
7141         transition
7142
7143         * paragraph.C (getFont): take outerfont as arg, adjust
7144         (simpleTeXOnePar): add outerfont arg, adjust
7145
7146         * buffer.C (simpleLinuxDocOnePar): adjust
7147         (simpleDocBookOnePar): adjust
7148
7149         * CutAndPaste.C (pasteSelection): adjust
7150
7151         * BufferView.C (getEncoding): adjust
7152
7153 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * text2.C (setCharFont): adjust
7156         (setCounter): adjust
7157
7158         * text.C (leftMargin): adjust
7159         (setHeightOfRow): adjust
7160
7161         * rowpainter.C (paintFirst): adjust
7162         (paintLast): adjust
7163
7164         * paragraph_pimpl.C (realizeFont): adjust
7165
7166         * paragraph.C (isFirstInSequence): move from here...
7167         * paragraph_funcs.C (isFirstInSequence): ...to here
7168
7169         * paragraph.C (outerHook): move from here...
7170         * paragraph_funcs.C (outerHook): ...to here
7171
7172         * paragraph.C (depthHook): move from here...
7173         * paragraph_funcs.C (depthHook): ...to here
7174
7175         * paragraph.C (getEndLabel): move from here...
7176         * paragraph_funcs.C (getEndLabel): ...to here
7177
7178         * text2.C (realizeFont): move from here...
7179         * paragraph_funcs.C (realizeFont): ...to here
7180
7181 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7184
7185 2003-04-14  Angus Leeming  <leeming@lyx.org>
7186
7187         * LColor.[Ch]: scrap LColor mathcursor.
7188
7189 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * lyxlex.[Ch] (text): delete function
7192         * trans.C (Load): adjust
7193         * paragraph_funcs.C (readParToken): adjust
7194
7195 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7198         vector<char> instead of a char[].
7199
7200         * lyxlex_pimpl.C (getString): adjust
7201         (next): adjust
7202         (lex): use getString
7203         (eatLine): adjust
7204         (nextToken): adjust
7205
7206         * lyxlex.C (text): use pimpl_->getString()
7207         (getBool): ditto
7208         (findToken): ditto
7209
7210 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7211
7212         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7213         (makeFontEntriesLayoutSpecific): temp var for par.size()
7214         (setLayout): temp var for ownerParagraphs().end()
7215         (fullRebreak): temp var for rows().end()
7216         (selectionAsString): temp var for boost::next(startpit), realize
7217         that the while really is a regular for loop.
7218         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7219         setCursor in one place.
7220         (setParagraph): temp vr for ownerParagraphs().end()
7221         (updateCounters): make the while loop a for loop
7222         (cutSelection): temp var for ownerParagraphs().end()
7223         (updateInset): make the do {} while() a regular for loop
7224         (getCursorX): use temp vars
7225         (setCurrentFont): use temp vars
7226         (getColumnNearX): use temp vars
7227
7228 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * text.C (transformChar): use temp var for getChar
7231         (computeBidiTables): use temp var for row->par()
7232         (fill): move temp vars for row->par() and pit->layout() earlier in
7233         the function.
7234         (labelFill): use temp var for row->par()
7235         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7236         asc and desc, realize that pit never changes and that firstpit is
7237         just a duplicate and not needed. Exchange rit->par() with pit in a
7238         lot of places.
7239         (breakAgain): use a temp var for boost::next(rit)
7240         (breakAgainOneRow): ditto
7241         (breakParagraph): use a temp var for rows().begin()
7242         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7243         (cursorRightOneWord): use temp var for cursor.par() and
7244         cursor.pos(), remove usage of tmpcursor.
7245         (cursorLeftOneWord): use temp var for cursor.par() and
7246         cursor.pos() only set cur at end of function.
7247
7248 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * text.C, text2.C: exchange all usage of Paragraph::next with
7251         boost::next(ParagraphList::iterator)
7252
7253         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7254
7255         * text2.C (cursorTop): simplify implementation
7256         (cursorBottom): ditto
7257         (setParagraph): use ParagraphList::iterator
7258         (setCurrentFont): adjust
7259         (getColumnNearX): adjust
7260         (cursorRight): adjust
7261         (cursorLeft): remove usage of Paragraph::previous
7262         (cursorUpParagraph): ditto
7263         (deleteEmptyParagraphMechanism): slight cleanup
7264
7265         * text.C (isBoundary): take a Paragraph const & instead of a
7266         pointer as arg.
7267         (addressBreakPoint): ditto
7268         (leftMargin): remove usage of Paragraph::previous.
7269         (setHeightOfRow): ditto
7270         (cursorLeftOneWord): ditto
7271         (selectNextWordToSpellcheck): ditto
7272         (Delete): ditto
7273         (backspace): ditto
7274         (breakParagraph): remove one usage of Paragraph::next
7275         (redoParagraph): ditto
7276         (acceptChange): ditto
7277         (insertChar): adjust
7278         (rowBreakPoint): adjust
7279
7280         * bufferview_funcs.C (toggleAndShow): adjust
7281
7282 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7283
7284         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7285         methods to access it.
7286         * lyxtext.h:
7287         * text.C: Added updateRowPositions to compute all row positions.
7288         Make top_y and getRowNearY() to use the cached y position
7289
7290 2003-04-11  John Levon  <levon@movementarian.org>
7291
7292         * text.C (rowBreakPoint): reintroduce the labelEnd
7293         checks, code copied from the row fill stuff. Deep voodoo.
7294
7295         * text.C (fill): add a comment and debugging for the
7296         next poor soul.
7297
7298 2003-04-11  John Levon  <levon@movementarian.org>
7299
7300         * text.C: make sure fullrow insets get wrapped to the next line,
7301         even when they're in a manual label
7302
7303 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * text2.C (insertParagraph): make it take ParagraphList::iterator
7306         as arg.
7307         (setLayout): make it return ParagraphList::iterator
7308         (redoParagraphs): ditto
7309         (setCounter): ditto
7310         (checkParagraph): ditto
7311
7312         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7313
7314         * text2.C: adjust several funcs.
7315         (realizeFont): take a ParagraphList::iterator as arg.
7316         (getLayoutFont): ditto
7317         (getLabelFont): ditto
7318         (setCharFont): ditto
7319
7320         * text.C: adjust several funcs.
7321
7322 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7323
7324         * text.C (selectNextWordToSpellcheck): don't accidentally
7325         skip insets
7326
7327 2003-04-10  John Levon  <levon@movementarian.org>
7328
7329         * ToolbarBackend.C (getIcon): special handling for
7330         LFUN_MATH_DELIM
7331
7332 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7333
7334         * text2.C (cursorRight): a getChar assert fixed
7335
7336 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * text2.C (getFont): change to take a ParagraphList::iterator
7339         instead of Paragraph*
7340         Adjust several functions.
7341
7342         * text.C (transformChar): change to take a ParagraphList::iterator
7343         instead of Paragraph*
7344         (singleWidth): ditto
7345         Adjust several functions.
7346
7347         * rowpainter.C: adjust several functions
7348         * rowpainter.h:store a ParagraphList::iterator and not a
7349         Paragraph&.
7350
7351
7352 2003-04-09  John Levon  <levon@movementarian.org>
7353
7354         * lyxfunc.C:
7355         * lfuns.h:
7356         * LyXAction.h:
7357         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7358         and the "help" bits as well
7359
7360 2003-04-09  John Levon  <levon@movementarian.org>
7361
7362         * ToolbarBackend.h:
7363         * ToolbarBackend.C: allow multiple toolbars
7364
7365 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7366
7367         * undo_funcs.C (setCursorParUndo): adjust
7368
7369         * text_funcs.C (transposeChars): adjust
7370
7371         * text3.C (gotoNextInset): adjust
7372         (dispatch): adjust
7373
7374         * text2.C (setLayout): adjust
7375         (changeDepth): adjust
7376         (setFont): adjust
7377         (redoParagraphs): adjust
7378         (selectionAsString): adjust
7379         (setParagraph): adjust
7380         (insertInset): adjust
7381         (cutSelection): adjust
7382         (copySelection): adjust
7383         (pasteSelection): adjust
7384         (insertStringAsLines): adjust
7385         (updateInset): adjust
7386         (setCursor): change to take a ParagraphList::iterator parameter
7387         (setCursorIntern): change to take a ParagraphList::iterator parameter
7388         (setCurrentFont): adjust
7389         (cursorLeft): adjust
7390         (cursorRight): adjust
7391         (deleteEmptyParagraphMechanism): adjust
7392
7393         * text.C (breakParagraph): adjust
7394         (insertChar): adjust
7395         (acceptChange): adjust
7396         (rejectChange): adjust
7397         (selectNextWordToSpellcheck): adjust
7398         (changeCase): adjust
7399         (Delete): adjust
7400         (backspace): adjust
7401
7402         * lyxfind.C (SearchForward): adjust
7403         (SearchBackward): adjust
7404         (nextChange): adjust
7405
7406         * lyxcursor.C (par): adjust
7407
7408         * lyxcursor.h: store a ParagraphList::iterator instead of a
7409         Paragraph*
7410
7411         * lyx_cb.C (getPossibleLabel): adjust
7412
7413         * bufferview_funcs.C (toggleAndShow): adjust
7414
7415         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7416         (dispatch): adjust
7417
7418         * BufferView.C (removeAutoInsets): adjust
7419         (lockedInsetStoreUndo): adjust
7420
7421 2003-04-09  John Levon  <levon@movementarian.org>
7422
7423         * ToolbarBackend.C: try icon without argument
7424         if with argument fails
7425
7426 2003-04-08  John Levon  <levon@movementarian.org>
7427
7428         * ToolbarBackend.h:
7429         * ToolbarBackend.C: add getIcon(), handle tooltip,
7430         and change from "Icon" to "Item".
7431
7432 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7433
7434         * BufferView.C (lockInset): another bad getchar crunched
7435
7436 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7437
7438         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7439         again)
7440
7441 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7442
7443         * lyxfind.C (searchForward, searchBackwards): bug 782
7444
7445 2003-04-07  John Levon  <levon@movementarian.org>
7446
7447         * paragraph.C: remove dead comment
7448
7449         * text.C: remove troublesome depth-fiddling code
7450         in leftMargin() and rightMargin() (bug 1017)
7451
7452         * text.C: fix breaking of rows in nested lists
7453         (bug 1004)
7454
7455         * text2.C (updateCounters): fix up depth values
7456         (bug 1013)
7457
7458 2003-04-07  John Levon  <levon@movementarian.org>
7459
7460         * BufferView_pimpl.C: clear message when doc finishes resizing,
7461         and after a mouse event
7462
7463         * lyxfunc.C: clear message after exiting inset
7464
7465 2003-04-07  John Levon  <levon@movementarian.org>
7466
7467         * bufferview_funcs.C: show math status not outside
7468         status in the statusbar
7469
7470 2003-04-07  John Levon  <levon@movementarian.org>
7471
7472         * lyxfunc.C: note status changed after a depth change
7473
7474 2003-04-04  Angus Leeming  <leeming@lyx.org>
7475
7476         * LaTeX.h: move AuxInfo operator==, != out of line.
7477         Remove LaTeX virtual destructor; nothing derives from it.
7478         Move operator()() out of public area and rename it startscript().
7479         Change protected for private.
7480
7481 2003-04-04  Angus Leeming  <leeming@lyx.org>
7482
7483         * lyxfunc.C:
7484         * text2.C: remove unneeded #includes.
7485
7486 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7487
7488         * text2.C (dEPM): fix the heigth of the next row
7489
7490 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7491
7492         * text.C: squashed an invalid getChar requester + some ws changes
7493
7494 2003-04-03  John Levon  <levon@movementarian.org>
7495
7496         * bufferview_funcs.h:
7497         * bufferview_funcs.C:
7498         * lyxfunc.C:
7499         * lyxtext.h:
7500         * text2.C: make getStatus work for the env depth lfuns
7501
7502 2003-04-03  John Levon  <levon@movementarian.org>
7503
7504         * bufferview_funcs.h:
7505         * bufferview_funcs.C:
7506         * lyxfunc.C:
7507         * lyxtext.h:
7508         * text2.C: parlistize decDepth(), by merging it with incDepth()
7509
7510 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * lyxrow.h: store a ParagraphList::iterator instead of a
7513         Paragraph* and adjust other class functions to suit.
7514
7515         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7516         above.
7517
7518 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7519
7520         * text2.C (setCursor): do not anchor to cursor row for the time being
7521
7522 2003-04-02  John Levon  <levon@movementarian.org>
7523
7524         * LyXAction.C:
7525         * lfuns.h:
7526         * lyx_main.C:
7527         * lyxtext.h:
7528         * text.C:
7529         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7530
7531 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * paragraph.h: make ParagraphList and ParagraphList::iterator
7534         friends of Paragraph.
7535
7536         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7537
7538         * ParagraphList.C: Use the private next_ and previous_ from
7539         Paragraph.
7540
7541 2003-04-01  John Levon  <levon@movementarian.org>
7542
7543         * ToolbarBackend.h:
7544         * ToolbarBackend.C:
7545         * Makefile.am: rename, remove defaults gunk
7546
7547         * MenuBackend.h:
7548         * MenuBackend.C: remove defaults gunk
7549
7550         * Languages.h:
7551         * Languages.C: remove defaults gunk
7552
7553         * lyx_main.h:
7554         * lyx_main.C: error out if files couldn't be found.
7555
7556 2003-04-02  John Levon  <levon@movementarian.org>
7557
7558         * text2.C: make incDepth() use parlist
7559
7560 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7561
7562         * undo_funcs.C (firstUndoParagraph): adjust
7563
7564         * text3.C (gotoInset): adjust
7565         (dispatch): adjust, and rewrite loop.
7566
7567         * text2.C (init): adjust, and rewrite loop.
7568         (redoParagraphs): adjust
7569         (updateInset): adjust, and rewrite loop.
7570         (deleteEmptyParagraphMechanism): adjust
7571
7572         * tabular.C (LyXTabular): adjust
7573         (SetMultiColumn): adjust
7574         (TeXRow): adjust
7575
7576         * lyxtext.[Ch] (ownerParagraph): delete function
7577         (ownerParagraphs): new function returns a ParagraphList.
7578
7579         * BufferView.C (removeAutoInsets): adjust
7580         (insertErrors): adjust
7581         (setCursorFromRow): adjust
7582
7583 2003-04-01  Angus Leeming  <leeming@lyx.org>
7584
7585         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7586         in the frontends.
7587
7588 2003-04-02  John Levon  <levon@movementarian.org>
7589
7590         * lyxtext.h:
7591         * text.C:
7592         * Makefile.am:
7593         * text_funcs.h:
7594         * text_funcs.C: make transposeChars a free function
7595
7596         * lyxrow_funcs.C: remove wrong comment
7597
7598 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * lyxtext.h: adjust
7601         * rowpainter.C: adjust
7602         * text.C: adjust
7603         * text2.C: adjust
7604         * text3.C: adjust
7605
7606         * lyxrow_funcs. [Ch]: new files
7607
7608         * lyxrow.[Ch]: remove next and previous pointers
7609         (next,previous): remove accessor functions
7610         (isParEnd): move to lyxrow_funcs
7611         (lastPos): move to lyxrow_funcs
7612         (nextRowIsAllInset): move to lyxrow_funcs
7613         (lastPrintablePos): move to lyxrow_funcs
7614         (numberOfSeparators): move to lyxrow_funcs
7615         (numberOfHfills): move to lyxrow_funcs
7616         (numberOfLabelHfills): move to lyxrow_funcs
7617         (hfillExpansion): move to lyxrow_funcs
7618
7619         * lyxfunc.C: adjust
7620
7621         * bufferview_funcs.C (toggleAndShow): adjust
7622
7623         * RowList.h: Remove class RowList from file leave just a
7624         std::list<Row>.
7625
7626         * RowList.C: delete file
7627
7628         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7629         and lyxrow_funcs.h
7630
7631 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * text3.C (cursorPrevious): adjust
7634         (cursorNext): adjust
7635         (dispatch): adjust
7636
7637         * text2.C (redoHeightOfParagraph): adjust
7638         (redoDrawingOfParagraph): adjust
7639         (setCursor): adjust
7640
7641         * text.C (breakParagraph): adjust
7642         (insertChar): adjust
7643         (backspace): adjust
7644
7645         * rowpainter.C (RowPainter): adjust
7646         (leftMargin): simplify and adjust
7647         (most rowpainter functions): adjust.
7648
7649         * rowpainter.h: store the row as RowList::iterator not as Row*
7650
7651         * lyxcursor.C (row): taka RowList::iterator as arg
7652         (irow): ditto
7653
7654         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7655         of Row*.
7656
7657 2003-04-01  Angus Leeming  <leeming@lyx.org>
7658
7659         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7660         stuff like bool Bool.
7661
7662 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7663
7664         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7665         rewrite a loop
7666
7667 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7668
7669         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7670         RowList::iterator.
7671
7672         * lyxtext.h (rows): drop one version and leve a const variant that
7673         returns a RowList::iterator.
7674
7675 2003-03-31  Angus Leeming  <leeming@lyx.org>
7676
7677         * text.C (fill): ensure that the signature is the same as that in the
7678         header file.
7679
7680 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * text2.C (redoParagraphs): adjust
7683         (updateCounters): adjust
7684         (checkParagraph): adjust
7685         (getColumnNearX): adjust and reformat a bit.
7686
7687         * text.C (top_y): adjust
7688         (workWidth): adjust
7689         (leftMargin): adjust
7690         (prepareToPrint): adjust
7691         (getRow): adjust
7692         (getRowNearY): adjust
7693
7694         * lyxtext.h: make rowlist_ mutable.
7695
7696         * RowList.h: add const_iterator
7697         * RowList.C: adjust for RowList::const_iterator.
7698
7699         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7700         adjust.
7701
7702 2003-03-31  John Levon  <levon@movementarian.org>
7703
7704         * lyxrc.h:
7705         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7706
7707         * lyx_main.C: set default fonts from using lyx_gui funcs
7708
7709         * exporter.C: pdf_mode moved from lyxrc
7710
7711         * lyx_cb.C:
7712         * lyxfunc.C: changes from above
7713
7714 2003-03-31  John Levon  <levon@movementarian.org>
7715
7716         * lyx_main.C: fix to the last fix
7717
7718 2003-03-31  John Levon  <levon@movementarian.org>
7719
7720         * bufferlist.C: "Load original" -> "Load Original"
7721
7722         * converter.C:
7723         * exporter.C:
7724         * importer.C:
7725         * lyx_main.C:
7726         * format.C: more Alert cleanups
7727
7728 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7729
7730         * text2.C (removeParagraph): make it take a RowList::iterator as
7731         arg, adjust.
7732         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7733         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7734
7735         * text.C (anchor_row): make it take a RowList::iterator as arg,
7736         adjust.
7737         (computeBidiTables): make it take a const reference to Row instead
7738         of Row pointer, adjust.
7739         (leftMargin): make it take a RowList::iterator as arg, adjust.
7740         (rowBreakPoint): adjust
7741         (breakAgainOneRow): make it take a RowList::iterator as arg,
7742         adjust.
7743         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7744
7745         * bufferview_funcs.C (toggleAndShow): adjust
7746
7747 2003-03-30  John Levon  <levon@movementarian.org>
7748
7749         * Makefile.am:
7750         * BoostFormat.h:
7751         * boost-inst.C: moved to support
7752
7753         * several files: changes as a result
7754
7755 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * text2.C (LyXText): adjust.
7758         (init): adjust
7759         (removeRow): make it take a RowList::iterator as arg, adjust.
7760         (fullRebreak): adjust
7761         (deleteEmptyParagraphMechanism): adjust
7762         (clearPaint): adjust
7763         (postPaint): adjust
7764
7765         * text.C (top_y): adjust
7766         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7767         (breakAgain): make it take a RowList::iterator as arg, adjust.
7768         (breakParagraph): adjust
7769         (insertChar): adjust
7770         (backspace): adjust
7771
7772         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7773         need_break_row, and refresh_row.
7774
7775         * text3.C (dispatch): adjust
7776
7777         * text2.C (checkParagraph): adjust
7778         (setCursor): adjust
7779         (setCursorFromCoordinates): adjust
7780
7781         * text.C (top_y): adjust
7782         (workWidth): adjust
7783         (getRow): make it return a RowList::iterator, adjust
7784         (getRowNearY): make it return a RowList::iterator, adjust
7785
7786         * text2.C (init): adjust
7787         (insertRow): remove function
7788         (insertParagraph): adjust
7789         (redoParagraphs): adjust
7790         (fullRebreak): adjust
7791         (updateCounters): adjust
7792
7793         * text.C (top_y): rewrite to use RowList iterators.
7794         (top_y): adjust
7795         (setHeightOfRow): rewrite to sue RowList iterators.
7796         (appendParagraph): adjust
7797         (breakAgain): adjust
7798         (breakAgainOneRow): adjust
7799         (breakParagraph): adjust
7800         (getRow): adjust
7801         (getRowNearY): adjust, and remove commented code.
7802
7803         * lyxtext.h (firstRow): delete function
7804         (lastRow): delete function
7805         (rows): new function (const and non-const versions.)
7806         (insertRow): delete function
7807
7808         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7809
7810 2003-03-29  John Levon  <levon@movementarian.org>
7811
7812         * BufferView_pimpl.C: always update scrollbar top
7813         because pasting text when we're anchored could mean we
7814         miss an update altogether
7815
7816 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * text2.C (init): use rowlist_.end() and not 0.
7819         (insertRow): change to take a RowList::iterator as arg, adjust
7820         for this.
7821         (insertParagraph): change to take a RowList::iterator as arg,
7822         adjust for this.
7823         (redoParagraphs): remove some debug msgs.
7824
7825         * text.C (appendParagraph): change to take a RowList::iterator
7826         arg, adjust for this.
7827         (breakAgain): add an assert
7828         (breakAgainOneRow): ditto
7829
7830 2003-03-29  John Levon  <levon@movementarian.org>
7831
7832         * text2.C: do not clear selection after inc/decDepth
7833         (bug 550)
7834
7835 2003-03-29  John Levon  <levon@movementarian.org>
7836
7837         * BufferView.C:
7838         * buffer.C: fix broken strerrors according to Lars
7839
7840 2003-03-29  John Levon  <levon@movementarian.org>
7841
7842         * converters.C: more Alert cleanups
7843
7844 2003-03-29  John Levon  <levon@movementarian.org>
7845
7846         * bufferview_funcs.C: remove pointless Alert
7847
7848         * buffer.C: fix confusing error message when
7849         a template is chmoded 000
7850
7851 2003-03-29  John Levon  <levon@movementarian.org>
7852
7853         * BufferView.C:
7854         * BufferView.h:
7855         * BufferView_pimpl.C: Alert fixes
7856
7857         * Makefile.am:
7858         * tabular.C:
7859         * tabular-old.C: remove unused table compat reading
7860
7861 2003-03-29  John Levon  <levon@movementarian.org>
7862
7863         * BufferView.C:
7864         * buffer.C:
7865         * lyx_cb.h:
7866         * lyx_cb.C: more Alert cleanups
7867
7868         * lyxfunc.C: don't allow chktex if not latex document
7869
7870 2003-03-29  John Levon  <levon@movementarian.org>
7871
7872         * lyx_cb.C:
7873         * BufferView.C:
7874         * buffer.C: warnings pushed down from support/,
7875         kill err_alert
7876
7877 2003-03-29  John Levon  <levon@movementarian.org>
7878
7879         * lyxfunc.C: safety check for C-r (revert)
7880
7881 2003-03-29  John Levon  <levon@movementarian.org>
7882
7883         * bufferlist.h:
7884         * bufferlist.C: several UI fixes using Alert::prompt.
7885         Fix the pointless looping quit code. Fix stupid revert
7886         behaviour (bug 938)
7887
7888         * lyxvc.h:
7889         * lyxvc.C:
7890         * lyx_cb.C: use Alert::prompt
7891
7892         * lyx_main.C: remove a silly question
7893
7894         * lyxfunc.C: remove a couple of silly questions,
7895         use Alert::prompt
7896
7897 2003-03-28  John Levon  <levon@movementarian.org>
7898
7899         * text2.C: fix bug 974 (End on empty par)
7900
7901 2003-03-28  John Levon  <levon@movementarian.org>
7902
7903         * BufferView_pimpl.C:
7904         * LyXAction.C:
7905         * lfuns.h: remove do-nothing math greek lfuns
7906
7907 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * lyxgluelength.h (isValidGlueLength): add default arg on
7910         parameter 2. Remove default arg from friend in class.
7911
7912         * lyxlength.h (isValidLength): add default arg on parameter 2.
7913         Remove default arg from friend in class.
7914
7915         * text2.C (LyXText): adjust, initialize refresh_row.
7916         (init): adjust
7917         (removeRow): adjust
7918         (insertRow): adjust
7919         (insertParagraph): adjst
7920         (redoParagraphs): adjust
7921         (fullRebreak): adjust
7922         (updateCounters): adjust
7923         (deleteEmptyParagraphMechanism): first attempt at fixing a
7924         crashing bug.
7925
7926         * text.C (top_y): adjust
7927         (setHeightOfRow): adjust
7928         (getRow): adjust
7929         (getRowNearY): adjust
7930
7931         * lyxtext.h: include RowList.h
7932         (~LyXText): not needed anymore, deleted.
7933         (firstRow): modify for RowList
7934         (lastRow): new function
7935         Delete firstrow and lastrow class variables, add a Rowlist
7936         rowlist_ class variable.
7937
7938         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7939         paragraph is empty.
7940
7941         * RowList.C (insert): fix case where it == begin().
7942
7943 2003-03-26  Angus Leeming  <leeming@lyx.org>
7944
7945         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7946         the thesaurus dialog.
7947
7948 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7951
7952         * RowList.[Ch]: new files
7953
7954         * ParagraphList.C (erase): handle the case where it == begin
7955         correctly.
7956
7957 2003-03-25  John Levon  <levon@movementarian.org>
7958
7959         * Makefile.am:
7960         * aspell_local.h:
7961         * aspell.C: add new aspell support
7962
7963         * lyxrc.h:
7964         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7965         have it accessible.
7966
7967 2003-03-25  Angus Leeming  <leeming@lyx.org>
7968
7969         * lfuns.h:
7970         * LyXAction.C (init): new LFUN_INSET_INSERT.
7971
7972         * BufferView_pimpl.C (dispatch): split out part of the
7973         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7974
7975         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7976         LFUN_INSET_APPLY.
7977
7978 2003-03-25  Angus Leeming  <leeming@lyx.org>
7979
7980         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7981
7982 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7983
7984         * text2.C:
7985         * text3.C: remove useless row->height(0)
7986
7987 2003-03-25  John Levon  <levon@movementarian.org>
7988
7989         * lyxtext.h:
7990         * text2.C:
7991         * text3.C: rename the refreshing stuff to better names
7992
7993 2003-03-24  John Levon  <levon@movementarian.org>
7994
7995         * BufferView_pimpl.h:
7996         * BufferView_pimpl.C: update layout choice on a mouse
7997         press/release
7998
7999 2003-03-23  John Levon  <levon@movementarian.org>
8000
8001         * Makefile.am: fix commandtags.h reference
8002
8003 2003-03-22  John Levon  <levon@movementarian.org>
8004
8005         * BufferView_pimpl.C:
8006         * lyxtext.h:
8007         * rowpainter.C:
8008         * rowpainter.h:
8009         * text.C:
8010         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8011
8012 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8013
8014         * lyxtext.h:
8015         * text.C: take the rtl methods out of line
8016
8017 2003-03-21 André Pönitz <poenitz@gmx.net>
8018
8019         * metricsinfo.[Ch]: new files containing structures to be passed around
8020         during the two-phase-drawing...
8021
8022 2003-03-21 André Pönitz <poenitz@gmx.net>
8023
8024         * lyxtextclass.C: read 'environment' tag.
8025
8026 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8027
8028         * text2.C (removeRow): fix bug 964
8029
8030 2003-03-20  John Levon  <levon@movementarian.org>
8031
8032         * rowpainter.C:
8033         * text.C:
8034         * text2.C: paint cleanups. Inset::update() dropped font
8035         parameter
8036
8037 2003-03-19  John Levon  <levon@movementarian.org>
8038
8039         * lyxfunc.C: only fitcursor/markDirty if available()
8040
8041 2003-03-19  John Levon  <levon@movementarian.org>
8042
8043         * commandtags.h: rename to ...
8044
8045         * lfuns.h: ... this, and renumber / cleanup
8046
8047 2003-03-19  John Levon  <levon@movementarian.org>
8048
8049         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8050         fit the cursor after an lfun
8051
8052         * BufferView.h:
8053         * BufferView.C:
8054         * BufferView_pimpl.h:
8055         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8056
8057         * LyXAction.C: layout-character should have ReadOnly
8058
8059         * ParagraphParameters.C:
8060         * buffer.C:
8061         * bufferview_funcs.C:
8062         * lyx_cb.C:
8063         * lyxfind.C:
8064         * lyxtext.h:
8065         * text.C:
8066         * text2.C:
8067         * text3.C:
8068         * undo_funcs.C: changes from above
8069
8070 2003-03-18  John Levon  <levon@movementarian.org>
8071
8072         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8073         remove it from update()
8074
8075         * lyxfunc.C: update layout choice after an lfun
8076
8077         * text3.C: remove extra updateLayoutChoice()s
8078
8079 2003-03-18  John Levon  <levon@movementarian.org>
8080
8081         * text.C: top_y change means full repaint, fix
8082         a drawing bug with cursor movement
8083
8084 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8085
8086         * lyxtext.h:
8087         * text.C:
8088         * text2.C: anchor row on setCursor
8089
8090 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8091
8092         * lyxtext.h: remove almost all mutable keywords
8093         * text.C:
8094         * text2.C:
8095         * text3.C: remove const keywords accordingly
8096
8097 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8100         anon namespace
8101         (TeXEnvironment): ditto
8102         (TeXOnePar): ditto
8103
8104 2003-03-17  John Levon  <levon@movementarian.org>
8105
8106         * text.C (rowBreakPoint): remove attempt to fix displayed
8107         math insets inside a manual label
8108
8109 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * lyxtext.h: remove BufferView* as first arg from almost all class
8112         functions.
8113         * other files: adjust.
8114
8115 2003-03-17  John Levon  <levon@movementarian.org>
8116
8117         * lyxtext.h:
8118         * undo_funcs.C:
8119         * text2.C: more paint cleanups
8120
8121         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8122
8123         * rowpainter.h:
8124         * rowpainter.C: remove "smart" background painting code
8125
8126 2003-03-16  John Levon  <levon@movementarian.org>
8127
8128         * lyxtext.h:
8129         * text.C:
8130         * text2.C:
8131         * text3.C: add helper functions for setting refresh_row/y
8132
8133 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8134
8135         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8136         newline inset which *can* get inserted in the pass_thru layouts.
8137         This is primarily for literate documents.
8138
8139 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8140
8141         * buffer.C: increment LYX_FORMAT to 223
8142
8143 2003-03-14 André Pönitz <poenitz@gmx.net>
8144
8145         * textclass.h: prepare for environment handling, ws changes
8146         * lyxlayout.C: read latexheader and latexfooter tags
8147
8148 2003-03-14  John Levon  <levon@movementarian.org>
8149
8150         * text2.C: rewrite ::status() a bit
8151
8152 2003-03-13  John Levon  <levon@movementarian.org>
8153
8154         * lyxtext.h: add some docs
8155
8156 2003-03-13  John Levon  <levon@movementarian.org>
8157
8158         * lyxtext.h:
8159         * text.C:
8160         * text2.C:
8161         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8162
8163 2003-03-13  John Levon  <levon@movementarian.org>
8164
8165         * text3.C: fix appendix redrawing
8166
8167 2003-03-13  John Levon  <levon@movementarian.org>
8168
8169         * text.C (setHeightOfRow):
8170         * rowpainter.h:
8171         * rowpainter.C: make appendix mark have the text
8172           "Appendix" so the user knows what it is
8173
8174         * LColor.h:
8175         * LColor.C: s/appendixline/appendix/ from above
8176
8177 2003-03-13  John Levon  <levon@movementarian.org>
8178
8179         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8180
8181         * text.C: fix a getChar(pos) bug properly
8182
8183 2003-03-13  Angus Leeming  <leeming@lyx.org>
8184
8185         * commandtags.h:
8186         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8187         Probably only temporary. Let's see how things pan out.
8188
8189         * BufferView.C (unlockInset):
8190         * BufferView_pimpl.C (fitCursor):
8191         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8192
8193         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8194         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8195
8196         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8197         new functions that convert ParagraphParameters to and from a string.
8198
8199         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8200         BufferView::Pimpl's dispatch.
8201         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8202
8203 2003-03-13 André Pönitz <poenitz@gmx.net>
8204
8205         * lyxfunc.C:
8206         * text3.C:
8207         * factory.C: make it aware of InsetEnv
8208
8209 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8210
8211         * text2.C (setCursor): never ask for one past last
8212         (setCursor): add some debugging messages.
8213
8214         * text.C (singleWidth): never ask for one past last
8215         (singleWidth): ditto
8216         (leftMargin): ditto
8217         (rightMargin): ditto
8218         (rowBreakPoint): ditto
8219         (setHeightOfRow): ditto
8220         (prepareToPrint): ditto
8221
8222         * rowpainter.C (paintBackground): never ask for one past last
8223         (paintText): never ask for one past last
8224
8225         * paragraph_pimpl.C (getChar): make the assert stricter, never
8226         allow the one past last pos to be taken
8227
8228         * paragraph.C (getChar): ws changes only
8229
8230         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8231         (numberOfSeparators): ditto
8232         (numberOfHfills): ditto
8233
8234 2003-03-12  John Levon  <levon@movementarian.org>
8235
8236         * author.h:
8237         * author.C:
8238         * bufferparams.h:
8239         * bufferparams.C:
8240         * paragraph_funcs.C: fix per-buffer authorlists
8241
8242 2003-03-12  John Levon  <levon@movementarian.org>
8243
8244         * text.C: fix newline in right address
8245
8246 2003-03-12  Angus Leeming  <leeming@lyx.org>
8247
8248         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8249         duplicate those in LyXFunc::dispatch.
8250
8251         * commandtags.h:
8252         * LyXAction.C:
8253         * ToolbarDefaults.C:
8254         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8255         Add LFUN_FONTFREE_UPDATE.
8256
8257         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8258         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8259
8260         * bufferview_func.[Ch]: several new functions to facilliate
8261         transfer of data to and from the character dialog.
8262
8263 2003-03-12  John Levon  <levon@movementarian.org>
8264
8265         * buffer.C:
8266         * paragraph.h:
8267         * paragraph.C:
8268         * paragraph_funcs.C:
8269         * paragraph_pimpl.C:
8270         * sgml.C:
8271         * tabular.C:
8272         * text.C:
8273         * text3.C: remove META_NEWLINE in favour of an inset
8274
8275         * rowpainter.h:
8276         * rowpainter.C: remove paintNewline (done by inset)
8277
8278 2003-03-12  John Levon  <levon@movementarian.org>
8279
8280         * paragraph_pimpl.C: complain about bad getChar()s
8281         for a while at least
8282
8283 2003-03-12  John Levon  <levon@movementarian.org>
8284
8285         * buffer.h:
8286         * buffer.C: move paragraph read into a separate function,
8287         a little renaming to reflect that.
8288
8289         * bufferparams.h:
8290         * bufferparams.C: remove the author_ids map, not necessary now
8291
8292         * factory.h:
8293         * factory.C: moved Buffer::readInset to here
8294
8295         * paragraph_funcs.h:
8296         * paragraph_funcs.C: readParagraph free function moved from
8297         buffer.C
8298
8299         * tabular.C: name change
8300
8301 2003-03-12  John Levon  <levon@movementarian.org>
8302
8303         * buffer.C:
8304         * ParagraphParameters.C: move par params input to
8305         a read() method
8306
8307         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8308         behave like a normal read from the stream wrt reading
8309         a line vs. a \\token
8310
8311 2003-03-12  John Levon  <levon@movementarian.org>
8312
8313         * paragraph.C:
8314         * ParagraphParameters.h:
8315         * ParagraphParameters.C: move output code to a
8316         ::write() method
8317
8318 2003-03-12  John Levon  <levon@movementarian.org>
8319
8320         * BufferView.C (insertLyXFile):
8321         * buffer.h:
8322         * buffer.C:
8323         * tabular.C: use a parlist iterator for creating the
8324           document.
8325
8326 2003-03-12  John Levon  <levon@movementarian.org>
8327
8328         * buffer.C: make current_change static local not
8329           static file-scope
8330
8331 2003-03-12  John Levon  <levon@movementarian.org>
8332
8333         * buffer.C: fix insertStringAsLines for change tracking
8334
8335 2003-03-12  John Levon  <levon@movementarian.org>
8336
8337         * BufferView.C:
8338         * tabular.C:
8339         * buffer.h:
8340         * buffer.C:
8341         * bufferparams.h:
8342         * bufferparams.C: move author list into params. Rename some
8343           functions. Move the header reading into a separate token
8344           loop. Move the header token reading into BufferParams.
8345
8346 2003-03-12  John Levon  <levon@movementarian.org>
8347
8348         * changes.C: put debug inside lyxerr.debugging() checks
8349
8350 2003-03-11 André Pönitz <poenitz@gmx.net>
8351
8352         * factory.C: make it aware of InsetHFill
8353
8354 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8355
8356         * buffer.C (latexParagraphs): move function from here...
8357         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8358         args.
8359
8360 2003-03-10  Angus Leeming  <leeming@lyx.org>
8361
8362         * LyXAction.C (init): fix bug in poplating array with multiple entries
8363         with the same LFUN (spotted by JMarc).
8364
8365 2003-03-10  John Levon  <levon@movementarian.org>
8366
8367         * text.C:
8368         * text2.C: move getColumnNearX() near its
8369         only call site
8370
8371 2003-03-10  John Levon  <levon@movementarian.org>
8372
8373         * text.C: fix break before a minipage
8374
8375 2003-03-10  John Levon  <levon@movementarian.org>
8376
8377         * text.C: fix the last commit
8378
8379 2003-03-09  John Levon  <levon@movementarian.org>
8380
8381         * lyxtext.h:
8382         * text.C:
8383         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8384         bug 365 (don't break before insets unless needed). Don't
8385         return a value > last under any circumstances.
8386
8387 2003-03-09  Angus Leeming  <leeming@lyx.org>
8388
8389         * BufferView_pimpl.C (trackChanges, dispatch): call
8390         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8391
8392 2003-03-09  Angus Leeming  <leeming@lyx.org>
8393
8394         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8395         than Dialogs::showAboutlyx().
8396
8397 2003-03-09  Angus Leeming  <leeming@lyx.org>
8398
8399         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8400         than Dialogs::showTabularCreate().
8401
8402 2003-03-09  John Levon  <levon@movementarian.org>
8403
8404         * lyxtext.h:
8405         * text.C:
8406         * text2.C: 3rd arg to nextBreakPoint was always the same.
8407           Use references.
8408
8409 2003-03-08  John Levon  <levon@movementarian.org>
8410
8411         * lyxrow.C:
8412         * paragraph.C:
8413         * paragraph.h:
8414         * rowpainter.C:
8415         * text.C:
8416         * text2.C: Remove the "main" bit from the "main body"
8417           notion.
8418
8419 2003-03-08  John Levon  <levon@movementarian.org>
8420
8421         * text.C (leftMargin): The left margin of an empty
8422         manual label paragraph should not include the label width
8423         string length.
8424
8425         * text.C (prepareToPrint): don't attempt to measure hfills
8426         for empty manual label paragraphs - the answer should be 0
8427
8428 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8429
8430         * CutAndPaste.C: remove commented code and reindent.
8431
8432 2003-03-08  John Levon  <levon@movementarian.org>
8433
8434         * lyxfunc.h:
8435         * lyxfunc.C: move reloadBuffer()
8436
8437         * BufferView.h:
8438         * BufferView.C: to here
8439
8440         * lyxvc.C: add comment
8441
8442         * vc-backend.h:
8443         * vc-backend.C: call bv->reload() to avoid
8444           getStatus() check on MENURELOAD
8445
8446 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8447
8448         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8449         to an old format .dep file.
8450
8451 2003-03-07  Angus Leeming  <leeming@lyx.org>
8452
8453         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8454         when the LFUN_MOUSE_RELEASE should have been handled by
8455         inset->localDispatch.
8456
8457 2003-03-07  Angus Leeming  <leeming@lyx.org>
8458
8459         * BufferView_pimpl.C (dispatch):
8460         * LyXAction.C (init):
8461         * ToolbarDefaults.C (init):
8462         * commandtags.h:
8463         * lyxfunc.C (getStatus):
8464         remove LFUN_INSET_GRAPHICS.
8465
8466         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8467
8468 2003-03-07  Angus Leeming  <leeming@lyx.org>
8469
8470         * commandtags.h:
8471         * LyXAction.C (init):
8472         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8473
8474         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8475
8476         * commandtags.h:
8477         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8478
8479         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8480         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8481
8482 2003-03-07  Angus Leeming  <leeming@lyx.org>
8483
8484         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8485         remove "ert".
8486
8487 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8488
8489         * ParagraphList.C (front): new function
8490         (back): implement
8491
8492 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8493
8494         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8495         and top_row_offset_. removed var first_y.
8496         * text.C (top_y):
8497         * text2.C (LyXText, removeRow):
8498         * text3.C:
8499         * BufferView_pimpl.C:
8500         use these methods instead of using first_y
8501
8502 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8503
8504         * text2.C (pasteSelection): adjust for checkPastePossible
8505
8506         * CutAndPaste.C: remove Paragraph * buf and replace with
8507         ParagraphList paragraphs.
8508         (DeleteBuffer): delete
8509         (cutSelection): change the tc type to textclass_type
8510         (copySelection): change the tc type to textclass_type
8511         (copySelection): adjust for ParagraphList
8512         (pasteSelection): change the tc type to textclass_type
8513         (pasteSelection): adjust for Paragraphlist
8514         (nrOfParagraphs): simplify for ParagraphList
8515         (checkPastePossible): simplify for ParagraphList
8516         (checkPastePossible): remove unused arg
8517
8518         * ParagraphList.C (insert): handle the case where there are no
8519         paragraphs yet.
8520
8521         * CutAndPaste.h: make CutAndPaste a namespace.
8522
8523         * text3.C (dispatch): adjust
8524
8525         * text.C (breakParagraph): add a ParagraphList as arg
8526
8527         * paragraph_funcs.C (breakParagraph): change to take a
8528         BufferParams and a ParagraphList as args.
8529         (breakParagraphConservative): ditto
8530         (mergeParagraph): ditto
8531         (TeXDeeper): add a ParagraphList arg
8532         (TeXEnvironment): ditto
8533         (TeXOnePar): ditto
8534
8535         * buffer.C (readLyXformat2): adjust
8536         (insertStringAsLines): adjust
8537         (latexParagraphs): adjust
8538
8539         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8540         (cutSelection): adjust
8541         (pasteSelection): adjust
8542
8543         * BufferView_pimpl.C (insertInset): adjust
8544
8545 2003-03-05  Angus Leeming  <leeming@lyx.org>
8546
8547         * commandtags.h:
8548         * LyXAction.C (init):
8549         * BufferView_pimpl.C (dispatch):
8550         * lyxfunc.C (getStatus):
8551         remove LFUN_CHILD_INSERT.
8552
8553         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8554
8555 2003-03-05  Angus Leeming  <leeming@lyx.org>
8556
8557         * commandtags.h:
8558         * LyXAction.C (init):
8559         * src/factory.C (createInset):
8560         * lyxfunc.C (getStatus):
8561         * text3.C (dispatch):
8562         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8563
8564         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8565
8566 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * ParagraphList.C (insert): handle insert right before end()
8569         (erase): fix cases where it can be first or last paragraph.
8570
8571 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8572
8573         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8574         Paragraph::next and Paragraph::previous
8575         (TeXOnePar): ditto
8576
8577         * text.C (breakParagraph): adjust
8578
8579         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8580         BufferParams& as arg.
8581         (breakParagraph): use ParagraphList::insert
8582         (breakParagraphConservative): take a Buffer* instead of a
8583         BufferParams& as arg.
8584         (breakParagraphConservative): use ParagraphList::insert.
8585
8586         * buffer.C (insertStringAsLines): un-const it
8587         (insertStringAsLines): adjust
8588
8589         * ParagraphList.C (insert): new function
8590
8591         * CutAndPaste.C (pasteSelection): adjust
8592
8593         * text.C (backspace): adjust
8594
8595         * tabular.C (SetMultiColumn): adjust
8596
8597         * CutAndPaste.C (cutSelection): adjust
8598         (pasteSelection): adjust
8599
8600         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8601         Buffer const * as arg
8602
8603         * ParagraphList.C (erase): new function
8604         * paragraph_funcs.C (mergeParagraph): use it
8605         (mergeParagraph): make it take a Buffer* instead of a
8606         BufferParams* as arg
8607
8608         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8609         as arg
8610         (breakParagraphConservative): ditto
8611
8612         * paragraph.h: remove the breakParagraph friend
8613
8614         * paragraph.C (eraseIntern): new function
8615         (setChange): new function
8616
8617         * paragraph_funcs.C (mergeParagraph): make it take a
8618         ParagraphList::iterator instead of a Paragraph *, adjust
8619         accordingly.
8620
8621         * paragraph.h: move an #endif so that the change tracking stuff
8622         also works in the NO_NEXT case.
8623
8624 2003-03-04  Angus Leeming  <leeming@lyx.org>
8625
8626         * commandtags.h:
8627         * LyXAction.C: new LFUN_INSET_MODIFY.
8628
8629         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8630         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8631
8632 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8633
8634         * several files: ws changes only
8635
8636         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8637         (TeXEnvironment): ditto
8638         (TeXDeeper): ditto
8639
8640         * buffer.C (makeLaTeXFile): adjust
8641         (latexParagraphs): make it take ParagraphList::iterator as args
8642
8643 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8644
8645         * buffer.C (latexParagraphs): adjust
8646
8647         * paragraph.C (TeXOnePar): move function...
8648         (optArgInset): move function...
8649         (TeXEnvironment): move function...
8650         * paragraph_pimpl.C (TeXDeeper): move function...
8651         * paragraph_funcs.C: ...here
8652
8653         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8654
8655 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * buffer.C (readInset): remove compability code for old Figure and
8658         InsetInfo insets
8659
8660 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8661
8662         * buffer.C: ws changes
8663         (readInset):
8664
8665         * BufferView_pimpl.C: ditto
8666         * author.C: ditto
8667         * buffer.h: ditto
8668         * bufferlist.h: ditto
8669         * changes.h: ditto
8670         * lyxfunc.C: ditto
8671
8672 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8673
8674         * converter.[Ch]: split into itself +
8675         * graph.[Ch]
8676         * format.[Ch]
8677         * Makefile.am: += graph.[Ch] + format.[Ch]
8678         * MenuBackend.C
8679         * buffer.C
8680         * exporter.C
8681         * importer.C
8682         * lyx_main.C
8683         * lyxfunc.C
8684         * lyxrc.C: added #include "format.h"
8685
8686 2003-02-27  Angus Leeming  <leeming@lyx.org>
8687
8688         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8689           a label.
8690
8691         * factory.C (createInset): add "label" to the factory.
8692
8693         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8694           string and do no more.
8695
8696 2003-02-27  Angus Leeming  <leeming@lyx.org>
8697
8698         * commandtags.h:
8699         * LyXAction.C (init):
8700         * factory.C (createInset):
8701         * BufferView_pimpl.C (dispatch):
8702           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8703
8704         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8705
8706         * lyxfunc.C (dispatch):
8707         * text3.C (dispatch): pass name to params2string.
8708
8709 2003-02-26  Angus Leeming  <leeming@lyx.org>
8710
8711         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8712           blocks together.
8713           Rearrange the ~includes. Strip out the unnecessary ones.
8714
8715         * factory.C (createInset): reformat.
8716           create new insets for the various LFUN_XYZ_APPLY lfuns.
8717
8718 2003-02-26  John Levon  <levon@movementarian.org>
8719
8720         * lyxrow.h:
8721         * lyxrow.C: add isParStart,isParEnd helpers
8722
8723         * paragraph.h: make isInserted/DeletedText take refs
8724
8725         * paragraph_funcs.h:
8726         * paragraph_funcs.C: remove #if 0'd code
8727
8728         * lyxtext.h:
8729         * text3.C:
8730         * text2.C:
8731         * text.C: use lyxrow helpers above.
8732           Move draw and paint routines to RowPainter.
8733           Make several methods use refs not pointers.
8734           Make backgroundColor() const.
8735           Add markChangeInDraw(), isInInset().
8736           Merge changeRegionCase into changeCase.
8737           Make workWidth() shouldn't-happen code into an Assert.
8738
8739         * rowpainter.h:
8740         * rowpainter.C: new class for painting a row.
8741
8742         * vspace.h:
8743         * vspace.C: make inPixels take a ref
8744
8745 2003-02-26  Angus Leeming  <leeming@lyx.org>
8746
8747         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8748         LFUN_REF_APPLY.
8749
8750 2003-02-25  John Levon  <levon@movementarian.org>
8751
8752         * ispell.C: give the forked command a more accurate name
8753
8754 2003-02-22  John Levon  <levon@movementarian.org>
8755
8756         * toc.h:
8757         * toc.C: make TocItem store an id not a Paragraph *
8758           (bug #913)
8759
8760 2003-02-21  Angus Leeming  <leeming@lyx.org>
8761
8762         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8763           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8764           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8765           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8766           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8767           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8768
8769         * BufferView_pimpl.C (dispatch):
8770         * LyXAction.C (init):
8771         * factory.C (createInset):
8772         * lyxfunc.C (getStatus, dispatch):
8773         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8774
8775 2003-02-21  Angus Leeming  <leeming@lyx.org>
8776
8777         * BufferView_pimpl.C (MenuInsertLyXFile):
8778         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8779         * lyxfunc.C (menuNew, open, doImport):
8780           no longer pass a LyXView & to fileDlg.
8781
8782 2003-02-21  Angus Leeming  <leeming@lyx.org>
8783
8784         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8785         * LyXAction.C: change, BIBKEY to BIBITEM.
8786         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8787         Change InsetBibKey to InsetBibitem.
8788         Change BIBKEY_CODE to BIBITEM_CODE.
8789         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8790         * factory.C: replace insetbib.h with insetbibitem.h.
8791         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8792         * paragraph.C: replace insetbib.h with insetbibitem.h.
8793         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8794         Change bibkey() to bibitem().
8795         * text.C: remove insetbib.h.
8796         * text2.C: replace insetbib.h with insetbibitem.h.
8797         change bibkey() to bibitem().
8798         * text3.C: remove insetbib.h.
8799         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8800
8801 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8802
8803         * lyxrc.C (output): enclose user email in quotes (in case there are
8804         several words)
8805
8806 2003-02-18  John Levon  <levon@movementarian.org>
8807
8808         * buffer.h: add std::
8809
8810 2003-02-17  John Levon  <levon@movementarian.org>
8811
8812         * SpellBase.h:
8813         * ispell.h:
8814         * ispell.C:
8815         * pspell.h:
8816         * pspell.C: reworking. Especially in ispell, a large
8817           number of clean ups and bug fixes.
8818
8819         * lyxfunc.C: fix revert to behave sensibly
8820
8821 2003-02-17 André Pönitz <poenitz@gmx.net>
8822
8823         * LyXAction.C:
8824         * commandtags.h: new LFUN_INSERT_BIBKEY
8825
8826         * layout.h:
8827         * lyxlayout.C:
8828         * buffer.C:
8829         * factory.C:
8830         * text.C:
8831         * text2.C:
8832         * text3.C:
8833         * paragraph.[Ch]:
8834         * paragraph_func.C: remove special bibkey handling
8835
8836 2003-02-17  John Levon  <levon@movementarian.org>
8837
8838         * text.C (Delete): fix case where delete at the end of
8839           the very first paragraph would not merge the pars
8840
8841 2003-02-17  John Levon  <levon@movementarian.org>
8842
8843         * lyxrow.C: fix lastPrintablePos()
8844
8845 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8846
8847         * bufferparams.C (writeLaTeX): add a std:here
8848
8849         * buffer.C: and remove a using directive there
8850
8851 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8852
8853         * buffer.C (makeLaTeXFile): move the code that generates the
8854           preamble...
8855
8856         * bufferparams.C (writeLaTeX): ... in this new method
8857
8858         * LaTeXFeatures.C (getEncodingSet): make const
8859           (getLanguages): make const
8860
8861         * MenuBackend.C (binding): returns the binding associated to this
8862           action
8863           (add): sets the status of each item by calling getStatus. Adds
8864           some intelligence.
8865           (read): add support for OptSubMenu
8866           (expand): remove extra separator at the end of expanded menu
8867
8868 2003-02-15  John Levon  <levon@movementarian.org>
8869
8870         * BufferView.C:
8871         * BufferView_pimpl.C:
8872         * bufferlist.h:
8873         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8874           inset code that had no actual effect. Remove unneeded status
8875           code.
8876
8877 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8878
8879         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8880           in preamble
8881
8882 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8883
8884         * text.C (drawLengthMarker): also draw an arrow marker for
8885           symbolic lengths (medskip...)
8886
8887 2003-02-14  John Levon  <levon@movementarian.org>
8888
8889         * tabular.h:
8890         * tabular.C: better method names
8891
8892 2003-02-14  John Levon  <levon@movementarian.org>
8893
8894         * BufferView_pimpl.C:
8895         * bufferlist.C:
8896         * buffer.C:
8897         * converter.C:
8898         * lyx_cb.C:
8899         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8900           it's a more accurate name. Remove some pointless uses.
8901
8902 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8903
8904         * text2.C (LyXText): change order of initilizers to shut off
8905           warnings
8906
8907 2003-02-14  John Levon  <levon@movementarian.org>
8908
8909         * buffer.C: use ParIterator for getParFromID()
8910
8911         * paragraph.h:
8912         * paragraph.C:
8913         * paragraph_pimpl.h:
8914         * paragraph_pimpl.C: remove unused getParFromID()
8915
8916 2003-02-14  John Levon  <levon@movementarian.org>
8917
8918         * buffer.C: remove some very old #if 0'd parse code
8919
8920 2003-02-13  John Levon  <levon@movementarian.org>
8921
8922         * text.h:
8923         * text.C:
8924         * text2.C: move hfillExpansion(), numberOfSeparators(),
8925           rowLast(), rowLastPrintable(), numberofHfills(),
8926           numberOfLabelHfills() ...
8927
8928         * lyxrow.h:
8929         * lyxrow.C: ... to member functions here.
8930
8931         * paragraph.h:
8932         * paragraph.C:
8933         * lyxtext.h:
8934         * text.C: remove LyXText::beginningOfMainBody(), and call
8935           p->beginningOfMainBody() directly. Move the check for
8936           LABEL_MANUAL into the latter.
8937
8938         * text.h:
8939         * text.C:
8940         * text2.C:
8941         * vspace.C:
8942         * BufferView.h:
8943         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8944
8945         * text.h:
8946         * text.C:
8947         * text2.C:
8948         * text3.C:
8949         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8950           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8951
8952 2003-02-13  John Levon  <levon@movementarian.org>
8953
8954         * CutAndPaste.C: remove debug
8955
8956 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8957
8958         * paragraph.C (asString): remove two unused variables
8959
8960         * lyxtextclass.C (readTitleType):
8961           (Read):
8962           (LyXTextClass): handle new members titletype_ and titlename_
8963
8964         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8965
8966 2003-02-09  John Levon  <levon@movementarian.org>
8967
8968         * buffer.h:
8969         * buffer.C: replace hand-coded list with a map for the dep clean
8970
8971 2003-02-08  John Levon  <levon@movementarian.org>
8972
8973         * LaTeX.C: consolidate code into showRunMessage() helper
8974
8975 2003-02-08  John Levon  <levon@movementarian.org>
8976
8977         * lyxfind.C:
8978         * lyxtext.h:
8979         * text2.C:
8980         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8981           and pass the size in explicitly
8982
8983         * BufferView_pimpl.h:
8984         * BufferView_pimpl.C:
8985         * BufferView.h:
8986         * BufferView.C: add getCurrentChange()
8987
8988         * BufferView_pimpl.h:
8989         * BufferView_pimpl.C: handle change lfuns
8990
8991         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8992           for changes. Mark pasted paragraphs as new.
8993
8994         * support/lyxtime.h:
8995         * support/lyxtime.C:
8996         * DepTable.C: abstract time_t as lyx::time_type
8997
8998         * LColor.h:
8999         * LColor.C: add colours for new text, deleted text, changebars
9000
9001         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9002           package use "usenames" option.
9003
9004         * commandtags.h:
9005         * lyxfunc.C:
9006         * LyXAction.C: add change lfuns
9007
9008         * Makefile.am:
9009         * author.h:
9010         * author.C: author handling
9011
9012         * buffer.h:
9013         * buffer.C: add a per-buffer author list, with first entry as
9014           current author. Handle new .lyx tokens for change tracking. Output
9015           author list to .lyx file. Output dvipost stuff to .tex preamble.
9016           Bump lyx format to 222.
9017
9018         * bufferlist.h:
9019         * bufferlist.C: add setCurrentAuthor() to reset current author details
9020           in all buffers.
9021
9022         * bufferparams.h:
9023         * bufferparams.C: add param for tracking
9024
9025         * bufferview_funcs.C: output change info in minibuffer
9026
9027         * Makefile.am:
9028         * changes.h:
9029         * changes.C: add change-tracking structure
9030
9031         * debug.h:
9032         * debug.C: add CHANGES debug flag
9033
9034         * lyxfind.h:
9035         * lyxfind.C: add code for finding the next change piece
9036
9037         * lyxrc.h:
9038         * lyxrc.C: add user_name and user_email
9039
9040         * lyxrow.h:
9041         * lyxrow.C: add a metric for the top of the text line
9042
9043         * lyxtext.h:
9044         * text.C: implement accept/rejectChange()
9045
9046         * lyxtext.h:
9047         * text.C: paint changebars. Paint new/deleted text in the chosen
9048         colours. Strike through deleted text.
9049
9050         * paragraph.h:
9051         * paragraph.C:
9052         * paragraph_pimpl.h:
9053         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9054           in the current change to the insert functions. Rework erase to
9055           mark text as deleted, adding an eraseIntern() and a range-based
9056           erase(). Implement per-paragraph change lookup and
9057           accept/reject.
9058
9059         * paragraph_funcs.C: Fixup paste for change tracking.
9060
9061         * tabular.C: mark added row/columns as new.
9062
9063         * text.C: fix rowLast() to never return -1. Don't allow
9064           spellchecking of deleted text. Track transpose changes. Don't
9065           allow paragraph break or merge where appropriate.
9066
9067         * text2.C: leave cursor at end of selection after a cut.
9068
9069 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9070
9071         * text.C (getLengthMarkerHeight):
9072         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9073         visible on screen too.
9074
9075 2003-02-07  John Levon  <levon@movementarian.org>
9076
9077         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9078
9079 2003-02-05  Angus Leeming  <leeming@lyx.org>
9080
9081         * lyxserver.C (read_ready): revert my patch of 11 September last year
9082         as it sends PC cpu through the roof. Presumably this means that
9083         the lyxserver will no longer run on an Alpha...
9084
9085 2003-01-30  Angus Leeming  <leeming@lyx.org>
9086
9087         * factory.C (createInset): create an InsetCommandParam of type "index"
9088         and use it to 'do the right thing'.
9089
9090         * text2.C (getStringToIndex): ensure that cursor position is always
9091         reset to the reset_cursor position.
9092
9093 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9094
9095         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9096         disabled.
9097
9098 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9099
9100         * bufferview.C:
9101         * lyxcb.C:
9102         * lyxfunc.C: Output messages with identical spelling, punctuation,
9103         and spaces
9104
9105 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9106
9107         * MenuBackend.C (expandFormats): List only viewable export formats
9108         in "View" menu
9109
9110         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9111         message
9112
9113         * lyxfunc.C (getStatus): Make sure that formats other than
9114         "fax" can also be disabled
9115
9116 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9117
9118         * text3.C (dispatch): put the lfuns that insert insets in 3
9119         groups, and call doInsertInset with appropriate arguments.
9120         (doInsertInset): new function, that creates an inset and inserts
9121         it according to some boolean parameters.
9122
9123 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9124
9125         * buffer.C (readFile): remember to pass on 'par' when calling
9126         readFile recursively.
9127
9128 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9129
9130         * MenuBackend.C (expandFormats): add "..." to import formats.
9131
9132 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9133
9134         * paragraph.C (asString): Remove XForms RTL hacks.
9135
9136 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9137         * buffer.C: fix typo
9138
9139 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9140
9141         * Makefile.am (LIBS): delete var
9142         (lyx_LDADD): add @LIBS@ here instead.
9143
9144 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9145
9146         * Clarify the meaning of "wheel mouse jump"
9147
9148 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9149
9150         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9151         tabular in a float
9152
9153 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9154
9155         * importer.C (Loaders): do not preallocate 3 elements in the
9156         vector, since one ends up with 6 elements otherwise
9157
9158 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9159
9160         * DepTable.C (write): write the file name as last element of the
9161         .dep file (because it may contain spaces)
9162         (read): read info in the right order
9163
9164 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9165
9166         * paragraph_pimpl.C (simpleTeXBlanks):
9167         (simpleTeXSpecialChars):
9168         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9169
9170         * tabular.C (latex): add some missing case statements. Reindent.
9171
9172         * MenuBackend.C (expandToc): remove unused variable.
9173
9174 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9175
9176         * LColor.C:
9177         * LaTeX.C:
9178         * LyXAction.C:
9179         * MenuBackend.C:
9180         * buffer.C:
9181         * exporter.C:
9182         * lyxfunc.C:
9183         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9184         and the like.
9185
9186 2003-01-05  John Levon  <levon@movementarian.org>
9187
9188         * BufferView.h:
9189         * BufferView.C: add getEncoding()
9190
9191         * kbsequence.h:
9192         * kbsequence.C: do not store last keypress
9193
9194         * lyxfunc.h:
9195         * lyxfunc.C: store last keypress here instead. Pass encoding
9196           to getISOEncoded()
9197
9198 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * lyx_main.C (init): remove annoying error message when following
9201         symbolic links (bug #780)
9202
9203 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9204
9205         * text.C (insertChar):
9206         * lyxrc.C (getDescription): remove extra spaces
9207
9208 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9209
9210         * lyxrc.C (getDescription): remove extra spaces
9211
9212 2002-12-20  John Levon  <levon@movementarian.org>
9213
9214         * text3.C: hack fix for page up/down across tall rows
9215
9216 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9217
9218         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9219         not been invoked
9220
9221 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9222
9223         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9224         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9225         thesaurus is not compiled in
9226
9227 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9228
9229         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9230
9231 2002-12-16  Angus Leeming  <leeming@lyx.org>
9232
9233         * lyxrc.[Ch]:
9234         * lyx_main.C (init): remove override_x_deadkeys stuff.
9235
9236 2002-12-12  John Levon  <levon@movementarian.org>
9237
9238         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9239           insert. Only remove shift modifier under strict
9240           circumstances.
9241
9242 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9243
9244         * MenuBackend.C (expandToc): fix crash.
9245
9246 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9247
9248         * MenuBackend.C (expandToc): gettext on float names.
9249
9250 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9251
9252         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9253         implement bool empty() [bug 490]
9254
9255 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9256
9257         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9258
9259 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9260
9261         * several files: ws changes
9262
9263 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * text2.C (setCounter): clean up a bit, use boost.format.
9266         (updateCounters): initialize par upon declaration.
9267
9268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9269         if the layout exists. We do not just store the layout any more.
9270         (SwitchLayoutsBetweenClasses): use boost.format
9271
9272 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9273
9274         * converter.C (convert): if from and to files are the same, use a
9275         temporary files as intermediary
9276
9277 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9278
9279         * commandtags.h:
9280         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9281
9282 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9283
9284         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9285
9286 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9287
9288         * tabular.C (asciiPrintCell): use string(size, char) instead of
9289         explicit loop.
9290
9291         * sgml.C (openTag): fix order of arguments to string constructor
9292         (closeTag): ditto
9293
9294         * lyxfunc.C (dispatch): use boost.format
9295
9296         * lots of files: change "c" -> 'c'
9297
9298 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9299
9300         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9301
9302 2002-11-25  Angus Leeming  <leeming@lyx.org>
9303
9304         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9305
9306         * lyx_main.C (init): compile fix.
9307
9308 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * lyx_cb.C (start): boost.formatify
9311         do not include <iostream>
9312
9313         * lengthcommon.C: ws only
9314
9315         * boost-inst.C,BoostFormat.h: add more explict instantations
9316
9317 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9318
9319         * lots of files: handle USE_BOOST_FORMAT
9320
9321 2002-11-21  John Levon  <levon@movementarian.org>
9322
9323         * pspell.C: fix compile
9324
9325 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9326
9327         * lyxfunc.C (dispatch): use boost::format
9328         (open): ditto
9329         (doImport): ditto
9330
9331         * lyxfont.C (stateText): use boost::format
9332
9333         * lyx_main.C (LyX): use boost::format
9334         (init): ditto
9335         (queryUserLyXDir): ditto
9336         (readRcFile): ditto
9337         (parse_dbg): ditto
9338         (typedef boost::function): use the recommened syntax.
9339
9340         * importer.C (Import): use boost::format
9341
9342         * debug.C (showLevel): use boost::format
9343
9344         * converter.C (view): use boost::format
9345         (convert): ditto
9346         (move): ditto
9347         (scanLog): ditto
9348
9349         * bufferview_funcs.C (currentState): use boost::format
9350
9351         * bufferlist.C (emergencyWrite): use boost::format
9352
9353         * buffer.C (readLyXformat2): use boost::format
9354         (parseSingleLyXformat2Token): ditto
9355
9356         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9357
9358         * LaTeX.C (run): use boost::format
9359
9360         * Chktex.C (scanLogFile): use boost::format
9361
9362         * BufferView_pimpl.C (savePosition): use boost::format
9363         (restorePosition): ditto
9364         (MenuInsertLyXFile): ditto
9365
9366         * BoostFormat.h: help file for explicit instation.
9367
9368 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9369
9370         * tabular.C (latex): Support for block alignment in fixed width
9371         columns.
9372
9373 2002-11-17  John Levon  <levon@movementarian.org>
9374
9375         * BufferView_pimpl.C:
9376         * lyx_cb.C:
9377         * lyxfunc.C: split filedialog into open/save
9378
9379 2002-11-08  Juergen Vigna  <jug@sad.it>
9380
9381         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9382         by my last patch (hopefully).
9383
9384 2002-11-08  John Levon  <levon@movementarian.org>
9385
9386         * iterators.h:
9387         * iterators.C:
9388         * buffer.h:
9389         * buffer.C:
9390         * paragraph.h:
9391         * paragraph.C:
9392         * toc.h:
9393         * toc.C: ParConstIterator, and use it (from Lars)
9394
9395 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9396
9397         * lyxtextclass.[Ch]: revise and add doxygen comments
9398
9399 2002-11-07  John Levon  <levon@movementarian.org>
9400
9401         * text.C: fix progress value for spellchecker
9402
9403         * toc.C: fix navigate menu for insetwrap inside minipage
9404
9405         * paragraph_funcs.C: added FIXME for suspect code
9406
9407 2002-11-07  John Levon  <levon@movementarian.org>
9408
9409         * BufferView_pimpl.C: fix redrawing of insets
9410           on buffer switch
9411
9412 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9413
9414         * text2.C (updateCounters): fix bug 668
9415
9416 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9417
9418         * text3.C (dispatch): Do not make the buffer dirty when moving the
9419         cursor.
9420
9421 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9422
9423         * vc-backend.C: STRCONV
9424         (scanMaster): ditto
9425
9426         * text2.C (setCounter): STRCONV
9427
9428         * paragraph.C (asString): STRCONV
9429
9430         * lyxlength.C (asString): STRCONV
9431         (asLatexString): ditto
9432
9433         * lyxgluelength.C (asString): STRCONV
9434         (asLatexString): ditto
9435
9436         * lyxfunc.C (dispatch): STRCONV
9437         (open): ditto
9438
9439         * lyxfont.C (stateText): STRCONV
9440
9441         * importer.C (Import): STRCONV
9442
9443         * counters.C (labelItem): STRCONV
9444         (numberLabel): ditto
9445         (numberLabel): remove unused ostringstream o
9446
9447         * chset.C: STRCONV
9448         (loadFile): ditto
9449
9450         * bufferview_funcs.C (currentState): STRCONV
9451
9452         * buffer.C (readFile): STRCONV
9453         (asciiParagraph): ditto
9454         (makeLaTeXFile): ditto
9455
9456         * Spacing.C (writeEnvirBegin): STRCONV
9457
9458         * LaTeXFeatures.C (getLanguages): STRCONV
9459         (getPackages): ditto
9460         (getMacros): ditto
9461         (getBabelOptions): ditto
9462         (getTClassPreamble): ditto
9463         (getLyXSGMLEntities): ditto
9464         (getIncludedFiles): ditto
9465
9466         * LaTeX.C: STRCONV
9467         (run): ditto
9468         (scanAuxFile): ditto
9469         (deplog): ditto
9470
9471         * LString.h: add the STRCONV macros
9472
9473         * BufferView_pimpl.C (savePosition): STRCONV
9474         (restorePosition): ditto
9475         (MenuInsertLyXFile): ditto
9476
9477         * vc-backend.C (scanMaster): change from submatch[...] to
9478         submatch.str(...)
9479
9480         * funcrequest.C: include config.h
9481
9482         * factory.C: include config.h
9483
9484         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9485
9486         * box.C: include config.h
9487
9488         * LaTeX.C (scanAuxFile): change from submatch[...] to
9489         submatch.str(...)
9490         (deplog): ditto
9491
9492 2002-10-25  Angus Leeming  <leeming@lyx.org>
9493
9494         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9495
9496         * ispell.[Ch] (setError): new method.
9497         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9498         Use setError() insetead of goto END.
9499
9500         * lyx_cb.C (AutoSave): move out child process into new class
9501         AutoSaveBuffer.
9502
9503 2002-10-30  John Levon  <levon@movementarian.org>
9504
9505         * text3.C: make start appendix undoable
9506
9507 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9508
9509         * lyxlength.C (inPixels): Fix returned value.
9510
9511         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9512         environment.
9513
9514 2002-10-24  Angus Leeming  <leeming@lyx.org>
9515
9516         * lyxgluelength.h: no need to forward declare BufferParams
9517         or BufferView, so don't.
9518
9519 2002-10-21  John Levon  <levon@movementarian.org>
9520
9521         * BufferView.C: menuUndo ->undo, redo
9522
9523         * BufferView.h: document, remove dead, make some methods private
9524
9525         * paragraph_funcs.h:
9526         * paragraph_funcs.C:
9527         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9528
9529         * buffer.h:
9530         * buffer.C:
9531         * sgml.h:
9532         * sgml.C: move sgml open/close tag into sgml.C
9533
9534         * bufferview_funcs.h: unused prototype
9535
9536         * lyxfunc.h:
9537         * lyxfunc.C: remove unused
9538
9539         * lyxtext.h:
9540         * text.C: remove unused
9541
9542 2002-10-21  John Levon  <levon@movementarian.org>
9543
9544         * BufferView.h:
9545         * BufferView.C:
9546         * BufferView_pimpl.h:
9547         * BufferView_pimpl.C: fix mouse wheel handling based on
9548           patch from Darren Freeman
9549
9550 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9551
9552         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9553
9554 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9555
9556         * lyxlength.C (inPixels): Fix hanfling of negative length.
9557         Fix LyXLength::MU case.
9558
9559 2002-10-16  John Levon  <levon@movementarian.org>
9560
9561         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9562
9563 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9564
9565         * converter.C (view): add support for $$i (file name) and $$p
9566         (file path) for the viewer command. If $$i is not specified, then
9567         it is appended to the command (for compatibility with old syntax)
9568
9569 2002-10-14  Juergen Vigna  <jug@sad.it>
9570
9571         * undo_funcs.C (textHandleUndo): alter the order in which the
9572         new undopar is added to the LyXText, as we have to set first
9573         the right prev/next and then add it as otherwise the rebuild of
9574         LyXText is not correct. Also reset the cursor to the right paragraph,
9575         with this IMO we could remove the hack in "redoParagraphs()".
9576
9577 2002-10-09  Angus Leeming  <leeming@lyx.org>
9578
9579         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9580         to turn off an optimisation if a new inset is to be inserted.
9581
9582 2002-10-11 André Pönitz <poenitz@gmx.net>
9583
9584         * lyxtext.h: make some functions public to allow access
9585         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9586
9587 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9588
9589         * text3.C (dispatch): when changing layout, avoid an infinite loop
9590         [bug #652]
9591
9592 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9593
9594         * lyxrc.C (read): treat a viewer or converter command of "none" as
9595         if it were empty.
9596
9597         * MenuBackend.C (expandFormats): for an update, also allow the
9598         formats that are not viewable
9599
9600         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9601         script if it is newer than the lyxrc.defaults in user directory
9602
9603 2002-10-07 André Pönitz <poenitz@gmx.net>
9604
9605         * text.C: Vitaly Lipatov's small i18n fix
9606
9607 2002-09-25  Angus Leeming  <leeming@lyx.org>
9608
9609         * ispell.h: doxygen fix.
9610
9611 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9612
9613         * buffer.h (readFile): Add a new argument to the method, to allow
9614         reading of old-format templates.
9615
9616 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9617
9618         * toc.C (getTocList): Get TOC from InsetWrap.
9619
9620 2002-09-16  John Levon  <levon@movementarian.org>
9621
9622         * lyxfunc.C: check tabular for cut/copy too
9623
9624 2002-09-12  John Levon  <levon@movementarian.org>
9625
9626         * LyXAction.C: tidy
9627
9628         * factory.h:
9629         * factory.C: add header
9630
9631         * paragraph_funcs.h:
9632         * paragraph_funcs.C: cleanup
9633
9634 2002-09-11  John Levon  <levon@movementarian.org>
9635
9636         * PrinterParams.h: odd/even default to true
9637
9638 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9639
9640         * PrinterParams.h: update printer parameters for new xforms dialog
9641
9642 2002-09-11  Angus Leeming  <leeming@lyx.org>
9643
9644         * lyxserver.C (read_ready): re-write to make it more transparent
9645         and to make it work in coherent fashion under Tru64 Unix.
9646
9647 2002-09-11  André Pönitz <poenitz@gmx.net>
9648
9649         * commandtags.h:
9650         * LyXAction.C:
9651         * text3.C: implement LFUN_WORDSEL
9652
9653 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9654
9655         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9656         make floatlist_ a boost::shared_ptr<FloatList>
9657
9658         * lyxtextclass.C: include FloatList.h
9659         (LyXTextClass): initialize floatlist_
9660         (TextClassTags): add TC_NOFLOAT
9661         (Read): match "nofloat" to TC_NOFLOAT and use it.
9662         (readFloat): modify call to floatlist_
9663         (floats): ditto
9664         (floats): ditto
9665
9666         * FloatList.[Ch] (FloatList): remove commented out float
9667         initialization.
9668         (erase): new function
9669
9670 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9671
9672         * MenuBackend.C (expandToc): fix crash when there is no document
9673         open
9674
9675 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9676
9677         * many files: Add insetwrap.
9678
9679 2002-09-09  John Levon  <levon@movementarian.org>
9680
9681         * text2.C: remove confusing and awkward depth wraparound
9682
9683 2002-09-09  John Levon  <levon@movementarian.org>
9684
9685         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9686
9687         * buffer.h:
9688         * buffer.C: remove getIncludeonlyList()
9689
9690         * paragraph.C:
9691         * lyxfunc.C: remove headers
9692
9693 2002-09-09  Juergen Vigna  <jug@sad.it>
9694
9695         * text.C (getColumnNearX): fix form Michael this is most
9696         probably a cut&paste bug.
9697
9698 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9699
9700         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9701
9702         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9703         references, ws changes.
9704
9705         * text2.C (init): update counters after init
9706         (insertParagraph): no need to set counter on idividual paragraphs.
9707         (setCounter): access the counters object in the textclass object
9708         on in the buffer object.
9709         (updateCounters): ditto
9710
9711         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9712         shared_ptr<Counters> to avoid loading counters.h in all
9713         compilation units.
9714         (LyXTextClass): initialize ctrs_
9715         (TextClassTags): add TC_COUNTER, and ...
9716         (Read): use it here.
9717         (CounterTags): new tags
9718         (readCounter): new function
9719         (counters): new funtion
9720         (defaultLayoutName): return a const reference
9721
9722         * counters.C (Counters): remove contructor
9723         (newCounter): remove a couple of unneeded statements.
9724         (newCounter): simplify a bit.
9725         (numberLabel): some small formatting changes.
9726
9727         * buffer.[Ch]: remove all traces of counters, move the Counters
9728         object to the LyXTextClass.
9729
9730 2002-09-06  Alain Castera  <castera@in2p3.fr>
9731
9732         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9733         package to set the horizontal alignment on fixed width columns.
9734
9735         * lyx_sty.C:
9736         * lyx_sty.h: added tabularnewline macro def.
9737
9738         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9739
9740 2002-09-06  John Levon  <levon@movementarian.org>
9741
9742         * LyXAction.C: tooltips for sub/superscript
9743
9744         * MenuBackend.C: a bit more verbose
9745
9746         * lyxfunc.C: tiny clean
9747
9748         * undo_funcs.C: document undo_frozen
9749
9750 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9751
9752         * counters.C (Counters): add missing algorithm counter.
9753
9754         * text2.C (setCounter): lookup the counter with layouts latexname
9755         instead of by section number.
9756         (setCounter): use a hackish way to lookup the correct enum
9757         counter.
9758         a float name->type change
9759         reset enum couners with counter name directly instead of depth value.
9760
9761         * counters.C (Counters): remove the push_backs, change to use the
9762         float type not the float name.
9763         (labelItem): remove unused string, float name->type change
9764
9765         * counters.h: don't include vector, loose the enums and sects vectors
9766
9767 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9768
9769         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9770         (Read): add float->TC_FLOAT to textclassTags
9771         (Read): and handle it in the switch
9772         (readFloat): new function
9773
9774         * FloatList.C (FloatList): comment out the hardcoded float
9775         definitions.
9776
9777         * lyxlayout.h: ws change.
9778
9779 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9780
9781         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9782
9783 2002-09-03  Angus Leeming  <leeming@lyx.org>
9784
9785         * BufferView_pimpl.h: qualified name is not allowed in member
9786         declaration: WorkArea & Pimpl::workarea() const;
9787
9788         * factory.C: added using std::endl directive.
9789
9790         * text3.C: added using std::find and std::vector directives.
9791
9792 2002-08-29  André Pönitz <poenitz@gmx.net>
9793
9794         * lyxtext.h:
9795         * text2.C: remove unused member number_of_rows
9796
9797         * Makefile.am:
9798         * BufferView2.C: remove file, move contents to...
9799         * BufferView.C: ... here
9800
9801         * BufferView_pimpl.C:
9802         * factory.C: move more inset creation to factory
9803
9804         * vspace.C: avoid direct usage of LyXText, ws changes
9805
9806         * BufferView.[Ch]:
9807                 don't provide direct access to WorkArea, use two simple
9808                 acessors haveSelction() and workHeight() instead
9809
9810
9811 2002-08-29  John Levon  <levon@movementarian.org>
9812
9813         * BufferView_pimpl.C (dispatch): do not continue when
9814           no buffer
9815
9816 2002-08-28  André Pönitz <poenitz@gmx.net>
9817
9818         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9819
9820         * BufferView.h:
9821         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9822
9823 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9824
9825         * buffer.C: increment LYX_FORMAT to 221
9826
9827         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9828         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9829
9830         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9831
9832         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9833
9834 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9835
9836         * factory.C (createInset): use LyXTextClass::floats
9837
9838         * MenuBackend.C (expandFloatListInsert):
9839         (expandFloatInsert):
9840         (expandToc):
9841
9842         * text2.C (setCounter):
9843
9844         * LaTeXFeatures.C (useFloat):
9845         (getFloatDefinitions):
9846
9847         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9848
9849         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9850         floatlist_, with accessor floats().
9851
9852         * FloatList.h: remove global FloatList
9853
9854 2002-08-26  André Pönitz <poenitz@gmx.net>
9855
9856         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9857
9858         * BufferView.h:
9859         * BufferView2.C:
9860         * BufferView_pimpl.C:
9861         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9862
9863 2002-08-25  John Levon  <levon@movementarian.org>
9864
9865         * LyXAction.C: fix margin note description
9866
9867 2002-08-24  John Levon  <levon@movementarian.org>
9868
9869         * buffer.C:
9870         * bufferlist.C:
9871         * bufferview_funcs.C:
9872         * lyxfont.C:
9873         * undo_funcs.C: cleanups
9874
9875         * lyxfunc.C: disable CUT/COPY when no selection
9876
9877 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9878
9879         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9880         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9881
9882         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9883         Add backward compatibility to "mono", "gray" and "no".
9884
9885 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9886
9887         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9888         (and file_format >= 200).
9889
9890 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9891
9892         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9893
9894 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9895
9896         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9897
9898 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9899
9900         * BufferView_pimpl.C:
9901         * LyXAction.C:
9902         * buffer.C:
9903         * commandtags.h:
9904         * lyxfunc.C:
9905         * paragraph.[Ch]:
9906         * text2.C:
9907         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9908         inset and code to make it  work with the paragraph code. The inset
9909         can be anywhere in the paragraph, but will only do the expected
9910         thing in LaTeX if the layout file contains the parameter line
9911                         OptionalArgs    1
9912         (or more generally, a nonzero value) for that layout.
9913
9914 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9915
9916         * paragraph.h: remove the declaration of undefined counters class
9917         function.
9918
9919 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9920
9921         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9922         Dr. Richard Hawkins.
9923
9924 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9925
9926         * paragraph_funcs.h: remove some unneeded includes
9927
9928         * text.C (backspace): pasteParagraph now in global scipe
9929
9930         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9931         (pasteSelection): ditto
9932
9933         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9934         * paragraph_funcs.C (pasteParagraph): ... here
9935
9936 2002-08-20  André Pönitz <poenitz@gmx.net>
9937
9938         * commandtags.h: new LFUNs for swapping/copying table row/colums
9939
9940         * LyXAction.C:
9941         * lyxfunc.C: support for new lfuns
9942
9943 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9944
9945         * tabular.C:
9946         * buffer.[Ch]: remove NO_COMPABILITY stuff
9947
9948 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9949
9950         * boost.C (throw_exception): new file, with helper function for
9951         boost compiled without exceptions.
9952
9953         * paragraph.h:
9954         * lyxlength.C:
9955         * buffer.C:
9956         * ParameterStruct.h:
9957         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9958
9959         * bufferlist.C (emergencyWriteAll): use boost bind
9960
9961         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9962
9963         * text.C: include paragraph_funcs.h
9964         (breakParagraph): breakParagraph is now in global scope
9965
9966         * paragraph_funcs.[Ch]: new files
9967
9968         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9969         global scope
9970
9971         * buffer.C: include paragraph_funcs.h
9972         (insertStringAsLines): breakParagraph is now in global scope
9973
9974         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9975         paragraph_funcs.C
9976
9977         * CutAndPaste.C: include paragraph_funcs.h
9978         (cutSelection): breakParagraphConservative is now in global scope
9979         (pasteSelection): ditto
9980
9981         * buffer.h: declare oprator== and operator!= for
9982         Buffer::inset_iterator
9983
9984         * bufferlist.C (emergencyWrite): don't use fmt(...)
9985
9986         * text3.C: add using std::endl
9987
9988         * BufferView.C (moveCursorUpdate): remove default arg
9989
9990 2002-08-20  André Pönitz <poenitz@gmx.net>
9991
9992         * buffer.[Ch]: move inline functions to .C
9993
9994         * BufferView2.C:
9995         * BufferView_pimpl.C:
9996         * text.C:
9997         * buffer.[Ch]: use improved inset_iterator
9998
9999         * buffer.C:
10000         * paragraph.[Ch]: write one paragraph at a time
10001
10002 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10003
10004         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10005         style if style is not specified.
10006
10007 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10008
10009         * text2.C (setCounter): when searching for right label for a
10010         caption, make sure to recurse to parent insets (so that a caption
10011         in a minipage in a figure float works) (bug #568)
10012
10013 2002-08-20  André Pönitz <poenitz@gmx.net>
10014
10015         * text3.C: new file for LyXText::dispatch() and helpers
10016
10017         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10018
10019         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10020
10021 2002-08-19  André Pönitz <poenitz@gmx.net>
10022
10023         * lyxtext.h:
10024         * text.C: new LyXText::dispatch()
10025
10026         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10027
10028 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10029
10030         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10031
10032         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10033         Hebrew text.
10034
10035 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * Makefile.am: use $(variables) instead of @substitutions@
10038
10039 2002-08-15  André Pönitz <poenitz@gmx.net>
10040
10041         * lyxfunc.C:
10042         * BufferView_pimpl.C: streamlining mathed <-> outer world
10043         interaction
10044
10045         * commandtags.h:
10046         * LyXAction.C: remove unused LFUN_MATH
10047
10048 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10049
10050         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10051
10052 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10053
10054         * paragraph.C (Paragraph): reformat a bit
10055         (cutIntoMinibuffer): use builtin InsetList function instad of
10056         doing it manually.
10057         (getInset): ditto
10058
10059         * buffer.C: include boost/bind.hpp, add using std::for_each
10060         (writeFileAscii): use ParagraphList iterators
10061         (validate): use for_each for validate traversal of paragraphs
10062         (getBibkeyList): use ParagraphList iterators
10063         (resizeInsets): use for_each to resizeInsetsLyXText for all
10064         paragraphs.
10065         (getParFromID): use ParagraphList iterators
10066
10067         * BufferView2.C (lockInset): use paragraph list and iterators
10068
10069 2002-08-14  John Levon  <levon@movementarian.org>
10070
10071         * lyxserver.C: remove spurious xforms include
10072
10073 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10074
10075         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10076
10077 2002-08-13  André Pönitz <poenitz@gmx.net>
10078
10079         * LyXAction.[Ch]:
10080         * lyxfunc.C: further cleaning
10081
10082 2002-08-13  André Pönitz <poenitz@gmx.net>
10083
10084         * funcrequest.h: new constructor
10085
10086         * funcrequest.C: move stuff here from .h
10087
10088         * Makefile.am:
10089         * BufferView_pimpl.C:
10090         * LyXAction.C:
10091         * toc.C:
10092         * lyxfunc.C: subsequent changes
10093
10094         * lyxfunc.h: new view() member function
10095
10096         * lyxfunc.C: subsequent changes
10097
10098 2002-08-13  Angus Leeming  <leeming@lyx.org>
10099
10100         * BufferView2.C:
10101         * BufferView_pimpl.C:
10102         * buffer.C:
10103         * converter.C:
10104         * importer.C:
10105         * lyxfunc.C:
10106         * lyxvc.C:
10107         * toc.C:
10108         * vc-backend.C:
10109         changes due to the changed LyXView interface that now returns references
10110         to member variables not pointers.
10111
10112 2002-08-13  Angus Leeming  <leeming@lyx.org>
10113
10114         * WordLangTuple (word, lang_code): return references to strings,
10115         not strings.
10116
10117         * BufferView.h:
10118         * SpellBase.h:
10119         * lyxtext.h: forward-declare WordLangTuple.
10120
10121         * BufferView2.C:
10122         * ispell.C:
10123         * pspell.C:
10124         * text.C: #include "WordLangTuple.h".
10125
10126         * lyxtext.h:
10127         * text.C: (selectNextWordToSpellcheck): constify return type.
10128
10129 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10130
10131         * buffer.C:
10132         * buffer.h:
10133         * lyxtext.h:
10134         * paragraph.C:
10135         * paragraph_pimpl.h:
10136         * text.C:
10137         * text2.C:
10138         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10139         suggested by Angus.
10140         Made updateCounter always count from start of buffer, and removed
10141         second argument (par).
10142         Reverted floats number display to '#'. Perhaps I'll try again when the
10143         code base is sanitized a bit.
10144
10145 2002-08-12  Angus Leeming  <leeming@lyx.org>
10146
10147         * buffer.[Ch] (getLabelList): constify.
10148
10149 2002-08-07  André Pönitz <poenitz@gmx.net>
10150
10151         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10152
10153         * funcrequest.h: extension to keep mouse (x,y) position
10154
10155 2002-08-12  Juergen Vigna  <jug@sad.it>
10156
10157         * BufferView2.C (insertErrors): forbid undo when inserting error
10158         insets.
10159
10160         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10161
10162 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10163
10164         * ParagraphList.[Ch]: new files
10165
10166         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10167
10168         * BufferView2.C (lockInset): ParagraphList changes
10169         * toc.C: ditto
10170         * text2.C: ditto
10171         * bufferlist.C: ditto
10172         * buffer.h: ditto
10173         * buffer.C: ditto
10174
10175 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10176
10177         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10178         unused class variable counter_,
10179
10180         * paragraph.[Ch] (getFirstCounter): delete unused function
10181
10182         * counters.C: include LAssert.h
10183         (reset): add a new function with no arg, change other version to
10184         not have def. arg and to not allow empty arg.
10185
10186         * text2.C (setCounter): remove empty arg from call to Counters::reset
10187
10188 2002-08-11  John Levon  <levon@movementarian.org>
10189
10190         * Makefile.am: add WordLangTuple.h
10191
10192 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10193
10194         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10195         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10196
10197         * insets/insettext.C: InsetList changes
10198
10199         * graphics/GraphicsSupport.C (operator()): InsetList changes
10200
10201         * toc.C (getTocList): InsetList changes
10202
10203         * paragraph_pimpl.[Ch]: InsetList changes
10204
10205         * paragraph.[Ch]: InsetList changes
10206
10207         * buffer.C (inset_iterator): InsetList changes
10208         (setParagraph): ditto
10209         * buffer.h (inset_iterator): ditto
10210         * iterators.C (operator++): ditto
10211         * iterators.h: ditto
10212
10213         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10214
10215         * InsetList.[Ch]: new files, most InsetList handling moved out of
10216         paragraph.C.
10217
10218         * BufferView2.C (removeAutoInsets): InsetList changes
10219         (lockInset): ditto
10220         (ChangeInsets): ditto
10221
10222 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10223
10224         * paragraph_pimpl.h (empty): new function
10225
10226         * paragraph.[Ch] (empty): new function
10227
10228         * other files: use the new Paragraph::empty function
10229
10230 2002-08-09  John Levon  <levon@movementarian.org>
10231
10232         * lyxtext.h: remove unused refresh_height
10233
10234 2002-08-09  John Levon  <levon@movementarian.org>
10235
10236         * Makefile.am:
10237         * sgml.h:
10238         * sgml.C:
10239         * buffer.C:
10240         * paragraph.h:
10241         * paragraph.C: move sgml char escaping out of paragraph
10242
10243         * paragraph.h:
10244         * paragraph.C: remove id setter
10245
10246         * buffer.C:
10247         * paragraph.C:
10248         * paragraph_pimpl.C: remove dead tex_code_break_column
10249
10250         * bufferview_funcs.C: small cleanup
10251
10252         * lyxfunc.C: remove dead proto
10253
10254         * lyxtext.h: make some stuff private. Remove some dead stuff.
10255
10256         * lyxgluelength.C: make as[LyX]String() readable
10257
10258 2002-08-08  John Levon  <levon@movementarian.org>
10259
10260         * LyXAction.h:
10261         * LyXAction.C:
10262         * MenuBackend.C:
10263         * ToolbarDefaults.C:
10264         * lyxfunc.C:
10265         * lyxrc.C:
10266         * toc.C: lyxaction cleanup
10267
10268 2002-08-08  John Levon  <levon@movementarian.org>
10269
10270         * BufferView2.C: small cleanup
10271
10272         * lyxfind.h:
10273         * lyxfind.C: move unnecessary header into the .C
10274
10275 2002-08-08  John Levon  <levon@movementarian.org>
10276
10277         * funcrequest.h: just tedious nonsense
10278
10279         * lyx_main.h:
10280         * lyx_main.C: cleanups
10281
10282         * buffer.C:
10283         * vspace.C: remove dead header lyx_main.h
10284
10285 2002-08-07  Angus Leeming  <leeming@lyx.org>
10286
10287         * Paragraph.[Ch]:
10288         * paragraph_pimpl.h:
10289         Forward declare class Counters in paragraph.h by moving the ctrs member
10290         variable into Paragraph::Pimpl.
10291         (counters): new method, returning a reference to pimpl_->ctrs.
10292
10293         * text2.C: ensuing changes.
10294
10295 2002-08-07  John Levon  <levon@movementarian.org>
10296
10297         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10298
10299         * BufferView_pimpl.C: announce X selection on double/triple
10300           click
10301
10302         * lyx_main.C: use correct bool in batch dispatch
10303
10304         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10305
10306 2002-08-07  André Pönitz <poenitz@gmx.net>
10307
10308         * funcrequest.h: new class to wrap a kb_action and its argument
10309
10310         * BufferView.[Ch]:
10311         * BufferView_pimpl[Ch]:
10312         * LaTeX.C:
10313         * LyXAction.[Ch]:
10314         * lyxfunc.[Ch]:
10315         * lyxrc.C: subsequent changes
10316
10317
10318 2002-08-07  John Levon  <levon@movementarian.org>
10319
10320         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10321           document options change.
10322
10323 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10324
10325         * counters.[Ch]
10326         * text2.C
10327         * paragraph.[Ch]
10328         * makefile.am: move counters functionality over from
10329         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10330
10331 2002-08-06  John Levon  <levon@movementarian.org>
10332
10333         * WordLangTuple.h: new file for word + language code tuple
10334
10335         * SpellBase.h:
10336         * pspell.h:
10337         * pspell.C:
10338         * ispell.h:
10339         * ispell.C:
10340         * lyxtext.h:
10341         * text.C:
10342         * text2.C:
10343         * BufferView.h:
10344         * BufferView2.C: use WordLangTuple
10345
10346         * layout.h:
10347         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10348
10349 2002-08-06  John Levon  <levon@movementarian.org>
10350
10351         * lyx_main.C: fix cmdline batch handling
10352
10353 2002-08-06  André Pönitz <poenitz@gmx.net>
10354
10355         * lyxrc.C: set default for show_banner to true
10356
10357 2002-08-06  John Levon  <levon@movementarian.org>
10358
10359         * pspell.C: fix a crash, and allow new aspell to work
10360
10361 2002-08-06  John Levon  <levon@movementarian.org>
10362
10363         * lyxfunc.C:
10364         * kbmap.C: small cleanup
10365
10366         * vspace.h:
10367         * vspace.C: add const
10368
10369 2002-08-05  John Levon  <levon@movementarian.org>
10370
10371         * LyXAction.C: back to tabular-insert
10372
10373 2002-08-04  John Levon  <levon@movementarian.org>
10374
10375         * BufferView.h:
10376         * BufferView.C: cosmetic change
10377
10378         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10379
10380         * bufferlist.C:
10381         * buffer.h:
10382         * buffer.C:
10383         * lyxcb.h:
10384         * lyxcb.C:
10385         * lyxserver.C:
10386         * lyxvc.C:
10387         * vc-backend.C:
10388         * BufferView2.C: purge all "Lyx" not "LyX" strings
10389
10390         * lyxcursor.h:
10391         * lyxcursor.C: attempt to add some documentation
10392
10393         * lyxfunc.C:
10394         * commandtags.h:
10395         * LyXAction.C:
10396         * ToolbarDefaults.C:
10397         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10398           merge with LFUN_TABULAR_INSERT
10399
10400         * Makefile.am:
10401         * SpellBase.h:
10402         * ispell.h:
10403         * ispell.C:
10404         * pspell.h:
10405         * pspell.C: split up i/pspell implementations into separate
10406           files, many cleanups
10407
10408         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10409
10410         * text2.C: some cleanup
10411
10412         * lyxfunc.C: don't check for isp_command == "none" any more, it
10413           didn't make any sense
10414
10415 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10416
10417         * counters.[Ch]
10418         * text2.C
10419         * paragraph.[Ch]
10420         * makefile.am: move counters functionality over
10421         from text2.C/paragraph.[Ch] to counters.[Ch], and
10422         make proper C++.
10423 2002-08-02  John Levon  <levon@movementarian.org>
10424
10425         * buffer.C: s/lyxconvert/lyx2lyx/
10426
10427 2002-08-02  Angus Leeming  <leeming@lyx.org>
10428
10429         * lyxlex.C: revert John's change as it breaks reading of the user
10430         preamble.
10431
10432 2002-08-02  Angus Leeming  <leeming@lyx.org>
10433
10434         * importer.C (Import):
10435         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10436         changes due to LyXView::view() now returning a boost::shared_ptr.
10437
10438 2002-08-02  John Levon  <levon@movementarian.org>
10439
10440         * lyxlex.C: small cleanup
10441
10442 2002-08-02  John Levon  <levon@movementarian.org>
10443
10444         * text2.C (status): small cleanup, no logic change
10445
10446 2002-08-01  John Levon  <levon@movementarian.org>
10447
10448         * buffer.h:
10449         * buffer.C (writeFile): don't output alerts, caller
10450           handles this
10451
10452         * bufferlist.C:
10453         * lyx_cb.C: from above
10454
10455         * lyxfunc.C: allow to open non-existent files
10456
10457 2002-07-31  John Levon  <levon@movementarian.org>
10458
10459         * lyxserver.C: don't let incidental errors get
10460           in the way (errno)
10461
10462 2002-07-30  John Levon  <levon@movementarian.org>
10463
10464         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10465
10466 2002-07-30  John Levon  <levon@movementarian.org>
10467
10468         * lyxserver.h:
10469         * lyxserver.C: remove I/O callback too
10470
10471 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10472
10473         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10474         log.
10475
10476 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10477
10478         * many files: strip,frontStrip -> trim,ltrim,rtrim
10479
10480 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10481
10482         * PrinterParams.h: remove extern containsOnly, and include
10483         support/lstrings.h instead.
10484
10485         * LaTeX.C (scanAuxFile): modify because of strip changes
10486         (deplog): ditto
10487         * buffer.C (makeLaTeXFile): ditto
10488         * bufferparams.C (writeFile): ditt
10489         * lyxfont.C (stateText): ditto
10490         * lyxserver.C (read_ready): ditto
10491         * vc-backend.C (scanMaster): ditto
10492
10493         * BufferView_pimpl.h: ws changes
10494
10495         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10496
10497 2002-07-26  André Pönitz <poenitz@gmx.net>
10498
10499         * kb_sequence.C: remove unnedred usings
10500
10501 2002-07-26  Juergen Vigna  <jug@sad.it>
10502
10503         * lyxfind.C (LyXReplace): we have to check better if the returned
10504         text is not of theLockingInset()->getLockingInset().
10505
10506 2002-07-25  Juergen Vigna  <jug@sad.it>
10507
10508         * lyxfind.C (LyXReplace): don't replace if we don't get the
10509         right LyXText.
10510
10511         * undo_funcs.C (createUndo): remove debugging code.
10512
10513 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10514
10515         * buffer.C (parseSingleLyXformat2Token): Use default placement
10516         when reading old floats.
10517
10518         * FloatList.C (FloatList): Change the default placement of figure
10519         and tables to "tbp".
10520
10521 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * MenuBackend.C: using std::max
10524
10525 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10526
10527         * MenuBackend.C (expandToc):
10528         (expandToc2): code moved from xforms menu frontend. It is now
10529         generic and TOCs are transparent to menu frontends.
10530
10531 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * toc.C (getTocList): protect against buf=0
10534
10535         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10536         Menu as first parameter. Now, this calls itself recursively to
10537         expand a whole tree (this will be useful for TOC handling)
10538         (expandFloatInsert): remove 'wide' version of floats
10539
10540         * MenuBackend.h (submenuname): returns the name of the submenu.
10541         (submenu): returns the submenu itself, provided it has been
10542         created by MenuBackend::expand
10543
10544 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10545
10546         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10547         insets which have noFontChange == true. (bug #172)
10548
10549 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10550
10551         * BufferView_pimpl.C: add connection objects and use them...
10552         (Pimpl): here.
10553
10554 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10555
10556         * MenuBackend.C (expandLastfiles):
10557         (expandDocuments):
10558         (expandFormats):
10559         (expandFloatListInsert):
10560         (expandFloatInsert):
10561         (expand): split expand in parts
10562
10563 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10564
10565         * lyx_gui.C: use lyx_gui::exit()
10566
10567 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * LyXAction.C: show the failing pseudo action
10570
10571 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * buffer.C (readFile): Run the lyxconvert script in order to read
10574         old files.
10575
10576 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * LyXAction.C:
10579         * commandtags.h:
10580         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10581
10582 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * LyXAction.C:
10585         * commandtags.h:
10586         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10587
10588 2002-07-22  Herbert Voss  <voss@lyx.org>
10589
10590         * lengthcommon.C:
10591         * lyxlength.[Ch]: add support for the vertical lengths
10592
10593 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * toc.[Ch]: std:: fixes
10596
10597 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10598
10599         * lyxrc.C: do not include lyx_main.h
10600
10601         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10602         for layouts
10603
10604         * lyxrc.C:
10605         * encoding.C:
10606         * bufferlist.C:
10607         * BufferView2.C: include "lyxlex.h"
10608
10609         * tabular.h:
10610         * bufferparams.h: do not #include "lyxlex.h"
10611
10612         * lyxtextclasslist.C (Add): remove method
10613         (classlist): renamed to classlist_
10614
10615         * paragraph_pimpl.C:
10616         * paragraph.C:
10617         * text2.C:
10618         * CutAndPaste.C:
10619         * bufferview_funcs.C:
10620         * bufferlist.C:
10621         * text.C:
10622         * LaTeXFeatures.C:
10623         * buffer.C:
10624         * toc.C (getTocList): use BufferParams::getLyXTextClass
10625
10626         * toc.C (getTocList): use InsetFloat::addToToc
10627
10628         * toc.[Ch]: new files, containing helper functions to handle table
10629         of contents
10630
10631         * lyxfunc.C (dispatch): no need to remove spaces around command
10632         given as a string
10633         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10634         first command of the sequence; it is not very clever, but I do not
10635         have a better idea, actually
10636
10637         * LyXAction.C (LookupFunc): make sure to remove space at the
10638         beginning and end of the command
10639
10640 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * MenuBackend.C (getMenubar): new method: return the menubar of
10643         this menu set
10644         (read): treat differently reading of menu and menubar (in
10645         particular, the menubar has no name now)
10646         (Menu::menubar): remove
10647
10648         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10649         saving is finished
10650
10651 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10654         a bibitem inset in a RTL paragraph.
10655
10656 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * paragraph_pimpl.C: constify
10659
10660         * BufferView_pimpl.C:
10661         * LaTeX.C:
10662         * lyxfunc.C: fix dispatch in a nicer way
10663
10664 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * lyxfunc.C (dispatch):
10667         * BufferView_pimpl.C:
10668         * BufferView_pimpl.h:
10669         * BufferView.C:
10670         * BufferView.h: rename Dispatch() to dispatch()
10671
10672         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10673
10674         * lyxlayout.C (Read): honor DependsOn tag
10675
10676         * lyxlayout.[Ch] (depends_on): new method
10677
10678         * version.C.in: update lyx_docversion
10679
10680         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10681
10682         * paragraph.C (validate): remove from here...
10683         * paragraph_pimpl.C (validate): ... and move here
10684         (isTextAt): make it const
10685
10686         * buffer.C (getLists): ws cleanup
10687
10688 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * language.C (read): Use iso8859-1 encoding in latex_lang
10691         (this prevents LyX from crashing when using iso10646-1 encoding).
10692
10693 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10694
10695         * text2.C (toggleInset): if cursor is inside an inset, close the
10696         inset and leave cursor _after_ it
10697
10698 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * lyxfunc.C: move minibuffer completion handling out of here
10701
10702 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * BufferView_pimpl.C:
10705         * LaTeX.C: fix dispatch calls
10706
10707 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10708
10709         * text.C (drawChars): Fix Arabic text rendering.
10710
10711 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10712
10713         * LyXAction.C:
10714         * commandtags.h:
10715         * lyxfunc.C: remove message-push/pop
10716
10717         * lyxserver.C:
10718         * lyxfunc.h:
10719         * lyxfunc.C: rationalise some code by removing verboseDispatch
10720           in favour of a bool argument to dispatch()
10721
10722 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * lyx_main.C (init): make sure to read symlinks as absolute paths
10725
10726 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * lyxfunc.h:
10729         * lyxfunc.C: no need for commandshortcut to be a member
10730
10731 2002-07-15  André Pönitz <poenitz@gmx.net>
10732
10733         * converter.C: add support for $$s (scripts from lib/scripts dir)
10734         * lyx_main.C: white space
10735
10736 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * bufferlist.C:
10739         * lyxrc.h:
10740         * lyxrc.C: remove second exit confirmation
10741
10742 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * BufferView.h:
10745         * BufferView.C:
10746         * BufferView2.C:
10747         * BufferView_pimpl.h:
10748         * BufferView_pimpl.C:
10749         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10750
10751 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10752
10753         * MenuBackend.C (expand): add numeric shortcuts to document menu
10754
10755         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10756
10757 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10758
10759         * lyxfont.C (setLyXFamily):
10760         (setLyXSeries):
10761         (setLyXShape):
10762         (setLyXSize):
10763         (setLyXMisc):
10764         (lyxRead):
10765         * debug.C (value):
10766         * buffer.C (asciiParagraph): use ascii_lowercase
10767
10768 2002-07-15  Mike Fabian  <mfabian@suse.de>
10769
10770         * lyxlex_pimpl.C (search_kw):
10771         * lyxlex.C (getLongString):
10772         * converter.h (operator<):
10773         * converter.C (operator<):
10774         * buffer.C (parseSingleLyXformat2Token):
10775         (asciiParagraph):
10776         * ToolbarDefaults.C (read):
10777         * MenuBackend.C (checkShortcuts):
10778         (read):
10779         * LColor.C (getFromGUIName):
10780         (getFromLyXName): use the compare_ascii_no_case instead of
10781         compare_no_case, because in turkish, 'i' is not the lowercase
10782         version of 'I', and thus turkish locale breaks parsing of tags.
10783
10784 2002-07-16  Angus Leeming  <leeming@lyx.org>
10785
10786         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10787         now takes a Buffer const & argument.
10788
10789 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * BufferView.C (resize): check there's a buffer to resize
10792
10793 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * lyxfunc.C: remove dead code
10796
10797         * lyxserver.h:
10798         * lyxserver.C: use lyx_guii::set_read_callback
10799
10800 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10801
10802         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10803         an inset in a RTL paragraph.
10804
10805 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * lyxfunc.C: repaint after a font size update
10808
10809 2002-07-15  André Pönitz <poenitz@gmx.net>
10810
10811         * lyxlength.C: inBP should be able to return negative values
10812
10813 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10814
10815         * lyxfunc.C: use lyx_gui::update_fonts()
10816
10817 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * lyxfunc.C: use lyx_gui::update_color()
10820
10821 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * bufferlist.C:
10824         * lyxfunc.h:
10825         * lyxfunc.C:
10826         * lyxrc.h:
10827         * lyxrc.C: remove file->new asks for name option, and let
10828           buffer-new take an argument
10829
10830 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * BufferView_pimpl.C: remove unneeded extra repaint()
10833
10834 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * LyXAction.C: allow command-sequence with NoBuffer
10837
10838         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10839
10840 2002-07-10  Angus Leeming  <leeming@lyx.org>
10841
10842         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10843
10844 2002-07-09  Angus Leeming  <leeming@lyx.org>
10845
10846         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10847
10848 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * lengthcommon.h: whitespace
10851
10852         * lyxfunc.C: update scrollbar after goto paragraph
10853
10854         * lyxtext.h: factor out page break drawing, and fix it so
10855           page break/added space paints as selected nicely
10856
10857 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10858
10859         * BufferView_pimpl.C: add FIXMEs, clean up a little
10860
10861 2002-07-09  André Pönitz <poenitz@gmx.net>
10862
10863         * lyxfont.[Ch]: support for wasy symbols
10864
10865 2002-07-08  André Pönitz <poenitz@gmx.net>
10866
10867         * BufferView_pimpl.C: apply John's patch for #93.
10868
10869 2002-07-05  Angus Leeming  <leeming@lyx.org>
10870
10871         * BufferView_pimpl.C (buffer): generate previews if desired.
10872
10873         * LColor.h: add "preview" to the color enum.
10874
10875         * LColor.C (LColor): add a corresponding entry to the items array.
10876
10877         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10878         with this buffer.
10879
10880 2002-07-05  Angus Leeming  <leeming@lyx.org>
10881
10882         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10883         The body of the code is now in the method that is passed an ostream &
10884         rather than a file name.
10885         Pass an additional only_preamble parameter, useful for the forthcoming
10886         preview stuff.
10887
10888 2002-07-03  André Pönitz <poenitz@gmx.net>
10889
10890         * lyxfunc.C: simplify getStatus() a bit for math stuff
10891
10892 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10895
10896 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10897
10898         * text.C (changeRegionCase): do not change case of all the
10899         document when region ends at paragraph end (bug #461)
10900
10901 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10902
10903         * paragraph.C (startTeXParParams):
10904         (endTeXParParams): add \protect when necessary
10905
10906 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10907
10908         * BufferView_pimpl.C (workAreaExpose): remove warning
10909
10910 2002-06-27  Angus Leeming  <leeming@lyx.org>
10911
10912         * Makefile.am: add lyxlayout_ptr_fwd.h.
10913
10914 2002-06-26  André Pönitz <poenitz@gmx.net>
10915
10916         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10917
10918 2002-06-25  Angus Leeming  <leeming@lyx.org>
10919
10920         * lyxfunc.C (dispatch): Comment out the call to
10921         grfx::GCache::changeDisplay. The method no longer exists now that the
10922         pixmap generation part of the graphics loader has been moved into
10923         InsetGraphics.
10924
10925 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10926
10927         * text2.C: layout as layout
10928
10929         * text.C: layout as layout
10930
10931         * tabular.C (OldFormatRead): layout as layout
10932
10933         * paragraph_pimpl.C (TeXDeeper): layout as layout
10934         (realizeFont): layout as layout
10935
10936         * paragraph.C (writeFile): layout as layout
10937         (validate): layout as layout
10938         (getFont): layout as layout
10939         (getLabelFont): layout as layout
10940         (getLayoutFont): layout as layout
10941         (breakParagraph): layout as layout
10942         (stripLeadingSpaces): layout as layout
10943         (getEndLabel): layout as layout
10944         (getMaxDepthAfter): layout as layout
10945         (applyLayout): layout as layout
10946         (TeXOnePar): layout as layout
10947         (simpleTeXOnePar): layout as layout
10948         (TeXEnvironment): layout as layout
10949         (layout): layout as layout
10950         (layout): layout as layout
10951
10952         * lyxtextclass.C (compare_name): new functor to work with
10953         shared_ptr, layout as layout
10954         (Read): layout as layout
10955         (hasLayout): layout as layout
10956         (operator): layout as layout
10957         (delete_layout): layout as layout
10958         (defaultLayout): layout as layout
10959
10960         * lyxlayout_ptr_fwd.h: new file
10961
10962         * lyxlayout.C (Read): layout as layout
10963
10964         * lyx_cb.C (MenuInsertLabel): layout as layout
10965
10966         * bufferlist.C (newFile): layout as layout
10967
10968         * buffer.C (readLyXformat2): layout as layout
10969         (parseSingleLyXformat2Token): layout as layout
10970         (insertStringAsLines): layout as layout
10971         (asciiParagraph): layout as layout
10972         (latexParagraphs): layout as layout
10973         (makeLinuxDocFile): layout as layout
10974         (simpleLinuxDocOnePar): layout as layout
10975         (makeDocBookFile): layout as layout
10976         (simpleDocBookOnePar): layout as layout
10977         (getLists): layout as layout
10978
10979         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10980
10981         * CutAndPaste.C (cutSelection): layout as layout
10982         (pasteSelection): layout as layout
10983         (SwitchLayoutsBetweenClasses): layout as layout
10984
10985         * BufferView_pimpl.C (Dispatch): layout as layout
10986         (smartQuote): layout as layout
10987
10988         * BufferView2.C (unlockInset): layout as layout
10989
10990 2002-06-24  André Pönitz <poenitz@gmx.net>
10991
10992         * lyxfunc.C: fix #487
10993
10994 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * lyxrc.h:
10997         * lyxrc.C:
10998         * lyxfunc.C: remove display_shortcuts, show_banner
10999
11000 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11001
11002         * Buffer_pimpl.C: oops, update on resize
11003
11004 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * buffer.C:
11007         * converter.C:
11008         * exporter.C:
11009         * lyxfunc.C:
11010         * BufferView.h:
11011         * BufferView.C: use repaint()
11012
11013         * BufferView_pimpl.h:
11014         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11015           as it's a clearer description. Remove superfluous
11016           redraws.
11017
11018 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * text.C: fix bug 488. Not ideal, but getting
11021           getWord() to work properly for the insets that
11022           matter is more difficult ...
11023
11024 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * BufferView_pimpl.C:
11027         * LyXAction.C:
11028         * commandtags.h:
11029         * lyxfunc.C: remove the six million index lyxfuncs to just
11030           one, and DTRT (bug 458)
11031
11032 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * BufferView.h:
11035         * BufferView.C:
11036         * BufferView_pimpl.h:
11037         * BufferView_pimpl.C: clean up resize() stuff,
11038           and unnecessary updateScreen()s
11039
11040 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11041
11042         * BufferView.h:
11043         * BufferView.C:
11044         * BufferView_pimpl.h:
11045         * BufferView_pimpl.C:
11046         * lyxfind.h:
11047         * lyxfind.C:
11048         * minibuffer.C: remove focus management of workarea,
11049           not needed. Use screen's greyOut()
11050
11051 2002-06-17  Herbert Voss  <voss@lyx.org>
11052
11053         * converter.C: (convert) do not post a message, when converting
11054         fails, let the calling function decide what to do in this case
11055
11056 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * lyxfunc.C: tidy up a little
11059
11060 2002-06-16    <alstrup@diku.dk>
11061
11062         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11063         Got rid of FORMS_H_LOCATION include. Now we are
11064         GUII.
11065
11066 2002-06-15  LyX Development team  <lyx@rilke>
11067
11068         * buffer.[Ch] (sgmlOpenTag):
11069         (sgmlCloseTag): Added support for avoiding pernicious mixed
11070         content. Return number of lines written.
11071
11072         (makeLinuxDocFile):
11073         (makeDocBookFile): Fixed calls to sgml*Tag.
11074         Simple white space clean.
11075
11076         (simpleDocBookOnePar): Simple white space clean.
11077
11078         * tabular.[Ch] (docBook): Renamed to docbook and got another
11079         argument to related with the pernicious mixed content.
11080
11081         (docbookRow): Fixed calls for docbook inset method.
11082
11083 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11084
11085         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11086         so it's X11 independent.
11087
11088         * kb*.[Ch]: ditto.
11089
11090         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11091
11092 2002-06-15  Lyx Development team  <lyx@electronia>
11093
11094         * intl.h: Renamed getTrans to getTransManager.
11095
11096 2002-06-14  Angus Leeming  <leeming@lyx.org>
11097
11098         * Makefile.am: nuke forgotten stl_string_fwd.h.
11099
11100 2002-06-12  Angus Leeming  <leeming@lyx.org>
11101
11102         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11103
11104 2002-06-13  Angus Leeming  <leeming@lyx.org>
11105
11106         * LaTeX.C:
11107         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11108
11109 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11110
11111         * kbmap.C (getiso): add support for cyrillic and greek
11112
11113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * BufferView.h:
11116         * BufferView.C:
11117         * BufferView_pimpl.h:
11118         * BufferView_pimpl.C: move bogus scrolling logic
11119           to xforms
11120
11121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * lyxfunc.C:
11124         * BufferView_pimpl.C: view->resize() change
11125
11126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * BufferView_pimpl.C: topCursorVisible
11129           prototype change
11130
11131 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * Makefile.am:
11134         * lyx_gui.h:
11135         * lyx_gui.C: move to frontends/
11136
11137         * main.C:
11138         * lyx_main.h:
11139         * lyx_main.C: changes from above
11140
11141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * intl.C:
11144         * intl.h:
11145         * kbmap.C:
11146         * kbsequence.C:
11147         * lyx_cb.C:
11148         * lyx_main.C: minor tidy
11149
11150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * BufferView_pimpl.h:
11153         * BufferView_pimpl.C:
11154         * BufferView.h:
11155         * BufferView.C: make painter() const,
11156           remove dead code
11157
11158         * BufferView2.C: use screen() accessor
11159
11160         * lyx_main.h:
11161         * lyx_main.C: some minor cleanup
11162
11163 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11164
11165         * BufferView_pimpl.h:
11166         * BufferView_pimpl.C: remove enter/leaveView,
11167           use workHeight()
11168
11169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * BufferView.h:
11172         * BufferView.C:
11173         * BufferView2.C:
11174         * BufferView_pimpl.h:
11175         * BufferView_pimpl.C: only construct screen once,
11176           rename
11177
11178         * lyxrc.C: remove pointless comment
11179
11180 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * BufferView.h:
11183         * BufferView.C: remove active() and belowMouse()
11184
11185         * BufferView_pimpl.h:
11186         * BufferView_pimpl.C: use workarea() not workarea_,
11187           and make it use a scoped_ptr instead
11188
11189 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * lyx_gui.C: add debug message on BadWindow
11192
11193 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11194
11195         * sp_spell.C: fdopen is not part of the C++ standard.
11196
11197         * paragraph.C (InsetIterator): use >= instead of ==
11198
11199 2002-06-07  Angus Leeming  <leeming@lyx.org>
11200
11201         Fixes needed to compile with Compaq cxx 6.5.
11202         * BufferView_pimpl.C:
11203         * DepTable.C:
11204         * buffer.C:
11205         * converter.C:
11206         * encoding.C:
11207         * lyx_gui.C:
11208         * lyx_main.C:
11209         * lyxtextclasslist.C:
11210         * minibuffer.C:
11211         * sp_spell.C:
11212         * tabular_funcs.C:
11213         * vc-backend.C:
11214         all c-library variables have been moved into namespace std. Wrap
11215         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11216
11217         * lyxlength.C:
11218         * tabular-old.C:
11219         * tabular.C:
11220         Add a using std::abs declaration.
11221
11222         * kbmap.h (modifier_pair):
11223         * paragraph.h (InsetTable, InsetList):
11224         * lyxfont.h (FontBits):
11225         type definition made public.
11226
11227         * bufferlist.C (emergencyWriteAll): the compiler complains that
11228         there is more than one possible lyx::class_fun template to choose from.
11229         I re-named the void specialisation as lyx::void_class_fun.
11230
11231         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11232
11233         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11234         the compiler is is unable to find tostr in write_attribute.
11235
11236 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11237
11238         * buffer.C (sgmlError): hide #warning
11239
11240 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11241
11242         * xtl/*: get rid of xtl, which is not in use anyway
11243
11244         * LyXAction.C (init):
11245         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11246         were unimplemented xtl experimentation
11247
11248 2002-06-04  André Pönitz <poenitz@gmx.net>
11249
11250         * lyxfunc.C: disable array operation on simple formulae
11251
11252 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11253
11254         * converter.C: constify a bit
11255
11256 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11257
11258         * lyx_gui.C: check xforms version correctly
11259
11260 2002-04-30  Herbert Voss  <voss@lyx.org>
11261
11262         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11263         "keep" option
11264
11265 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11266
11267         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11268           attempt to register it with a VCS)
11269
11270 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11271
11272         * lyx_main.C (init): honor variables LYX_DIR_13x and
11273         LYX_USERDIR_13x
11274
11275 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11276
11277         * buffer.h:
11278         * buffer.C:
11279         * lyx_main.C: fix a crash on bad command line,
11280           and give a useful exit status on error
11281
11282         * lyxfunc.C (doImport): allow -i lyx to work
11283
11284 2002-03-30  André Pönitz <poenitz@gmx.net>
11285
11286         * lyxfunc.C: mathed font changes
11287
11288 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * LaTeX.C:
11291         * importer.h:
11292         * importer.C:
11293         * lyx_sty.h:
11294         * lyx_sty.C:
11295         * lyxlex.C:
11296         * lyxrow.h:
11297         * lyxtext.h:
11298         * paragraph.h:
11299         * paragraph.C:
11300         * texrow.h:
11301         * texrow.C:
11302         * text.C:
11303         * trans_mgr.h: srcdocs, and some minor cleanups
11304
11305 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11308         call getFont all the time)
11309
11310 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * switch from SigC signals to boost::signals
11313
11314 2002-05-29  André Pönitz <poenitz@gmx.net>
11315
11316         * paragraph_pimpl.C (getChar): don't call size() too often...
11317
11318 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11319
11320         * paragraph_pimpl.C (insertChar): do not try to update tables when
11321         appending (pos == size())
11322
11323         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11324         in order to reduce drastically the number of comparisons needed to
11325         parse a large document
11326
11327 2002-05-29  André Pönitz <poenitz@gmx.net>
11328
11329         * text.C:
11330         * text2.C:
11331         * lyxtextclass.C:
11332         * sp_pspell.h:
11333         * textclasslist.[Ch]:
11334         * sp_ispell.h: whitespace change
11335
11336 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11337
11338         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11339         lyxaction directly now.
11340
11341 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11342
11343         * trans.C:
11344         * lyxfont.C:
11345         * lyxvc.C: remove unused headers
11346
11347 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * Makefile.am:
11350         * buffer.h:
11351         * undostack.h:
11352         * undostack.C:
11353         * undo_funcs.h:
11354         * undo_funcs.C: some cleanups. Use shared_ptr
11355           and a template for the undo stacks.
11356
11357 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11358
11359         * BufferView_pimpl.h:
11360         * BufferView_pimpl.C:
11361         * kbmap.h:
11362         * kbmap.C:
11363         * kbsequence.h:
11364         * kbsequence.C:
11365         * lyxfunc.h:
11366         * lyxfunc.C:
11367         * text2.C: use key_state/mouse_state
11368
11369 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11372         and LSubstring
11373
11374         * chset.C: change include order
11375         (loadFile): use boost regex and get rid of LRegex and LSubstring
11376
11377         * Makefile.am (BOOST_LIBS): new variable
11378         (lyx_LDADD): use it
11379
11380         * LaTeX.C: change include order.
11381         (scanAuxFile): use boost regex and get rid of LRegex and
11382         LSubstring
11383         (deplog): ditto
11384
11385 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * ColorHandler.h:
11388         * ColorHandler.C:
11389         * FontInfo.h:
11390         * FontInfo.C: moved to frontends/xforms/
11391
11392         * FontLoader.h:
11393         * FontLoader.C: moved into frontends for GUIIzation
11394
11395         * Makefile.am:
11396         * lyx_gui.C:
11397         * lyxfont.C:
11398         * lyxfunc.C: changes from above
11399
11400 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * LColor.C: remove spurious X include
11403
11404         * BufferView_pimpl.C:
11405         * Makefile.am:
11406         * font.h:
11407         * font.C:
11408         * text.C:
11409         * text2.C: move font metrics to frontends/
11410
11411 2002-05-24  Juergen Vigna  <jug@sad.it>
11412
11413         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11414         setting the undo_cursor.
11415
11416         * ParagraphParameters.h: include local includes first.
11417
11418 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * BufferView_pimpl.C:
11421         * BufferView_pimpl.h:
11422         * Makefile.am:
11423         * WorkArea.h:
11424         * WorkArea.C:
11425         * screen.C: move WorkArea into frontends/
11426
11427         * lyxscreen.h:
11428         * screen.C:
11429         * text.C:
11430         * BufferView.C:
11431         * BufferView2.C: move LyXScreen into frontends/
11432
11433         * lyxlookup.h:
11434         * lyxlookup.C:
11435         * lyx_gui.C: move lyxlookup into frontends/xforms/
11436
11437 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * BufferView2.C:
11440         * BufferView_pimpl.C:
11441         * FontLoader.C:
11442         * LyXView.h:
11443         * LyXView.C:
11444         * Makefile.am:
11445         * WorkArea.C:
11446         * XFormsView.h:
11447         * XFormsView.C:
11448         * buffer.C:
11449         * bufferlist.C:
11450         * bufferview_funcs.C:
11451         * converter.C:
11452         * importer.C:
11453         * lyx_cb.C:
11454         * lyx_gui.C:
11455         * lyx_main.C:
11456         * lyx_find.C:
11457         * lyxfunc.C:
11458         * lyxvc.C:
11459         * minibuffer.C:
11460         * text.C:
11461         * text2.C:
11462         * trans.C:
11463         * vc-backend.C: move LyX/XFormsView into frontends/
11464
11465 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * Makefile.am:
11468         * PainterBase.C:
11469         * PainterBase.h:
11470         * Painter.C:
11471         * Painter.h:
11472         * WorkArea.C:
11473         * WorkArea.h:
11474         * screen.C:
11475         * tabular.C:
11476         * text.C:
11477         * text2.C: move Painter to frontends/
11478
11479 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11480
11481         * buffer.C: comment out some some code that depend upon lyx_format
11482         < 220
11483
11484         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11485         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11486
11487         * buffer.h (NO_COMPABILITY): turn off compability
11488
11489         * ColorHandler.C: include scoped_array.hpp
11490
11491         * font.C: Use more specific smart_ptr header.
11492         * Painter.C: ditto
11493         * gettext.C: ditto
11494         * ShareContainer.h: ditto
11495         * lyx_main.h: ditto
11496         * kbmap.h: ditto
11497         * FontInfo.h: ditto
11498         * BufferView_pimpl.h: ditto
11499         * ColorHandler.h: ditto
11500
11501         * kbmap.C (defkey): change call to shared_ptr::reset
11502
11503 2002-05-21  Juergen Vigna  <jug@sad.it>
11504
11505         * buffer.C (insertErtContents): fix to insert ert asis if it is
11506         non empty. Skip it completely if it contains only whitespaces.
11507
11508 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * BufferView_pimpl.C:
11511         * BufferView2.C: clear selection on paste (bug 393)
11512
11513 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * DepTable.C: include ctime
11516
11517 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11518
11519         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11520
11521 2002-05-14  Juergen Vigna  <jug@sad.it>
11522
11523         * text.C (breakParagraph): fixed function to honor the keepempty
11524         layout in the right maner and also to permit the right breaking
11525         algorithm on empty or non empyt keepempty paragraphs.
11526
11527         * paragraph.C (breakParagraph): we have to check also if the par
11528         is really empty (!size()) for isempty otherwise we do the wrong
11529         paragraph break.
11530
11531 2002-05-10  Juergen Vigna  <jug@sad.it>
11532
11533         * buffer.[Ch] : The following are only changes to the ert
11534         compatibility read reading old LaTeX layout and font stuff and
11535         convert it to ERTInsets.
11536
11537         * buffer.h: added isErtInset().
11538
11539         * buffer.C (struct ErtComp): add a fromlayout bool to check
11540         if we're inside a LaTeX layout.
11541         (isErtInset): new helper function.
11542         (insertErtContents): look for other ert insets before this one
11543         and insert the contents there, so that we don't have subsequent
11544         ERT insets with nothing between them. This way we create only one
11545         inset with multiple paragraphs. Also check if we don't insert only
11546         spaces ' ' as they are ignored anyway afterwards in the .tex file
11547         so if we have only spaces we will ignore this latex part in the
11548         new file.
11549         (parseSingleLyXformat2Token \\layout): better compatibility when
11550         reading layout-latex stuff.
11551         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11552         language tag.
11553         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11554         stuff after reading the inset only get the information back from
11555         the stack.
11556
11557 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11558
11559         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11560
11561         * LaTeXFeatures.C (getBabelOptions): New method.
11562
11563 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * BufferView_pimpl.C (Dispatch): work around missing argument for
11566         'layout'
11567
11568 2002-05-08  Juergen Vigna  <jug@sad.it>
11569
11570         * text.C (leftMargin): handle paragraph leftindent.
11571
11572         * paragraph.C (writeFile): write the new \\leftindent tag.
11573         (validate): handle leftindent code.
11574         (TeXEnvironment): handle paragraphleftindent code again.
11575
11576         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11577
11578         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11579         for paragrap_extra indent code and new token \\leftindent.
11580         (latexParagraphs): handle the leftindent as environment.
11581
11582         * ParameterStruct.h: added leftindent support.
11583
11584         * ParagraphParameters.C (leftIndent): added support functions for
11585         the paragraph left indent.
11586
11587         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11588         more appropriate.
11589
11590 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11591
11592         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11593         inside insetERT.
11594
11595         * text.C (computeBidiTables): No bidi in insetERT.
11596
11597         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11598         in RTL documents.
11599
11600 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * version.C.in: pre 5
11603
11604 2002-05-02  José Matos  <jamatos@fep.up.pt>
11605         * buffer.C (makeDocBookFile): white space changes, add newline to
11606         command styles.
11607         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11608
11609         * tabular.C (docBook): fix typo.
11610
11611 2002-05-03  Juergen Vigna  <jug@sad.it>
11612
11613         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11614         change in LyXText as we can not be sure it was not freed.
11615         (drawOneRow): remove unused code.
11616
11617         * text.C (drawInset): redo the calculation of the need_break_row as
11618         it could have a row which was already freed.
11619         (draw): look at the return value of drawInset and return false if
11620         it also returned false.
11621         (paintRowText): look at the return value of draw and return false if
11622         it also returned false.
11623
11624         * lyxtext.h: added bool return type to drawInset() and draw() so that
11625         if we have a change in the row so that the rowbreak has to be redone
11626         we abort drawing as it will be called again.
11627
11628 2002-05-02  Juergen Vigna  <jug@sad.it>
11629
11630         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11631         a change in the maintext also if we're inside an inset.
11632         (Dispatch): set the cursor again after a break line and after the
11633         screen has been updated as it could be we're in a different row.
11634
11635         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11636         to set the cursor behind the pargraph with > size().
11637         (setCursor): check also for the same paragraph when checking where
11638         to put the cursor if we have a NFR inset.
11639
11640         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11641         parts of layout read further up as it still was in the wrong
11642         position.
11643
11644 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * screen.C (drawFromTo): change sine fullRebreak always return
11647         true.
11648
11649         * buffer.C (parseSingleLyXformat2Token): reindent some
11650
11651         * BufferView_pimpl.C (update): change since fullRebreak always
11652         return true.
11653         (Dispatch): git rid of the last hardcoded "Standard"s.
11654
11655 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11656
11657         * text2.[Ch] (fullRebreak): make it return void now that we always
11658         returned true.
11659
11660 2002-04-30  Juergen Vigna  <jug@sad.it>
11661
11662         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11663         ert compatibility check for "latex" layout.
11664
11665 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11666
11667         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11668         minipages: use col% instead of p%, and also use the current font.
11669         (makeLaTeXFile): Fix use babel condition.
11670         (parseSingleLyXformat2Token): Correct font when reading old floats.
11671
11672 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11673
11674         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11675         inserting list of floats.
11676
11677 2002-04-25  Herbert Voss  <voss@lyx.org>
11678
11679         * MenuBackend.C (expand): don't add the graphics extensions to the
11680         export menu
11681
11682 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11685         non-existing layout, do not complain if it was the default layout
11686         of the original class (bug #342)
11687
11688 2002-04-24  Juergen Vigna  <jug@sad.it>
11689
11690         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11691         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11692
11693 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11694
11695         * buffer.C (getBibkeyList): If using \bibliography, return the
11696         option field with the reference itself. Enables us to provide natbib
11697         support when using \bibliography.
11698
11699 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11700
11701         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11702
11703         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11704         natbib is provided by the LaTeX class.
11705
11706 2002-04-23  Juergen Vigna  <jug@sad.it>
11707
11708         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11709         Wakeup functions.
11710
11711         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11712
11713 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11714
11715         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11716
11717         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11718         ensuremath around textordmasculine, textordfeminine and
11719         textdegree.
11720
11721 2002-04-19  Juergen Vigna  <jug@sad.it>
11722
11723         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11724         reinitializing the buffer otherwise row-dimensions may be wrong.
11725         (update): reset also the selection cursors if they do exits otherwise
11726         their x/y positions may be wrong.
11727
11728         * text2.C (cursorDown): don't enter the inset if we came from a row
11729         above and are one row over the inset.
11730
11731         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11732         really leaving an inset.
11733
11734 2002-04-18  Juergen Vigna  <jug@sad.it>
11735
11736         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11737         of the selected paragraph does not have the selected layout also if
11738         the last one had!
11739
11740         * text2.C (setLayout): fixed bug which did not change last selected
11741         paragraph.
11742
11743         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11744         changed the read and substituted \\end_float with \\end_inset!
11745
11746         * BufferView_pimpl.C (cursorPrevious):
11747         (cursorNext): fixed to make it work with rows heigher than the work
11748         area without moving the cursor only the draw of the row.
11749         (workAreaMotionNotify): fix jumping over high rows.
11750
11751 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11752
11753         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11754         Ressler.
11755
11756 2002-04-16  Juergen Vigna  <jug@sad.it>
11757
11758         * text2.C (setCursor): set also the irow().
11759         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11760         (cursorUp):
11761         (cursorDown): support for locking an inset if the x_fix value goes
11762         inside it. That way I can transverse insets too with cursor up/down.
11763
11764         * lyxrow.h: added irow helper function same as other (i) functions.
11765
11766         * BufferView_pimpl.C (cursorPrevious):
11767         (cursorNext): fixed for insets!
11768
11769 2002-04-15  Juergen Vigna  <jug@sad.it>
11770
11771         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11772         position otherwise it is wrong in some cases.
11773
11774         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11775         inside the inset before the call.
11776
11777 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11778
11779         * buffer.[Ch] (getBibkeyList): make it const.
11780
11781 2002-04-12  Juergen Vigna  <jug@sad.it>
11782
11783         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11784
11785         * text2.C (getCursorX): new helper function
11786         (setCursor): compute also ix_
11787         (setCursorFromCoordinates): set also ix.
11788
11789         * lyxcursor.h: added ix_ and helper functions.
11790
11791         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11792
11793         * buffer.C (insertStringAsLines): dont break paragraph if the this
11794         paragraph is inside an inset which does not permit it!
11795
11796         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11797         also with no chars on this paragraph.
11798         (paintRowText): only paint stuff if it's inside the workarea!
11799
11800         * paragraph.C (breakParagraph): honor keepempty flag and break the
11801         paragraph always below not above.
11802
11803         * BufferView2.C (unlockInset): update the paragraph layout on inset
11804         unlock as we changed paragraph in such a case.
11805
11806         * lyxfind.C (LyXFind): clear the former selection if not found!
11807
11808         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11809         again called in insertChar().
11810
11811         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11812         an inset which uses the whole row!
11813         (rightMargin): ditto.
11814         (insertChar): force a rebreak if we inserted an inset!
11815
11816 2002-03-28  Herbert Voss  <voss@lyx.org>
11817
11818         * lyxlength.[Ch]: add inBP() to get the right PS-point
11819         units (BigPoint). With inPixels we have rounding errors
11820
11821 2002-04-11  Juergen Vigna  <jug@sad.it>
11822
11823         * text2.C (setCursorFromCoordinates): set iy to the right value.
11824         (setCursor): add check if row->previous exists!
11825
11826         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11827         an old float_type as this was the case in the old code!
11828
11829         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11830
11831         * BufferView2.C (showLockedInsetCursor): use iy
11832         (fitLockedInsetCursor): ditto
11833
11834         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11835         locked insets as there we have the right value now.
11836
11837         * lyxcursor.C: added iy_ variable and iy functions to set to the
11838         baseline of cursor-y of the locked inset.
11839
11840         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11841         (setCursor): fixed for insets which need a full row.
11842
11843         * text.C (rowLastPrintable): don't ignore the last space when before
11844         an inset which needs a full row.
11845         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11846         as last character of a row when before a inset which needs a full row.
11847
11848 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11849
11850         * version.C.in: update date
11851
11852         * text2.C (fullRebreak): try to always return true and see what
11853         happens...
11854
11855 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11856
11857         * MenuBackend.C (expand): use Floating::listName
11858
11859         * FloatList.C (FloatList): add listName argument to the built-in
11860         floats
11861
11862         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11863         text associated with the float.
11864
11865 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11866
11867         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11868
11869 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * ShareContainer.h: add a couple of missing typenames.
11872
11873 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * lyxrc.C (getDescription): use _() correctly rather than N_().
11876
11877 2002-03-28  Herbert Voss  <voss@lyx.org>
11878
11879         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11880         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11881
11882 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11885         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11886
11887 2002-03-29  Juergen Vigna  <jug@sad.it>
11888
11889         * lyxfunc.C (dispatch): add a missing fitCursor call.
11890
11891         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11892         it was scrolled by a cursor move, so return the bool status.
11893
11894         * BufferView.C (fitCursor): return the bool flag also to the outside
11895         world as this is needed.
11896
11897         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11898
11899         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11900         call the edit() as it is not needed (and wrong) IMO.
11901         (workAreaButtonPress): set the screen_first variable before evt.
11902         unlock the inset as this may change screen_first and then we have
11903         a wrong y position for the click!
11904
11905 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11906
11907         * MenuBackend.C (expand): another translation that I missed
11908
11909 2002-03-28  Juergen Vigna  <jug@sad.it>
11910
11911         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11912
11913         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11914
11915 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11918
11919         * MenuBackend.C (expand): fix export/view/update when there is no
11920         document open.
11921
11922 2002-03-27  Herbert Voss  <voss@lyx.org>
11923
11924         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11925         and text%
11926
11927 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11928
11929         * bufferview_funcs.C (currentState): only show paragraph number
11930         for is DEVEL_VERSION is set.
11931
11932         * lyxfunc.C (dispatch): put warning in INFO channel
11933
11934         * MenuBackend.C (expand): translate the name of floats
11935
11936         * FloatList.C (FloatList): mark the float names for translation
11937
11938         * converter.C (convert): use LibScriptSearch
11939
11940 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * MenuBackend.C (defaults): fix default menu (we might as well get
11943         rid of it...)
11944
11945 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11948         directory.
11949
11950 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * lyxvc.C: reorder includes.
11953
11954 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11957           properly
11958
11959 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11960
11961         * CutAndPaste.C: change layouts earlier on paste
11962           to avoid crashing when calling getFont()
11963
11964 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11965
11966         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11967         irritating #error.
11968
11969 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11970
11971         * WorkArea.C: remove 'Pending' debug message.
11972
11973         * most files: ws cleanup
11974
11975         * buffer.[Ch]: ws changes
11976
11977         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11978
11979 2002-03-21  Juergen Vigna  <jug@sad.it>
11980
11981         * tabular.C (SetMultiColumn): collapse also the contents of the
11982         cells and set the last border right. Added a Buffer const * param.
11983
11984 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11985
11986         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11987         linking or not.
11988
11989 2002-03-19  Juergen Vigna  <jug@sad.it>
11990
11991         * text2.C (clearSelection): reset also xsel_cache.
11992
11993         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11994         where it needs to be called (John tells us to do so too :)
11995         (selectionLost): reset sel_cache.
11996
11997         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11998
11999 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12000
12001         * text2.C (setCursorIntern): put debuging code in INSETS channel
12002
12003 2002-03-19  André Pönitz <poenitz@gmx.net>
12004
12005         * lyxfunc.C: tiny whitespace change
12006
12007 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12008
12009         * ToolbarDefaults.C (init):
12010         * LyXAction.C (init):
12011         * commandtags.h:
12012         * BufferView_pimpl.C (Dispatch):
12013         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12014
12015 2002-03-19  Allan Rae  <rae@lyx.org>
12016
12017         * exporter.C (Export): removeAutoInsets before doing anything else.
12018         While I've just introduced a dependency on BufferView this really is
12019         the best place to clean the buffer otherwise you need to cleanup in
12020         a dozen places before calling export or cleanup in a dozen functions
12021         that export calls.
12022
12023         * converter.C (runLaTeX):
12024         (scanLog): Better handling of removeAutoInsets and screen updates.
12025
12026         * lyxfunc.C (dispatch): small whitespace changes
12027
12028 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * WorkArea.C (C_WorkAreaEvent): return a value.
12031         (event_cb): return 1 if we handled the event, 0 otherwise.
12032
12033         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12034
12035 2002-03-18  Juergen Vigna  <jug@sad.it>
12036
12037         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12038         (GetAdditionalWidth): ditto.
12039         (RightLine): ditto.
12040         (LeftLine): ditto.
12041
12042         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12043         inset if we're there actually (probably not used right now but this
12044         is the direction to go for unifying code).
12045         (paste): disable code to clear the selection.
12046
12047         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12048         inside an InsetText and move the check further up as it is in the
12049         wrong place.
12050
12051         * text2.C (pasteSelection): set a selection over the pasted text.
12052
12053 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12054
12055         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12056         and libgraphics to build on Cygwin.
12057
12058 2002-03-15  Juergen Vigna  <jug@sad.it>
12059
12060         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12061         inserting an Inset into the paragraph. I know this is not the best
12062         fix but we already use current_view in CutAndPaste so we will remove
12063         all of it's using at the same time.
12064
12065         * buffer.C (sgmlError): deactivated function till it is rewritten in
12066         the right mode, now it can create problems.
12067
12068         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12069         before accessing it.
12070
12071 2002-03-14  Juergen Vigna  <jug@sad.it>
12072
12073         * undo_funcs.C (textHandleUndo): do the right thing when updating
12074         the inset after the undo/redo.
12075
12076         * text2.C (setCursor): just some testcode for #44 not ready yet.
12077
12078         * undo_funcs.C (textHandleUndo): set the next() and previous()
12079         pointers of the paragraph to 0 before deleting otherwise we have
12080         problems with the Paragraph::[destructor].
12081
12082         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12083         on a paragraph insertion.
12084
12085 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12086
12087         * buffer.C (asciiParagraph): use += operator for char append to
12088         string.
12089
12090         * paragraph.C (getFontSettings): compare >= not just >
12091         (highestFontInRange): ditto
12092         (setFont): ditto
12093
12094 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * paragraph.C: change several algorithm to be more appripriate for
12097         the problem domain. This is lookip in FontList and in the InsetList.
12098
12099 2002-03-13  André Pönitz <poenitz@gmx.net>
12100
12101         * commandtags.h:
12102         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12103
12104 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * commandtags.h:
12107         * LyXAction.C:
12108         * lyxfunc.C:
12109         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12110
12111 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * Painter.C (display): anon helper function, adjust code for this
12114         change.
12115         (pixmap): remove function.
12116
12117         * Painter.h: remove private display variable.
12118
12119         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12120
12121 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * WorkArea.[Ch]: remove figinset_canvas cruft.
12124
12125 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * lyxtextclass.C (operator): add one item cache optimization.
12128
12129         * bufferlist.h: doxy changes
12130
12131         * bufferlist.C: ws changes
12132
12133         * DepTable.[Ch] (ext_exist): place const in the right spot.
12134
12135         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12136         call resizeInsets.
12137         (workAreaExpose): call resizeInsets when the with BufferView changes.
12138         (Dispatch): adjust for protectedBlank removal
12139         (specialChar): call updateInset if the insert went ok.
12140
12141         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12142         specialChar instead.
12143
12144         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12145
12146         * BufferView.h: doxy change
12147
12148         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12149
12150         * lyxtextclass.C (operator[]): remove non-const version
12151         (defaultLayout): remove non-const version
12152
12153 2002-03-12  Juergen Vigna  <jug@sad.it>
12154
12155         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12156         did resize the LyXText too.
12157
12158         * buffer.C (readLyXformat2): set layout information on newly allocated
12159         paragraphs.
12160
12161         * tabular.C (OldFormatRead): set layout information on the paragraph.
12162
12163 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12164
12165         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12166
12167 2002-03-11  Juergen Vigna  <jug@sad.it>
12168
12169         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12170         plainly wrong.
12171         (resizeCurrentBuffer): force also the insets to resize themselfes.
12172         (moveCursorUpdate): fixed up for InsetText.
12173
12174 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12175
12176         * commandtags.h:
12177         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12178         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12179         value of Dialogs::tooltipsEnabled().
12180         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12181
12182 2002-03-08  Juergen Vigna  <jug@sad.it>
12183
12184         * BufferView_pimpl.C (updateInset): update inset inside inset also
12185         if it isn't inside theLockingInset().
12186
12187 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * buffer.C (asciiParagraph): redo some of the word and line length
12190         handling.
12191         (getLists): look for Caption instead of caption.
12192
12193 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12194
12195         * buffer.C (Buffer): initialize niceFile to true
12196         (makeLaTeXFile):
12197         (makeLinuxDocFile):
12198         (makeDocBookFile): make sure niceFile is true on exit
12199
12200 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12203
12204 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12205
12206         * LyXSendto.C: remove.
12207         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12208         * lyx_gui.C: remove now-redundant comment.
12209         * ColorHandler.h: remove forward declaration of class WorkArea.
12210         * lyxfunc.C: remove #include "WorkArea.h".
12211
12212 2002-03-07  Juergen Vigna  <jug@sad.it>
12213
12214         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12215         got moved away with the DEPM and also set the inset_owner always
12216         right which before could have been omitted.
12217
12218 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12219
12220         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12221         wanted layout is not found.
12222
12223 2002-03-07  Juergen Vigna  <jug@sad.it>
12224
12225         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12226
12227 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * paragraph.C (breakParagraph): use default layout not layout of
12230         prev paragraph.
12231         (Paragraph): clear ParagraphParameters.
12232
12233 2002-03-06  Juergen Vigna  <jug@sad.it>
12234
12235         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12236         otherwise it would not be a valid lenght. Fixed a special case in
12237         the minipage compatibility read where we end the document with a
12238         minipage.
12239
12240         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12241         was set as it could be 0 for InsetTexts first entry.
12242
12243 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12244
12245         * paragraph.C (writeFile): if layout is empty write out
12246         defaultLayoutName().
12247
12248         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12249         file without named layout we set layout to defaultLayoutName().
12250
12251 2002-03-06  Juergen Vigna  <jug@sad.it>
12252
12253         * CutAndPaste.C (copySelection): set layout for new paragraph.
12254
12255         * text.C (prepareToPrint): leave ERT inset left aligned
12256         (leftMargin): don't indent paragraphs inside ERT insets
12257
12258 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12259
12260         * paragraph.C (breakParagraph): dont call clear do the work manually
12261
12262         * paragraph.[Ch] (clear): remove function
12263
12264 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12265
12266         * paragraph.C (Paragraph): dont call clear, the work has already
12267         been done.
12268
12269         * lyxtextclass.C (operator): assert if n is empty
12270
12271         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12272         work manually instead.
12273
12274 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * BufferView_pimpl.C: protect selectionLost against text == 0
12277
12278 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * text.C (breakParagraph): fix a setting layout to '0' problem.
12281
12282 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12283
12284         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12285         final location of file, for the included files, and graphics.
12286
12287 2002-03-05  Juergen Vigna  <jug@sad.it>
12288
12289         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12290
12291 2002-03-04  Juergen Vigna  <jug@sad.it>
12292
12293         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12294
12295         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12296         last column of multicolumn cells.
12297         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12298
12299 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12300
12301         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12302         file if it doesn't go to a temporary file.
12303
12304         * buffer.C (sgmlOpenTag):
12305         (sgmlCloseTag):  remove extra newline insertion.
12306
12307 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * text.C (getRowNearY): comment out debug msg
12310
12311 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * text2.C: first -> first_y
12314
12315         * text.C (getRowNearY): add some attemts at a possible
12316         optimization, not working.
12317
12318         * tabular.[Ch]: add BufferParams to several function so that newly
12319         created paragraph can be initialized to he default layotu for the
12320         buffers textclass.
12321
12322         * tabular-old.C (ReadOld): add buf->params to call of Init
12323
12324         * screen.C: rename text->first to text->first_y
12325
12326         * paragraph.C (breakParagraph): always set layout in the broken
12327         paragraph
12328
12329         * lyxtextclass.C (Read): remove lowercase
12330         (hasLayout): ditto
12331         (operator): ditto
12332         (delete_layout): ditto
12333
12334         * lyxtext.h: rename first -> first_y
12335
12336         * lyxlayout.C (Read): remove lowercase
12337         (name): ditto
12338         (setName): ditto
12339         (obsoleted_by): ditto
12340
12341         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12342
12343         * buffer.C (insertErtContents): add params are to InsetERT
12344         (parseSingleLyXformat2Token): add code to check if a paragraphs
12345         layout really exist.
12346         (parseSingleLyXformat2Token): add params to several inset
12347         constructors
12348         (asciiParagraph): remove lowercase, do the layout comparisons with
12349         no_case
12350
12351         * BufferView_pimpl.C (cursorNext): first -> first_y
12352         (resizeCurrentBuffer): first -> first_y
12353         (updateScrollbar): first -> first_y
12354         (scrollCB): first -> first_y
12355         (workAreaMotionNotify): first -> first_y
12356         (workAreaButtonPress): first -> first_y
12357         (checkInsetHit): first -> first_y
12358         (cursorPrevious): first -> first_y
12359         (cursorNext): first -> first_y
12360         (Dispatch): add buffer_->params to severl inset contructors
12361
12362 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * lyxlayout.C (Read): remove some debug info that I forgot.
12365
12366         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12367         clean up the code slightly.
12368         (makeLinuxDocFile): ditto
12369         (makeDocBookFile): ditto
12370
12371         * text2.C: layout as string
12372
12373         * text.C: layout as string
12374
12375         * paragraph_pimpl.C: layout as string
12376
12377         * paragraph.[Ch]: layout as string
12378
12379         * lyxtextclasslist.[Ch]: layout as string
12380
12381         * lyxtextclass.[Ch]: layout as string
12382
12383         * lyxtext.h: layout as string
12384
12385         * lyxlayout.[Ch]: layout as string
12386
12387         * lyx_cb.C: layout as string
12388
12389         * bufferview_funcs.C: layout as string
12390
12391         * bufferparams.C: layout as string
12392
12393         * buffer.C: layout as string
12394
12395         * LyXView.[Ch]: layout as string
12396
12397         * LaTeXFeatures.[Ch]: layout as string
12398
12399         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12400
12401         * BufferView_pimpl.C: change current_layout to string, remove
12402         lyx::layout_type.
12403         (Dispatch):
12404         (smartQuote):
12405         (insertInset):
12406         (workAreaButtonRelease): layout as string
12407
12408         * BufferView2.C (unlockInset): adjust
12409
12410         * vspace.C (asLatexCommand): use an explict temp variable.
12411
12412 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * Makefile.am: use FRONTEND_*
12415
12416 2002-03-01  Juergen Vigna  <jug@sad.it>
12417
12418         * tabular.C (SetWidthOfMulticolCell): changed to something better
12419         I hope but still work in progress.
12420         (recalculateMulticolumnsOfColumn): renamed function from
12421         recalculateMulticolCells as it is more appropriate now.
12422         (SetWidthOfCell): calculate multicols better.
12423
12424 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12425
12426         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12427
12428         * lyxfunc.C (processKeySym): print sequence also if it is
12429         `deleted' (complete)
12430
12431         * kbsequence.C (print): print sequence even if it is deleted
12432         (complete would be a better word, actually).
12433
12434         * lyxfunc.C (dispatch): print complete options after a prefix key
12435
12436         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12437
12438 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12439
12440         * text2.C (setCharFont): eliminate setCharFont code duplication.
12441
12442 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12443
12444         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12445         LFUN_TABULAR_FEATURE (bug #177)
12446
12447 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12448
12449         * Makefile.am: remove figure.h
12450
12451 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12452
12453         * Bufferview_pimpl.C:
12454         * CutAndPasteC:
12455         * LaTeX.C:
12456         * LyXSendto.C:
12457         * buffer.C:
12458         * bufferlist.C:
12459         * converter.C:
12460         * language.C:
12461         * lyxfunc.C:
12462         * lyxvc.C:
12463         * paragraph.C:
12464         * text.C:
12465         * text2.C: remove #include "lyx_gui_misc.h".
12466
12467         * LaTeX.C: added #include <cstdio>
12468
12469 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12470
12471         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12472         that the paragraph following this one can have.
12473
12474         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12475
12476         * vspace.C (asLatexCommand): fix bogus gcc warning
12477
12478         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12479
12480 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12481
12482         * text2.C (setLayout): get rid of redundant code
12483
12484 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12485
12486         * text2.C (incDepth): make sure depth cannot be increased beyond
12487         reasonable values.
12488
12489 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12490
12491         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12492         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12493
12494         * PainterBase.h (image):
12495         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12496         a LyXImage const *.
12497
12498 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * BufferView.C:
12501         * BufferView.h:
12502         * BufferView_pimpl.C:
12503         * BufferView_pimpl.h:
12504         * LaTeXFeatures.C:
12505         * LyXAction.C:
12506         * LyXView.C:
12507         * Makefile.am:
12508         * UpdateList.h:
12509         * UpdateList.C:
12510         * buffer.C:
12511         * figure.h:
12512         * figureForm.C:
12513         * figureForm.h:
12514         * figure_form.C:
12515         * figure_form.h:
12516         * lyx_cb.C:
12517         * lyx_gui.C:
12518         * lyx_gui_misc.C:
12519         * lyxfunc.C:
12520         * sp_base.h:
12521         * sp_ispell.h:
12522         * sp_pspell.h:
12523         * sp_spell.C: remove fig inset, and the crap house of
12524           cards that follows it
12525
12526 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * Makefile.am:
12529         * lyxserver.C:
12530         * os2_defines.h:
12531         * os2_errortable.h:
12532         * nt_defines.h: move .h into support/
12533
12534         * vms_defines.h: remove
12535
12536         * WorkArea.C: add space in debug output
12537
12538         * text2.C:
12539         * paragraph.C:
12540         * buffer.C: add WITH_WARNINGS
12541
12542         * vc-backend.h:
12543         * vc-backend.C:
12544         * bufferlist.C: s/retrive/retrieve/, add docs
12545
12546         * vspace.h:
12547         * vspace.C:
12548         * kbmap.h:
12549         * lyxlength.h:
12550         * lyxgluelength.h:
12551         * length_common.h:
12552         * chset.h:
12553         * chset.C: add docs
12554
12555         * lyxgui.C: add ID to X error handler
12556
12557         * lyxtestclass.c: fix typo
12558
12559 2002-02-26  Juergen Vigna  <jug@sad.it>
12560
12561         * tabular_funcs.C (write_attribute): changed so that some default
12562         attributes are not written at all.
12563         (getTokenValue): set default values before trying to read the
12564         value so we have the return value always set as default if we don't
12565         find the token we search for.
12566
12567         * tabular.C (Write): write bools as bools not as strings!
12568
12569 2002-02-22  Juergen Vigna  <jug@sad.it>
12570
12571         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12572         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12573
12574         * text.C (leftMargin): don't add an indent for paragraphs inside
12575         tabular cells (fix #208).
12576
12577 2002-02-21  José Matos  <jamatos@fep.up.pt>
12578
12579         * tabular.C (docBook): fixed support for long tables.
12580
12581 2002-02-20  Juergen Vigna  <jug@sad.it>
12582
12583         * text2.C (getFont): get the drawing font of the Inset if this
12584         paragraph is inside an inset (only important for InsetERT for now).
12585
12586         * buffer.C (insertErtContents): use new lanugage params in ERT
12587         constructor.
12588
12589         * CutAndPaste.C: commenting out seemingly uneeded code.
12590
12591 2002-02-19  Allan Rae  <rae@lyx.org>
12592
12593         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12594         Iterators might be simple to use but they also get invalidated.
12595         (removeAutoInsets): renamed saved cursor tracking variables and added
12596         some comments to clarify what everything does.
12597
12598 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * Chktex.C:
12601         * LaTeX.C:
12602         * LyXSendto.C:
12603         * converter.C:
12604         * lyx_cb.C:
12605         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12606         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12607
12608         * lyxfunc.C:
12609         * vc-backend.h: remove #include "support/syscall.h"
12610
12611         * LaTeX.C:
12612         * LyXSendto.C:
12613         * converter.C: rearrange #includes in Lars' approved fashion.
12614
12615         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12616         forward declare class Timeout in the header file.
12617
12618         * XFormsView.C: changes due to the above.
12619
12620         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12621         similar to LyXView.
12622
12623         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12624         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12625
12626 2002-02-18  José Matos  <jamatos@fep.up.pt>
12627
12628         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12629         insets contents.
12630
12631 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12632
12633         * a lot of small ws changes
12634         * add a lot of using std::XXX
12635         * use std construcs some places where approp.
12636         * use some exisint stuff from lyxfunctional where approp.
12637         * Make file changes to use partial linking (lets test this now...)
12638
12639 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * Chktex.C:
12642         * buffer.C:
12643         remove #include "support/syscontr.h" as it's redundant. Always has been.
12644
12645         * Chktex.C:
12646         * LaTeX.C:
12647         * LyXSendto.C:
12648         * converter.C:
12649         * lyx_cb.C:
12650         * vc-backend.C:
12651         change Systemcalls::System to Systemcalls::Wait and
12652         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12653         No change of functionality, just reflects the stripped down Systemcalls
12654         class.
12655
12656 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12657
12658         * debug.[Ch]: add a GRAPHICS type to the enum.
12659
12660 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12661
12662         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12663
12664         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12665         there is an inset.
12666
12667 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12668
12669         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12670         match the changes below.
12671
12672         * text2.C (toggleInset): if there is not editable inset at cursor
12673         position, try to see if cursor is _inside_ a collapsable inset
12674         and close it.
12675
12676 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12677
12678         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12679         document menu has a nice checkbox
12680
12681 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12682
12683         * lyxlength.C (asLatexString): change PW to output as percent of
12684         \textwidth.
12685
12686         * lengthcommon.C: change '%' to 't%'
12687
12688         * lyxfunc.C (dispatch): a few comments from Martin
12689
12690 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * WorkArea.h:
12693         * WorkArea.C:
12694         * BufferView_pimpl.h:
12695         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12696           the X selection.
12697
12698 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12699
12700         * vspace.C (inPixels): fix compiler warning
12701
12702 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12703
12704         * lyxfunc.C (getStatus): fix status message for disabled commands.
12705
12706 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * BufferView_pimpl.C: fix crash on close buffer
12709         during selection (#227)
12710
12711 2002-01-27  Herbert Voss  <voss@lyx.org>
12712
12713         * buffer.C: link old Figure to new graphic inset
12714
12715 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12716
12717         * FontLoader.C (getFontinfo): Change the latex font names in order
12718         to match the names of type1inst.
12719
12720 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12723
12724         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12725         (extchanged): ditto
12726         (ext_exist): ditto
12727         (remove_files_with_extension): ditto
12728         (remove_file): ditto
12729         (write): ditto
12730
12731         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12732         document is smaller than the work area height. Do not initialize
12733         static variables to 0.
12734
12735 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12736
12737         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12738
12739         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12740         LFUN_LAYOUT_PARAGRAPHS.
12741
12742         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12743         tabular. It is possible to provide a possible cell, which will
12744         typically be the actcell from the corresponding insettabular
12745
12746         * lyxfunc.C (getStatus): small cleanup; disable
12747         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12748         true
12749
12750 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12753
12754         * paragraph.C (startTeXParParams):
12755         (endTeXParParams): new methods. The LaTeX code to
12756         start/end paragraph formatting
12757         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12758         empty (fixes bug #200)
12759
12760         * vspace.C (inPixels): adapt to the change below
12761         (inPixels): [later] more cleanups (remove unused variables)
12762
12763         * lyxlength.C (inPixels): change to use a width and a height as
12764         parameter.
12765
12766 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12767
12768         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12769         Replaced with \paperwidth
12770
12771         * DepTable.C (insert): add std:: qualifier
12772
12773 2002-01-18  Allan Rae  <rae@lyx.org>
12774
12775         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12776         updated also?
12777
12778         * text.C (drawInset): Turned out I didn't know enough about how
12779         rebreaking worked.  This fixes most of the redraw problems.  I see
12780         an occasional cursor trail when a line is broken now and the cursor
12781         placement can seem out by a few pixels also after a rebreak.
12782
12783 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12784
12785         * buffer.C (parseSingleLyXformat2Token): update because minipage
12786         width is now a LyXLength
12787
12788         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12789
12790         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12791         math insets
12792
12793 2002-01-17  Juergen Vigna  <jug@sad.it>
12794
12795         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12796
12797         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12798         is set correctly and the inset is updated correctly.
12799
12800 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12801
12802         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12803         the beginning of the loop.
12804
12805 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * lyxrc.C: improve help for use_scalable_fonts
12808
12809 2002-01-17  Allan Rae  <rae@lyx.org>
12810
12811         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12812
12813 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12816         make sure to set their inset_owner to the right value (bug #171)
12817
12818 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12819
12820         * DepTable.h
12821         * DepTable.C: Implement mtime checking to reduce time spent doing
12822         CRCs.
12823
12824 2002-01-16  Juergen Vigna  <jug@sad.it>
12825
12826         * tabular.C (GetAdditionalHeight): one of error fixed.
12827
12828         * lyxrc.C (output): small fix in writing use_pspell.
12829
12830 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * sp_base.h: #include LString.h
12833
12834 2002-01-16  Allan Rae  <rae@lyx.org>
12835
12836         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12837         Can someone check this please?
12838
12839         * text.C (drawInset): It was possible that p.row would be removed by
12840         breakAgainOneRow upsetting a few other settings.  There may be another
12841         small tweak possible by setting need_break_row = 0 when p.row has been
12842         removed but I don't know enough about the logic here.
12843
12844 2002-01-15  Allan Rae  <rae@lyx.org>
12845
12846         * text.C (insertChar): removed conditional truism.
12847
12848         * BufferView2.C (removeAutoInsets): More tweaks.
12849         cur_par_prev could be a stray pointer.  Check for trailing empty line
12850         in case last line was cur_par and only had an error inset on it.
12851
12852 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12853
12854         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12855         absolute
12856
12857         * vc-backend.C (most methods):
12858         * exporter.C (Export):
12859         * converter.C (convert):
12860         (runLaTeX):
12861         * LyXSendto.C (SendtoApplyCB):
12862         * lyxfunc.C (dispatch):
12863         (menuNew):
12864         (open):
12865         (doImport):
12866         * lyx_cb.C (AutoSave):
12867         (InsertAsciiFile):
12868         * BufferView_pimpl.C (MenuInsertLyXFile):
12869         * buffer.C (runChktex): use Buffer::filePath().
12870
12871         * buffer.h: rename filename to filename_; rename filepath to
12872         filepath_ and make it private
12873         (filePath): new method
12874
12875         * buffer.C (writeFile): use fileName()
12876         (getLatexName):
12877
12878         * lyx_main.C (init): fix starting  of LyX when the binary is a
12879         link from so,ewhere else.
12880
12881         * minibuffer.C: include <cctype> for isprint
12882
12883 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12884
12885         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12886         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12887         name clash with InsetCollapsable's width function.
12888
12889 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12890
12891         * lastfiles.C: include <iterator>
12892
12893 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12896         std::count.
12897
12898         * buffer.C (makeLaTeXFile): ditto.
12899         Also make loop operation more transparent.
12900
12901 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12902
12903         * ToolbarDefaults.C: remove trailing comma closing namespace.
12904
12905         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12906
12907         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12908         as in WorkArea.
12909
12910         * trans.C (Load): comment out unused variable, allowed.
12911
12912 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12913
12914         * minibuffer.[Ch] (append_char): new method to recieve input from the
12915         drop-down completion browser. If a key was pressed, then recieve this
12916         char and append it to the existing string.
12917         (peek_event): modify the positioning data passed to the completion
12918         browser so that it can be placed above the minibuffer rather than below.
12919 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * LyXAction.C (init): alloe error-next for readonly documents.
12922
12923         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12924         count.
12925
12926 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12927
12928         * bufferlist.C (readFile): create the buffer _after_ checking that
12929         the file exists.
12930
12931         * lyxfunc.C (verboseDispatch): fix handling of arguments
12932
12933         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12934
12935         * lyxrc.C: use string::erase() instead of initializing to "".
12936
12937
12938 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * BufferView_pimpl.h:
12941         * BufferView_pimpl.C:
12942         * WorkArea.h:
12943         * WorkArea.C:
12944         * text2.C: tell X when we have made a selection for copying
12945
12946 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12947
12948         * BufferView_pimpl.C (MenuInsertLyXFile):
12949         * lyxfunc.C (menuNew):
12950         (open):
12951         (doImport): add shortcuts to directory buttons
12952
12953         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12954         open a float)
12955
12956         * lyxfunc.C (setStatusMessage):
12957         (getStatusMessage): new methods
12958         (getStatus):use setStatusMessage instead of setErrorMessage
12959         (dispatch): when function is disabled, set error message here
12960         [instead of in getStatus previously]
12961
12962         * BufferView_pimpl.C (workAreaButtonRelease): update
12963         toolbar/menubar here too.
12964
12965 2002-01-13  Allan Rae  <rae@lyx.org>
12966
12967         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12968         Now seems indestructible.  Remaining task is to audit all other
12969         code affected by deleteEmptyParagraphMechanism.  One small quirk
12970         left is that an empty document with an error in the preamble can
12971         be made to report an error but no error box appears.  I don't know
12972         where it goes.
12973         (removeAutoInsets): Improved comments.
12974
12975 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * Thesaurus.h:
12978         * Thesaurus.C: update for Aiksaurus 0.14
12979
12980 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * text2.C (firstParagraph): removed member function, all uses
12983         replaces with ownerParagraph
12984         (redoParagraphs): here
12985         (updateInset): here
12986         (toggleAppendix): here
12987         * BufferView2.C (insertErrors): here
12988         (setCursorFromRow): here
12989
12990 2002-01-13  Allan Rae  <rae@lyx.org>
12991
12992         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12993         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12994         There is still a way to segfault this although you may have to do this
12995         multiple times: Have an InsetERT with an unknown command in it.
12996         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12997         <down-arrow>, <Enter> again, View->DVI, BANG!
12998
12999         * text2.C (setCursor):
13000         (deleteEmptyParagraphMechanism):
13001         * lyxtext.h (setCursor):
13002         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13003         Making use of the return value may help fix other bugs.
13004
13005 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13006
13007         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13008
13009         * LyXView.C (updateMenubar): call MenuBar::update here
13010         (updateToolbar): but not here
13011         (showState): do not update toolbar/menubar
13012
13013         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13014         should need to care about that.
13015
13016         * lyxfunc.C (verboseDispatch): simplify a bit
13017         (getStatus): have a version which takes a pseudoaction, and
13018         another which requires a (kb_action,string).
13019
13020         * LyXAction.C (retrieveActionArg): make it work also when action
13021         is not a pseudo-action.
13022         (getActionName): simplify a bit
13023         (helpText):
13024
13025 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * lyxfunc.C (verboseDispatch): new families of methods with
13028         several ways to specify a command and a bool to indicate whether
13029         the command name and shortcut should be displayed in minibuffer
13030         (eventually, we could extend that to a finer bitmask like
13031         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13032         (dispatch): the pristine dispatch command which just, well,
13033         dispatchs! Note it still sets its result to minibuffer; I'm not
13034         sure we want that.
13035
13036         * lyxfunc.h: remove setHintMessage
13037
13038         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13039
13040 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13041
13042         * BufferView_pimpl.C (specialChar): delete new inset if we have
13043         not been able to insert it.
13044
13045         * kbmap.C: revert to using int instead of kb_action, since all we
13046         are dealing with is pseudo-actions.
13047
13048         * LyXAction.C (searchActionArg): change to return int instead of
13049         kb_action, since the result is a pseudoaction.
13050
13051 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13052
13053         * buffer.C (insertErtContents): Fix (partially) the font bug.
13054
13055 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13056
13057         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13058         as the other one is broken on my machine!
13059
13060 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13061
13062         * commandtags.h:
13063         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13064
13065 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13068         reflect their actual use. Provide compatibility code for older lyxrc
13069         files.
13070
13071         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13072         FL_NORMAL_STYLE.
13073         change names of popup font variables in line with the changes to lyxrc.C
13074
13075 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13076
13077         * buffer.C (asciiParagraph): avoid outputing a word twice after
13078         an inset.
13079
13080         * lyxrc.C (getDescription): document that document_path and
13081         template_path can be empty.
13082
13083 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * LaTeXFeatures.C (getMacros):
13086         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13087
13088         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13089
13090         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13091         getPackages.
13092         (getPackages): rename feature "floats" to "float". Use an array to
13093         iterate over 'simple' features (i.e. just a \usepackage). Add
13094         handling of "amsmath" (renamed from "amsstyle").
13095
13096 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13097
13098         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13099         features list.
13100
13101 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13102
13103         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13104         FuncStaus::FuncStatus & FuncStaus::some_method().
13105
13106 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13107
13108         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13109         of the func_satus stuff. Edited and massaged in various ways by
13110         JMarc.
13111
13112         * lyxfunc.C (getStatus): use FuncStatus
13113
13114 2002-01-08  Juergen Vigna  <jug@sad.it>
13115
13116         * text.C (nextBreakPoint): use function Inset::isChar().
13117
13118         * paragraph.C (TeXOnePar): use function
13119         Inset::forceDefaultParagraphs.
13120
13121         * buffer.C (latexParagraphs): use function
13122         Inset::forceDefaultParagraphs.
13123
13124 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13125
13126         * lyx_gui.C (init): set the style of the menu popups to
13127         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13128
13129 2002-01-07  Juergen Vigna  <jug@sad.it>
13130
13131         * text.C (setHeightOfRow): small fix
13132         (prepareToPrint): don't look at alignment if we don't have the place
13133         for doing it.
13134
13135 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13136
13137         * box.C: New file. Move the Box methods and functions out of box.h,
13138         following Lars' suggestion.
13139
13140 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * box.h: #include "support/LOstream.h", needed for inlined function.
13143
13144         * lyxtextclass.C:
13145         * lyxtextclasslist.C: added some using std declarations.
13146
13147 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * box.h: make signed dimensions to allow insets wider than
13150           the screen (bug #162)
13151
13152         * BufferView_pimpl.C: add some insetHit debug
13153
13154 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * vc-backend.C: add FIXME
13157
13158 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13159
13160         * lyxfunc.C (getStatus): enable code for showing math font status
13161         in toolbar/menu.
13162
13163 2002-01-07  Juergen Vigna  <jug@sad.it>
13164
13165         * text.C (nextBreakPoint): removed debug output not needed anymore.
13166
13167 2002-01-06  Juergen Vigna  <jug@sad.it>
13168
13169         * text.C (nextBreakPoint): fixed up this function we had this bug
13170         since ever but now hopefully we break row better.
13171         (insertChar): we have to check if an inset is the next char as it
13172         could now happen that a large inset is causing a break.
13173
13174 2002-01-05  Juergen Vigna  <jug@sad.it>
13175
13176         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13177         if it doesn't like to be drawed.
13178
13179 2002-01-04  Juergen Vigna  <jug@sad.it>
13180
13181         * BufferView2.C (lockInset): forgot to set a cursor.
13182
13183         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13184
13185 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13186
13187         * FormMathsPanel.C:
13188         * FormMathsPanel.h
13189         * MathsSymbols.C:
13190         * form_maths_panel.C:
13191         * form_maths_panel.h:
13192         * form_maths_panel.fd: implemented sub- and super- buttons in math
13193         panel.
13194
13195         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13196         (or ^ space) to be used as in TeX (req'd by André).
13197
13198         * lyxfunc.C: Allow ^ and _ again to be used both as
13199         super/subscript (mathed) and as themselves (in text).
13200
13201 2002-01-03  Allan Rae  <rae@lyx.org>
13202
13203         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13204         "LyX" or the filename of the current buffer if it has one.  This is a
13205         modified form of John Levon's patch.
13206
13207         * XFormsView.C (setWindowTitle): also set icon title.
13208
13209         * LyXView.h (setWindowTitle): signature changed.
13210         * XFormsView.h (setWindowTitle): ditto.
13211
13212 2002-01-02  Juergen Vigna  <jug@sad.it>
13213
13214         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13215
13216 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13217
13218         * screen.C (topCursorVisible): introduce a temp var for
13219         text->cursor.row(), handle the case where this row is null. (kindo
13220         hachish)
13221
13222         * text2.C (setCursor): add a couple of asserts.
13223
13224         * paragraph.h (inset_iterator): add -> operator
13225
13226         * paragraph.[Ch] (autoDeleteInsets): remove member function
13227
13228         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13229         cursor pos correctly and handle inset deletion by itself.
13230         (insertErrors): move iterator declaration out of for expression
13231
13232         * lyxtextclass.C: add <algorithm>
13233
13234         * Makefile.am: added the new files to sources, removed layout.C
13235
13236         * layout.C: removed file
13237
13238         * layout.h: remove LYX_DUMMY_LAYOUT
13239
13240         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13241         layout.
13242
13243         * lyxlayout.[Ch]:
13244         * lyxtextclass.[Ch]:
13245         * lyxtextclasslist.[Ch]: new files
13246
13247         * include order changes to a lot of files, also changes because of
13248         the six new files.
13249
13250 2001-12-27  Juergen Vigna  <jug@sad.it>
13251
13252         * buffer.C (asciiParagraph): more fixes.
13253
13254         * tabular.C (ascii): make ascii export support export of only the
13255         data separated by a column-delimiter.
13256         (ascii): better support for ascii export.
13257
13258         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13259
13260 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13261
13262         * tabular_funcs.C: use a "using std::getline" instead of the
13263         previous fix from Angus (necessary for cxx + lyxstring)
13264
13265 2001-12-24  Juergen Vigna  <jug@sad.it>
13266
13267         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13268
13269         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13270         problems. First check a minipage also if we have some ert-contents
13271         (not only on par->size(), second set the right depth of the paragraph
13272         on the relink to the root-paragraph-list!
13273
13274         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13275         which then did not anymore update the main paragraphs on undo/redo!
13276
13277 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13278
13279         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13280         code. Support all font-changing funcs (even those which are not in
13281         menu currently). Support for reporting font settings in
13282         mathed (disabled until Andre provides a function on mathed's side).
13283
13284         * func_status.h (toggle): small helper function to set toggle
13285         state on a flag.
13286
13287 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13288
13289         * tabular_funcs.C: getline -> std::getline
13290
13291 2001-12-21  Juergen Vigna  <jug@sad.it>
13292
13293         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13294         accessed and could be 0 (I couldn't generate this but it seems
13295         Michael could!).
13296
13297 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13300         * tabular_funcs.h: here and include iosfwd
13301
13302 2001-12-20  Juergen Vigna  <jug@sad.it>
13303
13304         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13305         inside inset but undo_par was.
13306
13307 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13308
13309         * Thesaurus.C: always include <config.h> in sources.
13310
13311         * Painter.h:
13312         * lyxlookup.h:
13313         * box.h: do not include <config.h> in header files
13314
13315         * text.C (paintLastRow): remove unused variable
13316
13317         * text.C (transformChar):
13318         (insertChar):
13319         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13320
13321         * Painter.C (text):
13322         * font.C (width): rewrite to use uppercase() instead of
13323         islower/toupper.
13324
13325         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13326
13327 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13328
13329         * lyxfind.C: clean up of find failure position change
13330
13331 2001-12-20  Juergen Vigna  <jug@sad.it>
13332
13333         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13334
13335         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13336         (TeXRow): added to LaTeX a single tabular row.
13337         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13338         (Latex): simplified and finally good LT-h/f support.
13339         (various_functions): just small adaptions for LT-h/f support.
13340
13341         * tabular_funcs.[hC]: added and moved here all not classfunctions
13342         of LyXTabular.
13343
13344 2001-12-19  Juergen Vigna  <jug@sad.it>
13345
13346         * tabular.[Ch]: better support for longtabular options (not finished
13347         yet!)
13348
13349 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13350
13351         * text.C (paintLastRow): use the label font instead of the font of
13352         the last character to compute the size of *_BOX. This makes more
13353         sense and avoids a crash with empty paragraphs.
13354         Use Painter::rectangle to draw EMPTY_BOX.
13355
13356 2001-12-19  Juergen Vigna  <jug@sad.it>
13357
13358         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13359         the paragraphs if the replaced paragraph is not the first one!
13360         Tried to delete not used paragraphs but does not work yet so for
13361         now it's inside #ifdef's and by default off!
13362
13363 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13364
13365         * MenuBackend.C: include "lyx_main.h" instead of declaring
13366         lastfiles (actually was declared as LastFiles* instead of a
13367         scoped_ptr).
13368
13369 2001-12-17  Juergen Vigna  <jug@sad.it>
13370
13371         * tabular.C (AppendColumn): applied John's fix
13372
13373 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13374
13375         * BufferView.h:
13376         * BufferView.C:
13377         * BufferView_pimpl.h:
13378         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13379
13380         * Makefile.am:
13381         * box.h: new start of class for above
13382
13383         * lyxfunc.C: ignore space-only minibuffer dispatches.
13384           Show the command name when it doesn't exist
13385
13386         * minibuffer.C: don't add empty lines to the history
13387
13388         * minibuffer.C: add a space on dropdown completion
13389
13390 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * text.C: fix line above/below drawing in insets
13393
13394 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * lyxlength.C (LyXLength): Initialize private variables.
13397
13398 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13399
13400         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13401         when inserting error insets.
13402
13403 2001-12-13  Juergen Vigna  <jug@sad.it>
13404
13405         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13406         actually sometimes the before-paragraph.
13407         (setUndo): don't clear the redostack if we're not actually undoing!
13408
13409 2001-12-06  Juergen Vigna  <jug@sad.it>
13410
13411         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13412         and fixed redoing of main paragraph, so we can use it now ;)
13413
13414         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13415
13416 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13417
13418         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13419         Juergen's request
13420
13421 2001-12-13  André Pönitz <poenitz@gmx.net>
13422
13423         * undostack.[Ch]:
13424         * undo_func.C: minor cleanup
13425
13426 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13427
13428         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13429         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13430         font in urw-fonts package which is marked as -urw-fontspecific and
13431         does not work (incidentally, changing the encoding in the
13432         fonts.dir of this package to -adobe-fontspecific fixes the
13433         problem).
13434
13435         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13436         is a crash when undoing first paragraph (Juergen, please take a
13437         look). THis does not mean the undo fix is wrong, just that it
13438         uncovers problems.
13439
13440         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13441         the (Paragraph*) version when needed instead of duplicating the
13442         code.
13443
13444         * text.C (workWidth): use Inset::parOwner to find out where the
13445         inset has been inserted. This is a huge performance gain for large
13446         documents with lots of insets. If Inset::parOwner is not set, fall
13447         back on the brute force method
13448
13449         * paragraph_pimpl.C (insertInset):
13450         * paragraph.C (Paragraph):
13451         (cutIntoMinibuffer): set parOwner of insets when
13452         inserting/removing them
13453
13454         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13455
13456 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13457
13458         * commandtags.h:
13459         * LyXAction.C:
13460         * lyx_main.C:
13461         * lyxfunc.C:
13462         * mathed/formulabase.C:
13463         * mathed/math_cursor.[Ch]:
13464         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13465
13466
13467 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13468
13469         * lyxlength.[Ch] (operator!=): new function
13470
13471 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13472
13473         * text.C (workWidth): use Inset::parOwner to find out where the
13474         inset has been inserted. This is a huge performance gain for large
13475         documents with lots of insets. If Inset::parOwner is not set, fall
13476         back on the brute force method
13477
13478         * paragraph_pimpl.C (insertInset):
13479         * paragraph.C (Paragraph):
13480         (cutIntoMinibuffer): set parOwner of insets when
13481         inserting/removing them
13482
13483         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13484
13485 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13486
13487         * tabular-old.C (getTokenValue):
13488         * tabular.C (getTokenValue):
13489         (write_attribute): new versions for LyXLength
13490         (everywhere): adjust the use of widths
13491
13492         * tabular.h: change the type of widths from string to LyXLength
13493
13494 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13495
13496         * paragraph.C: fixed missing line number count when exporting
13497         Environments to LaTeX file
13498
13499         * buffer.C: added informational message for checking line numbers.
13500
13501 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13502
13503         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13504         paragraph, do the 'double space' part, but not the 'empty
13505         paragraph' one.
13506
13507         * text.C (workWidth): small optimization
13508         (getLengthMarkerHeight): use minimal size for negative lengths.
13509
13510 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13511
13512         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13513
13514         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13515
13516 2001-12-11  André Pönitz <poenitz@gmx.net>
13517
13518         * FontLoader.C:
13519         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13520
13521 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * text2.C: keep selection on a setFont()
13524
13525 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * lyx_cb.C: another bv->text misuse, from insert label
13528
13529 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * kbsequence.h:
13532         * kbsequence.C: re-instate nmodifier mask
13533
13534 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13535
13536         * lyx_main.h: make lyxGUI private.
13537
13538 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * lyxfind.C: place the cursor correctly on failed search
13541
13542 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13543
13544         * text.C (getLengthMarkerHeight): for small heights, the arrows
13545         are not always on top/bottom of the text
13546         (drawLengthMarker): smaller arrows; take the left margin in
13547         account; draw also vfills.
13548         (paintFirstRow):
13549         (paintLastRow): remove special code for vfill and standard spaces,
13550         since everything is handled in drawLengthMarker now.
13551
13552 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13553
13554         * buffer.C (insertErtContents): try to handle font and language
13555         interaction a bit better.g
13556
13557         * ColorHandler.C (updateColor): change the hash to cover the whole
13558         LColor enum, ws cleanup
13559         (getGCLinepars): ditto
13560         (getGCLinepars): only lookup in the linecache once.
13561
13562 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13563
13564         * iterators.C (operator++): Make the iterator more robust
13565
13566         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13567         (John's patch)
13568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13569
13570 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * lyxtext.h:
13573         * text.C: better added space drawing
13574
13575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13576
13577         * LyXView.C:
13578         * BufferView2.C: fix layout combo update on inset unlock
13579
13580 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13581
13582         * Makefile.am: don't compile unused files
13583
13584 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13585
13586         * lyxfunc.C:
13587         * commandtags.h:
13588         * LyXAction.C: remove old LFUN_LAYOUTNO
13589
13590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * paragraph_pimpl.h:
13593         * paragraph_pimpl.C: isTextAt() doesn't need font param
13594
13595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * lyxlex.h:
13598         * lyxlex.C: little cleanup
13599
13600 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * BufferView_pimpl.C: fix insertAscii for insets
13603
13604 2001-12-05  Juergen Vigna  <jug@sad.it>
13605
13606         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13607         set the right font on the "multi" paragraph paste!
13608
13609 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * trans_decl.h:
13612         * trans_mgr.[Ch]:
13613         * trans.[Ch]:
13614         * lyxgluelength.C:
13615         * lyxlength.C: remove out-commented code.
13616
13617         * BufferView_pimpl:
13618         * CutAndPaste.C:
13619         * DepTable.C:
13620         * buffer.C:
13621         * chset.C:
13622         * lastfiles.C:
13623         * lyxlex.C:
13624         * lyxlex_pimpl.C:
13625         * lyxserver.C:
13626         * screen.C:
13627         * tabular-old.C:
13628         * tabular.C:
13629         * text.C:
13630         * trans_mgr.C:
13631         * vc-backend.C: change "while(" to "while ("
13632
13633         * lyxlength.[Ch]: add zero function to check if length is zero or
13634         not
13635         * lyxgluelength.C: use it
13636
13637 2001-12-05  Allan Rae  <rae@lyx.org>
13638
13639         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13640         Works for 2.95.3, from what I understand of Garst's reports this should
13641         work for other g++ versions.  We're screwed if the abs(int) definition
13642         changed between bugfix releases of gcc.
13643
13644 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * text.C: fix chapter label offset !
13647
13648 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * lyxtext.h:
13651         * text.C: fix hfill at end of line, clean up
13652
13653 2001-12-04  Juergen Vigna  <jug@sad.it>
13654
13655         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13656         that we force an update of the inset and it's owners if neccessary.
13657
13658 2001-12-03  Juergen Vigna  <jug@sad.it>
13659
13660         * text.C (rowLast): simplified code
13661
13662 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13663
13664         * lyxfunc.C: fix show options on timeout
13665
13666 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * screen.C (topCursorVisible): scroll half a page when the cursor
13669         reached top of bottom of screen
13670
13671 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * minibuffer.C: deactivate on loss of focus
13674
13675 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * vspace.[Ch] (operator!=): add operator.
13678
13679 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13680
13681         * BufferView_pimpl.C: refuse to open an inset when
13682         there's a selection.
13683
13684 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13685
13686         * BufferView_pimpl.C: allow to click on RHS of full row insets
13687
13688 2001-11-30  Juergen Vigna  <jug@sad.it>
13689
13690         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13691         insets for undo reasons.
13692
13693 2001-11-28  André Pönitz <poenitz@gmx.net>
13694
13695         * vspace.[Ch]: cosmetical changes
13696
13697 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13698
13699         * LyXAction.h:
13700         * LyXAction.C:
13701         * lyxfunc.h:
13702         * lyxfunc.C:
13703         * kbmap.h:
13704         * kbmap.C:
13705         * lyxrc.C:
13706         * kbsequence.h:
13707         * kbsequence.C: part re-write of old kb code
13708
13709         * Painter.C:
13710         * WorkArea.C: remove Lgb_bug_find_hack
13711
13712 2001-11-30  José Matos <jamatos@fep.up.pt>
13713
13714         * buffer.C (makeDocBookFile): add a comment to point a hack.
13715         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13716         Fixed a double write of labels.
13717
13718 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13719
13720         * LaTeX.C:
13721         * LaTeX.h Fixed bug in LaTeX class where it would not
13722         re-run latex if no depfiles were changed, but the .dvi was removed.
13723
13724 2001-11-28  André Pönitz <poenitz@gmx.net>
13725
13726         * all the files from the change on 2001/11/26:
13727         use lyx::layout_type instead of LyXTextClass::size_type
13728         use lyx::textclass_type instead of LyXTextClassList::size_type
13729
13730 2001-11-29  Juergen Vigna  <jug@sad.it>
13731
13732         * text.C: added support for paragraph::isFreeSpacing()
13733
13734         * buffer.C: same as above
13735
13736         * paragraph.h: inserted isFreeSpacing() function to enable
13737         FreeSpacing inside InsetERT.
13738
13739         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13740         of the paragraph's in the cut/copy buffer to 0!
13741
13742         * text2.C (removeRow): remove the assert as it can!
13743
13744         * lyxtext.h: added helper function firstRow returning firstrow and
13745         made firstrow private again.
13746
13747         * BufferView2.C (lockInset): don't relock if we're already locked!
13748
13749         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13750         the only paragraph.
13751         (removeRow): added Assert::(firstrow)
13752
13753         * debug.C: forgot to add INSETTEXT here.
13754
13755 2001-11-28  Juergen Vigna  <jug@sad.it>
13756
13757         * sp_spell.C (initialize): changed error text to more general
13758         spellchecker command use (not only ispell!)
13759
13760         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13761
13762         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13763
13764 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13765
13766         * vspace.C: initialise lyxgluelength on failure
13767
13768 2001-11-28  Allan Rae  <rae@lyx.org>
13769
13770         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13771         declaration & definition that looks like a function declaration.
13772
13773 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * BufferView2.C (copy):
13776         (copyEnvironment): do not clear the selection when doing a copy.
13777
13778         * text.C (paintFirstRow): compilation fix
13779
13780 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13781
13782         * tabular.C (Latex): correct line count when writing latex.
13783
13784 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13785
13786         * paragraph_pimpl.h:
13787         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13788           bug a bit
13789
13790 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13791
13792         * text.C:
13793         * LColor.h:
13794         * LColor.C: change vfillline->added_space
13795
13796         * text.C: add markers and text for added space
13797
13798         * vspace.C: fix comment
13799
13800 2001-11-28  André Pönitz <poenitz@gmx.net>
13801
13802         * paragraph.C: whitespace changes
13803         * all the other files from the change on 2001/11/26:
13804         change *::pos_type into lyx::pos_type
13805
13806 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13807
13808         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13809         language of the document when inserting error insets.
13810
13811 2001-11-26  André Pönitz <poenitz@gmx.net>
13812
13813         * BufferView_pimpl.[Ch]:
13814         *       CutAndPaste.C:
13815         * buffer.[Ch]:
13816         * lyxcursor.[Ch]:
13817         * lyxfind.C:
13818         * lyxfunc.C:
13819         * lyxrow.[Ch]:
13820         * paragraph.[Ch]:
13821         * paragraph_pimpl.[Ch]:
13822         * sp_spell.C:
13823         * text.C:
13824         * text2.C: reduce header dependencies, introduce type for positions
13825
13826 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13827
13828         * <various>: change to use Alert.h
13829
13830 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13831
13832         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13833         when encountering an unknown token.
13834         (readLyXformat2): Show an error message if there were unknown tokens.
13835
13836 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * BufferView2.C:
13839         * BufferView_pimpl.C:
13840         * buffer.C:
13841         * paragraph.h:
13842         * text.C:
13843         * text2.C: use par->isInset()
13844
13845 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13846
13847         * paragraph_pimpl.h:
13848         * paragraph_pimpl.C: cleanup
13849
13850 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13851
13852         * text2.C (removeRow):
13853         * text.C (setHeightOfRow): remove useless (and costly) call to
13854         getRow.
13855
13856 2001-11-20  Allan Rae  <rae@lyx.org>
13857
13858         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13859         Now need Inset*::checkInsertChar() to return true for appropriate
13860         cases so that the characters in the minibuffer will actually be
13861         inserted.
13862
13863 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13864
13865         * text.C: change the order of the includes.
13866         (workWidth): initialize it at once.
13867         (workWidth): make maxw unsigned
13868         (setHeightOfRow): remove unused variable (inset)
13869         (selectSelectedWord): remove unused variable (inset)
13870         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13871
13872 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13875         server is not running.
13876         (openConnection):
13877         (closeConnection): add debug info when server is disabled.
13878
13879         * ColorHandler.C (getGCForeground): send debug message to GUI
13880         channel.
13881
13882         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13883
13884         * kbmap.C (bind): modify because return conventions of
13885         kb_sequence::parse have changed.
13886
13887         * kbsequence.C (parse): only ignore spaces and not any stupid
13888         control character. This avoids tests like s[i] <= ' ', which are
13889         guaranteed to fail with 8bit characters and signed chars.
13890         Change return code to string::npos when there have been no error
13891         (0 was a bad idea when error is at first character)
13892
13893 2001-11-14  José Matos  <jamatos@fep.up.pt>
13894
13895         * buffer.h:
13896         * buffer.C (simpleDocBookOnePar): removed unused argument.
13897
13898 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13899
13900         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13901         insets which are part of a word. Paragraph::isLetter takes care of
13902         that now. Use Paragraph::isInset to identify insets.
13903         (selectSelectedWord): do not test for hyphenation break.
13904
13905         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13906         that protected spaces are considered as spaces.
13907
13908         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13909         Inset::isLetter.
13910
13911 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * lyxserver.h:
13914         * lyxserver.C: fix it. and small cleanup.
13915
13916 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * BufferView_pimpl.C: use inline helpers
13919
13920         * LaTeXFeatures.h:
13921         * LaTeXFeatures.C: fix typos
13922
13923         * Spacing.h:
13924         * Spacing.C: move spacing_string into class
13925
13926         * ToolbarDefaults.C: move stuff into namespace anon
13927
13928         * layout.h: update enum
13929
13930         * lyxfunc.C: use better debug
13931
13932         * minibuffer.h: fix typo
13933
13934         * debug.h:
13935         * debug.C:
13936         * WorkArea.C: add and use Debug::WORKAREA
13937
13938         * lyxtext.h:
13939         * text.C:
13940         * text2.C: code re-organisation, inline helpers
13941
13942 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13943
13944         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13945         std::vector.empty().
13946
13947 2001-11-09  Allan Rae  <rae@lyx.org>
13948
13949         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13950         '\n's after tables.  Tabular and ERT inset work now makes this no
13951         longer necessary.
13952
13953 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13954
13955         * minibuffer.h:
13956         * minibuffer.C: fix crash, improve drop-down completion
13957
13958 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * lyxserver.h:
13961         * lyxserver.C: invalidate fd's when doing endPipe()
13962
13963 2001-11-08  José Matos  <jamatos@fep.up.pt>
13964
13965         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13966         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13967
13968         * paragraph.h:
13969         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13970
13971 2001-11-07  José Matos  <jamatos@fep.up.pt>
13972
13973         * buffer.h:
13974         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13975         const qualifier.
13976
13977         * buffer.C (sgmlOpenTag):
13978         * buffer.C (sgmlCloseTag): removed debug info.
13979
13980         * buffer.h (sgmlOpenTag):
13981         * buffer.h (sgmlCloseTag): made public.
13982
13983 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13984
13985         * buffer.C (saveParamsAsDefaults):
13986         * lyx_cb.C (MenuLayoutSave): remove
13987
13988         * LyXAction.C (init):
13989         * commandtags.h:
13990         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13991
13992 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13993
13994         * buffer.C (setPaperStuff): removed from here...
13995
13996         * bufferparams.C (setPaperStuff): ... and moved there.
13997
13998 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13999
14000         * minibuffer.h:
14001         * minibuffer.C:
14002         * XFormsView.C: add support for drop-down completion
14003
14004 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14005
14006         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14007         commands.
14008
14009 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14012         disabled.
14013
14014 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14015
14016         * lyx_main.C: change ref to known bugs
14017
14018 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14019
14020         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14021         to work around older babel problems.
14022
14023 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14024
14025         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14026
14027 2001-10-24  Juergen Vigna  <jug@sad.it>
14028
14029         * tabular-old.C (ReadOld): below variable changes reflected.
14030
14031         * tabular.[Ch]: added ltType struct for longtable header/footer
14032         defines and changed all instances where they are used. Added
14033         future support for double top/bottom rows.
14034
14035 2001-10-24  José Matos  <jamatos@fep.up.pt>
14036
14037         * buffer.h (docbookHandleCaption):
14038         * buffer.C (docbookHandleCaption): removed unused function.
14039         (makeDocBookFile): moved docbook supported version to v4.1.
14040
14041 2001-10-24  José Matos  <jamatos@fep.up.pt>
14042
14043         * tabular.h:
14044         * tabular.C (docbookRow): new function to export docbook code of a row.
14045         (DocBook): now honors the longtable flags.
14046
14047 2001-10-23  José Matos  <jamatos@fep.up.pt>
14048
14049         * LaTeXFeatures.h:
14050         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14051         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14052
14053         * buffer.C (makeLinuxDocFile):
14054         (makeDocBookFile): reworked the preamble, more clean, and with
14055         support for lyx defined entities. Changed the document declaration
14056         to be more XML friendly.
14057
14058         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14059         if we need to output XML that should be done with a filter.
14060
14061 2001-10-22  Juergen Vigna  <jug@sad.it>
14062
14063         * sp_pspell.h (class PSpell): add alive function needed in the
14064         controller to see if the spellchecker could be started.
14065
14066 2001-10-22  Juergen Vigna  <jug@sad.it>
14067
14068         * buffer.C (insertStringAsLines): modify the font for inserting
14069         chars in certain conditions by calling checkInsertChar(font).
14070
14071 2001-10-19  Juergen Vigna  <jug@sad.it>
14072
14073         * text.C (workWidth): use getRow instead of wrong algorithm.
14074         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14075
14076 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * lyxserver.h:
14079         * lyxserver.C:
14080         * lyx_main.h:
14081         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14082
14083 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * text.C (workWidth): do not search for the exact row when
14086         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14087         optimization for big documents.
14088
14089 2001-10-18  Juergen Vigna  <jug@sad.it>
14090
14091         * text.C (workWidth): new function with added Inset * parameter.
14092
14093 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14094
14095         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14096
14097         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14098         change return type of getColumnNearX.
14099
14100
14101         * text.C (changeRegionCase): use uppercase/lowercase instead of
14102         toupper/tolower.
14103         (leftMargin):
14104         (rightMargin): simplify code by factoring out the uses of
14105         textclasslist.
14106         (labelFill):
14107         (numberOfHfills):
14108         (setHeightOfRow):
14109         (appendParagraph): use Paragraph::size_type
14110
14111 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14112
14113         * vspace.C (asLatexString): add a missing break
14114
14115 2001-10-15  Herbert Voss  <voss@perce.de>
14116
14117         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14118
14119 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14120
14121         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14122         is not available.
14123
14124 2001-10-10  André Pönitz <poenitz@gmx.net>
14125
14126         * lyxfunc.C: removed greek_kb_flag.
14127
14128 2001-10-10  Herbert Voss  <voss@perce.de>
14129
14130         * lyx_main.C: delete global string help_lyxdir.
14131
14132 2001-10-09  Herbert Voss  <voss@perce.de>
14133
14134         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14135
14136         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14137
14138         * lyx_main.C: added global string help_lyxdir.
14139
14140         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14141
14142 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14143
14144         * lyxrc.C (set_font_norm_type): support iso8859-4
14145
14146 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14147
14148         * LaTeX.C (deplog): add another regex for MikTeX
14149
14150 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14151
14152         * lyxrc.C (set_font_norm_type): support iso8859-3
14153
14154 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14155
14156         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14157
14158         * LaTeXFeatures.C: remove special case of french and index
14159
14160         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14161         before \begin{document}). This solves several incompatibilities.
14162
14163 2001-10-03  Garst Reese  <reese@isn.net>
14164
14165         * lyx_cb.C: change CheckTex error msg.
14166
14167 2001-10-03  José Matos  <jamatos@fep.up.pt>
14168
14169         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14170
14171 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * .cvsignore: update
14174
14175         * lyx_main.C (commandLineVersionInfo): use new style version info.
14176
14177         * buffer.C (writeFile):
14178         (makeLaTeXFile):
14179         (makeLinuxDocFile):
14180         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14181
14182         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14183
14184         * version.h: update to use stuff in version.C
14185
14186         * version.C.in: new file. Contains version information determined
14187         at compile time. This is a merging of version.h and
14188         version_info.h.in.
14189
14190 2001-10-03  Juergen Vigna  <jug@sad.it>
14191
14192         * BufferView_pimpl.C (update): don't change "dirty" status in
14193         updateInset call.
14194
14195 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14196
14197         * WorkArea.C (c-tor): re-position version string slightly.
14198
14199 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14202         revert to previous code.
14203
14204         WorkArea.[Ch]: (show, destroySplash): methods removed.
14205
14206         WorkArea.C: rework code so that it's an amalgam of the codes before and
14207         after the splash screen was moved to WorkArea.
14208
14209 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * lyxrc.C (read):
14212         * vspace.C (inPixels):
14213         (lyx_advance):
14214         * kbmap.C (bind):
14215         * buffer.C (insertStringAsLines):
14216         (asciiParagraph): fix types to be large enough
14217
14218         * lyxlex_pimpl.h: change member status from short to int
14219
14220         * layout.h: fix type of endlabeltype
14221
14222         * kbmap.C (bind):
14223         * kbsequence.C (parse): change return type to string::size_type
14224
14225         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14226         variable
14227
14228         * Bullet.C (bulletSize):
14229         (bulletEntry): do not use short ints as parameters
14230
14231         * BufferView2.C (insertLyXFile): change a char to an int.
14232
14233         * WorkArea.C (WorkArea): remove unneeded floats in computation
14234
14235 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14236
14237         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14238
14239         * paragraph.C (asString): Do not ignore newline/hfill chars when
14240         copying to the clipboard.
14241
14242 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14245         after a multi-line inset.
14246
14247 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * paragraph.C (validate): Set NeedLyXFootnoteCode
14250
14251 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14252
14253         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14254         and decrease-error to decrease.
14255
14256 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14259         it more readable (should be equivalent)
14260
14261 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14262
14263         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14264
14265 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14266
14267         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14268         of a cursor (row, etc.) after a character has been deleted
14269         (deleteEmptyParagraphMechanism): call the method above on _all_
14270         cursors held by the LyXText when a double space has been
14271         detected/deleted.
14272
14273 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14274
14275         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14276         pixmap.
14277         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14278
14279         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14280         background. Use greyOut() and the new show() methods to toggle between
14281         the foreground and background. Add code to remove the splash after
14282         its initial showing.
14283
14284         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14285         (create_forms): no longer call Dialogs::showSplash.
14286
14287 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * .cvsignore: add version_info.h
14290
14291 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * version_info.h.in: new file
14294
14295         * Makefile.am: add version_info.h.in
14296
14297         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14298         version_info.h instead of VERSION_INFO
14299
14300 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14301
14302         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14303         The ERT inset now returns string().
14304
14305 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14306
14307         * lyxtext.h, text.C (selectNextWord): renamed as
14308         selectNextWordToSpellcheck.
14309
14310         * text.C (selectNextWordToSpellcheck): Modified to not select
14311         words inside an ERT inset.
14312
14313 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * lyx_cb.C (MenuLayoutSave): change a bit the question
14316
14317         * sp_base.h: include <sys/types.h>
14318
14319 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14320
14321         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14322
14323 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14324
14325         * several files: fix typos in user-visible strings
14326
14327 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * text2.C (pasteSelection): do not set the selection, since it
14330         will be cleared later. Actually, the intent was to fix the way the
14331         selection was set, but I figured rmoving the code was just as good.
14332
14333 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14334
14335         * FontLoader.C (available): Check if font is available without
14336         loading the font.
14337
14338 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14339
14340         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14341
14342 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14343
14344         * lyxrc.[Ch]: added display_graphics variable and associated code.
14345
14346 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * bufferparams.C (hasClassDefaults): new method. Returns true if
14349         the buffer parameters correspond to known class defaults
14350
14351 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14352
14353         * XFormsView.C (show): set minimum size to the main window.
14354
14355 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14356
14357         * text2.C (copySelection):
14358         (cutSelection):
14359         * lyxfind.C (LyXReplace):
14360         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14361         LyXText::selectionAsString.
14362
14363         * paragraph.C (asString): add "label" argument to the second form
14364
14365         * text2.C (selectionAsString): add "label" argument and pass it to
14366         Paragraph::asString.
14367
14368 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * lyx_main.C (commandLineHelp): remove version information
14371
14372 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14373
14374         * lyx_main.C: add -version commandline option
14375
14376 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14377
14378         * paragraph.h: make the optional constructor arg required instead.
14379         some modifications to other files because of this.
14380
14381         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14382
14383         * lyxserver.C (C_LyXComm_callback): make it static
14384
14385         * lyx_main.C (error_handler): make it static
14386
14387         * lyx_gui.C (LyX_XErrHandler): make it static
14388
14389         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14390
14391         * WorkArea.C: make the extern "C" methods static.
14392
14393         * Makefile.am (lyx_LDADD): simplify
14394
14395 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14396
14397         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14398         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14399
14400         * LyXAction.C (init):
14401         * lyxfunc.C (dispatch): associated code removal.
14402
14403 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * lyxfont.h (isSymbolFont): shut off warning
14406
14407         * text.C (setHeightOfRow):
14408         (getVisibleRow): fix crash with empty paragraphs which have a
14409         bottom line
14410
14411 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14412
14413         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14414         code.
14415
14416 2001-09-04  José Matos  <jamatos@fep.up.pt>
14417         * buffer.C
14418         * buffer.h
14419         * tabular.C (docbook): rename docBook method to docbook.
14420
14421 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * Makefile.am: add dependencies to main.o.
14424
14425 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14426
14427         * FontLoader.C (available): Return false if !lyxrc.use_gui
14428
14429 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14430
14431         * FontInfo.C (query):
14432         * converter.C (view):
14433         * importer.C (Import):
14434         * exporter.C (Export): Can not -> cannot.
14435
14436 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * BufferView_pimpl.C: allow to create index inset even if
14439           string is empty
14440
14441 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14442
14443         * buffer.C (getLists): replace boost::tie code with an explicit pair
14444         as boost::tie can break some compilers.
14445
14446         * iterators.h: Added a std:: declaration to the return type of
14447         ParIterator::size.
14448
14449 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14450
14451         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14452           case.
14453
14454 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14455
14456         * iterators.[Ch]: New files. Provide paragraph iterators.
14457
14458         * buffer.C (changeLanguage): Use paragraph iterators.
14459         (isMultiLingual): ditto
14460
14461         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14462
14463 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14464
14465         * FontLoader.C: Support for cmr font.
14466
14467 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14468
14469         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14470         (available): New method.
14471
14472         * FontInfo.C (getFontname): Use scalable fonts even when
14473         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14474         found.
14475
14476 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14477
14478         * converter.C (Formats::view): reverted! Incorrect fix.
14479
14480 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14481
14482         * converter.C (Formats::view): only output the -paper option
14483         if the dvi viewer is xdvi, thereby fixing bug #233429.
14484
14485 2001-08-23  Herbert Voss  <voss@perce>
14486
14487         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14488
14489 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14490
14491         * Spacing.h (Spacing): Set space to Default on in the default
14492         constructor.
14493
14494 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14495
14496         * vc-backend.h (RCS::versionString): add RCS to version
14497         (CVS::versionString): add CVS to version
14498
14499         * vc-backend.C (scanMaster): do not add CVS to version.
14500         (scanMaster): do not add RCS to version
14501
14502         * lyxvc.C (versionString): new method
14503
14504         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14505
14506 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14507
14508         * Spacing.C (set): initialize fval
14509
14510 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14511
14512         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14513         " or \.
14514
14515 2001-08-16  Juergen Vigna  <jug@sad.it>
14516
14517         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14518
14519 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14520
14521         * BufferView_pimpl.C:
14522         * figureForm.C:
14523         * lyxtext.h:
14524         * text2.C: setParagraph takes linespacing now
14525
14526 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14527
14528         * LyxAction.C: add internal LFUN_CITATION_INSERT
14529
14530         * LyXView.C: actually apply fix
14531
14532         * bufferlist.C: fix open non-existent file
14533
14534         * lyxfind.C: fix indentation
14535
14536         * lyxfunc.C: remove unneeded assert, fix typo
14537
14538 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14539
14540         * MenuBackend.C: use "Floatname List"
14541
14542 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14543
14544         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14545         when converting LaTeX layout to insetERT.
14546         Generate a non-collapsed float when reading old float
14547
14548 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14549
14550         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14551         ERT insets.
14552
14553 2001-08-13  Juergen Vigna  <jug@sad.it>
14554
14555         * text.C (fill): return 0 instead of 20 as this seems to be the more
14556         correct value.
14557
14558 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14559
14560         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14561         lyxrc.font_norm.
14562
14563 2001-08-13  Juergen Vigna  <jug@sad.it>
14564
14565         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14566         casesensitive off.
14567         (SearchBackward): comment out the unlocking of the inset_owner this
14568         should not be needed!
14569
14570 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * Many files: Remove inherit_language, and add latex_language
14573
14574         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14575         collapsible insets.
14576
14577 2001-08-10  Juergen Vigna  <jug@sad.it>
14578
14579         * text.C (prepareToPrint): fixed hfill-width in draw!
14580
14581         * BufferView2.C (selectLastWord): save the selection cursor as this
14582         now is cleared in the function LyXText::clearSelection!
14583
14584 2001-08-08  Juergen Vigna  <jug@sad.it>
14585
14586         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14587         BACKSPACE type functions.
14588
14589         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14590         is only cutted from the document but not put in the cut-buffer, where
14591         still the old stuff should be.
14592
14593         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14594
14595         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14596
14597         * tabular.C (SetWidthOfCell): fixed special case where the width
14598         was not updated!
14599         (LeftLine): handle '|' in align_special.
14600         (RightLine): ditto
14601         (LeftAlreadyDrawed): ditto
14602         (SetWidthOfCell): ditto
14603
14604 2001-08-07  Juergen Vigna  <jug@sad.it>
14605
14606         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14607
14608 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14611         * lyxlex.[hC]: ditto
14612
14613 2001-08-06  Juergen Vigna  <jug@sad.it>
14614
14615         * text.C (getVisibleRow): fix up row clearing a bit.
14616
14617 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * minibuffer.C: make sure the X server sees the changes in the input.
14620
14621 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14622
14623         * paragraph.C (getFont): split into...
14624         (getLabelFont): this
14625         (getLayoutFont): and this
14626         * paragraph_pimpl.C (realizeFont): calling this
14627
14628         * text2.C (getFont): split into...
14629         (getLayoutFont): this
14630         (getLabelFont): and this
14631         (realizeFont): all three calling this
14632
14633         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14634         files where used.
14635
14636 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14637
14638         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14639
14640 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14641
14642         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14643         layouts from the Quote inset insertion.
14644
14645 2001-08-03  Juergen Vigna  <jug@sad.it>
14646
14647         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14648
14649         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14650         only if status not is already CHANGED_IN_DRAW (second level).
14651
14652         * text.C (draw): don't set the need_break_row when inside an
14653         InsetText LyXText.
14654
14655 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14656
14657         * buffer.C (parseSingleLyXformat2Token): handle more latex
14658         conversion cases.
14659
14660         * bufferview_funcs.[hC]: change function names to
14661         begin with small char, adjust other files.
14662
14663 2001-08-02  André Pönitz <poenitz@gmx.net>
14664
14665         * lyxfunc.C:
14666         BufferView_pimpl.C: remove broken special code for math-greek
14667
14668 2001-08-02  Juergen Vigna  <jug@sad.it>
14669
14670         * BufferView_pimpl.C (update): redone this function so that we
14671         update the text again if there was a CHANGE_IN_DRAW.
14672
14673         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14674         (drawFromTo): added a new internal bool which is used by draw() and
14675         redraw() function.
14676         (general): some cursor drawing problems fixed.
14677
14678 2001-08-01  Juergen Vigna  <jug@sad.it>
14679
14680         * lyxfind.C (LyXFind): fixed
14681         (SearchForward): ditto
14682         (SearchBackward): ditto
14683
14684         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14685         spurius drawing of the cursor in the main area.
14686
14687         * text2.C (status): small fix which could lead to a segfault!
14688         (clearSelection): remove unneeded BufferView param.
14689
14690 2001-08-01  André Pönitz <poenitz@gmx.net>
14691
14692         * lyxfunc.C: small change due to changed mathed interface
14693
14694 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14695
14696         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14697
14698 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14699
14700         * lyxfunc.c: fail gracefully if file doesn't exist
14701
14702         * LyXSendto.C:
14703         * buffer.C:
14704         * lyxfunc.C:
14705         * BufferView_pimpl.C: IsDirWriteable() proto changed
14706
14707         * LyXView.C: fix updateWindowTitle() to store the last title
14708
14709 2001-07-31  Juergen Vigna  <jug@sad.it>
14710
14711         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14712         the font (wrong since using of Paragraph::highestFontInRange).
14713
14714         * paragraph.C (highestFontInRange): added a default_size parameter.
14715
14716         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14717         (setHeightOfRow): reformat
14718
14719 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * converter.[hC] + affected files: move to (inital-char)lowercase
14722         function names.
14723
14724         * ParagraphParameters.C (ParagraphParameters): remove commented code
14725
14726         * PainterBase.[Ch]: remove commented code
14727
14728         * LaTeXFeatures.h: add "bool floats" for float.sty
14729
14730         * LaTeXFeatures.C (LaTeXFeatures): init floats
14731         (require): handle float
14732         (getPackages): do it with floats
14733
14734 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14735
14736         * BufferView_pimpl.C (Dispatch): improve handling of
14737         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14738
14739         * commandtags.h: #include lyxfont.h here temporarily to avoid
14740         keybinding bug.
14741
14742         * bufferlist.h: include LString.h here.
14743
14744 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14745
14746         * text2.C (getStringToIndex): new method.
14747
14748 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14749
14750         * *: Reduced header file dependencies all over.
14751
14752 2001-07-30  Baruch Even  <baruch@lyx.org>
14753
14754         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14755
14756 2001-07-29  Baruch Even  <baruch@lyx.org>
14757
14758         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14759
14760 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14761
14762         * ParameterStruct.h (endif): add a default constructor to make
14763         sure that all variables is initialized.
14764
14765         * ParagraphParameters.C (ParagraphParameters): adjust
14766
14767 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14768
14769         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14770         index; also, check that there is something to index, and that it
14771         does not span over several paragraphs.
14772         (doubleClick): use WHOLE_WORD_STRICT for double click.
14773
14774         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14775
14776         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14777         scheme.
14778
14779 2001-07-26  Baruch Even  <baruch@lyx.org>
14780
14781         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14782         an InsetFig figure, backwards compatible reading of old figure code.
14783
14784 2001-07-27  Juergen Vigna  <jug@sad.it>
14785
14786         * text2.C: font.realize function adaption.
14787
14788         * text.C (draw): add a warnings lyxerr text if needed.
14789
14790         * layout.C: font.realize function adaption.
14791
14792         * language.C: add inherit_language and implement it's handlings
14793
14794         * bufferview_funcs.C (StyleReset): remove language parameter from
14795         font creation (should be language_inherit now).
14796
14797         * bufferparams.C (writeFile): handle ignore_language.
14798
14799         * paragraph.C (getFontSettings): the language has to be resolved
14800         otherwise we have problems in LyXFont!
14801
14802         * lyxfont.C (lyxWriteChanges): added document_language parameter
14803         (update): removed unneeded language parameter
14804
14805         * paragraph.C (validate): fixed wrong output of color-package when
14806         using interface colors for certain fonts in certain environments,
14807         which should not seen as that on the final output.
14808
14809 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * BufferView_pimpl.C:
14812         * Thesaurus.h:
14813         * Thesaurus.C:
14814         * Makefile.am:
14815         * commandtags.h:
14816         * LyXAction.C: add thesaurus support
14817
14818         * lyxfind.h:
14819         * lyxfind.C: add "once" parameter, for thesaurus, to not
14820           move to the next match
14821
14822 2001-07-26  Juergen Vigna  <jug@sad.it>
14823
14824         * lyxfont.C (realize): honor ignore_language too!
14825         (resolved): ditto.
14826
14827         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14828
14829         * text.C (draw): one place more for ignore_language to not draw
14830         itself!
14831
14832 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14833
14834         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14835
14836 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14839         the minipage conversion problem.
14840
14841 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14844         insert an inset.
14845
14846 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * BufferView.h: don't forward declare WorkArea
14849
14850         * BufferView.C: don't include WorkArea.h
14851
14852 2001-07-25  André Pönitz <poenitz@gmx.net>
14853
14854         * commandtags.h:
14855         * LyXAction.C:
14856         * lyxfunc.C:  new LFUN 'math-space'
14857
14858         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14859
14860 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14861
14862         * text2.C (toggleInset): call open/close
14863
14864 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14865
14866         * lyxfunc.C (dispatch): add debug for the disabled case
14867
14868         * font.C (buttonText): make similar to rectText
14869
14870         * buffer.C (readInset): comment out parsing of insetlist and
14871         insttheorem
14872
14873         * PainterBase.C (rectText): small correction
14874
14875         * BufferView_pimpl.C: comment out insettheorem and insetlist
14876         * LyXAction.C: ditto
14877         * commandtags.h: ditto
14878
14879 2001-07-24  Juergen Vigna  <jug@sad.it>
14880
14881         * text.C (draw): honor the ignore_language.
14882
14883         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14884
14885 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14888         char inset.
14889
14890 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14891
14892         * lyxtext.h: remove unused (and unimplemented) methods
14893
14894 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14895
14896         * text.C (getVisibleRow): honor background color
14897
14898         * PainterBase.h:
14899         * Painter.h: remove default color argument for fillRectangle
14900
14901         * text.C (backgroundColor): new method
14902
14903 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14904
14905         * text.C (getVisibleRow): adjust
14906
14907         * font.[Ch] (rectText): new method, metrics
14908         (buttonText): new method, metrics
14909
14910         * PainterBase.[hC]: make rectText and buttonText always draw and take
14911         fewer paramteres.
14912
14913 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14914
14915         * ToolbarDefaults.C (read):
14916         * MenuBackend.C (read): allow escaping in all strings
14917
14918         * BufferView_pimpl.C (insertAndEditInset): new method.
14919         (Dispatch): use insertAndEditInset whenever appropriate.
14920
14921         * BufferView_pimpl.C (insertNote): removed
14922
14923         * BufferView_pimpl.C (smartQuote): new method, moved from
14924         BufferView; if an insetquote cannot be inserted, insert a '"'
14925         character instead.
14926
14927         * BufferView2.C: remove insertCorrectQuote();
14928
14929         * lyxfunc.C (getStatus): Add support for all remaingin
14930         inset-insert lfuns.
14931
14932         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14933
14934         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14935         command (necessary to pass " as parameter of self-insert.
14936
14937         * text.C (selectWordWhenUnderCursor):
14938         (selectWord): add word_location parameter
14939         (selectWordWhenUnderCursor): same + remove special code for word
14940         boundary.
14941         (selectNextWord): use kind() to guess type of insetspecialchar,
14942         not latex().
14943
14944         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14945         (insertErtContents): create ert insets as collapsed.
14946         (readInset): better compatibility code for Info inset.
14947
14948 2001-07-20  Juergen Vigna  <jug@sad.it>
14949
14950         * lyxfunc.C (dispatch): use always LyXFind now!
14951
14952         * text2.C (init): add a reinit flag so that the LyXText can be
14953         reinited instead of deleted and reallocated (used in InsetText).
14954
14955         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14956
14957         * text.C: ditto
14958
14959         * text2.C: ditto
14960
14961 2001-07-18  Juergen Vigna  <jug@sad.it>
14962
14963         * text.C (selectNextWord): handle insets inside inset by calling
14964         always the bv->text functions so that we can go up the_locking_inset!
14965
14966         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14967         in strange locations when inside an inset!
14968
14969         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14970         handling to include insets.
14971
14972         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14973
14974 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * LyXAction.C (init):
14977         * commandtags.h:
14978         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14979         LIGATURE_BREAK, since the name is so stupid.
14980
14981 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14982
14983         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14984         InsetInfos.
14985
14986         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14987
14988         * sp_form.[Ch]: remove.
14989
14990         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14991
14992         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14993         InsetInfo.
14994
14995         * src/buffer.C (readInset): ditto.
14996
14997 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14998
14999         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15000         menuSeparator(), endOfSentenceDot(), ldots() and
15001         hyphenationPoint(), which are therefore removed.
15002         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15003
15004         * LyXAction.C (init):
15005         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15006
15007         * paragraph.C (getWord): removed.
15008
15009         * BufferView_pimpl.C (Dispatch): use last word or selection for
15010         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15011
15012         * lyx_main.C (queryUserLyXDir): do not ask before creating
15013         user_dir, except if it has been named explicitely.
15014
15015 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15016
15017         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15018         a document of zero size.
15019
15020 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15023         approriately in the c-tor and in require().
15024         (getPackages): output the appropriate LaTeX for natbib support.
15025
15026         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15027         variables "use_natbib" and "use_numerical_citations" when reading the
15028         LyX file.
15029         (readInset): read the various natbib cite commands.
15030         (validate): white-space change.
15031
15032         * bufferparams.[Ch]: new variables "bool use_natbib" and
15033         "bool use_numerical_citations".
15034         (writeFile): output them in the LyX file.
15035
15036 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15037
15038         * lyxfunc.C (getStatus): add support for all the inset insertion
15039         commands.
15040
15041         * text2.C (insertInset):
15042         * paragraph.C (insetAllowed):
15043         * BufferView_pimpl.C (insertInset): update to take in account the
15044         renaming of insertInsetAllowed
15045
15046         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15047
15048         * text2.C (getInset): new method. returns inset at cursor position.
15049
15050         * BufferView_pimpl.C (Dispatch): changes because of this.
15051
15052         * LyXAction.C (init): rename open-stuff to inset-toggle.
15053
15054         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15055
15056         * text2.C (toggleInset): renamed from openStuff; use
15057         Inset::open().
15058
15059 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15060
15061         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15062
15063         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15064
15065 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * buffer.C (readLyXformat2): Add filename to the error dialog
15068
15069 2001-07-18  Juergen Vigna  <jug@sad.it>
15070
15071         * tabular.C (GetCellNumber): put an assert here instead of the check!
15072
15073 2001-07-17  Juergen Vigna  <jug@sad.it>
15074
15075         * BufferView_pimpl.C (toggleSelection): adapted too.
15076
15077         * text.C (selectNextWord): adapted for use with insets.
15078         (selectSelectedWord): ditto
15079
15080 2001-07-17  Juergen Vigna  <jug@sad.it>
15081
15082         * sp_spell.C (PSpell): fix initialitation order.
15083
15084 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15085
15086         * paragraph.C: spacing
15087
15088 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15089
15090         * sp_spell.C: repair language selection for pspell
15091
15092 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15093
15094         * lyxfunc.h: change more methods to begin with lower char.
15095
15096 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15097
15098         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15099         for unknown layouts.
15100
15101 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15102
15103         * buffer.C (readLyXformat2): Generate an error dialog if there are
15104         unknown layouts.
15105
15106 2001-07-16  Juergen Vigna  <jug@sad.it>
15107
15108         * sp_spell.C: always compile ISpell part.
15109
15110         * lyxrc.C: added use_pspell entry and it's handling.
15111
15112 2001-07-13  Juergen Vigna  <jug@sad.it>
15113
15114         * sp_spell.C: removed double includes.
15115
15116 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15117
15118         Consistent use of Lsstream.h:
15119         * Lsstream.h: added using std::stringstream for consistencies sake.
15120
15121         * buffer.C: removed using std::stringstream
15122
15123         * lyxfont.C (stateText):
15124         * paragraph.C (asString):
15125         * text.C (selectNextWord, selectSelectedWord):
15126         * text2.C (setCounter):
15127         * vspace.C (asString, asLatexString):
15128         std::ostringstream -> ostringstream.
15129
15130 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15131
15132         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15133         * commandtags.h: add LFUN_HELP_ABOUTLYX
15134         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15135
15136 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15137
15138         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15139         cursorToggle()
15140         * lyx_gui_misc.C: remove spellchecker
15141         * lyxfunc.C: showSpellchecker
15142         * sp_base.h: added
15143         * sp_ispell.h: added
15144         * sp_pspell.h: added
15145         * sp_spell.C: added
15146         * sp_form.[Ch]: removed
15147         * spellchecker.[Ch]: removed
15148
15149 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15150
15151         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15152         is set.
15153         (simpleTeXSpecialChars): Simply print the input character without
15154         any special translation if pass_thru is set.
15155
15156         * layout.h: Added bool pass_thru to layout class for being able to
15157         implement pass through of a paragraph for Literate Programming.
15158
15159         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15160         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15161         * layout.C (Read): add "passthru" to list of layout tags and add
15162         code to set the pass_thru boolean when it is read.
15163
15164 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15165
15166         * trans_decl.h: remove allowed from KmodInfo
15167
15168         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15169         remove allowed code
15170         (Load): adjust
15171
15172         * paragraph_pimpl.C (erase): use boost::prior
15173
15174         * Painter.C (text): use data() instead of c_str() when length is
15175         also provided.
15176         * WorkArea.C (putClipboard): ditto
15177         * font.h (width): ditto
15178
15179         * BufferView2.C: use it-> instead of (*it). for iterators
15180         * texrow.C: ditto
15181         * paragraph_pimpl.C: ditto
15182         * paragraph.C: ditto
15183         * minibuffer.C: ditto
15184         * language.C: ditto
15185         * kbmap.C: ditto
15186         * encoding.C: ditto
15187         * counters.C: ditto
15188         * converter.C: ditto
15189         * chset.C: ditto
15190         * Variables.C: ditto
15191         * TextCache.C: ditto
15192         * MenuBackend.C: ditto
15193         * LyXAction.C: ditto
15194         * LColor.C: ditto
15195         * FloatList.C: ditto
15196         * DepTable.C: ditto
15197         * ColorHandler.C (LyXColorHandler): ditto
15198
15199 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15202
15203         * text2.C (openStuff): reintroduce this method (which had been
15204         nuked in NEW_INSETS frenzy).
15205
15206         * lyxfunc.C (Dispatch): when an action has not been handled, use
15207         its name in the error message, not its number.
15208
15209         * paragraph.C (inInset): change method name to begin with lowercase.
15210
15211         * undo_funcs.C:
15212         * text2.C: updates because of this.
15213
15214 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15215
15216         * ToolbarDefaults.C (add): add spaces in error message
15217
15218 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15219
15220         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15221         (readLyXformat2): rename return_par to first_par, use lyxlex's
15222         pushToken and remove the manual push handling.
15223         (parseSingleLyXformat2Token): add another ert comp. variable:
15224         in_tabular, rename return_par to first_par. handle newlines better
15225
15226 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15227
15228         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15229
15230 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15231
15232         * text2.C (getParFromID): removed
15233
15234         * buffer.C (getParFromID): new method moved form lyxtext.
15235         * BufferView2.C (insertErrors): adjust
15236         (setCursorFromRow): adjust
15237         * BufferView_pimpl.C (restorePosition): adjust
15238         * lyxfunc.C (Dispatch): adjust
15239         * undo_funcs.C (textUndo): adjust
15240         (textRedo): adjust
15241         (textHandleUndo): adjust
15242         (textHandleUndo): adjust
15243
15244 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15245
15246         * buffer.C: up' the LYX_FORMAT
15247
15248         * lyxfont.h: turn NO_LATEX on as default
15249
15250         * buffer.C (insertErtContents): new methods of tex style compability.
15251         (parseSingleLyXformat2Token): use it several places.
15252         * tabular.C (OldFormatRead): and here
15253
15254 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15255
15256         * text2.C: remove some commented code.
15257         reindent file.
15258
15259         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15260         * trans.C: changes because of the above.
15261
15262 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15263
15264         * text2.C (setCounter): Fix counters bug with bibliography layout.
15265
15266 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15267
15268         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15269         own member functions
15270         (simpleTeXSpecialChars): ditto
15271
15272 2001-07-06  Juergen Vigna  <jug@sad.it>
15273
15274         * a lot of files: changed the access to LyXText::status and the
15275         call of undo-functions.
15276
15277         * undo.[Ch]: added a inset_id to the undo informations.
15278
15279         * undo_funcs.[Ch]: added and moved here all undo functions.
15280
15281         * lyxtext.h: give the status enum a weight, made status_ a private
15282         variable and made accessor functions for it, removed the whole bunch
15283         of undo-functions as they are now in their own file, make some
15284         functions publically available. Added function ownerParagraph with
15285         int parameter.
15286
15287         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15288         made InInset() a const function, added getParFromID() function.
15289
15290         * buffer.[Ch]: added const version for inset_iterator functions,
15291         added getInsetFromID() function.
15292
15293         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15294         changed undo functions for new version.
15295
15296 2001-07-05  Juergen Vigna  <jug@sad.it>
15297
15298         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15299         unknow mechanism does not call the proper constructor but only this
15300         one also if I request the other!?
15301
15302 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15303
15304         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15305
15306         * text2.C (LyXText): use initialization lists.
15307
15308         * lyxtext.h (Selection): initialize set_ and mark_
15309         (init): remove method
15310
15311 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15312
15313         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15314
15315 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15316
15317         * screen.[Ch]: change method names to begin with lowercase
15318
15319         * BufferView_pimpl.C (updateScrollbar): simplify further and
15320         hopefully make it a bit faster.
15321
15322 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15323
15324         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15325         calling directly xforms functions.
15326
15327         * Painter.C (Painter):
15328         * lyx_cb.C (MenuWrite):
15329         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15330         fl_display.
15331
15332         * lyx_gui.C: remove bogus guiruntime extern declaration.
15333
15334 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15337         in NEW_INSETS
15338         (redoDrawingOfParagraph): ditto
15339         (redoParagraphs): ditto
15340         (cutSelection): don't create a object for CutAndPaste use the
15341         static method directly
15342         (pasteSelection): ditto
15343
15344         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15345         LyXview (+ rename)
15346
15347 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15348
15349         * modifications to some other files because of this.
15350
15351         * Makefile.am (lyx_SOURCES): add XFormsView
15352
15353         * XFormsView.[Ch]: new files
15354
15355         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15356         the main window. Move the gui dependent stuff to XFormsView
15357
15358 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * tabular.C (GetCellInset): update cur_cell also in the row/col
15361         version of this function.
15362
15363         * lyxfunc.C: no need to include figure_form.h here.
15364
15365         * FontLoader.h:
15366         * lyxfunc.h:
15367         * lyxscreen.h:
15368         * text2.C:
15369         * lyxvc.C: no need to include forms.h here.
15370
15371 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15374
15375         * lyxfunc.C (Dispatch):
15376         * Spacing.C (set):
15377         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15378         constructor argument.
15379
15380 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15381
15382         * paragraph.C (Paragraph): dont't clear, and just set layout.
15383         (makeSameLayout): use params's copy contructor.
15384
15385         * ParagraphParameters.[Ch] (makeSame): delete method
15386
15387 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15388
15389         * Variables.[Ch]: fix indentation, rename set to isSet
15390
15391 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15392
15393         * lyxfunc.C (Dispatch): fix typo
15394
15395 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15398         upper_bound.
15399
15400         * bufferlist.C: include assert.h for emergencyWrite().
15401
15402 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15403
15404         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15405           give up at last (bug #425202) !
15406
15407 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15408
15409         * lyx_gui_misc.C:
15410         * sp_form.h:
15411         * sp_form.C:
15412         * spellchecker.h:
15413         * spellchecker.C: strip spellchecker options and bring up
15414           preferences tab instead
15415
15416 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15419         the istringstream constructor
15420
15421 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * paragraph.C (getLayout): fix return value
15424
15425         * paragraph.h: do not declare getLayout as inline.
15426
15427         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15428
15429 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15430
15431         * lyxcursor.h (operator<): new func
15432         (operator>): new func
15433         (operator>=): new func
15434         (operator<=): new func
15435
15436         * text.C (changeCase): use selection.start and selection.end
15437         (changeRegionCase): require from to be <= to. Require par to be a
15438         valid paragraph.
15439
15440         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15441
15442 2001-06-27  Juergen Vigna  <jug@sad.it>
15443
15444         * text.C (cursorLeftOneWord): changed to return the cursor and added
15445         overlay with BufferView * parameter which calls this one.
15446         (getWord): added
15447         (selectWord): use new getWord function.
15448         (changeCase): renamed from changeWordCase as and extended to work
15449         also on selections.
15450
15451         * lyxtext.h: added enum word_location
15452
15453         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15454         changeCase as this operates now also on selections.
15455
15456 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15457
15458         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15459
15460         * many files: send debug output to Debug::INFO instead of
15461         Debug::ANY.
15462
15463         * converter.C (View):
15464         (Convert):
15465         (Move): send debug output to Debug::FILES instead of console.
15466
15467 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15468
15469         * lyxfunc.C (getStatus): use func_status
15470
15471         * func_status.h: new header, describing the results of
15472         LyXFunc::getStatus;
15473
15474         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15475         LFUN_MATH_HALIGN.
15476
15477 2001-06-25  The LyX Project  <jug@sad.it>
15478
15479         * buffer.C (sgmlOpenTag):
15480         (sgmlCloseTag):
15481         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15482
15483 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15484
15485         * text2.C: remove some dead code
15486
15487         * tabular.C (GetCellInset): store the last cell checked (gotten)
15488
15489         * tabular.h: add the helper for the speedup
15490
15491         * lyxtext.h: remove some dead code
15492
15493 2001-06-26  The LyX Project  <Asger>
15494
15495         * paragraph.C: Change export to LaTeX of alignment to
15496         \begin{center} and family for better roundtrip work with reLyX.
15497
15498         * Tune the math drawing a bit.
15499
15500 2001-06-25  The LyX Project  <Asger>
15501
15502         * LColor.C (LColor): New color for math background. New color
15503         for buttons.
15504
15505 2001-06-25  The LyX Project  <jug@sad.it>
15506
15507         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15508
15509         * lyxfunc.C (Open):
15510         * bufferlist.C (newFile): do not restrict to files ending with
15511         .lyx
15512
15513         * BufferView_pimpl.C (MenuInsertLyXFile):
15514
15515 2001-06-24  The LyX Project  <jug@sad.it>
15516
15517         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15518         of compare_no_case
15519
15520 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15521
15522         * lyxtext.h: rename most methods to begin with a small char.
15523         Lots of changes because of this.
15524
15525         * paragraph.C (Paragraph): do not call fitToSize
15526         (erase): call Pimpl::erase
15527         (insertChar): call Pimpl::insertChar
15528         (insertInset): call Pipl::insertInset
15529         (breakParagraph): do not call fitToSize
15530         (breakParagraphConservative): do not call fitToSize
15531         (fitToSize): remove method
15532
15533         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15534
15535 2001-06-24  The LyX Project  <Asger>
15536
15537         * Fix Qt compilation^2
15538
15539 2001-06-24  The LyX Project  <jug@sad.it>
15540
15541         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15542         depthHook(getDepth()-1).
15543
15544         * paragraph.h:
15545         * ParagraphParameters.h:
15546         * ParameterStruct.h: change type of depth to unsigned int ==
15547         depth_type. Many adaptations to other files before of that.
15548
15549 2001-06-24  The LyX Project  <Asger>
15550
15551         * Fix Qt compilation.
15552
15553 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15554
15555         * paragraph.h: renamed several methods to begin with small letter.
15556         several changes to many parts of the code because of this.
15557
15558 2001-06-23  The LyX Project  <jug@sad.it>
15559
15560         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15561         rewritten to discard all double spaces when KeepEmpty is off
15562         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15563         to only handle newlines but not fiddle with spaces and friends.
15564
15565         * lyxfunc.C (MenuNew): when doing 'new from template', use
15566         template_path as default directory
15567
15568 2001-06-23  The LyX Project  <Asger>
15569
15570         * Clean-up of header file includes all over
15571         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15572
15573 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15574
15575         * paragraph.h: renamed from lyxparagraph.h
15576
15577 2001-06-23  Asger  <lyx@violet.home.sad.it>
15578
15579         * Buffer.h: Removed Buffer::resize
15580         * BufferList.h: Removed BufferList::resize
15581         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15582         the document lazily when we change the width, or the font settings.
15583
15584 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15585
15586         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15587
15588 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15589
15590         * buffer.h: remove out of date comment
15591
15592 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15593
15594         * lyxscreen.h:
15595         * screen.C: fix "theoretical" GC leak
15596
15597 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15598
15599         * LaTeX.C (scanAuxFile):
15600         (deplog): remove trailing \r when reading stream (useful under
15601         win32)
15602
15603 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15604
15605         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15606         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15607         and BufferView::theLockingInset(Inset*), so should use them and not
15608         access bv_->text->the_locking_inset directly.
15609
15610         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15611
15612 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15613
15614         * Makefile.am:
15615         * tex-defs.h: remove old unused file
15616
15617 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15618
15619         * BufferView_pimpl.C: fix typo, remove minibuffer message
15620           when buffer has loaded
15621
15622 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15623
15624         * lyxfunc.C (Dispatch): use stringstream
15625         (MenuNew): use stringstream
15626         (Open): use stringstream
15627
15628         * importer.C (Import): use stringstream
15629
15630         * bufferview_funcs.C (CurrentState): use stringstream
15631
15632         * LaTeX.C (run): use stringstream
15633
15634         * BufferView_pimpl.C (savePosition): use stringstream
15635         (restorePosition): use stringstream
15636         (MenuInsertLyXFile): use stringstream
15637
15638 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15639
15640         * BufferView.C:
15641         * Bullet.C:
15642         * ColorHandler.C:
15643         * FontInfo.C:
15644         * FontLoader.C:
15645         * LColor.C:
15646         * LaTeXFeatures.C:
15647         * Painter.C:
15648         * gettext.C:
15649         * lyx_gui_misc.C:
15650         * lyxserver.C:
15651         * vspace.C: removed // -*- C++ -*- as first line.
15652
15653         * lyxfind.h:
15654         * version.h: added // -*- C++ -*- as first line.
15655
15656 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15657
15658         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15659
15660         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15661         of string
15662
15663 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15664
15665         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15666         of floats.
15667
15668 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15669
15670         * gettext.C: include LString.h even when --disable-nls is on.
15671
15672 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15673
15674         * converter.h (Get): changed argument type from int to
15675         FormatList::size_type to avoid unnecessary conversion.
15676
15677         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15678         before using it.
15679
15680 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15681
15682         * gettext.h: include LString.h even when --disable-nls is on.
15683
15684 2001-06-07  Juergen Vigna  <jug@sad.it>
15685
15686         * text.C (BreakAgain): subst spaces with tabs.
15687
15688         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15689         (resizeInsetsLyXText): set force on resizeLyXText.
15690
15691 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * gettext.h (gettext_init):
15694         (locale_init): use a real definition instead of a macro
15695
15696 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15697
15698         * Bufferview_pimpl.C:
15699         * LColor.h:
15700         * LColor.C: further lcolor tidies
15701
15702 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * BufferView_pimpl.C (updateScrollbar): simplify.
15705
15706         * BufferView2.C: don't include insets/insetinfo.h, change
15707         prototype for insertInset and call the Pimpl version. let
15708         updateInset call Pimpl version.
15709
15710         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15711         gotoInset to BufferView::Pimpl
15712
15713 2001-06-01  Juergen Vigna  <jug@sad.it>
15714
15715         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15716         inside a LockingInset (is the update needed at all?).
15717
15718 2001-05-31  Juergen Vigna  <jug@sad.it>
15719
15720         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15721         here not the old one otherwise how should we compare it afterwards
15722         if it's the same!
15723
15724 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * lyxfont.C:
15727         * tabular.C:
15728         * tabular-old.C:
15729         * FontInfo.C: bring C functions into global namespace when
15730         necessary
15731
15732 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * LString.h: make sure config.h has been loaded before LString.h.
15735
15736         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15737         (one for each char read by EatLine!).
15738
15739         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15740         variables.
15741
15742 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15743
15744         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15745         to the same as the par we break from
15746
15747 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15748
15749         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15750
15751         * MenuBackend.C (expand): also create menu entries for wide
15752         versions of the floats.
15753
15754         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15755
15756         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15757
15758         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15759         frontends/Makefile.am
15760
15761         * text2.C: adjust
15762         * text.C: adjust
15763
15764
15765         * tabular.C (getTokenValue): add std::
15766
15767         * tabular-old.C (getTokenValue): add std::
15768         (getTokenValue): ditto
15769         (getTokenValue): ditto
15770
15771         * screen.C (ToggleSelection): adjust
15772
15773         * lyxtext.h: put selection cursors inside a Selection struct.
15774
15775         * lyxfunc.C (moveCursorUpdate): adjust
15776
15777         * lyxfont.C (latexWriteStartChanges): add std::
15778
15779         * lyxfind.C: adjust
15780
15781         * font.h: delete with(char const *, LyXFont const &)
15782
15783         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15784
15785         * FontInfo.C (getFontname): add std::
15786
15787         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15788         (workAreaButtonPress): adjust
15789         (tripleClick): adjust
15790         (update): adjust
15791         (moveCursorUpdate): adjust
15792         (Dispatch): adjust
15793
15794         * BufferView2.C (gotoInset): adjust
15795
15796 2001-05-30  Juergen Vigna  <jug@sad.it>
15797
15798         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15799         to check pspell I add this as default as I now have new pspell
15800         libraries and they seem to use this.
15801
15802 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15803
15804         * text2.C (CutSelection): make the cursor valid before the call to
15805         ClearSelection.
15806
15807 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15810         relied on 0 terminated strings and other horrors. Bug found due to
15811         the new assert in lyxstring!
15812
15813         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15814         KP_ keys.
15815
15816 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15817
15818         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15819         to latinkeys.bind.
15820
15821         * lyxfunc.C (processKeySym): change method of getting to the
15822         self-insert char.
15823
15824         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15825         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15826         * BufferView_pimpl.[Ch]: here as private methods.
15827
15828 2001-05-28  Juergen Vigna  <jug@sad.it>
15829
15830         * text.C (SetHeightOfRow): added the update() call again as it is
15831         needed to initialize inset dimensions!
15832
15833 2001-05-16  Juergen Vigna  <jug@sad.it>
15834
15835         * text2.C (SetCharFont): Add new function with BufferView * and
15836         bool toggleall parameters for setting insets internal fonts.
15837         (SetFont): Freeze the undo as we may change fonts in Insets and
15838         all this change should be inside only one Undo!
15839
15840         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15841         setting font's in insets as for them we have the SetFont function!
15842
15843 2001-05-15  Juergen Vigna  <jug@sad.it>
15844
15845         * text2.C (ClearSelection): to be sure we REALLY don't have any
15846         selection anymore!
15847
15848         * tabular.C (TeXCellPreamble): fixed the left border problem for
15849         multicolumn cells.
15850
15851 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15852
15853         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15854         dependancy file
15855
15856 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15857
15858         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15859         LFUN_BREAKPARAGRAPH.
15860
15861         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15862         help test to "internal only", similar for LFUN_INSERT_URL
15863
15864         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15865         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15866         auto_region_delete and deadkeys.
15867
15868 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15869
15870         * LColor.h:
15871         * LColor.C: remove some dead entries, tidy a little
15872
15873 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15874
15875         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15876         commented code.
15877         (Dispatch): implement LFUN_ESCAPE
15878
15879         * commandtags.h: add LFUN_ESCAPE
15880
15881         * LyXAction.C (init): add entry for LFUN_ESCAPE
15882
15883         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15884         Remove commented code.
15885         (insertNote): moved here
15886         (open_new_inset): moved here
15887
15888         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15889         BufferView_pimpl
15890
15891 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15892
15893         * kbmap.C (findbinding): clean it up and make it work correctly.
15894
15895         * lyx_main.C (init): do not pass argc and argv as parameters
15896
15897 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15898
15899         * buffer.C: fix path for OS/2 & Win32
15900
15901         * lyx_gui.C:
15902         * lyx_main:
15903         * lyx_main.C: Added os:: class.
15904
15905         * os2_defines.h: update
15906
15907 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15908
15909         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15910         better by trying again with reduced state.
15911
15912 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15913
15914         * lyxrc.C (read): print error about invalid key sequence only when
15915         debugging (because not all latinX keysyms are known to some X
15916         servers)
15917
15918         * kbsequence.C (getiso): add a few std:: qualifiers
15919         (getiso): comment out extra return statement.
15920
15921 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15924         handling.
15925         (Dispatch): enhance the accent inset a bit. (not perfect)
15926
15927 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15928
15929         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15930
15931 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * bufferlist.C (emergencyWrite): fix assert() call
15934
15935 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15936
15937         * text.C (InsertChar): Added trivial patch to only send the "you
15938         can not do multiple spaces this way" message once during a
15939         session.
15940
15941 2001-05-08  Baruch Even  <baruch@lyx.org>
15942
15943         * Makefile.am: Changed order of libraries to get LyX to link properly
15944         with the gnome frontend.
15945
15946 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15947
15948         * LaTeXFeatures.h: add a std:: qualifier
15949
15950 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * paragraph.C (String): use stringstream
15953
15954 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15955
15956         * paragraph.C (writeFile): remove footflag arg
15957
15958         * buffer.C (makeLaTeXFile): use stringstream
15959         (latexParagraphs): remove footnot gurba
15960
15961         * LaTeXFeatures.C (getPackages): use stringstream
15962         (getMacros): likewise
15963         (getTClassPreamble): likewise
15964         (getFloatDefinitions): new method
15965
15966         * paragraph.C (writeFile): reindent
15967         (Erase): reindent
15968
15969         * WorkArea.h: revert the xpos + etc changes.
15970
15971         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15972
15973         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15974
15975         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15976         (pasteSelection): likewise
15977         * text2.C (CreateUndo): likewise
15978
15979 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15980
15981         * minibuffer.C (peek_event): temporarily reduce the functionality
15982         of the minibuffer (to allow args on lfuns)
15983
15984         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15985         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15986
15987         * buffer.C (readInset): add compability reading of old float
15988         lists, add reading of new style float list.
15989         (readInset): avoid reevaluation of inscmd.getCmdName()
15990         (getLists): reindent
15991
15992         * MenuBackend.C (MenuItem): implement parsing of
15993         md_floatlistinsert and md_floatinsert.
15994         (expand::LastFiles): move initalizaton of iterators out of loop,
15995         avoid reevaluation.
15996         (expand::Documents): introduce typdedef vector<string> Strings,
15997         and use it.
15998         (expand::ExportFormats): introduce typedef vector<Format const *>
15999         Formats, and use it.
16000         (expand): implement FloatListInsert and FloatInsert.
16001
16002         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16003         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16004         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16005
16006         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16007         handling.
16008         (Dispatch::LFUN_FLOAT_LIST): implement
16009
16010 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16011
16012         * LaTeX.C (run): Fix problem with --export code.
16013
16014 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16015
16016         * BufferView.[Ch] (workarea): removed.
16017         (getClipboard) new method; wrapper for workarea()->getClipboard()
16018
16019         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16020         bug.
16021
16022         * WorkArea.h (width, height, xpos, ypos): These methods all
16023         returned the dimensions of the work_area sub-area of WorkArea,
16024         resulting in a position error if the WorkArea were resized. Now
16025         return the dimensions of the entire WorkArea.
16026
16027         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16028
16029 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16030
16031         * LaTeX.C (deplog): correct the syntax of regex reg1
16032
16033 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16034
16035         * undo.C: remove !NEW_INSETS cruft
16036
16037 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16038
16039         * text2.C: remove !NEW_INSETS cruft
16040
16041         * text.C: remove !NEW_INSETS cruft
16042
16043         * tabular.C: remove !NEW_INSETS cruft
16044
16045         * spellchecker.C: remove !NEW_INSETS cruft
16046
16047         * lyxtext.h: remove !NEW_INSETS cruft
16048
16049         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16050
16051         * lyxfunc.C: remove !NEW_INSETS cruft
16052
16053         * lyxfind.C: remove !NEW_INSETS cruft
16054
16055         * lyx_cb.C: remove !NEW_INSETS cruft
16056
16057         * figureForm.C: remove  !NEW_INSETS cruft
16058
16059         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16060
16061         * buffer.[Ch]: remove !NEW_INSETS cruft
16062
16063         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16064
16065         * CutAndPaste.C: remove !NEW_INSETS cruft
16066
16067         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16068
16069         * BufferView2.C: remove !NEW_INSETS cruft
16070
16071         * BufferView.h: remove !NEW_INSETS cruft
16072
16073 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16074
16075         * Lsstream.h: include LString.h before the sstream headers to
16076         fix problem with gcc 2.95.3 and lyxstring
16077
16078 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16079
16080         * lyx_main.C: add using directives when needed for C functions
16081         declared in std:: namespace.
16082
16083 2001-04-27  Juergen Vigna  <jug@sad.it>
16084
16085         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16086         (SetHeightOfRow): comment out the update call should not be needed!
16087
16088 2001-04-13  Juergen Vigna  <jug@sad.it>
16089
16090         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16091         (LyXTabular): tried to minimize operator= operations (and realized
16092         hopfully Lars wish).
16093
16094 2001-04-27  Juergen Vigna  <jug@sad.it>
16095
16096         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16097
16098 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16101
16102         * buffer.C (readInset): hack to make listof algorithm work
16103
16104         * BufferView_pimpl.C: hack to make listof algorithm work
16105
16106 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16107
16108         * LyXAction.C: removed all !NEW_INSETS cruft
16109         (init): moved lfun_item in method
16110
16111         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16112
16113 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16114
16115         * BufferView2.C (theLockingInset): white space.
16116
16117 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16118
16119         * minibuffer.C: include <iostream>
16120
16121         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16122
16123         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16124
16125         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16126
16127         * text.[Ch] (TransposeChars): new method
16128
16129 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16130
16131         * call message directly through LyXView instead of through LyXFunc
16132         * BufferView2.C: adjust
16133         * BufferView_pimpl.C: adjust
16134         * FontLoader.C: adjust
16135         * buffer.C: adjust
16136         * bufferview_funcs.C: adjust
16137         * converter.C: adjust
16138         * figureForm.C: adjust
16139         * importer.C: adjust
16140         * lyx_cb.C: adjust
16141         * lyx_gui_misc.C: adjust
16142         * lyxfunc.C: adjust
16143         * lyxvc.C: adjust
16144         * text2.C: adjust
16145         + more files in subdirs
16146
16147         * lyxparagraph.h (size): move up int file
16148         (GetLayout): ditto
16149
16150         * adjust all uses of Assert to lyx::Assert.
16151
16152         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16153         lyxfunctional in namespace lyx
16154         * layout.C (hasLayout): ditto
16155         (GetLayout): ditto
16156         (GetLayout): ditto
16157         (delete_layout): ditto
16158         (NumberOfClass): ditto
16159         * converter.C (GetFormat): ditto
16160         (GetNumber): ditto
16161         (Add): ditto
16162         (Delete): ditto
16163         (SetViewer): ditto
16164         * bufferlist.C (getFileNames): ditto
16165         (emergencyWriteAll): ditto
16166         (exists): ditto
16167         (getBuffer): ditto
16168         * MenuBackend.C (hasSubmenu): ditto
16169         (hasMenu): ditto
16170         (getMenu): ditto
16171         * BufferView_pimpl.C (getInsetByCode): ditto
16172
16173 2001-04-18  Juergen Vigna  <jug@sad.it>
16174
16175         * vspace.C (asLatexString): fixed the 100% problem.
16176
16177 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * lyxfunc.C (Dispatch):
16180         * minibuffer.C:
16181         * minibuffer.h: add a few std:: qualifiers
16182
16183 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16184
16185         * minibuffer.[Ch]: reimplement so that commands is initiated and
16186         run from lyxfunc, simplified som handling, and made the completion
16187         and history code for complete. wip.
16188
16189         * lyxfunc.C (processKeySym): call message
16190         (miniDispatch): new temporary method
16191         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16192         (LFUN_MESSAGE): implement
16193         (LFUN_MESSAGE_PUSH): implement
16194         (LFUN_MESSAGE_POP): implement
16195         (initMiniBuffer): the initial/defualt minibuffer message.
16196
16197         * lyxfont.[Ch]: inline some more getters
16198
16199         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16200
16201         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16202
16203         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16204         (AutoSave): use LFUN_MESSAGE
16205         (Reconfigure): ditto
16206
16207         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16208
16209         * figureForm.C: use LFUN_MESSAGE
16210
16211         * converter.C (runLaTeX): use LFUN_MESSAGE
16212
16213         * bufferview_funcs.C: use LFUN_MESSAGE
16214         (Melt): ditto
16215         (changeDepth): ditto
16216
16217         * bufferparams.h: use boost::
16218
16219         * bufferlist.h: inherit privately from noncopyable
16220
16221         * bufferlist.C (loadLyXFile): remove some commented code.
16222
16223         * buffer.C (runChktex): use LFUN_MESSAGE
16224
16225         * ShareContainer.h: inherit privately from noncopyable
16226
16227         * ParagraphParameters.[hC] (depth): inline it.
16228
16229         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16230         methods.
16231         (message): new method
16232         (messagePush): ditto
16233         (messagePop): ditto
16234         (show): init minibuffer
16235         (showState): direct call
16236
16237         * LaTeX.[Ch]: inherit privately from noncopyable
16238         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16239         instead of WriteStatus.
16240
16241         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16242
16243         * BufferView_pimpl.C (buffer): don't init minibuffer
16244         (workAreaButtonPress): use LFUN_MESSAGE
16245         (workAreaButtonRelease): ditto
16246         (savePosition): ditto
16247         (restorePosition): ditto
16248         (MenuInsertLyXFile): ditto
16249         (workAreaExpose): don't init minibuffer
16250         (update): remove commented code, simplify
16251
16252         * BufferView2.C (openStuff): use LFUN_MESSAGE
16253         (toggleFloat): ditto
16254         (menuUndo): ditto
16255         (menuRedo): ditto
16256         (copyEnvironment): ditto
16257         (pasteEnvironment): ditto
16258         (copy): ditto
16259         (cut): ditto
16260         (paste): ditto
16261         (gotoInset): ditto
16262         (updateInset): remove some commented code
16263
16264         * lastfiles.h: inherit privately from noncopyable
16265         * layout.h: ditto
16266         * lyx_gui.h: ditto
16267         * lyx_main.h: ditto
16268         * lyxlex.h: ditto
16269         * lyxlex_pimpl.h: ditto
16270
16271         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16272         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16273         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16274
16275         * LyXAction.h: inherit privately from noncopyable, add methods
16276         func_begin, func_end, returning iterators to the func map.
16277
16278         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16279         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16280         (func_begin): new method
16281         (func_end): new method
16282
16283         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16284         and not)
16285         (copySelection): ditto
16286         (pasteSelection): ditto
16287
16288         * BufferView.C: whitespace change
16289         * BufferView.h: inherit privately from noncopyable
16290
16291 2001-04-16  Allan Rae  <rae@lyx.org>
16292
16293         * tabular-old.C (l_getline):
16294         * spellchecker.C (sc_check_word):
16295         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16296         an unrecognised preprocessor directive.  So ensure they're wrapped.
16297
16298 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * src/exporter.C (Export): Give an error message when path to file
16301         contains spaces.
16302
16303 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16304
16305         * LaTeX.C (deplog): Always check that foundfile exists.
16306
16307 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16308
16309         * lyx_main.h:
16310         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16311
16312 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * tabular.[Ch] (getLabelList): implement new method
16315
16316         * minibuffer.h: comment ouf setTiimer
16317
16318         * minibuffer.C (ExecutingCB): constify res
16319         (peek_event): constify s
16320         (Set): constify ntext
16321         (Init): constify nicename
16322
16323         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16324
16325         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16326         (savePosition): use two params to Minibuffer::Set
16327         (restorePosition): ditto
16328
16329 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * lyx_main.C: include language.h
16332
16333         * Makefile.am (lyx_main.o): add language.h
16334
16335 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16336
16337         * exporter.C:
16338         * paragraph.C:
16339         * screen.C:
16340         * tabular.C:
16341         * CutAndPaste.C: include gettext.h
16342
16343         * lyxfont.h: remove old hack with ON and OFF.
16344
16345         * lyxparagraph.h:
16346         * lyxfont.h: do not include language.h...
16347
16348         * BufferView2.C:
16349         * LaTeXFeatures.C:
16350         * Painter.C:
16351         * bufferview_funcs.C:
16352         * font.C:
16353         * lyxfont.C:
16354         * text.C:
16355         * text2.C:
16356         * trans_mgr.C:
16357         * paragraph.C: ... but do it here instead
16358
16359 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16360
16361         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16362
16363         * tabular.C: small reformat
16364
16365         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16366         NEW_INSETS version
16367         (GetChar): ditto
16368         (BreakParagraph): ditto
16369         (SetOnlyLayout): ditto
16370         (SetLayout): ditto
16371
16372         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16373         with one arg less.
16374
16375         * lastfiles.C: removed most using decl, add std:: where needed
16376
16377         * buffer.C: ws changes
16378
16379         * MenuBackend.C (class compare_format): put into anon namespace
16380         (expand): constify label, names, action, action2
16381         (expand):
16382
16383         * text.C (SingleWidth): constify font
16384         (IsBoundary): constify rtl2
16385         (GetVisibleRow): constify ww
16386
16387         * LaTeX.C (deplog): constify logfile
16388
16389         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16390         start_x, end_x
16391         (workAreaExpose): constify widthChange, heightChange
16392
16393         * lyxrow.C (par): moved
16394         (height): moved
16395         (next): moved
16396         * lyxrow.h: as inlines here
16397
16398         * lyxfont.h (shape): moved from lyxfont.C
16399         (emph): moved from lyxfont.C
16400
16401         * lyxfont.C (LyXFont): use initialization list for all
16402         constructors
16403         (shape): move to lyxfont.h as inline
16404         (emph): move to lyxfont.h as inline
16405
16406
16407 2001-04-04  Juergen Vigna  <jug@sad.it>
16408
16409         * vspace.C: had to include stdio.h for use of sscanf
16410
16411 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16412
16413         * BufferView.h:
16414         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16415         independent of xforms.
16416
16417 2001-04-02  Juergen Vigna  <jug@sad.it>
16418
16419         * spellchecker.C: fixed namespace placing!
16420
16421 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16422
16423         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16424         the LyXParagraph * is 0.
16425
16426 2001-03-29  Juergen Vigna  <jug@sad.it>
16427
16428         * vspace.C: added support for %, c%, p%, l%.
16429         (stringFromUnit): added helper function.
16430         (asLatexString): changed to give right results for the %-values.
16431
16432         * buffer.C: convert the widthp in a width%.
16433
16434 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16435
16436         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16437         figureForm.[Ch].
16438
16439         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16440         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16441
16442         * lyx_cb.[Ch]: see above.
16443
16444         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16445         form1.[Ch].
16446
16447         * form1.[Ch]:
16448         * lyx.[Ch]: replaced by figure_form.[Ch].
16449
16450         * lyx_gui.C:
16451         * lyx_gui_misc.C:
16452         * lyxfunc.C: changed headers associated with above changes.
16453
16454 2001-03-27  Juergen Vigna  <jug@sad.it>
16455
16456         * BufferView_pimpl.C: set the temporary cursor right!
16457
16458 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16459
16460         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16461
16462 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16463
16464         * LString.h: removed "using std::getline"!
16465
16466         * BufferView_pimpl.C (Dispatch): changes due to changes in
16467         InsetInclude::Params.
16468
16469         * buffer.C (tag_name): removed redundant break statements as they were
16470         producing lots of warnings with my compiler.
16471
16472 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16473
16474         * LString.h: add "using std::getline" when using the real <string>.
16475
16476 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16477
16478         * buffer.C: removed bitset usage.
16479         PAR_TAG moved to an anonymous name space.
16480         (tag_name): new funtion, also in the anonymous namespace.
16481         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16482         (makeDocBookFile): clean code. Completed transition from string arrays
16483         to string vectors.
16484         (SimpleDocBookOnePar): code clean.
16485
16486 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16487
16488         * tabular.C: add some comments.
16489
16490 2001-03-22  Juergen Vigna  <jug@sad.it>
16491
16492         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16493         compatibility read a bit and fixed bug with minipage in different
16494         depth.
16495
16496 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16497
16498         * buffer.C (pop_tag): removed.
16499         (push_tag): removed.
16500         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16501         array replaced with vector. Added support for CDATA sections.
16502         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16503         at any nest level.
16504         (makeDocBookFile): XML conformant declaration of CDATA section,
16505         fixed bug related to <emphasis> in the first paragraph char.
16506         (sgmlOpenTag): exclude empty tags.
16507         (sgmlCloseTag): ditto.
16508
16509         * buffer.h (pop_tag): removed.
16510         (push_tag): removed.
16511
16512 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16513
16514         * language.h (Languages): added size_type and size().
16515
16516 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16517
16518         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16519         response on compability reading of minipages. One probliem is that
16520         the old usage of minipages was «flertydig»
16521
16522         * several files here and in subdirs: don't use static at file
16523         scope use anon namespaces instead.
16524
16525 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16526
16527         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16528         LaTeX output. This is necessary for Literate document
16529         processing.
16530
16531 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16532
16533         * buffer.C: insert hfill when needed.
16534
16535         * tabular.C (l_getline): use string::erase, small whitespace change.
16536
16537         * BufferView_pimpl.C: try the anon namespace.
16538         * WorkArea.C: ditto
16539
16540 2001-03-16  Juergen Vigna  <jug@sad.it>
16541
16542         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16543         otherwise it won't open options-dialogs.
16544
16545         * buffer.C: honor pextraWidth(p) on converting minipages.
16546
16547         * tabular.C (l_getline): changed the functions to strip trailing \r.
16548
16549 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16550
16551         * BufferView_pimpl.C:
16552         * minibuffer..C: added "using SigC::slot" declaration.
16553
16554 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16555
16556         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16557
16558         * text2.C: ditto
16559
16560         * text.C: ditto
16561
16562         * paragraph.C: ditto
16563
16564         * lyxtext.h: NO_PEXTRA
16565
16566         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16567
16568         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16569         * ParameterStruct.h: ditto
16570         * ParagraphParameters.h: ditto
16571         * lyxparagraph.h: ditto
16572
16573 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16574
16575         * buffer.C: add compability for minipage alignment.
16576         (latexParagraphs): remove unwanted pextra check.
16577
16578         * several files: remove CXX_WORKING_NAMESPACES
16579
16580         * buffer.C (pop_tag): tie is in namespace boost
16581
16582         * BufferView.h: noncopyable is in namespace boost
16583         * lyxlex.h: ditto
16584         * lyx_main.h: ditto
16585         * lyx_gui.h: ditto
16586         * layout.h: ditto
16587         * lastfiles.h: ditto
16588         * bufferlist.h: ditto
16589         * ShareContainer.h: ditto
16590         * LyXView.h: ditto
16591         * LyXAction.h: ditto
16592         * LaTeX.h: ditto
16593
16594 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16595
16596         * Merging changes from BRANCH_MVC back into HEAD.
16597
16598         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16599
16600 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16601
16602         * BufferView_pimpl.C: change from intl.C
16603
16604         * combox.h:
16605         * combox.C:
16606         * Makefile.am: move combox.*
16607
16608         * form1.h:
16609         * form1.C:
16610         * lyx_gui.C:
16611         * intl.h:
16612         * intl.C: remove dialog (covered by prefs)
16613
16614 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16615
16616         * lyxfunc.C (Dispatch): removed redundant break statement.
16617
16618 2001-03-14  Juergen Vigna  <jug@sad.it>
16619
16620         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16621
16622 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16623
16624         * buffer.C: add hack to fix compability reading of minipages.
16625
16626 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16627
16628         * buffer.C (getLists): Cleanup.
16629
16630 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16631
16632         * lyxfont.C (update): don't honor toggleall on font size.
16633
16634 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16635
16636         * bmtable.c:
16637         * bmtable.h:
16638         * Makefile.am: moved to frontends/xforms/
16639
16640         * lyx_gui_misc.C:
16641         * lyxfunc.C:
16642         * BufferView_pimpl.C: changes for moved mathpanel
16643
16644 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16645
16646         * gettext.h: fix gettext_init() in --disable-nls
16647
16648 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16649
16650         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16651
16652 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16653
16654         * lyx.C:
16655         * lyx.h: strip external form
16656
16657 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16658
16659         * BufferView_pimpl.C: add comment, destroySplash()
16660
16661 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16662
16663         * BufferView_pimpl.C:
16664         * LyXAction.C:
16665         * buffer.C:
16666         * commandtags.h:
16667         * lyxfunc.C: use re-worked insetinclude
16668
16669 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16670
16671         * buffer.C: add using std::stringstream.
16672
16673         * lyx_cb.C: readd using std::ios.
16674
16675         * buffer.C: add using std::map.
16676
16677         * BufferView_pimpl.C: add using std::vector.
16678
16679         * ShareContainer.h: add std:: to swap.
16680
16681         * buffer.h: add some typedefs
16682         * buffer.C (getLists): use them
16683         (getLists): renamed from getTocList.
16684         add a counter for the different float types and use it in the
16685         generated string.
16686         (getLists): use the same counter for the NEW_INSETS and the "non"
16687         NEW_INSETS
16688
16689         * lyx_cb.h: remove unused items, includes, using etc.
16690
16691         * ShareContainer.h: remove some commented code, add more comments
16692         and "documentation".
16693
16694 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16695
16696         * buffer.C (getTocList): make the list also when NEW_INSETS is
16697         defined.
16698
16699         * buffer.h: remove TocType
16700
16701         * buffer.C (getTocList): change to return a map<string,
16702         vector<TocItem> >, implement for dynamic number of list.
16703
16704         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16705         * text2.C (PasteSelection): adjust
16706         * CutAndPaste.C (pasteSelection): adjust
16707
16708         * FloatList.C (FloatList): update from the new_insets branch.
16709         * Floating.[Ch]: ditto
16710         * LaTeXFeatures.C: ditto
16711         * buffer.C: ditto
16712         * lyxlex_pimpl.C: ditto
16713
16714         * paragraph.C (Last): remove when NEW_INSETS is defined.
16715
16716         * other file: changes because of the above.
16717
16718 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16719
16720         * lyxparagraph.h: rename next to next_, previous to previous_,
16721         make them private for NEW_INSETS. Rename Next() to next(),
16722         Previous() to previous().
16723
16724         * other files: changes because of the above.
16725
16726 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16727
16728         * BufferView.h:
16729         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16730         problem.
16731
16732 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16733
16734         * main.C (main): pass lyx_localedir to gettext_init().
16735
16736         * gettext.h: remove locale_init and gettext_init macros
16737
16738         * gettext.C (locale_init): new function
16739         (gettext_init): new function
16740
16741         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16742         setlocale().
16743
16744 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16745
16746         * Moved credits to frontends:
16747         * credits.[Ch]: removed
16748         * credits_form.[Ch]: removed
16749         * lyx_gui_misc.C: remove credits stuff
16750         * Makefile.am:
16751
16752 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16753
16754         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16755
16756         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16757         unneeded destructor.
16758
16759         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16760         a standalone pointer again.
16761
16762         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16763
16764 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16765
16766         * Makefile.am:
16767         * filedlg.h:
16768         * filedlg.C:
16769         * LyXAction.C:
16770         * ToolbarDefaults.C:
16771         * bufferlist.C:
16772         * commandtags.h:
16773         * form1.C:
16774         * form1.h:
16775         * lyx_cb.C:
16776         * lyx_cb.h:
16777         * lyxfunc.h:
16778         * lyxfunc.C:
16779         * BufferView_pimpl.C: use new file dialog in GUII
16780
16781         * lyx_cb.h:
16782         * lyx_cb.C: remove LayoutsCB to Toolbar
16783
16784 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16785
16786         * ShareContainer.h (get): add std:: qualifier
16787
16788 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16789
16790         * ShareContainer.h: define a proper ShareContainer::value_type
16791         type (and use typename to please compaq cxx)
16792
16793 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16794
16795         * lyxparagraph.h: move serveral local vars to
16796         ParameterStruct/ParagraphParameters., use ShareContainer in
16797         FontTable., make vars in FontTable private and add getter and
16798         setter.
16799
16800         * paragraph.C: changes because of the above.
16801
16802         * lyxfont.h: remove copy constructor and copy assignment. (the
16803         default ones is ok), move number inside FontBits. move inlines to
16804         lyxfont.C
16805
16806         * lyxfont.C: add number to initializaton of statics, move several
16807         inlines here. constify several local vars. some whitespace
16808         cleanup. Dont hide outerscope variables.
16809
16810         * Spacing.h: add two new constructors to match the set methods.
16811
16812         * ShareContainer.h: new file, will perhaps be moved to support
16813
16814         * ParameterStruct.h: new file
16815
16816         * ParagraphParameters.h: new file
16817
16818         * ParagraphParameters.C: new file
16819
16820         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16821         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16822
16823         * BufferView_pimpl.C: ParagraphParameter changes.
16824         * buffer.C: Likewise.
16825         * bufferview_funcs.C: Likewise.
16826         * text.C: Likewise.
16827         * text2.C: Likewise.
16828
16829 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * lyxfind.C (LyXReplace): do not redefine default argument in
16832         implementation.
16833         (IsStringInText): ditto
16834         (SearchForward): ditto
16835         (SearchBackward): ditto
16836
16837 2001-03-06  Juergen Vigna  <jug@sad.it>
16838
16839         * lyxfind.C (IsStringInText): put parentes around expressions.
16840
16841 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16842
16843         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16844
16845 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16846
16847         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16848
16849         * stl_string_fwd.h: add comment
16850
16851         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16852
16853         * tabular.h:
16854         * tabular.C: remove unused DocBook methods
16855
16856         * intl.C:
16857         * language.C:
16858         * paragraph.C:
16859         * buffer.C:
16860         killed DO_USE_DEFAULT_LANGUAGE
16861
16862 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16863
16864         * lyx_gui.C: do not include language.h.
16865
16866         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16867         arguments in function implementation.
16868
16869 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16870
16871         * BufferView_pimpl.C: add <ctime>
16872
16873 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16874
16875         * BufferView_pimpl.C: add using std::find_if
16876
16877 2001-02-27  José Matos  <jamatos@fep.up.pt>
16878
16879         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16880         by OnlyPath.
16881
16882 2001-02-11  José Matos  <jamatos@fep.up.pt>
16883
16884         * buffer.C (makeDocBookFile): command styles now have a parameter as
16885         "title" by default.
16886
16887 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16888
16889         * layout_forms.[Ch]: removed
16890         * lyx_cb.[Ch]: out character
16891         * lyx_gui.C: out character
16892         * lyx_gui_misc.C: out character
16893         * bufferview_funcs.C: : out character,
16894         added toggleall as parameter in ToggleAndShow
16895
16896 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16897
16898         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16899
16900         * text2.C (SetCurrentFont): Disable number property at boundary.
16901
16902 2001-02-26  Juergen Vigna  <jug@sad.it>
16903
16904         * lyxfunc.C (getStatus): added a string argument override function so
16905         that this is correctly called from LyXFunc::Dispatch if it contains a
16906         do_not_use_argument which is used!
16907         (Dispatch): added check for "custom" export and call appropriate func.
16908
16909 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16910
16911         * lyxrc.C: Add language_command_local, language_use_babel and
16912         language_global_options.
16913
16914         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16915
16916         * buffer.C (makeLaTeXFile): Use language_use_babel and
16917         language_global_options.
16918
16919 2001-02-23  Juergen Vigna  <jug@sad.it>
16920
16921         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16922         which works with LyXText and putted it inside BufferView. Here now we
16923         only call for that part the BufferView::Dispatch() function.
16924
16925         * BufferView.C (Dispatch): added.
16926
16927         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16928         functions which needs to use a LyXText over from LyXFunc.
16929         (MenuInsertLyXFile): added
16930         (getInsetByCode): added
16931         (moveCursorUpdate): added
16932         (static TEXT): added
16933
16934 2001-02-22  Juergen Vigna  <jug@sad.it>
16935
16936         * BufferView_pimpl.C (update): call a status update to see if LyXText
16937         needs it.
16938
16939 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16940
16941         * vc-backend.C (revert): implement for CVS
16942         (getLog): implement for CVS
16943
16944 2001-02-20  Juergen Vigna  <jug@sad.it>
16945
16946         * text2.C (ClearSelection): added BufferView param for inset_owner call
16947
16948         * lyxfunc.C (TEXT): added this function and use it instead of
16949         directly owner->view()-text of getLyXText().
16950
16951 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16952
16953         * src/layout_forms.C: out preamble
16954         * src/layout_forms.h: out preamble
16955         * src/lyx_cb.C: out preamble
16956         * src/lyx_cb.h: out preamble
16957         * src/lyx_gui.C: out preamble
16958         * src/lyx_gui_misc.C: out preamble
16959         * src/lyxfunc.C: connect with guii preamble
16960
16961 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16962
16963         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16964
16965 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16966
16967         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16968         whether to run bibtex.
16969
16970 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16971
16972         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16973
16974 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16975
16976         * Makefile.am (lyx_SOURCES): removed bibforms.h
16977
16978         * vspace.h: doxygen
16979
16980         * text.C (GetVisibleRow): make several local vars const
16981
16982         * tabular.C: small cleanup.
16983
16984         * lyxserver.C (callback): use compare instead of strncmp
16985
16986         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16987         inlines to after class or to paragraph.C
16988
16989         * lyxfont.h: remove friend operator!=
16990
16991         * converter.h: move friend bool operator< to non friend and after
16992         class def.
16993
16994         * combox.h: small cleanup
16995
16996         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16997         to inlines after class def.
16998
16999         * buffer.C (pop_tag): use string operations instead of strcmp
17000
17001         * bmtable.c: doxygen, small cleanup
17002
17003         * LaTeX.h: remove friend operator==
17004
17005 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17006
17007         * screen.C:
17008         * lyxrc.[Ch]:
17009         * lyxfunc.C:
17010         * lyxfont.[Ch]:
17011         * lyx_cb.C:
17012         * intl.[Ch]:
17013         * commandtags.h:
17014         * buffer.C:
17015         * WorkArea.[Ch]:
17016         * LyXAction.C:
17017         * BufferView_pimpl.C:
17018         * BufferView.[Ch]: remove cruft
17019
17020 2001-02-14  Juergen Vigna  <jug@sad.it>
17021
17022         * lyxfunc.C: removed #if 0 unused code
17023
17024         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17025
17026         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17027
17028         * text2.C (SetSelection): added a BufferView * parameter
17029
17030 2001-02-13  Juergen Vigna  <jug@sad.it>
17031
17032         * lyxfunc.C (Dispatch): fixed protected blank problem.
17033         * BufferView2.C (protectedBlank): added LyxText * parameter.
17034
17035         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17036         (AppendColumn): same as above for column_info.
17037
17038         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17039         (moveCursorUpdate): use a LyXText param for support of InsetText.
17040
17041         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17042         (tripleClick): ditto
17043
17044         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17045
17046         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17047
17048         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17049
17050         * text2.C (SetSelection): set correct update status if inset_owner
17051         (ToggleFree): ditto
17052
17053 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17054
17055         * tabular.C: remove some commented code.
17056
17057 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17058
17059         * BufferView_pimpl.C: call hideSplash()
17060
17061         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17062
17063         * include_form.h:
17064         * bibforms.h: remove
17065
17066         * lyxfunc.C:
17067         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17068           add LFUN_CHILD_CREATE
17069
17070         * counters.h: fix tiny typo
17071
17072         * lyx_cb.C:
17073         * lyx.h:
17074         * lyx_gui.C:
17075         * lyx.C: move splash to frontends/xforms/
17076
17077         * lyx_gui_misc.C: move Include and Bibform to frontends
17078
17079         * lyxvc.h: clarify comment
17080
17081         * vspace.C: tiny housekeeping
17082
17083 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17084
17085         * text.C (PrepareToPrint): RTL Fix.
17086
17087         * paragraph.C (GetUChar): New method.
17088         (String):  Use GetUChar.
17089
17090         * buffer.C (asciiParagraph): Use GetUChar.
17091
17092 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17093
17094         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17095
17096 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17097
17098         * buffer.h:
17099         * buffer.C: rename to getLogName(), handle
17100           build log / latex log nicely
17101
17102 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17103
17104         * MenuBackend.C:
17105         * MenuBackend.h: remove support for reference menuitem type.
17106
17107 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17108
17109         * BufferView_pimpl.C: housekeeping
17110         * BufferView_pimpl.h:
17111         * LyXView.h:
17112         * Makefile.am:
17113         * Timeout.C:
17114         * Timeout.h:
17115         * minibuffer.h: move Timeout GUI-I
17116
17117 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17118
17119         * lyxrc.C (read): Update converters data-structures.
17120
17121 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17122
17123         * LaTeX.h (operator!=): add operator != for Aux_Info
17124
17125 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17126
17127         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17128
17129         * LaTeXLog.C: deleted, useful code moved to Buffer
17130
17131         * buffer.h:
17132         * buffer.C: new function getLatexLogName()
17133
17134         * lyx_gui_misc.C:
17135         * lyx_gui.C:
17136         * lyxvc.C:
17137         * lyxvc.h:
17138         * lyxfunc.C: use frontends for LaTeX and VC logs
17139
17140 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17141
17142         * LaTeX.h: yet another std:: that Allan forgot.
17143
17144         * Variables.C (set): renamed from isset(), because this clashes
17145         with some HP-UX macros (grr).
17146
17147 2001-02-06  Allan Rae  <rae@lyx.org>
17148
17149         * LaTeX.h: Another bug fix.  Missing std:: this time.
17150
17151 2001-02-04  Allan Rae  <rae@lyx.org>
17152
17153         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17154         floats problem. I've left it commented out because it's not quite
17155         correct.  It should also test that the current object is a table or
17156         figure inset.  But I haven't gotten around to figuring out how to do
17157         that.  I *think* it'll be something like: "table" == inset.type()
17158
17159         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17160         bool.
17161
17162 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17163
17164         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17165         all the citation/databases/styles in the auxilary file.
17166         (run): Rerun latex if there was a babel language error.
17167
17168 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17169
17170         * text.C (Backspace): Preserve the font when changing newline char
17171         with a space.
17172         (BreakParagraph): If the cursor is before a space, delete the space.
17173
17174         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17175
17176 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17177
17178         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17179         new argument (code).
17180         (ChangeCitationsIfUnique): New method.
17181
17182         * paragraph.C (GetPositionOfInset): Handle bibkey.
17183
17184 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17185
17186         * BufferView_pimpl.h: change type of Position::par_pos to
17187         LyXParagraph::size_type.
17188
17189 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17190
17191         * BufferView_pimpl.C (savePosition, restorePosition): Write
17192         messages to minibuffer.
17193
17194 2001-01-28  José Matos  <jamatos@fep.up.pt>
17195
17196         * buffer.C (makeDocBookFile): adds support for document language.
17197         A silly restriction on the name of LatexCommand types where removed.
17198         Added support for CDATA sections, allows to chars unescaped, used
17199         among others in code, to avoid escape < and >.
17200
17201 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17202
17203         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17204         saved positions instrad of a stack. Furthermore, a position is
17205         stored using paragraph id/paragraph position.
17206
17207         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17208         Remove LFUN_REF_BACK.
17209
17210 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17211
17212         * converter.C (dvipdfm_options): New method.
17213
17214 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17215
17216         * vspace.C (isValidLength): Fix for empty input string.
17217
17218 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17219
17220         * LyXAction.C (init): change description of LFUN_FIGURE to
17221         "Insert Graphics"
17222
17223 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17224
17225         * LaTeX.C: add using directive
17226
17227 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17228
17229         * MenuBackend.C (expand): Fix the sorting of the formats.
17230
17231 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17232
17233         * lyx_main.C: tiny error message fix
17234
17235 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17236
17237         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17238         calling fl_initialize(). This fixes the problem with ',' as
17239         decimal separator in text files.
17240
17241 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17242
17243         * trans.C (process): Fix the keymap bug.
17244
17245 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17246
17247         * LaTeX.C (scanAuxFiles): New method. Provides support for
17248         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17249         (scanLogFile) Scan for "run BibTeX" messages.
17250
17251         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17252         OT1 font encoding. Also, load the aecompl package if the ae
17253         package is loaded.
17254
17255         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17256
17257 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17258
17259         * texrow.C (increasePos): turn two error messages into debug
17260         messages.
17261
17262 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17263
17264         * LaTeX.C (scanAux): Handle the \@input macro.
17265         (runBibTeX): Use scanAux().
17266
17267         * language.C (latex_options_): New field.
17268
17269         * LaTeXFeatures.C (getMacros): Add language macros.
17270
17271         * buffer.C (makeLaTeXFile): Small fix.
17272
17273 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17274
17275         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17276
17277         * text2.C: add a using directive.
17278
17279 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17280
17281         * BufferView2.C:
17282         * lyx_gui_misc.h:
17283         * lyxfr1.C:
17284         * lyxfunc.C: kill LyXBell.
17285
17286 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17287
17288         * text.C (IsBoundary): Remove the error message
17289
17290         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17291
17292         * lyxrc.C (setDefaults): Correct initialization value for
17293         font_norm_type.
17294
17295 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17296
17297         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17298         gotoError().
17299
17300         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17301         and GotoNextNote().
17302
17303         * src/LyXAction.C: Added reference-next.
17304
17305         * text.C (InsertChar): Use contains instead of strchr.
17306
17307         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17308
17309 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17310
17311         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17312         alignment commands (when needed).
17313
17314         * text.C (InsertChar): Add ':' to number separator chars.