]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Add fig_copy.sh and lyxpreview_tools.py to the dist.
[lyx.git] / src / ChangeLog
1 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
4         preventing inserted font, deco, delim insets jumping to start of
5         surrounding inset.
6
7 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * lyxfunc.C (dispatch): translate message before sending it to the
10         minibuffer. 
11
12 2005-03-29  Angus Leeming  <leeming@lyx.org>
13
14         * lyx_main.C (priv_exec): call os::internal_path on each file passed
15         to LyX on the command line.
16
17 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
18
19         * vc-backend.C: use QuoteName to protect file names wherever
20         necessary. 
21
22 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * buffer.[Ch]:
25         * BranchList.h: fix bugs 1844,1845: document settings don't
26         stick
27
28 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * lyxrc.C (setDefaults, read, output, getDescription): add support
31         for tex_allows_spaces.
32
33         * exporter.C (Export): allows files in directory containing spaces
34         if tex_allows_spaces is true.
35
36         * buffer.C (makeLaTeXFile): if the document path contains spaces,
37         output it in double quotes.
38
39 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
40
41         * rowpainter.C: use default text height for drawing change tracker
42         strikeout lines.
43
44 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
45
46         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
47
48 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
51         directory is missing.
52
53 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * text2.C: fixed the fix, extended to other case.
56
57 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * text2.C: fix for cursor up/down stuck in math [bug 1792]
60
61 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * text2.C (cursorUp): get rid of a crash
64         * text.C (x2pos): add an assert
65
66 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * lyxfunc.C (getStatus): fix warning when assertions are disabled
69
70         * text3.C: 
71         * lyxfunc.C: 
72         * dociterator.C: include <boost/current_function.hpp>, which is
73         needed when assertions are disabled.
74
75 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
76
77         * text2.C: fix for stuck cursor when traversing two 
78         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
79
80 2005-02-25  Andreas Vox  <avox@arcor.de>
81
82         * output_docbook.C (makeParagraph): suppress trailing newline
83         after a run of paragraphs
84
85 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
86
87         * paragraph.C: fix for confused change tracker when pasting
88         text that begins with a lineseparator. [bug 1827]
89         (setChange(0, Change::INSERTED);)
90
91         * paragraph_funcs.C: fix for lost changes on triple-paste
92         in change tracking mode [bug 1827] (par.setChange()).
93
94 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * text2.C (updateCounters, setCounter, expandLabel): move to
97         buffer_funcs.
98
99         * buffer_funcs.C (updateCounters): turn into a free standing
100         function and add a buffer parameter. Remove dead code for tracking
101         labelstring change.
102         (setCounter): change into a free-standing function which gets a
103         dociterator as argument. Use this iterator to fix captions in a
104         simple way. When no float is found above the caption, use the
105         labelstring of the caption layout as default.
106
107         * text.C (breakParagraph, backspace): 
108         * text2.C (init, setLayout, changeDepth):
109         * text3.C (dispatch): 
110         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
111         updateCounters.
112
113         * dociterator.C (forwardPar): make it much faster by calling
114         forwardPos() only when really necessary.
115
116         * output_docbook.C (makeCommand): adapt to expandLabel move.
117
118         * cursor.C: remove unused variable
119
120 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
121
122         * paragraph_funcs.C: fix crash when pasting insets in change 
123         tracking mode [bug 1277] (honour change type in moveItem).
124
125 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
126
127         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
128
129 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * BufferView.C (setCursor): change to use a DocIterator.
132         (gotoLabel): use BufferView::setCursor (other part of bug 781).
133         (putSelectionAt): adapt to BufferView::setCursor change.
134
135         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
136         moved here from LyXText and rewritten to use proper cursor
137         methods. Fixes bug 1787, 616 and 835.
138
139         * BufferView_pimpl.C (restorePosition): set the cursor correctly
140         when inside an inset (part of bug 781).
141         (dispatch): adapt to change of BufferView::setCursor.
142         (getStatus, dispatch): handle LFUN_GOTOERROR,
143         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
144
145         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
146         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
147         * text3.C (gotoNextInset, gotoInset): removed.
148
149 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
152
153 2005-02-15  Angus Leeming  <leeming@lyx.org>
154
155         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
156         can be used meaningfully in a comparison.
157
158 2005-02-13  André Pönitz  <poenitz@gmx.net>
159
160         * bufferview_funcs.C (coordOffset): improve cursor drawing
161
162 2005-02-13  André Pönitz  <poenitz@gmx.net>
163
164         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
165         * Cursor.C (dispatch): use fixIfBroken
166         * lyxfunc.C (getStatus): use fixIfBroken
167
168 2005-02-15  Angus Leeming  <leeming@lyx.org>
169
170         * lyx_main.C (error_handler):
171         * lyxfunc.C:
172         * lyxrc.C (setDefaults):
173         s/GetEnv/getEnv/.
174         #include "environment.h".
175
176         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
177
178 2005-02-15  Angus Leeming  <leeming@lyx.org>
179
180         * lyxserver.C (startPipe): squash MSVC warning "local variable
181         'fd' used without having been initialized".
182
183 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * BufferView_pimpl.C: revert accidental commit.
186
187 2005-02-14  André Pönitz  <poenitz@gmx.net>
188
189         * dociterator.[Ch]: new member forwardPosNoDescent(),
190         which doesn't enter nested insets.
191         * text2.C (setFont): use forwardPosNoDescent() instead
192         of ForwardPos() (fixes crash on font change).
193
194 2005-02-13  Angus Leeming  <leeming@lyx.org>
195
196         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
197         only if lyxrc.path_prefix is not empty.
198
199 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
200
201         * bufferparams.C (readGraphicsDriver): prevent crash
202
203 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
204
205         * text2.C (setCounter): check for inInset() == 0
206
207 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
210         but use update() to get correct screen display; use convert
211         instead of istringstream. 
212         (getStatus): handle LFUN_GOTO_PARAGRAPH 
213
214         * lyxfunc.C (dispatch, getStatus): do not handle
215         LFUN_GOTO_PARAGRAPH here.
216
217 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
218
219         * text3.C (dispatch): size() -> depth()
220
221         * text2.C: remove some debug output
222
223         * paragraph.C: ws changes only
224
225         * lyxfunc.C (getStatus): size() -> depth()
226
227         * dociterator.h (clear, push_back, pop_back, internalData,
228         operator[], resize, empty): new functions
229         Make StableDocIterator and operator== be friends. Don't inherit
230         from std::vector use a privat class variable slices_ instead.
231         Modify to fit.
232
233         * dociterator.C: update because of not inheriting from std::vector
234         anymore. Call explictly to slices_ instead. Use depth() instead of
235         size() and top() instead of back()
236
237         * cursor.C: chagne size() -> depth and back() -> top(). Also
238         remove some direct operator[](i) calls in favour of foo[i]
239         (getFont): remove some dead code
240
241         * bufferview_funcs.C (coordOffset): size() -> depth()
242
243         * buffer.C: ws changes only
244
245         * CutAndPaste.C (eraseSelection): back() -> top()
246
247         * BufferView_pimpl.C (selectionRequested): back() -> top()
248
249         * BufferView.C (setCursor): size() -> depth()
250
251 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
252
253         * text3.C (cursorPrevious): return true if depm changed something
254         (cursorNext): ditto
255         (dispatch): rename sl to oldTopSlice, remove moving use the new
256         NoUpdate func attrib instead. Make sure that needsUpdate is set
257         for function that have NoUpdate, but where depm might have changed
258         the buffer anyway.
259
260         * text2.C (cursorLeft): make us return true if depm changed
261         something
262         (cursorRight): ditto
263         (cursorUpParagraph): ditto
264         (curosrDownParagraph): ditto
265         (cursorUp, cursorDown): ditto, make sure to read comments in code
266         (deleteEmptyParagraphMechanism): remove an assert, also return
267         true if just a single char was deleted.
268
269         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
270         cursor that we modify, to avoid modifying an active cursor before
271         we call setCursor. This allows depm to run. Also return true if
272         depm deleted something.
273
274         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
275         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
276         cursorDownParagraph, cursorPrevious and cursorNext, return true if
277         something was changed in the buffer because of them (ie. depm run)
278
279         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
280         debug messages. Make update by default be false. Make sure that
281         the result of update is retained throught several calls down to
282         dispatch.
283
284         * LyXAction.h: add a new func_attrib: NoUpdate
285
286         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
287         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
288         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
289         and LFUN_WORDLEFT
290         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
291
292 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
295         bv_->owner(), bv_->buffer() by direct references to the private
296         members.
297         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
298         (getStatus): isSavedPosition() is in BufferView::Pimpl.
299         (fitCursor): center() is in BufferView::Pimpl.
300         (getStatus, trackChanges, dispatch): no need for a temporary buf
301         variable
302         (fitCursor, workAreaDispatch): use workarea().workheight()
303
304 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * CutAndPaste.C (pasteSelectionHelper): fix a crash
307
308 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
309
310         * buffer.C: format up to 241.
311         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
312         break if pasting into ERT
313         * lyxfunc.C (getStatus): suppress mathpanel and
314         LFUN_DIALOG_SHOW_NEW_INSET in ERT
315
316 2005-02-01  Angus Leeming  <leeming@lyx.org>
317
318         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
319
320 2005-02-01  Angus Leeming  <leeming@lyx.org>
321
322         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
323         calling fs::is_directory().
324
325 2005-01-31  Angus Leeming  <leeming@lyx.org>
326
327         * lyx_main.C (priv_exec): specify explicitly the relative location
328         of the top level build directory when run in-place.
329
330 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
333         LyXText containing the cursor, not the top-level one.
334
335         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
336         true.
337         (insertStringAsLines): rename par to pit; use temporary variable
338         par to hold a Paragraph; do not store par.layout() in a variable,
339         since the pointer may die when breaking paragraphs; pass pars to
340         breakParagraph() instead of Buffer::paragraphs().
341
342 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
343
344         * lyxlex_pimpl.h: #include <fstream>.
345
346         * BufferView.[Ch] (getLyXText): add a const version.
347
348         * BufferView_pimpl.C: add debug aids.
349
350         * RowList_fwd.h:
351         * buffer.h:
352         * lyxrow.h:
353         * paragraph_funcs.h: add commentary explaining what the class does.
354
355
356         * coordcache.[Ch]: add lots of commentary.
357         (startUpdating, doneUpdating): debug aids.
358         (arrays, insets, parPos, getParPos): accessors to private data.
359
360         * cursor_slice.[Ch] (text): add a const version.
361         * dociterator.[Ch] (text, innerText): add const versions.
362
363         * lyxtext.h (breakParagraph): change the keep_layout arg to a
364         bool.
365
366         * paragraph.C (getRow, pos2ros): add asserts.
367
368         * paragraph.h: add commentary. Lots of.
369
370         * paragraph.[Ch] (metrucs, draw): removed.
371
372         * cursor.C:
373         * rowpainter.[Ch]: const-correct changes.
374
375         * text.C: various obvious clean-ups. Removal of ancient cruft.
376         Bug fixes, even.
377
378 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
379
380         * vc-backend.C (find_file): rewrite to use boost.filesystem
381         (scanMaster): ditto
382
383         * main.C (main): set default name check for boost.filesystem to
384         no check
385
386         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
387         (open): ditto
388         (doImport): ditto
389         (actOnUpdatedPrefs): ditto
390
391         * lyx_main.C (init): rewrite to use boost.filesystem
392         (queryUserLyXDir): ditto
393
394         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
395         (getContentsOfAsciiFile): ditto
396
397         * lastfiles.C (readFile): rewrite to use boost.filesystem
398
399         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
400
401         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
402         (loadLyXFile): ditto
403
404         * buffer.C (Buffer): adjust for destroydir
405         (getLogName): rewrite to use boost.filesystem
406         (setFileName): ditto
407         (save): use fs::copy_file (from fs_extras)
408
409         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
410
411         * LaTeX.C (run): rewrite to use boost.filesystem
412         (scanAuxFiles): ditto
413         (handleFoundFile): ditto
414
415 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
416
417         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
418
419         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
420
421 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
422
423         * lyxlayout.[Ch]: change some vars from float to double
424
425         * buffer.C (readFile): make a local var const
426
427         * Several files: use convert<> instead of atoi,strToXXX and friends
428
429 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
430
431         * LaTeXFeatures.[Ch]: Add a static list packages_ that
432         holds the contents of packages.lst. New functions getAvailable
433         and isAvailable to parse and check that list, resp.
434
435         * LyXAction.C:
436         * lfuns.h:
437         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
438
439         * bufferparams.[Ch]: new param output_changes.
440
441         * Buffer.C: increase file format to 240.
442         Use output_changes and isVailable.
443
444         * changes.[Ch]:
445         * paragraph.C:
446         * paragraph_pimpl.C: Use output_changes and isVailable.
447
448 2005-01-23  Angus Leeming  <leeming@lyx.org>
449
450         * output_latex.C: #include "insetbibitem.h", rather than
451         forward declare function bibitemWidest.
452
453 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
454
455         * lyx_main.C (init): make it compile on the Mac.
456
457 2005-01-20  Angus Leeming  <leeming@lyx.org>
458
459         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
460         (setLyXMisc): (char string literal) != (char string literal) is
461         performing a comparison on the addresses. Convert one operand
462         explicitly to string to guarantee expected behaviour.
463         From MSVC warning.
464
465 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
466
467         * buffer.C:
468         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
469
470         * output_plaintext.C: remove unneeded #include gzstream.h.
471
472 2005-01-20  Angus Leeming  <leeming@lyx.org>
473
474         * SpellBase.h: rename some of the elements of the Result enum.
475
476         * aspell_local.h:
477         * ispell.h:
478         * pspell.h:
479         * aspell.C (check):
480         * ispell.C (check):
481         * pspell.C (check): ditto
482
483 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
484
485         * buffer.C: add #include <fstream>.
486
487         * lyx_main.C (init): Compile fix.
488
489         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
490
491 2005-01-20  Angus Leeming  <leeming@lyx.org>
492
493         * mover.h: change commentary to reflect the changed meaning of
494         the $$s placeholder.
495
496 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * output_linuxdoc.C (linuxdocParagraphs): silence warning
499
500         * lyxfind.C (MatchString::operator()): remove bogus semicolon
501
502 2005-01-20  Angus Leeming  <leeming@lyx.org>
503
504         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
505         printing diagnostic data by not dereferecing an iterator past the
506         end.
507
508 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
509
510         * buffer.C (readHeader): use "&&" rather than "and".
511
512         * lyxserver.h (inPipeName, outPipeName): make these const.
513
514 2005-01-19  Angus Leeming  <leeming@lyx.org>
515
516         * lyx_main.C (error_handler, init): protect SIGHUP with
517         #ifdef SIGHUP guards.
518
519 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
522
523 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * text.C (setHeightOfRow): add a margin at the top and bottom of
526         the document (bug 1761)
527
528 2005-01-17  Angus Leeming  <leeming@lyx.org>
529
530         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
531         with "python ". Workaround for a brain-dead Windows.
532
533 2005-01-16  Angus Leeming  <leeming@lyx.org>
534
535         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
536         for MacOSX and Windows to use prependEnvPath.
537         Strip out the hard-coded block to add elements to the PATH for
538         MacOSX and replace it with a call to prependEnvPath using the
539         contents of LyXRC::path_prefix.
540         (queryUserLyXDir): strip out the code to run reconfigure, instead
541         returning a boolean indicating the necessity to do so.
542         (reconfigureUserLyXDir): contains the code to reconfigure the
543         user support directory. Is now called after the various LyXRC data
544         files have been read.
545
546         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
547
548 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
549
550         * converter.[Ch] (convert): take a new parameter try_default. Use
551         a default converter (imagemagick) if try_default is true.
552
553 2005-01-13  Angus Leeming  <leeming@lyx.org>
554
555         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
556         os::cygwin_path_fix.
557         (write): output LyXRC::cygwin_path_fix as necessary.
558
559 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
560
561         * lyxrc.h:
562         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
563
564 2005-01-12  Angus Leeming  <leeming@lyx.org>
565
566         * lyx_main.C (init): set the PATH variable to include the
567         directory containing the LyX binary when running on Mac or Windows.
568
569 2005-01-12  Angus Leeming  <leeming@lyx.org>
570
571         * lyx_main.C (init): remove cruft that purports to set the locale
572         dir. It doesn't and is not needed anyway.
573
574 2005-01-10  Angus Leeming  <leeming@lyx.org>
575
576         * Makefile.am: remove the lyx_main.C special casing.
577
578         * BufferView_pimpl.C:
579         * bufferlist.C:
580         * exporter.C:
581         * lyx_cb.C:
582         * lyx_main.C:
583         * lyxfunc.C:
584         * messages.C: use support/package.h to provide the paths to the
585         various directories used by LyX.
586
587 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
588
589         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
590         layout if pasting into an empty paragraph)
591
592 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
593
594         * tex-accent.C: add <string>
595
596 2005-01-06  José Matos  <jamatos@lyx.org>
597
598         * ParagraphParameters.C (write): put every parameter in its own line.
599         * paragraph.C (write): reduce number of consecutive empty lines exported.
600         * buffer.C (LYX_FORMAT): increase file format to 239.
601
602 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
603
604         * everywhere: change support/tostr.h -> support/convert.h
605
606         * tabular.C: make all write_attributes templates, tostr -> convert
607
608         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
609         (emptyTag): and -> &&, and fix type for ret from getChar
610         (getFirstWord): fix type for ret from getChar
611         (onlyText): and -> &&
612         (simpleDocBookOnePar): and not -> && !, fix type for ret from
613         getChar
614
615         * toc.C (goTo, action):
616         * text3.C (dispatch):
617         * text.C (currentState):
618         * tex-accent.C (DoAccent):
619         * sgml.C:
620         * lyxrc.C:
621         * lyxfunc.C (menuNew):
622         * lyxfinc.C (replace):
623         * counters.C (laberItem):
624         * bufferview_funcs.C (font2string):
625         * bufferparams.C (writeFile):
626         * buffer.C (readFile):
627         * Spacing.C (set):
628         * MenuBackend.C: tostr -> convert
629
630         * LaTeX.C (runMessage): fix format
631         (scanAuxFiles): tostr -> convert
632
633         * BufferView_pimpl.C (savePosition): fix format
634         (restorePosition): ditto
635         (dispatch): ditto
636
637 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
638
639         * Spacing.[Ch]: New method getValueAsString().
640
641         * Spacing.[Ch]:
642         * bufferparams.C:
643         * ParagraphParameters.C:
644         * lyxlayout.C:
645         * text.C:
646         * text3.C: store/read spacing value as string.
647
648         * rowpainter.C: change float value (spacing_val) to double.
649
650         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
651         broken custom document spacing).
652
653 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
654
655         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
656         namespace, also more use of temp references and const
657
658         * cursor.[Ch] (getStatus): move to lyxfunc.C
659
660         * bufferparams.C: reformat slightly
661
662         * bufferview_funcs.C (font2string): constify arg
663
664         * changes.C:
665         * converter.C:
666         * counters.C:
667         * bufferlist.C:
668         * buffer_funcs.C: (many funcs): constify arg on function
669         definitions, also make more local vars const, also add ASSERTS on
670         pointer args.
671
672         * buffer.C (LYX_FORMAT): put const in correct place
673         (many funcs): constify arg on function definitions, also make
674         more local vars const
675
676         * aspell_local.h: remove "struct" from typdef setup
677
678         * aspell.C (check): make word_ok const
679         (nextMiss): simplify slightly
680         (error): ditto
681
682 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
683
684         * lyxrc.[Ch]: store all float values as strings.
685         use int (not float) for lyxrc.dpi.
686
687 2005-01-04  Angus Leeming  <leeming@lyx.org>
688
689         * lyx_cb.C (Reconfigure):
690         * lyx_main.C (queryUserLyXDir):
691         to run the <system_lyxdir>/configure correctly on Windows, prefix
692         the path to the script with "sh " when generating the string that
693         is passed to system().
694
695 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
696
697         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
698
699 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * lyxlength.C (asLatexString): get rid of setprecision
702
703 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * text2.C (setLayout): remove unused variable endpit.
706         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
707
708         * paragraph.C (onlyText): remove unused variable style.
709
710         * cursor.C (bruteFind): remove unused variables beg and end.
711
712         * Makefile.am (dist_noinset_DATA): not needed anymore
713
714         * cheaders/*: remove.
715
716 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
717
718         * text3.C: fix LFUN_MATH_MODE.
719
720 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
721
722         * buffer_funcs.C (countWords): new function. Counts words between
723         two iterators.
724
725         * BufferView_pimpl.C (getStatus, dispatch): handle
726         LFUN_WORDS_COUNT.
727
728         * LyXAction.C (init):
729         * lfuns.h: add LFUN_WORDS_COUNT.
730
731 2004-12-19  Angus Leeming  <leeming@lyx.org>
732
733         * buffer.C (save): s/slashify_path/internal_path/.
734
735 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
736
737         * lyxfind.C (findChange): do not search for end of pars, because
738         the change tracker cannot handle this (fixes bug 1719).
739
740 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
741
742         * paragraph.[Ch] (autoBreakRows): remove
743
744         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
745
746         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
747         avoid using the paragraph one
748
749         * text2.C (LyXText, insertStringAsLines): adjust
750
751 2004-12-16  Angus Leeming  <leeming@lyx.org>
752
753         * bufferlist.C:
754         * lyx_main.C:
755         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
756
757 2004-12-14  Angus Leeming  <leeming@lyx.org>
758
759         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
760
761         * bufferlist.C (emergencyWrite):
762         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
763         GetEnvPath("HOME").
764
765 2004-12-14  Angus Leeming  <leeming@lyx.org>
766
767         * main.C: (main): no longer pass pointers to os::init.
768
769 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
770
771         * undo.C (textUndoOrRedo): simplify logic, fix a crash
772         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
773
774 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
775
776         * lyxfunc.C:
777         * text3.C: remove selection_possible global flag
778
779 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
780
781         * text2.C (getSelectionSpan): remove
782         (changeDepth, changeDepthAllowed): adjust
783
784 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
785
786         * Makefile.am (BOOST_LIBS): use boost variables
787
788 2004-12-03  José Matos  <jamatos@lyx.org>
789
790         * buffer.C: format up to 238.
791
792 2004-12-03  José Matos  <jamatos@lyx.org>
793
794         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
795
796 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
797
798         * cursor.C (goUpDown): remove call to idxUpDown2
799
800 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
801
802         * tabular.[Ch]: use size_t-like types for cell, row and column
803         indices
804
805 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
806
807         * lyxfunc.C (getStatus): do not lose previous information when
808         calling BufferView::getStatus; do not set a default "Command
809         disabled" message at the beginning, but just before returning.
810
811 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
812
813         * cursor.h (getStatus): add better comment from src/cursor.C
814
815 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
816
817         * text3.C (getStatus): return false when the lfun is not handled
818
819 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
820
821         * broken_headers.h: remove
822
823         * Makefile.am (lyx_SOURCES): remove broken_headers.h
824
825 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
826
827         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
828         offset_ref accessors
829
830         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
831         top_y_, merge fitcursor with update
832         (updateScrollbar, scrollDocView, fitCursor, center, update): new
833         coord scheme
834         (metrics): introduce
835         (workAreaDispatch): adapt to new coord scheme
836         (redoCurrentBuffer): remove
837
838         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
839
840         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
841         CurStatus enum.
842
843         * coordcache.[Ch]: add paragraph cache and helpers
844
845         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
846         adjust everywhere
847
848         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
849         (targetX, setTargetX): introduce
850
851         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
852         baseline -> ascent, as the rest of lyx
853
854         * lyxtext.h: remove redoParagraphs, updateParPositions,
855         fullRebreak, redoParagraphInternal. move dist to anon namespace in
856         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
857         have ascent/descent (ascent is ascent of first par)
858
859         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
860         step of BufferView
861
862         * paragraph.[Ch]: unify dimension handling with the rest of lyx
863
864         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
865
866         * pariterator.C: fix infinite loop introduced in par->pit renaming
867
868         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
869         in insets and LyXText, draw two off-screen paragraphs using
870         NullPainter, and adapt to new coord scheme
871
872         * text.C:
873         * text2.C:
874         * text3.C: adapt lfun handlers to the new coord scheme, which
875         means: there's only guaranteed coord information for onscreen pars
876         plus one above and one below. This implies that one can do search
877         from y coordinates in the range [-1,workHeight]
878
879 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
880
881         * rename a lot of InsetOld to InsetBase
882
883 2004-11-25  Angus Leeming  <leeming@lyx.org>
884
885         * BufferView_pimpl.C:
886         * lyx_cb.C:
887         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
888
889 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
892         call BufferView::getStatus if LCursor::getStatus did nothing
893         (setStatusMessage, getStatusMessage): removed.
894
895         * FuncStatus.C (message): new methods. Used to provide an error
896         message indicating why a command is disabled.
897         (clear, |=, FuncStatus): update for message.
898
899 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
900
901         * lyxfunc.C (dispatch): always call sendDispatchMessage
902
903 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
904
905         * BufferView.C:
906         * BufferView_pimpl.C:
907         * CutAndPaste.C:
908         * FontIterator.C:
909         * buffer.C:
910         * cursor.C:
911         * cursor_slice.[Ch]:
912         * dociterator.[Ch]:
913         * lyxfind.C:
914         * paragraph_funcs.C:
915         * pariterator.C:
916         * rowpainter.C:
917         * text.C:
918         * text2.C:
919         * text3.C:
920         * undo.C: par->pit renaming
921
922 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
923
924         * tabular.C (cellstruct): use initialization, store a shared_ptr
925         to insettext instead of the insettext directly, adjust to fit.
926         (operator=):  new function
927         (swap): new function
928         (rowstruct): use initialization
929         (columnstruct): use initialization
930         (ltType): use initialization
931
932
933         * lyxlength.h (swap): new function
934
935         * LColor.[Ch] (operator=): use the common semantics
936
937 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * lyxfind.C (findNextChange): update the bufferview after setting
940         the selection.
941
942 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
945         number of InsetOptArgs has already been inserted.
946
947         * output_latex.C (latexOptArgInsets): new method. This outputs all
948         the optarg insets, up to the limit defined in the layout file.
949         (optArgInset): removed
950         (TeXOnePar): call latexOptArgInsets; correctly update texrow
951
952 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
953
954         * paragraph.C (isLetter): remove special spellchecker-related
955         code; return true also for digits
956         (isWord, isKomma): remove
957
958         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
959         * lyxfind.C (MatchString()): use isLetter instead of isWord
960
961 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
962
963         * pariterator.h (operatir=): comment out un-implemented member
964         function.
965
966         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
967         static cast.
968
969 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * lyxfont.h: include LColor.h to satisfy concept checks.
972
973 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
974
975         * pariterator.h: add typdefs for value_type, difference_type,
976         pointer and reference to satisfy concept checks. Also add default
977         constructor for same reason.
978
979         * pariterator.C (operator++): add post-increment operator to
980         satisfy concept checks.
981
982         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
983         checks.
984
985         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
986
987         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
988         checks. Also rename base_type to BaseType to follow naming
989         standard better.
990
991         * FloatList.h: include Floating.h to satisfy concept checks.
992
993 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * lyxfunc.C (getStatus): when the origin of the request is menu or
996         toolbar, and the LyXView does not have focus, do as if there was
997         no buffer (bug 1720)
998
999         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1000         FuncRequest to individual entries of LFUN_SEQUENCE
1001
1002 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1003
1004         * output_latex.C (TeXOnePar): override runparams.moving_arg
1005         according to the needprotect value of the current paragraph (bug
1006         1739)
1007
1008         * paragraph.C (simpleTeXOnePar): no need to override
1009         runparams.moving_args here
1010
1011 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1012
1013         * vspace.C: fix off-by-one-error, related to fix #1682
1014
1015 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1016
1017         * lengthcommon.C: a more general fix for bug 1682
1018
1019 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1020
1021         * text.C (backspace): fix crash
1022
1023 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1024
1025         * format.[Ch] (getFormatFromFile): new method
1026         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1027
1028 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1031
1032 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1033
1034         * lyxfunc.C (dispatch): remove the verbose argument
1035         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1036         instead
1037
1038         * kbmap.C (defkey): set the origin of func to KEYBOARD
1039
1040         * MenuBackend.C (MenuItem):
1041         * ToolbarBackend.C (add): set the origin of func to UI
1042
1043         * funcrequest.[Ch]: add origin member, which indicates which part
1044         of LyX requests an action
1045
1046 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1047
1048         * converter.C (move): don't lie in the error message
1049         * converter.h (isReachable, move): document
1050
1051 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1052
1053         * buffer.C: remove unused using lyx::support::atoi
1054         * paragraph_funcs.C: ditto
1055
1056 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1057
1058         * bufferlist.C (exists): use bind and equal_to instead of
1059         compare_memfun
1060         (getBuffer): ditto
1061         * lyxtextclasslist.C (NumberOfClass): ditto
1062
1063         * cursor.C (insert): use for_each instead of explicit for loop
1064
1065         * bufferlist.C (getFileNames): use std::transform and
1066         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1067
1068         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1069         for loop
1070
1071         * buffer.C (changeLanguage): use for_each instead of explicit for
1072         loop
1073         (hasParWithID): implement using getParFromID
1074
1075         * LaTeXFeatures.C: ws change only
1076
1077         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1078         to cleanup a bit.
1079
1080         * BufferView_pimpl.C (trackChanges): use for_each instead of
1081         expilicit for loop
1082
1083 2004-11-04  André Pönitz  <poenitz@gmx.net>
1084
1085         * undo.h:
1086         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1087
1088         * dociterator.C (asDocIterator): use hard assert again.
1089
1090 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * lyxlength.C (asLatexString): rewrite so that it does not use
1093         snprintf anymore
1094
1095 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1096
1097         * text3.C (specialChar, dispatch): make sure cursor moves to the
1098         right after inserting an inset
1099
1100 2004-11-02  José Matos  <jamatos@lyx.org>
1101
1102         * output_docbook.C (docbook):
1103         * paragraph.C (getID):
1104         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1105         garantee that the output is always legal.
1106
1107         * tabular.C (docbook):
1108         * outputprams.[Ch]: remove mixed contents.
1109
1110 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1111
1112         * text2.C (setCounter): prevent endless loop
1113
1114 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1115
1116         * exporter.C (copyFile): use the mover instead of support::copy()
1117         * exporter.C (Export): pass format and latex name to copyFile()
1118         * exporter.h (addExternalFile): document
1119         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1120
1121 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1122
1123         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1124
1125 2004-10-30  José Matos  <jamatos@lyx.org>
1126
1127         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1128         text and no inset or font change. This allows to use CDATA
1129         sections just for the whole paragraph.
1130
1131 2004-10-30  José Matos  <jamatos@lyx.org>
1132
1133         * paragraph.C (getFirstWord): remove unused variable.
1134
1135 2004-10-30  José Matos  <jamatos@lyx.org>
1136
1137         * paragraph.C (getFirstWord): the content should always be escaped
1138         there.
1139         (simpleDocBookOnePar):
1140         * output_docbook.C (makeEnvironment): replace reference to CDATA
1141         to style pass_thru.
1142
1143 2004-10-30  José Matos  <jamatos@lyx.org>
1144
1145         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1146
1147 2004-10-30  José Matos  <jamatos@lyx.org>
1148
1149         * output_docbook.C (makeParagraphs):
1150         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1151         standard paragraph has only a given type of content drop the wrapper.
1152
1153 2004-10-29  José Matos  <jamatos@lyx.org>
1154
1155         * output_docbook.C (makeEnvironment):
1156         * sgml.C (openTag):
1157         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1158
1159 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1160
1161         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1162         (cleanID): sanitize any id.
1163
1164 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1165
1166         * buffer.C, lyxlex_pimpl.C:
1167         * lyxlex_pimpl.C (setFile):
1168         s/getExtFromContents/getFormatFromContents/
1169
1170 2004-10-28  José Matos  <jamatos@lyx.org>
1171
1172         * output_docbook.C (makeEnvironment): move id to broadest possible
1173         scope.
1174
1175         * sgml.C (openTag): apply substitution of <> for all attributes.
1176
1177 2004-10-28  José Matos  <jamatos@lyx.org>
1178
1179         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1180         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1181         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1182
1183         * sgml.[Ch]: new version for open and closeTag for paragraph and
1184         for strings. Now they handle the ids of paragraphs.
1185
1186 2004-10-26  Angus Leeming  <leeming@lyx.org>
1187
1188         * Makefile.am: add mover.[Ch].
1189
1190         * converter.C (convert, move): use the new Movers to move external
1191         files to the temp directory.
1192
1193         * lyx_main.C (init): ensure that the global system_movers data
1194         is initialised.
1195
1196         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1197         preferences file.
1198
1199         * mover.[Ch]: new files, defining a Mover as a utility to move an
1200         external file between directories and, if necessary, manipulate this
1201         file using a helper script.
1202
1203 2004-10-25  José Matos  <jamatos@lyx.org>
1204
1205         * output_docbook.C (makeCommand): merge two if's that tested the
1206         same condition.
1207
1208 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1209
1210         * sgml.C (escapeString): fix warning in a better way
1211
1212 2004-10-25  José Matos  <jamatos@lyx.org>
1213
1214         * sgml.C (escapeString): import the require boosts header file for
1215         tie, and avoid a signed unsigned comparison.
1216
1217 2004-10-25  José Matos  <jamatos@lyx.org>
1218
1219         * sgml.h: add #include <string>
1220
1221 2004-10-25  José Matos  <jamatos@lyx.org>
1222
1223         * sgml.[Ch] (escapeString): new function to escape all the string.
1224
1225 2004-10-24  José Matos  <jamatos@lyx.org>
1226
1227         * paragraph.[Ch] (getFirstWord): new function to get the first
1228         word. Useful for description.
1229         (simpleDocBookOnePar): remove depth argument, add another that
1230         says where to start the paragraph.
1231
1232         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1233         use the new functions to fix cleanly the support for descriptions.
1234
1235 2004-10-24  José Matos  <jamatos@lyx.org>
1236
1237         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1238         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1239         * output_linuxdoc.C (linuxdocParagraphs):
1240         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1241         add buffer as argument.
1242
1243 2004-10-24  José Matos  <jamatos@lyx.org>
1244
1245         * output_docbook.C (makeEnvironment, searchEnvironment): place
1246         CDATA inside paragraphs and fix scope for listitems.
1247
1248 2004-10-24  José Matos  <jamatos@lyx.org>
1249
1250         * output_docbook.C: remove using statement for stack.
1251
1252 2004-10-23  José Matos  <jamatos@lyx.org>
1253
1254         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1255         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1256         docbook. The new scheme is recursive and makes use of iterators, the
1257         same as latex export works.
1258         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1259         directly with the paragraph contents. This code was moved up to
1260         output_docbook.C (docbookParagraphs).
1261         * sgml.C (openTag, closeTag): removed unneeded newlines.
1262         (closeEnvTags) removed.
1263
1264 2004-10-23  André Pönitz  <poenitz@gmx.net>
1265
1266         * undo.C (textUndoOrRedo):
1267         * dociterator.C (asDocIterator): work around crash
1268
1269         * cursor.C (getStatus): replace ASSERT by more verbose error message
1270           and manual correction of the problem. Should increase stability
1271           while providing more sensible information.
1272
1273 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1274
1275         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1276
1277         * bufferlist.C (previous, next): new methods
1278
1279         * lfuns.h:
1280         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1281
1282 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1283
1284         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1285         entities to preamble.
1286
1287 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1288
1289         * messages.C (Pimpl): strip off translation context information
1290
1291 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1294         the cursor is correct (bug 1694)
1295
1296 2004-10-13  José Matos  <jamatos@lyx.org>
1297
1298         * output_docbook.C (docbookParagraphs): fix closing tags in the
1299         end of the document.
1300
1301 2004-10-09  José Matos  <jamatos@lyx.org>
1302
1303         * buffer.C: format up to 237.
1304         * bufferparams.C (write): use tostr to convert booleans to strings.
1305
1306 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1307
1308         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1309
1310 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1311
1312         * LaTeX.C: implement use of babel language in xindy.
1313
1314 2004-10-05  José Matos  <jamatos@lyx.org>
1315
1316         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1317         Add new translators to help reading and writing the lyx file.
1318
1319 2004-10-05  José Matos  <jamatos@lyx.org>
1320
1321         * ParagraphParameters.C (read):
1322         * text.C (readParToken): replace nexToken by more appropriate lex
1323         methods.
1324
1325 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1326
1327         * LaTeX.C (runMakeIndex):
1328         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1329         (usually 'makeindex') configurable.
1330
1331         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1332         with a variable rather than with a number.
1333
1334 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1335
1336         * output_latex.C (TeXOnePar): make sure font setting is the first
1337         thing that gets output (and the last at the end). Should fix bug
1338         1404.
1339
1340 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1341
1342         * pch.h: use proper signal include
1343
1344         * LaTeX.h: Use preferred calling of Boost.Signal
1345         * buffer.h: ditto
1346
1347 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1348
1349         * pch.h: dont include <boost/function/function0.hpp>
1350
1351         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1352
1353         * paragraph_pimpl.h: remove usage of ShareContainer
1354
1355         * paragraph_pimpl.C: remove initialization of ShareContainer.
1356
1357 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1358
1359         Fix bug #1666
1360
1361         * BufferView.C (putSelectionAt): change the semantics when
1362         backwards == true: now, this just swaps cursor and anchor wrt the
1363         forward case
1364
1365         * BufferView.h (putSelectionAt): add some documentation
1366
1367         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1368         make sure backwardChar is done at least once (to avoid getting
1369         stuck)
1370         (findNextChange): use putSelectionAt in the forward direction
1371         (operator()): use Paragraph::isWord
1372
1373 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1374
1375         * Spacing.C (set): c_str fix
1376
1377 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1378
1379         * lyx_cb.C (Reconfigure): quote the name of configure script in
1380         case it contains spaces
1381
1382 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1383
1384         * client: new dir
1385
1386         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1387         (BOOST_LIBS): use top_buildir when looking for the file
1388
1389 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1390
1391         * pch.h: do not use include boost/format.hpp, multiple symbols
1392                 will result (gcc bug)
1393
1394
1395 2004-08-23  José Matos  <jamatos@lyx.org>
1396
1397         * bufferparams.C (readToken): fix reading of the author field.
1398
1399 2004-08-20  José Matos  <jamatos@lyx.org>
1400
1401         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1402
1403 2004-08-20  José Matos  <jamatos@lyx.org>
1404
1405         * lyxlex.[Ch] (findToken): remove function.
1406
1407         * ParagraphParameters.C (findToken):
1408         * bufferparams.C (findToken): replace call for previous function
1409         with local copy. This local function has one more argument, the
1410         read string argument.
1411
1412 2004-08-16  José Matos  <jamatos@lyx.org>
1413
1414         * ParagraphParameters.C (write):
1415         * Spacing.C (writeFile):
1416         * bufferparams.C (writeLaTeX):
1417         * lyx_cb.C (Reconfigure):
1418         * paragraph.C (write):
1419         * tabular.C (write): remove unnecessary space at end of line.
1420
1421
1422 2004-08-16  José Matos  <jamatos@lyx.org>
1423
1424         * text.C (readParagraph): remove debug message.
1425
1426 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1429         crash
1430
1431         * output_plaintext.C (asciiParagraph): set depth correctly
1432
1433         * outputparams.h: add member depth
1434
1435         * paragraph_funcs.C (ownerPar): remove.
1436
1437         * text2.C (setCounter): remove first_pit; comment out some
1438         non-working code that uses ownerPar
1439
1440         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1441         uses ownerPar
1442
1443 2004-08-16  José Matos  <jamatos@lyx.org>
1444
1445         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1446         For the same level of importance use the same chanel to report problems.
1447         (read): add code to deal with \begin_body and \end_body.
1448
1449
1450 2004-08-15  José Matos  <jamatos@lyx.org>
1451
1452         * lyxlex.C (getString): fix comment, buffer::readBody is now
1453         buffer:readDocument.
1454
1455         * tex-strings.C (string_papersize): Default -> default,
1456         Custom -> custom, for consistency with other options.
1457
1458 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1459
1460         * pch.h: new file
1461
1462         * Makefile.am: support pch
1463
1464 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * text.C (readParToken): remove the static LyXFont variable and
1467         pass it as a parameter instead. This fixes a nasty bug where an
1468         inset will be inserted with a bad font in some situations
1469         (readParagraph): adapt
1470
1471         * text2.C (setCounter): reduce number of calls to pars_[pit]
1472
1473         * text.C (singleWidth): add an assert, fix a test
1474
1475         * rowpainter.C (paintText): reduce number of calls to singleWidth
1476
1477         * paragraph.C (isHfill):
1478         (isNewline): ws only
1479
1480 2004-08-14  André Pönitz  <poenitz@gmx.net>
1481
1482         * text.C:
1483         * text2.C:
1484         * rowpainter.C:
1485         * lyxtext.h (several functions): use a Paragraph & argument
1486         instead of par_type
1487
1488 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1491
1492         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1493
1494         * text.C (singleWidth): remove useless test
1495
1496 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * tabular.h: remove bogus comments
1499
1500         * tabular.C (getDescentOfRow):
1501         (isPartOfMultiColumn): add assertions
1502
1503         * lyxlength.C (inPixels): remove #warning
1504
1505 2004-08-14  André Pönitz  <poenitz@gmx.net>
1506
1507         * paragraph.h: inline getChar()
1508
1509         * BufferView.h: remove unused declarations
1510
1511 2004-08-14  José Matos  <jamatos@lyx.org>
1512
1513         * Buffer.[Ch] (readDocument): new name for old readBody.
1514         * Buffer.C: new file format, new keywords: \begin_document,
1515         \begin_header, \begin_body, \end_body.
1516
1517         * bufferparams.C (readToken): replace all calls to lex.nextToken
1518         by lex.next(). Do the same to eatLine except where really needed.
1519
1520         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1521         line when writing to the lyx file.
1522
1523         * output_plaintext.C (asciiParagraph): fix Bibliography style
1524         handling.
1525
1526         * text.C (read): fix end of file handling.
1527
1528 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1529
1530         * MenuBackend.C (Menu::operator[]): new method to access
1531         individual menu items
1532         (Menu::hasFunc): new method. search for an item that corresponds
1533         to a given func
1534         (MenuBackend::specialMenu): new method
1535         (MenuBackend::expand): if a special menu has been set, skip
1536         entries whose func() appears in this menu
1537
1538 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1539
1540         * text3.C: use Debug::DEBUG a bit more
1541
1542         * text.C (leftMargin): try to simplify a tiny bit change var x to
1543         l_margin. Dont output the wide margins always.
1544         (rightMargin): no margin in inner texts
1545
1546         * rowpainter.h (nestMargin): new func
1547         (changebarMargin): new func
1548         (rightMargin): new func
1549
1550         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1551         now functions.
1552         (paintLast): ditto
1553
1554         * factory.C (createInset): modify setDrawFrame
1555
1556         * cursor.C: use Debug::DEBUG a bit more
1557
1558 2004-08-14  André Pönitz  <poenitz@gmx.net>
1559
1560         * coordcache.[Ch]:
1561         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1562         cache for all insets in (at least partially) visible (top-level)
1563         paragraphs.
1564
1565         * BufferView_pimpl.C: reset external coord cache before every update.
1566         This means the coord cache only contains valid entries.
1567
1568 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1569
1570         bug 1096
1571         * BufferView_pimpl.C (getInsetByCode): move function out of class
1572         and change in to a template in anon namespace. Also fix to do what
1573         suits us better.
1574
1575 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1576
1577         bug 1305
1578         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1579         of char
1580         (breakParagraph): rename par to par_offset and use a local
1581         reference. Add code to keep the language over a rebreak.
1582         (breakParagraphConservative): rename par to par_offset, use a
1583         local reference
1584         (mergeParagraph): ditto
1585         (outerHook): ditto
1586         (isFirstInSequence): ditto
1587         (outerFont): rename pit to par_offset
1588
1589         * paragraph.C: ws change
1590         * paragraph.h: ditto
1591         * text3.C: ditto
1592         * text.C: ditto
1593
1594 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1595
1596         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1597         treatment for ']'
1598
1599         * paragraph.C (simpleTeXOnePar): when we have a \item with
1600         optional argument, enclose the argument with curly brackets (in
1601         case it contains a closing square bracket)
1602
1603         * text2.C (editXY):
1604         * text2.C (editXY):
1605         * text3.C (checkInsetHit): constify
1606
1607 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1610         documents (bug 1629)
1611
1612 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         Fix toggling of collapsable insets with the mouse (bug 1558)
1615
1616         * lyxfunc.C (dispatch): adapt to LCursor changes
1617
1618         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1619         make sure that dispatch is not invoked twice
1620
1621         * cursor.C (needsUpdate): new method
1622         (dispatch): return void
1623         (result): new method, to access the DispatchResult of the cursor.
1624
1625 2004-08-13  José Matos  <jamatos@lyx.org>
1626
1627         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1628
1629 2004-08-13  André Pönitz  <poenitz@gmx.net>
1630
1631         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1632
1633         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1634           multiple cells
1635
1636 2004-08-12  André Pönitz  <poenitz@gmx.net>
1637
1638         * text3.C: take out the 'cursor right' form insertInset and only
1639         do it in those places when it is really needed. Fixes crash on
1640         C-m...
1641
1642 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1643
1644         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1645
1646         * BufferView_pimpl.C (setBuffer): initialize the current font of
1647         the underlying LyXText
1648
1649 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1650
1651         * kbsequence.C (print): use UI native formatting for menu
1652         shortcuts
1653
1654         * text.C (insertChar): call Paragraph::insertChar with a font
1655         argument (cosmetic)
1656
1657         * paragraph.C (insertInset, insertChar): the version that takes a
1658         LyXFont argument is now a wrapper around the other one (the
1659         opposite used to be true).
1660
1661         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1662         argument. Font setting is done in Paragraph now.
1663
1664 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         * outputparams.h: add new members intitle and lang.
1667
1668         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1669         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1670
1671 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1672
1673         * text3.C (dispatch): remove special handling of button 4 and 5,
1674         it is now taken care of in the frontend code.
1675
1676 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1677
1678         * Spacing.h: add <string> (STLPort compile fix)
1679
1680 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1681
1682         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1683
1684 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1685
1686         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1687         to bool.
1688
1689         * converter.C (showMessage): inherit from unary_function, make
1690         operator() const.
1691
1692         * buffer.C (writeFile): initialize retval
1693
1694         * InsetList.h: rename private variable list to list_
1695         * InsetList.[Ch]: adjust accordingly.
1696
1697 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1698
1699         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1700         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1701         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1702         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1703         * ParagraphParameters.C, LaTeXFeatures.C: replace
1704         "support/std_sstream.h" with <sstream>
1705
1706 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1707
1708         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1709         * lyxsocket.C (LyXServerSocket): ditto
1710         (serverCallback): ditto
1711
1712 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1713
1714         * LaTeXFeatures.C: check release date when loading jurabib.
1715
1716 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1717
1718         * lyxserver.C (startPipe): call register_socket_callback
1719         (endPipe): call unregister_socket_callback
1720
1721 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1722
1723         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1724         (LyXServerSocket): register the callback
1725         (LyXServerSocket): unregister the callback
1726         (fd): delete function
1727         (serverCallback): improve error checking and setup the callbacks.
1728         (dataCallback): change arg to fd.
1729         (writeln): new func (copied fro the client socket) used for server
1730         write to client.
1731         (LyXDataSocket): simplify
1732         (~LyXDataSocket): close ann unregiser callback
1733         (server): delete function
1734         (fd): delete function
1735         (readln): small changes, improve some std::string usage
1736         (writeln): constify a bit
1737
1738 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1739
1740         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1741         Qt frontend
1742
1743 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1744
1745         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1746         after it has been populated
1747
1748 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1749
1750         * text2.C (insertInset): move cursor when inserting inset.
1751
1752 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1753
1754         * kbmap.C (findbindings): a couple of new methods. returns a
1755         container of kb_sequence objects. The real work is done by the
1756         private recursive version
1757         (printbindings): uses findbindings to print out a bracketed list
1758         of bindings (renamed from findbinding).
1759
1760         * MenuBackend.C (binding): use kb_keymap::findbindings
1761
1762         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1763
1764 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1765
1766         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1767
1768 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1769
1770         * paragraph.C (isWord): return true on insets that report
1771         isLetter().
1772
1773         * text.C (getWord): use Paragraph::isWord to decide what is in a
1774         word and what is not; fix bug 1609.
1775
1776 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1777
1778         * tex-strings.C: add "none" to string_paperpackages[], fixes
1779         off-by-one-error in the paperpackage selection.
1780
1781         * lyxlex.[Ch]:
1782         * tex-strings.[Ch]: char const * string[n]
1783         -> char const * const string[]
1784
1785 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1786
1787         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1788         command, return early.
1789
1790 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1791
1792         * debug.h: add DEBUG to enum and fix size of ANY.
1793
1794         * debug.C: add support for Debug::DEBUG
1795         (showTags): cast errorTags.level to unsigned int
1796
1797         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1798         (redoCurrentBuffer): ditto
1799         (updateScrollbar): ditto
1800         * cursor.C (dispatch): ditto
1801         * text2.C (setLayout): ditto
1802         (setFont): ditto
1803         (updateCounters): ditto
1804         (editXY): ditto
1805         (deleteEmptyParagraphMechanism): ditto
1806
1807 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1808
1809         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1810         annotations to cleanup the Makefile slightly.
1811
1812 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * lyxrc.C: do not set user_email to a default value but use empty
1815         instead. The entry used to be translated, which does not work
1816         since at the point where lyxrc is constructed there is no
1817         translation service available
1818
1819         * messages.C (getLocaleDir): remove and use directly
1820         lyx_localedir() instead
1821
1822 2004-06-02  Angus Leeming  <leeming@lyx.org>
1823
1824         Fix crash caused by dereferencing null pointer 'exportdata' in
1825         OutputParams by creating a new ExportData variable on the heap,
1826         storing it in a boost::shared_ptr.
1827         The crash was triggered when generating an Instant Preview
1828         of an external inset.
1829
1830         * Makefile.am: add outputparams.C
1831
1832         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1833         (c-tor): allocate memory to it.
1834
1835         * exporter.C (c-tor): associated changes.
1836
1837 2004-06-01  Angus Leeming  <leeming@lyx.org>
1838
1839         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1840         contains data before calling isInset(0). (Bug 1513.)
1841
1842 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1843
1844         * exporter.C (checkOverwrite): new method
1845         * exporter.C (copyFile): new method
1846         * exporter.C (Export): copy referenced files to the document dir
1847         * exporter.[Ch]: new class ExportedFile
1848         * exporter.[Ch]: new class ExportData. Contains currently the
1849         names of referenced external files
1850         * outputparams.h: add exportdata member.
1851
1852 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1853
1854         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1855         version.C-tmp
1856
1857 2004-05-19  Angus Leeming  <leeming@lyx.org>
1858
1859         * LaTeXFeatures.C:
1860         * ToolbarBackend.C:
1861         * bufferparams.C:
1862         * lyxfunc.C: small changes due to the introduction of namespace
1863         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1864
1865 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1866
1867         * text3.C (dispatch): supress update when only moving the cursor
1868         * cursor.C (selHandle): remove commented code
1869
1870 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1871
1872         * paragraph.C (startTeXParParams): correct column count
1873         * CutAndPaste.C (pasteSelection): remove const_cast
1874         * output_docbook.C (docbookParagraphs): remove const_cast
1875         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1876         const_cast and return ParagraphList::const_iterator
1877         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1878         * output_plaintext.C (writeFileAscii): remove const_cast
1879         * paragraph.[Ch] (simpleTeXOnePar): make const
1880         * paragraph_funcs.C (outerPar): use const iterators
1881         * paragraph_pimpl.C (validate): use const iterators
1882         * text.C (setHeightOfRow): use const iterators
1883
1884 2004-05-17  Angus Leeming  <leeming@lyx.org>
1885
1886         * lfuns.h:
1887         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1888
1889         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1890         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1891         if the citation engine has changed.
1892
1893 2004-05-14  José Matos  <jamatos@lyx.org>
1894
1895         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1896         if the textclass does not provide it. Have it different for sgml and
1897         xml.
1898         support the language of document.
1899         * output_docbook.C (docbookParagraphs):
1900         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1901         first anchor as the id of the paragraph, remove special case code.
1902         * sgml.C (escapeChar): escape only < & >.
1903
1904 2004-05-14  Angus Leeming  <leeming@lyx.org>
1905
1906         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1907         dependencies on src/frontends/controllers/biblio.h. Define a
1908         CiteEngine_enum wrapper class to enable the enum to be forward
1909         declared.
1910
1911 2004-05-12  Angus Leeming  <leeming@lyx.org>
1912
1913         * buffer.C: up LYX_FORMAT to 234.
1914         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1915         use_numerical_citations with a single biblio::CiteEngine cite_engine
1916         variable.
1917         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1918
1919 2004-05-13  José Matos  <jamatos@lyx.org>
1920
1921         * converter.h:
1922         * converter.C (Converter, readFlags): add xml member.
1923         * outputparams.h: add XML flavor.
1924         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1925
1926 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1927
1928         * lyxfunc.C (dispatch):
1929         (getStatus): fix handling of LFUN_SEQUENCE
1930
1931 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1932
1933         * debug.C (showLevel): do not forget the end-of-line marker
1934
1935 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1936
1937         * kbmap.C (read): do not stop parsing a bind file when an error
1938         occurs (bug 1575)
1939
1940 2004-04-29  Angus Leeming  <leeming@lyx.org>
1941
1942         * cursor.C:
1943         * factory.C:
1944         * pariterator.C:
1945         * text2.C: wrap a bunch of #warning statements
1946         inside #ifdef WITH_WARNINGS blocks.
1947
1948 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1949
1950         * buffer.C: increment format to 233.
1951
1952 2004-04-28  Angus Leeming  <leeming@lyx.org>
1953
1954         * BufferView_pimpl.C:
1955         * lyxfunc.C:
1956         * text3.C:
1957         s/updateToolbar()/updateToolbars()/
1958         s/Toolbar.h/Toolbars.h/
1959
1960 2004-04-28  Angus Leeming  <leeming@lyx.org>
1961
1962         * BufferView.[Ch] (c-tor):
1963         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1964         No longer passes these data to the WorkArea generator.
1965
1966 2004-04-28  Angus Leeming  <leeming@lyx.org>
1967
1968         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1969
1970 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1971
1972         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1973
1974 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1975
1976         * output_latex.C (TeXEnvironment): make sure that there is a line
1977         break before \end{foo} for the last paragraph of a document
1978         (TeXOnePar): if the paragraph is at the end of the document (or
1979         inset) and the language has to be reset, then make sure that the
1980         line break is _before_ the language command, not after (fixes bug
1981         1225); also make sure that the language reset command is the first
1982         thing after the paragraph (to ensure proper nesting of
1983         environments and thus fix bug 1404)
1984
1985 2004-04-21  John Levon  <levon@movementarian.org>
1986
1987         * ToolbarBackend.h:
1988         * ToolbarBackend.C: make "name" be a programmatic name
1989         and a gui_name field.
1990
1991         * lyxfunc.C: display the minibuffer on M-x
1992
1993 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1994
1995         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1996         (bug 1526)
1997
1998 2004-04-19  Angus Leeming  <leeming@lyx.org>
1999
2000         * BufferView_pimpl.C (setBuffer): changed preview interface.
2001
2002         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2003         possible values.
2004
2005 2004-04-19  John Levon  <levon@movementarian.org>
2006
2007         * BufferView_pimpl.C:
2008         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2009
2010 2004-04-05  Angus Leeming  <leeming@lyx.org>
2011
2012         * text.C (redoParagraphs): add call to updateCounters(), thereby
2013         fixing the missing "Figure #:" label from the caption of a
2014         figure float.
2015
2016 2004-04-13  Angus Leeming  <leeming@lyx.org>
2017
2018         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2019         cursor is clicked out of an inset.
2020
2021 2004-04-13  Angus Leeming  <leeming@lyx.org>
2022
2023         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2024         than an InsetOld one.
2025
2026 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2027
2028         * format.[Ch]: add editor to Format
2029         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2030         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2031
2032 2004-04-08  André Pönitz  <poenitz@gmx.net>
2033
2034         * metricsinfo.h: remove PainterInfo::width member
2035
2036 2004-04-08  Angus Leeming  <leeming@lyx.org>
2037
2038         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2039         "\providecommand" rather than "\newcommand", thereby preventing
2040         clashes with packages that define "\boldsymbol" themselves.
2041         Eg, beamer.
2042
2043 2004-04-08  Angus Leeming  <leeming@lyx.org>
2044
2045         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2046         thereby squashing an unnecessary warning.
2047
2048 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2049
2050         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2051         setBuffer()
2052
2053 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2054
2055         * BufferView.C (setCursor): call redoParagraph (some insets could
2056         have been opened)
2057         (putSelectionAt): remove the 'double update' trick
2058
2059         * BufferView_pimpl.C (fitCursor): call refreshPar
2060         (workAreaDispatch): remove an uneeded update call
2061         (dispatch): remove some manual update calls
2062
2063         * cursor.[Ch]: remove cached_y_, updatePos
2064         (selHandle): set noUpdate when appropriate
2065
2066         * lyxfunc.C (dispatch): track if we need an update
2067
2068         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2069
2070         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2071         (paintSelection): cheap optimization, do not call cursorX when not
2072         needed
2073         (paintPars): change signature
2074         (refreshPar): add
2075         (paintText): adjust
2076         (paintTextInset): adjust
2077
2078         * text.C: adjust
2079
2080 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2081
2082         * lengthcommon.C: compilation fix: remove explicit array size from
2083         unit_name[] and friends
2084
2085 2004-04-05  Angus Leeming  <leeming@lyx.org>
2086
2087         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2088
2089         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2090         present only for the preferences dialog.
2091         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2092
2093 2004-04-05  Angus Leeming  <leeming@lyx.org>
2094
2095         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2096         to enable the frontends to export changes to lyxrc correctly.
2097
2098         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2099
2100 2004-04-07  André Pönitz  <poenitz@gmx.net>
2101
2102         * cursor.[Ch] (selClear, adjust): remove math
2103
2104         * cursor_slice.C: more agressive assert
2105
2106         * lyxfunc.C:
2107         * BufferView_pimpl.C: rework mouse event dispatch
2108
2109         * dociterator.C:
2110         * paragraph.C:
2111         * text2.C:
2112         * text3.C: adjust
2113
2114 2004-04-05  André Pönitz  <poenitz@gmx.net>
2115
2116         * cursor.[Ch] (valign, halign...): remove unneeded functions
2117
2118 2004-04-05  Angus Leeming  <leeming@lyx.org>
2119
2120         * lyxlength.[Ch] (unit_name et al.): const-correct.
2121
2122 2004-04-05  Angus Leeming  <leeming@lyx.org>
2123
2124         * BufferView_pimpl.C:
2125         * buffer.C:
2126         * counters.C:
2127         * cursor.C:
2128         * lyxfunc.C
2129         * paragraph.C:
2130         * pariterator.C:
2131         * text.C:
2132         * text2.C:
2133         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2134
2135 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2136
2137         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2138
2139 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2140
2141         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2142         * BufferView_pimpl.[Ch] (getStatus)
2143         * BufferView.[Ch] (getStatus): add
2144         * lyxfunc.C (getStatus): move lfuns handled in
2145         BufferView::dispatch to te function above
2146         * Cursor.C (setSelection): set selection() = true
2147
2148 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2149
2150         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2151
2152 2004-03-31  Angus Leeming  <leeming@lyx.org>
2153
2154         * lyxfunc.C (dispatch): Fall through to the generic
2155         Dialogs::show("preamble").
2156
2157 2004-03-31  Angus Leeming  <leeming@lyx.org>
2158
2159         * lyxfunc.C (dispatch): Fall through to the generic
2160         Dialogs::show("spellchecker").
2161
2162 2004-03-31  Angus Leeming  <leeming@lyx.org>
2163
2164         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2165         preferences dialog.
2166
2167 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2168
2169         * BufferView.C
2170         * cursor.[Ch]
2171         * dociterator.[Ch]:
2172         * insetiterator.[Ch]:
2173         * lyxfind.C:
2174         * lyxfunc.C:
2175         * pariterator.[Ch]:
2176         * text2.C:
2177         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2178
2179 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2180
2181         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2182         insets where we are putting the cursor.
2183
2184 2004-03-31  Angus Leeming  <leeming@lyx.org>
2185
2186         * lfuns.h:
2187         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2188
2189         * lyxrc.[Ch] (read, write): overloaded member functions taking
2190         a std::[io]stream arguments.
2191
2192         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2193
2194 2004-03-31  Angus Leeming  <leeming@lyx.org>
2195
2196         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2197         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2198
2199         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2200         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2201
2202 2004-03-31  Angus Leeming  <leeming@lyx.org>
2203
2204         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2205         the LFUN_ALL_INSETS_TOGGLE code.
2206
2207 2004-03-30  Angus Leeming  <leeming@lyx.org>
2208
2209         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2210         has died. Fall through to the generic Dialogs::show("document").
2211
2212 2004-03-30  Angus Leeming  <leeming@lyx.org>
2213
2214         * lfuns.h:
2215         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2216         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2217
2218         * lyxfunc.C (getStatus, dispatch): define the actions for these
2219         lfuns. Little more than a cut and pste job from ControlDocument.C
2220
2221         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2222
2223 2004-03-30  Angus Leeming  <leeming@lyx.org>
2224
2225         * lfuns.h:
2226         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2227         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2228
2229         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2230         open/closed state of ollapsable insets. Usage:
2231
2232         all-inset-toggle <state> <name>, where
2233         <state> == "open" || "closed" || "toggle" and
2234         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2235
2236         * lyxtext.h, text2.C (toggleInset): removed.
2237
2238         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2239         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2240         now passes LFUN_INSET_TOGGLE to the found inset.
2241
2242         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2243         is now invoked as "all-insets-toggle toggle branch".
2244
2245 2004-03-30  Angus Leeming  <leeming@lyx.org>
2246
2247         * dociterator.C:
2248         * insetiterator.C:
2249         * pariterator.[Ch]: added/corrected header blurb.
2250
2251 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2252
2253         * dociterator.[Ch]: add an inset_ member
2254         (backwardPos): implemented
2255         (backwardPos, forwardPos): use inset_ when the stack is empty.
2256         (doc_iterator_begin, doc_iterator_end): implemented
2257         * pariterator.[Ch]: adjust, add begin, end
2258         * insetiterator.[Ch]: adjust, add begin, end
2259         * cursor.C:
2260         * document.C:
2261         * BufferView.C:
2262         * BufferView_pimpl.C:
2263         * CutAndPaste.C: adjust
2264
2265 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2266
2267         * buffer.C: increment file format to 232.
2268         * LaTeXFeatures.C: add bibtopic package.
2269         * bufferparams.[Ch]: param \use_bibtopic.
2270
2271         * lyxrc.[Ch]: add lyxrc bibtex_command
2272         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2273
2274         * buffer.C: increment file format to 231.
2275
2276 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2277
2278         * dociterator.C: implement forwardPar
2279         * iterators.[Ch]: remove, replaced by
2280         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2281         * BufferView.C:
2282         * BufferView_pimpl.C:
2283         * CutAndPaste.C:
2284         * buffer.C:
2285         * bufferview_funcs.C:
2286         * cursor.C:
2287         * lyxfind.C
2288         * lyxfunc.C
2289         * paragraph_funcs.C
2290         * toc.C:
2291         * Makefile.am: adjust
2292
2293 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2294
2295         * CutAndPaste.C (pasteSelection): fix 2 crashes
2296         (eraseSelection): fix a crash
2297         * paragraph_funcs.C: remove a warning
2298
2299 2004-03-28  Angus Leeming  <leeming@lyx.org>
2300
2301         * lfuns.h:
2302         * LyXAction.C (init): new LFUN_PRINT.
2303
2304         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2305
2306 2004-03-27  Angus Leeming  <leeming@lyx.org>
2307
2308         * lfuns.h:
2309         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2310
2311         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2312
2313 2004-03-27  Angus Leeming  <leeming@lyx.org>
2314
2315         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2316         insetlist always contains non-null pointers to insets.
2317
2318 2004-03-26  Angus Leeming  <leeming@lyx.org>
2319
2320         * src/BufferView_pimpl.C:
2321         * src/CutAndPaste.C:
2322         * src/buffer.C:
2323         * src/iterators.C:
2324         * src/output_plaintext.C:
2325         * src/outputparams.h:
2326         * src/paragraph_funcs.C:
2327         * src/rowpainter.C:
2328         * src/text.C:
2329         * src/text2.C:
2330         * src/frontends/controllers/ControlErrorList.C:
2331         * src/frontends/gtk/FileDialogPrivate.C:
2332         * src/frontends/gtk/GPainter.C:
2333         * src/frontends/gtk/GToolbar.C:
2334         * src/frontends/qt2/QRef.C:
2335         * src/mathed/math_scriptinset.C: squash compiler warnings.
2336
2337 2004-03-26  Angus Leeming  <leeming@lyx.org>
2338
2339         * ispell.C (LaunchIspell::start):
2340         * lyx_cb.C (AutoSaveBuffer::start):
2341         invoke run(DontWait) rather than runNonBlocking().
2342
2343 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2346
2347 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * kbsequence.C (print): adjust
2350
2351         * kbmap.C (printKeySym): rename and change signature
2352         (printKey): use LyXKeySym::print()
2353
2354 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2355
2356         * undo.C: add using std::advance to compile for stlport
2357
2358 2004-03-24  Angus Leeming  <leeming@lyx.org>
2359
2360         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2361         it leads to a crash when no buffer is present.
2362
2363 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2364             Martin Vermeer  <martin.vermeer@hut.fi>
2365
2366         * lyxfunc.C (dispatch):
2367         * bufferparams.C (readToken): use the new LColor::setColor
2368
2369         * LColor.[Ch] (setColor): new version that takes two strings as
2370         argument and creates a new color entry if necessary
2371
2372 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2373
2374         * buffer.C (makeLaTeXFile): if the main latex file that is
2375         processed is usually a subdocument of some master, then pretend
2376         for a while that it is actually the master
2377
2378 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2379
2380         * buffer.C (getLabelList):
2381         (getBibkeyList): use getMasterBuffer()
2382         (getMasterBuffer): new method. Returns the main document in the
2383         case where one is using included documents.
2384
2385 2004-03-25  André Pönitz  <poenitz@gmx.net>
2386
2387         * Makefile.am:
2388         * iterators.[Ch]:
2389         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2390
2391         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2392
2393         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2394         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2395
2396         * ParameterStruct.h: merge with ParagraphParameters
2397
2398         * lyxtext.h: remove LyXText::parOffset() and getPar()
2399
2400         * text3.C: Remove all 'manual' update calls. We do now one per user
2401         interaction which is completely sufficient.
2402
2403         * Bidi.C:
2404         * BufferView.[Ch]:
2405         * BufferView_pimpl.C:
2406         * FontIterator.[Ch]:
2407         * MenuBackend.C:
2408         * ParagraphParameters.[Ch]:
2409         * buffer.C:
2410         * buffer.h:
2411         * bufferlist.C:
2412         * cursor.[Ch]:
2413         * cursor_slice.[Ch]:
2414         * dociterator.[Ch]:
2415         * errorlist.[Ch]:
2416         * factory.C:
2417         * lfuns.h:
2418         * lyxfind.C:
2419         * lyxfunc.C:
2420         * output_docbook.[Ch]:
2421         * output_latex.[Ch]:
2422         * output_linuxdoc.[Ch]:
2423         * output_plaintext.[Ch]:
2424         * paragraph.[Ch]:
2425         * paragraph_funcs.[Ch]:
2426         * paragraph_pimpl.[Ch]:
2427         * rowpainter.C:
2428         * tabular.[Ch]:
2429         * text.C:
2430         * text2.C:
2431         * toc.C:
2432         * undo.[Ch]: adjust
2433
2434         * frontends/controllers/ControlDocument.C:
2435         * frontends/controllers/ControlErrorList.C:
2436         * frontends/controllers/ControlSpellchecker.C:
2437         * insets/inset.C:
2438         * insets/inset.h:
2439         * insets/insetbase.h:
2440         * insets/insetbibitem.C:
2441         * insets/insetbox.C:
2442         * insets/insetbranch.C:
2443         * insets/insetcaption.C:
2444         * insets/insetcharstyle.C:
2445         * insets/insetcharstyle.h:
2446         * insets/insetcollapsable.C:
2447         * insets/insetcollapsable.h:
2448         * insets/insetert.C:
2449         * insets/insetfloat.C:
2450         * insets/insetfoot.C:
2451         * insets/insetmarginal.C:
2452         * insets/insetnote.C:
2453         * insets/insetoptarg.C:
2454         * insets/insettabular.C:
2455         * insets/insettext.C:
2456         * insets/insettext.h:
2457         * insets/insetwrap.C:
2458         * mathed/math_mboxinset.C:
2459         * mathed/math_nestinset.C:
2460         * mathed/math_scriptinset.C:
2461         * mathed/math_scriptinset.h:
2462         * support/types.h:
2463
2464 2004-03-24  Angus Leeming  <leeming@lyx.org>
2465
2466         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2467         deal with any child processes that have finished but are waiting to
2468         communicate this fact to the rest of LyX.
2469
2470 2004-03-24  Angus Leeming  <leeming@lyx.org>
2471
2472         64-bit compile fixes.
2473
2474         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2475         (c-tor): pass lyx::pos_types rather than ints.
2476
2477         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2478         lyx::pos_type.
2479
2480         * text.C (Delete): compile fix.
2481         (getPar): ensure that function declaration is the same as that in
2482         the header file.
2483
2484 2004-03-23  Angus Leeming  <leeming@lyx.org>
2485
2486         * ispell.C (LaunchIspell):
2487         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2488         a boost::shred_ptr rather than a std::auto_ptr.
2489
2490 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2491
2492         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2493         handle LFUN_FILE_INSERT_*
2494
2495         * lyxrc.C (setDefaults, getDescription, output, read):
2496         * lyxrc.h: remove ps_command
2497
2498 2004-03-22  Angus Leeming  <leeming@lyx.org>
2499
2500         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2501         Ensure that error_handler is processed once only and that all data
2502         is saved before attempting to output any warning messages.
2503
2504         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2505
2506 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2509
2510 2004-03-19  André Pönitz  <poenitz@gmx.net>
2511
2512         * cursor.[Ch] (reset): take main text inset as argument
2513
2514         * BufferView: adjust
2515         * BufferView_pimpl.C: adjust
2516
2517         * paragraph.[Ch]: fix completely broken operator=()
2518
2519 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2520
2521         * LColor.C (getFromLyXName): make sure that the color name is used
2522         as lowercase.
2523
2524 2004-03-17  Angus Leeming  <leeming@lyx.org>
2525
2526         * lfuns.h:
2527         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2528
2529         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2530         dialog and to kill a forked process.
2531
2532 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2533
2534         * text2.C (setCursorFromCoordinates): fix font problem
2535
2536 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2537
2538         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2539         bogus "rebuild cursor" code
2540
2541 2004-03-11  André Pönitz  <poenitz@gmx.net>
2542
2543         * buffer.[Ch]: use InsetText instead of LyXText as container for
2544         the main lyx text.
2545
2546         * dociterator.[Ch]: drop the BufferView * member which is not needed
2547         anymore after the change to buffer.C
2548
2549         * paragraph_funcs.C:
2550         * text.C:
2551         * text2.C:
2552         * BufferView.[Ch]:
2553         * BufferView_pimpl.[Ch]:
2554         * cursor.[Ch]:
2555         * cursor_slice.[Ch]: adjust
2556
2557         * text3.C: fix bug in mathDispatch
2558
2559 2004-03-08  André Pönitz  <poenitz@gmx.net>
2560
2561         * undo.[Ch]: use 'StableDocumentIterator' as base for
2562         the Undo struct.
2563
2564 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2565
2566         * LaTeXFeatures.C:
2567         * bufferparams.[Ch]: add jurabib support and param.
2568
2569         * LaTeX.C: add FIXME/comment.
2570
2571 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2572
2573         * buffer.C: increment file format to 230.
2574
2575 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2576
2577         * cursor.C (dispatch): avoid infinite loops
2578
2579 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2580
2581         * rowpainter.C (paintSelection): fix x coordinates
2582
2583 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2584
2585         * text.C (rowBreakPoint): fix breaking before displayed insets
2586
2587 2004-03-01  André Pönitz  <poenitz@gmx.net>
2588
2589         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2590
2591         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2592
2593         * Makefile.am:
2594         * BufferView.C:
2595         * BufferView_pimpl.C:
2596         * buffer.C:
2597         * lyxfind.C:
2598         * lyxfunc.C:
2599         * text.C:
2600         * text2.C:
2601         * text3.C: adjust
2602
2603 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * lyxtext.h:
2606         * text.C:
2607         * text2.C:
2608         * rowpainter.C:
2609         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2610         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2611
2612 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2613
2614         * Bidi.[Ch] (computeTables): const correctness
2615         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2616         fill_hfill, fill_label_hfill and x from Row
2617         * lyxtext.h: prepareToPrint returns a RowMetrics
2618         * rowPainter.C: adjust
2619         * text.C (prepareToPrint): use width, not textWidth. adjust
2620         (redoParagraphInternal, cursorX): adjust
2621         * text2.C (getColumnNearX): adjust
2622         (init): put a default value to the top LyXText::width
2623
2624 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2625
2626         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2627
2628 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2629
2630         * lyxtext.h: add FontIterator class
2631
2632         * text.C (FontIterator, operator*, operator->, operator++): add
2633         (rowBreakPoint, setRowWidth): adjust (fixing a
2634         rebreaking bug)
2635
2636 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2637
2638         * BufferView_pimpl.C (workAreaDispatch): allow also
2639         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2640
2641 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2642
2643         * text.C (rowBreakPoint): fix a bug showing with very large insets
2644
2645 2004-02-25  André Pönitz  <poenitz@gmx.net>
2646
2647         * text3.C:
2648         * cursor.[Ch]: move some mathed specific code to mathed
2649
2650 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2651
2652         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2653         use_tempdir in preferences
2654         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2655         tempfile creation
2656         * lyx_main.C: ensure that tempdir is valid
2657         * lyxlex.h: correct typo
2658         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2659         * paragraph.[Ch] (isMultiLingual): make const
2660         * cursor.[Ch] (openable): make const
2661
2662 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2663
2664         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2665
2666 2004-02-20  André Pönitz  <poenitz@gmx.net>
2667
2668         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2669
2670         * cursor.[Ch]: prepare for localized getStatus()
2671
2672         * lyxtext.h:
2673         * tabular.C:
2674         * text.C:
2675         * text2.C:
2676         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2677
2678 2004-02-20  André Pönitz  <poenitz@gmx.net>
2679
2680         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2681
2682 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2683
2684         * text2.C (setCursorFromCoordinates): switch to absolute coords
2685         (cursorUp): adjust
2686         (cursorDown): adjust
2687         * text3.C (dispatch): adjust
2688
2689 2004-02-16  André Pönitz  <poenitz@gmx.net>
2690
2691         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2692           insets/ChangeLog)
2693
2694         * cursor_slice.[Ch]: remove unneeded acessor function
2695
2696         * lyxtext.h: rename rtl() to isRTL()
2697
2698         * rowpainter.C:
2699         * tabular.C:
2700         * text.C:
2701         * text2.C:
2702         * text3.C: adjust
2703
2704 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * rowpainter.C (paintSelection): coord fix
2707
2708 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2709
2710         * Spacing.C: compile fix
2711
2712 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * cursor.C (dispatch): restore current_ before returning
2715
2716 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2717
2718         * text2.C (cursorUp, cursorDown): fix coords
2719         (moveUp): fix crash
2720
2721 2004-02-12  André Pönitz  <poenitz@gmx.net>
2722
2723         * lyxtext.h:
2724         * text.C:
2725         * text2.C:
2726         * text3.C: add LCursor & parameter to most cursor movement functions
2727           remove usage of LyXText::cursorRow() and cursorPar()
2728
2729         * cursor.[Ch]: add textRow() needed members
2730
2731         * BufferView.C:
2732         * BufferView_pimpl.C:
2733         * paragraph.[Ch]:
2734         * BufferView.C:
2735         * BufferView_pimpl.C: adjust
2736
2737 2004-02-11  André Pönitz  <poenitz@gmx.net>
2738
2739         * lyxfunc.C:
2740         * BufferView.[Ch]:
2741         * BufferView_pimpl.C: shift undo/redo handling
2742
2743         * cursor.[Ch]: fix mathed crash
2744
2745         * lyxfind.C:
2746         * lyxtext.h: move selectionAsText to LCursor
2747
2748         * output_latex.C:
2749         * paragraph.C:
2750         * text.C:
2751         * text2.C:
2752         * text3.C: adjust
2753
2754         * rowpainter.C: fix excessive drawing
2755
2756 2004-02-06  André Pönitz  <poenitz@gmx.net>
2757
2758         * BufferView.[Ch]:
2759         * BufferView_pimpl.[Ch]:
2760         * text3.C: move some text specific LFUN handling
2761
2762 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * text3.C (checkInsetHit): adjust coords
2765         * text2.C (getColumnNearX): adjust coords
2766         (edit): adjust coords
2767         * text.C (getRowNearY): add two asserts
2768
2769 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2770
2771         * converter.C:
2772         * format.C: add using std::distance to compile on gcc 2.95/stlport
2773
2774 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2775
2776         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2777
2778 2004-02-04  André Pönitz  <poenitz@gmx.net>
2779
2780         * BufferView.[Ch] (insertInset):
2781         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2782
2783         * text2.C:
2784         * text3.C: adjust
2785
2786 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2787
2788         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2789         on the default clause of the switch
2790         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2791         wasn't catched by LCursor::dispatch
2792
2793 2004-02-03  André Pönitz  <poenitz@gmx.net>
2794
2795         * BufferView.C:
2796         * cursor.[Ch]: some additional asserts
2797
2798         * undo.[Ch]: remove LyXText dependency in interface
2799
2800         * lyxfunc.C: adjust
2801
2802         * lyxtext.h (firstPar, lastPar): remove dead functions
2803
2804         * text.C:
2805         * text2.C:
2806         * text3.C:
2807         * paragraph.[Ch]: adjust
2808
2809 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2810
2811         * lyxfind.C (find): fix argument order in call to ::find
2812
2813 2004-02-02  André Pönitz  <poenitz@gmx.net>
2814
2815         * cursor.[Ch]: remove direct access to anchor
2816
2817         * text.C: remove findText() hack
2818
2819 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2820
2821         * iterators.[Ch] (lockPath): remove in favour of...
2822         * BufferView.[Ch] (setCursor): this addition
2823         * BufferView.C (putSelectionAt): adjust
2824         * undo.C (performUndoOrRedo): adjust
2825         * lyxfunc.C (dispatch): adjust
2826
2827 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2828
2829         * iterators.C (lockPath): add a missing slice
2830         * undo.C (performUndoOrRedo): remove redundant positioning code
2831
2832 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2833
2834         * vc-backend.C (scanMaster): ";" -> ';'
2835
2836 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2837
2838         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2839         std::binary_function
2840
2841         * lyxtextclass.C (compare_name): rename to...
2842         (LayoutNamesEqual): ...this
2843
2844         * lyxlex_pimpl.C (compare_tags): inherit from
2845         std::binary_function, put back into anon namespace
2846
2847         * lyxfind.C (MatchString): inherig from std::binary_function
2848         (findChange): use empty() istead of !size()
2849
2850         * format.C (FormatNamesEqual): new functor
2851         (getFormat): use it
2852         (getNumber): use it
2853         (add): use it
2854         (erase): use it
2855         (setViewer): use it
2856
2857         * converter.C (compare_Converter): rename to...
2858         (ConverterEqual): ...this, and fixup a bit.
2859         (getConverter): use it, and make function const
2860         (getNumber): use it, and make function const
2861         (add): use it
2862         (erase): use it:
2863
2864         * bufferlist.C: add using boost::bind
2865
2866         * MenuBackend.C (MenuNamesEqual): new functor
2867         (hasMenu): use it, and make function const
2868         (hasSubmenu): use nested bind to get rid of compare_memfun.
2869
2870 2004-01-30  André Pönitz  <poenitz@gmx.net>
2871
2872         * BufferView_pimpl.C:
2873         * cursor.C:
2874         * cursor.h:
2875         * cursor_slice.[Ch]:
2876         * lyxfunc.C:
2877         * lyxtext.h:
2878         * paragraph_funcs.C:
2879         * paragraph_funcs.h:
2880         * rowpainter.C:
2881         * text.C:
2882         * text2.C:
2883         * text3.C: move some of the edit(x,y) handling to the insets
2884         some coordinate changes.
2885
2886 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2887
2888         * text.C: add using statements for std::advance and std::distance
2889
2890         * paragraph.C: add using statement for std::distance
2891
2892         * lyxfind.C: add using statement for std::advance
2893
2894         * cursor.C (region): remove std:: from swap
2895         (openable): use nucleus in stead of operator->
2896
2897         * BufferView.C: add using statements for std::distance and std::swap
2898
2899 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2900
2901         * iterators.C: Remove the pimple, move the needed structures to
2902         the header file. Create accessor for the positions stack.
2903         (asPosIterator): remove function
2904
2905         * PosIterator.C (PosIterator): move constructors to top of file
2906         (PosIterator): reimplement the constructor taking a ParIterator in
2907         terms of setFrom.
2908         (setFrom): new function
2909         (operator!=): inline it
2910
2911 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2912
2913         * lyxfind.C (replaceAll): use std::advance
2914
2915         * iterators.h: inherit from std::iterator.
2916
2917         * PosIterator.C (advance, distance): remove
2918         * PosIterator.h: interit from std::iterator.
2919
2920 2004-01-26  André Pönitz  <poenitz@gmx.net>
2921
2922         * BufferView.[Ch]:
2923         * BufferView_pimpl.[Ch]:
2924         * InsetList.[Ch]:
2925         * PosIterator.[Ch]:
2926         * buffer.h:
2927         * bufferview_funcs.C:
2928         * cursor.[Ch]:
2929         * cursor_slice.h:
2930         * factory.[Ch]:
2931         * iterators.[Ch]:
2932         * lyxfind.C:
2933         * lyxfunc.C:
2934         * lyxtext.h:
2935         * output_docbook.C:
2936         * output_latex.C:
2937         * output_linuxdoc.C:
2938         * output_plaintext.C:
2939         * paragraph.[Ch]:
2940         * paragraph_funcs.[Ch]:
2941         * paragraph_pimpl.[Ch]:
2942         * rowpainter.C:
2943         * tabular.C:
2944         * tabular.h:
2945         * text.C:
2946         * text2.C:
2947         * text3.C: more IU:  dumps most of the rest of the mathcursor
2948     implementation into cursor.[Ch]; "globalize" a bit of it.
2949
2950 2004-01-25  Angus Leeming  <leeming@lyx.org>
2951
2952         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2953
2954 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2955
2956         * LaTeXFeatures.h: add nice_ and nice() const
2957         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2958
2959 2004-01-20  André Pönitz  <poenitz@gmx.net>
2960
2961         * BufferView.[Ch]:
2962         * BufferView_pimpl.C:
2963         * PosIterator.C:
2964         * bufferview_funcs.C:
2965         * cursor.[Ch]:
2966         * cursor_slice.[Ch]:
2967         * factory.C:
2968         * iterators.C:
2969         * lyx_cb.C:
2970         * lyxfind.C:
2971         * lyxfunc.C:
2972         * lyxtext.h:
2973         * rowpainter.C:
2974         * text.C:
2975         * text2.C:
2976         * text3.C:
2977         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2978           LCursor and mathcursor parts to LCursor and InsetBase.
2979
2980 2004-01-15  André Pönitz  <poenitz@gmx.net>
2981
2982         * cursor_slice.[Ch]: add a few covienience functions
2983
2984         * funcrequest.[Ch]: remove BufferView * member
2985
2986         * BufferView_pimpl.C:
2987         * cursor.C:
2988         * factory.[Ch]:
2989         * lyxfind.[Ch]:
2990         * lyxfunc.C:
2991         * lyxtext.h:
2992         * text3.C:
2993         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2994
2995 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2996
2997         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2998         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2999
3000 2004-01-13  André Pönitz  <poenitz@gmx.net>
3001
3002         * textcursor.[Ch]:
3003         * lyxtext.h: hide cursor and selection anchor behind accessor function
3004
3005         * BufferView.C:
3006         * BufferView_pimpl.[Ch]:
3007         * PosIterator.C:
3008         * bufferview_funcs.C:
3009         * cursor.h:
3010         * lyxfind.C:
3011         * lyxfunc.C:
3012         * text.C:
3013         * text2.C:
3014         * text3.C:
3015         * undo.C: adjust
3016
3017         * cursor.h:
3018         * cursor_slice.[Ch]: some integer type changes for inset unification
3019
3020         * lyxcursor.[hC]: remove, it's CursorSlice now.
3021
3022         * Makefile.am:
3023         * BufferView_pimpl.[Ch]:
3024         * bufferview_funcs.C:
3025         * cursor_slice.C:
3026         * lyxtext.h:
3027         * text.C:
3028         * text2.C:
3029         * text3.C:
3030         * textcursor.[Ch]: adjust
3031
3032 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * text2.C (undoSpan): add and use
3035         * text.C (breakParagraph): use undoSpan (fix bug 578)
3036         * lyxtext.h: adjust
3037
3038 2004-01-08  Angus Leeming  <leeming@lyx.org>
3039
3040         * BufferView_pimpl.C (MenuInsertLyXFile):
3041         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3042         * lyxfunc.C (menuNew, open, doImport):
3043         FileFilterList change to the FileDialog open and save functions.
3044
3045 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3046
3047         * ShareContainer.h: make isEqual and isUnique adaptable
3048
3049         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3050
3051 2004-01-07  Angus Leeming  <leeming@lyx.org>
3052
3053         * LyXAction.C:
3054         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3055
3056         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3057
3058         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3059         functions replacing find, replace and replaceAll.
3060
3061         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3062         LFUN_WORDFIND(FORWARD|BACKWARD).
3063
3064 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * text.C (breakParagraph): remove an outdated #warning
3067
3068 2004-01-07  André Pönitz  <poenitz@gmx.net>
3069
3070         * lyxfind.C: somewhat clearer logic
3071
3072         * text.C: prevent crash in cursorX on unitialized row cache
3073
3074 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3075
3076         * lyxcursor.[Ch] (operator>): add
3077         * textcursor.C (selStart, selEnd): use std::min and std::max
3078
3079 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3080
3081         * Chktex.C: include boost/format.hpp
3082
3083 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3084
3085         * InsetList.C: replace functor MathcIt with adaptable functor
3086         InsetTablePosLess
3087         (insetIterator): modify accordingly
3088
3089         * BranchList.h: move the BranchNamesEqual functor here from...
3090         * BranchList.C: ... to here
3091
3092         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3093         SameName and match.
3094         (add): replace a finding loop with std::find_if.
3095
3096 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3097
3098         * output_docbook.C: moving LatexParam functionality into
3099         .layout files
3100
3101 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3102
3103         * buffer.C: increment format to 229.
3104
3105 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3106
3107         * LaTeXFeatures.C:
3108         * lyx_sty.[Ch]: remove minipageindent_def
3109
3110         * LyXAction.C:
3111         * factory.C:
3112         * lfuns.h:
3113         * lyxfunc.C:
3114         * text3.C: remove LFUN_INSET_MINIPAGE
3115
3116 2003-12-28  Angus Leeming  <leeming@lyx.org>
3117
3118         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3119
3120 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3121
3122         * text2.C (setParagraph): fix off-by-one crash
3123
3124 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3125
3126         * output_docbook.C: header stuff for AGU
3127
3128 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3129
3130         * text2.C (redoCursor): remove
3131         * text.C:
3132         * text3.C:
3133         * BufferView_pimpl.C: remove calls to redoCursor and
3134         setCursor(cursor.par(), cursor.pos()) all around
3135
3136 2003-12-15  Angus Leeming  <leeming@lyx.org>
3137
3138         * buffer.C: up the format to 228.
3139
3140 2003-12-15  André Pönitz  <poenitz@gmx.net>
3141
3142         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3143         slices
3144
3145         * Makefile.am:
3146
3147         * BufferView_pimpl.C:
3148         * cursor.[Ch]:
3149         * lyxcursor.[Ch]:
3150         * rowpainter.[Ch]:
3151         * lyxtext.h:
3152         * text.C:
3153         * text2.C:
3154         * text3.C: adjust
3155
3156 2003-12-15  Angus Leeming  <leeming@lyx.org>
3157
3158         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3159         than getFromGUIName to manipulate the color.
3160
3161 2003-12-14  Angus Leeming  <leeming@lyx.org>
3162
3163         * BranchList.[Ch]: minimize the API.
3164         (Branch::getBranch, getColor): now return a 'const &'.
3165         (Branch::setSelected) now returns a bool set to true if the
3166         selection status changes.
3167         (BranchList::clear, size, getColor, setColor, setSelected,
3168         allBranches, allSelected, separator): removed.
3169         (BranchList::find): new functions, returning the Branch with
3170         the given name.
3171         (BranchList::add, remove): return a bool indicating that
3172         the operation was successful.
3173
3174         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3175         new InsetBranch::isBranchSlected member function.
3176
3177         * LColor.[Ch]: mimimize the API.
3178         (fill): renamed as addColor and made private.
3179         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3180         versions of these functions taking a string arg have been removed.
3181
3182         * bufferparams.C (readToken):
3183         * lyxfunc.C (dispatch):
3184         * lyxrc.C (read): changes due to the altered BranchList and
3185         LColor APIs.
3186
3187         * factory.C (createInset, readInset): changes due to altered
3188         InsetBranch c-tor.
3189
3190 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3191
3192         * factory.C:
3193         * lyxfunc.C: remove insetminipage. "minipage-insert"
3194         now produces a frameless minipage box inset.
3195
3196 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3197
3198         * textcursor.[Ch] (selStart,selEnd): add new methods
3199         remove selection::start, end, use LyXCursor::operator<
3200         * lyxcursor.[Ch] (operator<): add
3201         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3202         * BufferView.[Ch] (unsetXSel): add
3203         * text2.C (clearSelection): use unsetXSel,adjust
3204         * text.C: adjust
3205         * text3.C: adjust
3206         * rowpainter.C: adjust
3207         * bufferview_funcs.C (put_selection_at): adjust
3208
3209 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * BufferView_pimpl.C: small coord. correction
3212
3213 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3216         dragging over the splash screen.
3217
3218 2003-12-11  Angus Leeming  <leeming@lyx.org>
3219
3220         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3221         as it is now handled in LyXText::dispatch.
3222
3223         * text3.C (doInsertInset): remove a level of nesting.
3224
3225 2003-12-11  Angus Leeming  <leeming@lyx.org>
3226
3227         * factory.C (createInset): changes due to the changed interface to
3228         InsetCommandMailer::string2params.
3229
3230 2003-12-10  Angus Leeming  <leeming@lyx.org>
3231
3232         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3233         'dialog-show-new-inset <inset name>'
3234
3235 2003-12-10  Angus Leeming  <leeming@lyx.org>
3236
3237         * buffer.C: up the format to 227.
3238
3239         * factory.C: the box inset is now identified simply by 'Box'.
3240
3241 2003-12-10  Angus Leeming  <leeming@lyx.org>
3242
3243         * buffer.C: up the format to 226.
3244
3245         * factory.C: the note inset is now identified simply by 'Note'.
3246
3247 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3250         when a pit is enough. Standarize a couple of loops.
3251
3252 2003-12-05  Angus Leeming  <leeming@lyx.org>
3253
3254         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3255         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3256         data to the re-worked "log" dialog.
3257
3258 2003-12-03  André Pönitz  <poenitz@gmx.net>
3259
3260         * PosIterator.C:
3261         * iterators.C:
3262         * lyxtext.h:
3263         * output_latex.C:
3264         * paragraph_funcs.C:
3265         * text.C:
3266         * text2.C: use Inset::getText instead of Inset::getParagraph
3267
3268 2003-12-03  André Pönitz  <poenitz@gmx.net>
3269
3270         * buffer.[Ch]:
3271         * lyxtext.h:
3272         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3273         InsetText::read() as LyXText::read()
3274
3275 2003-12-02  Angus Leeming  <leeming@lyx.org>
3276
3277         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3278         type. Add a comment in the implementation that the function uses
3279         the stream's bad() function rather than fail() as the std::streams
3280         would do.
3281
3282 2003-12-02  André Pönitz  <poenitz@gmx.net>
3283
3284         * lyxlex.[Ch]: make interface more similar to std::stream
3285
3286         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3287
3288 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3289
3290         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3291
3292 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3293
3294         * vspace.[Ch]: remove VSpace::NONE
3295
3296 2003-12-01  André Pönitz  <poenitz@gmx.net>
3297
3298         * buffer.[Ch]:
3299         * lyxtext.h: move ParagraphList member to LyXText
3300         rename LyXText::ownerParagraphs to LyXText::paragraph
3301
3302         * CutAndPaste.C:
3303         * bufferview_funcs.C:
3304         * iterators.[Ch]:
3305         * lyx_cb.C:
3306         * paragraph.C:
3307         * rowpainter.C:
3308         * tabular.C:
3309         * text.C:
3310         * text2.C:
3311         * text3.C: adjust
3312
3313         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3314
3315         * undo.C: fix cursor positioning
3316
3317 2003-12-01  John Levon  <levon@movementarian.org>
3318
3319         * BufferView_pimpl.C: fix a crash on exit with
3320         a buffer open
3321
3322 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3323
3324         * BranchList.C: fix setSelected() method.
3325
3326 2003-11-28  André Pönitz  <poenitz@gmx.net>
3327
3328         * ParagraphParameters.[Ch]:
3329         * ParameterStruct.h: remove space above/below from Paragraph to
3330          InsetVSpace
3331
3332         * BufferView_pimpl.C:
3333         * factory.C:
3334         * lyxfunc.C:
3335         * lyxtext.h:
3336         * output_latex.C:
3337         * paragraph.C:
3338         * paragraph_funcs.C:
3339         * rowpainter.[Ch]:
3340         * text.C:
3341         * text2.C:
3342         * text3.C: adjust
3343
3344 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3345
3346         * factory.C: Syntax change for CharStyles
3347
3348 2003-11-28  André Pönitz  <poenitz@gmx.net>
3349
3350         * BufferView.[Ch]:
3351         * BufferView.[Ch]:
3352         * buffer.[Ch]:
3353         * buffer.[Ch]: move LyXText member
3354
3355 2003-11-28  André Pönitz  <poenitz@gmx.net>
3356
3357         * BufferView.[Ch]: make LyXText * text a private member
3358
3359         * BufferView_pimpl.C:
3360         * cursor.C:
3361         * iterators.C:
3362         * lyx_cb.C:
3363         * lyxfind.C:
3364         * lyxtext.h:
3365         * rowpainter.[Ch]:
3366         * text.C:
3367         * text2.C:
3368         * undo.C: adjust
3369
3370         * output_plaintext.C: cleanup
3371
3372 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3373
3374         * buffer.C:
3375         * lyxtextclass.[Ch]: parametrize SGML document header
3376
3377 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3378
3379         * converter.[Ch]:
3380         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3381         getFlavor().
3382
3383 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3384
3385         * text2.C (setFont): rework using PosIterator (no more recursive)
3386         (setCharFont): no more needed
3387         (setLayout): no more selection cursors fiddling (done by redoCursor)
3388         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3389         destroy remaining ones)
3390
3391 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3392
3393         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3394         * lyxtext.h: ditto
3395         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3396         selection cursors
3397         * lyxfunc.C: adjust
3398         * text3.C: adjust + re-allow multi par depth changes
3399         * textcursor.C: simplify a bit
3400
3401 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3402
3403         * src/buffer.C:
3404         * src/lyxlayout.C:
3405         * src/lyxlayout.h:
3406         * src/lyxtext.h:
3407         * src/output_docbook.C:
3408         * src/output_latex.C:
3409         * src/paragraph.C:
3410         * src/paragraph.h:
3411         * src/sgml.C:
3412         * src/sgml.h:
3413         * src/text2.C: Introducing a number of tags parametrizing various
3414         XML formats that we may want to support
3415
3416 2003-11-25  André Pönitz  <poenitz@gmx.net>
3417
3418         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3419
3420         * lyxtext.h (leftMargin/rightMargin): simplify interface
3421
3422         * rowpainter.C:
3423         * text.C:
3424         * text2.C:
3425         * text3.C: adjust
3426
3427 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3428
3429         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3430         master file to any child files. Fixes bug 546.
3431
3432 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3433
3434         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3435
3436 2003-11-24  André Pönitz  <poenitz@gmx.net>
3437
3438         * rowpainter.C: simplification
3439
3440         * text2.C (updateCounters): remove call to redoParagraph on
3441         changed labels as this is far too expensive.
3442
3443 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3444
3445         * converter.C (convert): fix a crash: this function gets
3446         called with buffer == 0 from importer code.
3447
3448 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3449
3450         * text3.C (cursorPrevious): make sure that we do not compare
3451         iterators form different containers.
3452         (cursorNext): ditto
3453
3454         * rowpainter.C (paintSelection): make sure that we do not compare
3455         iterators from different containers.
3456
3457         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3458         iterators from different ParagraphList containers.
3459         [NEXT] ditto
3460
3461         * text2.C (LyXText): change order of initialization slightly
3462         (operator=): new function. copy all variables except cache_par_
3463         (moveUp): make sure that we do not compare iterators from
3464         different ParagraphList constainers.
3465         (moveDown): ditto
3466
3467         * text.C (firstPar): new function
3468         (lastPar): new function
3469         (endPar): new function
3470
3471         * lyxtext.h: move things around and group public functions, public
3472         variables, private functions, private variables
3473
3474 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3475
3476         * factory.C: change call to InsetERT constructor to avoid
3477         additional invocation of method status
3478         * text2.C (toggleInset): remove redundant update() call
3479         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3480         instead of a Bufferview pointer
3481
3482 2003-11-21  André Pönitz  <poenitz@gmx.net>
3483
3484         * rowpainter.C: simplification
3485
3486 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3487
3488         * text3.C (dispatch): make possible to extend a word/row selection
3489         with the mouse
3490
3491 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3492
3493         * lyxtext.h: x0_,y0_ -> xo_,yo_
3494         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3495         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3496         * rowpainter.C (paintRows): paint full paragraphs
3497
3498 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3499
3500         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3501         screen coordinates)
3502
3503 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3504
3505         * lyxtext.h: add x0_, y0_
3506         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3507         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3508
3509 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3510
3511         * text2.C (setCursorIntern): move the x_target update here *
3512         * text3.C: change some bv() to true/false in calls to
3513         cursorUp/Down/Right/Left
3514         * cursor.C: use helper function.
3515
3516 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3517
3518         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3519         * paragraph_funcs.[Ch]: correct comment
3520         * rowpainter.C: do not paint selections away from bv->cursor()
3521         Fix a long standing selection painting bug.
3522         * text3.C: generalize mouse-selection code to LyXTexts other that
3523         top one
3524         * textcursor.C: do not use y coords if we can use par offsets
3525
3526 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3529         cursor position after e.g. inset insert)
3530
3531 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3532
3533         * lyxfind.C (replace): adjust to locking removal + some
3534         code simplification
3535
3536 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3537
3538         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3539         of the path
3540
3541 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3542
3543         * lyxlayout.[Ch]:
3544         * output_docbook.C: XML sanitation: new layout
3545         parameters InnerTag and CommandDepth
3546
3547 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3548
3549         * BufferView_pimpl.C:
3550         * factory.C:
3551         * text3.C: Fix the insertion and modification of button-style
3552         insets
3553
3554 2003-11-13  André Pönitz  <poenitz@gmx.net>
3555
3556         * InsetList.[Ch]: remove deleteLyXText
3557
3558         * paragraph.[Ch]: cache beginOfBody position
3559
3560         * Bidi.C:
3561         * text.C:
3562         * text2.C:
3563         * text3.C: remove superfluous update() calls
3564
3565         * vspace.C: cleanup
3566
3567 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3568
3569         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3570         * BufferView.C (fitLockedInsetCursor): remove
3571         * cursor.[Ch] (getDim): add
3572         * text.C (getRowNearY): add faster version
3573         * text3.C: remove some update calls
3574
3575 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3576
3577         * LaTeXFeatures.C:
3578         * LyXAction.C:
3579         * MenuBackend.C:
3580         * MenuBackend.h:
3581         * dispatchresult.h:
3582         * factory.C:
3583         * lfuns.h:
3584         * lyxfunc.C:
3585         * lyxtextclass.C:
3586         * lyxtextclass.h:
3587         * text3.C: The Character Style /XML short element patch.
3588
3589 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3590
3591         * text3.C:
3592         * factory.C: Small step to solving 'unable to insert some insets'
3593         problem
3594
3595 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3596
3597         * cursor.[Ch] (updatePos): new function for updating the y
3598         position of the tip inset
3599         * bufferview_funcs.C (put_selection_at):
3600         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3601
3602 2003-11-11  André Pönitz  <poenitz@gmx.net>
3603
3604         * text.C: remove big comment on invalid Paragraph pointers as it is
3605         not valid anymore
3606
3607 2003-11-11  André Pönitz  <poenitz@gmx.net>
3608
3609         * text_funcs.[Ch]: merge with ...
3610
3611         * text.C: ... this
3612
3613         * lyxtext.h:
3614         * text2.C:
3615         * text3.C: adjust
3616
3617         * Makefile.am: remove text_funcs.[Ch]
3618
3619 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3620
3621         * cursor.C (getPos): return absolute cached y coord
3622
3623         * BufferView_pimpl.C (fitCursor): new simplistic code
3624         (workAreaDispatch): add a fitCursor call
3625
3626 2003-11-10  André Pönitz  <poenitz@gmx.net>
3627
3628         * BufferView.[Ch]:
3629         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3630
3631 2003-11-10  André Pönitz  <poenitz@gmx.net>
3632
3633         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3634         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3635         indicate that the cursor needs to leave an inset
3636
3637         * lyxtext.h: remove inset locking
3638
3639         * cursor.[Ch]: re-implement functionality provided by inset locking
3640
3641         * BufferView.[Ch]:
3642         * BufferView_pimpl.[Ch]:
3643         * LyXAction.C:
3644         * bufferview_funcs.[Ch]:
3645         * factory.C:
3646         * funcrequest.[Ch]:
3647         * iterators.C:
3648         * lyx_cb.C:
3649         * lyxfind.C:
3650         * lyxfunc.C:
3651         * text.C:
3652         * text2.C:
3653         * text3.C:
3654         * undo.C: adjust
3655
3656 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * PosIterator.[Ch]: replace the stack with a vector, add inset
3659         accesor
3660         * iterators.[C]: adjust
3661
3662 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3663
3664         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3665         replaced
3666         * paragraph_funcs.C (readParToken): put the correct id in the
3667         error item, not the id of the top paragraph
3668
3669 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3672         * bufferview_funcs.C (put_selection_at): use the above
3673
3674 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3677
3678 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3679
3680         * output_linuxdoc.h:
3681         * output_plaintext.h:
3682         * output.h:
3683         * output_docbook.h: add #include statements
3684
3685 2003-11-05  José Matos  <jamatos@lyx.org>
3686
3687         * output_docbook.[Ch]:
3688         * output_latex.[Ch]:
3689         * output_linuxdoc.[Ch]:
3690         * output_plaintext.[Ch]: New files for output formats.
3691         * output.[Ch]: New file for helper functions.
3692
3693         * buffer.[Ch]:
3694         * paragraph_funcs.[Ch]: output functions moved to new files.
3695
3696         * outputparams.h: rename of latexrunparams.h
3697
3698         * LaTeX.[Ch]:
3699         * buffer.[Ch]:
3700         * bufferlist.[Ch]:
3701         * converter.[Ch]:
3702         * exporter.C:
3703         * paragraph.[Ch]:
3704         * paragraph_funcs.[Ch]:
3705         * paragraph_pimpl.[Ch]:
3706         * tabular.[Ch]: rename ascii to plaintext
3707         and LatexRunParams to OutputParams.
3708
3709 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3710
3711         * iterators.[Ch] (text): require bv argument
3712         * undo.C (recordUndo):
3713         * lyxfunc.C (dispatch):
3714         * bufferview_funcs.C (put_selection_at): adjust
3715
3716 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3717
3718         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3719
3720 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3723         nestings
3724
3725 2003-11-04  André Pönitz  <poenitz@gmx.net>
3726
3727         * cursor.[Ch]: restructure
3728
3729         * BufferView.[Ch]:
3730         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3731
3732         * iterators.[Ch] (asCursor): remove
3733
3734         * lfuns.h: remove LFUN_INSET_EDIT
3735
3736         * lyxfunc.C:
3737         * tabular.C:
3738         * text.C:
3739         * text2.C:
3740         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3741
3742 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3743
3744         * lyxfind.[Ch]: complete overhaul
3745         * BufferView_pimpl.C:
3746         * lyxfunc.C: adjust
3747         * paragraph.[Ch] (insert): add
3748
3749 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3750
3751         * BufferView.[Ch]:
3752         * lyxtext.h:
3753         * text.C: remove dead spellcheck code
3754
3755 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3756
3757         * dispatchresult.h: add a val setter
3758
3759         * cursor.C (dispatch): use a tempvar for data_[i]
3760
3761 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * PosIterator.[Ch]: compile fix
3764
3765 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3766
3767         * text.C (cursorPar): deactivate the cursor cache
3768
3769 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3770
3771         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3772
3773 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * text3.C (dispatch): adjust for new DisptchResult semantics.
3776
3777         * lyxfunc.C (dispatch): handle update when return from
3778         Cursor::dispatch, adjust for new DispatchResult semantics.
3779
3780         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3781         DispatchResult(true) mean to not update. Add class functions for
3782         setting dispatched and update, as well as reading.
3783
3784         * cursor.C (dispatch): don't handle update here
3785
3786 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3789         * trans_mgr.C: adjust
3790
3791         * paragraph_funcs.C (readParToken): exception safety
3792
3793         * lyxvc.h: store the vcs pointer in a scoped_ptr
3794         * lyxvc.C: adjust
3795
3796         * lyxsocket.C (serverCallback): exception safety
3797
3798         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3799
3800         * ispell.C (clone): make it return a auto_ptr
3801
3802         * factory.C (createInset): exception safety
3803         (readInset): exception safety
3804
3805         * bufferlist.C (newBuffer): exception safety
3806
3807         * Thesaurus.C (Thesaurus): use initialization for aik_
3808
3809         * MenuBackend.C (expandToc): exception safety.
3810
3811 2003-11-03  André Pönitz  <poenitz@gmx.net>
3812
3813         * buffer.C:
3814         * buffer.h:
3815         * bufferview_funcs.C: remove getInsetFromId()
3816
3817         * lyxcursor.[Ch]:
3818         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3819
3820         * lyxfunc.C:
3821         * text2.C:
3822         * text3.C: adjust
3823
3824 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3825
3826         * PosIterator.C (distance, advance): new
3827         * bufferview_funcs.[Ch] (put_selection_at): new
3828         * iterators.[Ch] (lockPath): new
3829
3830 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3831
3832         * iterators.[Ch] (asPosIterator): added
3833         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3834         * PosIterator.[Ch]: added
3835
3836 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * text3.C:
3839         * lyxfunc.C:
3840         * cursor.C (dispatch):
3841         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3842
3843         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3844         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3845         contructor, add a class function dispatched. Remove operator>=
3846
3847 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * debug.C: only use the default constructor for debugstream
3850         (lyxerr) here.
3851
3852         * main.C (main): include debug.h and setup the lyxerr streambuf
3853         here.
3854
3855 2003-10-31  José Matos  <jamatos@lyx.org>
3856
3857         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3858
3859         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3860         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3861         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3862         * paragraph_pimpl.C (simpleTeXSpecialC):
3863         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3864         add LatexRunParams argument.
3865
3866         * exporter.C (Export): change call accordingly.
3867
3868         * latexrunparams.h: add new member to take care of the other backends.
3869 2003-10-30  José Matos  <jamatos@lyx.org>
3870
3871         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3872         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3873         factorise code for paragraph output.
3874         * buffer.[Ch]:
3875         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3876         move functions.
3877
3878 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3879
3880         * text3.C (dispatch):
3881         * lyxfunc.C (dispatch):
3882         * cursor.C (dispatch):
3883         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3884
3885         * dispatchresult.h: make the dispatch_result_t ctor explicit
3886
3887 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3888
3889         * sgml.[Ch]:
3890         * buffer.C: small refactoring of docbook stuff
3891
3892 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3893
3894         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3895         meaning.
3896
3897 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3900         operator dispatch_result_t, and operators for == != and >=
3901
3902         * cursor.C (dispatch): adjust for operator dispatch_result_t
3903         removal. comment out call to update
3904
3905         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3906
3907 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * text3.C:
3910         * text2.C:
3911         * text.C:
3912         * lyxtext.h:
3913         * lyxfunc.C:
3914         * cursor.C:
3915         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3916         (dispatch):
3917
3918         * dispatchresult.h: new file, DispatchResult broken out of
3919         insets/insetbase.h
3920
3921         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3922
3923 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * text.C (rowBreakPoint): put a hack inside #if 0
3926
3927 2003-10-28  André Pönitz  <poenitz@gmx.net>
3928
3929         * lyxtext.h:
3930         * metricsinfo.C:
3931         * paragraph_funcs.C:
3932         * rowpainter.C:
3933         * text.C:
3934         * text2.C: general cleanup (lots of small stuff)
3935
3936 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3937
3938         * text2.C (cursorEnd): simple fix to the "end key goes to one
3939         before the end on last row" bug
3940
3941 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3942
3943         * text.C (backspace): fix the "zombie characters"
3944
3945 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3946
3947         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3948
3949 2003-10-27  André Pönitz  <poenitz@gmx.net>
3950
3951         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3952
3953         * factory.C: handle new InsetPagebreak, InsetLine
3954
3955         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3956         and move handling into new InsetPagebreak, InsetLine
3957
3958         * BufferView_pimpl.C:
3959         * LyXAction.C:
3960         * ParagraphParameters.C:
3961         * ParameterStruct.h:
3962         * lyxfunc.C:
3963         * lyxtext.h:
3964         * paragraph.C:
3965         * paragraph.h:
3966         * paragraph_funcs.C:
3967         * paragraph_pimpl.C:
3968         * rowpainter.C:
3969         * text.C:
3970         * text2.C:
3971         * text3.C: adjust
3972
3973 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3974
3975         * text.C:
3976         * lyxrow_funcs.[Ch]:
3977         * Bidi.C:
3978         * paragraph.C:
3979         * lyxtext.h:
3980         * rowpainter.C:
3981         * text2.C:
3982         * text3.C: remove lastPos uses in favour of Row::endpos
3983
3984 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * undo.C (performUndoOrRedo): fix two crashes by setting a
3987         cursor by hand and reordering some calls. Use bv->lockInset instead
3988         of inset->edit because the latter loses cursor information
3989
3990 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3991
3992         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3993         by Martin
3994         (rowBreakPoint): fix width. change point to point + 1.
3995         Add a missing check.
3996
3997 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3998
3999         * MenuBackend.C:
4000         * lyxfunc.C: fix (at least partly) the problems
4001         with the Nav menu and headers inside branch insets
4002         reported by Kayvan
4003
4004 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4005
4006         * paragraph.C (getChar): add strong asserts
4007
4008         * lyxrow_funcs.C (lastPos): remove hideous hack
4009
4010         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4011         (fill): adjust to that (avoid an infinite loop)
4012
4013 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4014
4015         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4016
4017 2003-10-23  André Pönitz  <poenitz@gmx.net>
4018
4019         * RowList_fwd.h: change list<> to vector<> to gain speed
4020         after suggestion from Alfredo
4021
4022 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4023
4024         * lyxtext.h: move the bidi stuff from here...
4025         * text.C: and here
4026         * text2.C: and here
4027         * Bidi.[Ch]: ... to here
4028
4029 2003-10-23  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxtext.h:
4032         * text.C (isLastRow, isFirstRow): new functions
4033
4034         * paragraph.h: new width cache member
4035
4036         * rowpainter.C: replace RowList::iterator with Row & where possible
4037
4038         * lyxfunc.C: replace several view()->text with a single call
4039
4040         * toc.C: fix 'unused' warning
4041
4042 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4045         when woring with stream::pos_type
4046         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4047
4048 2003-10-22  André Pönitz  <poenitz@gmx.net>
4049
4050         * lyxtext.h:
4051         * text.C: use Row & instead of RowList::iterator
4052
4053         * lyxrow.h: rename end() to endpos()
4054
4055         * rowpainter.C:
4056         * text.C:
4057         * text2.C: adjust
4058
4059 2003-10-22  Angus Leeming  <leeming@lyx.org>
4060
4061         * buffer.[Ch] (fully_loaded): new member function, returning true
4062         only when the file has been loaded fully.
4063         Used to prevent the premature generation of previews and by the
4064         citation inset to prevent computation of the natbib-style label.
4065
4066         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4067         templates are all set up.
4068
4069         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4070
4071 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4072
4073         * text.C: fixed an "oops" in the "is a bit silly"
4074         bug fix
4075
4076 2003-10-21  André Pönitz  <poenitz@gmx.net>
4077
4078         * FuncStatus.[Ch]: small stuff, whitespace
4079
4080         * lyxfont.[Ch]: operator<<() for debug reasons
4081
4082         * lyxfunc.C:
4083         * lyxrow_funcs.C:
4084         * lyxtext.h: whitespace, spelling
4085
4086         * paragraph.C: naming of variables
4087
4088         * text.C:
4089         * text2.C: small stuff
4090
4091
4092 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4093
4094         * text.C: (1) finish off the inset display() work;
4095         (2) fix the "is a bit silly" bug (accessing char
4096         past end of par).
4097
4098 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4099
4100         * text.C: re-introduce display() for insets, fixing the
4101         various bugs (stretch of line above, math inset
4102         positioning, ...)
4103
4104 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4105
4106         * text.C (rightMargin): remove spurious semicolon
4107
4108         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4109         1415)
4110
4111 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4112
4113         * text3.C: fix one crash due to wrong cursor def
4114
4115 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4116
4117         * vc-backend.C (scanMaster): make the regex static
4118
4119         * LaTeX.C (scanAuxFile): make the regexs static
4120
4121         * text3.C (doInsertInset, dispatch, dispatch):
4122         * text2.C (cursorUp, cursorDown):
4123         * text.C (selectNextWordToSpellcheck):
4124         * BufferView_pimpl.C (dispatch):
4125         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4126
4127 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4128
4129         * lyxsocket.C: include <cerrno>
4130
4131 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * lyxfunc.C (dispatch): remove textcache stuff
4134
4135         * bufferlist.C (release): remove textcache stuff
4136         (closeAll): ditto
4137
4138         * TextCache.C: delete file
4139         * TextCache.h: delete file
4140
4141         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4142
4143         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4144         delete of the bv_->text.
4145         (resizeCurrentBuffer): remove texcache stuff
4146         (workAreaResize): ditto
4147
4148 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4151         action.
4152
4153 2003-10-16  André Pönitz  <poenitz@gmx.net>
4154
4155         * lyxrow.[Ch]:
4156         * paragraph.h:
4157         * rowpainter.C:
4158         * text.C:
4159         * text2.C:
4160         * text3.C: speed up by storing y positions per paragraph plus per-row
4161         offset instead of having a 'full' y position in the row.
4162
4163 2003-10-15  André Pönitz  <poenitz@gmx.net>
4164
4165         * iterators.[Ch]:
4166         * iterators.[Ch]:
4167         * undo.[Ch]: make undo aware of inner insets
4168
4169 2003-10-14  Angus Leeming  <leeming@lyx.org>
4170
4171         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4172         static member functions LyX::ref() and LyX::cref.
4173         (lastfiles): new accessor functions for the new lastfiles_ member var.
4174         (addLyXView, views_): add a new LyXView to the list of views_.
4175         (updateInset): loop over all LyXViews to call their own updateInset
4176         member function, returning a pointer to the Buffer owning the inset.
4177
4178         * BufferView_pimpl.C (loadLyXFile):
4179         * MenuBackend.C (expandLastfiles):
4180         * bufferlist.C (MenuWrite, QuitLyX):
4181         lastfiles is no longer a global variable.
4182         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4183
4184         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4185         static function. Access through LyX::cref().emergencyCleanup().
4186
4187 2003-10-14  André Pönitz  <poenitz@gmx.net>
4188
4189         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4190
4191         * undo.[Ch]: restoring part of 'undo in insets'
4192
4193         * Makefile.am:
4194         * undo_funcs.[Ch]: merge with undo.[Ch]
4195
4196         * tabular.C: small cleansing stuff
4197
4198 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * paragraph_funcs.C (readParToken): report unknown insets as error
4201         boxes. Use the outer paragraph as location (also for unknown
4202         tokens).
4203
4204         * factory.C (readInset): do not abort on reading an unknown inset.
4205         Eat it and return 0.
4206
4207 2003-10-13  Angus Leeming  <leeming@lyx.org>
4208
4209         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4210
4211         * lyxrc.C: displayTranslator is now a function,
4212         declared in GraphicsTypes.h.
4213
4214 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4215
4216         * format.C: new placeholder $$a to pass the socket address.
4217
4218         * bufferlist.[Ch]: new function getBufferFromTmp.
4219
4220         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4221           files in the temporary dir.
4222
4223 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4224
4225         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4226
4227         * Makefile.am: add lyxsocket.[Ch].
4228
4229         * lyx_main.C (error_handler): handle SIGPIPE.
4230
4231 2003-10-13  André Pönitz  <poenitz@gmx.net>
4232
4233         * BufferView_pimpl.C:
4234         * lyxtext.h:
4235         * text.C:
4236         * text2.C:
4237         * text3.C:
4238         * undo_funcs.[Ch]: use paroffset_type instead of
4239           ParagraphList::iterators to prevent multiple conversion
4240           (and get a more robust interface)
4241
4242 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4245         * lyxtext.h: ditto
4246         * text3.C (dispatch): ditto
4247
4248 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4251         move the onlyfile, use onlyfile instead of foundfile in a couple
4252         of places.
4253
4254         * DepTable.C (update): flush the error stream a bit more
4255
4256 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * lyxserver.C (callback): adjust
4259
4260         * lyxfunc.C (getStatus): add a missing brace in commented code
4261         (ensureBufferClean): reindent
4262         (dispatch): delete version taking a string
4263
4264 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * LaTeX.C (deplog): move found file handlig from here...
4267         (handleFoundFile): .. to new function here.
4268         (deplog): make sure to discover several files mentioned on the
4269         same log line.
4270
4271 2003-10-10  André Pönitz  <poenitz@gmx.net>
4272
4273         * lyxfunc.C:
4274         * lyxtext.h:
4275         * tabular.C:
4276         * text.C:
4277         * text2.C:
4278         * text3.C: fix some of the tabular crashes
4279
4280 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4281
4282         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4283
4284         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4285
4286 2003-10-09  André Pönitz  <poenitz@gmx.net>
4287
4288         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4289
4290         * BufferView.C:
4291         * BufferView_pimpl.C:
4292         * bufferview_funcs.C:
4293         * lyx_cb.C:
4294         * lyxcursor.C:
4295         * lyxfind.C:
4296         * lyxfunc.C:
4297         * lyxtext.h:
4298         * text.C:
4299         * text2.C:
4300         * text3.C:
4301         * text_funcs.[Ch]:
4302         * textcursor.[Ch]:
4303         * undo_funcs.C: adjust
4304
4305 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * text2.C (incrementItemDepth): new function, use a backtracking
4308         algorithm to discover the correct item depth.
4309         (resetEnumCounterIfNeeded): new function, use a backtracking
4310         algorithm to discover if counter reset is needed.
4311         (setCounter): use them. Simplify a bit. Add different labels for
4312         different item depths for itemize.
4313
4314         * paragraph.C (Paragraph): remove initialization of enumdepth
4315         (operator=): ditto
4316
4317         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4318         enumerate and itemize. Change the type of itemdepth to signed char.
4319
4320 2003-10-08  André Pönitz  <poenitz@gmx.net>
4321
4322         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4323           thing assignable.
4324         * text.C:
4325         * text2.C: adjust
4326
4327         * tabular.[Ch]: fix crash after 'row-insert'
4328
4329 2003-10-08  Angus Leeming  <leeming@lyx.org>
4330
4331         Fix doxygen warnings.
4332
4333         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4334         Remove CutAndPaste:: prefix from header file declaration.
4335
4336         * LColor.h (fill): remove LColor:: prefix from declaration.
4337
4338         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4339         use lyx::depth_type rather than Paragraph::depth_type so that
4340         header file and .C file match.
4341
4342         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4343
4344         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4345         * aspell.C: \file aspell_local.C -> \file aspell.C
4346         * gettext.C: \file gettext.C -> \file src/gettext.C
4347         * gettext.h: \file gettext.h -> \file src/gettext.h
4348         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4349         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4350         * text.C: \file text.C -> \file src/text.C
4351
4352         * toc.C: move comment so that doxygen is not confused.
4353
4354 2003-10-07  Angus Leeming  <leeming@lyx.org>
4355
4356         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4357
4358 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4359
4360         * aspell.C:
4361         * aspell_local.h: add forgotten std::string's.
4362
4363 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4364
4365         * LaTeXFeatures.C:
4366         * LyXAction.C:
4367         * factory.C:
4368         * lfuns.h:
4369         * lyxfunc.C:
4370         * text3.C: The Box patch. Fancybox support, minipage, parbox
4371
4372 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4373
4374         * CutAndPaste.h:
4375         * DepTable.h:
4376         * FloatList.h:
4377         * LaTeXFeatures.h:
4378         * ParagraphParameters.h:
4379         * TextCache.h:
4380         * Thesaurus.h:
4381         * bufferlist.h:
4382         * exporter.h:
4383         * importer.h:
4384         * lastfiles.h:
4385         * lyxfind.h:
4386         * lyxfont.h:
4387         * lyxlex.h:
4388         * lyxtextclasslist.h:
4389         * messages.h:
4390         * paragraph.h:
4391         * paragraph_pimpl.C:
4392         * textcursor.h: add <string> and other small fixes to make Lars'
4393         std::string patch compile with STLport.
4394
4395 2003-10-06  Angus Leeming  <leeming@lyx.org>
4396
4397         * LColor.h: Add missing #include <string>.
4398
4399 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * All most all file in all subdirs: Make <string> be the prefered
4402         way of getting to std::string, add using declarations.
4403
4404 2003-10-06  André Pönitz  <poenitz@gmx.net>
4405
4406         * metricsinfo.C: initialize LyXFont before changing attribute.
4407         (fixes the 'math in \emph is upright' bug)
4408
4409 2003-10-06  André Pönitz  <poenitz@gmx.net>
4410
4411         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4412
4413 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4414
4415         * graph.C:
4416         * paragraph_pimpl.C: Small fixes to build using STLport
4417
4418 2003-10-02  André Pönitz  <poenitz@gmx.net>
4419
4420         * lyxfunc.C:
4421         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4422
4423 2003-10-01  André Pönitz  <poenitz@gmx.net>
4424
4425         * factory.C: assert early
4426
4427 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * lyx_main.C: remove the global debug object
4430
4431         * debug.h: adjust for new debugstream
4432
4433         * debug.C: adjust for new debugstream and keep the global debug
4434         object here.
4435
4436 2003-09-22  Angus Leeming  <leeming@lyx.org>
4437
4438         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4439         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4440         an incomplete class LyXFont.
4441
4442 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4443
4444         * factory.C: bug fix in branches
4445
4446 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * lyxfunc.C (processKeySym): adjust
4449         (dispatch): adjust
4450         (dispatch): change arg name from ev to func, adjust
4451         (sendDispatchMessage): ditto
4452
4453         * lyx_main.C (defaultKeyBindings): adjust keybindings
4454         (deadKeyBindings): ditto
4455
4456         * kbsequence.C (addkey): return a FuncRequest
4457
4458         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4459
4460         * kbmap.C (bind): take a FuncRequest as arg, adjust
4461         (read): adjust
4462         (lookup): adjust
4463         (defkey): change to take a FuncRequest as arg, adjust
4464         (findbinding): take a FuncRequest as arg, adjust.
4465
4466         * funcrequest.h (operator=): added
4467
4468         * funcrequest.C (FuncRequest): default kb_action changed from
4469         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4470
4471         * buffer.C (dispatch): simplify
4472         (dispatch): adjust to take a FuncRequest as arg, adjust
4473
4474         * boost.C (assertion_failed): change assertion message slightly
4475
4476         * ToolbarBackend.C (read): simplify
4477
4478         * MenuBackend.C (binding): adjust call to findbinding, add a
4479         message if no binding is found.
4480         (read): simplify
4481         (expandToc): correct by adding a empty FuncRequest
4482
4483         * LyXAction.C: include <boost/assert.hpp>
4484         (isPseudoAction): delete function
4485         (LookupFunc): change name to...
4486         (lookupFunc): this. change return type to FuncRequest.
4487         (getActionName): take kb_action as arg, simplify
4488         (funcHasFlag): add an assert, simplify.
4489
4490 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * toc.C (action): return a FuncRequest, simplify
4493
4494         * lyxfunc.C (processKeySym): adjust
4495         (getStatus): delete version that takes an int.
4496         (getStatus): adjust
4497         (dispatch): delete version that takes action as int
4498         (dispatch): adjust
4499         (sendDispatchMessage): simplify and adjust
4500
4501         * funcrequest.C (getArg): take unsigned int as arg
4502
4503         * ToolbarBackend.C (read): adjust
4504         (add): delete version that takes func as a string.
4505         (getIton): take a FuncRequest as arg
4506
4507         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4508         action.
4509
4510         * MenuBackend.C (MenuItem): add a new construct that only takes a
4511         Kind, simplify the constructor use for submenus.
4512         (add): adjust
4513         (expandLastfiles): adjust
4514         (expandDocuments): adjust
4515         (expandFormats): adjust
4516         (expandFloatListInsert): adjust
4517         (expandFloatInsert): adjust
4518         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4519
4520         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4521         Remove class variables lyx_pseudo_map and lyx_arg_map
4522
4523         * LyXAction.C (searchActionArg): delete function
4524         (getPseudoAction): delete function
4525         (retrieveActionArg): delete function
4526         (LookupFunc): make it return kb_action, simplify.
4527         (getActionName): simplify
4528
4529         * factory.C (createInset): fix new bug
4530
4531 2003-09-19  Angus Leeming  <leeming@lyx.org>
4532
4533         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4534         masterFilename_ parameter in the include inset.
4535
4536         * factory.C (createInset): changes due to the changes to InsetInclude.
4537
4538 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4539
4540         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4541
4542 2003-09-18  Angus Leeming  <leeming@lyx.org>
4543
4544         * buffer.C:
4545         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4546         Inset::fillWithBibKeys.
4547         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4548
4549 2003-09-18  Angus Leeming  <leeming@lyx.org>
4550
4551         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4552         variables.
4553         (ctor): pass and store a 'Buffer const &'
4554         (buffer): new member function.
4555
4556         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4557         '*this' to the LaTeXFeatures ctor.
4558
4559 2003-09-18  Angus Leeming  <leeming@lyx.org>
4560
4561         * LColor.h:
4562         * lyxfont.C:
4563         * lyxfont.h:
4564         * lyxtext.h:
4565         * text.C: rename EnumLColor as LColor_color.
4566
4567 2003-09-18  Angus Leeming  <leeming@lyx.org>
4568
4569         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4570         remove #include "insets/insetbase.h" from cursor.h.
4571
4572 2003-09-18  Angus Leeming  <leeming@lyx.org>
4573
4574         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4575         InsetOld_code to remove #include "inset.h".
4576
4577         * iterators.C: add #include "insets/inset.h"
4578
4579 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4580
4581         * BufferView.C: remove more locking stuff that apparently doesn't
4582         do anything sensible.
4583
4584 2003-09-16  André Pönitz  <poenitz@gmx.net>
4585
4586         * paragraph.[Ch]:
4587         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4588           performance boost.
4589
4590 2003-09-16  Angus Leeming  <leeming@lyx.org>
4591
4592         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4593
4594         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4595         arg/return type.
4596
4597         * paragraph.h: remove #include "lyxfont.h". Forward declare
4598         LyXFont_size.
4599
4600 2003-09-16  Angus Leeming  <leeming@lyx.org>
4601
4602         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4603         of support/textutils.h.
4604         (isWord): move the contents of support/textutils.h's IsWordChar here.
4605
4606         * buffer.C:
4607         * lyxfind.C:
4608         * rowpainter.C:
4609         * text.C:
4610         * text2.C: add #include "paragraph.h".
4611
4612         * rowpainter.C:
4613         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4614
4615 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * main.C:
4618         * lyx_main.C:
4619         * lyx_cb.C:
4620         * buffer.C:
4621         * LaTeX.C: use namespace alias for lyx::support::os
4622
4623 2003-09-16  Angus Leeming  <leeming@lyx.org>
4624
4625         * bufferparams.C:
4626         * bufferview_funcs.C:
4627         * factory.C:
4628         * lyxfunc.C:
4629         * paragraph_pimpl.C:
4630         * rowpainter.C:
4631         * text.C: add #include "LColor.h".
4632
4633 2003-09-16  Angus Leeming  <leeming@lyx.org>
4634
4635         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4636         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4637         return LyXFont &.
4638         Store the FontBits::color variable as an int rather than as an
4639         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4640         file.
4641
4642         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4643         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4644         string calls together.
4645
4646         * lyxrc.C: add #include "LColor.h".
4647
4648 2003-09-15  Angus Leeming  <leeming@lyx.org>
4649
4650         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4651         a cow_ptr.
4652
4653 2003-09-15  Angus Leeming  <leeming@lyx.org>
4654
4655         * LColor.h: add an EnumLColor wrapper for LColor::color.
4656
4657         * lyxfont.[Ch] (color, setColor, realColor):
4658         * lyxtext.h, text.C (backgroundColor):
4659         pass EnumLColor args to/from the functions, rather than LColor::color
4660         ones.
4661
4662         * lyxfont.h:
4663         * lyxtext.h: forward declare EnumLColor.
4664
4665         * lyx_main.C: add #include "LColor.h".
4666
4667 2003-09-15  Angus Leeming  <leeming@lyx.org>
4668
4669         * .cvsignore: add lyx-gtk.
4670
4671 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * Chktex.C
4674         * LaTeX.C
4675         * LaTeXFeatures.C
4676         * ParagraphParameters.C
4677         * Spacing.C
4678         * buffer.C
4679         * bufferparams.C
4680         * bufferview_funcs.C
4681         * chset.C
4682         * counters.C
4683         * funcrequest.C
4684         * lyxfont.C
4685         * lyxgluelength.C
4686         * lyxlength.C
4687         * paragraph.C
4688         * paragraph_funcs.C
4689         * text3.C
4690         * vc-backend.C: remove usage of STRCONV
4691
4692 2003-09-15  Angus Leeming  <leeming@lyx.org>
4693
4694         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4695         explicitly define the color passed to the painter.
4696
4697 2003-09-15  Angus Leeming  <leeming@lyx.org>
4698
4699         * bufferparams.C (BufferParams): reorder member initializers to avoid
4700         compiler warning.
4701
4702 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4703
4704         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4705         * text.C (updateRowPositions): remove an unusual nop
4706
4707 2003-09-12  André Pönitz  <poenitz@gmx.net>
4708
4709         * BufferView_pimpl.C:
4710         * Bullet.C:
4711         * layout.h:
4712         * lyxfunc.C:
4713         * lyxlayout.[Ch]:
4714         * lyxtextclass.C:
4715         * rowpainter.C:
4716         * text.C:
4717         * text2.C:
4718         * Counters.[Ch]: finish the 'automatic counters' job
4719
4720 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4721
4722         * aspell.C: include <boost/assert.cpp> (compile fix)
4723
4724 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4725
4726         * boost.C (assertion_failed): use lyx::support::abort instead of
4727         assert.
4728
4729 2003-09-10  Angus Leeming  <leeming@lyx.org>
4730
4731         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4732         with their _fwd progeny.
4733
4734 2003-09-09  Angus Leeming  <leeming@lyx.org>
4735
4736         134 files throughtout the source tree: replace 'using namespace abc;'
4737         directives with the appropriate 'using abc::xyz;' declarations.
4738
4739 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4740
4741         * boost.C (emergencyCleanup): moved here from LAssert.c
4742         (assertion_failed): new function, called by BOOST_ASSERT
4743
4744         * several files: change Assert to BOOST_ASSERT
4745
4746 2003-09-09  Angus Leeming  <leeming@lyx.org>
4747
4748         * buffer.[Ch]: Add an Impl class and move Buffer's member
4749         variables into it. As a result move several header files out of
4750         buffer.h.
4751
4752         Add header files to lots of .C files all over the tree as a result.
4753
4754 2003-09-09  Angus Leeming  <leeming@lyx.org>
4755
4756         * buffer.[Ch]: make Buffer's member variables private. Add
4757         accessor functions.
4758
4759         Lots of changes all over the tree as a result.
4760
4761 2003-09-08  Angus Leeming  <leeming@lyx.org>
4762
4763         * graph.C: #include <config.h>.
4764
4765 2003-09-08  Angus Leeming  <leeming@lyx.org>
4766
4767         * BranchList.C:
4768         * BufferView.C:
4769         * BufferView_pimpl.C:
4770         * CutAndPaste.C:
4771         * DepTable.C:
4772         * LaTeX.C:
4773         * LaTeXFeatures.C:
4774         * LyXAction.C:
4775         * MenuBackend.C:
4776         * TextCache.C:
4777         * aspell.C:
4778         * buffer.C:
4779         * bufferlist.C:
4780         * changes.C:
4781         * chset.C:
4782         * converter.C:
4783         * counters.C:
4784         * debug.C:
4785         * graph.C:
4786         * ispell.C:
4787         * lyx_cb.C:
4788         * lyxfind.C:
4789         * lyxfunc.C:
4790         * lyxlex_pimpl.C:
4791         * lyxrc.C:
4792         * lyxrow.C:
4793         * paragraph.C:
4794         * rowpainter.C:
4795         * texrow.C:
4796         * text.C:
4797         * text2.C:
4798         * toc.C: remove redundant using directives.
4799
4800 2003-09-07  Angus Leeming  <leeming@lyx.org>
4801
4802         * LaTeXFeatures.h: remove #include "support/types.h".
4803         * ToolbarBackend.h: remove #include <algorithm>.
4804         * changes.h: remove #include <ctime>.
4805         * debug.h: remove #include <iosfwd>.
4806         * graph.h: remove #include "support/std_string.h".
4807         * lyx_main.h: remove #include <csignal>.
4808         * lyxlex_pimpl.h: remove #include <fstream>.
4809         * sgml.h: remove #include <algorithm>, <utility>.
4810         * toc.h: remove #include "support/std_ostream.h".
4811         Add #include <iosfwd>.
4812
4813 2003-09-07  Angus Leeming  <leeming@lyx.org>
4814
4815         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4816
4817         * converter.h: forward declare LatexRunParams.
4818         * encoding.h: remove #include "lyxrc.h".
4819         * lyxtext.h: remove #include "LColor.h".
4820         * lyxtextclass.h: remove #include "support/types.h".
4821         * trans.h: remove #include "tex-accent.h".
4822         * trans_mgr.h: remove #include "tex-accent.h".
4823         * insets/inset.h: remove #include "support/types.h", <vector>.
4824         * insets/insetcollapsable.h: remove #include "LColor.h".
4825         * insets/insetinclude.h: remove #include "dimension.h".
4826         * insets/insetlatexaccent.h: remove #include "dimension.h".
4827         * insets/insetoptarg.h:: remove #include "insettext.h".
4828         * insets/insettext.h: remove #include "dimension.h",
4829         <boost/shared_ptr.hpp>
4830
4831         * insets/renderers.h: add #include "dimension.h".
4832         * insets/updatableinset.h: add #include "support/types.h".
4833
4834         * many .C files: Associated changes.
4835
4836 2003-09-06  Angus Leeming  <leeming@lyx.org>
4837
4838         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4839         one, inside testInvariant.
4840
4841         * PrinterParams.C: new file.
4842         * PrinterParams.[Ch]: move the function bodies out of line.
4843
4844 2003-09-06  Angus Leeming  <leeming@lyx.org>
4845
4846         * ParagraphParameters.h: forward declare ParameterStruct rather than
4847         including its header file.
4848         (depth): moved out-of-line.
4849
4850 2003-09-06  Angus Leeming  <leeming@lyx.org>
4851
4852         * BufferView_pimpl.h:
4853         * kbmap.h:
4854         * kbsequence.h:
4855         * lyxfunc.h: forward declare LyXKeySym rather than
4856         #include "frontends/LyXKeySym.h".
4857
4858         * BufferView_pimpl.C:
4859         * kbmap.C:
4860         * kbsequence.C:
4861         * lyxfunc.C: associated changes.
4862
4863 2003-09-06  Angus Leeming  <leeming@lyx.org>
4864
4865         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4866         As a result, can remove the #include "insets/inset.h" from BufferView.h
4867
4868 2003-09-06  Angus Leeming  <leeming@lyx.org>
4869
4870         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4871         As a result, can remove the #include "insets/inset.h" from BufferView.h
4872
4873 2003-09-06  Angus Leeming  <leeming@lyx.org>
4874
4875         * buffer_funcs.C:
4876         * buffer.h:
4877         * bufferlist.C:
4878         * BufferView.C:
4879         * bufferview_funcs.C:
4880         * BufferView_pimpl.C:
4881         * CutAndPaste.C:
4882         * lyx_cb.C:
4883         * lyxfunc.C:
4884         * paragraph.h:
4885         * ParagraphParameters.C:
4886         * tabular.C:
4887         * text3.C:
4888         * toc.C:
4889         * undo_funcs.C:
4890         * frontends/controllers/ControlDocument.C:
4891         * insets/insetcaption.C: rearrange the #includes into some sort of
4892         coherent order.
4893
4894         * buffer.h: remove #includes ErrorList.h, undo.h
4895
4896 2003-09-06  Angus Leeming  <leeming@lyx.org>
4897
4898         * support/types.h: add a 'depth_type' typedef, used to store the
4899         nesting depth of a paragraph.
4900
4901         * paragraph.h:
4902         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4903         defining explicitly.
4904
4905         * buffer.h:
4906         * paragraph_funcs.h:
4907         * ParagraphParameters.h:
4908         * sgml.h: use lyx::depth_type rather than Paragraph or
4909         ParameterStruct's depth_type.
4910
4911         * buffer.h
4912         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4913
4914         * BufferView.C:
4915         * BufferView_pimpl.C:
4916         * CutAndPaste.C:
4917         * ParagraphParameters.C:
4918         * buffer_funcs.C:
4919         * bufferlist.C:
4920         * bufferview_funcs.C:
4921         * lyx_cb.C:
4922         * lyxfunc.C:
4923         * tabular.C:
4924         * text3.C:
4925         * toc.C:
4926         * undo_funcs.C:
4927         * frontends/LyXView.C:
4928         * frontends/controllers/ControlDocument.C:
4929         * frontends/controllers/ControlErrorList.C:
4930         * insets/insetbibitem.C:
4931         * insets/insetbranch.C:
4932         * insets/insetcaption.C:
4933         * insets/insetcollapsable.C:
4934         * insets/insetenv.C:
4935         * insets/insetert.C:
4936         * insets/insetfloat.C:
4937         * insets/insetfoot.C:
4938         * insets/insetfootlike.C:
4939         * insets/insetnewline.C:
4940         * insets/insetquotes.C:
4941         * insets/insettabular.C:
4942         * insets/insettext.C:
4943         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4944
4945         * frontends/controllers/ControlChanges.C: #include "changes.h".
4946
4947 2003-09-06  Angus Leeming  <leeming@lyx.org>
4948
4949         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4950         than #including paragraph.h.
4951
4952         * ParagraphList.h:
4953         * RowList.h: deleted. Superfluous.
4954
4955         * CutAndPaste.h:
4956         * iterators.h:
4957         * lyxcursor.h:
4958         * lyxtext.h:
4959         * text_funcs.h:
4960         * undo.h:
4961         * undo_funcs.h:
4962         * insets/inset.h:
4963         * insets/insettext.h: use ParagraphList_fwd.h rather than
4964         ParagraphList.h.
4965
4966         * paragraph.h: don't forward declare ParagraphList.
4967
4968         * buffer.h:
4969         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4970         rather than ParagraphList.h. paragraph.h is still needed for the
4971         Paragraph::depth_type parameters.
4972
4973         * textcursor.h: enable it to compile stand-alone in light of the
4974         above changes.
4975
4976         * bufferview_funcs.C:
4977         * iterators.C:
4978         * lyxfunc.C:
4979         * lyxrow_funcs.C:
4980         * paragraph.C:
4981         * rowpainter.C:
4982         * text.C:
4983         * text2.C:
4984         * text3.C:
4985         * text_funcs.C:
4986         * textcursor.C:
4987         * undo.C:
4988         * frontends/controllers/ControlParagraph.C:
4989         * frontends/controllers/ControlTabular.C:
4990         * insets/insetmarginal.C:
4991         * insets/insetminipage.C:
4992         * insets/insetnote.C:
4993         * insets/insetoptarg.C: add header files needed to compile again.
4994
4995 2003-09-06  Angus Leeming  <leeming@lyx.org>
4996
4997         * RowList_fwd.h: new file, forward-declaring Row rather than
4998         #including lyxrow.h.
4999
5000         * lyxrow_funcs.h:
5001         * lyxtext.h:
5002         * paragraph.h:
5003         * insets/insettext.h: use it instead of RowList.h
5004
5005         * bufferview_funcs.C:
5006         * lyxfunc.C:
5007         * lyxrow_funcs.C:
5008         * paragraph.C:
5009         * rowpainter.C:
5010         * text.C:
5011         * text2.C:
5012         * text3.C: #include "RowList.h".
5013
5014 2003-09-05  Angus Leeming  <leeming@lyx.org>
5015
5016         * factory.C (createInset):
5017         * vspace.C (c-tor): replace sscanf call with an istringstream.
5018         * ispell.C: re-add missing HP/UX headers.
5019         * lyxserver.C: re-add missing  os2 headers.
5020
5021 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5022
5023         * BranchList.C:
5024         * graph.C:
5025         * ispell.C:
5026         * lastfiles.C:
5027         * lyx_cb.C:
5028         * lyxserver.C:
5029         * texrow.C:
5030         * text3.C: re-add missing system headers, needed for 2.95.2.
5031
5032 2003-09-05  Angus Leeming  <leeming@lyx.org>
5033
5034         Changes most place everywhere due to the removal of using directives
5035         from support/std_sstream.h.
5036
5037 2003-09-05  Angus Leeming  <leeming@lyx.org>
5038
5039         Replace LString.h with support/std_string.h,
5040         Lsstream.h with support/std_sstream.h,
5041         support/LIstream.h with support/std_istream.h,
5042         support/LOstream.h with support/std_ostream.h.
5043
5044         Changes resulting throughout the tree.
5045
5046 2003-09-05  Angus Leeming  <leeming@lyx.org>
5047
5048         * sgml.h: ensure that the header file can be compiled stand-alone.
5049         * *.C: strip out redundant #includes. (320 in total.)
5050
5051 2003-09-04  Angus Leeming  <leeming@lyx.org>
5052
5053         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5054         here (from getPackages).
5055
5056         * debug.[Ch]: add a new EXTERNAL tag.
5057
5058 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5059
5060         * text2.C (cursorEnd): simplify
5061         (setCursor): adjust
5062         (getColumnNearX): adjust
5063
5064         * text.C (computeBidiTables): adjust
5065         (fill): adjust
5066
5067         * rowpainter.C (paintChars): adjust
5068         (paintSelection): adjust
5069         (paintChangeBar): adjust
5070         (paintText): adjust
5071
5072         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5073         lastPos instead.
5074         (numberOfSeparators): adjust
5075
5076 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5077
5078         * LyXAction.C:
5079         * box.[Ch]:
5080         * lfuns.h:
5081         * lyxfunc.C:
5082         * text3.C: Restricts the mouse click functionality
5083         of insets like bibtex, include, toc and floatlist to the visible
5084         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5085         up the dialogs. Cursor has to be in front of the inset (i.e.
5086         start of row) for this to function.
5087
5088 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5089
5090         * bufferview_funcs.C (currentState): output row information
5091
5092 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5093
5094         * bufferview_funcs.C (currentState): output paragraph position
5095
5096 2003-09-04  Angus Leeming  <leeming@lyx.org>
5097
5098         * FloatList.h: move out #include "Floating.h".
5099         * LaTeX.h: move out #include "DepTable.h".
5100         * LyXAction.h: move out #include "funcrequest.h".
5101         * buffer.h: move out #include "author.h", "iterators.h".
5102         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5103         * lyx_main.h: move out #include "errorlist.h".
5104         * lyxfunc.h: move out #include "FuncStatus.h".
5105         * lyxtext: move out #include "lyxcursor.h".
5106         * paragraph_pimpl.h: move out #include "counters.h".
5107
5108 2003-09-03  Angus Leeming  <leeming@lyx.org>
5109
5110         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5111         preamble_snippets list, enabling us to add snippets to the preamble
5112         only if the snippet was not there already.
5113
5114 2003-09-04  Angus Leeming  <leeming@lyx.org>
5115
5116         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5117
5118 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5121         update
5122
5123 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5124
5125         * BranchList.C: point fix, earlier forgotten
5126
5127 2003-09-02  Angus Leeming  <leeming@lyx.org>
5128
5129         * box.C (contains): renamed from 'contained' after a fantastic
5130         amount of hot air.
5131
5132 2003-09-02  John Levon  <levon@movementarian.org>
5133
5134         * BufferView.C:
5135         * lyxcursor.h:
5136         * lyxcursor.C:
5137         * lyxfunc.C:
5138         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5139
5140 2003-09-02  John Levon  <levon@movementarian.org>
5141
5142         * text2.C: simplification of cursorEnd(), including partial
5143         fix for bug 1376
5144
5145 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * buffer.C (readFile): add a space
5148
5149 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5150
5151         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5152
5153 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * buffer.C (readFile): new function, take a filename and a
5156         ParagraphList::iterator
5157         (readFile): adjust
5158         (readFile): adjust, make it private. don't use setStream, make
5159         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5160         always contain the filename.
5161
5162         * BufferView.C (insertLyXFile): simplify and make it work for
5163         gzipped files.
5164
5165 2003-08-30  John Levon  <levon@movementarian.org>
5166
5167         * Makefile.am: fix dist (from Kayvan)
5168
5169 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * most files: change to use const Buffer refs
5172
5173 2003-08-27  André Pönitz  <poenitz@gmx.net>
5174
5175         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5176         on top of ownerPar().
5177
5178 2003-08-27  John Levon  <levon@movementarian.org>
5179
5180         * funcrequest.C: properly initialise POD members
5181
5182 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5183
5184         * lyxtext.h (top_y): move top_y from here
5185         * text.C:
5186         * text2.C:
5187         * text3.C:
5188         * BufferView.[Ch]:
5189         * BufferView_pimpl.[Ch]: to here
5190         * frontends/screen.C:
5191         * insets/insettabular.C:
5192         * insets/insettext.C: adjust
5193         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5194
5195 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5196
5197         * BufferView.[Ch]:
5198         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5199
5200 2003-08-26  André Pönitz  <poenitz@gmx.net>
5201
5202         * paragraph_func.[Ch] (outerPar): new function
5203
5204         * paragraph.C:
5205         * paragraph_funcs.C:
5206         * paragraph_funcs.h:
5207         * paragraph_pimpl.C:
5208         * text2.C: remove Inset::par_owner
5209
5210 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5211
5212         * lyxrow_funcs.C:
5213         * lyxtext.h:
5214         * text.C:
5215         * text2.C: eliminates the needFullRow/display() stuff
5216         altogether, putting the logic in metrics/draw in the insets.
5217
5218 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * text2.C (redoParagraphInternal, redoParagraphs):
5221         * text.C (redoParagraph): add a call to updateRowPositions at the
5222         end of each 'metrics-like' call. Remove all others.
5223         (getRow): remove the 'y-computing' version.
5224         (getRowNearY): do not compute nor return the real y. Solve the
5225         'y < 0' problem and simplify.
5226
5227 2003-08-22  Angus Leeming  <leeming@lyx.org>
5228
5229         * *.[Ch]: clean-up of licence and author blurbs.
5230         Also move config.h out of a few .h files and into a few .C files.
5231
5232 2003-08-22  André Pönitz  <poenitz@gmx.net>
5233
5234         * lyxrow.[Ch]: add x_ and *fill_ members
5235
5236         * lyxtext.h:
5237         * text.C:
5238         * rowpainter.C:
5239         * text2.C: adjust/remove prepareToPrint() calls
5240
5241 2003-08-22  André Pönitz  <poenitz@gmx.net>
5242
5243         * lyxrow.[Ch]: add  end_ member
5244
5245         * lyxrow_funcs.C: use LyXRow::end_
5246
5247         * lyxtext.h (singleWidth): add LyXFont parameter
5248
5249         * rowpainter.C:
5250         * text2.C: adjust LyXText::singleWidth() calls
5251
5252         * text.C (redoParagraph): simplify row breaking logic
5253
5254
5255 2003-08-19  André Pönitz  <poenitz@gmx.net>
5256
5257         * funcrequest.C: initialize button_ member
5258
5259         * text3.C:
5260         * rowpainter.[Ch]: interface consolidation
5261
5262 2003-08-18  André Pönitz  <poenitz@gmx.net>
5263
5264         * BufferView.C:
5265         * BufferView_pimpl.C:
5266         * lyxfind.C:
5267         * paragraph_funcs.C:
5268         * rowpainter.C:
5269         * text3.C: remove LyXScreen::draw() and fitCursor calls
5270
5271         * BranchList.h: remove spurious semicolons
5272
5273         * MenuBackend.C: fix branchlist related crash
5274
5275 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5276
5277         * BranchList.[Ch]:
5278         * InsetList.[Ch]:
5279         * LColor.[Ch]:
5280         * LyXAction.C:
5281         * Makefile.am:
5282         * MenuBackend.[Ch]:
5283         * bufferparams.[Ch]:
5284         * factory.C:
5285         * lfuns.h:
5286         * lyxfunc.C:
5287         * text3.C: implements the 'branch inset'
5288         idea. This allows the output of various versions of a document
5289         from a single source version, selectively outputing or suppressing
5290         output of parts of the text.
5291         This implementation contains a 'branch list editor' in a separate
5292         tab of the document settings dialog. Branches are user definable
5293         and have a "display colour" to distinguish them on-screen.
5294
5295         ColorHandler was somewhat cleaned up.
5296         (1) make possible a dynamically growing LColor list by allowing
5297         the graphic context cache to grow along (vector);
5298         (2) eliminate an IMHO unnecessary step in colour allocation.
5299
5300 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5301
5302         * BufferView_pimpl.C: compile fix
5303
5304 2003-08-15  André Pönitz  <poenitz@gmx.net>
5305
5306         * rowpainter.C: remove extra metrics calls
5307
5308         * lyxtext.h: merge the two constructors into a single one,
5309           pass reference to owner's par list
5310
5311         * BufferView_pimpl.C:
5312         * text.C:
5313         * text2.C: adjust
5314
5315 2003-08-15  André Pönitz  <poenitz@gmx.net>
5316
5317         * lyxrow_funcs.[Ch]:
5318         * lyxtext.h:
5319         * paragraph.h:
5320         * paragraph_funcs.C:
5321         * rowpainter.C:
5322         * text.C:
5323         * text2.C:
5324         * text3.C:
5325         * text_funcs.C: split LyXText::rowlist_ into individual
5326         Paragraph::rows_ chunks
5327
5328         * BufferView.[Ch]:
5329         * BufferView_pimpl.[Ch]:
5330         * lyxfind.C:
5331         * lyxtext.h:
5332         * text3.C: remove toggleSelection()
5333
5334 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5335
5336         * bufferlist.C: beautify two alerts (shorter text of buttons)
5337         * buffer.C: Remove redundant ' ' from message
5338         * tabular.h:
5339         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5340         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5341         rename VALIGN_CENTER to VALIGN_MIDDLE
5342
5343 2003-08-11  André Pönitz  <poenitz@gmx.net>
5344
5345         * lyxtext.h (getPar):
5346         * text.C: new function
5347
5348 2003-08-11  André Pönitz  <poenitz@gmx.net>
5349
5350         * Makefile.am:
5351         * tracer.[Ch]: remove unneeded files
5352
5353         * InsetList.[Ch]: remove resizeInsetsLyXText()
5354
5355         * lyxtext.h:
5356         * text.C:
5357         * text2.C:
5358         * text3.C: merge insertParagraphs() and appendParagraph()
5359         remove breakAgain(), update()
5360
5361         * BufferView_pimpl.[Ch]:
5362         * bufferview_funcs.[Ch]:
5363         * lyxfunc.C:
5364         * paragraph.[Ch]:
5365         * rowpainter.C:
5366         * tabular.C: adjust after text & InsetList changes.
5367
5368 2003-08-08  André Pönitz  <poenitz@gmx.net>
5369
5370         * text.C (insertChar, backspace): replace rowlist fiddling
5371         with rebreak of full par
5372
5373         * lyxtext.h:
5374         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5375         checkParagraph, updateInset): removed
5376
5377 2003-08-07  André Pönitz  <poenitz@gmx.net>
5378
5379         * paragraph.C:
5380         * text3.C: merge some LFUN handlers, remove dead code
5381
5382 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5383
5384         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5385
5386 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * text2.C (DEPM): fix part of bug 1255 and 1256
5389
5390 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5391
5392         * BufferView_pimpl.C (workAreaDispatch): change to use
5393         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5394         that are no mouse related.
5395
5396 2003-08-05  André Pönitz  <poenitz@gmx.net>
5397
5398         * BufferView.[Ch]:
5399         * BufferView_pimpl.[Ch]:
5400         * bufferview_funcs.C:
5401         * text2.C:
5402         * text3.C: rip out "deep update"
5403
5404         * textcursor.[Ch] (last_sel_cursor): remove unused member
5405
5406 2003-08-04  André Pönitz  <poenitz@gmx.net>
5407
5408         * BufferView.[Ch]:
5409         * BufferView_pimpl.[Ch]:
5410         * ParagraphParameters.C:
5411         * bufferview_funcs.C:
5412         * lyx_cb.C:
5413         * lyxfind.C:
5414         * lyxfunc.C:
5415         * text.C:
5416         * text2.C:
5417         * text3.C: replace "complicated" BufferView::update(...) calls with
5418         simpler ones.
5419
5420         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5421
5422 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5423
5424         * Makefile.am (lyx_SOURCES): add paper.h
5425
5426 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5427
5428         * Makefile.am: move things around so that both lyx-qt and
5429         lyx-xforms can be built (according to --with-frontend). Then lyx
5430         is a symbolic link to lyx-[firstfrontend]
5431
5432 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5433
5434         * Always use std::endl with lyxerr
5435
5436 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5437
5438         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5439
5440 2003-08-01  André Pönitz  <poenitz@gmx.net>
5441
5442         * BufferView.[Ch]:
5443         * BufferView_pimpl.[Ch]:
5444         * lyxfunc.C:
5445         * text3.C: merge BufferView::repaint() and BufferView::update()
5446
5447 2003-08-01  José Matos  <jamatos@lyx.org>
5448
5449         * buffer.[Ch]: file_format is no longer a buffer data element.
5450
5451 2003-08-01  André Pönitz  <poenitz@gmx.net>
5452
5453         * BufferView.C:
5454         * lyxtext.h:
5455         * text.C:
5456         * text2.C: make redoParagraph more independent of current cursor
5457
5458         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5459         * text.C:
5460         * text2.C: remove unneeded members
5461
5462 2003-07-30  André Pönitz  <poenitz@gmx.net>
5463
5464         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5465
5466         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5467           create a single function...
5468
5469         * paragraph_funcs.C (moveItem): ... here.
5470
5471         * text.C:
5472           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5473
5474 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5475
5476         * LColor.[Ch]: Add comment and greyedout logical colors.
5477
5478 2003-07-30  André Pönitz  <poenitz@gmx.net>
5479
5480         * tabular.C: don't use Assert too heavily. This crashes where it
5481           shouldn't
5482
5483 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5486         is disabled (bug 1232)
5487
5488 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5489
5490         * factory.C: limited 'arg' scope
5491
5492 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5493
5494         * factory.C: fixed Note submenu issues
5495
5496 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5497
5498         * factory.C: submenu for Note/Comment/Greyedout
5499
5500 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5501
5502         * lyx_main.C (LyX):
5503         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5504
5505 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5506
5507         * LaTeXFeatures.C:
5508         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5509         greyedout. Patch provided by Jürgen Spitzmüller.
5510
5511 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5512
5513         * kbmap.C (read): fix error message when reading bind files
5514
5515 2003-07-29  Angus Leeming  <leeming@lyx.org>
5516
5517         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5518         certainly does not do what it purports to do. I am doing it, and
5519         us, a favour by killing it.
5520
5521 2003-07-28  José Matos  <jamatos@lyx.org>
5522
5523         * buffer.C (readBody, do_writeFile):
5524         * paragraph.C(readParagraph): \end_document replaces \the_end.
5525
5526 2003-07-29  André Pönitz  <poenitz@gmx.net>
5527
5528         * BufferView.[Ch]:
5529         * BufferView_pimpl.[Ch]:
5530         * lyxfunc.C:
5531         * text2.C:
5532         * text3.C:
5533         * textcursor.[Ch]: remove toggleToggle & Co
5534
5535 2003-07-28  José Matos  <jamatos@fep.up.pt>
5536
5537         * buffer.C (readParagraph):
5538         * params_func (readParToken, readParagraph):
5539         * paragraph.C (write): \layout -> \begin_layout.
5540
5541 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5542
5543         * lyxlex_pimpl.C (setFile): clean up slightly.
5544
5545         * bufferparams.h: add compressed var
5546
5547         * buffer_funcs.C (readFile): adjust for LyXLex change
5548         (newFile): ditto + simplify
5549
5550         * buffer.C (writeFile): handle writing of compressed files
5551
5552         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5553         Check if the file is compressed and set a bufferparm if so.
5554
5555         * Makefile.am (lyx_LDADD): remove explicit -lz
5556
5557 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5558
5559         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5560         makeDocBookFile): put the real LyX version in the first line of
5561         the file
5562
5563         * version.h:
5564         * version.C.in: remove lyx_docversion
5565
5566         * tabular.C (write_attribute): add a template-based version to
5567         write enums properly
5568
5569 2003-07-28  André Pönitz  <poenitz@gmx.net>
5570
5571         * lyxtext.h:
5572         * text.C:
5573         * text2.C:
5574         * text3.C: use doubles again for x-coordinates. They are needed.
5575
5576 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * messages.C (getLocaleDir): use lyx_localedir()
5579
5580         * lyxlex_pimpl.C (setFile): compress stuff
5581
5582         * buffer.C (writeFile): add some compression stuff
5583         (do_writeFile): new func, dont call expliti close... will this
5584         breake anything?
5585
5586         * Makefile.am (lyx_LDADD): add -lz
5587
5588 2003-07-28  José Matos  <jamatos@fep.up.pt>
5589
5590         * buffer.C: increment file format.
5591         * paragraph_funcs (readParagraph, readParToken):
5592         * paragraph.C (readParagraph): add \end_layout.
5593
5594 2003-07-27  Angus Leeming  <leeming@lyx.org>
5595
5596         * Makefile.am: remove special casing for configure-time setting of
5597         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5598
5599         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5600         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5601
5602 2003-07-26  André Pönitz  <poenitz@gmx.net>
5603
5604         * paragraph_func.[Ch]:
5605         * paragraph.C (realizeFont): inline it whereever it is used
5606
5607         * rowpainter.C:
5608         * text.C:
5609         * text2.C:
5610         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5611
5612
5613 2003-07-26  André Pönitz  <poenitz@gmx.net>
5614
5615         *       lyxtext.h:
5616         * text.C:
5617         * text2.C: get rid of LyXText::need_break_row
5618
5619 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * toc.[Ch]: put namespace toc inside namespace lyx
5622
5623         * MenuBackend.C (expandToc2): adjust for lyx::toc
5624         (expandToc): ditto
5625
5626         * lyxfunc.C (dispatch): adjust for lyx::find
5627
5628         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5629         lyx::find instead. Reorganize a bit.
5630         (LyXReplace): rename to replace
5631         (LyXFind): rename to find
5632
5633         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5634         (dispatch): ditto
5635
5636 2003-07-26  André Pönitz  <poenitz@gmx.net>
5637
5638         * text.C (setHeightOfRow): restrict scope of temporary variable
5639
5640         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5641           code (never has been used?)
5642
5643 2003-07-27  Asger Alstrup  <alstrup@local>
5644
5645         * text.C (fill): Optimise algorithm to exploit that we can reuse
5646         the LyXFont for many characters.
5647         (setHeightOfRow): Same thing.
5648         (rowBreakPoint): Same thing.
5649
5650 2003-07-26  Asger Alstrup  <alstrup@local>
5651
5652         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5653
5654         * text.C (singleWidth): Spurious font copying in hot-spot
5655         singleWidth avoided. Reorder tests for arabic for efficiency.
5656
5657         * text.C (fill): handle empty paragraphs better.
5658
5659 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5660
5661         * ispell.C:
5662         * encoding.h: add includes
5663
5664         * lyxrc.C: remove reading of bind files
5665
5666         * lyx_main.C (init): setup bindings and menus only if we have a
5667         gui.
5668
5669         * kbmap.C (read): new method. Do the actual reading of bind
5670         files.
5671
5672         * converter.C (dvipdfm_options):
5673         * bufferparams.C:
5674         * lyxrc.C (read):
5675         (output): adapt PAPER_* enums.
5676
5677         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5678
5679         * bufferparams.h: remove paper-related enums from there
5680
5681         * paper.h: New file. A trivial header file to hold paper-related
5682         enums. It should later expand to contain many paper-related
5683         horrors access.
5684
5685         * lyxrc.C: declare extern displayTranslator
5686
5687 2003-07-27  José Matos  <jamatos@fep.up.pt>
5688
5689         * tabular.[Ch] (linuxdoc): add support for tables and figures
5690         (linuxdoc).
5691
5692 2003-07-27  José Matos  <jamatos@fep.up.pt>
5693
5694         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5695         consistency in both functions.
5696         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5697
5698 2003-07-26  Asger Alstrup  <alstrup@local>
5699
5700         * rowpainter.C (paintRows): Change algorithm to work directly on
5701         the insets rather than asking every character in the document
5702         whether its an inset.
5703
5704 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5705
5706         * buffer.C (openFileWrite): factorize some code
5707
5708 2003-07-26  Angus Leeming  <leeming@lyx.org>
5709
5710         * lyx_cb.C:
5711         * lyx_main.[Ch]: replace occurances of system_tempdir with
5712         os::getTmpDir().
5713
5714 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * rename Inset to InsetOld
5717
5718 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5719
5720         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5721         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5722         which I think is a bit clearer. EDIT is gone, since it was
5723         premature optimisation, and broken for mathed anyway.
5724         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5725         with cursor positioning in insets as well (math insets still do not
5726         work, but that's a different story anyway.) It mysteriously
5727         crashes sometimes with undo in the first paragraph, but I'm fairly
5728         confident that this is a compiler bug.
5729
5730 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * paragraph.C (Paragraph): adjust for new clone return type
5733         (operator==): ditto
5734         (copyIntoMinibuffer): ditto
5735
5736 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5737
5738         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5739         by not having a special case, and always doing a full rebreak of
5740         the document after undo.
5741
5742 2003-07-23  Angus Leeming  <leeming@lyx.org>
5743
5744         * factory.C (createInset): InsetExternal::setParams now takes a
5745         Buffer const * arg.
5746
5747 2003-07-23  Angus Leeming  <leeming@lyx.org>
5748
5749         * factory.C (createInset): changed interface to the external and
5750         graphics mailers' string2params functions.
5751
5752 2003-07-23  Angus Leeming  <leeming@lyx.org>
5753
5754         * factory.C (createInset): pass a
5755         Buffer const * parameter to InsetExternalMailer's string2params.
5756
5757 2003-07-22  John Levon  <levon@movementarian.org>
5758
5759         * Thesaurus.h: include the right aiksaurus header
5760
5761 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5762
5763         * MenuBackend.C (expand): check menu shortcuts unconditionally
5764
5765 2003-07-21  Angus Leeming  <leeming@lyx.org>
5766
5767         * factory.C (createInset): pass a
5768         buffer_path parameter to InsetGraphicsMailer's string2params.
5769
5770 2003-07-21  Angus Leeming  <leeming@lyx.org>
5771
5772         * BufferView_pimpl.C (buffer):
5773         * buffer.C (d-tor):
5774         * lyx_main.C (LyX):
5775         * lyxfunc.C (dispatch):
5776         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5777         rather than the grfx shortcut.
5778
5779 2003-07-21  André Pönitz  <poenitz@gmx.net>
5780
5781         * rowpainter.C: remove unused variables
5782
5783         * tabular_funcs.C:
5784         * tabular_funcs.h: move to tabular.C
5785         * Makefile.am: adjust
5786
5787         * tabular.[Ch]: basic optical cleaning
5788
5789         * author.h: pass references, not values
5790
5791 2003-07-18  André Pönitz  <poenitz@gmx.net>
5792
5793         * lyxtext.h:
5794         * metricsinfo.C:
5795         * metricsinfo.h:
5796         * rowpainter.C:
5797         * text.C:
5798         * text2.C:
5799         * text3.C: two-phase drawing for InsetText and InsetTabular
5800         some float -> int changes.
5801
5802 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5803
5804         * lyx_main.C: fix the fix
5805
5806 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5807
5808         * lyx_main.C: fix a crash in batch mode if no files specified
5809         * converter.C: ws
5810
5811 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5812
5813         * format.[Ch] (papersize): moved to BufferParams
5814         * converter.[Ch] (dvips_options): moved to BufferParams
5815         (dvipdfm_options): moved to anon namespace
5816         * bufferparams.[Ch]: added above functions.
5817
5818 2003-07-17  André Pönitz  <poenitz@gmx.net>
5819
5820         * lyxtext.h:
5821         * rowpainter.C:
5822         * text2.C: don't call inset->update() anymore
5823
5824         * metricsinfo.[Ch]: add convenience constructor
5825
5826 2003-07-16  André Pönitz  <poenitz@gmx.net>
5827
5828         * lyxcursor.[Ch]:
5829         * lyxfunc.[Ch]:
5830         * text.C:
5831         * text2.C: replace the LyXCursor::irow_ member with
5832          on-demand computation of the value
5833
5834 2003-07-16  John Levon  <levon@movementarian.org>
5835
5836         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5837
5838 2003-07-15  André Pönitz  <poenitz@gmx.net>
5839
5840         * text.C:
5841         * text2.C: remove no more needed refresh_row
5842
5843 2003-07-15  André Pönitz  <poenitz@gmx.net>
5844
5845         * lyxtext.h:
5846         * rowpainter.C:
5847         * text2.C:
5848         * text3.C: refresh_status tristate -> need_update bool
5849
5850 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5851
5852         * lyxtext.h (init): remove reinit argument (act as if always true)
5853         * text2.C: adjust to that
5854
5855 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5856
5857         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5858         * text3.C: use it to delete selections in some cases
5859         (bugs 441, 673, 702, 954).
5860
5861 2003-07-14  André Pönitz  <poenitz@gmx.net>
5862
5863         * rowpainter.[Ch]: reduce interface
5864
5865 2003-07-14  André Pönitz  <poenitz@gmx.net>
5866
5867         * BufferView_pimpl.C:
5868         * text2.C: adjust after removing unused BufferView * argument
5869
5870 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5871
5872         * text2.C (init): fix a crash fired on resize
5873
5874 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5875
5876         * buffer.[Ch]: added new closing signal
5877         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5878         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5879         BufferView::Pimpl via the closing the signal
5880
5881 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5882
5883         * buffer.[Ch]: take out all bv-related from buffer
5884         * BufferView.C:
5885         * BufferView_pimpl.[Ch]: connect to new signals
5886         * CutAndPaste.C: removed useless asserts
5887         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5888         * lyxvc.[Ch]:
5889         * vc-backend.[Ch]:
5890         * lyxfunc.C: moved view-related funciontality from vc here
5891         * paragraph.C: removed outdated comments
5892         * text.C: ws
5893
5894 2003-07-10  André Pönitz  <poenitz@gmx.net>
5895
5896         * BufferView_pimpl.C:
5897         * tabular.h:
5898         * tabular_funcs.C:
5899         * text.C:
5900         * text2.C: remove InsetText::InnerCache, clean up consequences
5901
5902 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5903
5904         * ispell.C: fix two typos in error messages
5905
5906 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5907
5908         * Extend Note inset to other forms of annotation like Comment
5909         and Greyedout. Right button click gives dialog.
5910
5911         Files modified or added (+):
5912
5913         * insetnote.[Ch]
5914         * FormNote.[Ch]      +
5915         * ControlNote.[Ch]   +
5916         * form_note.fd       +
5917         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5918         frontends/controllers
5919         * xforms/Dialogs.C
5920         * factory.C
5921
5922 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5923
5924         * aspell.C: add missing namespace lyx::support
5925
5926 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * BufferView.[Ch] (newFile): Add
5929         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5930         * LaTeX.[Ch] (message): added this signal and use it
5931         * buffer.[Ch] (busy, message): added these signals and use them
5932         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5933         * converter.C:
5934         * exporter.C:
5935         * format.C:
5936         * importer.C: use buffer signals instead of direct bv calling
5937         * lyx_cb.[Ch] (ShowMessage): removed
5938         * lyx_main.C:
5939         * lyxfunc.C:
5940         * paragraph_funcs.C:
5941         * text2.C: use buffer signals
5942
5943 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * introduce namespace lyx::graphics
5946
5947 2003-07-02  André Pönitz  <poenitz@gmx.net>
5948
5949         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5950
5951 2003-07-01  André Pönitz  <poenitz@gmx.net>
5952
5953         * text.C:
5954         * text2.C:
5955         * text3.C:
5956         * text_funcs.[Ch]:
5957         * textcursor.h:
5958         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5959           text*.C to text_func.C
5960
5961 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * introduce namespace lyx::support
5964
5965 2003-06-30  André Pönitz  <poenitz@gmx.net>
5966
5967         * Chktex.C:
5968         * funcrequest.C:
5969         * lyxtext.h:
5970         * text.C: re-enable --with-included-string
5971
5972 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5973
5974         * textcursor.C: add <config.h>
5975
5976         * text.C (getWord): remove const from word_location arg
5977
5978         * lyxvc.C (getLogFile): fix const type order
5979
5980         * lyxtext.h: remove const from word_location arg, add arg name
5981
5982         * lyxlayout.h: currect type on labeltype.
5983
5984         * importer.C: correct \file
5985
5986         * converter.C (intToFormat): use std:: on ret val, ws changes
5987
5988         * bufferlist.h: correct \file
5989
5990         * buffer.C (makeLinuxDocFile): fix const type order
5991         (makeDocBookFile): ditto
5992         (fillWithBibKeys): use std:: on stdlib args.
5993
5994         * CutAndPaste.C: fix authors.
5995         (availableSelections): use std:: on return vector
5996
5997 2003-06-27  André Pönitz  <poenitz@gmx.net>
5998
5999         * BufferView_pimpl.C:
6000         * bufferview_funcs.C:
6001         * lyxcursor.C:
6002         * lyxcursor.h:
6003         * lyxfunc.C:
6004         * lyxtext.h:
6005         * rowpainter.C:
6006         * text.C:
6007         * text2.C:
6008         * text3.C: remove LyXCursor::row_ member
6009
6010         * lyxtext.h:
6011         * text.C: rename fullRebreak() to partialRebreak() and implement
6012           a fullRebreak() that really bereks fully
6013
6014         * textcursor.h: new struct for cursor-related data
6015
6016 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6017
6018         * lyx_main.C (LyX): get full path of document loaded on the
6019         command line
6020
6021 2003-06-26  André Pönitz  <poenitz@gmx.net>
6022
6023         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6024           remove unused/broken operator>,<,>=.
6025
6026         *       text.C: remove only use of broken operator<= in an Assert().
6027
6028 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6029
6030         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6031         moved errorlist_.clear to showErrorList
6032
6033 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6034
6035         * converter.C (scanLog, runLaTeX):
6036         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6037         move the bv->showErrorList call to the callers
6038         * lyxfunc.C: i.e. here...
6039         * text2.C: and here
6040         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6041         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6042         namespace, the second to...
6043         * buffer_funcs (BufferFormat, parseErrors): added
6044         * errorlist.C (ErrorList(TeXErrors const &)): removed
6045
6046 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6047
6048         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6049
6050 2003-06-24  "Garst R. Reese" <reese@isn.net>
6051
6052         * debug.C: fix typo
6053
6054 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6055
6056         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6057
6058         * version.C.in: change docversion to 1.4
6059
6060 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6061
6062         * buffer.C: fix a bug just introduced
6063
6064 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6065
6066         * buffer.[Ch]: added the parseError signal and use it, removed
6067         sgmlError
6068         * BufferView.[Ch] (addError): moved to ...
6069         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6070         to the Buffer::parseError signal to catch (guess what) parse errors
6071         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6072
6073 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6074
6075         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6076         ability to create a buffer and to return an existing one from
6077         the list. Moved these functions to...
6078         * buffer_funcs.[Ch]: added
6079         * BufferView.[Ch] (loadLyXFile): added
6080         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6081         job removed from bufferlist::loadLyXFile.
6082         * buffer.C (setReadOnly): make it work without view
6083         (i.e added an if (users))
6084
6085 2003-06-19  Angus Leeming  <leeming@lyx.org>
6086
6087         * lfuns.h:
6088         * LyXAction.C (init):
6089         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6090         with LFUN_DIALOG_SHOW <name> <data>.
6091
6092 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6093
6094         * CutAndPaste.C (availableSelections): small compilation fix for
6095         ancient (gcc 2.9x) compilers
6096
6097 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * text3.C (cursorNext): add tmp var
6100
6101         * text2.C (updateCounters): for function calling out of for clause
6102         (replaceSelectionWithString): ditto
6103         (insertStringAsParagraphs): ditto
6104         (getColumnNearX): add tmp var
6105         (setCursorFromCoordinates): add tmp var
6106         (cursorDownParagraph): add tmp var
6107         (deleteEmptyParagraphMechanism): add tmp var
6108
6109         * text.C (insertChar): add tmp var
6110
6111         * rowpainter.C (paintDepthBar): add tmp var
6112
6113         * CutAndPaste.C (availableSelections): potentially check all
6114         paragraphs in a cut to fill the shown strings.
6115
6116 2003-06-18  André Pönitz  <poenitz@gmx.net>
6117
6118         * kbmap.[Ch]: use vector<> instead of list<>
6119
6120 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6121
6122         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6123         pasteSelection with index
6124
6125         * text2.C (pasteSelection): modify, call pasteSelection with index
6126
6127         * paragraph.C (asString): reimplement version with no interval to
6128         call the one with interval.
6129
6130         * lyxtext.h: add index arg to pasteSelection
6131
6132         * MenuBackend.C (MenuItem): handle PasteRecent
6133         (Menu::read::Menutags): add md_pasterecent
6134         (read): handle it
6135         (expandPasteRecent): new function
6136         (expand): use it
6137
6138         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6139
6140         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6141         the limited stack
6142         (availableSelections): new function
6143
6144 2003-06-17  Angus Leeming  <leeming@lyx.org>
6145
6146         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6147
6148 2003-06-17  Angus Leeming  <leeming@lyx.org>
6149
6150         * lfuns.h:
6151         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6152
6153         * lyxfunc.C (dispatch): invoke it.
6154
6155 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6156
6157         * iterators.C (operator++, ParPosition): reintroduce some
6158         const_cast for the benefit of older compilers.
6159
6160 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6161
6162         * text3.C (dispatch): do not modify clipboard when doing
6163         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6164         LFUN_DELETE_SKIP on a selection selection
6165
6166 2003-06-16  André Pönitz  <poenitz@gmx.net>
6167
6168         * BufferView.C:
6169         * buffer.C:
6170         * buffer.h:
6171         * paragraph.C:
6172         * tabular.[Ch]: IU of clone() and getLabelList();
6173
6174 2003-06-13  André Pönitz  <poenitz@gmx.net>
6175
6176         * tabular.h: compactification
6177
6178 2003-06-12  André Pönitz  <poenitz@gmx.net>
6179
6180         * tabular.C:
6181         * tabular.h:
6182         * tabular_funcs.h: some renaming plus whitespace
6183
6184 2003-06-12  André Pönitz  <poenitz@gmx.net>
6185
6186         * BufferView.C:
6187         * BufferView_pimpl.C:
6188         * CutAndPaste.C:
6189         * buffer.C:
6190         * iterators.[Ch]:
6191         * lyxfunc.C:
6192         * text.C:
6193         * toc.C: Return a Paragraph & for ParIterator::operator*()
6194
6195 2003-06-11  John Levon  <levon@movementarian.org>
6196
6197         * lyx_main.C:
6198         * ToolbarBackend.h:
6199         * ToolbarBackend.C: add "Toolbars" section and
6200         put the flags there
6201
6202 2003-06-10  Angus Leeming  <leeming@lyx.org>
6203
6204         * lfuns.h:
6205         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6206
6207         * lyxfunc.C (dispatch): invoke it.
6208
6209 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6210
6211         * main.C: protect <ios> with HAVE_IOS
6212         (main): protect sync_with_stdio with HAVE_IOS
6213
6214 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6215
6216         * text2.C (cutSelection): adjust
6217         (pasteSelection): adjust
6218
6219         * messages.C: handle get of empty string
6220
6221         * main.C (main): use sync_with_stdio(false)
6222
6223         * lyxfunc.C (dispatch): adjust
6224
6225         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6226         (WriteAs): remove unneeded BufferView arg.
6227
6228         * bufferparams.h: use correct types on papersize, papersize2 and
6229         paperpackage.
6230
6231         * bufferparams.C (readToken): adjust for type
6232         (writeLaTeX): add missing cases to switch.
6233
6234         * bufferlist.C (quitWriteBuffer): adjust
6235         (close): adjust
6236
6237         * buffer.C (asciiParagraph): remove some commented code.
6238
6239         * CutAndPaste.C: remove current_view extern variable.
6240         (cutSelection): add BufferParams arg.
6241         (eraseSelection): add BufferParams arg.
6242         (pasteSelection): add Buffer const & arg
6243
6244 2003-06-07  John Levon  <levon@movementarian.org>
6245
6246         * buffer.C:
6247         * paragraph_funcs.C:
6248         * paragraph_pimpl.C:
6249         * text.C:
6250         * text2.C:
6251         * paragraph.h:
6252         * paragraph.C: allow InsetERT to freely space lines,
6253         and some consolidation of code
6254
6255 2003-06-06  José Matos  <jamatos@fep.up.pt>
6256
6257         * buffer.C (makeDocBookFile): fix bug #821
6258
6259 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6260
6261         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6262
6263 2003-06-04  Angus Leeming  <leeming@lyx.org>
6264
6265         * buffer.C: bump format to 224.
6266
6267 2003-06-05  André Pönitz  <poenitz@gmx.net>
6268
6269         * text2.C (redoParagraphs): remove two const_cast<>
6270
6271 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6272
6273         * ParagraphList.h: remove last remnants of NO_STD_LIST
6274
6275 2003-06-03  Angus Leeming  <leeming@lyx.org>
6276
6277         * factory.C (createInset): small change to the way InsetExternal's params
6278         are set.
6279
6280 2003-06-04  André Pönitz  <poenitz@gmx.net>
6281
6282         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6283
6284         * paragraph_pimpl.h:
6285         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6286
6287         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6288
6289         * undo_funcs.C: make some simple cases of undo work again
6290
6291 2003-06-03  John Levon  <levon@movementarian.org>
6292
6293         * ispell.C: HPUX doesn't have sys/select.h
6294         (from Albert Chin)
6295
6296 2003-06-03  John Levon  <levon@movementarian.org>
6297
6298         * CutAndPaste.C: update tabular and include inset
6299         buffer references
6300
6301         * buffer.h:
6302         * paragraph.h:
6303         * paragraph.C: remove owningBuffer(), don't pass Buffer
6304         to clone()
6305
6306         * factory.C: insetGraphicsParams changed
6307
6308 2003-06-02  John Levon  <levon@movementarian.org>
6309
6310         * LyXAction.C:
6311         * factory.C:
6312         * lfuns.h:
6313         * lyxfunc.C:
6314         * text3.C: remove insetparent
6315
6316 2003-06-02  John Levon  <levon@movementarian.org>
6317
6318         * buffer.h:
6319         * buffer.C: fix inset_iterator.end(), move out of line
6320         (bug 1149)
6321
6322 2003-06-01  John Levon  <levon@movementarian.org>
6323
6324         * text3.C: use a proper cut/paste when doing inset
6325         insert (from Jürgen Spitzmüller)
6326
6327 2003-06-01  John Levon  <levon@movementarian.org>
6328
6329         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6330
6331 2003-05-30  André Pönitz  <poenitz@gmx.net>
6332
6333         * rowpainter.C: unify second drawing phase
6334
6335 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6336
6337         * trans_mgr.C: remove one case of current_view
6338
6339         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6340
6341         * paragraph_funcs.h: remove paragraph.h include
6342
6343         * paragraph.h: delete NO_STD_LIST stuff
6344
6345         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6346
6347         * buffer.h: remove paragraph.h include
6348
6349         * ParagraphList.C: delete file
6350
6351         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6352
6353         * toc.C (getTocList): adjust
6354
6355         * paragraph_pimpl.C (validate): adjust
6356
6357         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6358
6359         * paragraph.C (Paragraph): adjust
6360         (getPositionOfInset): use const_iterator, adjust
6361         (bibitem): use const_iterator, adjust
6362         (setInsetOwner): adjust
6363
6364         * iterators.C (operator++): adjust
6365
6366         * InsetList.[Ch]: Replace selfmade iterator with standard
6367         vector::iterator also introduce const_iterator. Remove getPos,
6368         getInset and setInset from InsetTable. Adjust accordingly.
6369
6370         * BufferView.C (lockInset): adjust
6371         (ChangeInsets): adjust
6372
6373         * tabular.[Ch]: delete commented same_id functions
6374
6375 2003-05-28  John Levon  <levon@movementarian.org>
6376
6377         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6378
6379 2003-05-28  André Pönitz  <poenitz@gmx.net>
6380
6381         * metricsinfo.[Ch]: remove 'fullredraw' member
6382
6383 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6384
6385         * lyxtextclass.C (operator): remove caching.
6386
6387 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * text3.C: adjust
6390
6391         * text2.C (cursorBottom): adjust
6392         (setCounter): use ParagraphList::find, adjust
6393
6394         * text.C (workWidth): use ParagraphList::find, adjust
6395
6396         * lyxcursor.C (LyXCursor): adjust
6397
6398         * buffer.C (inset_iterator): adjust
6399
6400         * ParagraphList.h: make iterator(value_type) private, make
6401         ParagraphList a friend of iterator.
6402
6403         * ParagraphList.C (find): new function
6404
6405         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6406
6407 2003-05-27  André Pönitz  <poenitz@gmx.net>
6408
6409         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6410
6411 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6412
6413         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6414
6415 2003-05-26  John Levon  <levon@movementarian.org>
6416
6417         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6418
6419 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * remove same_id from function signatures, adjust.
6422
6423 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6424
6425         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6426
6427         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6428
6429         * paragraph.C (Paragraph): get rid of same_ids parameter
6430
6431         * ParagraphList.C (insert): adjust
6432         (push_back): adjust
6433
6434 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * paragraph_funcs.C (breakParagraph): adjust
6437         (breakParagraphConservative): adjust
6438
6439         * buffer.C (readParagraph): adjust
6440
6441         * ParagraphList.C (insert): take a reference instead of a pointer
6442         (insert): adjust
6443
6444         * paragraph.[Ch] (id): new function
6445
6446         * bufferlist.C (newFile): adjust
6447
6448         * ParagraphList.C (ParagraphList): adjust
6449         (assign): adjust
6450         (push_back): take a reference instead of a pointer.
6451
6452         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6453
6454         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6455         instead.
6456
6457         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6458         set else use old code.
6459
6460         * ParagraphList.C: remove all NO_NEXT code and only compile this
6461         code of NO_STD_LIST is set.
6462
6463 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6464
6465         * BufferView_pimpl.C:
6466         * TextCache.C:
6467         * TextCache.h:
6468         * bufferlist.C:
6469         * errorlist.h:
6470         * format.C:
6471         * format.h:
6472         * graph.C:
6473         * lyxfunc.C:
6474         * lyxrc.C:
6475         * graphics/GraphicsConverter.C:
6476         * graphics/PreviewLoader.C: header adjustment
6477
6478 2003-05-23  Angus Leeming  <leeming@lyx.org>
6479
6480         * LaTeXFeatures.[Ch] (useBabel): new method.
6481         * bufferparams.C (writeLaTeX): use it.
6482
6483 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6484
6485         * ParagraphList.h (set): remove unused function.
6486
6487 2003-05-23  André Pönitz  <poenitz@gmx.net>
6488
6489         * BufferView.C:
6490         * BufferView_pimpl.C:
6491         * buffer.C:
6492         * buffer.h:
6493         * lyxfunc.C:
6494         * undo_funcs.C: setUndo reworked
6495
6496         * iterators.[Ch]: add access to topmost ParagraphList
6497
6498         * lyxtext.[Ch] (workWidth): add a const
6499
6500 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * texrow.[Ch] (increasePos): remove function
6503         * exporter.C (export): removed unused var and outdated comment
6504
6505 2003-05-23  Angus Leeming  <leeming@lyx.org>
6506
6507         * latexrunparams.h: rename fragile as moving_arg.
6508         * paragraph.C (simpleTeXOnePar): ditto.
6509         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6510
6511 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6514         (createUndo): ditto
6515         (textUndoOrRedo): comment out a currently unused var.
6516
6517         * paragraph.h (NO_NEXT): enable NO_NEXT
6518
6519         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6520
6521         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6522
6523         * exporter.C (Export): adjust for removeAutoInsets removal.
6524
6525         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6526
6527         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6528
6529         * BufferView.[Ch] (removeAutoInsets): delete function
6530
6531 2003-05-22  Angus Leeming  <leeming@lyx.org>
6532
6533         * latexrunparams.h: add a free_spacing variable.
6534
6535         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6536         to pass moving_arg, as the data is stored in runparams.fragile.
6537
6538         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6539         to Inset::latexOptional or to simpleTeXOnePar.
6540
6541         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6542         free_spacing arg to Inset::latexOptional.
6543
6544         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6545         free_spacing arg.
6546
6547 2003-05-22  Angus Leeming  <leeming@lyx.org>
6548
6549         * latexrunparams.h: add fragile and use_babel variables.
6550
6551         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6552         * buffer.C (makeLaTeXFile): store this returned value in
6553         runparams.use_babel, thus passing it to the inset::latex methods.
6554
6555         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6556         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6557
6558         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6559         longer has a fragile arg, as it is stored in runparams.fragile.
6560
6561         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6562         moving_arg parameter as the data is stored in runparams.fragile.
6563
6564         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6565         a fragile parameter as the data is stored in runparams.fragile.
6566
6567 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6568
6569         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6570
6571 2003-05-22  Angus Leeming  <leeming@lyx.org>
6572
6573         * latexrunparams.h: add a 'bool nice' which defaults to false.
6574
6575         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6576         now encapsulated within runparams.
6577
6578         * bufferlist.C (updateIncludedTeXfiles):
6579         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6580
6581 2003-05-22  Angus Leeming  <leeming@lyx.org>
6582
6583         * latexrunparams.h: new file containing struct LatexRunParams.
6584         * Makefile.am: add new file.
6585
6586         * LaTeX.[Ch] (c-tor, run):
6587         * buffer.[Ch] (makeLaTeXFile):
6588         * bufferlist.[Ch] (updateIncludedTeXfiles):
6589         * converter.C (convert, scanLog):
6590         * converter.[Ch] (runLaTeX):
6591         * exporter.C (Export):
6592         * paragraph.[Ch] (simpleTeXOnePar):
6593         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6594         * paragraph_funcs.[Ch] (latexParagraphs):
6595         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6596         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6597         pass around a LatexRunParams parameter.
6598
6599 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * paragraph.[Ch]: remove unused constructor
6602
6603         * ParagraphList.C (erase): new function, taking two iterators
6604
6605 2003-05-22  André Pönitz  <poenitz@gmx.net>
6606
6607         * undo_funcs.C: remove duplicated code
6608
6609         * iterator.[Ch]: operator=
6610
6611 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6612
6613         * tabular.C (SetMultiColumn): ws changes
6614
6615         * rowpainter.C (paintFirst): get rid of a ->previous
6616
6617         * lyx_cb.C (getPossibleLabel): parlist simplification
6618
6619         * BufferView.C (ChangeInsets): simplify slightly.
6620
6621 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6622
6623         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6624         * lfuns.h: new LFUN_SPACE
6625         * lyxfunc.C: protected space has a new lfun
6626         * paragraph_funcs.C: read new space insets
6627         * text3.C:
6628         * factory.C: handle new space insets
6629
6630 2003-05-22  André Pönitz  <poenitz@gmx.net>
6631
6632         * BufferView.C:
6633         * BufferView_pimpl.C:
6634         * buffer.[Ch]:
6635         * lyxfunc.C:
6636         * undo_funcs.C: return a ParIterator from getParFromID.
6637
6638         * iterators.[Ch]: add two const's
6639
6640 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * toc.C (getTocList): adjust
6643
6644         * iterators.[Ch]: rework for parlist
6645
6646         * buffer.C (par_iterator_begin): adjust
6647         (par_iterator_end): adjust
6648
6649         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6650
6651         * BufferView.C (removeAutoInsets): adjust
6652         (ChangeInsets): adjust
6653
6654 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6655
6656         * text.C (top_y): fix bug 1110
6657
6658 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * errorlist.[Ch]: added
6661         * buffer.C:
6662         * BufferView.[Ch]:
6663         * BufferView_pimpl.C:
6664         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6665         instead
6666
6667 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6668
6669         * Makefile.am: ensure that lyx is relinked upon changes to the
6670         various "convenience" libs.
6671
6672 2003-05-20  Angus Leeming  <leeming@lyx.org>
6673
6674         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6675         files are compiled in alphabetical order again.
6676
6677         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6678
6679 2003-05-19  Angus Leeming  <leeming@lyx.org>
6680
6681         * gettext.[Ch]: remove "char const * _(char const *)".
6682
6683 2003-05-19  André Pönitz  <poenitz@gmx.net>
6684
6685         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6686
6687         * Makefile.am:
6688         * BufferView.C:
6689         * DepTable.h:
6690         * LaTeXFeatures.C:
6691         * buffer.C:
6692         * lyxfont.C:
6693         * lyxlex.h:
6694         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6695
6696 2003-05-19  André Pönitz  <poenitz@gmx.net>
6697
6698         * buffer.C:
6699         * lyxlayout.[Ch]:
6700         * lyxtextclass.[Ch]:
6701         * paragraph.C:
6702         * paragraph_funcs.[Ch]:
6703         * text2.C:
6704         * text3.C: more insetenv work
6705
6706 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6707
6708         * ParagraphParameters.C (params2string): small bug fixed
6709
6710 2003-05-16  André Pönitz  <poenitz@gmx.net>
6711
6712         * debug.C:
6713         * bufferview_funcs.C: patch from Kornel Benko to prevent
6714           crash when _(...) is called twice in a statement
6715
6716 2003-05-16  André Pönitz  <poenitz@gmx.net>
6717
6718         * BufferView.C:
6719         * lyxfunc.C:
6720         * text.C:
6721         * text2.C:
6722         * text3.C:
6723         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6724
6725 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6726
6727         * lyx_main.C (init): remove spurious static_cast
6728
6729 2003-05-14  André Pönitz  <poenitz@gmx.net>
6730
6731         * BufferView.C: fix format string
6732
6733 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * BufferView.[Ch] (insertErrors): removed
6736         * BufferView.[Ch] (showErrorList): added
6737         * buffer.C (runChkTeX):
6738         * converter.C (scanLog): call showErrorList instead of inserterrors
6739
6740 2003-05-13  André Pönitz  <poenitz@gmx.net>
6741
6742         * BufferView_pimpl.C:
6743         * buffer.C:
6744         * bufferview_func.C:
6745         * MenuBackend.C:
6746         * lyxfunc.C:
6747         * lyxrc.C:
6748         * tex-accent.C:
6749         * text3.C:
6750         * toc.C:
6751         * tabular_funcs.h: tostr() from its own header
6752
6753         * ParagraphParameters.C:
6754         * ToolbarBackend.C:
6755         * bufferparams.C:
6756         * format.C:
6757         * lyxlex_pimpl.C:
6758         * text3.C: STRCONV()
6759
6760 2003-05-12  André Pönitz  <poenitz@gmx.net>
6761
6762         * BufferView.C:
6763         * BufferView_pimpl.C:
6764         * CutAndPaste.C:
6765         * LaTeX.C:
6766         * LaTeXFeatures.C:
6767         * ParagraphParameters.C:
6768         * buffer.C:
6769         * bufferlist.C:
6770         * bufferparams.C:
6771         * bufferview_funcs.C:
6772         * converter.C:
6773         * counters.C:
6774         * debug.C:
6775         * exporter.C:
6776         * format.C:
6777         * importer.C:
6778         * lyx_cb.C:
6779         * lyx_main.C:
6780         * lyxfont.C:
6781         * lyxfunc.C:
6782         * lyxvc.C:
6783         * paragraph.C:
6784         * paragraph_funcs.C:
6785         * tabular.C:
6786         * tabular_funcs.C:
6787         * text2.C:
6788         * text3.C:  boost::format -> bformat  all over the place
6789
6790
6791 2003-05-09  André Pönitz  <poenitz@gmx.net>
6792
6793         * LColor.[Ch]: Pimpl the #include <map> away
6794
6795 2003-05-09  John Levon  <levon@movementarian.org>
6796
6797         * bufferlist.C: never remove emergency saves
6798
6799 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * Makefile.am: better lib building
6802
6803 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6806         instead.
6807         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6808         (simpleTeXSpecialChars): adjust
6809         (simpleTeXSpecialChars): adjust
6810         * paragraph.C (simpleTeXOnePar): adjust
6811         * buffer.C (makeLaTeXFile): adjust
6812
6813         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6814
6815         * text2.C (changeDepth): parlist cleanup
6816         (getColumnNearX): ditto
6817
6818         * rowpainter.C (getLabelFont): parlist cleanup
6819
6820         * bufferlist.C (newFile): parlist cleanup
6821
6822         * CutAndPaste.C (eraseSelection): parlist cleanup
6823
6824         * BufferView_pimpl.C (trackChanges): parlist cleanup
6825         (dispatch): ditto
6826
6827         * BufferView.C (lockInset): parlist cleanup.
6828         (ChangeInsets): ditto
6829
6830 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * CutAndPaste.h: Update file header.
6833
6834         * CutAndPaste.C: Update file header.
6835         Store the parts cut out of the Document in a limited_stack.
6836         (copySelection): adjust
6837         (pasteSelection): new function, takes the index in the limited stack.
6838         (nrOfParagraphs): adjust
6839         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6840         simplify error inset insertion.
6841         (checkPastePossible): adjust
6842
6843 2003-05-06  John Levon  <levon@movementarian.org>
6844
6845         * text2.C: don't cast wrap inset to float
6846
6847 2003-05-05  André Pönitz  <poenitz@gmx.net>
6848
6849         * iterator.C:
6850         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6851
6852         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6853           few naked Paragraph *.
6854
6855 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6856
6857         * bufferparams.C: Output warning if a document with missing
6858         TeX document class is loaded
6859         * exporter.C: Disable TeX exports if the document class is missing
6860         * lyxtextclass.C:
6861         * lyxtextclass.h:
6862         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6863         isTeXClassAvailable()
6864
6865 2003-05-03  John Levon  <levon@movementarian.org>
6866
6867         * BufferView.h:
6868         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6869         explicit cursor show/hide
6870
6871         * BufferView_pimpl.h:
6872         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6873         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6874
6875         * lyxfunc.C: hide cursor before dispatching.
6876
6877         * lyx_cb.C:
6878         * lyxfind.C:
6879         * text.C:
6880         * text3.C: remove explicit cursor hides
6881
6882 2003-05-02  André Pönitz  <poenitz@gmx.net>
6883
6884         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6885
6886         * undo_funcs.C:
6887         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6888           linked lists
6889
6890         * text2.C: tiny whitespace
6891
6892 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * undo_funcs.C: almost only ws changes.
6895
6896         * ParagraphList.C (splice): just return if pl is empty.
6897
6898 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6899
6900         * ParagraphList.C (splice): new function.
6901
6902         * CutAndPaste.C (pasteSelection): use it
6903
6904 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * CutAndPaste.C (pasteSelection): remove the last next and
6907         previous from this file.
6908
6909 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * CutAndPaste.C (pasteSelection): more clean up, user proper
6912         ParagraphList functions for pasteing.
6913
6914         * ParagraphList.C (insert): new function, three arg insert
6915
6916 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * ParagraphList.C (insert): new function, three arg insert
6919
6920         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6921         not on paragraphs.
6922
6923 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6926
6927 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6930
6931 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6934         (copySelection): clean up a bit.
6935         (pasteSelection): use make_pair
6936
6937         * ParagraphList.C (ParagraphList): implement copy constructor
6938         (operator=): implement, base on copy constructor.
6939         (assign): new func
6940
6941         * paragraph.C (erase): return a bool
6942
6943         * paragraph_pimpl.C (erasePos): remove function, move contents...
6944         (erase): ... here. Return a bool.
6945         (erase): call erase instead of erasePos.
6946
6947 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6948
6949         * ParagraphList.h: define PitPosPair
6950         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6951         ParagraphList, fix a bug on pasting multiple pars
6952         * text2.C: change interface to C&P
6953
6954 2003-04-30  André Pönitz  <poenitz@gmx.net>
6955
6956         * undo_func.C: revert part of yesterday's patch 2
6957
6958 2003-04-30  John Levon  <levon@movementarian.org>
6959
6960         * LColor.C: s/tabular/table/
6961
6962 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * text3.C (dispatch): do not convert iterator -> pointer
6965         * undo_funcs.C (setCursorParUndo): ditto
6966         * text_funcs.C (transposeChars): ditto
6967
6968         * text2.C (setLayout): ws changes only
6969
6970         * text.C (breakParagraph): do not convert iterator -> pointer
6971         (insertChar): ditto
6972         (acceptChange): ditto
6973         (rejectChange): ditto
6974         (changeCase): ditto
6975         (Delete): ditto
6976         (backspace): ditto
6977
6978         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6979         pointer
6980
6981 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6982
6983         * text3.C (gotoInset): YABG (yet another bad getChar)
6984
6985 2003-04-29  André Pönitz  <poenitz@gmx.net>
6986
6987         * paragraph.h: make operator= private unimplemented as long as
6988           it is unusable
6989
6990         * ParagraphList.C: whitespace
6991
6992         * paragraph.[Ch]:
6993         * paragraph_pimpl.[Ch]:
6994         * paragraph_funcs.C:
6995         * CutAndPaste.C:
6996         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6997
6998         * text2.C:
6999           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7000
7001 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7002
7003         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7004         * paragraph.[Ch] (erase):
7005         * paragraph_pimpl.[Ch] (erase): change return type and value
7006         * text2.C (cutSelection): some rework
7007
7008 2003-04-28  John Levon  <levon@movementarian.org>
7009
7010         * bufferlist.C: changes for unsaved changes dialog
7011
7012 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7013
7014         * bufferlist.C (newFile): set language (messages_) for new
7015         documents also.
7016
7017         * buffer.C (readFile): ws changes only.
7018
7019 2003-04-28  André Pönitz  <poenitz@gmx.net>
7020
7021         * undo_funcs.C:
7022         * lyxfunc.C:
7023         * buffer.[Ch]:
7024         * BufferView_pimpl.C:
7025         * BufferView.C: getParFromID related ParagraphList::iterator changes
7026
7027 2003-04-28  André Pönitz  <poenitz@gmx.net>
7028
7029         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7030           Changes
7031
7032 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * messages.C: remove one more localedir class variable.
7035
7036 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * messages.C (getLocaleDir): singleton generation function
7039         (Pimpl): use it.
7040         (Messages): add a default constructor.
7041
7042         * main.C (main): do not setup localedir here, do not call
7043         gettext_init.
7044
7045         * gettext.C (_): use it.
7046         (gettext_init): delete funciton
7047
7048 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * gettext.C (getLyXMessages): new singleton generating function.
7051
7052         * buffer.C (updateDocLang): adjust
7053
7054         * Makefile.am (messages.o): add target
7055         (main.o): remove target
7056
7057 2003-04-27  John Levon  <levon@movementarian.org>
7058
7059         * bufferlist.C:
7060         * lyx_cb.C:
7061         * lyxfunc.C:
7062         * lyxvc.C: specify cancel button in Alert::prompt
7063
7064 2003-04-26  John Levon  <levon@movementarian.org>
7065
7066         * text3.C:
7067         * lyxfunc.C:
7068         * lfuns.h:
7069         * LyXAction.C: add LFUN_INSET_SETTINGS
7070
7071         * lyxfunc.C: don't enable tabular-feature when there's
7072         just any locking inset
7073
7074 2003-04-26  John Levon  <levon@movementarian.org>
7075
7076         * bufferlist.C: re-add Cancel to buffer close question
7077
7078         * lyxfunc.C: fix import UI a bit
7079
7080 2003-04-25  John Levon  <levon@movementarian.org>
7081
7082         * gettext.C: remove the broken asserts for now
7083
7084 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * messages.C: make case where setlocale cannot comply work better.
7087
7088         * buffer.C (updateDocLang): new function
7089         (changeLanguage): use it
7090         (readFile): use it
7091
7092         * text2.C (setCounter): use B_ a bit.
7093
7094         * lyxlayout.C (Read): be sure to trim the label strings.
7095
7096         * messages.C (Messages): fix typo in comment
7097
7098         * buffer.C (readFile): set message_ after file is loaded.
7099         (makeDocBookFile): remove double return
7100         (changeLanguage): reset message_ upon language change.
7101         (B_): new func, use this to get translated buffer strings.
7102
7103         * main.C: add myself and Jean Marc as authors.
7104
7105 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * messages.[hC]: pimplify Messages, and three different pimpls to be
7108         used in different circumstances.
7109
7110         * gettext.[Ch]: change for use with new message code.
7111
7112 2003-04-24 André Pönitz <poenitz@gmx.net>
7113
7114         * factory.C: support for eqref
7115
7116 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * messages.[Ch]: add missing char
7119
7120         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7121
7122         * messages.[Ch]: New files
7123
7124 2003-04-18  John Levon  <levon@movementarian.org>
7125
7126         * BufferView.h:
7127         * BufferView.C:
7128         * BufferView_pimpl.C:
7129         * lfuns.h:
7130         * LyXAction.C:
7131         * lyxtext.h:
7132         * text2.C: remove layout-copy/paste (bug 778)
7133
7134 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7135
7136         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7137
7138 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7139
7140         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7141         if they succeed. Act accordingly.
7142
7143 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7144
7145         * text2.C (setCharFont): adjust
7146         (setCounter): adjust
7147         (insertStringAsLines): adjust
7148
7149         * text.C (leftMargin): adjust
7150         (setHeightOfRow): adjust
7151
7152         * rowpainter.C (paintFirst): adjust
7153         (paintLast): adjust
7154
7155         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7156         (outerHook): ditto
7157         (isFirstInSequence): ditto
7158         (getEndLabel): ditto
7159         (outerFont): adjust
7160
7161         * paragraph.C (getParLanguage): comment out some hard stuff.
7162
7163         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7164         (sgmlError): ditto
7165         (simpleDocBookOnePar): ditto
7166         (makeDocBookFile): use ParagraphList::iterator
7167
7168         * CutAndPaste.C (pasteSelection): adjust
7169
7170 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * text2.C (getFont): adjust
7173         (getLayoutFont): adjust
7174         (getLabelFont): adjust
7175
7176         * paragraph_funcs.C (TeXOnePar): adjust
7177
7178         * buffer.C (simpleLinuxDocOnePar): adjust
7179         (simpleDocBookOnePar): adjust
7180
7181         * CutAndPaste.C (pasteSelection): adjust
7182
7183         * BufferView.C (getEncoding): adjust
7184
7185         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7186
7187 2003-04-16  John Levon  <levon@movementarian.org>
7188
7189         * lyxfind.C: use parlist stuff for search/changes
7190
7191 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7192
7193         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7194
7195         * text2.C (deleteEmptyParagraphMechanism): adjust
7196
7197         * text2.[Ch] (ownerParagraph): delete func (both of them
7198
7199 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7202
7203 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7204
7205         * ParagraphList.C: prepare for NO_NEXT
7206
7207 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * text2.C (getFont): adjust
7210         (getLayoutFont): adjust
7211         (getLabelFont): adjust
7212
7213         * paragraph.C (getFont): adjust
7214         (getLabelFont): adjust
7215         (getLayoutFont): adjust
7216
7217         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7218
7219 2003-04-15  John Levon  <levon@movementarian.org>
7220
7221         From Angus Leeming
7222
7223         * lyx_main.C: handle Include in .ui files
7224
7225 2003-04-15  John Levon  <levon@movementarian.org>
7226
7227         * MenuBackend.C: make the doc files length shorter
7228
7229         * ToolbarBackend.h:
7230         * ToolbarBackend.C: handle toolbar placement flags,
7231         Minibuffer
7232
7233 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7236         adjust
7237
7238         * paragraph_funcs.C (TeXOnePar): adjust
7239
7240         * paragraph.C (getLabelFont): add outerfont arg, adjust
7241         (getLayoutFont): ditto
7242         (simpleTeXOnePar): adjust
7243
7244         * paragraph_pimpl.C (realizeFont): delete func
7245
7246 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7247
7248         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7249         row argument, constify cur argument.
7250
7251 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7252
7253         * text2.C (getFont): adjust
7254         (getLayoutFont): adjust
7255         (getLabelFont): adjust
7256
7257         * paragraph_funcs.C (TeXOnePar): adjust
7258         (outerFont): new func...
7259         (realizeFont): ...moved out from here, changed this to facilitate
7260         transition
7261
7262         * paragraph.C (getFont): take outerfont as arg, adjust
7263         (simpleTeXOnePar): add outerfont arg, adjust
7264
7265         * buffer.C (simpleLinuxDocOnePar): adjust
7266         (simpleDocBookOnePar): adjust
7267
7268         * CutAndPaste.C (pasteSelection): adjust
7269
7270         * BufferView.C (getEncoding): adjust
7271
7272 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * text2.C (setCharFont): adjust
7275         (setCounter): adjust
7276
7277         * text.C (leftMargin): adjust
7278         (setHeightOfRow): adjust
7279
7280         * rowpainter.C (paintFirst): adjust
7281         (paintLast): adjust
7282
7283         * paragraph_pimpl.C (realizeFont): adjust
7284
7285         * paragraph.C (isFirstInSequence): move from here...
7286         * paragraph_funcs.C (isFirstInSequence): ...to here
7287
7288         * paragraph.C (outerHook): move from here...
7289         * paragraph_funcs.C (outerHook): ...to here
7290
7291         * paragraph.C (depthHook): move from here...
7292         * paragraph_funcs.C (depthHook): ...to here
7293
7294         * paragraph.C (getEndLabel): move from here...
7295         * paragraph_funcs.C (getEndLabel): ...to here
7296
7297         * text2.C (realizeFont): move from here...
7298         * paragraph_funcs.C (realizeFont): ...to here
7299
7300 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7303
7304 2003-04-14  Angus Leeming  <leeming@lyx.org>
7305
7306         * LColor.[Ch]: scrap LColor mathcursor.
7307
7308 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * lyxlex.[Ch] (text): delete function
7311         * trans.C (Load): adjust
7312         * paragraph_funcs.C (readParToken): adjust
7313
7314 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7315
7316         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7317         vector<char> instead of a char[].
7318
7319         * lyxlex_pimpl.C (getString): adjust
7320         (next): adjust
7321         (lex): use getString
7322         (eatLine): adjust
7323         (nextToken): adjust
7324
7325         * lyxlex.C (text): use pimpl_->getString()
7326         (getBool): ditto
7327         (findToken): ditto
7328
7329 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7332         (makeFontEntriesLayoutSpecific): temp var for par.size()
7333         (setLayout): temp var for ownerParagraphs().end()
7334         (fullRebreak): temp var for rows().end()
7335         (selectionAsString): temp var for boost::next(startpit), realize
7336         that the while really is a regular for loop.
7337         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7338         setCursor in one place.
7339         (setParagraph): temp vr for ownerParagraphs().end()
7340         (updateCounters): make the while loop a for loop
7341         (cutSelection): temp var for ownerParagraphs().end()
7342         (updateInset): make the do {} while() a regular for loop
7343         (getCursorX): use temp vars
7344         (setCurrentFont): use temp vars
7345         (getColumnNearX): use temp vars
7346
7347 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text.C (transformChar): use temp var for getChar
7350         (computeBidiTables): use temp var for row->par()
7351         (fill): move temp vars for row->par() and pit->layout() earlier in
7352         the function.
7353         (labelFill): use temp var for row->par()
7354         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7355         asc and desc, realize that pit never changes and that firstpit is
7356         just a duplicate and not needed. Exchange rit->par() with pit in a
7357         lot of places.
7358         (breakAgain): use a temp var for boost::next(rit)
7359         (breakAgainOneRow): ditto
7360         (breakParagraph): use a temp var for rows().begin()
7361         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7362         (cursorRightOneWord): use temp var for cursor.par() and
7363         cursor.pos(), remove usage of tmpcursor.
7364         (cursorLeftOneWord): use temp var for cursor.par() and
7365         cursor.pos() only set cur at end of function.
7366
7367 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7368
7369         * text.C, text2.C: exchange all usage of Paragraph::next with
7370         boost::next(ParagraphList::iterator)
7371
7372         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7373
7374         * text2.C (cursorTop): simplify implementation
7375         (cursorBottom): ditto
7376         (setParagraph): use ParagraphList::iterator
7377         (setCurrentFont): adjust
7378         (getColumnNearX): adjust
7379         (cursorRight): adjust
7380         (cursorLeft): remove usage of Paragraph::previous
7381         (cursorUpParagraph): ditto
7382         (deleteEmptyParagraphMechanism): slight cleanup
7383
7384         * text.C (isBoundary): take a Paragraph const & instead of a
7385         pointer as arg.
7386         (addressBreakPoint): ditto
7387         (leftMargin): remove usage of Paragraph::previous.
7388         (setHeightOfRow): ditto
7389         (cursorLeftOneWord): ditto
7390         (selectNextWordToSpellcheck): ditto
7391         (Delete): ditto
7392         (backspace): ditto
7393         (breakParagraph): remove one usage of Paragraph::next
7394         (redoParagraph): ditto
7395         (acceptChange): ditto
7396         (insertChar): adjust
7397         (rowBreakPoint): adjust
7398
7399         * bufferview_funcs.C (toggleAndShow): adjust
7400
7401 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7402
7403         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7404         methods to access it.
7405         * lyxtext.h:
7406         * text.C: Added updateRowPositions to compute all row positions.
7407         Make top_y and getRowNearY() to use the cached y position
7408
7409 2003-04-11  John Levon  <levon@movementarian.org>
7410
7411         * text.C (rowBreakPoint): reintroduce the labelEnd
7412         checks, code copied from the row fill stuff. Deep voodoo.
7413
7414         * text.C (fill): add a comment and debugging for the
7415         next poor soul.
7416
7417 2003-04-11  John Levon  <levon@movementarian.org>
7418
7419         * text.C: make sure fullrow insets get wrapped to the next line,
7420         even when they're in a manual label
7421
7422 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7423
7424         * text2.C (insertParagraph): make it take ParagraphList::iterator
7425         as arg.
7426         (setLayout): make it return ParagraphList::iterator
7427         (redoParagraphs): ditto
7428         (setCounter): ditto
7429         (checkParagraph): ditto
7430
7431         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7432
7433         * text2.C: adjust several funcs.
7434         (realizeFont): take a ParagraphList::iterator as arg.
7435         (getLayoutFont): ditto
7436         (getLabelFont): ditto
7437         (setCharFont): ditto
7438
7439         * text.C: adjust several funcs.
7440
7441 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7442
7443         * text.C (selectNextWordToSpellcheck): don't accidentally
7444         skip insets
7445
7446 2003-04-10  John Levon  <levon@movementarian.org>
7447
7448         * ToolbarBackend.C (getIcon): special handling for
7449         LFUN_MATH_DELIM
7450
7451 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7452
7453         * text2.C (cursorRight): a getChar assert fixed
7454
7455 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * text2.C (getFont): change to take a ParagraphList::iterator
7458         instead of Paragraph*
7459         Adjust several functions.
7460
7461         * text.C (transformChar): change to take a ParagraphList::iterator
7462         instead of Paragraph*
7463         (singleWidth): ditto
7464         Adjust several functions.
7465
7466         * rowpainter.C: adjust several functions
7467         * rowpainter.h:store a ParagraphList::iterator and not a
7468         Paragraph&.
7469
7470
7471 2003-04-09  John Levon  <levon@movementarian.org>
7472
7473         * lyxfunc.C:
7474         * lfuns.h:
7475         * LyXAction.h:
7476         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7477         and the "help" bits as well
7478
7479 2003-04-09  John Levon  <levon@movementarian.org>
7480
7481         * ToolbarBackend.h:
7482         * ToolbarBackend.C: allow multiple toolbars
7483
7484 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * undo_funcs.C (setCursorParUndo): adjust
7487
7488         * text_funcs.C (transposeChars): adjust
7489
7490         * text3.C (gotoNextInset): adjust
7491         (dispatch): adjust
7492
7493         * text2.C (setLayout): adjust
7494         (changeDepth): adjust
7495         (setFont): adjust
7496         (redoParagraphs): adjust
7497         (selectionAsString): adjust
7498         (setParagraph): adjust
7499         (insertInset): adjust
7500         (cutSelection): adjust
7501         (copySelection): adjust
7502         (pasteSelection): adjust
7503         (insertStringAsLines): adjust
7504         (updateInset): adjust
7505         (setCursor): change to take a ParagraphList::iterator parameter
7506         (setCursorIntern): change to take a ParagraphList::iterator parameter
7507         (setCurrentFont): adjust
7508         (cursorLeft): adjust
7509         (cursorRight): adjust
7510         (deleteEmptyParagraphMechanism): adjust
7511
7512         * text.C (breakParagraph): adjust
7513         (insertChar): adjust
7514         (acceptChange): adjust
7515         (rejectChange): adjust
7516         (selectNextWordToSpellcheck): adjust
7517         (changeCase): adjust
7518         (Delete): adjust
7519         (backspace): adjust
7520
7521         * lyxfind.C (SearchForward): adjust
7522         (SearchBackward): adjust
7523         (nextChange): adjust
7524
7525         * lyxcursor.C (par): adjust
7526
7527         * lyxcursor.h: store a ParagraphList::iterator instead of a
7528         Paragraph*
7529
7530         * lyx_cb.C (getPossibleLabel): adjust
7531
7532         * bufferview_funcs.C (toggleAndShow): adjust
7533
7534         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7535         (dispatch): adjust
7536
7537         * BufferView.C (removeAutoInsets): adjust
7538         (lockedInsetStoreUndo): adjust
7539
7540 2003-04-09  John Levon  <levon@movementarian.org>
7541
7542         * ToolbarBackend.C: try icon without argument
7543         if with argument fails
7544
7545 2003-04-08  John Levon  <levon@movementarian.org>
7546
7547         * ToolbarBackend.h:
7548         * ToolbarBackend.C: add getIcon(), handle tooltip,
7549         and change from "Icon" to "Item".
7550
7551 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7552
7553         * BufferView.C (lockInset): another bad getchar crunched
7554
7555 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7556
7557         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7558         again)
7559
7560 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7561
7562         * lyxfind.C (searchForward, searchBackwards): bug 782
7563
7564 2003-04-07  John Levon  <levon@movementarian.org>
7565
7566         * paragraph.C: remove dead comment
7567
7568         * text.C: remove troublesome depth-fiddling code
7569         in leftMargin() and rightMargin() (bug 1017)
7570
7571         * text.C: fix breaking of rows in nested lists
7572         (bug 1004)
7573
7574         * text2.C (updateCounters): fix up depth values
7575         (bug 1013)
7576
7577 2003-04-07  John Levon  <levon@movementarian.org>
7578
7579         * BufferView_pimpl.C: clear message when doc finishes resizing,
7580         and after a mouse event
7581
7582         * lyxfunc.C: clear message after exiting inset
7583
7584 2003-04-07  John Levon  <levon@movementarian.org>
7585
7586         * bufferview_funcs.C: show math status not outside
7587         status in the statusbar
7588
7589 2003-04-07  John Levon  <levon@movementarian.org>
7590
7591         * lyxfunc.C: note status changed after a depth change
7592
7593 2003-04-04  Angus Leeming  <leeming@lyx.org>
7594
7595         * LaTeX.h: move AuxInfo operator==, != out of line.
7596         Remove LaTeX virtual destructor; nothing derives from it.
7597         Move operator()() out of public area and rename it startscript().
7598         Change protected for private.
7599
7600 2003-04-04  Angus Leeming  <leeming@lyx.org>
7601
7602         * lyxfunc.C:
7603         * text2.C: remove unneeded #includes.
7604
7605 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7606
7607         * text2.C (dEPM): fix the heigth of the next row
7608
7609 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7610
7611         * text.C: squashed an invalid getChar requester + some ws changes
7612
7613 2003-04-03  John Levon  <levon@movementarian.org>
7614
7615         * bufferview_funcs.h:
7616         * bufferview_funcs.C:
7617         * lyxfunc.C:
7618         * lyxtext.h:
7619         * text2.C: make getStatus work for the env depth lfuns
7620
7621 2003-04-03  John Levon  <levon@movementarian.org>
7622
7623         * bufferview_funcs.h:
7624         * bufferview_funcs.C:
7625         * lyxfunc.C:
7626         * lyxtext.h:
7627         * text2.C: parlistize decDepth(), by merging it with incDepth()
7628
7629 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7630
7631         * lyxrow.h: store a ParagraphList::iterator instead of a
7632         Paragraph* and adjust other class functions to suit.
7633
7634         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7635         above.
7636
7637 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7638
7639         * text2.C (setCursor): do not anchor to cursor row for the time being
7640
7641 2003-04-02  John Levon  <levon@movementarian.org>
7642
7643         * LyXAction.C:
7644         * lfuns.h:
7645         * lyx_main.C:
7646         * lyxtext.h:
7647         * text.C:
7648         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7649
7650 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7651
7652         * paragraph.h: make ParagraphList and ParagraphList::iterator
7653         friends of Paragraph.
7654
7655         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7656
7657         * ParagraphList.C: Use the private next_ and previous_ from
7658         Paragraph.
7659
7660 2003-04-01  John Levon  <levon@movementarian.org>
7661
7662         * ToolbarBackend.h:
7663         * ToolbarBackend.C:
7664         * Makefile.am: rename, remove defaults gunk
7665
7666         * MenuBackend.h:
7667         * MenuBackend.C: remove defaults gunk
7668
7669         * Languages.h:
7670         * Languages.C: remove defaults gunk
7671
7672         * lyx_main.h:
7673         * lyx_main.C: error out if files couldn't be found.
7674
7675 2003-04-02  John Levon  <levon@movementarian.org>
7676
7677         * text2.C: make incDepth() use parlist
7678
7679 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7680
7681         * undo_funcs.C (firstUndoParagraph): adjust
7682
7683         * text3.C (gotoInset): adjust
7684         (dispatch): adjust, and rewrite loop.
7685
7686         * text2.C (init): adjust, and rewrite loop.
7687         (redoParagraphs): adjust
7688         (updateInset): adjust, and rewrite loop.
7689         (deleteEmptyParagraphMechanism): adjust
7690
7691         * tabular.C (LyXTabular): adjust
7692         (SetMultiColumn): adjust
7693         (TeXRow): adjust
7694
7695         * lyxtext.[Ch] (ownerParagraph): delete function
7696         (ownerParagraphs): new function returns a ParagraphList.
7697
7698         * BufferView.C (removeAutoInsets): adjust
7699         (insertErrors): adjust
7700         (setCursorFromRow): adjust
7701
7702 2003-04-01  Angus Leeming  <leeming@lyx.org>
7703
7704         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7705         in the frontends.
7706
7707 2003-04-02  John Levon  <levon@movementarian.org>
7708
7709         * lyxtext.h:
7710         * text.C:
7711         * Makefile.am:
7712         * text_funcs.h:
7713         * text_funcs.C: make transposeChars a free function
7714
7715         * lyxrow_funcs.C: remove wrong comment
7716
7717 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * lyxtext.h: adjust
7720         * rowpainter.C: adjust
7721         * text.C: adjust
7722         * text2.C: adjust
7723         * text3.C: adjust
7724
7725         * lyxrow_funcs. [Ch]: new files
7726
7727         * lyxrow.[Ch]: remove next and previous pointers
7728         (next,previous): remove accessor functions
7729         (isParEnd): move to lyxrow_funcs
7730         (lastPos): move to lyxrow_funcs
7731         (nextRowIsAllInset): move to lyxrow_funcs
7732         (lastPrintablePos): move to lyxrow_funcs
7733         (numberOfSeparators): move to lyxrow_funcs
7734         (numberOfHfills): move to lyxrow_funcs
7735         (numberOfLabelHfills): move to lyxrow_funcs
7736         (hfillExpansion): move to lyxrow_funcs
7737
7738         * lyxfunc.C: adjust
7739
7740         * bufferview_funcs.C (toggleAndShow): adjust
7741
7742         * RowList.h: Remove class RowList from file leave just a
7743         std::list<Row>.
7744
7745         * RowList.C: delete file
7746
7747         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7748         and lyxrow_funcs.h
7749
7750 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * text3.C (cursorPrevious): adjust
7753         (cursorNext): adjust
7754         (dispatch): adjust
7755
7756         * text2.C (redoHeightOfParagraph): adjust
7757         (redoDrawingOfParagraph): adjust
7758         (setCursor): adjust
7759
7760         * text.C (breakParagraph): adjust
7761         (insertChar): adjust
7762         (backspace): adjust
7763
7764         * rowpainter.C (RowPainter): adjust
7765         (leftMargin): simplify and adjust
7766         (most rowpainter functions): adjust.
7767
7768         * rowpainter.h: store the row as RowList::iterator not as Row*
7769
7770         * lyxcursor.C (row): taka RowList::iterator as arg
7771         (irow): ditto
7772
7773         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7774         of Row*.
7775
7776 2003-04-01  Angus Leeming  <leeming@lyx.org>
7777
7778         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7779         stuff like bool Bool.
7780
7781 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7782
7783         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7784         rewrite a loop
7785
7786 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7789         RowList::iterator.
7790
7791         * lyxtext.h (rows): drop one version and leve a const variant that
7792         returns a RowList::iterator.
7793
7794 2003-03-31  Angus Leeming  <leeming@lyx.org>
7795
7796         * text.C (fill): ensure that the signature is the same as that in the
7797         header file.
7798
7799 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * text2.C (redoParagraphs): adjust
7802         (updateCounters): adjust
7803         (checkParagraph): adjust
7804         (getColumnNearX): adjust and reformat a bit.
7805
7806         * text.C (top_y): adjust
7807         (workWidth): adjust
7808         (leftMargin): adjust
7809         (prepareToPrint): adjust
7810         (getRow): adjust
7811         (getRowNearY): adjust
7812
7813         * lyxtext.h: make rowlist_ mutable.
7814
7815         * RowList.h: add const_iterator
7816         * RowList.C: adjust for RowList::const_iterator.
7817
7818         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7819         adjust.
7820
7821 2003-03-31  John Levon  <levon@movementarian.org>
7822
7823         * lyxrc.h:
7824         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7825
7826         * lyx_main.C: set default fonts from using lyx_gui funcs
7827
7828         * exporter.C: pdf_mode moved from lyxrc
7829
7830         * lyx_cb.C:
7831         * lyxfunc.C: changes from above
7832
7833 2003-03-31  John Levon  <levon@movementarian.org>
7834
7835         * lyx_main.C: fix to the last fix
7836
7837 2003-03-31  John Levon  <levon@movementarian.org>
7838
7839         * bufferlist.C: "Load original" -> "Load Original"
7840
7841         * converter.C:
7842         * exporter.C:
7843         * importer.C:
7844         * lyx_main.C:
7845         * format.C: more Alert cleanups
7846
7847 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7848
7849         * text2.C (removeParagraph): make it take a RowList::iterator as
7850         arg, adjust.
7851         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7852         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7853
7854         * text.C (anchor_row): make it take a RowList::iterator as arg,
7855         adjust.
7856         (computeBidiTables): make it take a const reference to Row instead
7857         of Row pointer, adjust.
7858         (leftMargin): make it take a RowList::iterator as arg, adjust.
7859         (rowBreakPoint): adjust
7860         (breakAgainOneRow): make it take a RowList::iterator as arg,
7861         adjust.
7862         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7863
7864         * bufferview_funcs.C (toggleAndShow): adjust
7865
7866 2003-03-30  John Levon  <levon@movementarian.org>
7867
7868         * Makefile.am:
7869         * BoostFormat.h:
7870         * boost-inst.C: moved to support
7871
7872         * several files: changes as a result
7873
7874 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * text2.C (LyXText): adjust.
7877         (init): adjust
7878         (removeRow): make it take a RowList::iterator as arg, adjust.
7879         (fullRebreak): adjust
7880         (deleteEmptyParagraphMechanism): adjust
7881         (clearPaint): adjust
7882         (postPaint): adjust
7883
7884         * text.C (top_y): adjust
7885         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7886         (breakAgain): make it take a RowList::iterator as arg, adjust.
7887         (breakParagraph): adjust
7888         (insertChar): adjust
7889         (backspace): adjust
7890
7891         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7892         need_break_row, and refresh_row.
7893
7894         * text3.C (dispatch): adjust
7895
7896         * text2.C (checkParagraph): adjust
7897         (setCursor): adjust
7898         (setCursorFromCoordinates): adjust
7899
7900         * text.C (top_y): adjust
7901         (workWidth): adjust
7902         (getRow): make it return a RowList::iterator, adjust
7903         (getRowNearY): make it return a RowList::iterator, adjust
7904
7905         * text2.C (init): adjust
7906         (insertRow): remove function
7907         (insertParagraph): adjust
7908         (redoParagraphs): adjust
7909         (fullRebreak): adjust
7910         (updateCounters): adjust
7911
7912         * text.C (top_y): rewrite to use RowList iterators.
7913         (top_y): adjust
7914         (setHeightOfRow): rewrite to sue RowList iterators.
7915         (appendParagraph): adjust
7916         (breakAgain): adjust
7917         (breakAgainOneRow): adjust
7918         (breakParagraph): adjust
7919         (getRow): adjust
7920         (getRowNearY): adjust, and remove commented code.
7921
7922         * lyxtext.h (firstRow): delete function
7923         (lastRow): delete function
7924         (rows): new function (const and non-const versions.)
7925         (insertRow): delete function
7926
7927         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7928
7929 2003-03-29  John Levon  <levon@movementarian.org>
7930
7931         * BufferView_pimpl.C: always update scrollbar top
7932         because pasting text when we're anchored could mean we
7933         miss an update altogether
7934
7935 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7936
7937         * text2.C (init): use rowlist_.end() and not 0.
7938         (insertRow): change to take a RowList::iterator as arg, adjust
7939         for this.
7940         (insertParagraph): change to take a RowList::iterator as arg,
7941         adjust for this.
7942         (redoParagraphs): remove some debug msgs.
7943
7944         * text.C (appendParagraph): change to take a RowList::iterator
7945         arg, adjust for this.
7946         (breakAgain): add an assert
7947         (breakAgainOneRow): ditto
7948
7949 2003-03-29  John Levon  <levon@movementarian.org>
7950
7951         * text2.C: do not clear selection after inc/decDepth
7952         (bug 550)
7953
7954 2003-03-29  John Levon  <levon@movementarian.org>
7955
7956         * BufferView.C:
7957         * buffer.C: fix broken strerrors according to Lars
7958
7959 2003-03-29  John Levon  <levon@movementarian.org>
7960
7961         * converters.C: more Alert cleanups
7962
7963 2003-03-29  John Levon  <levon@movementarian.org>
7964
7965         * bufferview_funcs.C: remove pointless Alert
7966
7967         * buffer.C: fix confusing error message when
7968         a template is chmoded 000
7969
7970 2003-03-29  John Levon  <levon@movementarian.org>
7971
7972         * BufferView.C:
7973         * BufferView.h:
7974         * BufferView_pimpl.C: Alert fixes
7975
7976         * Makefile.am:
7977         * tabular.C:
7978         * tabular-old.C: remove unused table compat reading
7979
7980 2003-03-29  John Levon  <levon@movementarian.org>
7981
7982         * BufferView.C:
7983         * buffer.C:
7984         * lyx_cb.h:
7985         * lyx_cb.C: more Alert cleanups
7986
7987         * lyxfunc.C: don't allow chktex if not latex document
7988
7989 2003-03-29  John Levon  <levon@movementarian.org>
7990
7991         * lyx_cb.C:
7992         * BufferView.C:
7993         * buffer.C: warnings pushed down from support/,
7994         kill err_alert
7995
7996 2003-03-29  John Levon  <levon@movementarian.org>
7997
7998         * lyxfunc.C: safety check for C-r (revert)
7999
8000 2003-03-29  John Levon  <levon@movementarian.org>
8001
8002         * bufferlist.h:
8003         * bufferlist.C: several UI fixes using Alert::prompt.
8004         Fix the pointless looping quit code. Fix stupid revert
8005         behaviour (bug 938)
8006
8007         * lyxvc.h:
8008         * lyxvc.C:
8009         * lyx_cb.C: use Alert::prompt
8010
8011         * lyx_main.C: remove a silly question
8012
8013         * lyxfunc.C: remove a couple of silly questions,
8014         use Alert::prompt
8015
8016 2003-03-28  John Levon  <levon@movementarian.org>
8017
8018         * text2.C: fix bug 974 (End on empty par)
8019
8020 2003-03-28  John Levon  <levon@movementarian.org>
8021
8022         * BufferView_pimpl.C:
8023         * LyXAction.C:
8024         * lfuns.h: remove do-nothing math greek lfuns
8025
8026 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * lyxgluelength.h (isValidGlueLength): add default arg on
8029         parameter 2. Remove default arg from friend in class.
8030
8031         * lyxlength.h (isValidLength): add default arg on parameter 2.
8032         Remove default arg from friend in class.
8033
8034         * text2.C (LyXText): adjust, initialize refresh_row.
8035         (init): adjust
8036         (removeRow): adjust
8037         (insertRow): adjust
8038         (insertParagraph): adjst
8039         (redoParagraphs): adjust
8040         (fullRebreak): adjust
8041         (updateCounters): adjust
8042         (deleteEmptyParagraphMechanism): first attempt at fixing a
8043         crashing bug.
8044
8045         * text.C (top_y): adjust
8046         (setHeightOfRow): adjust
8047         (getRow): adjust
8048         (getRowNearY): adjust
8049
8050         * lyxtext.h: include RowList.h
8051         (~LyXText): not needed anymore, deleted.
8052         (firstRow): modify for RowList
8053         (lastRow): new function
8054         Delete firstrow and lastrow class variables, add a Rowlist
8055         rowlist_ class variable.
8056
8057         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8058         paragraph is empty.
8059
8060         * RowList.C (insert): fix case where it == begin().
8061
8062 2003-03-26  Angus Leeming  <leeming@lyx.org>
8063
8064         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8065         the thesaurus dialog.
8066
8067 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8070
8071         * RowList.[Ch]: new files
8072
8073         * ParagraphList.C (erase): handle the case where it == begin
8074         correctly.
8075
8076 2003-03-25  John Levon  <levon@movementarian.org>
8077
8078         * Makefile.am:
8079         * aspell_local.h:
8080         * aspell.C: add new aspell support
8081
8082         * lyxrc.h:
8083         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8084         have it accessible.
8085
8086 2003-03-25  Angus Leeming  <leeming@lyx.org>
8087
8088         * lfuns.h:
8089         * LyXAction.C (init): new LFUN_INSET_INSERT.
8090
8091         * BufferView_pimpl.C (dispatch): split out part of the
8092         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8093
8094         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8095         LFUN_INSET_APPLY.
8096
8097 2003-03-25  Angus Leeming  <leeming@lyx.org>
8098
8099         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8100
8101 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8102
8103         * text2.C:
8104         * text3.C: remove useless row->height(0)
8105
8106 2003-03-25  John Levon  <levon@movementarian.org>
8107
8108         * lyxtext.h:
8109         * text2.C:
8110         * text3.C: rename the refreshing stuff to better names
8111
8112 2003-03-24  John Levon  <levon@movementarian.org>
8113
8114         * BufferView_pimpl.h:
8115         * BufferView_pimpl.C: update layout choice on a mouse
8116         press/release
8117
8118 2003-03-23  John Levon  <levon@movementarian.org>
8119
8120         * Makefile.am: fix commandtags.h reference
8121
8122 2003-03-22  John Levon  <levon@movementarian.org>
8123
8124         * BufferView_pimpl.C:
8125         * lyxtext.h:
8126         * rowpainter.C:
8127         * rowpainter.h:
8128         * text.C:
8129         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8130
8131 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8132
8133         * lyxtext.h:
8134         * text.C: take the rtl methods out of line
8135
8136 2003-03-21 André Pönitz <poenitz@gmx.net>
8137
8138         * metricsinfo.[Ch]: new files containing structures to be passed around
8139         during the two-phase-drawing...
8140
8141 2003-03-21 André Pönitz <poenitz@gmx.net>
8142
8143         * lyxtextclass.C: read 'environment' tag.
8144
8145 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8146
8147         * text2.C (removeRow): fix bug 964
8148
8149 2003-03-20  John Levon  <levon@movementarian.org>
8150
8151         * rowpainter.C:
8152         * text.C:
8153         * text2.C: paint cleanups. Inset::update() dropped font
8154         parameter
8155
8156 2003-03-19  John Levon  <levon@movementarian.org>
8157
8158         * lyxfunc.C: only fitcursor/markDirty if available()
8159
8160 2003-03-19  John Levon  <levon@movementarian.org>
8161
8162         * commandtags.h: rename to ...
8163
8164         * lfuns.h: ... this, and renumber / cleanup
8165
8166 2003-03-19  John Levon  <levon@movementarian.org>
8167
8168         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8169         fit the cursor after an lfun
8170
8171         * BufferView.h:
8172         * BufferView.C:
8173         * BufferView_pimpl.h:
8174         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8175
8176         * LyXAction.C: layout-character should have ReadOnly
8177
8178         * ParagraphParameters.C:
8179         * buffer.C:
8180         * bufferview_funcs.C:
8181         * lyx_cb.C:
8182         * lyxfind.C:
8183         * lyxtext.h:
8184         * text.C:
8185         * text2.C:
8186         * text3.C:
8187         * undo_funcs.C: changes from above
8188
8189 2003-03-18  John Levon  <levon@movementarian.org>
8190
8191         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8192         remove it from update()
8193
8194         * lyxfunc.C: update layout choice after an lfun
8195
8196         * text3.C: remove extra updateLayoutChoice()s
8197
8198 2003-03-18  John Levon  <levon@movementarian.org>
8199
8200         * text.C: top_y change means full repaint, fix
8201         a drawing bug with cursor movement
8202
8203 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8204
8205         * lyxtext.h:
8206         * text.C:
8207         * text2.C: anchor row on setCursor
8208
8209 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8210
8211         * lyxtext.h: remove almost all mutable keywords
8212         * text.C:
8213         * text2.C:
8214         * text3.C: remove const keywords accordingly
8215
8216 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8219         anon namespace
8220         (TeXEnvironment): ditto
8221         (TeXOnePar): ditto
8222
8223 2003-03-17  John Levon  <levon@movementarian.org>
8224
8225         * text.C (rowBreakPoint): remove attempt to fix displayed
8226         math insets inside a manual label
8227
8228 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * lyxtext.h: remove BufferView* as first arg from almost all class
8231         functions.
8232         * other files: adjust.
8233
8234 2003-03-17  John Levon  <levon@movementarian.org>
8235
8236         * lyxtext.h:
8237         * undo_funcs.C:
8238         * text2.C: more paint cleanups
8239
8240         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8241
8242         * rowpainter.h:
8243         * rowpainter.C: remove "smart" background painting code
8244
8245 2003-03-16  John Levon  <levon@movementarian.org>
8246
8247         * lyxtext.h:
8248         * text.C:
8249         * text2.C:
8250         * text3.C: add helper functions for setting refresh_row/y
8251
8252 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8253
8254         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8255         newline inset which *can* get inserted in the pass_thru layouts.
8256         This is primarily for literate documents.
8257
8258 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8259
8260         * buffer.C: increment LYX_FORMAT to 223
8261
8262 2003-03-14 André Pönitz <poenitz@gmx.net>
8263
8264         * textclass.h: prepare for environment handling, ws changes
8265         * lyxlayout.C: read latexheader and latexfooter tags
8266
8267 2003-03-14  John Levon  <levon@movementarian.org>
8268
8269         * text2.C: rewrite ::status() a bit
8270
8271 2003-03-13  John Levon  <levon@movementarian.org>
8272
8273         * lyxtext.h: add some docs
8274
8275 2003-03-13  John Levon  <levon@movementarian.org>
8276
8277         * lyxtext.h:
8278         * text.C:
8279         * text2.C:
8280         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8281
8282 2003-03-13  John Levon  <levon@movementarian.org>
8283
8284         * text3.C: fix appendix redrawing
8285
8286 2003-03-13  John Levon  <levon@movementarian.org>
8287
8288         * text.C (setHeightOfRow):
8289         * rowpainter.h:
8290         * rowpainter.C: make appendix mark have the text
8291           "Appendix" so the user knows what it is
8292
8293         * LColor.h:
8294         * LColor.C: s/appendixline/appendix/ from above
8295
8296 2003-03-13  John Levon  <levon@movementarian.org>
8297
8298         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8299
8300         * text.C: fix a getChar(pos) bug properly
8301
8302 2003-03-13  Angus Leeming  <leeming@lyx.org>
8303
8304         * commandtags.h:
8305         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8306         Probably only temporary. Let's see how things pan out.
8307
8308         * BufferView.C (unlockInset):
8309         * BufferView_pimpl.C (fitCursor):
8310         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8311
8312         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8313         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8314
8315         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8316         new functions that convert ParagraphParameters to and from a string.
8317
8318         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8319         BufferView::Pimpl's dispatch.
8320         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8321
8322 2003-03-13 André Pönitz <poenitz@gmx.net>
8323
8324         * lyxfunc.C:
8325         * text3.C:
8326         * factory.C: make it aware of InsetEnv
8327
8328 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * text2.C (setCursor): never ask for one past last
8331         (setCursor): add some debugging messages.
8332
8333         * text.C (singleWidth): never ask for one past last
8334         (singleWidth): ditto
8335         (leftMargin): ditto
8336         (rightMargin): ditto
8337         (rowBreakPoint): ditto
8338         (setHeightOfRow): ditto
8339         (prepareToPrint): ditto
8340
8341         * rowpainter.C (paintBackground): never ask for one past last
8342         (paintText): never ask for one past last
8343
8344         * paragraph_pimpl.C (getChar): make the assert stricter, never
8345         allow the one past last pos to be taken
8346
8347         * paragraph.C (getChar): ws changes only
8348
8349         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8350         (numberOfSeparators): ditto
8351         (numberOfHfills): ditto
8352
8353 2003-03-12  John Levon  <levon@movementarian.org>
8354
8355         * author.h:
8356         * author.C:
8357         * bufferparams.h:
8358         * bufferparams.C:
8359         * paragraph_funcs.C: fix per-buffer authorlists
8360
8361 2003-03-12  John Levon  <levon@movementarian.org>
8362
8363         * text.C: fix newline in right address
8364
8365 2003-03-12  Angus Leeming  <leeming@lyx.org>
8366
8367         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8368         duplicate those in LyXFunc::dispatch.
8369
8370         * commandtags.h:
8371         * LyXAction.C:
8372         * ToolbarDefaults.C:
8373         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8374         Add LFUN_FONTFREE_UPDATE.
8375
8376         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8377         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8378
8379         * bufferview_func.[Ch]: several new functions to facilliate
8380         transfer of data to and from the character dialog.
8381
8382 2003-03-12  John Levon  <levon@movementarian.org>
8383
8384         * buffer.C:
8385         * paragraph.h:
8386         * paragraph.C:
8387         * paragraph_funcs.C:
8388         * paragraph_pimpl.C:
8389         * sgml.C:
8390         * tabular.C:
8391         * text.C:
8392         * text3.C: remove META_NEWLINE in favour of an inset
8393
8394         * rowpainter.h:
8395         * rowpainter.C: remove paintNewline (done by inset)
8396
8397 2003-03-12  John Levon  <levon@movementarian.org>
8398
8399         * paragraph_pimpl.C: complain about bad getChar()s
8400         for a while at least
8401
8402 2003-03-12  John Levon  <levon@movementarian.org>
8403
8404         * buffer.h:
8405         * buffer.C: move paragraph read into a separate function,
8406         a little renaming to reflect that.
8407
8408         * bufferparams.h:
8409         * bufferparams.C: remove the author_ids map, not necessary now
8410
8411         * factory.h:
8412         * factory.C: moved Buffer::readInset to here
8413
8414         * paragraph_funcs.h:
8415         * paragraph_funcs.C: readParagraph free function moved from
8416         buffer.C
8417
8418         * tabular.C: name change
8419
8420 2003-03-12  John Levon  <levon@movementarian.org>
8421
8422         * buffer.C:
8423         * ParagraphParameters.C: move par params input to
8424         a read() method
8425
8426         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8427         behave like a normal read from the stream wrt reading
8428         a line vs. a \\token
8429
8430 2003-03-12  John Levon  <levon@movementarian.org>
8431
8432         * paragraph.C:
8433         * ParagraphParameters.h:
8434         * ParagraphParameters.C: move output code to a
8435         ::write() method
8436
8437 2003-03-12  John Levon  <levon@movementarian.org>
8438
8439         * BufferView.C (insertLyXFile):
8440         * buffer.h:
8441         * buffer.C:
8442         * tabular.C: use a parlist iterator for creating the
8443           document.
8444
8445 2003-03-12  John Levon  <levon@movementarian.org>
8446
8447         * buffer.C: make current_change static local not
8448           static file-scope
8449
8450 2003-03-12  John Levon  <levon@movementarian.org>
8451
8452         * buffer.C: fix insertStringAsLines for change tracking
8453
8454 2003-03-12  John Levon  <levon@movementarian.org>
8455
8456         * BufferView.C:
8457         * tabular.C:
8458         * buffer.h:
8459         * buffer.C:
8460         * bufferparams.h:
8461         * bufferparams.C: move author list into params. Rename some
8462           functions. Move the header reading into a separate token
8463           loop. Move the header token reading into BufferParams.
8464
8465 2003-03-12  John Levon  <levon@movementarian.org>
8466
8467         * changes.C: put debug inside lyxerr.debugging() checks
8468
8469 2003-03-11 André Pönitz <poenitz@gmx.net>
8470
8471         * factory.C: make it aware of InsetHFill
8472
8473 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8474
8475         * buffer.C (latexParagraphs): move function from here...
8476         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8477         args.
8478
8479 2003-03-10  Angus Leeming  <leeming@lyx.org>
8480
8481         * LyXAction.C (init): fix bug in poplating array with multiple entries
8482         with the same LFUN (spotted by JMarc).
8483
8484 2003-03-10  John Levon  <levon@movementarian.org>
8485
8486         * text.C:
8487         * text2.C: move getColumnNearX() near its
8488         only call site
8489
8490 2003-03-10  John Levon  <levon@movementarian.org>
8491
8492         * text.C: fix break before a minipage
8493
8494 2003-03-10  John Levon  <levon@movementarian.org>
8495
8496         * text.C: fix the last commit
8497
8498 2003-03-09  John Levon  <levon@movementarian.org>
8499
8500         * lyxtext.h:
8501         * text.C:
8502         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8503         bug 365 (don't break before insets unless needed). Don't
8504         return a value > last under any circumstances.
8505
8506 2003-03-09  Angus Leeming  <leeming@lyx.org>
8507
8508         * BufferView_pimpl.C (trackChanges, dispatch): call
8509         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8510
8511 2003-03-09  Angus Leeming  <leeming@lyx.org>
8512
8513         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8514         than Dialogs::showAboutlyx().
8515
8516 2003-03-09  Angus Leeming  <leeming@lyx.org>
8517
8518         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8519         than Dialogs::showTabularCreate().
8520
8521 2003-03-09  John Levon  <levon@movementarian.org>
8522
8523         * lyxtext.h:
8524         * text.C:
8525         * text2.C: 3rd arg to nextBreakPoint was always the same.
8526           Use references.
8527
8528 2003-03-08  John Levon  <levon@movementarian.org>
8529
8530         * lyxrow.C:
8531         * paragraph.C:
8532         * paragraph.h:
8533         * rowpainter.C:
8534         * text.C:
8535         * text2.C: Remove the "main" bit from the "main body"
8536           notion.
8537
8538 2003-03-08  John Levon  <levon@movementarian.org>
8539
8540         * text.C (leftMargin): The left margin of an empty
8541         manual label paragraph should not include the label width
8542         string length.
8543
8544         * text.C (prepareToPrint): don't attempt to measure hfills
8545         for empty manual label paragraphs - the answer should be 0
8546
8547 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * CutAndPaste.C: remove commented code and reindent.
8550
8551 2003-03-08  John Levon  <levon@movementarian.org>
8552
8553         * lyxfunc.h:
8554         * lyxfunc.C: move reloadBuffer()
8555
8556         * BufferView.h:
8557         * BufferView.C: to here
8558
8559         * lyxvc.C: add comment
8560
8561         * vc-backend.h:
8562         * vc-backend.C: call bv->reload() to avoid
8563           getStatus() check on MENURELOAD
8564
8565 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8566
8567         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8568         to an old format .dep file.
8569
8570 2003-03-07  Angus Leeming  <leeming@lyx.org>
8571
8572         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8573         when the LFUN_MOUSE_RELEASE should have been handled by
8574         inset->localDispatch.
8575
8576 2003-03-07  Angus Leeming  <leeming@lyx.org>
8577
8578         * BufferView_pimpl.C (dispatch):
8579         * LyXAction.C (init):
8580         * ToolbarDefaults.C (init):
8581         * commandtags.h:
8582         * lyxfunc.C (getStatus):
8583         remove LFUN_INSET_GRAPHICS.
8584
8585         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8586
8587 2003-03-07  Angus Leeming  <leeming@lyx.org>
8588
8589         * commandtags.h:
8590         * LyXAction.C (init):
8591         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8592
8593         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8594
8595         * commandtags.h:
8596         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8597
8598         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8599         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8600
8601 2003-03-07  Angus Leeming  <leeming@lyx.org>
8602
8603         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8604         remove "ert".
8605
8606 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * ParagraphList.C (front): new function
8609         (back): implement
8610
8611 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8612
8613         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8614         and top_row_offset_. removed var first_y.
8615         * text.C (top_y):
8616         * text2.C (LyXText, removeRow):
8617         * text3.C:
8618         * BufferView_pimpl.C:
8619         use these methods instead of using first_y
8620
8621 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8622
8623         * text2.C (pasteSelection): adjust for checkPastePossible
8624
8625         * CutAndPaste.C: remove Paragraph * buf and replace with
8626         ParagraphList paragraphs.
8627         (DeleteBuffer): delete
8628         (cutSelection): change the tc type to textclass_type
8629         (copySelection): change the tc type to textclass_type
8630         (copySelection): adjust for ParagraphList
8631         (pasteSelection): change the tc type to textclass_type
8632         (pasteSelection): adjust for Paragraphlist
8633         (nrOfParagraphs): simplify for ParagraphList
8634         (checkPastePossible): simplify for ParagraphList
8635         (checkPastePossible): remove unused arg
8636
8637         * ParagraphList.C (insert): handle the case where there are no
8638         paragraphs yet.
8639
8640         * CutAndPaste.h: make CutAndPaste a namespace.
8641
8642         * text3.C (dispatch): adjust
8643
8644         * text.C (breakParagraph): add a ParagraphList as arg
8645
8646         * paragraph_funcs.C (breakParagraph): change to take a
8647         BufferParams and a ParagraphList as args.
8648         (breakParagraphConservative): ditto
8649         (mergeParagraph): ditto
8650         (TeXDeeper): add a ParagraphList arg
8651         (TeXEnvironment): ditto
8652         (TeXOnePar): ditto
8653
8654         * buffer.C (readLyXformat2): adjust
8655         (insertStringAsLines): adjust
8656         (latexParagraphs): adjust
8657
8658         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8659         (cutSelection): adjust
8660         (pasteSelection): adjust
8661
8662         * BufferView_pimpl.C (insertInset): adjust
8663
8664 2003-03-05  Angus Leeming  <leeming@lyx.org>
8665
8666         * commandtags.h:
8667         * LyXAction.C (init):
8668         * BufferView_pimpl.C (dispatch):
8669         * lyxfunc.C (getStatus):
8670         remove LFUN_CHILD_INSERT.
8671
8672         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8673
8674 2003-03-05  Angus Leeming  <leeming@lyx.org>
8675
8676         * commandtags.h:
8677         * LyXAction.C (init):
8678         * src/factory.C (createInset):
8679         * lyxfunc.C (getStatus):
8680         * text3.C (dispatch):
8681         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8682
8683         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8684
8685 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8686
8687         * ParagraphList.C (insert): handle insert right before end()
8688         (erase): fix cases where it can be first or last paragraph.
8689
8690 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8691
8692         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8693         Paragraph::next and Paragraph::previous
8694         (TeXOnePar): ditto
8695
8696         * text.C (breakParagraph): adjust
8697
8698         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8699         BufferParams& as arg.
8700         (breakParagraph): use ParagraphList::insert
8701         (breakParagraphConservative): take a Buffer* instead of a
8702         BufferParams& as arg.
8703         (breakParagraphConservative): use ParagraphList::insert.
8704
8705         * buffer.C (insertStringAsLines): un-const it
8706         (insertStringAsLines): adjust
8707
8708         * ParagraphList.C (insert): new function
8709
8710         * CutAndPaste.C (pasteSelection): adjust
8711
8712         * text.C (backspace): adjust
8713
8714         * tabular.C (SetMultiColumn): adjust
8715
8716         * CutAndPaste.C (cutSelection): adjust
8717         (pasteSelection): adjust
8718
8719         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8720         Buffer const * as arg
8721
8722         * ParagraphList.C (erase): new function
8723         * paragraph_funcs.C (mergeParagraph): use it
8724         (mergeParagraph): make it take a Buffer* instead of a
8725         BufferParams* as arg
8726
8727         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8728         as arg
8729         (breakParagraphConservative): ditto
8730
8731         * paragraph.h: remove the breakParagraph friend
8732
8733         * paragraph.C (eraseIntern): new function
8734         (setChange): new function
8735
8736         * paragraph_funcs.C (mergeParagraph): make it take a
8737         ParagraphList::iterator instead of a Paragraph *, adjust
8738         accordingly.
8739
8740         * paragraph.h: move an #endif so that the change tracking stuff
8741         also works in the NO_NEXT case.
8742
8743 2003-03-04  Angus Leeming  <leeming@lyx.org>
8744
8745         * commandtags.h:
8746         * LyXAction.C: new LFUN_INSET_MODIFY.
8747
8748         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8749         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8750
8751 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8752
8753         * several files: ws changes only
8754
8755         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8756         (TeXEnvironment): ditto
8757         (TeXDeeper): ditto
8758
8759         * buffer.C (makeLaTeXFile): adjust
8760         (latexParagraphs): make it take ParagraphList::iterator as args
8761
8762 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * buffer.C (latexParagraphs): adjust
8765
8766         * paragraph.C (TeXOnePar): move function...
8767         (optArgInset): move function...
8768         (TeXEnvironment): move function...
8769         * paragraph_pimpl.C (TeXDeeper): move function...
8770         * paragraph_funcs.C: ...here
8771
8772         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8773
8774 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * buffer.C (readInset): remove compability code for old Figure and
8777         InsetInfo insets
8778
8779 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8780
8781         * buffer.C: ws changes
8782         (readInset):
8783
8784         * BufferView_pimpl.C: ditto
8785         * author.C: ditto
8786         * buffer.h: ditto
8787         * bufferlist.h: ditto
8788         * changes.h: ditto
8789         * lyxfunc.C: ditto
8790
8791 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8792
8793         * converter.[Ch]: split into itself +
8794         * graph.[Ch]
8795         * format.[Ch]
8796         * Makefile.am: += graph.[Ch] + format.[Ch]
8797         * MenuBackend.C
8798         * buffer.C
8799         * exporter.C
8800         * importer.C
8801         * lyx_main.C
8802         * lyxfunc.C
8803         * lyxrc.C: added #include "format.h"
8804
8805 2003-02-27  Angus Leeming  <leeming@lyx.org>
8806
8807         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8808           a label.
8809
8810         * factory.C (createInset): add "label" to the factory.
8811
8812         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8813           string and do no more.
8814
8815 2003-02-27  Angus Leeming  <leeming@lyx.org>
8816
8817         * commandtags.h:
8818         * LyXAction.C (init):
8819         * factory.C (createInset):
8820         * BufferView_pimpl.C (dispatch):
8821           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8822
8823         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8824
8825         * lyxfunc.C (dispatch):
8826         * text3.C (dispatch): pass name to params2string.
8827
8828 2003-02-26  Angus Leeming  <leeming@lyx.org>
8829
8830         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8831           blocks together.
8832           Rearrange the ~includes. Strip out the unnecessary ones.
8833
8834         * factory.C (createInset): reformat.
8835           create new insets for the various LFUN_XYZ_APPLY lfuns.
8836
8837 2003-02-26  John Levon  <levon@movementarian.org>
8838
8839         * lyxrow.h:
8840         * lyxrow.C: add isParStart,isParEnd helpers
8841
8842         * paragraph.h: make isInserted/DeletedText take refs
8843
8844         * paragraph_funcs.h:
8845         * paragraph_funcs.C: remove #if 0'd code
8846
8847         * lyxtext.h:
8848         * text3.C:
8849         * text2.C:
8850         * text.C: use lyxrow helpers above.
8851           Move draw and paint routines to RowPainter.
8852           Make several methods use refs not pointers.
8853           Make backgroundColor() const.
8854           Add markChangeInDraw(), isInInset().
8855           Merge changeRegionCase into changeCase.
8856           Make workWidth() shouldn't-happen code into an Assert.
8857
8858         * rowpainter.h:
8859         * rowpainter.C: new class for painting a row.
8860
8861         * vspace.h:
8862         * vspace.C: make inPixels take a ref
8863
8864 2003-02-26  Angus Leeming  <leeming@lyx.org>
8865
8866         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8867         LFUN_REF_APPLY.
8868
8869 2003-02-25  John Levon  <levon@movementarian.org>
8870
8871         * ispell.C: give the forked command a more accurate name
8872
8873 2003-02-22  John Levon  <levon@movementarian.org>
8874
8875         * toc.h:
8876         * toc.C: make TocItem store an id not a Paragraph *
8877           (bug #913)
8878
8879 2003-02-21  Angus Leeming  <leeming@lyx.org>
8880
8881         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8882           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8883           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8884           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8885           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8886           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8887
8888         * BufferView_pimpl.C (dispatch):
8889         * LyXAction.C (init):
8890         * factory.C (createInset):
8891         * lyxfunc.C (getStatus, dispatch):
8892         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8893
8894 2003-02-21  Angus Leeming  <leeming@lyx.org>
8895
8896         * BufferView_pimpl.C (MenuInsertLyXFile):
8897         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8898         * lyxfunc.C (menuNew, open, doImport):
8899           no longer pass a LyXView & to fileDlg.
8900
8901 2003-02-21  Angus Leeming  <leeming@lyx.org>
8902
8903         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8904         * LyXAction.C: change, BIBKEY to BIBITEM.
8905         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8906         Change InsetBibKey to InsetBibitem.
8907         Change BIBKEY_CODE to BIBITEM_CODE.
8908         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8909         * factory.C: replace insetbib.h with insetbibitem.h.
8910         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8911         * paragraph.C: replace insetbib.h with insetbibitem.h.
8912         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8913         Change bibkey() to bibitem().
8914         * text.C: remove insetbib.h.
8915         * text2.C: replace insetbib.h with insetbibitem.h.
8916         change bibkey() to bibitem().
8917         * text3.C: remove insetbib.h.
8918         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8919
8920 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8921
8922         * lyxrc.C (output): enclose user email in quotes (in case there are
8923         several words)
8924
8925 2003-02-18  John Levon  <levon@movementarian.org>
8926
8927         * buffer.h: add std::
8928
8929 2003-02-17  John Levon  <levon@movementarian.org>
8930
8931         * SpellBase.h:
8932         * ispell.h:
8933         * ispell.C:
8934         * pspell.h:
8935         * pspell.C: reworking. Especially in ispell, a large
8936           number of clean ups and bug fixes.
8937
8938         * lyxfunc.C: fix revert to behave sensibly
8939
8940 2003-02-17 André Pönitz <poenitz@gmx.net>
8941
8942         * LyXAction.C:
8943         * commandtags.h: new LFUN_INSERT_BIBKEY
8944
8945         * layout.h:
8946         * lyxlayout.C:
8947         * buffer.C:
8948         * factory.C:
8949         * text.C:
8950         * text2.C:
8951         * text3.C:
8952         * paragraph.[Ch]:
8953         * paragraph_func.C: remove special bibkey handling
8954
8955 2003-02-17  John Levon  <levon@movementarian.org>
8956
8957         * text.C (Delete): fix case where delete at the end of
8958           the very first paragraph would not merge the pars
8959
8960 2003-02-17  John Levon  <levon@movementarian.org>
8961
8962         * lyxrow.C: fix lastPrintablePos()
8963
8964 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8965
8966         * bufferparams.C (writeLaTeX): add a std:here
8967
8968         * buffer.C: and remove a using directive there
8969
8970 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8971
8972         * buffer.C (makeLaTeXFile): move the code that generates the
8973           preamble...
8974
8975         * bufferparams.C (writeLaTeX): ... in this new method
8976
8977         * LaTeXFeatures.C (getEncodingSet): make const
8978           (getLanguages): make const
8979
8980         * MenuBackend.C (binding): returns the binding associated to this
8981           action
8982           (add): sets the status of each item by calling getStatus. Adds
8983           some intelligence.
8984           (read): add support for OptSubMenu
8985           (expand): remove extra separator at the end of expanded menu
8986
8987 2003-02-15  John Levon  <levon@movementarian.org>
8988
8989         * BufferView.C:
8990         * BufferView_pimpl.C:
8991         * bufferlist.h:
8992         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8993           inset code that had no actual effect. Remove unneeded status
8994           code.
8995
8996 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8999           in preamble
9000
9001 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9002
9003         * text.C (drawLengthMarker): also draw an arrow marker for
9004           symbolic lengths (medskip...)
9005
9006 2003-02-14  John Levon  <levon@movementarian.org>
9007
9008         * tabular.h:
9009         * tabular.C: better method names
9010
9011 2003-02-14  John Levon  <levon@movementarian.org>
9012
9013         * BufferView_pimpl.C:
9014         * bufferlist.C:
9015         * buffer.C:
9016         * converter.C:
9017         * lyx_cb.C:
9018         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9019           it's a more accurate name. Remove some pointless uses.
9020
9021 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9022
9023         * text2.C (LyXText): change order of initilizers to shut off
9024           warnings
9025
9026 2003-02-14  John Levon  <levon@movementarian.org>
9027
9028         * buffer.C: use ParIterator for getParFromID()
9029
9030         * paragraph.h:
9031         * paragraph.C:
9032         * paragraph_pimpl.h:
9033         * paragraph_pimpl.C: remove unused getParFromID()
9034
9035 2003-02-14  John Levon  <levon@movementarian.org>
9036
9037         * buffer.C: remove some very old #if 0'd parse code
9038
9039 2003-02-13  John Levon  <levon@movementarian.org>
9040
9041         * text.h:
9042         * text.C:
9043         * text2.C: move hfillExpansion(), numberOfSeparators(),
9044           rowLast(), rowLastPrintable(), numberofHfills(),
9045           numberOfLabelHfills() ...
9046
9047         * lyxrow.h:
9048         * lyxrow.C: ... to member functions here.
9049
9050         * paragraph.h:
9051         * paragraph.C:
9052         * lyxtext.h:
9053         * text.C: remove LyXText::beginningOfMainBody(), and call
9054           p->beginningOfMainBody() directly. Move the check for
9055           LABEL_MANUAL into the latter.
9056
9057         * text.h:
9058         * text.C:
9059         * text2.C:
9060         * vspace.C:
9061         * BufferView.h:
9062         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9063
9064         * text.h:
9065         * text.C:
9066         * text2.C:
9067         * text3.C:
9068         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9069           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9070
9071 2003-02-13  John Levon  <levon@movementarian.org>
9072
9073         * CutAndPaste.C: remove debug
9074
9075 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9076
9077         * paragraph.C (asString): remove two unused variables
9078
9079         * lyxtextclass.C (readTitleType):
9080           (Read):
9081           (LyXTextClass): handle new members titletype_ and titlename_
9082
9083         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9084
9085 2003-02-09  John Levon  <levon@movementarian.org>
9086
9087         * buffer.h:
9088         * buffer.C: replace hand-coded list with a map for the dep clean
9089
9090 2003-02-08  John Levon  <levon@movementarian.org>
9091
9092         * LaTeX.C: consolidate code into showRunMessage() helper
9093
9094 2003-02-08  John Levon  <levon@movementarian.org>
9095
9096         * lyxfind.C:
9097         * lyxtext.h:
9098         * text2.C:
9099         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9100           and pass the size in explicitly
9101
9102         * BufferView_pimpl.h:
9103         * BufferView_pimpl.C:
9104         * BufferView.h:
9105         * BufferView.C: add getCurrentChange()
9106
9107         * BufferView_pimpl.h:
9108         * BufferView_pimpl.C: handle change lfuns
9109
9110         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9111           for changes. Mark pasted paragraphs as new.
9112
9113         * support/lyxtime.h:
9114         * support/lyxtime.C:
9115         * DepTable.C: abstract time_t as lyx::time_type
9116
9117         * LColor.h:
9118         * LColor.C: add colours for new text, deleted text, changebars
9119
9120         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9121           package use "usenames" option.
9122
9123         * commandtags.h:
9124         * lyxfunc.C:
9125         * LyXAction.C: add change lfuns
9126
9127         * Makefile.am:
9128         * author.h:
9129         * author.C: author handling
9130
9131         * buffer.h:
9132         * buffer.C: add a per-buffer author list, with first entry as
9133           current author. Handle new .lyx tokens for change tracking. Output
9134           author list to .lyx file. Output dvipost stuff to .tex preamble.
9135           Bump lyx format to 222.
9136
9137         * bufferlist.h:
9138         * bufferlist.C: add setCurrentAuthor() to reset current author details
9139           in all buffers.
9140
9141         * bufferparams.h:
9142         * bufferparams.C: add param for tracking
9143
9144         * bufferview_funcs.C: output change info in minibuffer
9145
9146         * Makefile.am:
9147         * changes.h:
9148         * changes.C: add change-tracking structure
9149
9150         * debug.h:
9151         * debug.C: add CHANGES debug flag
9152
9153         * lyxfind.h:
9154         * lyxfind.C: add code for finding the next change piece
9155
9156         * lyxrc.h:
9157         * lyxrc.C: add user_name and user_email
9158
9159         * lyxrow.h:
9160         * lyxrow.C: add a metric for the top of the text line
9161
9162         * lyxtext.h:
9163         * text.C: implement accept/rejectChange()
9164
9165         * lyxtext.h:
9166         * text.C: paint changebars. Paint new/deleted text in the chosen
9167         colours. Strike through deleted text.
9168
9169         * paragraph.h:
9170         * paragraph.C:
9171         * paragraph_pimpl.h:
9172         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9173           in the current change to the insert functions. Rework erase to
9174           mark text as deleted, adding an eraseIntern() and a range-based
9175           erase(). Implement per-paragraph change lookup and
9176           accept/reject.
9177
9178         * paragraph_funcs.C: Fixup paste for change tracking.
9179
9180         * tabular.C: mark added row/columns as new.
9181
9182         * text.C: fix rowLast() to never return -1. Don't allow
9183           spellchecking of deleted text. Track transpose changes. Don't
9184           allow paragraph break or merge where appropriate.
9185
9186         * text2.C: leave cursor at end of selection after a cut.
9187
9188 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9189
9190         * text.C (getLengthMarkerHeight):
9191         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9192         visible on screen too.
9193
9194 2003-02-07  John Levon  <levon@movementarian.org>
9195
9196         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9197
9198 2003-02-05  Angus Leeming  <leeming@lyx.org>
9199
9200         * lyxserver.C (read_ready): revert my patch of 11 September last year
9201         as it sends PC cpu through the roof. Presumably this means that
9202         the lyxserver will no longer run on an Alpha...
9203
9204 2003-01-30  Angus Leeming  <leeming@lyx.org>
9205
9206         * factory.C (createInset): create an InsetCommandParam of type "index"
9207         and use it to 'do the right thing'.
9208
9209         * text2.C (getStringToIndex): ensure that cursor position is always
9210         reset to the reset_cursor position.
9211
9212 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9213
9214         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9215         disabled.
9216
9217 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9218
9219         * bufferview.C:
9220         * lyxcb.C:
9221         * lyxfunc.C: Output messages with identical spelling, punctuation,
9222         and spaces
9223
9224 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9225
9226         * MenuBackend.C (expandFormats): List only viewable export formats
9227         in "View" menu
9228
9229         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9230         message
9231
9232         * lyxfunc.C (getStatus): Make sure that formats other than
9233         "fax" can also be disabled
9234
9235 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9236
9237         * text3.C (dispatch): put the lfuns that insert insets in 3
9238         groups, and call doInsertInset with appropriate arguments.
9239         (doInsertInset): new function, that creates an inset and inserts
9240         it according to some boolean parameters.
9241
9242 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9243
9244         * buffer.C (readFile): remember to pass on 'par' when calling
9245         readFile recursively.
9246
9247 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9248
9249         * MenuBackend.C (expandFormats): add "..." to import formats.
9250
9251 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9252
9253         * paragraph.C (asString): Remove XForms RTL hacks.
9254
9255 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9256         * buffer.C: fix typo
9257
9258 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9259
9260         * Makefile.am (LIBS): delete var
9261         (lyx_LDADD): add @LIBS@ here instead.
9262
9263 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9264
9265         * Clarify the meaning of "wheel mouse jump"
9266
9267 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9268
9269         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9270         tabular in a float
9271
9272 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9273
9274         * importer.C (Loaders): do not preallocate 3 elements in the
9275         vector, since one ends up with 6 elements otherwise
9276
9277 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9278
9279         * DepTable.C (write): write the file name as last element of the
9280         .dep file (because it may contain spaces)
9281         (read): read info in the right order
9282
9283 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9284
9285         * paragraph_pimpl.C (simpleTeXBlanks):
9286         (simpleTeXSpecialChars):
9287         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9288
9289         * tabular.C (latex): add some missing case statements. Reindent.
9290
9291         * MenuBackend.C (expandToc): remove unused variable.
9292
9293 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9294
9295         * LColor.C:
9296         * LaTeX.C:
9297         * LyXAction.C:
9298         * MenuBackend.C:
9299         * buffer.C:
9300         * exporter.C:
9301         * lyxfunc.C:
9302         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9303         and the like.
9304
9305 2003-01-05  John Levon  <levon@movementarian.org>
9306
9307         * BufferView.h:
9308         * BufferView.C: add getEncoding()
9309
9310         * kbsequence.h:
9311         * kbsequence.C: do not store last keypress
9312
9313         * lyxfunc.h:
9314         * lyxfunc.C: store last keypress here instead. Pass encoding
9315           to getISOEncoded()
9316
9317 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9318
9319         * lyx_main.C (init): remove annoying error message when following
9320         symbolic links (bug #780)
9321
9322 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9323
9324         * text.C (insertChar):
9325         * lyxrc.C (getDescription): remove extra spaces
9326
9327 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9328
9329         * lyxrc.C (getDescription): remove extra spaces
9330
9331 2002-12-20  John Levon  <levon@movementarian.org>
9332
9333         * text3.C: hack fix for page up/down across tall rows
9334
9335 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9336
9337         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9338         not been invoked
9339
9340 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9341
9342         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9343         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9344         thesaurus is not compiled in
9345
9346 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9347
9348         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9349
9350 2002-12-16  Angus Leeming  <leeming@lyx.org>
9351
9352         * lyxrc.[Ch]:
9353         * lyx_main.C (init): remove override_x_deadkeys stuff.
9354
9355 2002-12-12  John Levon  <levon@movementarian.org>
9356
9357         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9358           insert. Only remove shift modifier under strict
9359           circumstances.
9360
9361 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9362
9363         * MenuBackend.C (expandToc): fix crash.
9364
9365 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9366
9367         * MenuBackend.C (expandToc): gettext on float names.
9368
9369 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9370
9371         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9372         implement bool empty() [bug 490]
9373
9374 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9375
9376         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9377
9378 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9379
9380         * several files: ws changes
9381
9382 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9383
9384         * text2.C (setCounter): clean up a bit, use boost.format.
9385         (updateCounters): initialize par upon declaration.
9386
9387         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9388         if the layout exists. We do not just store the layout any more.
9389         (SwitchLayoutsBetweenClasses): use boost.format
9390
9391 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9392
9393         * converter.C (convert): if from and to files are the same, use a
9394         temporary files as intermediary
9395
9396 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9397
9398         * commandtags.h:
9399         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9400
9401 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9402
9403         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9404
9405 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9406
9407         * tabular.C (asciiPrintCell): use string(size, char) instead of
9408         explicit loop.
9409
9410         * sgml.C (openTag): fix order of arguments to string constructor
9411         (closeTag): ditto
9412
9413         * lyxfunc.C (dispatch): use boost.format
9414
9415         * lots of files: change "c" -> 'c'
9416
9417 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9418
9419         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9420
9421 2002-11-25  Angus Leeming  <leeming@lyx.org>
9422
9423         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9424
9425         * lyx_main.C (init): compile fix.
9426
9427 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9428
9429         * lyx_cb.C (start): boost.formatify
9430         do not include <iostream>
9431
9432         * lengthcommon.C: ws only
9433
9434         * boost-inst.C,BoostFormat.h: add more explict instantations
9435
9436 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9437
9438         * lots of files: handle USE_BOOST_FORMAT
9439
9440 2002-11-21  John Levon  <levon@movementarian.org>
9441
9442         * pspell.C: fix compile
9443
9444 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9445
9446         * lyxfunc.C (dispatch): use boost::format
9447         (open): ditto
9448         (doImport): ditto
9449
9450         * lyxfont.C (stateText): use boost::format
9451
9452         * lyx_main.C (LyX): use boost::format
9453         (init): ditto
9454         (queryUserLyXDir): ditto
9455         (readRcFile): ditto
9456         (parse_dbg): ditto
9457         (typedef boost::function): use the recommened syntax.
9458
9459         * importer.C (Import): use boost::format
9460
9461         * debug.C (showLevel): use boost::format
9462
9463         * converter.C (view): use boost::format
9464         (convert): ditto
9465         (move): ditto
9466         (scanLog): ditto
9467
9468         * bufferview_funcs.C (currentState): use boost::format
9469
9470         * bufferlist.C (emergencyWrite): use boost::format
9471
9472         * buffer.C (readLyXformat2): use boost::format
9473         (parseSingleLyXformat2Token): ditto
9474
9475         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9476
9477         * LaTeX.C (run): use boost::format
9478
9479         * Chktex.C (scanLogFile): use boost::format
9480
9481         * BufferView_pimpl.C (savePosition): use boost::format
9482         (restorePosition): ditto
9483         (MenuInsertLyXFile): ditto
9484
9485         * BoostFormat.h: help file for explicit instation.
9486
9487 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9488
9489         * tabular.C (latex): Support for block alignment in fixed width
9490         columns.
9491
9492 2002-11-17  John Levon  <levon@movementarian.org>
9493
9494         * BufferView_pimpl.C:
9495         * lyx_cb.C:
9496         * lyxfunc.C: split filedialog into open/save
9497
9498 2002-11-08  Juergen Vigna  <jug@sad.it>
9499
9500         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9501         by my last patch (hopefully).
9502
9503 2002-11-08  John Levon  <levon@movementarian.org>
9504
9505         * iterators.h:
9506         * iterators.C:
9507         * buffer.h:
9508         * buffer.C:
9509         * paragraph.h:
9510         * paragraph.C:
9511         * toc.h:
9512         * toc.C: ParConstIterator, and use it (from Lars)
9513
9514 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9515
9516         * lyxtextclass.[Ch]: revise and add doxygen comments
9517
9518 2002-11-07  John Levon  <levon@movementarian.org>
9519
9520         * text.C: fix progress value for spellchecker
9521
9522         * toc.C: fix navigate menu for insetwrap inside minipage
9523
9524         * paragraph_funcs.C: added FIXME for suspect code
9525
9526 2002-11-07  John Levon  <levon@movementarian.org>
9527
9528         * BufferView_pimpl.C: fix redrawing of insets
9529           on buffer switch
9530
9531 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9532
9533         * text2.C (updateCounters): fix bug 668
9534
9535 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9536
9537         * text3.C (dispatch): Do not make the buffer dirty when moving the
9538         cursor.
9539
9540 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9541
9542         * vc-backend.C: STRCONV
9543         (scanMaster): ditto
9544
9545         * text2.C (setCounter): STRCONV
9546
9547         * paragraph.C (asString): STRCONV
9548
9549         * lyxlength.C (asString): STRCONV
9550         (asLatexString): ditto
9551
9552         * lyxgluelength.C (asString): STRCONV
9553         (asLatexString): ditto
9554
9555         * lyxfunc.C (dispatch): STRCONV
9556         (open): ditto
9557
9558         * lyxfont.C (stateText): STRCONV
9559
9560         * importer.C (Import): STRCONV
9561
9562         * counters.C (labelItem): STRCONV
9563         (numberLabel): ditto
9564         (numberLabel): remove unused ostringstream o
9565
9566         * chset.C: STRCONV
9567         (loadFile): ditto
9568
9569         * bufferview_funcs.C (currentState): STRCONV
9570
9571         * buffer.C (readFile): STRCONV
9572         (asciiParagraph): ditto
9573         (makeLaTeXFile): ditto
9574
9575         * Spacing.C (writeEnvirBegin): STRCONV
9576
9577         * LaTeXFeatures.C (getLanguages): STRCONV
9578         (getPackages): ditto
9579         (getMacros): ditto
9580         (getBabelOptions): ditto
9581         (getTClassPreamble): ditto
9582         (getLyXSGMLEntities): ditto
9583         (getIncludedFiles): ditto
9584
9585         * LaTeX.C: STRCONV
9586         (run): ditto
9587         (scanAuxFile): ditto
9588         (deplog): ditto
9589
9590         * LString.h: add the STRCONV macros
9591
9592         * BufferView_pimpl.C (savePosition): STRCONV
9593         (restorePosition): ditto
9594         (MenuInsertLyXFile): ditto
9595
9596         * vc-backend.C (scanMaster): change from submatch[...] to
9597         submatch.str(...)
9598
9599         * funcrequest.C: include config.h
9600
9601         * factory.C: include config.h
9602
9603         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9604
9605         * box.C: include config.h
9606
9607         * LaTeX.C (scanAuxFile): change from submatch[...] to
9608         submatch.str(...)
9609         (deplog): ditto
9610
9611 2002-10-25  Angus Leeming  <leeming@lyx.org>
9612
9613         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9614
9615         * ispell.[Ch] (setError): new method.
9616         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9617         Use setError() insetead of goto END.
9618
9619         * lyx_cb.C (AutoSave): move out child process into new class
9620         AutoSaveBuffer.
9621
9622 2002-10-30  John Levon  <levon@movementarian.org>
9623
9624         * text3.C: make start appendix undoable
9625
9626 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9627
9628         * lyxlength.C (inPixels): Fix returned value.
9629
9630         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9631         environment.
9632
9633 2002-10-24  Angus Leeming  <leeming@lyx.org>
9634
9635         * lyxgluelength.h: no need to forward declare BufferParams
9636         or BufferView, so don't.
9637
9638 2002-10-21  John Levon  <levon@movementarian.org>
9639
9640         * BufferView.C: menuUndo ->undo, redo
9641
9642         * BufferView.h: document, remove dead, make some methods private
9643
9644         * paragraph_funcs.h:
9645         * paragraph_funcs.C:
9646         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9647
9648         * buffer.h:
9649         * buffer.C:
9650         * sgml.h:
9651         * sgml.C: move sgml open/close tag into sgml.C
9652
9653         * bufferview_funcs.h: unused prototype
9654
9655         * lyxfunc.h:
9656         * lyxfunc.C: remove unused
9657
9658         * lyxtext.h:
9659         * text.C: remove unused
9660
9661 2002-10-21  John Levon  <levon@movementarian.org>
9662
9663         * BufferView.h:
9664         * BufferView.C:
9665         * BufferView_pimpl.h:
9666         * BufferView_pimpl.C: fix mouse wheel handling based on
9667           patch from Darren Freeman
9668
9669 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9670
9671         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9672
9673 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9674
9675         * lyxlength.C (inPixels): Fix hanfling of negative length.
9676         Fix LyXLength::MU case.
9677
9678 2002-10-16  John Levon  <levon@movementarian.org>
9679
9680         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9681
9682 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9683
9684         * converter.C (view): add support for $$i (file name) and $$p
9685         (file path) for the viewer command. If $$i is not specified, then
9686         it is appended to the command (for compatibility with old syntax)
9687
9688 2002-10-14  Juergen Vigna  <jug@sad.it>
9689
9690         * undo_funcs.C (textHandleUndo): alter the order in which the
9691         new undopar is added to the LyXText, as we have to set first
9692         the right prev/next and then add it as otherwise the rebuild of
9693         LyXText is not correct. Also reset the cursor to the right paragraph,
9694         with this IMO we could remove the hack in "redoParagraphs()".
9695
9696 2002-10-09  Angus Leeming  <leeming@lyx.org>
9697
9698         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9699         to turn off an optimisation if a new inset is to be inserted.
9700
9701 2002-10-11 André Pönitz <poenitz@gmx.net>
9702
9703         * lyxtext.h: make some functions public to allow access
9704         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9705
9706 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9707
9708         * text3.C (dispatch): when changing layout, avoid an infinite loop
9709         [bug #652]
9710
9711 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9712
9713         * lyxrc.C (read): treat a viewer or converter command of "none" as
9714         if it were empty.
9715
9716         * MenuBackend.C (expandFormats): for an update, also allow the
9717         formats that are not viewable
9718
9719         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9720         script if it is newer than the lyxrc.defaults in user directory
9721
9722 2002-10-07 André Pönitz <poenitz@gmx.net>
9723
9724         * text.C: Vitaly Lipatov's small i18n fix
9725
9726 2002-09-25  Angus Leeming  <leeming@lyx.org>
9727
9728         * ispell.h: doxygen fix.
9729
9730 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9731
9732         * buffer.h (readFile): Add a new argument to the method, to allow
9733         reading of old-format templates.
9734
9735 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9736
9737         * toc.C (getTocList): Get TOC from InsetWrap.
9738
9739 2002-09-16  John Levon  <levon@movementarian.org>
9740
9741         * lyxfunc.C: check tabular for cut/copy too
9742
9743 2002-09-12  John Levon  <levon@movementarian.org>
9744
9745         * LyXAction.C: tidy
9746
9747         * factory.h:
9748         * factory.C: add header
9749
9750         * paragraph_funcs.h:
9751         * paragraph_funcs.C: cleanup
9752
9753 2002-09-11  John Levon  <levon@movementarian.org>
9754
9755         * PrinterParams.h: odd/even default to true
9756
9757 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9758
9759         * PrinterParams.h: update printer parameters for new xforms dialog
9760
9761 2002-09-11  Angus Leeming  <leeming@lyx.org>
9762
9763         * lyxserver.C (read_ready): re-write to make it more transparent
9764         and to make it work in coherent fashion under Tru64 Unix.
9765
9766 2002-09-11  André Pönitz <poenitz@gmx.net>
9767
9768         * commandtags.h:
9769         * LyXAction.C:
9770         * text3.C: implement LFUN_WORDSEL
9771
9772 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9773
9774         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9775         make floatlist_ a boost::shared_ptr<FloatList>
9776
9777         * lyxtextclass.C: include FloatList.h
9778         (LyXTextClass): initialize floatlist_
9779         (TextClassTags): add TC_NOFLOAT
9780         (Read): match "nofloat" to TC_NOFLOAT and use it.
9781         (readFloat): modify call to floatlist_
9782         (floats): ditto
9783         (floats): ditto
9784
9785         * FloatList.[Ch] (FloatList): remove commented out float
9786         initialization.
9787         (erase): new function
9788
9789 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9790
9791         * MenuBackend.C (expandToc): fix crash when there is no document
9792         open
9793
9794 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9795
9796         * many files: Add insetwrap.
9797
9798 2002-09-09  John Levon  <levon@movementarian.org>
9799
9800         * text2.C: remove confusing and awkward depth wraparound
9801
9802 2002-09-09  John Levon  <levon@movementarian.org>
9803
9804         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9805
9806         * buffer.h:
9807         * buffer.C: remove getIncludeonlyList()
9808
9809         * paragraph.C:
9810         * lyxfunc.C: remove headers
9811
9812 2002-09-09  Juergen Vigna  <jug@sad.it>
9813
9814         * text.C (getColumnNearX): fix form Michael this is most
9815         probably a cut&paste bug.
9816
9817 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9818
9819         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9820
9821         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9822         references, ws changes.
9823
9824         * text2.C (init): update counters after init
9825         (insertParagraph): no need to set counter on idividual paragraphs.
9826         (setCounter): access the counters object in the textclass object
9827         on in the buffer object.
9828         (updateCounters): ditto
9829
9830         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9831         shared_ptr<Counters> to avoid loading counters.h in all
9832         compilation units.
9833         (LyXTextClass): initialize ctrs_
9834         (TextClassTags): add TC_COUNTER, and ...
9835         (Read): use it here.
9836         (CounterTags): new tags
9837         (readCounter): new function
9838         (counters): new funtion
9839         (defaultLayoutName): return a const reference
9840
9841         * counters.C (Counters): remove contructor
9842         (newCounter): remove a couple of unneeded statements.
9843         (newCounter): simplify a bit.
9844         (numberLabel): some small formatting changes.
9845
9846         * buffer.[Ch]: remove all traces of counters, move the Counters
9847         object to the LyXTextClass.
9848
9849 2002-09-06  Alain Castera  <castera@in2p3.fr>
9850
9851         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9852         package to set the horizontal alignment on fixed width columns.
9853
9854         * lyx_sty.C:
9855         * lyx_sty.h: added tabularnewline macro def.
9856
9857         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9858
9859 2002-09-06  John Levon  <levon@movementarian.org>
9860
9861         * LyXAction.C: tooltips for sub/superscript
9862
9863         * MenuBackend.C: a bit more verbose
9864
9865         * lyxfunc.C: tiny clean
9866
9867         * undo_funcs.C: document undo_frozen
9868
9869 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9870
9871         * counters.C (Counters): add missing algorithm counter.
9872
9873         * text2.C (setCounter): lookup the counter with layouts latexname
9874         instead of by section number.
9875         (setCounter): use a hackish way to lookup the correct enum
9876         counter.
9877         a float name->type change
9878         reset enum couners with counter name directly instead of depth value.
9879
9880         * counters.C (Counters): remove the push_backs, change to use the
9881         float type not the float name.
9882         (labelItem): remove unused string, float name->type change
9883
9884         * counters.h: don't include vector, loose the enums and sects vectors
9885
9886 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9887
9888         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9889         (Read): add float->TC_FLOAT to textclassTags
9890         (Read): and handle it in the switch
9891         (readFloat): new function
9892
9893         * FloatList.C (FloatList): comment out the hardcoded float
9894         definitions.
9895
9896         * lyxlayout.h: ws change.
9897
9898 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9899
9900         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9901
9902 2002-09-03  Angus Leeming  <leeming@lyx.org>
9903
9904         * BufferView_pimpl.h: qualified name is not allowed in member
9905         declaration: WorkArea & Pimpl::workarea() const;
9906
9907         * factory.C: added using std::endl directive.
9908
9909         * text3.C: added using std::find and std::vector directives.
9910
9911 2002-08-29  André Pönitz <poenitz@gmx.net>
9912
9913         * lyxtext.h:
9914         * text2.C: remove unused member number_of_rows
9915
9916         * Makefile.am:
9917         * BufferView2.C: remove file, move contents to...
9918         * BufferView.C: ... here
9919
9920         * BufferView_pimpl.C:
9921         * factory.C: move more inset creation to factory
9922
9923         * vspace.C: avoid direct usage of LyXText, ws changes
9924
9925         * BufferView.[Ch]:
9926                 don't provide direct access to WorkArea, use two simple
9927                 acessors haveSelction() and workHeight() instead
9928
9929
9930 2002-08-29  John Levon  <levon@movementarian.org>
9931
9932         * BufferView_pimpl.C (dispatch): do not continue when
9933           no buffer
9934
9935 2002-08-28  André Pönitz <poenitz@gmx.net>
9936
9937         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9938
9939         * BufferView.h:
9940         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9941
9942 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9943
9944         * buffer.C: increment LYX_FORMAT to 221
9945
9946         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9947         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9948
9949         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9950
9951         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9952
9953 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * factory.C (createInset): use LyXTextClass::floats
9956
9957         * MenuBackend.C (expandFloatListInsert):
9958         (expandFloatInsert):
9959         (expandToc):
9960
9961         * text2.C (setCounter):
9962
9963         * LaTeXFeatures.C (useFloat):
9964         (getFloatDefinitions):
9965
9966         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9967
9968         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9969         floatlist_, with accessor floats().
9970
9971         * FloatList.h: remove global FloatList
9972
9973 2002-08-26  André Pönitz <poenitz@gmx.net>
9974
9975         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9976
9977         * BufferView.h:
9978         * BufferView2.C:
9979         * BufferView_pimpl.C:
9980         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9981
9982 2002-08-25  John Levon  <levon@movementarian.org>
9983
9984         * LyXAction.C: fix margin note description
9985
9986 2002-08-24  John Levon  <levon@movementarian.org>
9987
9988         * buffer.C:
9989         * bufferlist.C:
9990         * bufferview_funcs.C:
9991         * lyxfont.C:
9992         * undo_funcs.C: cleanups
9993
9994         * lyxfunc.C: disable CUT/COPY when no selection
9995
9996 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9997
9998         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9999         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10000
10001         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10002         Add backward compatibility to "mono", "gray" and "no".
10003
10004 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10005
10006         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10007         (and file_format >= 200).
10008
10009 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10012
10013 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10014
10015         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10016
10017 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10018
10019         * BufferView_pimpl.C:
10020         * LyXAction.C:
10021         * buffer.C:
10022         * commandtags.h:
10023         * lyxfunc.C:
10024         * paragraph.[Ch]:
10025         * text2.C:
10026         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10027         inset and code to make it  work with the paragraph code. The inset
10028         can be anywhere in the paragraph, but will only do the expected
10029         thing in LaTeX if the layout file contains the parameter line
10030                         OptionalArgs    1
10031         (or more generally, a nonzero value) for that layout.
10032
10033 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10034
10035         * paragraph.h: remove the declaration of undefined counters class
10036         function.
10037
10038 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10039
10040         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10041         Dr. Richard Hawkins.
10042
10043 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10044
10045         * paragraph_funcs.h: remove some unneeded includes
10046
10047         * text.C (backspace): pasteParagraph now in global scipe
10048
10049         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10050         (pasteSelection): ditto
10051
10052         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10053         * paragraph_funcs.C (pasteParagraph): ... here
10054
10055 2002-08-20  André Pönitz <poenitz@gmx.net>
10056
10057         * commandtags.h: new LFUNs for swapping/copying table row/colums
10058
10059         * LyXAction.C:
10060         * lyxfunc.C: support for new lfuns
10061
10062 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10063
10064         * tabular.C:
10065         * buffer.[Ch]: remove NO_COMPABILITY stuff
10066
10067 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10068
10069         * boost.C (throw_exception): new file, with helper function for
10070         boost compiled without exceptions.
10071
10072         * paragraph.h:
10073         * lyxlength.C:
10074         * buffer.C:
10075         * ParameterStruct.h:
10076         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10077
10078         * bufferlist.C (emergencyWriteAll): use boost bind
10079
10080         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10081
10082         * text.C: include paragraph_funcs.h
10083         (breakParagraph): breakParagraph is now in global scope
10084
10085         * paragraph_funcs.[Ch]: new files
10086
10087         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10088         global scope
10089
10090         * buffer.C: include paragraph_funcs.h
10091         (insertStringAsLines): breakParagraph is now in global scope
10092
10093         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10094         paragraph_funcs.C
10095
10096         * CutAndPaste.C: include paragraph_funcs.h
10097         (cutSelection): breakParagraphConservative is now in global scope
10098         (pasteSelection): ditto
10099
10100         * buffer.h: declare oprator== and operator!= for
10101         Buffer::inset_iterator
10102
10103         * bufferlist.C (emergencyWrite): don't use fmt(...)
10104
10105         * text3.C: add using std::endl
10106
10107         * BufferView.C (moveCursorUpdate): remove default arg
10108
10109 2002-08-20  André Pönitz <poenitz@gmx.net>
10110
10111         * buffer.[Ch]: move inline functions to .C
10112
10113         * BufferView2.C:
10114         * BufferView_pimpl.C:
10115         * text.C:
10116         * buffer.[Ch]: use improved inset_iterator
10117
10118         * buffer.C:
10119         * paragraph.[Ch]: write one paragraph at a time
10120
10121 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10122
10123         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10124         style if style is not specified.
10125
10126 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * text2.C (setCounter): when searching for right label for a
10129         caption, make sure to recurse to parent insets (so that a caption
10130         in a minipage in a figure float works) (bug #568)
10131
10132 2002-08-20  André Pönitz <poenitz@gmx.net>
10133
10134         * text3.C: new file for LyXText::dispatch() and helpers
10135
10136         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10137
10138         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10139
10140 2002-08-19  André Pönitz <poenitz@gmx.net>
10141
10142         * lyxtext.h:
10143         * text.C: new LyXText::dispatch()
10144
10145         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10146
10147 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10148
10149         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10150
10151         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10152         Hebrew text.
10153
10154 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10155
10156         * Makefile.am: use $(variables) instead of @substitutions@
10157
10158 2002-08-15  André Pönitz <poenitz@gmx.net>
10159
10160         * lyxfunc.C:
10161         * BufferView_pimpl.C: streamlining mathed <-> outer world
10162         interaction
10163
10164         * commandtags.h:
10165         * LyXAction.C: remove unused LFUN_MATH
10166
10167 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10168
10169         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10170
10171 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10172
10173         * paragraph.C (Paragraph): reformat a bit
10174         (cutIntoMinibuffer): use builtin InsetList function instad of
10175         doing it manually.
10176         (getInset): ditto
10177
10178         * buffer.C: include boost/bind.hpp, add using std::for_each
10179         (writeFileAscii): use ParagraphList iterators
10180         (validate): use for_each for validate traversal of paragraphs
10181         (getBibkeyList): use ParagraphList iterators
10182         (resizeInsets): use for_each to resizeInsetsLyXText for all
10183         paragraphs.
10184         (getParFromID): use ParagraphList iterators
10185
10186         * BufferView2.C (lockInset): use paragraph list and iterators
10187
10188 2002-08-14  John Levon  <levon@movementarian.org>
10189
10190         * lyxserver.C: remove spurious xforms include
10191
10192 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10193
10194         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10195
10196 2002-08-13  André Pönitz <poenitz@gmx.net>
10197
10198         * LyXAction.[Ch]:
10199         * lyxfunc.C: further cleaning
10200
10201 2002-08-13  André Pönitz <poenitz@gmx.net>
10202
10203         * funcrequest.h: new constructor
10204
10205         * funcrequest.C: move stuff here from .h
10206
10207         * Makefile.am:
10208         * BufferView_pimpl.C:
10209         * LyXAction.C:
10210         * toc.C:
10211         * lyxfunc.C: subsequent changes
10212
10213         * lyxfunc.h: new view() member function
10214
10215         * lyxfunc.C: subsequent changes
10216
10217 2002-08-13  Angus Leeming  <leeming@lyx.org>
10218
10219         * BufferView2.C:
10220         * BufferView_pimpl.C:
10221         * buffer.C:
10222         * converter.C:
10223         * importer.C:
10224         * lyxfunc.C:
10225         * lyxvc.C:
10226         * toc.C:
10227         * vc-backend.C:
10228         changes due to the changed LyXView interface that now returns references
10229         to member variables not pointers.
10230
10231 2002-08-13  Angus Leeming  <leeming@lyx.org>
10232
10233         * WordLangTuple (word, lang_code): return references to strings,
10234         not strings.
10235
10236         * BufferView.h:
10237         * SpellBase.h:
10238         * lyxtext.h: forward-declare WordLangTuple.
10239
10240         * BufferView2.C:
10241         * ispell.C:
10242         * pspell.C:
10243         * text.C: #include "WordLangTuple.h".
10244
10245         * lyxtext.h:
10246         * text.C: (selectNextWordToSpellcheck): constify return type.
10247
10248 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10249
10250         * buffer.C:
10251         * buffer.h:
10252         * lyxtext.h:
10253         * paragraph.C:
10254         * paragraph_pimpl.h:
10255         * text.C:
10256         * text2.C:
10257         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10258         suggested by Angus.
10259         Made updateCounter always count from start of buffer, and removed
10260         second argument (par).
10261         Reverted floats number display to '#'. Perhaps I'll try again when the
10262         code base is sanitized a bit.
10263
10264 2002-08-12  Angus Leeming  <leeming@lyx.org>
10265
10266         * buffer.[Ch] (getLabelList): constify.
10267
10268 2002-08-07  André Pönitz <poenitz@gmx.net>
10269
10270         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10271
10272         * funcrequest.h: extension to keep mouse (x,y) position
10273
10274 2002-08-12  Juergen Vigna  <jug@sad.it>
10275
10276         * BufferView2.C (insertErrors): forbid undo when inserting error
10277         insets.
10278
10279         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10280
10281 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10282
10283         * ParagraphList.[Ch]: new files
10284
10285         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10286
10287         * BufferView2.C (lockInset): ParagraphList changes
10288         * toc.C: ditto
10289         * text2.C: ditto
10290         * bufferlist.C: ditto
10291         * buffer.h: ditto
10292         * buffer.C: ditto
10293
10294 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10295
10296         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10297         unused class variable counter_,
10298
10299         * paragraph.[Ch] (getFirstCounter): delete unused function
10300
10301         * counters.C: include LAssert.h
10302         (reset): add a new function with no arg, change other version to
10303         not have def. arg and to not allow empty arg.
10304
10305         * text2.C (setCounter): remove empty arg from call to Counters::reset
10306
10307 2002-08-11  John Levon  <levon@movementarian.org>
10308
10309         * Makefile.am: add WordLangTuple.h
10310
10311 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10312
10313         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10314         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10315
10316         * insets/insettext.C: InsetList changes
10317
10318         * graphics/GraphicsSupport.C (operator()): InsetList changes
10319
10320         * toc.C (getTocList): InsetList changes
10321
10322         * paragraph_pimpl.[Ch]: InsetList changes
10323
10324         * paragraph.[Ch]: InsetList changes
10325
10326         * buffer.C (inset_iterator): InsetList changes
10327         (setParagraph): ditto
10328         * buffer.h (inset_iterator): ditto
10329         * iterators.C (operator++): ditto
10330         * iterators.h: ditto
10331
10332         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10333
10334         * InsetList.[Ch]: new files, most InsetList handling moved out of
10335         paragraph.C.
10336
10337         * BufferView2.C (removeAutoInsets): InsetList changes
10338         (lockInset): ditto
10339         (ChangeInsets): ditto
10340
10341 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10342
10343         * paragraph_pimpl.h (empty): new function
10344
10345         * paragraph.[Ch] (empty): new function
10346
10347         * other files: use the new Paragraph::empty function
10348
10349 2002-08-09  John Levon  <levon@movementarian.org>
10350
10351         * lyxtext.h: remove unused refresh_height
10352
10353 2002-08-09  John Levon  <levon@movementarian.org>
10354
10355         * Makefile.am:
10356         * sgml.h:
10357         * sgml.C:
10358         * buffer.C:
10359         * paragraph.h:
10360         * paragraph.C: move sgml char escaping out of paragraph
10361
10362         * paragraph.h:
10363         * paragraph.C: remove id setter
10364
10365         * buffer.C:
10366         * paragraph.C:
10367         * paragraph_pimpl.C: remove dead tex_code_break_column
10368
10369         * bufferview_funcs.C: small cleanup
10370
10371         * lyxfunc.C: remove dead proto
10372
10373         * lyxtext.h: make some stuff private. Remove some dead stuff.
10374
10375         * lyxgluelength.C: make as[LyX]String() readable
10376
10377 2002-08-08  John Levon  <levon@movementarian.org>
10378
10379         * LyXAction.h:
10380         * LyXAction.C:
10381         * MenuBackend.C:
10382         * ToolbarDefaults.C:
10383         * lyxfunc.C:
10384         * lyxrc.C:
10385         * toc.C: lyxaction cleanup
10386
10387 2002-08-08  John Levon  <levon@movementarian.org>
10388
10389         * BufferView2.C: small cleanup
10390
10391         * lyxfind.h:
10392         * lyxfind.C: move unnecessary header into the .C
10393
10394 2002-08-08  John Levon  <levon@movementarian.org>
10395
10396         * funcrequest.h: just tedious nonsense
10397
10398         * lyx_main.h:
10399         * lyx_main.C: cleanups
10400
10401         * buffer.C:
10402         * vspace.C: remove dead header lyx_main.h
10403
10404 2002-08-07  Angus Leeming  <leeming@lyx.org>
10405
10406         * Paragraph.[Ch]:
10407         * paragraph_pimpl.h:
10408         Forward declare class Counters in paragraph.h by moving the ctrs member
10409         variable into Paragraph::Pimpl.
10410         (counters): new method, returning a reference to pimpl_->ctrs.
10411
10412         * text2.C: ensuing changes.
10413
10414 2002-08-07  John Levon  <levon@movementarian.org>
10415
10416         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10417
10418         * BufferView_pimpl.C: announce X selection on double/triple
10419           click
10420
10421         * lyx_main.C: use correct bool in batch dispatch
10422
10423         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10424
10425 2002-08-07  André Pönitz <poenitz@gmx.net>
10426
10427         * funcrequest.h: new class to wrap a kb_action and its argument
10428
10429         * BufferView.[Ch]:
10430         * BufferView_pimpl[Ch]:
10431         * LaTeX.C:
10432         * LyXAction.[Ch]:
10433         * lyxfunc.[Ch]:
10434         * lyxrc.C: subsequent changes
10435
10436
10437 2002-08-07  John Levon  <levon@movementarian.org>
10438
10439         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10440           document options change.
10441
10442 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10443
10444         * counters.[Ch]
10445         * text2.C
10446         * paragraph.[Ch]
10447         * makefile.am: move counters functionality over from
10448         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10449
10450 2002-08-06  John Levon  <levon@movementarian.org>
10451
10452         * WordLangTuple.h: new file for word + language code tuple
10453
10454         * SpellBase.h:
10455         * pspell.h:
10456         * pspell.C:
10457         * ispell.h:
10458         * ispell.C:
10459         * lyxtext.h:
10460         * text.C:
10461         * text2.C:
10462         * BufferView.h:
10463         * BufferView2.C: use WordLangTuple
10464
10465         * layout.h:
10466         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10467
10468 2002-08-06  John Levon  <levon@movementarian.org>
10469
10470         * lyx_main.C: fix cmdline batch handling
10471
10472 2002-08-06  André Pönitz <poenitz@gmx.net>
10473
10474         * lyxrc.C: set default for show_banner to true
10475
10476 2002-08-06  John Levon  <levon@movementarian.org>
10477
10478         * pspell.C: fix a crash, and allow new aspell to work
10479
10480 2002-08-06  John Levon  <levon@movementarian.org>
10481
10482         * lyxfunc.C:
10483         * kbmap.C: small cleanup
10484
10485         * vspace.h:
10486         * vspace.C: add const
10487
10488 2002-08-05  John Levon  <levon@movementarian.org>
10489
10490         * LyXAction.C: back to tabular-insert
10491
10492 2002-08-04  John Levon  <levon@movementarian.org>
10493
10494         * BufferView.h:
10495         * BufferView.C: cosmetic change
10496
10497         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10498
10499         * bufferlist.C:
10500         * buffer.h:
10501         * buffer.C:
10502         * lyxcb.h:
10503         * lyxcb.C:
10504         * lyxserver.C:
10505         * lyxvc.C:
10506         * vc-backend.C:
10507         * BufferView2.C: purge all "Lyx" not "LyX" strings
10508
10509         * lyxcursor.h:
10510         * lyxcursor.C: attempt to add some documentation
10511
10512         * lyxfunc.C:
10513         * commandtags.h:
10514         * LyXAction.C:
10515         * ToolbarDefaults.C:
10516         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10517           merge with LFUN_TABULAR_INSERT
10518
10519         * Makefile.am:
10520         * SpellBase.h:
10521         * ispell.h:
10522         * ispell.C:
10523         * pspell.h:
10524         * pspell.C: split up i/pspell implementations into separate
10525           files, many cleanups
10526
10527         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10528
10529         * text2.C: some cleanup
10530
10531         * lyxfunc.C: don't check for isp_command == "none" any more, it
10532           didn't make any sense
10533
10534 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10535
10536         * counters.[Ch]
10537         * text2.C
10538         * paragraph.[Ch]
10539         * makefile.am: move counters functionality over
10540         from text2.C/paragraph.[Ch] to counters.[Ch], and
10541         make proper C++.
10542 2002-08-02  John Levon  <levon@movementarian.org>
10543
10544         * buffer.C: s/lyxconvert/lyx2lyx/
10545
10546 2002-08-02  Angus Leeming  <leeming@lyx.org>
10547
10548         * lyxlex.C: revert John's change as it breaks reading of the user
10549         preamble.
10550
10551 2002-08-02  Angus Leeming  <leeming@lyx.org>
10552
10553         * importer.C (Import):
10554         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10555         changes due to LyXView::view() now returning a boost::shared_ptr.
10556
10557 2002-08-02  John Levon  <levon@movementarian.org>
10558
10559         * lyxlex.C: small cleanup
10560
10561 2002-08-02  John Levon  <levon@movementarian.org>
10562
10563         * text2.C (status): small cleanup, no logic change
10564
10565 2002-08-01  John Levon  <levon@movementarian.org>
10566
10567         * buffer.h:
10568         * buffer.C (writeFile): don't output alerts, caller
10569           handles this
10570
10571         * bufferlist.C:
10572         * lyx_cb.C: from above
10573
10574         * lyxfunc.C: allow to open non-existent files
10575
10576 2002-07-31  John Levon  <levon@movementarian.org>
10577
10578         * lyxserver.C: don't let incidental errors get
10579           in the way (errno)
10580
10581 2002-07-30  John Levon  <levon@movementarian.org>
10582
10583         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10584
10585 2002-07-30  John Levon  <levon@movementarian.org>
10586
10587         * lyxserver.h:
10588         * lyxserver.C: remove I/O callback too
10589
10590 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10593         log.
10594
10595 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10596
10597         * many files: strip,frontStrip -> trim,ltrim,rtrim
10598
10599 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10600
10601         * PrinterParams.h: remove extern containsOnly, and include
10602         support/lstrings.h instead.
10603
10604         * LaTeX.C (scanAuxFile): modify because of strip changes
10605         (deplog): ditto
10606         * buffer.C (makeLaTeXFile): ditto
10607         * bufferparams.C (writeFile): ditt
10608         * lyxfont.C (stateText): ditto
10609         * lyxserver.C (read_ready): ditto
10610         * vc-backend.C (scanMaster): ditto
10611
10612         * BufferView_pimpl.h: ws changes
10613
10614         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10615
10616 2002-07-26  André Pönitz <poenitz@gmx.net>
10617
10618         * kb_sequence.C: remove unnedred usings
10619
10620 2002-07-26  Juergen Vigna  <jug@sad.it>
10621
10622         * lyxfind.C (LyXReplace): we have to check better if the returned
10623         text is not of theLockingInset()->getLockingInset().
10624
10625 2002-07-25  Juergen Vigna  <jug@sad.it>
10626
10627         * lyxfind.C (LyXReplace): don't replace if we don't get the
10628         right LyXText.
10629
10630         * undo_funcs.C (createUndo): remove debugging code.
10631
10632 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10633
10634         * buffer.C (parseSingleLyXformat2Token): Use default placement
10635         when reading old floats.
10636
10637         * FloatList.C (FloatList): Change the default placement of figure
10638         and tables to "tbp".
10639
10640 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * MenuBackend.C: using std::max
10643
10644 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10645
10646         * MenuBackend.C (expandToc):
10647         (expandToc2): code moved from xforms menu frontend. It is now
10648         generic and TOCs are transparent to menu frontends.
10649
10650 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10651
10652         * toc.C (getTocList): protect against buf=0
10653
10654         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10655         Menu as first parameter. Now, this calls itself recursively to
10656         expand a whole tree (this will be useful for TOC handling)
10657         (expandFloatInsert): remove 'wide' version of floats
10658
10659         * MenuBackend.h (submenuname): returns the name of the submenu.
10660         (submenu): returns the submenu itself, provided it has been
10661         created by MenuBackend::expand
10662
10663 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10666         insets which have noFontChange == true. (bug #172)
10667
10668 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10669
10670         * BufferView_pimpl.C: add connection objects and use them...
10671         (Pimpl): here.
10672
10673 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10674
10675         * MenuBackend.C (expandLastfiles):
10676         (expandDocuments):
10677         (expandFormats):
10678         (expandFloatListInsert):
10679         (expandFloatInsert):
10680         (expand): split expand in parts
10681
10682 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * lyx_gui.C: use lyx_gui::exit()
10685
10686 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * LyXAction.C: show the failing pseudo action
10689
10690 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10691
10692         * buffer.C (readFile): Run the lyxconvert script in order to read
10693         old files.
10694
10695 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * LyXAction.C:
10698         * commandtags.h:
10699         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10700
10701 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * LyXAction.C:
10704         * commandtags.h:
10705         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10706
10707 2002-07-22  Herbert Voss  <voss@lyx.org>
10708
10709         * lengthcommon.C:
10710         * lyxlength.[Ch]: add support for the vertical lengths
10711
10712 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * toc.[Ch]: std:: fixes
10715
10716 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10717
10718         * lyxrc.C: do not include lyx_main.h
10719
10720         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10721         for layouts
10722
10723         * lyxrc.C:
10724         * encoding.C:
10725         * bufferlist.C:
10726         * BufferView2.C: include "lyxlex.h"
10727
10728         * tabular.h:
10729         * bufferparams.h: do not #include "lyxlex.h"
10730
10731         * lyxtextclasslist.C (Add): remove method
10732         (classlist): renamed to classlist_
10733
10734         * paragraph_pimpl.C:
10735         * paragraph.C:
10736         * text2.C:
10737         * CutAndPaste.C:
10738         * bufferview_funcs.C:
10739         * bufferlist.C:
10740         * text.C:
10741         * LaTeXFeatures.C:
10742         * buffer.C:
10743         * toc.C (getTocList): use BufferParams::getLyXTextClass
10744
10745         * toc.C (getTocList): use InsetFloat::addToToc
10746
10747         * toc.[Ch]: new files, containing helper functions to handle table
10748         of contents
10749
10750         * lyxfunc.C (dispatch): no need to remove spaces around command
10751         given as a string
10752         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10753         first command of the sequence; it is not very clever, but I do not
10754         have a better idea, actually
10755
10756         * LyXAction.C (LookupFunc): make sure to remove space at the
10757         beginning and end of the command
10758
10759 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10760
10761         * MenuBackend.C (getMenubar): new method: return the menubar of
10762         this menu set
10763         (read): treat differently reading of menu and menubar (in
10764         particular, the menubar has no name now)
10765         (Menu::menubar): remove
10766
10767         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10768         saving is finished
10769
10770 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10771
10772         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10773         a bibitem inset in a RTL paragraph.
10774
10775 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10776
10777         * paragraph_pimpl.C: constify
10778
10779         * BufferView_pimpl.C:
10780         * LaTeX.C:
10781         * lyxfunc.C: fix dispatch in a nicer way
10782
10783 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10784
10785         * lyxfunc.C (dispatch):
10786         * BufferView_pimpl.C:
10787         * BufferView_pimpl.h:
10788         * BufferView.C:
10789         * BufferView.h: rename Dispatch() to dispatch()
10790
10791         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10792
10793         * lyxlayout.C (Read): honor DependsOn tag
10794
10795         * lyxlayout.[Ch] (depends_on): new method
10796
10797         * version.C.in: update lyx_docversion
10798
10799         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10800
10801         * paragraph.C (validate): remove from here...
10802         * paragraph_pimpl.C (validate): ... and move here
10803         (isTextAt): make it const
10804
10805         * buffer.C (getLists): ws cleanup
10806
10807 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10808
10809         * language.C (read): Use iso8859-1 encoding in latex_lang
10810         (this prevents LyX from crashing when using iso10646-1 encoding).
10811
10812 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10813
10814         * text2.C (toggleInset): if cursor is inside an inset, close the
10815         inset and leave cursor _after_ it
10816
10817 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * lyxfunc.C: move minibuffer completion handling out of here
10820
10821 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * BufferView_pimpl.C:
10824         * LaTeX.C: fix dispatch calls
10825
10826 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * text.C (drawChars): Fix Arabic text rendering.
10829
10830 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * LyXAction.C:
10833         * commandtags.h:
10834         * lyxfunc.C: remove message-push/pop
10835
10836         * lyxserver.C:
10837         * lyxfunc.h:
10838         * lyxfunc.C: rationalise some code by removing verboseDispatch
10839           in favour of a bool argument to dispatch()
10840
10841 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10842
10843         * lyx_main.C (init): make sure to read symlinks as absolute paths
10844
10845 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10846
10847         * lyxfunc.h:
10848         * lyxfunc.C: no need for commandshortcut to be a member
10849
10850 2002-07-15  André Pönitz <poenitz@gmx.net>
10851
10852         * converter.C: add support for $$s (scripts from lib/scripts dir)
10853         * lyx_main.C: white space
10854
10855 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * bufferlist.C:
10858         * lyxrc.h:
10859         * lyxrc.C: remove second exit confirmation
10860
10861 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10862
10863         * BufferView.h:
10864         * BufferView.C:
10865         * BufferView2.C:
10866         * BufferView_pimpl.h:
10867         * BufferView_pimpl.C:
10868         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10869
10870 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * MenuBackend.C (expand): add numeric shortcuts to document menu
10873
10874         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10875
10876 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * lyxfont.C (setLyXFamily):
10879         (setLyXSeries):
10880         (setLyXShape):
10881         (setLyXSize):
10882         (setLyXMisc):
10883         (lyxRead):
10884         * debug.C (value):
10885         * buffer.C (asciiParagraph): use ascii_lowercase
10886
10887 2002-07-15  Mike Fabian  <mfabian@suse.de>
10888
10889         * lyxlex_pimpl.C (search_kw):
10890         * lyxlex.C (getLongString):
10891         * converter.h (operator<):
10892         * converter.C (operator<):
10893         * buffer.C (parseSingleLyXformat2Token):
10894         (asciiParagraph):
10895         * ToolbarDefaults.C (read):
10896         * MenuBackend.C (checkShortcuts):
10897         (read):
10898         * LColor.C (getFromGUIName):
10899         (getFromLyXName): use the compare_ascii_no_case instead of
10900         compare_no_case, because in turkish, 'i' is not the lowercase
10901         version of 'I', and thus turkish locale breaks parsing of tags.
10902
10903 2002-07-16  Angus Leeming  <leeming@lyx.org>
10904
10905         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10906         now takes a Buffer const & argument.
10907
10908 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * BufferView.C (resize): check there's a buffer to resize
10911
10912 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * lyxfunc.C: remove dead code
10915
10916         * lyxserver.h:
10917         * lyxserver.C: use lyx_guii::set_read_callback
10918
10919 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10920
10921         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10922         an inset in a RTL paragraph.
10923
10924 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * lyxfunc.C: repaint after a font size update
10927
10928 2002-07-15  André Pönitz <poenitz@gmx.net>
10929
10930         * lyxlength.C: inBP should be able to return negative values
10931
10932 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * lyxfunc.C: use lyx_gui::update_fonts()
10935
10936 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * lyxfunc.C: use lyx_gui::update_color()
10939
10940 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10941
10942         * bufferlist.C:
10943         * lyxfunc.h:
10944         * lyxfunc.C:
10945         * lyxrc.h:
10946         * lyxrc.C: remove file->new asks for name option, and let
10947           buffer-new take an argument
10948
10949 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * BufferView_pimpl.C: remove unneeded extra repaint()
10952
10953 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * LyXAction.C: allow command-sequence with NoBuffer
10956
10957         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10958
10959 2002-07-10  Angus Leeming  <leeming@lyx.org>
10960
10961         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10962
10963 2002-07-09  Angus Leeming  <leeming@lyx.org>
10964
10965         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10966
10967 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * lengthcommon.h: whitespace
10970
10971         * lyxfunc.C: update scrollbar after goto paragraph
10972
10973         * lyxtext.h: factor out page break drawing, and fix it so
10974           page break/added space paints as selected nicely
10975
10976 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10977
10978         * BufferView_pimpl.C: add FIXMEs, clean up a little
10979
10980 2002-07-09  André Pönitz <poenitz@gmx.net>
10981
10982         * lyxfont.[Ch]: support for wasy symbols
10983
10984 2002-07-08  André Pönitz <poenitz@gmx.net>
10985
10986         * BufferView_pimpl.C: apply John's patch for #93.
10987
10988 2002-07-05  Angus Leeming  <leeming@lyx.org>
10989
10990         * BufferView_pimpl.C (buffer): generate previews if desired.
10991
10992         * LColor.h: add "preview" to the color enum.
10993
10994         * LColor.C (LColor): add a corresponding entry to the items array.
10995
10996         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10997         with this buffer.
10998
10999 2002-07-05  Angus Leeming  <leeming@lyx.org>
11000
11001         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11002         The body of the code is now in the method that is passed an ostream &
11003         rather than a file name.
11004         Pass an additional only_preamble parameter, useful for the forthcoming
11005         preview stuff.
11006
11007 2002-07-03  André Pönitz <poenitz@gmx.net>
11008
11009         * lyxfunc.C: simplify getStatus() a bit for math stuff
11010
11011 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11014
11015 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11016
11017         * text.C (changeRegionCase): do not change case of all the
11018         document when region ends at paragraph end (bug #461)
11019
11020 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11021
11022         * paragraph.C (startTeXParParams):
11023         (endTeXParParams): add \protect when necessary
11024
11025 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11026
11027         * BufferView_pimpl.C (workAreaExpose): remove warning
11028
11029 2002-06-27  Angus Leeming  <leeming@lyx.org>
11030
11031         * Makefile.am: add lyxlayout_ptr_fwd.h.
11032
11033 2002-06-26  André Pönitz <poenitz@gmx.net>
11034
11035         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11036
11037 2002-06-25  Angus Leeming  <leeming@lyx.org>
11038
11039         * lyxfunc.C (dispatch): Comment out the call to
11040         grfx::GCache::changeDisplay. The method no longer exists now that the
11041         pixmap generation part of the graphics loader has been moved into
11042         InsetGraphics.
11043
11044 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * text2.C: layout as layout
11047
11048         * text.C: layout as layout
11049
11050         * tabular.C (OldFormatRead): layout as layout
11051
11052         * paragraph_pimpl.C (TeXDeeper): layout as layout
11053         (realizeFont): layout as layout
11054
11055         * paragraph.C (writeFile): layout as layout
11056         (validate): layout as layout
11057         (getFont): layout as layout
11058         (getLabelFont): layout as layout
11059         (getLayoutFont): layout as layout
11060         (breakParagraph): layout as layout
11061         (stripLeadingSpaces): layout as layout
11062         (getEndLabel): layout as layout
11063         (getMaxDepthAfter): layout as layout
11064         (applyLayout): layout as layout
11065         (TeXOnePar): layout as layout
11066         (simpleTeXOnePar): layout as layout
11067         (TeXEnvironment): layout as layout
11068         (layout): layout as layout
11069         (layout): layout as layout
11070
11071         * lyxtextclass.C (compare_name): new functor to work with
11072         shared_ptr, layout as layout
11073         (Read): layout as layout
11074         (hasLayout): layout as layout
11075         (operator): layout as layout
11076         (delete_layout): layout as layout
11077         (defaultLayout): layout as layout
11078
11079         * lyxlayout_ptr_fwd.h: new file
11080
11081         * lyxlayout.C (Read): layout as layout
11082
11083         * lyx_cb.C (MenuInsertLabel): layout as layout
11084
11085         * bufferlist.C (newFile): layout as layout
11086
11087         * buffer.C (readLyXformat2): layout as layout
11088         (parseSingleLyXformat2Token): layout as layout
11089         (insertStringAsLines): layout as layout
11090         (asciiParagraph): layout as layout
11091         (latexParagraphs): layout as layout
11092         (makeLinuxDocFile): layout as layout
11093         (simpleLinuxDocOnePar): layout as layout
11094         (makeDocBookFile): layout as layout
11095         (simpleDocBookOnePar): layout as layout
11096         (getLists): layout as layout
11097
11098         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11099
11100         * CutAndPaste.C (cutSelection): layout as layout
11101         (pasteSelection): layout as layout
11102         (SwitchLayoutsBetweenClasses): layout as layout
11103
11104         * BufferView_pimpl.C (Dispatch): layout as layout
11105         (smartQuote): layout as layout
11106
11107         * BufferView2.C (unlockInset): layout as layout
11108
11109 2002-06-24  André Pönitz <poenitz@gmx.net>
11110
11111         * lyxfunc.C: fix #487
11112
11113 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * lyxrc.h:
11116         * lyxrc.C:
11117         * lyxfunc.C: remove display_shortcuts, show_banner
11118
11119 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11120
11121         * Buffer_pimpl.C: oops, update on resize
11122
11123 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * buffer.C:
11126         * converter.C:
11127         * exporter.C:
11128         * lyxfunc.C:
11129         * BufferView.h:
11130         * BufferView.C: use repaint()
11131
11132         * BufferView_pimpl.h:
11133         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11134           as it's a clearer description. Remove superfluous
11135           redraws.
11136
11137 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * text.C: fix bug 488. Not ideal, but getting
11140           getWord() to work properly for the insets that
11141           matter is more difficult ...
11142
11143 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11144
11145         * BufferView_pimpl.C:
11146         * LyXAction.C:
11147         * commandtags.h:
11148         * lyxfunc.C: remove the six million index lyxfuncs to just
11149           one, and DTRT (bug 458)
11150
11151 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11152
11153         * BufferView.h:
11154         * BufferView.C:
11155         * BufferView_pimpl.h:
11156         * BufferView_pimpl.C: clean up resize() stuff,
11157           and unnecessary updateScreen()s
11158
11159 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * BufferView.h:
11162         * BufferView.C:
11163         * BufferView_pimpl.h:
11164         * BufferView_pimpl.C:
11165         * lyxfind.h:
11166         * lyxfind.C:
11167         * minibuffer.C: remove focus management of workarea,
11168           not needed. Use screen's greyOut()
11169
11170 2002-06-17  Herbert Voss  <voss@lyx.org>
11171
11172         * converter.C: (convert) do not post a message, when converting
11173         fails, let the calling function decide what to do in this case
11174
11175 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * lyxfunc.C: tidy up a little
11178
11179 2002-06-16    <alstrup@diku.dk>
11180
11181         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11182         Got rid of FORMS_H_LOCATION include. Now we are
11183         GUII.
11184
11185 2002-06-15  LyX Development team  <lyx@rilke>
11186
11187         * buffer.[Ch] (sgmlOpenTag):
11188         (sgmlCloseTag): Added support for avoiding pernicious mixed
11189         content. Return number of lines written.
11190
11191         (makeLinuxDocFile):
11192         (makeDocBookFile): Fixed calls to sgml*Tag.
11193         Simple white space clean.
11194
11195         (simpleDocBookOnePar): Simple white space clean.
11196
11197         * tabular.[Ch] (docBook): Renamed to docbook and got another
11198         argument to related with the pernicious mixed content.
11199
11200         (docbookRow): Fixed calls for docbook inset method.
11201
11202 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11203
11204         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11205         so it's X11 independent.
11206
11207         * kb*.[Ch]: ditto.
11208
11209         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11210
11211 2002-06-15  Lyx Development team  <lyx@electronia>
11212
11213         * intl.h: Renamed getTrans to getTransManager.
11214
11215 2002-06-14  Angus Leeming  <leeming@lyx.org>
11216
11217         * Makefile.am: nuke forgotten stl_string_fwd.h.
11218
11219 2002-06-12  Angus Leeming  <leeming@lyx.org>
11220
11221         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11222
11223 2002-06-13  Angus Leeming  <leeming@lyx.org>
11224
11225         * LaTeX.C:
11226         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11227
11228 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11229
11230         * kbmap.C (getiso): add support for cyrillic and greek
11231
11232 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * BufferView.h:
11235         * BufferView.C:
11236         * BufferView_pimpl.h:
11237         * BufferView_pimpl.C: move bogus scrolling logic
11238           to xforms
11239
11240 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11241
11242         * lyxfunc.C:
11243         * BufferView_pimpl.C: view->resize() change
11244
11245 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * BufferView_pimpl.C: topCursorVisible
11248           prototype change
11249
11250 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * Makefile.am:
11253         * lyx_gui.h:
11254         * lyx_gui.C: move to frontends/
11255
11256         * main.C:
11257         * lyx_main.h:
11258         * lyx_main.C: changes from above
11259
11260 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * intl.C:
11263         * intl.h:
11264         * kbmap.C:
11265         * kbsequence.C:
11266         * lyx_cb.C:
11267         * lyx_main.C: minor tidy
11268
11269 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * BufferView_pimpl.h:
11272         * BufferView_pimpl.C:
11273         * BufferView.h:
11274         * BufferView.C: make painter() const,
11275           remove dead code
11276
11277         * BufferView2.C: use screen() accessor
11278
11279         * lyx_main.h:
11280         * lyx_main.C: some minor cleanup
11281
11282 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * BufferView_pimpl.h:
11285         * BufferView_pimpl.C: remove enter/leaveView,
11286           use workHeight()
11287
11288 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * BufferView.h:
11291         * BufferView.C:
11292         * BufferView2.C:
11293         * BufferView_pimpl.h:
11294         * BufferView_pimpl.C: only construct screen once,
11295           rename
11296
11297         * lyxrc.C: remove pointless comment
11298
11299 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView.h:
11302         * BufferView.C: remove active() and belowMouse()
11303
11304         * BufferView_pimpl.h:
11305         * BufferView_pimpl.C: use workarea() not workarea_,
11306           and make it use a scoped_ptr instead
11307
11308 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * lyx_gui.C: add debug message on BadWindow
11311
11312 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * sp_spell.C: fdopen is not part of the C++ standard.
11315
11316         * paragraph.C (InsetIterator): use >= instead of ==
11317
11318 2002-06-07  Angus Leeming  <leeming@lyx.org>
11319
11320         Fixes needed to compile with Compaq cxx 6.5.
11321         * BufferView_pimpl.C:
11322         * DepTable.C:
11323         * buffer.C:
11324         * converter.C:
11325         * encoding.C:
11326         * lyx_gui.C:
11327         * lyx_main.C:
11328         * lyxtextclasslist.C:
11329         * minibuffer.C:
11330         * sp_spell.C:
11331         * tabular_funcs.C:
11332         * vc-backend.C:
11333         all c-library variables have been moved into namespace std. Wrap
11334         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11335
11336         * lyxlength.C:
11337         * tabular-old.C:
11338         * tabular.C:
11339         Add a using std::abs declaration.
11340
11341         * kbmap.h (modifier_pair):
11342         * paragraph.h (InsetTable, InsetList):
11343         * lyxfont.h (FontBits):
11344         type definition made public.
11345
11346         * bufferlist.C (emergencyWriteAll): the compiler complains that
11347         there is more than one possible lyx::class_fun template to choose from.
11348         I re-named the void specialisation as lyx::void_class_fun.
11349
11350         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11351
11352         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11353         the compiler is is unable to find tostr in write_attribute.
11354
11355 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11356
11357         * buffer.C (sgmlError): hide #warning
11358
11359 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * xtl/*: get rid of xtl, which is not in use anyway
11362
11363         * LyXAction.C (init):
11364         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11365         were unimplemented xtl experimentation
11366
11367 2002-06-04  André Pönitz <poenitz@gmx.net>
11368
11369         * lyxfunc.C: disable array operation on simple formulae
11370
11371 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * converter.C: constify a bit
11374
11375 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * lyx_gui.C: check xforms version correctly
11378
11379 2002-04-30  Herbert Voss  <voss@lyx.org>
11380
11381         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11382         "keep" option
11383
11384 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11387           attempt to register it with a VCS)
11388
11389 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * lyx_main.C (init): honor variables LYX_DIR_13x and
11392         LYX_USERDIR_13x
11393
11394 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * buffer.h:
11397         * buffer.C:
11398         * lyx_main.C: fix a crash on bad command line,
11399           and give a useful exit status on error
11400
11401         * lyxfunc.C (doImport): allow -i lyx to work
11402
11403 2002-03-30  André Pönitz <poenitz@gmx.net>
11404
11405         * lyxfunc.C: mathed font changes
11406
11407 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * LaTeX.C:
11410         * importer.h:
11411         * importer.C:
11412         * lyx_sty.h:
11413         * lyx_sty.C:
11414         * lyxlex.C:
11415         * lyxrow.h:
11416         * lyxtext.h:
11417         * paragraph.h:
11418         * paragraph.C:
11419         * texrow.h:
11420         * texrow.C:
11421         * text.C:
11422         * trans_mgr.h: srcdocs, and some minor cleanups
11423
11424 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11427         call getFont all the time)
11428
11429 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * switch from SigC signals to boost::signals
11432
11433 2002-05-29  André Pönitz <poenitz@gmx.net>
11434
11435         * paragraph_pimpl.C (getChar): don't call size() too often...
11436
11437 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * paragraph_pimpl.C (insertChar): do not try to update tables when
11440         appending (pos == size())
11441
11442         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11443         in order to reduce drastically the number of comparisons needed to
11444         parse a large document
11445
11446 2002-05-29  André Pönitz <poenitz@gmx.net>
11447
11448         * text.C:
11449         * text2.C:
11450         * lyxtextclass.C:
11451         * sp_pspell.h:
11452         * textclasslist.[Ch]:
11453         * sp_ispell.h: whitespace change
11454
11455 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11456
11457         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11458         lyxaction directly now.
11459
11460 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * trans.C:
11463         * lyxfont.C:
11464         * lyxvc.C: remove unused headers
11465
11466 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11467
11468         * Makefile.am:
11469         * buffer.h:
11470         * undostack.h:
11471         * undostack.C:
11472         * undo_funcs.h:
11473         * undo_funcs.C: some cleanups. Use shared_ptr
11474           and a template for the undo stacks.
11475
11476 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * BufferView_pimpl.h:
11479         * BufferView_pimpl.C:
11480         * kbmap.h:
11481         * kbmap.C:
11482         * kbsequence.h:
11483         * kbsequence.C:
11484         * lyxfunc.h:
11485         * lyxfunc.C:
11486         * text2.C: use key_state/mouse_state
11487
11488 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11491         and LSubstring
11492
11493         * chset.C: change include order
11494         (loadFile): use boost regex and get rid of LRegex and LSubstring
11495
11496         * Makefile.am (BOOST_LIBS): new variable
11497         (lyx_LDADD): use it
11498
11499         * LaTeX.C: change include order.
11500         (scanAuxFile): use boost regex and get rid of LRegex and
11501         LSubstring
11502         (deplog): ditto
11503
11504 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * ColorHandler.h:
11507         * ColorHandler.C:
11508         * FontInfo.h:
11509         * FontInfo.C: moved to frontends/xforms/
11510
11511         * FontLoader.h:
11512         * FontLoader.C: moved into frontends for GUIIzation
11513
11514         * Makefile.am:
11515         * lyx_gui.C:
11516         * lyxfont.C:
11517         * lyxfunc.C: changes from above
11518
11519 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * LColor.C: remove spurious X include
11522
11523         * BufferView_pimpl.C:
11524         * Makefile.am:
11525         * font.h:
11526         * font.C:
11527         * text.C:
11528         * text2.C: move font metrics to frontends/
11529
11530 2002-05-24  Juergen Vigna  <jug@sad.it>
11531
11532         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11533         setting the undo_cursor.
11534
11535         * ParagraphParameters.h: include local includes first.
11536
11537 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * BufferView_pimpl.C:
11540         * BufferView_pimpl.h:
11541         * Makefile.am:
11542         * WorkArea.h:
11543         * WorkArea.C:
11544         * screen.C: move WorkArea into frontends/
11545
11546         * lyxscreen.h:
11547         * screen.C:
11548         * text.C:
11549         * BufferView.C:
11550         * BufferView2.C: move LyXScreen into frontends/
11551
11552         * lyxlookup.h:
11553         * lyxlookup.C:
11554         * lyx_gui.C: move lyxlookup into frontends/xforms/
11555
11556 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * BufferView2.C:
11559         * BufferView_pimpl.C:
11560         * FontLoader.C:
11561         * LyXView.h:
11562         * LyXView.C:
11563         * Makefile.am:
11564         * WorkArea.C:
11565         * XFormsView.h:
11566         * XFormsView.C:
11567         * buffer.C:
11568         * bufferlist.C:
11569         * bufferview_funcs.C:
11570         * converter.C:
11571         * importer.C:
11572         * lyx_cb.C:
11573         * lyx_gui.C:
11574         * lyx_main.C:
11575         * lyx_find.C:
11576         * lyxfunc.C:
11577         * lyxvc.C:
11578         * minibuffer.C:
11579         * text.C:
11580         * text2.C:
11581         * trans.C:
11582         * vc-backend.C: move LyX/XFormsView into frontends/
11583
11584 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * Makefile.am:
11587         * PainterBase.C:
11588         * PainterBase.h:
11589         * Painter.C:
11590         * Painter.h:
11591         * WorkArea.C:
11592         * WorkArea.h:
11593         * screen.C:
11594         * tabular.C:
11595         * text.C:
11596         * text2.C: move Painter to frontends/
11597
11598 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * buffer.C: comment out some some code that depend upon lyx_format
11601         < 220
11602
11603         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11604         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11605
11606         * buffer.h (NO_COMPABILITY): turn off compability
11607
11608         * ColorHandler.C: include scoped_array.hpp
11609
11610         * font.C: Use more specific smart_ptr header.
11611         * Painter.C: ditto
11612         * gettext.C: ditto
11613         * ShareContainer.h: ditto
11614         * lyx_main.h: ditto
11615         * kbmap.h: ditto
11616         * FontInfo.h: ditto
11617         * BufferView_pimpl.h: ditto
11618         * ColorHandler.h: ditto
11619
11620         * kbmap.C (defkey): change call to shared_ptr::reset
11621
11622 2002-05-21  Juergen Vigna  <jug@sad.it>
11623
11624         * buffer.C (insertErtContents): fix to insert ert asis if it is
11625         non empty. Skip it completely if it contains only whitespaces.
11626
11627 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11628
11629         * BufferView_pimpl.C:
11630         * BufferView2.C: clear selection on paste (bug 393)
11631
11632 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11633
11634         * DepTable.C: include ctime
11635
11636 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11637
11638         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11639
11640 2002-05-14  Juergen Vigna  <jug@sad.it>
11641
11642         * text.C (breakParagraph): fixed function to honor the keepempty
11643         layout in the right maner and also to permit the right breaking
11644         algorithm on empty or non empyt keepempty paragraphs.
11645
11646         * paragraph.C (breakParagraph): we have to check also if the par
11647         is really empty (!size()) for isempty otherwise we do the wrong
11648         paragraph break.
11649
11650 2002-05-10  Juergen Vigna  <jug@sad.it>
11651
11652         * buffer.[Ch] : The following are only changes to the ert
11653         compatibility read reading old LaTeX layout and font stuff and
11654         convert it to ERTInsets.
11655
11656         * buffer.h: added isErtInset().
11657
11658         * buffer.C (struct ErtComp): add a fromlayout bool to check
11659         if we're inside a LaTeX layout.
11660         (isErtInset): new helper function.
11661         (insertErtContents): look for other ert insets before this one
11662         and insert the contents there, so that we don't have subsequent
11663         ERT insets with nothing between them. This way we create only one
11664         inset with multiple paragraphs. Also check if we don't insert only
11665         spaces ' ' as they are ignored anyway afterwards in the .tex file
11666         so if we have only spaces we will ignore this latex part in the
11667         new file.
11668         (parseSingleLyXformat2Token \\layout): better compatibility when
11669         reading layout-latex stuff.
11670         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11671         language tag.
11672         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11673         stuff after reading the inset only get the information back from
11674         the stack.
11675
11676 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11677
11678         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11679
11680         * LaTeXFeatures.C (getBabelOptions): New method.
11681
11682 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * BufferView_pimpl.C (Dispatch): work around missing argument for
11685         'layout'
11686
11687 2002-05-08  Juergen Vigna  <jug@sad.it>
11688
11689         * text.C (leftMargin): handle paragraph leftindent.
11690
11691         * paragraph.C (writeFile): write the new \\leftindent tag.
11692         (validate): handle leftindent code.
11693         (TeXEnvironment): handle paragraphleftindent code again.
11694
11695         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11696
11697         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11698         for paragrap_extra indent code and new token \\leftindent.
11699         (latexParagraphs): handle the leftindent as environment.
11700
11701         * ParameterStruct.h: added leftindent support.
11702
11703         * ParagraphParameters.C (leftIndent): added support functions for
11704         the paragraph left indent.
11705
11706         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11707         more appropriate.
11708
11709 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11710
11711         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11712         inside insetERT.
11713
11714         * text.C (computeBidiTables): No bidi in insetERT.
11715
11716         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11717         in RTL documents.
11718
11719 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * version.C.in: pre 5
11722
11723 2002-05-02  José Matos  <jamatos@fep.up.pt>
11724         * buffer.C (makeDocBookFile): white space changes, add newline to
11725         command styles.
11726         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11727
11728         * tabular.C (docBook): fix typo.
11729
11730 2002-05-03  Juergen Vigna  <jug@sad.it>
11731
11732         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11733         change in LyXText as we can not be sure it was not freed.
11734         (drawOneRow): remove unused code.
11735
11736         * text.C (drawInset): redo the calculation of the need_break_row as
11737         it could have a row which was already freed.
11738         (draw): look at the return value of drawInset and return false if
11739         it also returned false.
11740         (paintRowText): look at the return value of draw and return false if
11741         it also returned false.
11742
11743         * lyxtext.h: added bool return type to drawInset() and draw() so that
11744         if we have a change in the row so that the rowbreak has to be redone
11745         we abort drawing as it will be called again.
11746
11747 2002-05-02  Juergen Vigna  <jug@sad.it>
11748
11749         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11750         a change in the maintext also if we're inside an inset.
11751         (Dispatch): set the cursor again after a break line and after the
11752         screen has been updated as it could be we're in a different row.
11753
11754         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11755         to set the cursor behind the pargraph with > size().
11756         (setCursor): check also for the same paragraph when checking where
11757         to put the cursor if we have a NFR inset.
11758
11759         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11760         parts of layout read further up as it still was in the wrong
11761         position.
11762
11763 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11764
11765         * screen.C (drawFromTo): change sine fullRebreak always return
11766         true.
11767
11768         * buffer.C (parseSingleLyXformat2Token): reindent some
11769
11770         * BufferView_pimpl.C (update): change since fullRebreak always
11771         return true.
11772         (Dispatch): git rid of the last hardcoded "Standard"s.
11773
11774 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * text2.[Ch] (fullRebreak): make it return void now that we always
11777         returned true.
11778
11779 2002-04-30  Juergen Vigna  <jug@sad.it>
11780
11781         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11782         ert compatibility check for "latex" layout.
11783
11784 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11785
11786         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11787         minipages: use col% instead of p%, and also use the current font.
11788         (makeLaTeXFile): Fix use babel condition.
11789         (parseSingleLyXformat2Token): Correct font when reading old floats.
11790
11791 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11792
11793         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11794         inserting list of floats.
11795
11796 2002-04-25  Herbert Voss  <voss@lyx.org>
11797
11798         * MenuBackend.C (expand): don't add the graphics extensions to the
11799         export menu
11800
11801 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11802
11803         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11804         non-existing layout, do not complain if it was the default layout
11805         of the original class (bug #342)
11806
11807 2002-04-24  Juergen Vigna  <jug@sad.it>
11808
11809         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11810         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11811
11812 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11813
11814         * buffer.C (getBibkeyList): If using \bibliography, return the
11815         option field with the reference itself. Enables us to provide natbib
11816         support when using \bibliography.
11817
11818 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11819
11820         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11821
11822         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11823         natbib is provided by the LaTeX class.
11824
11825 2002-04-23  Juergen Vigna  <jug@sad.it>
11826
11827         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11828         Wakeup functions.
11829
11830         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11831
11832 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11835
11836         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11837         ensuremath around textordmasculine, textordfeminine and
11838         textdegree.
11839
11840 2002-04-19  Juergen Vigna  <jug@sad.it>
11841
11842         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11843         reinitializing the buffer otherwise row-dimensions may be wrong.
11844         (update): reset also the selection cursors if they do exits otherwise
11845         their x/y positions may be wrong.
11846
11847         * text2.C (cursorDown): don't enter the inset if we came from a row
11848         above and are one row over the inset.
11849
11850         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11851         really leaving an inset.
11852
11853 2002-04-18  Juergen Vigna  <jug@sad.it>
11854
11855         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11856         of the selected paragraph does not have the selected layout also if
11857         the last one had!
11858
11859         * text2.C (setLayout): fixed bug which did not change last selected
11860         paragraph.
11861
11862         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11863         changed the read and substituted \\end_float with \\end_inset!
11864
11865         * BufferView_pimpl.C (cursorPrevious):
11866         (cursorNext): fixed to make it work with rows heigher than the work
11867         area without moving the cursor only the draw of the row.
11868         (workAreaMotionNotify): fix jumping over high rows.
11869
11870 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11873         Ressler.
11874
11875 2002-04-16  Juergen Vigna  <jug@sad.it>
11876
11877         * text2.C (setCursor): set also the irow().
11878         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11879         (cursorUp):
11880         (cursorDown): support for locking an inset if the x_fix value goes
11881         inside it. That way I can transverse insets too with cursor up/down.
11882
11883         * lyxrow.h: added irow helper function same as other (i) functions.
11884
11885         * BufferView_pimpl.C (cursorPrevious):
11886         (cursorNext): fixed for insets!
11887
11888 2002-04-15  Juergen Vigna  <jug@sad.it>
11889
11890         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11891         position otherwise it is wrong in some cases.
11892
11893         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11894         inside the inset before the call.
11895
11896 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11897
11898         * buffer.[Ch] (getBibkeyList): make it const.
11899
11900 2002-04-12  Juergen Vigna  <jug@sad.it>
11901
11902         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11903
11904         * text2.C (getCursorX): new helper function
11905         (setCursor): compute also ix_
11906         (setCursorFromCoordinates): set also ix.
11907
11908         * lyxcursor.h: added ix_ and helper functions.
11909
11910         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11911
11912         * buffer.C (insertStringAsLines): dont break paragraph if the this
11913         paragraph is inside an inset which does not permit it!
11914
11915         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11916         also with no chars on this paragraph.
11917         (paintRowText): only paint stuff if it's inside the workarea!
11918
11919         * paragraph.C (breakParagraph): honor keepempty flag and break the
11920         paragraph always below not above.
11921
11922         * BufferView2.C (unlockInset): update the paragraph layout on inset
11923         unlock as we changed paragraph in such a case.
11924
11925         * lyxfind.C (LyXFind): clear the former selection if not found!
11926
11927         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11928         again called in insertChar().
11929
11930         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11931         an inset which uses the whole row!
11932         (rightMargin): ditto.
11933         (insertChar): force a rebreak if we inserted an inset!
11934
11935 2002-03-28  Herbert Voss  <voss@lyx.org>
11936
11937         * lyxlength.[Ch]: add inBP() to get the right PS-point
11938         units (BigPoint). With inPixels we have rounding errors
11939
11940 2002-04-11  Juergen Vigna  <jug@sad.it>
11941
11942         * text2.C (setCursorFromCoordinates): set iy to the right value.
11943         (setCursor): add check if row->previous exists!
11944
11945         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11946         an old float_type as this was the case in the old code!
11947
11948         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11949
11950         * BufferView2.C (showLockedInsetCursor): use iy
11951         (fitLockedInsetCursor): ditto
11952
11953         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11954         locked insets as there we have the right value now.
11955
11956         * lyxcursor.C: added iy_ variable and iy functions to set to the
11957         baseline of cursor-y of the locked inset.
11958
11959         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11960         (setCursor): fixed for insets which need a full row.
11961
11962         * text.C (rowLastPrintable): don't ignore the last space when before
11963         an inset which needs a full row.
11964         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11965         as last character of a row when before a inset which needs a full row.
11966
11967 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11968
11969         * version.C.in: update date
11970
11971         * text2.C (fullRebreak): try to always return true and see what
11972         happens...
11973
11974 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * MenuBackend.C (expand): use Floating::listName
11977
11978         * FloatList.C (FloatList): add listName argument to the built-in
11979         floats
11980
11981         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11982         text associated with the float.
11983
11984 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11985
11986         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11987
11988 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11989
11990         * ShareContainer.h: add a couple of missing typenames.
11991
11992 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11993
11994         * lyxrc.C (getDescription): use _() correctly rather than N_().
11995
11996 2002-03-28  Herbert Voss  <voss@lyx.org>
11997
11998         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11999         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12000
12001 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12002
12003         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12004         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12005
12006 2002-03-29  Juergen Vigna  <jug@sad.it>
12007
12008         * lyxfunc.C (dispatch): add a missing fitCursor call.
12009
12010         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12011         it was scrolled by a cursor move, so return the bool status.
12012
12013         * BufferView.C (fitCursor): return the bool flag also to the outside
12014         world as this is needed.
12015
12016         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12017
12018         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12019         call the edit() as it is not needed (and wrong) IMO.
12020         (workAreaButtonPress): set the screen_first variable before evt.
12021         unlock the inset as this may change screen_first and then we have
12022         a wrong y position for the click!
12023
12024 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12025
12026         * MenuBackend.C (expand): another translation that I missed
12027
12028 2002-03-28  Juergen Vigna  <jug@sad.it>
12029
12030         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12031
12032         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12033
12034 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12037
12038         * MenuBackend.C (expand): fix export/view/update when there is no
12039         document open.
12040
12041 2002-03-27  Herbert Voss  <voss@lyx.org>
12042
12043         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12044         and text%
12045
12046 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * bufferview_funcs.C (currentState): only show paragraph number
12049         for is DEVEL_VERSION is set.
12050
12051         * lyxfunc.C (dispatch): put warning in INFO channel
12052
12053         * MenuBackend.C (expand): translate the name of floats
12054
12055         * FloatList.C (FloatList): mark the float names for translation
12056
12057         * converter.C (convert): use LibScriptSearch
12058
12059 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12060
12061         * MenuBackend.C (defaults): fix default menu (we might as well get
12062         rid of it...)
12063
12064 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12067         directory.
12068
12069 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * lyxvc.C: reorder includes.
12072
12073 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12076           properly
12077
12078 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * CutAndPaste.C: change layouts earlier on paste
12081           to avoid crashing when calling getFont()
12082
12083 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12084
12085         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12086         irritating #error.
12087
12088 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12089
12090         * WorkArea.C: remove 'Pending' debug message.
12091
12092         * most files: ws cleanup
12093
12094         * buffer.[Ch]: ws changes
12095
12096         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12097
12098 2002-03-21  Juergen Vigna  <jug@sad.it>
12099
12100         * tabular.C (SetMultiColumn): collapse also the contents of the
12101         cells and set the last border right. Added a Buffer const * param.
12102
12103 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12104
12105         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12106         linking or not.
12107
12108 2002-03-19  Juergen Vigna  <jug@sad.it>
12109
12110         * text2.C (clearSelection): reset also xsel_cache.
12111
12112         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12113         where it needs to be called (John tells us to do so too :)
12114         (selectionLost): reset sel_cache.
12115
12116         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12117
12118 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12119
12120         * text2.C (setCursorIntern): put debuging code in INSETS channel
12121
12122 2002-03-19  André Pönitz <poenitz@gmx.net>
12123
12124         * lyxfunc.C: tiny whitespace change
12125
12126 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12127
12128         * ToolbarDefaults.C (init):
12129         * LyXAction.C (init):
12130         * commandtags.h:
12131         * BufferView_pimpl.C (Dispatch):
12132         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12133
12134 2002-03-19  Allan Rae  <rae@lyx.org>
12135
12136         * exporter.C (Export): removeAutoInsets before doing anything else.
12137         While I've just introduced a dependency on BufferView this really is
12138         the best place to clean the buffer otherwise you need to cleanup in
12139         a dozen places before calling export or cleanup in a dozen functions
12140         that export calls.
12141
12142         * converter.C (runLaTeX):
12143         (scanLog): Better handling of removeAutoInsets and screen updates.
12144
12145         * lyxfunc.C (dispatch): small whitespace changes
12146
12147 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * WorkArea.C (C_WorkAreaEvent): return a value.
12150         (event_cb): return 1 if we handled the event, 0 otherwise.
12151
12152         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12153
12154 2002-03-18  Juergen Vigna  <jug@sad.it>
12155
12156         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12157         (GetAdditionalWidth): ditto.
12158         (RightLine): ditto.
12159         (LeftLine): ditto.
12160
12161         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12162         inset if we're there actually (probably not used right now but this
12163         is the direction to go for unifying code).
12164         (paste): disable code to clear the selection.
12165
12166         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12167         inside an InsetText and move the check further up as it is in the
12168         wrong place.
12169
12170         * text2.C (pasteSelection): set a selection over the pasted text.
12171
12172 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12173
12174         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12175         and libgraphics to build on Cygwin.
12176
12177 2002-03-15  Juergen Vigna  <jug@sad.it>
12178
12179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12180         inserting an Inset into the paragraph. I know this is not the best
12181         fix but we already use current_view in CutAndPaste so we will remove
12182         all of it's using at the same time.
12183
12184         * buffer.C (sgmlError): deactivated function till it is rewritten in
12185         the right mode, now it can create problems.
12186
12187         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12188         before accessing it.
12189
12190 2002-03-14  Juergen Vigna  <jug@sad.it>
12191
12192         * undo_funcs.C (textHandleUndo): do the right thing when updating
12193         the inset after the undo/redo.
12194
12195         * text2.C (setCursor): just some testcode for #44 not ready yet.
12196
12197         * undo_funcs.C (textHandleUndo): set the next() and previous()
12198         pointers of the paragraph to 0 before deleting otherwise we have
12199         problems with the Paragraph::[destructor].
12200
12201         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12202         on a paragraph insertion.
12203
12204 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * buffer.C (asciiParagraph): use += operator for char append to
12207         string.
12208
12209         * paragraph.C (getFontSettings): compare >= not just >
12210         (highestFontInRange): ditto
12211         (setFont): ditto
12212
12213 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * paragraph.C: change several algorithm to be more appripriate for
12216         the problem domain. This is lookip in FontList and in the InsetList.
12217
12218 2002-03-13  André Pönitz <poenitz@gmx.net>
12219
12220         * commandtags.h:
12221         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12222
12223 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12224
12225         * commandtags.h:
12226         * LyXAction.C:
12227         * lyxfunc.C:
12228         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12229
12230 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * Painter.C (display): anon helper function, adjust code for this
12233         change.
12234         (pixmap): remove function.
12235
12236         * Painter.h: remove private display variable.
12237
12238         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12239
12240 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12241
12242         * WorkArea.[Ch]: remove figinset_canvas cruft.
12243
12244 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * lyxtextclass.C (operator): add one item cache optimization.
12247
12248         * bufferlist.h: doxy changes
12249
12250         * bufferlist.C: ws changes
12251
12252         * DepTable.[Ch] (ext_exist): place const in the right spot.
12253
12254         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12255         call resizeInsets.
12256         (workAreaExpose): call resizeInsets when the with BufferView changes.
12257         (Dispatch): adjust for protectedBlank removal
12258         (specialChar): call updateInset if the insert went ok.
12259
12260         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12261         specialChar instead.
12262
12263         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12264
12265         * BufferView.h: doxy change
12266
12267         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12268
12269         * lyxtextclass.C (operator[]): remove non-const version
12270         (defaultLayout): remove non-const version
12271
12272 2002-03-12  Juergen Vigna  <jug@sad.it>
12273
12274         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12275         did resize the LyXText too.
12276
12277         * buffer.C (readLyXformat2): set layout information on newly allocated
12278         paragraphs.
12279
12280         * tabular.C (OldFormatRead): set layout information on the paragraph.
12281
12282 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12283
12284         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12285
12286 2002-03-11  Juergen Vigna  <jug@sad.it>
12287
12288         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12289         plainly wrong.
12290         (resizeCurrentBuffer): force also the insets to resize themselfes.
12291         (moveCursorUpdate): fixed up for InsetText.
12292
12293 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12294
12295         * commandtags.h:
12296         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12297         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12298         value of Dialogs::tooltipsEnabled().
12299         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12300
12301 2002-03-08  Juergen Vigna  <jug@sad.it>
12302
12303         * BufferView_pimpl.C (updateInset): update inset inside inset also
12304         if it isn't inside theLockingInset().
12305
12306 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * buffer.C (asciiParagraph): redo some of the word and line length
12309         handling.
12310         (getLists): look for Caption instead of caption.
12311
12312 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12313
12314         * buffer.C (Buffer): initialize niceFile to true
12315         (makeLaTeXFile):
12316         (makeLinuxDocFile):
12317         (makeDocBookFile): make sure niceFile is true on exit
12318
12319 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12320
12321         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12322
12323 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12324
12325         * LyXSendto.C: remove.
12326         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12327         * lyx_gui.C: remove now-redundant comment.
12328         * ColorHandler.h: remove forward declaration of class WorkArea.
12329         * lyxfunc.C: remove #include "WorkArea.h".
12330
12331 2002-03-07  Juergen Vigna  <jug@sad.it>
12332
12333         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12334         got moved away with the DEPM and also set the inset_owner always
12335         right which before could have been omitted.
12336
12337 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12338
12339         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12340         wanted layout is not found.
12341
12342 2002-03-07  Juergen Vigna  <jug@sad.it>
12343
12344         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12345
12346 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12347
12348         * paragraph.C (breakParagraph): use default layout not layout of
12349         prev paragraph.
12350         (Paragraph): clear ParagraphParameters.
12351
12352 2002-03-06  Juergen Vigna  <jug@sad.it>
12353
12354         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12355         otherwise it would not be a valid lenght. Fixed a special case in
12356         the minipage compatibility read where we end the document with a
12357         minipage.
12358
12359         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12360         was set as it could be 0 for InsetTexts first entry.
12361
12362 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * paragraph.C (writeFile): if layout is empty write out
12365         defaultLayoutName().
12366
12367         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12368         file without named layout we set layout to defaultLayoutName().
12369
12370 2002-03-06  Juergen Vigna  <jug@sad.it>
12371
12372         * CutAndPaste.C (copySelection): set layout for new paragraph.
12373
12374         * text.C (prepareToPrint): leave ERT inset left aligned
12375         (leftMargin): don't indent paragraphs inside ERT insets
12376
12377 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * paragraph.C (breakParagraph): dont call clear do the work manually
12380
12381         * paragraph.[Ch] (clear): remove function
12382
12383 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * paragraph.C (Paragraph): dont call clear, the work has already
12386         been done.
12387
12388         * lyxtextclass.C (operator): assert if n is empty
12389
12390         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12391         work manually instead.
12392
12393 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * BufferView_pimpl.C: protect selectionLost against text == 0
12396
12397 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * text.C (breakParagraph): fix a setting layout to '0' problem.
12400
12401 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12402
12403         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12404         final location of file, for the included files, and graphics.
12405
12406 2002-03-05  Juergen Vigna  <jug@sad.it>
12407
12408         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12409
12410 2002-03-04  Juergen Vigna  <jug@sad.it>
12411
12412         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12413
12414         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12415         last column of multicolumn cells.
12416         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12417
12418 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12419
12420         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12421         file if it doesn't go to a temporary file.
12422
12423         * buffer.C (sgmlOpenTag):
12424         (sgmlCloseTag):  remove extra newline insertion.
12425
12426 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * text.C (getRowNearY): comment out debug msg
12429
12430 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * text2.C: first -> first_y
12433
12434         * text.C (getRowNearY): add some attemts at a possible
12435         optimization, not working.
12436
12437         * tabular.[Ch]: add BufferParams to several function so that newly
12438         created paragraph can be initialized to he default layotu for the
12439         buffers textclass.
12440
12441         * tabular-old.C (ReadOld): add buf->params to call of Init
12442
12443         * screen.C: rename text->first to text->first_y
12444
12445         * paragraph.C (breakParagraph): always set layout in the broken
12446         paragraph
12447
12448         * lyxtextclass.C (Read): remove lowercase
12449         (hasLayout): ditto
12450         (operator): ditto
12451         (delete_layout): ditto
12452
12453         * lyxtext.h: rename first -> first_y
12454
12455         * lyxlayout.C (Read): remove lowercase
12456         (name): ditto
12457         (setName): ditto
12458         (obsoleted_by): ditto
12459
12460         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12461
12462         * buffer.C (insertErtContents): add params are to InsetERT
12463         (parseSingleLyXformat2Token): add code to check if a paragraphs
12464         layout really exist.
12465         (parseSingleLyXformat2Token): add params to several inset
12466         constructors
12467         (asciiParagraph): remove lowercase, do the layout comparisons with
12468         no_case
12469
12470         * BufferView_pimpl.C (cursorNext): first -> first_y
12471         (resizeCurrentBuffer): first -> first_y
12472         (updateScrollbar): first -> first_y
12473         (scrollCB): first -> first_y
12474         (workAreaMotionNotify): first -> first_y
12475         (workAreaButtonPress): first -> first_y
12476         (checkInsetHit): first -> first_y
12477         (cursorPrevious): first -> first_y
12478         (cursorNext): first -> first_y
12479         (Dispatch): add buffer_->params to severl inset contructors
12480
12481 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12482
12483         * lyxlayout.C (Read): remove some debug info that I forgot.
12484
12485         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12486         clean up the code slightly.
12487         (makeLinuxDocFile): ditto
12488         (makeDocBookFile): ditto
12489
12490         * text2.C: layout as string
12491
12492         * text.C: layout as string
12493
12494         * paragraph_pimpl.C: layout as string
12495
12496         * paragraph.[Ch]: layout as string
12497
12498         * lyxtextclasslist.[Ch]: layout as string
12499
12500         * lyxtextclass.[Ch]: layout as string
12501
12502         * lyxtext.h: layout as string
12503
12504         * lyxlayout.[Ch]: layout as string
12505
12506         * lyx_cb.C: layout as string
12507
12508         * bufferview_funcs.C: layout as string
12509
12510         * bufferparams.C: layout as string
12511
12512         * buffer.C: layout as string
12513
12514         * LyXView.[Ch]: layout as string
12515
12516         * LaTeXFeatures.[Ch]: layout as string
12517
12518         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12519
12520         * BufferView_pimpl.C: change current_layout to string, remove
12521         lyx::layout_type.
12522         (Dispatch):
12523         (smartQuote):
12524         (insertInset):
12525         (workAreaButtonRelease): layout as string
12526
12527         * BufferView2.C (unlockInset): adjust
12528
12529         * vspace.C (asLatexCommand): use an explict temp variable.
12530
12531 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * Makefile.am: use FRONTEND_*
12534
12535 2002-03-01  Juergen Vigna  <jug@sad.it>
12536
12537         * tabular.C (SetWidthOfMulticolCell): changed to something better
12538         I hope but still work in progress.
12539         (recalculateMulticolumnsOfColumn): renamed function from
12540         recalculateMulticolCells as it is more appropriate now.
12541         (SetWidthOfCell): calculate multicols better.
12542
12543 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12546
12547         * lyxfunc.C (processKeySym): print sequence also if it is
12548         `deleted' (complete)
12549
12550         * kbsequence.C (print): print sequence even if it is deleted
12551         (complete would be a better word, actually).
12552
12553         * lyxfunc.C (dispatch): print complete options after a prefix key
12554
12555         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12556
12557 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12558
12559         * text2.C (setCharFont): eliminate setCharFont code duplication.
12560
12561 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12562
12563         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12564         LFUN_TABULAR_FEATURE (bug #177)
12565
12566 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12567
12568         * Makefile.am: remove figure.h
12569
12570 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12571
12572         * Bufferview_pimpl.C:
12573         * CutAndPasteC:
12574         * LaTeX.C:
12575         * LyXSendto.C:
12576         * buffer.C:
12577         * bufferlist.C:
12578         * converter.C:
12579         * language.C:
12580         * lyxfunc.C:
12581         * lyxvc.C:
12582         * paragraph.C:
12583         * text.C:
12584         * text2.C: remove #include "lyx_gui_misc.h".
12585
12586         * LaTeX.C: added #include <cstdio>
12587
12588 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12589
12590         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12591         that the paragraph following this one can have.
12592
12593         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12594
12595         * vspace.C (asLatexCommand): fix bogus gcc warning
12596
12597         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12598
12599 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12600
12601         * text2.C (setLayout): get rid of redundant code
12602
12603 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12604
12605         * text2.C (incDepth): make sure depth cannot be increased beyond
12606         reasonable values.
12607
12608 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12611         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12612
12613         * PainterBase.h (image):
12614         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12615         a LyXImage const *.
12616
12617 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12618
12619         * BufferView.C:
12620         * BufferView.h:
12621         * BufferView_pimpl.C:
12622         * BufferView_pimpl.h:
12623         * LaTeXFeatures.C:
12624         * LyXAction.C:
12625         * LyXView.C:
12626         * Makefile.am:
12627         * UpdateList.h:
12628         * UpdateList.C:
12629         * buffer.C:
12630         * figure.h:
12631         * figureForm.C:
12632         * figureForm.h:
12633         * figure_form.C:
12634         * figure_form.h:
12635         * lyx_cb.C:
12636         * lyx_gui.C:
12637         * lyx_gui_misc.C:
12638         * lyxfunc.C:
12639         * sp_base.h:
12640         * sp_ispell.h:
12641         * sp_pspell.h:
12642         * sp_spell.C: remove fig inset, and the crap house of
12643           cards that follows it
12644
12645 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * Makefile.am:
12648         * lyxserver.C:
12649         * os2_defines.h:
12650         * os2_errortable.h:
12651         * nt_defines.h: move .h into support/
12652
12653         * vms_defines.h: remove
12654
12655         * WorkArea.C: add space in debug output
12656
12657         * text2.C:
12658         * paragraph.C:
12659         * buffer.C: add WITH_WARNINGS
12660
12661         * vc-backend.h:
12662         * vc-backend.C:
12663         * bufferlist.C: s/retrive/retrieve/, add docs
12664
12665         * vspace.h:
12666         * vspace.C:
12667         * kbmap.h:
12668         * lyxlength.h:
12669         * lyxgluelength.h:
12670         * length_common.h:
12671         * chset.h:
12672         * chset.C: add docs
12673
12674         * lyxgui.C: add ID to X error handler
12675
12676         * lyxtestclass.c: fix typo
12677
12678 2002-02-26  Juergen Vigna  <jug@sad.it>
12679
12680         * tabular_funcs.C (write_attribute): changed so that some default
12681         attributes are not written at all.
12682         (getTokenValue): set default values before trying to read the
12683         value so we have the return value always set as default if we don't
12684         find the token we search for.
12685
12686         * tabular.C (Write): write bools as bools not as strings!
12687
12688 2002-02-22  Juergen Vigna  <jug@sad.it>
12689
12690         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12691         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12692
12693         * text.C (leftMargin): don't add an indent for paragraphs inside
12694         tabular cells (fix #208).
12695
12696 2002-02-21  José Matos  <jamatos@fep.up.pt>
12697
12698         * tabular.C (docBook): fixed support for long tables.
12699
12700 2002-02-20  Juergen Vigna  <jug@sad.it>
12701
12702         * text2.C (getFont): get the drawing font of the Inset if this
12703         paragraph is inside an inset (only important for InsetERT for now).
12704
12705         * buffer.C (insertErtContents): use new lanugage params in ERT
12706         constructor.
12707
12708         * CutAndPaste.C: commenting out seemingly uneeded code.
12709
12710 2002-02-19  Allan Rae  <rae@lyx.org>
12711
12712         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12713         Iterators might be simple to use but they also get invalidated.
12714         (removeAutoInsets): renamed saved cursor tracking variables and added
12715         some comments to clarify what everything does.
12716
12717 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12718
12719         * Chktex.C:
12720         * LaTeX.C:
12721         * LyXSendto.C:
12722         * converter.C:
12723         * lyx_cb.C:
12724         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12725         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12726
12727         * lyxfunc.C:
12728         * vc-backend.h: remove #include "support/syscall.h"
12729
12730         * LaTeX.C:
12731         * LyXSendto.C:
12732         * converter.C: rearrange #includes in Lars' approved fashion.
12733
12734         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12735         forward declare class Timeout in the header file.
12736
12737         * XFormsView.C: changes due to the above.
12738
12739         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12740         similar to LyXView.
12741
12742         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12743         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12744
12745 2002-02-18  José Matos  <jamatos@fep.up.pt>
12746
12747         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12748         insets contents.
12749
12750 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12751
12752         * a lot of small ws changes
12753         * add a lot of using std::XXX
12754         * use std construcs some places where approp.
12755         * use some exisint stuff from lyxfunctional where approp.
12756         * Make file changes to use partial linking (lets test this now...)
12757
12758 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12759
12760         * Chktex.C:
12761         * buffer.C:
12762         remove #include "support/syscontr.h" as it's redundant. Always has been.
12763
12764         * Chktex.C:
12765         * LaTeX.C:
12766         * LyXSendto.C:
12767         * converter.C:
12768         * lyx_cb.C:
12769         * vc-backend.C:
12770         change Systemcalls::System to Systemcalls::Wait and
12771         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12772         No change of functionality, just reflects the stripped down Systemcalls
12773         class.
12774
12775 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12776
12777         * debug.[Ch]: add a GRAPHICS type to the enum.
12778
12779 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12780
12781         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12782
12783         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12784         there is an inset.
12785
12786 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12787
12788         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12789         match the changes below.
12790
12791         * text2.C (toggleInset): if there is not editable inset at cursor
12792         position, try to see if cursor is _inside_ a collapsable inset
12793         and close it.
12794
12795 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12798         document menu has a nice checkbox
12799
12800 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12801
12802         * lyxlength.C (asLatexString): change PW to output as percent of
12803         \textwidth.
12804
12805         * lengthcommon.C: change '%' to 't%'
12806
12807         * lyxfunc.C (dispatch): a few comments from Martin
12808
12809 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * WorkArea.h:
12812         * WorkArea.C:
12813         * BufferView_pimpl.h:
12814         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12815           the X selection.
12816
12817 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12818
12819         * vspace.C (inPixels): fix compiler warning
12820
12821 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12822
12823         * lyxfunc.C (getStatus): fix status message for disabled commands.
12824
12825 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * BufferView_pimpl.C: fix crash on close buffer
12828         during selection (#227)
12829
12830 2002-01-27  Herbert Voss  <voss@lyx.org>
12831
12832         * buffer.C: link old Figure to new graphic inset
12833
12834 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12835
12836         * FontLoader.C (getFontinfo): Change the latex font names in order
12837         to match the names of type1inst.
12838
12839 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12842
12843         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12844         (extchanged): ditto
12845         (ext_exist): ditto
12846         (remove_files_with_extension): ditto
12847         (remove_file): ditto
12848         (write): ditto
12849
12850         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12851         document is smaller than the work area height. Do not initialize
12852         static variables to 0.
12853
12854 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12855
12856         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12857
12858         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12859         LFUN_LAYOUT_PARAGRAPHS.
12860
12861         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12862         tabular. It is possible to provide a possible cell, which will
12863         typically be the actcell from the corresponding insettabular
12864
12865         * lyxfunc.C (getStatus): small cleanup; disable
12866         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12867         true
12868
12869 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12870
12871         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12872
12873         * paragraph.C (startTeXParParams):
12874         (endTeXParParams): new methods. The LaTeX code to
12875         start/end paragraph formatting
12876         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12877         empty (fixes bug #200)
12878
12879         * vspace.C (inPixels): adapt to the change below
12880         (inPixels): [later] more cleanups (remove unused variables)
12881
12882         * lyxlength.C (inPixels): change to use a width and a height as
12883         parameter.
12884
12885 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12886
12887         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12888         Replaced with \paperwidth
12889
12890         * DepTable.C (insert): add std:: qualifier
12891
12892 2002-01-18  Allan Rae  <rae@lyx.org>
12893
12894         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12895         updated also?
12896
12897         * text.C (drawInset): Turned out I didn't know enough about how
12898         rebreaking worked.  This fixes most of the redraw problems.  I see
12899         an occasional cursor trail when a line is broken now and the cursor
12900         placement can seem out by a few pixels also after a rebreak.
12901
12902 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12903
12904         * buffer.C (parseSingleLyXformat2Token): update because minipage
12905         width is now a LyXLength
12906
12907         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12908
12909         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12910         math insets
12911
12912 2002-01-17  Juergen Vigna  <jug@sad.it>
12913
12914         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12915
12916         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12917         is set correctly and the inset is updated correctly.
12918
12919 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12920
12921         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12922         the beginning of the loop.
12923
12924 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * lyxrc.C: improve help for use_scalable_fonts
12927
12928 2002-01-17  Allan Rae  <rae@lyx.org>
12929
12930         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12931
12932 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12933
12934         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12935         make sure to set their inset_owner to the right value (bug #171)
12936
12937 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12938
12939         * DepTable.h
12940         * DepTable.C: Implement mtime checking to reduce time spent doing
12941         CRCs.
12942
12943 2002-01-16  Juergen Vigna  <jug@sad.it>
12944
12945         * tabular.C (GetAdditionalHeight): one of error fixed.
12946
12947         * lyxrc.C (output): small fix in writing use_pspell.
12948
12949 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12950
12951         * sp_base.h: #include LString.h
12952
12953 2002-01-16  Allan Rae  <rae@lyx.org>
12954
12955         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12956         Can someone check this please?
12957
12958         * text.C (drawInset): It was possible that p.row would be removed by
12959         breakAgainOneRow upsetting a few other settings.  There may be another
12960         small tweak possible by setting need_break_row = 0 when p.row has been
12961         removed but I don't know enough about the logic here.
12962
12963 2002-01-15  Allan Rae  <rae@lyx.org>
12964
12965         * text.C (insertChar): removed conditional truism.
12966
12967         * BufferView2.C (removeAutoInsets): More tweaks.
12968         cur_par_prev could be a stray pointer.  Check for trailing empty line
12969         in case last line was cur_par and only had an error inset on it.
12970
12971 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12972
12973         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12974         absolute
12975
12976         * vc-backend.C (most methods):
12977         * exporter.C (Export):
12978         * converter.C (convert):
12979         (runLaTeX):
12980         * LyXSendto.C (SendtoApplyCB):
12981         * lyxfunc.C (dispatch):
12982         (menuNew):
12983         (open):
12984         (doImport):
12985         * lyx_cb.C (AutoSave):
12986         (InsertAsciiFile):
12987         * BufferView_pimpl.C (MenuInsertLyXFile):
12988         * buffer.C (runChktex): use Buffer::filePath().
12989
12990         * buffer.h: rename filename to filename_; rename filepath to
12991         filepath_ and make it private
12992         (filePath): new method
12993
12994         * buffer.C (writeFile): use fileName()
12995         (getLatexName):
12996
12997         * lyx_main.C (init): fix starting  of LyX when the binary is a
12998         link from so,ewhere else.
12999
13000         * minibuffer.C: include <cctype> for isprint
13001
13002 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13003
13004         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13005         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13006         name clash with InsetCollapsable's width function.
13007
13008 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * lastfiles.C: include <iterator>
13011
13012 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13013
13014         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13015         std::count.
13016
13017         * buffer.C (makeLaTeXFile): ditto.
13018         Also make loop operation more transparent.
13019
13020 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13021
13022         * ToolbarDefaults.C: remove trailing comma closing namespace.
13023
13024         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13025
13026         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13027         as in WorkArea.
13028
13029         * trans.C (Load): comment out unused variable, allowed.
13030
13031 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13032
13033         * minibuffer.[Ch] (append_char): new method to recieve input from the
13034         drop-down completion browser. If a key was pressed, then recieve this
13035         char and append it to the existing string.
13036         (peek_event): modify the positioning data passed to the completion
13037         browser so that it can be placed above the minibuffer rather than below.
13038 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * LyXAction.C (init): alloe error-next for readonly documents.
13041
13042         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13043         count.
13044
13045 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13046
13047         * bufferlist.C (readFile): create the buffer _after_ checking that
13048         the file exists.
13049
13050         * lyxfunc.C (verboseDispatch): fix handling of arguments
13051
13052         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13053
13054         * lyxrc.C: use string::erase() instead of initializing to "".
13055
13056
13057 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * BufferView_pimpl.h:
13060         * BufferView_pimpl.C:
13061         * WorkArea.h:
13062         * WorkArea.C:
13063         * text2.C: tell X when we have made a selection for copying
13064
13065 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * BufferView_pimpl.C (MenuInsertLyXFile):
13068         * lyxfunc.C (menuNew):
13069         (open):
13070         (doImport): add shortcuts to directory buttons
13071
13072         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13073         open a float)
13074
13075         * lyxfunc.C (setStatusMessage):
13076         (getStatusMessage): new methods
13077         (getStatus):use setStatusMessage instead of setErrorMessage
13078         (dispatch): when function is disabled, set error message here
13079         [instead of in getStatus previously]
13080
13081         * BufferView_pimpl.C (workAreaButtonRelease): update
13082         toolbar/menubar here too.
13083
13084 2002-01-13  Allan Rae  <rae@lyx.org>
13085
13086         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13087         Now seems indestructible.  Remaining task is to audit all other
13088         code affected by deleteEmptyParagraphMechanism.  One small quirk
13089         left is that an empty document with an error in the preamble can
13090         be made to report an error but no error box appears.  I don't know
13091         where it goes.
13092         (removeAutoInsets): Improved comments.
13093
13094 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13095
13096         * Thesaurus.h:
13097         * Thesaurus.C: update for Aiksaurus 0.14
13098
13099 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * text2.C (firstParagraph): removed member function, all uses
13102         replaces with ownerParagraph
13103         (redoParagraphs): here
13104         (updateInset): here
13105         (toggleAppendix): here
13106         * BufferView2.C (insertErrors): here
13107         (setCursorFromRow): here
13108
13109 2002-01-13  Allan Rae  <rae@lyx.org>
13110
13111         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13112         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13113         There is still a way to segfault this although you may have to do this
13114         multiple times: Have an InsetERT with an unknown command in it.
13115         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13116         <down-arrow>, <Enter> again, View->DVI, BANG!
13117
13118         * text2.C (setCursor):
13119         (deleteEmptyParagraphMechanism):
13120         * lyxtext.h (setCursor):
13121         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13122         Making use of the return value may help fix other bugs.
13123
13124 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13125
13126         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13127
13128         * LyXView.C (updateMenubar): call MenuBar::update here
13129         (updateToolbar): but not here
13130         (showState): do not update toolbar/menubar
13131
13132         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13133         should need to care about that.
13134
13135         * lyxfunc.C (verboseDispatch): simplify a bit
13136         (getStatus): have a version which takes a pseudoaction, and
13137         another which requires a (kb_action,string).
13138
13139         * LyXAction.C (retrieveActionArg): make it work also when action
13140         is not a pseudo-action.
13141         (getActionName): simplify a bit
13142         (helpText):
13143
13144 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13145
13146         * lyxfunc.C (verboseDispatch): new families of methods with
13147         several ways to specify a command and a bool to indicate whether
13148         the command name and shortcut should be displayed in minibuffer
13149         (eventually, we could extend that to a finer bitmask like
13150         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13151         (dispatch): the pristine dispatch command which just, well,
13152         dispatchs! Note it still sets its result to minibuffer; I'm not
13153         sure we want that.
13154
13155         * lyxfunc.h: remove setHintMessage
13156
13157         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13158
13159 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13160
13161         * BufferView_pimpl.C (specialChar): delete new inset if we have
13162         not been able to insert it.
13163
13164         * kbmap.C: revert to using int instead of kb_action, since all we
13165         are dealing with is pseudo-actions.
13166
13167         * LyXAction.C (searchActionArg): change to return int instead of
13168         kb_action, since the result is a pseudoaction.
13169
13170 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13171
13172         * buffer.C (insertErtContents): Fix (partially) the font bug.
13173
13174 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13177         as the other one is broken on my machine!
13178
13179 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13180
13181         * commandtags.h:
13182         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13183
13184 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13185
13186         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13187         reflect their actual use. Provide compatibility code for older lyxrc
13188         files.
13189
13190         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13191         FL_NORMAL_STYLE.
13192         change names of popup font variables in line with the changes to lyxrc.C
13193
13194 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13195
13196         * buffer.C (asciiParagraph): avoid outputing a word twice after
13197         an inset.
13198
13199         * lyxrc.C (getDescription): document that document_path and
13200         template_path can be empty.
13201
13202 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13203
13204         * LaTeXFeatures.C (getMacros):
13205         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13206
13207         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13208
13209         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13210         getPackages.
13211         (getPackages): rename feature "floats" to "float". Use an array to
13212         iterate over 'simple' features (i.e. just a \usepackage). Add
13213         handling of "amsmath" (renamed from "amsstyle").
13214
13215 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13216
13217         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13218         features list.
13219
13220 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13221
13222         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13223         FuncStaus::FuncStatus & FuncStaus::some_method().
13224
13225 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13226
13227         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13228         of the func_satus stuff. Edited and massaged in various ways by
13229         JMarc.
13230
13231         * lyxfunc.C (getStatus): use FuncStatus
13232
13233 2002-01-08  Juergen Vigna  <jug@sad.it>
13234
13235         * text.C (nextBreakPoint): use function Inset::isChar().
13236
13237         * paragraph.C (TeXOnePar): use function
13238         Inset::forceDefaultParagraphs.
13239
13240         * buffer.C (latexParagraphs): use function
13241         Inset::forceDefaultParagraphs.
13242
13243 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13244
13245         * lyx_gui.C (init): set the style of the menu popups to
13246         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13247
13248 2002-01-07  Juergen Vigna  <jug@sad.it>
13249
13250         * text.C (setHeightOfRow): small fix
13251         (prepareToPrint): don't look at alignment if we don't have the place
13252         for doing it.
13253
13254 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * box.C: New file. Move the Box methods and functions out of box.h,
13257         following Lars' suggestion.
13258
13259 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * box.h: #include "support/LOstream.h", needed for inlined function.
13262
13263         * lyxtextclass.C:
13264         * lyxtextclasslist.C: added some using std declarations.
13265
13266 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13267
13268         * box.h: make signed dimensions to allow insets wider than
13269           the screen (bug #162)
13270
13271         * BufferView_pimpl.C: add some insetHit debug
13272
13273 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13274
13275         * vc-backend.C: add FIXME
13276
13277 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13278
13279         * lyxfunc.C (getStatus): enable code for showing math font status
13280         in toolbar/menu.
13281
13282 2002-01-07  Juergen Vigna  <jug@sad.it>
13283
13284         * text.C (nextBreakPoint): removed debug output not needed anymore.
13285
13286 2002-01-06  Juergen Vigna  <jug@sad.it>
13287
13288         * text.C (nextBreakPoint): fixed up this function we had this bug
13289         since ever but now hopefully we break row better.
13290         (insertChar): we have to check if an inset is the next char as it
13291         could now happen that a large inset is causing a break.
13292
13293 2002-01-05  Juergen Vigna  <jug@sad.it>
13294
13295         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13296         if it doesn't like to be drawed.
13297
13298 2002-01-04  Juergen Vigna  <jug@sad.it>
13299
13300         * BufferView2.C (lockInset): forgot to set a cursor.
13301
13302         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13303
13304 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13305
13306         * FormMathsPanel.C:
13307         * FormMathsPanel.h
13308         * MathsSymbols.C:
13309         * form_maths_panel.C:
13310         * form_maths_panel.h:
13311         * form_maths_panel.fd: implemented sub- and super- buttons in math
13312         panel.
13313
13314         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13315         (or ^ space) to be used as in TeX (req'd by André).
13316
13317         * lyxfunc.C: Allow ^ and _ again to be used both as
13318         super/subscript (mathed) and as themselves (in text).
13319
13320 2002-01-03  Allan Rae  <rae@lyx.org>
13321
13322         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13323         "LyX" or the filename of the current buffer if it has one.  This is a
13324         modified form of John Levon's patch.
13325
13326         * XFormsView.C (setWindowTitle): also set icon title.
13327
13328         * LyXView.h (setWindowTitle): signature changed.
13329         * XFormsView.h (setWindowTitle): ditto.
13330
13331 2002-01-02  Juergen Vigna  <jug@sad.it>
13332
13333         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13334
13335 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * screen.C (topCursorVisible): introduce a temp var for
13338         text->cursor.row(), handle the case where this row is null. (kindo
13339         hachish)
13340
13341         * text2.C (setCursor): add a couple of asserts.
13342
13343         * paragraph.h (inset_iterator): add -> operator
13344
13345         * paragraph.[Ch] (autoDeleteInsets): remove member function
13346
13347         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13348         cursor pos correctly and handle inset deletion by itself.
13349         (insertErrors): move iterator declaration out of for expression
13350
13351         * lyxtextclass.C: add <algorithm>
13352
13353         * Makefile.am: added the new files to sources, removed layout.C
13354
13355         * layout.C: removed file
13356
13357         * layout.h: remove LYX_DUMMY_LAYOUT
13358
13359         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13360         layout.
13361
13362         * lyxlayout.[Ch]:
13363         * lyxtextclass.[Ch]:
13364         * lyxtextclasslist.[Ch]: new files
13365
13366         * include order changes to a lot of files, also changes because of
13367         the six new files.
13368
13369 2001-12-27  Juergen Vigna  <jug@sad.it>
13370
13371         * buffer.C (asciiParagraph): more fixes.
13372
13373         * tabular.C (ascii): make ascii export support export of only the
13374         data separated by a column-delimiter.
13375         (ascii): better support for ascii export.
13376
13377         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13378
13379 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * tabular_funcs.C: use a "using std::getline" instead of the
13382         previous fix from Angus (necessary for cxx + lyxstring)
13383
13384 2001-12-24  Juergen Vigna  <jug@sad.it>
13385
13386         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13387
13388         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13389         problems. First check a minipage also if we have some ert-contents
13390         (not only on par->size(), second set the right depth of the paragraph
13391         on the relink to the root-paragraph-list!
13392
13393         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13394         which then did not anymore update the main paragraphs on undo/redo!
13395
13396 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13397
13398         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13399         code. Support all font-changing funcs (even those which are not in
13400         menu currently). Support for reporting font settings in
13401         mathed (disabled until Andre provides a function on mathed's side).
13402
13403         * func_status.h (toggle): small helper function to set toggle
13404         state on a flag.
13405
13406 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13407
13408         * tabular_funcs.C: getline -> std::getline
13409
13410 2001-12-21  Juergen Vigna  <jug@sad.it>
13411
13412         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13413         accessed and could be 0 (I couldn't generate this but it seems
13414         Michael could!).
13415
13416 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13417
13418         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13419         * tabular_funcs.h: here and include iosfwd
13420
13421 2001-12-20  Juergen Vigna  <jug@sad.it>
13422
13423         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13424         inside inset but undo_par was.
13425
13426 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13427
13428         * Thesaurus.C: always include <config.h> in sources.
13429
13430         * Painter.h:
13431         * lyxlookup.h:
13432         * box.h: do not include <config.h> in header files
13433
13434         * text.C (paintLastRow): remove unused variable
13435
13436         * text.C (transformChar):
13437         (insertChar):
13438         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13439
13440         * Painter.C (text):
13441         * font.C (width): rewrite to use uppercase() instead of
13442         islower/toupper.
13443
13444         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13445
13446 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * lyxfind.C: clean up of find failure position change
13449
13450 2001-12-20  Juergen Vigna  <jug@sad.it>
13451
13452         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13453
13454         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13455         (TeXRow): added to LaTeX a single tabular row.
13456         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13457         (Latex): simplified and finally good LT-h/f support.
13458         (various_functions): just small adaptions for LT-h/f support.
13459
13460         * tabular_funcs.[hC]: added and moved here all not classfunctions
13461         of LyXTabular.
13462
13463 2001-12-19  Juergen Vigna  <jug@sad.it>
13464
13465         * tabular.[Ch]: better support for longtabular options (not finished
13466         yet!)
13467
13468 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * text.C (paintLastRow): use the label font instead of the font of
13471         the last character to compute the size of *_BOX. This makes more
13472         sense and avoids a crash with empty paragraphs.
13473         Use Painter::rectangle to draw EMPTY_BOX.
13474
13475 2001-12-19  Juergen Vigna  <jug@sad.it>
13476
13477         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13478         the paragraphs if the replaced paragraph is not the first one!
13479         Tried to delete not used paragraphs but does not work yet so for
13480         now it's inside #ifdef's and by default off!
13481
13482 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * MenuBackend.C: include "lyx_main.h" instead of declaring
13485         lastfiles (actually was declared as LastFiles* instead of a
13486         scoped_ptr).
13487
13488 2001-12-17  Juergen Vigna  <jug@sad.it>
13489
13490         * tabular.C (AppendColumn): applied John's fix
13491
13492 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13493
13494         * BufferView.h:
13495         * BufferView.C:
13496         * BufferView_pimpl.h:
13497         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13498
13499         * Makefile.am:
13500         * box.h: new start of class for above
13501
13502         * lyxfunc.C: ignore space-only minibuffer dispatches.
13503           Show the command name when it doesn't exist
13504
13505         * minibuffer.C: don't add empty lines to the history
13506
13507         * minibuffer.C: add a space on dropdown completion
13508
13509 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * text.C: fix line above/below drawing in insets
13512
13513 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13514
13515         * lyxlength.C (LyXLength): Initialize private variables.
13516
13517 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13518
13519         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13520         when inserting error insets.
13521
13522 2001-12-13  Juergen Vigna  <jug@sad.it>
13523
13524         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13525         actually sometimes the before-paragraph.
13526         (setUndo): don't clear the redostack if we're not actually undoing!
13527
13528 2001-12-06  Juergen Vigna  <jug@sad.it>
13529
13530         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13531         and fixed redoing of main paragraph, so we can use it now ;)
13532
13533         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13534
13535 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13536
13537         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13538         Juergen's request
13539
13540 2001-12-13  André Pönitz <poenitz@gmx.net>
13541
13542         * undostack.[Ch]:
13543         * undo_func.C: minor cleanup
13544
13545 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13546
13547         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13548         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13549         font in urw-fonts package which is marked as -urw-fontspecific and
13550         does not work (incidentally, changing the encoding in the
13551         fonts.dir of this package to -adobe-fontspecific fixes the
13552         problem).
13553
13554         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13555         is a crash when undoing first paragraph (Juergen, please take a
13556         look). THis does not mean the undo fix is wrong, just that it
13557         uncovers problems.
13558
13559         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13560         the (Paragraph*) version when needed instead of duplicating the
13561         code.
13562
13563         * text.C (workWidth): use Inset::parOwner to find out where the
13564         inset has been inserted. This is a huge performance gain for large
13565         documents with lots of insets. If Inset::parOwner is not set, fall
13566         back on the brute force method
13567
13568         * paragraph_pimpl.C (insertInset):
13569         * paragraph.C (Paragraph):
13570         (cutIntoMinibuffer): set parOwner of insets when
13571         inserting/removing them
13572
13573         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13574
13575 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13576
13577         * commandtags.h:
13578         * LyXAction.C:
13579         * lyx_main.C:
13580         * lyxfunc.C:
13581         * mathed/formulabase.C:
13582         * mathed/math_cursor.[Ch]:
13583         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13584
13585
13586 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * lyxlength.[Ch] (operator!=): new function
13589
13590 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13591
13592         * text.C (workWidth): use Inset::parOwner to find out where the
13593         inset has been inserted. This is a huge performance gain for large
13594         documents with lots of insets. If Inset::parOwner is not set, fall
13595         back on the brute force method
13596
13597         * paragraph_pimpl.C (insertInset):
13598         * paragraph.C (Paragraph):
13599         (cutIntoMinibuffer): set parOwner of insets when
13600         inserting/removing them
13601
13602         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13603
13604 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13605
13606         * tabular-old.C (getTokenValue):
13607         * tabular.C (getTokenValue):
13608         (write_attribute): new versions for LyXLength
13609         (everywhere): adjust the use of widths
13610
13611         * tabular.h: change the type of widths from string to LyXLength
13612
13613 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13614
13615         * paragraph.C: fixed missing line number count when exporting
13616         Environments to LaTeX file
13617
13618         * buffer.C: added informational message for checking line numbers.
13619
13620 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13621
13622         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13623         paragraph, do the 'double space' part, but not the 'empty
13624         paragraph' one.
13625
13626         * text.C (workWidth): small optimization
13627         (getLengthMarkerHeight): use minimal size for negative lengths.
13628
13629 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13630
13631         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13632
13633         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13634
13635 2001-12-11  André Pönitz <poenitz@gmx.net>
13636
13637         * FontLoader.C:
13638         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13639
13640 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * text2.C: keep selection on a setFont()
13643
13644 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13645
13646         * lyx_cb.C: another bv->text misuse, from insert label
13647
13648 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * kbsequence.h:
13651         * kbsequence.C: re-instate nmodifier mask
13652
13653 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         * lyx_main.h: make lyxGUI private.
13656
13657 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13658
13659         * lyxfind.C: place the cursor correctly on failed search
13660
13661 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13662
13663         * text.C (getLengthMarkerHeight): for small heights, the arrows
13664         are not always on top/bottom of the text
13665         (drawLengthMarker): smaller arrows; take the left margin in
13666         account; draw also vfills.
13667         (paintFirstRow):
13668         (paintLastRow): remove special code for vfill and standard spaces,
13669         since everything is handled in drawLengthMarker now.
13670
13671 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13672
13673         * buffer.C (insertErtContents): try to handle font and language
13674         interaction a bit better.g
13675
13676         * ColorHandler.C (updateColor): change the hash to cover the whole
13677         LColor enum, ws cleanup
13678         (getGCLinepars): ditto
13679         (getGCLinepars): only lookup in the linecache once.
13680
13681 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13682
13683         * iterators.C (operator++): Make the iterator more robust
13684
13685         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13686         (John's patch)
13687         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13688
13689 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * lyxtext.h:
13692         * text.C: better added space drawing
13693
13694 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * LyXView.C:
13697         * BufferView2.C: fix layout combo update on inset unlock
13698
13699 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13700
13701         * Makefile.am: don't compile unused files
13702
13703 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13704
13705         * lyxfunc.C:
13706         * commandtags.h:
13707         * LyXAction.C: remove old LFUN_LAYOUTNO
13708
13709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * paragraph_pimpl.h:
13712         * paragraph_pimpl.C: isTextAt() doesn't need font param
13713
13714 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * lyxlex.h:
13717         * lyxlex.C: little cleanup
13718
13719 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * BufferView_pimpl.C: fix insertAscii for insets
13722
13723 2001-12-05  Juergen Vigna  <jug@sad.it>
13724
13725         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13726         set the right font on the "multi" paragraph paste!
13727
13728 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * trans_decl.h:
13731         * trans_mgr.[Ch]:
13732         * trans.[Ch]:
13733         * lyxgluelength.C:
13734         * lyxlength.C: remove out-commented code.
13735
13736         * BufferView_pimpl:
13737         * CutAndPaste.C:
13738         * DepTable.C:
13739         * buffer.C:
13740         * chset.C:
13741         * lastfiles.C:
13742         * lyxlex.C:
13743         * lyxlex_pimpl.C:
13744         * lyxserver.C:
13745         * screen.C:
13746         * tabular-old.C:
13747         * tabular.C:
13748         * text.C:
13749         * trans_mgr.C:
13750         * vc-backend.C: change "while(" to "while ("
13751
13752         * lyxlength.[Ch]: add zero function to check if length is zero or
13753         not
13754         * lyxgluelength.C: use it
13755
13756 2001-12-05  Allan Rae  <rae@lyx.org>
13757
13758         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13759         Works for 2.95.3, from what I understand of Garst's reports this should
13760         work for other g++ versions.  We're screwed if the abs(int) definition
13761         changed between bugfix releases of gcc.
13762
13763 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * text.C: fix chapter label offset !
13766
13767 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13768
13769         * lyxtext.h:
13770         * text.C: fix hfill at end of line, clean up
13771
13772 2001-12-04  Juergen Vigna  <jug@sad.it>
13773
13774         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13775         that we force an update of the inset and it's owners if neccessary.
13776
13777 2001-12-03  Juergen Vigna  <jug@sad.it>
13778
13779         * text.C (rowLast): simplified code
13780
13781 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * lyxfunc.C: fix show options on timeout
13784
13785 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * screen.C (topCursorVisible): scroll half a page when the cursor
13788         reached top of bottom of screen
13789
13790 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13791
13792         * minibuffer.C: deactivate on loss of focus
13793
13794 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * vspace.[Ch] (operator!=): add operator.
13797
13798 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * BufferView_pimpl.C: refuse to open an inset when
13801         there's a selection.
13802
13803 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * BufferView_pimpl.C: allow to click on RHS of full row insets
13806
13807 2001-11-30  Juergen Vigna  <jug@sad.it>
13808
13809         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13810         insets for undo reasons.
13811
13812 2001-11-28  André Pönitz <poenitz@gmx.net>
13813
13814         * vspace.[Ch]: cosmetical changes
13815
13816 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13817
13818         * LyXAction.h:
13819         * LyXAction.C:
13820         * lyxfunc.h:
13821         * lyxfunc.C:
13822         * kbmap.h:
13823         * kbmap.C:
13824         * lyxrc.C:
13825         * kbsequence.h:
13826         * kbsequence.C: part re-write of old kb code
13827
13828         * Painter.C:
13829         * WorkArea.C: remove Lgb_bug_find_hack
13830
13831 2001-11-30  José Matos <jamatos@fep.up.pt>
13832
13833         * buffer.C (makeDocBookFile): add a comment to point a hack.
13834         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13835         Fixed a double write of labels.
13836
13837 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13838
13839         * LaTeX.C:
13840         * LaTeX.h Fixed bug in LaTeX class where it would not
13841         re-run latex if no depfiles were changed, but the .dvi was removed.
13842
13843 2001-11-28  André Pönitz <poenitz@gmx.net>
13844
13845         * all the files from the change on 2001/11/26:
13846         use lyx::layout_type instead of LyXTextClass::size_type
13847         use lyx::textclass_type instead of LyXTextClassList::size_type
13848
13849 2001-11-29  Juergen Vigna  <jug@sad.it>
13850
13851         * text.C: added support for paragraph::isFreeSpacing()
13852
13853         * buffer.C: same as above
13854
13855         * paragraph.h: inserted isFreeSpacing() function to enable
13856         FreeSpacing inside InsetERT.
13857
13858         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13859         of the paragraph's in the cut/copy buffer to 0!
13860
13861         * text2.C (removeRow): remove the assert as it can!
13862
13863         * lyxtext.h: added helper function firstRow returning firstrow and
13864         made firstrow private again.
13865
13866         * BufferView2.C (lockInset): don't relock if we're already locked!
13867
13868         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13869         the only paragraph.
13870         (removeRow): added Assert::(firstrow)
13871
13872         * debug.C: forgot to add INSETTEXT here.
13873
13874 2001-11-28  Juergen Vigna  <jug@sad.it>
13875
13876         * sp_spell.C (initialize): changed error text to more general
13877         spellchecker command use (not only ispell!)
13878
13879         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13880
13881         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13882
13883 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13884
13885         * vspace.C: initialise lyxgluelength on failure
13886
13887 2001-11-28  Allan Rae  <rae@lyx.org>
13888
13889         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13890         declaration & definition that looks like a function declaration.
13891
13892 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * BufferView2.C (copy):
13895         (copyEnvironment): do not clear the selection when doing a copy.
13896
13897         * text.C (paintFirstRow): compilation fix
13898
13899 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13900
13901         * tabular.C (Latex): correct line count when writing latex.
13902
13903 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13904
13905         * paragraph_pimpl.h:
13906         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13907           bug a bit
13908
13909 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13910
13911         * text.C:
13912         * LColor.h:
13913         * LColor.C: change vfillline->added_space
13914
13915         * text.C: add markers and text for added space
13916
13917         * vspace.C: fix comment
13918
13919 2001-11-28  André Pönitz <poenitz@gmx.net>
13920
13921         * paragraph.C: whitespace changes
13922         * all the other files from the change on 2001/11/26:
13923         change *::pos_type into lyx::pos_type
13924
13925 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13928         language of the document when inserting error insets.
13929
13930 2001-11-26  André Pönitz <poenitz@gmx.net>
13931
13932         * BufferView_pimpl.[Ch]:
13933         *       CutAndPaste.C:
13934         * buffer.[Ch]:
13935         * lyxcursor.[Ch]:
13936         * lyxfind.C:
13937         * lyxfunc.C:
13938         * lyxrow.[Ch]:
13939         * paragraph.[Ch]:
13940         * paragraph_pimpl.[Ch]:
13941         * sp_spell.C:
13942         * text.C:
13943         * text2.C: reduce header dependencies, introduce type for positions
13944
13945 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13946
13947         * <various>: change to use Alert.h
13948
13949 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13950
13951         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13952         when encountering an unknown token.
13953         (readLyXformat2): Show an error message if there were unknown tokens.
13954
13955 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13956
13957         * BufferView2.C:
13958         * BufferView_pimpl.C:
13959         * buffer.C:
13960         * paragraph.h:
13961         * text.C:
13962         * text2.C: use par->isInset()
13963
13964 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * paragraph_pimpl.h:
13967         * paragraph_pimpl.C: cleanup
13968
13969 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13970
13971         * text2.C (removeRow):
13972         * text.C (setHeightOfRow): remove useless (and costly) call to
13973         getRow.
13974
13975 2001-11-20  Allan Rae  <rae@lyx.org>
13976
13977         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13978         Now need Inset*::checkInsertChar() to return true for appropriate
13979         cases so that the characters in the minibuffer will actually be
13980         inserted.
13981
13982 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13983
13984         * text.C: change the order of the includes.
13985         (workWidth): initialize it at once.
13986         (workWidth): make maxw unsigned
13987         (setHeightOfRow): remove unused variable (inset)
13988         (selectSelectedWord): remove unused variable (inset)
13989         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13990
13991 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13992
13993         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13994         server is not running.
13995         (openConnection):
13996         (closeConnection): add debug info when server is disabled.
13997
13998         * ColorHandler.C (getGCForeground): send debug message to GUI
13999         channel.
14000
14001         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14002
14003         * kbmap.C (bind): modify because return conventions of
14004         kb_sequence::parse have changed.
14005
14006         * kbsequence.C (parse): only ignore spaces and not any stupid
14007         control character. This avoids tests like s[i] <= ' ', which are
14008         guaranteed to fail with 8bit characters and signed chars.
14009         Change return code to string::npos when there have been no error
14010         (0 was a bad idea when error is at first character)
14011
14012 2001-11-14  José Matos  <jamatos@fep.up.pt>
14013
14014         * buffer.h:
14015         * buffer.C (simpleDocBookOnePar): removed unused argument.
14016
14017 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14018
14019         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14020         insets which are part of a word. Paragraph::isLetter takes care of
14021         that now. Use Paragraph::isInset to identify insets.
14022         (selectSelectedWord): do not test for hyphenation break.
14023
14024         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14025         that protected spaces are considered as spaces.
14026
14027         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14028         Inset::isLetter.
14029
14030 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14031
14032         * lyxserver.h:
14033         * lyxserver.C: fix it. and small cleanup.
14034
14035 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14036
14037         * BufferView_pimpl.C: use inline helpers
14038
14039         * LaTeXFeatures.h:
14040         * LaTeXFeatures.C: fix typos
14041
14042         * Spacing.h:
14043         * Spacing.C: move spacing_string into class
14044
14045         * ToolbarDefaults.C: move stuff into namespace anon
14046
14047         * layout.h: update enum
14048
14049         * lyxfunc.C: use better debug
14050
14051         * minibuffer.h: fix typo
14052
14053         * debug.h:
14054         * debug.C:
14055         * WorkArea.C: add and use Debug::WORKAREA
14056
14057         * lyxtext.h:
14058         * text.C:
14059         * text2.C: code re-organisation, inline helpers
14060
14061 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14062
14063         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14064         std::vector.empty().
14065
14066 2001-11-09  Allan Rae  <rae@lyx.org>
14067
14068         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14069         '\n's after tables.  Tabular and ERT inset work now makes this no
14070         longer necessary.
14071
14072 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * minibuffer.h:
14075         * minibuffer.C: fix crash, improve drop-down completion
14076
14077 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14078
14079         * lyxserver.h:
14080         * lyxserver.C: invalidate fd's when doing endPipe()
14081
14082 2001-11-08  José Matos  <jamatos@fep.up.pt>
14083
14084         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14085         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14086
14087         * paragraph.h:
14088         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14089
14090 2001-11-07  José Matos  <jamatos@fep.up.pt>
14091
14092         * buffer.h:
14093         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14094         const qualifier.
14095
14096         * buffer.C (sgmlOpenTag):
14097         * buffer.C (sgmlCloseTag): removed debug info.
14098
14099         * buffer.h (sgmlOpenTag):
14100         * buffer.h (sgmlCloseTag): made public.
14101
14102 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14103
14104         * buffer.C (saveParamsAsDefaults):
14105         * lyx_cb.C (MenuLayoutSave): remove
14106
14107         * LyXAction.C (init):
14108         * commandtags.h:
14109         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14110
14111 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14112
14113         * buffer.C (setPaperStuff): removed from here...
14114
14115         * bufferparams.C (setPaperStuff): ... and moved there.
14116
14117 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14118
14119         * minibuffer.h:
14120         * minibuffer.C:
14121         * XFormsView.C: add support for drop-down completion
14122
14123 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14124
14125         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14126         commands.
14127
14128 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14129
14130         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14131         disabled.
14132
14133 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * lyx_main.C: change ref to known bugs
14136
14137 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14138
14139         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14140         to work around older babel problems.
14141
14142 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14143
14144         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14145
14146 2001-10-24  Juergen Vigna  <jug@sad.it>
14147
14148         * tabular-old.C (ReadOld): below variable changes reflected.
14149
14150         * tabular.[Ch]: added ltType struct for longtable header/footer
14151         defines and changed all instances where they are used. Added
14152         future support for double top/bottom rows.
14153
14154 2001-10-24  José Matos  <jamatos@fep.up.pt>
14155
14156         * buffer.h (docbookHandleCaption):
14157         * buffer.C (docbookHandleCaption): removed unused function.
14158         (makeDocBookFile): moved docbook supported version to v4.1.
14159
14160 2001-10-24  José Matos  <jamatos@fep.up.pt>
14161
14162         * tabular.h:
14163         * tabular.C (docbookRow): new function to export docbook code of a row.
14164         (DocBook): now honors the longtable flags.
14165
14166 2001-10-23  José Matos  <jamatos@fep.up.pt>
14167
14168         * LaTeXFeatures.h:
14169         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14170         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14171
14172         * buffer.C (makeLinuxDocFile):
14173         (makeDocBookFile): reworked the preamble, more clean, and with
14174         support for lyx defined entities. Changed the document declaration
14175         to be more XML friendly.
14176
14177         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14178         if we need to output XML that should be done with a filter.
14179
14180 2001-10-22  Juergen Vigna  <jug@sad.it>
14181
14182         * sp_pspell.h (class PSpell): add alive function needed in the
14183         controller to see if the spellchecker could be started.
14184
14185 2001-10-22  Juergen Vigna  <jug@sad.it>
14186
14187         * buffer.C (insertStringAsLines): modify the font for inserting
14188         chars in certain conditions by calling checkInsertChar(font).
14189
14190 2001-10-19  Juergen Vigna  <jug@sad.it>
14191
14192         * text.C (workWidth): use getRow instead of wrong algorithm.
14193         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14194
14195 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * lyxserver.h:
14198         * lyxserver.C:
14199         * lyx_main.h:
14200         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14201
14202 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14203
14204         * text.C (workWidth): do not search for the exact row when
14205         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14206         optimization for big documents.
14207
14208 2001-10-18  Juergen Vigna  <jug@sad.it>
14209
14210         * text.C (workWidth): new function with added Inset * parameter.
14211
14212 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14213
14214         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14215
14216         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14217         change return type of getColumnNearX.
14218
14219
14220         * text.C (changeRegionCase): use uppercase/lowercase instead of
14221         toupper/tolower.
14222         (leftMargin):
14223         (rightMargin): simplify code by factoring out the uses of
14224         textclasslist.
14225         (labelFill):
14226         (numberOfHfills):
14227         (setHeightOfRow):
14228         (appendParagraph): use Paragraph::size_type
14229
14230 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * vspace.C (asLatexString): add a missing break
14233
14234 2001-10-15  Herbert Voss  <voss@perce.de>
14235
14236         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14237
14238 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14239
14240         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14241         is not available.
14242
14243 2001-10-10  André Pönitz <poenitz@gmx.net>
14244
14245         * lyxfunc.C: removed greek_kb_flag.
14246
14247 2001-10-10  Herbert Voss  <voss@perce.de>
14248
14249         * lyx_main.C: delete global string help_lyxdir.
14250
14251 2001-10-09  Herbert Voss  <voss@perce.de>
14252
14253         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14254
14255         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14256
14257         * lyx_main.C: added global string help_lyxdir.
14258
14259         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14260
14261 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14262
14263         * lyxrc.C (set_font_norm_type): support iso8859-4
14264
14265 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14266
14267         * LaTeX.C (deplog): add another regex for MikTeX
14268
14269 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14270
14271         * lyxrc.C (set_font_norm_type): support iso8859-3
14272
14273 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14276
14277         * LaTeXFeatures.C: remove special case of french and index
14278
14279         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14280         before \begin{document}). This solves several incompatibilities.
14281
14282 2001-10-03  Garst Reese  <reese@isn.net>
14283
14284         * lyx_cb.C: change CheckTex error msg.
14285
14286 2001-10-03  José Matos  <jamatos@fep.up.pt>
14287
14288         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14289
14290 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * .cvsignore: update
14293
14294         * lyx_main.C (commandLineVersionInfo): use new style version info.
14295
14296         * buffer.C (writeFile):
14297         (makeLaTeXFile):
14298         (makeLinuxDocFile):
14299         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14300
14301         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14302
14303         * version.h: update to use stuff in version.C
14304
14305         * version.C.in: new file. Contains version information determined
14306         at compile time. This is a merging of version.h and
14307         version_info.h.in.
14308
14309 2001-10-03  Juergen Vigna  <jug@sad.it>
14310
14311         * BufferView_pimpl.C (update): don't change "dirty" status in
14312         updateInset call.
14313
14314 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         * WorkArea.C (c-tor): re-position version string slightly.
14317
14318 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14319
14320         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14321         revert to previous code.
14322
14323         WorkArea.[Ch]: (show, destroySplash): methods removed.
14324
14325         WorkArea.C: rework code so that it's an amalgam of the codes before and
14326         after the splash screen was moved to WorkArea.
14327
14328 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * lyxrc.C (read):
14331         * vspace.C (inPixels):
14332         (lyx_advance):
14333         * kbmap.C (bind):
14334         * buffer.C (insertStringAsLines):
14335         (asciiParagraph): fix types to be large enough
14336
14337         * lyxlex_pimpl.h: change member status from short to int
14338
14339         * layout.h: fix type of endlabeltype
14340
14341         * kbmap.C (bind):
14342         * kbsequence.C (parse): change return type to string::size_type
14343
14344         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14345         variable
14346
14347         * Bullet.C (bulletSize):
14348         (bulletEntry): do not use short ints as parameters
14349
14350         * BufferView2.C (insertLyXFile): change a char to an int.
14351
14352         * WorkArea.C (WorkArea): remove unneeded floats in computation
14353
14354 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14355
14356         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14357
14358         * paragraph.C (asString): Do not ignore newline/hfill chars when
14359         copying to the clipboard.
14360
14361 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14362
14363         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14364         after a multi-line inset.
14365
14366 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14367
14368         * paragraph.C (validate): Set NeedLyXFootnoteCode
14369
14370 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14373         and decrease-error to decrease.
14374
14375 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14376
14377         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14378         it more readable (should be equivalent)
14379
14380 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14381
14382         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14383
14384 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14385
14386         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14387         of a cursor (row, etc.) after a character has been deleted
14388         (deleteEmptyParagraphMechanism): call the method above on _all_
14389         cursors held by the LyXText when a double space has been
14390         detected/deleted.
14391
14392 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14393
14394         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14395         pixmap.
14396         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14397
14398         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14399         background. Use greyOut() and the new show() methods to toggle between
14400         the foreground and background. Add code to remove the splash after
14401         its initial showing.
14402
14403         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14404         (create_forms): no longer call Dialogs::showSplash.
14405
14406 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * .cvsignore: add version_info.h
14409
14410 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14411
14412         * version_info.h.in: new file
14413
14414         * Makefile.am: add version_info.h.in
14415
14416         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14417         version_info.h instead of VERSION_INFO
14418
14419 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14420
14421         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14422         The ERT inset now returns string().
14423
14424 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * lyxtext.h, text.C (selectNextWord): renamed as
14427         selectNextWordToSpellcheck.
14428
14429         * text.C (selectNextWordToSpellcheck): Modified to not select
14430         words inside an ERT inset.
14431
14432 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * lyx_cb.C (MenuLayoutSave): change a bit the question
14435
14436         * sp_base.h: include <sys/types.h>
14437
14438 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14439
14440         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14441
14442 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14443
14444         * several files: fix typos in user-visible strings
14445
14446 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14447
14448         * text2.C (pasteSelection): do not set the selection, since it
14449         will be cleared later. Actually, the intent was to fix the way the
14450         selection was set, but I figured rmoving the code was just as good.
14451
14452 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14453
14454         * FontLoader.C (available): Check if font is available without
14455         loading the font.
14456
14457 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14458
14459         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14460
14461 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14462
14463         * lyxrc.[Ch]: added display_graphics variable and associated code.
14464
14465 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14466
14467         * bufferparams.C (hasClassDefaults): new method. Returns true if
14468         the buffer parameters correspond to known class defaults
14469
14470 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14471
14472         * XFormsView.C (show): set minimum size to the main window.
14473
14474 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14475
14476         * text2.C (copySelection):
14477         (cutSelection):
14478         * lyxfind.C (LyXReplace):
14479         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14480         LyXText::selectionAsString.
14481
14482         * paragraph.C (asString): add "label" argument to the second form
14483
14484         * text2.C (selectionAsString): add "label" argument and pass it to
14485         Paragraph::asString.
14486
14487 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14488
14489         * lyx_main.C (commandLineHelp): remove version information
14490
14491 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14492
14493         * lyx_main.C: add -version commandline option
14494
14495 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14496
14497         * paragraph.h: make the optional constructor arg required instead.
14498         some modifications to other files because of this.
14499
14500         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14501
14502         * lyxserver.C (C_LyXComm_callback): make it static
14503
14504         * lyx_main.C (error_handler): make it static
14505
14506         * lyx_gui.C (LyX_XErrHandler): make it static
14507
14508         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14509
14510         * WorkArea.C: make the extern "C" methods static.
14511
14512         * Makefile.am (lyx_LDADD): simplify
14513
14514 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14515
14516         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14517         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14518
14519         * LyXAction.C (init):
14520         * lyxfunc.C (dispatch): associated code removal.
14521
14522 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * lyxfont.h (isSymbolFont): shut off warning
14525
14526         * text.C (setHeightOfRow):
14527         (getVisibleRow): fix crash with empty paragraphs which have a
14528         bottom line
14529
14530 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14531
14532         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14533         code.
14534
14535 2001-09-04  José Matos  <jamatos@fep.up.pt>
14536         * buffer.C
14537         * buffer.h
14538         * tabular.C (docbook): rename docBook method to docbook.
14539
14540 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14541
14542         * Makefile.am: add dependencies to main.o.
14543
14544 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14545
14546         * FontLoader.C (available): Return false if !lyxrc.use_gui
14547
14548 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14549
14550         * FontInfo.C (query):
14551         * converter.C (view):
14552         * importer.C (Import):
14553         * exporter.C (Export): Can not -> cannot.
14554
14555 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * BufferView_pimpl.C: allow to create index inset even if
14558           string is empty
14559
14560 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14561
14562         * buffer.C (getLists): replace boost::tie code with an explicit pair
14563         as boost::tie can break some compilers.
14564
14565         * iterators.h: Added a std:: declaration to the return type of
14566         ParIterator::size.
14567
14568 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14571           case.
14572
14573 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14574
14575         * iterators.[Ch]: New files. Provide paragraph iterators.
14576
14577         * buffer.C (changeLanguage): Use paragraph iterators.
14578         (isMultiLingual): ditto
14579
14580         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14581
14582 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14583
14584         * FontLoader.C: Support for cmr font.
14585
14586 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14587
14588         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14589         (available): New method.
14590
14591         * FontInfo.C (getFontname): Use scalable fonts even when
14592         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14593         found.
14594
14595 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14596
14597         * converter.C (Formats::view): reverted! Incorrect fix.
14598
14599 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14600
14601         * converter.C (Formats::view): only output the -paper option
14602         if the dvi viewer is xdvi, thereby fixing bug #233429.
14603
14604 2001-08-23  Herbert Voss  <voss@perce>
14605
14606         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14607
14608 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14609
14610         * Spacing.h (Spacing): Set space to Default on in the default
14611         constructor.
14612
14613 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14614
14615         * vc-backend.h (RCS::versionString): add RCS to version
14616         (CVS::versionString): add CVS to version
14617
14618         * vc-backend.C (scanMaster): do not add CVS to version.
14619         (scanMaster): do not add RCS to version
14620
14621         * lyxvc.C (versionString): new method
14622
14623         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14624
14625 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14626
14627         * Spacing.C (set): initialize fval
14628
14629 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14630
14631         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14632         " or \.
14633
14634 2001-08-16  Juergen Vigna  <jug@sad.it>
14635
14636         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14637
14638 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14639
14640         * BufferView_pimpl.C:
14641         * figureForm.C:
14642         * lyxtext.h:
14643         * text2.C: setParagraph takes linespacing now
14644
14645 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * LyxAction.C: add internal LFUN_CITATION_INSERT
14648
14649         * LyXView.C: actually apply fix
14650
14651         * bufferlist.C: fix open non-existent file
14652
14653         * lyxfind.C: fix indentation
14654
14655         * lyxfunc.C: remove unneeded assert, fix typo
14656
14657 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * MenuBackend.C: use "Floatname List"
14660
14661 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14662
14663         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14664         when converting LaTeX layout to insetERT.
14665         Generate a non-collapsed float when reading old float
14666
14667 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14668
14669         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14670         ERT insets.
14671
14672 2001-08-13  Juergen Vigna  <jug@sad.it>
14673
14674         * text.C (fill): return 0 instead of 20 as this seems to be the more
14675         correct value.
14676
14677 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14678
14679         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14680         lyxrc.font_norm.
14681
14682 2001-08-13  Juergen Vigna  <jug@sad.it>
14683
14684         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14685         casesensitive off.
14686         (SearchBackward): comment out the unlocking of the inset_owner this
14687         should not be needed!
14688
14689 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14690
14691         * Many files: Remove inherit_language, and add latex_language
14692
14693         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14694         collapsible insets.
14695
14696 2001-08-10  Juergen Vigna  <jug@sad.it>
14697
14698         * text.C (prepareToPrint): fixed hfill-width in draw!
14699
14700         * BufferView2.C (selectLastWord): save the selection cursor as this
14701         now is cleared in the function LyXText::clearSelection!
14702
14703 2001-08-08  Juergen Vigna  <jug@sad.it>
14704
14705         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14706         BACKSPACE type functions.
14707
14708         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14709         is only cutted from the document but not put in the cut-buffer, where
14710         still the old stuff should be.
14711
14712         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14713
14714         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14715
14716         * tabular.C (SetWidthOfCell): fixed special case where the width
14717         was not updated!
14718         (LeftLine): handle '|' in align_special.
14719         (RightLine): ditto
14720         (LeftAlreadyDrawed): ditto
14721         (SetWidthOfCell): ditto
14722
14723 2001-08-07  Juergen Vigna  <jug@sad.it>
14724
14725         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14726
14727 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14730         * lyxlex.[hC]: ditto
14731
14732 2001-08-06  Juergen Vigna  <jug@sad.it>
14733
14734         * text.C (getVisibleRow): fix up row clearing a bit.
14735
14736 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * minibuffer.C: make sure the X server sees the changes in the input.
14739
14740 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14741
14742         * paragraph.C (getFont): split into...
14743         (getLabelFont): this
14744         (getLayoutFont): and this
14745         * paragraph_pimpl.C (realizeFont): calling this
14746
14747         * text2.C (getFont): split into...
14748         (getLayoutFont): this
14749         (getLabelFont): and this
14750         (realizeFont): all three calling this
14751
14752         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14753         files where used.
14754
14755 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14758
14759 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14760
14761         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14762         layouts from the Quote inset insertion.
14763
14764 2001-08-03  Juergen Vigna  <jug@sad.it>
14765
14766         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14767
14768         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14769         only if status not is already CHANGED_IN_DRAW (second level).
14770
14771         * text.C (draw): don't set the need_break_row when inside an
14772         InsetText LyXText.
14773
14774 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14775
14776         * buffer.C (parseSingleLyXformat2Token): handle more latex
14777         conversion cases.
14778
14779         * bufferview_funcs.[hC]: change function names to
14780         begin with small char, adjust other files.
14781
14782 2001-08-02  André Pönitz <poenitz@gmx.net>
14783
14784         * lyxfunc.C:
14785         BufferView_pimpl.C: remove broken special code for math-greek
14786
14787 2001-08-02  Juergen Vigna  <jug@sad.it>
14788
14789         * BufferView_pimpl.C (update): redone this function so that we
14790         update the text again if there was a CHANGE_IN_DRAW.
14791
14792         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14793         (drawFromTo): added a new internal bool which is used by draw() and
14794         redraw() function.
14795         (general): some cursor drawing problems fixed.
14796
14797 2001-08-01  Juergen Vigna  <jug@sad.it>
14798
14799         * lyxfind.C (LyXFind): fixed
14800         (SearchForward): ditto
14801         (SearchBackward): ditto
14802
14803         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14804         spurius drawing of the cursor in the main area.
14805
14806         * text2.C (status): small fix which could lead to a segfault!
14807         (clearSelection): remove unneeded BufferView param.
14808
14809 2001-08-01  André Pönitz <poenitz@gmx.net>
14810
14811         * lyxfunc.C: small change due to changed mathed interface
14812
14813 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14816
14817 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14818
14819         * lyxfunc.c: fail gracefully if file doesn't exist
14820
14821         * LyXSendto.C:
14822         * buffer.C:
14823         * lyxfunc.C:
14824         * BufferView_pimpl.C: IsDirWriteable() proto changed
14825
14826         * LyXView.C: fix updateWindowTitle() to store the last title
14827
14828 2001-07-31  Juergen Vigna  <jug@sad.it>
14829
14830         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14831         the font (wrong since using of Paragraph::highestFontInRange).
14832
14833         * paragraph.C (highestFontInRange): added a default_size parameter.
14834
14835         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14836         (setHeightOfRow): reformat
14837
14838 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14839
14840         * converter.[hC] + affected files: move to (inital-char)lowercase
14841         function names.
14842
14843         * ParagraphParameters.C (ParagraphParameters): remove commented code
14844
14845         * PainterBase.[Ch]: remove commented code
14846
14847         * LaTeXFeatures.h: add "bool floats" for float.sty
14848
14849         * LaTeXFeatures.C (LaTeXFeatures): init floats
14850         (require): handle float
14851         (getPackages): do it with floats
14852
14853 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14854
14855         * BufferView_pimpl.C (Dispatch): improve handling of
14856         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14857
14858         * commandtags.h: #include lyxfont.h here temporarily to avoid
14859         keybinding bug.
14860
14861         * bufferlist.h: include LString.h here.
14862
14863 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14864
14865         * text2.C (getStringToIndex): new method.
14866
14867 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14868
14869         * *: Reduced header file dependencies all over.
14870
14871 2001-07-30  Baruch Even  <baruch@lyx.org>
14872
14873         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14874
14875 2001-07-29  Baruch Even  <baruch@lyx.org>
14876
14877         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14878
14879 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14880
14881         * ParameterStruct.h (endif): add a default constructor to make
14882         sure that all variables is initialized.
14883
14884         * ParagraphParameters.C (ParagraphParameters): adjust
14885
14886 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14889         index; also, check that there is something to index, and that it
14890         does not span over several paragraphs.
14891         (doubleClick): use WHOLE_WORD_STRICT for double click.
14892
14893         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14894
14895         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14896         scheme.
14897
14898 2001-07-26  Baruch Even  <baruch@lyx.org>
14899
14900         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14901         an InsetFig figure, backwards compatible reading of old figure code.
14902
14903 2001-07-27  Juergen Vigna  <jug@sad.it>
14904
14905         * text2.C: font.realize function adaption.
14906
14907         * text.C (draw): add a warnings lyxerr text if needed.
14908
14909         * layout.C: font.realize function adaption.
14910
14911         * language.C: add inherit_language and implement it's handlings
14912
14913         * bufferview_funcs.C (StyleReset): remove language parameter from
14914         font creation (should be language_inherit now).
14915
14916         * bufferparams.C (writeFile): handle ignore_language.
14917
14918         * paragraph.C (getFontSettings): the language has to be resolved
14919         otherwise we have problems in LyXFont!
14920
14921         * lyxfont.C (lyxWriteChanges): added document_language parameter
14922         (update): removed unneeded language parameter
14923
14924         * paragraph.C (validate): fixed wrong output of color-package when
14925         using interface colors for certain fonts in certain environments,
14926         which should not seen as that on the final output.
14927
14928 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * BufferView_pimpl.C:
14931         * Thesaurus.h:
14932         * Thesaurus.C:
14933         * Makefile.am:
14934         * commandtags.h:
14935         * LyXAction.C: add thesaurus support
14936
14937         * lyxfind.h:
14938         * lyxfind.C: add "once" parameter, for thesaurus, to not
14939           move to the next match
14940
14941 2001-07-26  Juergen Vigna  <jug@sad.it>
14942
14943         * lyxfont.C (realize): honor ignore_language too!
14944         (resolved): ditto.
14945
14946         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14947
14948         * text.C (draw): one place more for ignore_language to not draw
14949         itself!
14950
14951 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14952
14953         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14954
14955 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14956
14957         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14958         the minipage conversion problem.
14959
14960 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14963         insert an inset.
14964
14965 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * BufferView.h: don't forward declare WorkArea
14968
14969         * BufferView.C: don't include WorkArea.h
14970
14971 2001-07-25  André Pönitz <poenitz@gmx.net>
14972
14973         * commandtags.h:
14974         * LyXAction.C:
14975         * lyxfunc.C:  new LFUN 'math-space'
14976
14977         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14978
14979 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14980
14981         * text2.C (toggleInset): call open/close
14982
14983 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14984
14985         * lyxfunc.C (dispatch): add debug for the disabled case
14986
14987         * font.C (buttonText): make similar to rectText
14988
14989         * buffer.C (readInset): comment out parsing of insetlist and
14990         insttheorem
14991
14992         * PainterBase.C (rectText): small correction
14993
14994         * BufferView_pimpl.C: comment out insettheorem and insetlist
14995         * LyXAction.C: ditto
14996         * commandtags.h: ditto
14997
14998 2001-07-24  Juergen Vigna  <jug@sad.it>
14999
15000         * text.C (draw): honor the ignore_language.
15001
15002         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15003
15004 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15007         char inset.
15008
15009 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15010
15011         * lyxtext.h: remove unused (and unimplemented) methods
15012
15013 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15014
15015         * text.C (getVisibleRow): honor background color
15016
15017         * PainterBase.h:
15018         * Painter.h: remove default color argument for fillRectangle
15019
15020         * text.C (backgroundColor): new method
15021
15022 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * text.C (getVisibleRow): adjust
15025
15026         * font.[Ch] (rectText): new method, metrics
15027         (buttonText): new method, metrics
15028
15029         * PainterBase.[hC]: make rectText and buttonText always draw and take
15030         fewer paramteres.
15031
15032 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15033
15034         * ToolbarDefaults.C (read):
15035         * MenuBackend.C (read): allow escaping in all strings
15036
15037         * BufferView_pimpl.C (insertAndEditInset): new method.
15038         (Dispatch): use insertAndEditInset whenever appropriate.
15039
15040         * BufferView_pimpl.C (insertNote): removed
15041
15042         * BufferView_pimpl.C (smartQuote): new method, moved from
15043         BufferView; if an insetquote cannot be inserted, insert a '"'
15044         character instead.
15045
15046         * BufferView2.C: remove insertCorrectQuote();
15047
15048         * lyxfunc.C (getStatus): Add support for all remaingin
15049         inset-insert lfuns.
15050
15051         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15052
15053         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15054         command (necessary to pass " as parameter of self-insert.
15055
15056         * text.C (selectWordWhenUnderCursor):
15057         (selectWord): add word_location parameter
15058         (selectWordWhenUnderCursor): same + remove special code for word
15059         boundary.
15060         (selectNextWord): use kind() to guess type of insetspecialchar,
15061         not latex().
15062
15063         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15064         (insertErtContents): create ert insets as collapsed.
15065         (readInset): better compatibility code for Info inset.
15066
15067 2001-07-20  Juergen Vigna  <jug@sad.it>
15068
15069         * lyxfunc.C (dispatch): use always LyXFind now!
15070
15071         * text2.C (init): add a reinit flag so that the LyXText can be
15072         reinited instead of deleted and reallocated (used in InsetText).
15073
15074         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15075
15076         * text.C: ditto
15077
15078         * text2.C: ditto
15079
15080 2001-07-18  Juergen Vigna  <jug@sad.it>
15081
15082         * text.C (selectNextWord): handle insets inside inset by calling
15083         always the bv->text functions so that we can go up the_locking_inset!
15084
15085         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15086         in strange locations when inside an inset!
15087
15088         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15089         handling to include insets.
15090
15091         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15092
15093 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * LyXAction.C (init):
15096         * commandtags.h:
15097         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15098         LIGATURE_BREAK, since the name is so stupid.
15099
15100 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15101
15102         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15103         InsetInfos.
15104
15105         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15106
15107         * sp_form.[Ch]: remove.
15108
15109         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15110
15111         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15112         InsetInfo.
15113
15114         * src/buffer.C (readInset): ditto.
15115
15116 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15117
15118         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15119         menuSeparator(), endOfSentenceDot(), ldots() and
15120         hyphenationPoint(), which are therefore removed.
15121         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15122
15123         * LyXAction.C (init):
15124         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15125
15126         * paragraph.C (getWord): removed.
15127
15128         * BufferView_pimpl.C (Dispatch): use last word or selection for
15129         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15130
15131         * lyx_main.C (queryUserLyXDir): do not ask before creating
15132         user_dir, except if it has been named explicitely.
15133
15134 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15135
15136         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15137         a document of zero size.
15138
15139 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15140
15141         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15142         approriately in the c-tor and in require().
15143         (getPackages): output the appropriate LaTeX for natbib support.
15144
15145         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15146         variables "use_natbib" and "use_numerical_citations" when reading the
15147         LyX file.
15148         (readInset): read the various natbib cite commands.
15149         (validate): white-space change.
15150
15151         * bufferparams.[Ch]: new variables "bool use_natbib" and
15152         "bool use_numerical_citations".
15153         (writeFile): output them in the LyX file.
15154
15155 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15156
15157         * lyxfunc.C (getStatus): add support for all the inset insertion
15158         commands.
15159
15160         * text2.C (insertInset):
15161         * paragraph.C (insetAllowed):
15162         * BufferView_pimpl.C (insertInset): update to take in account the
15163         renaming of insertInsetAllowed
15164
15165         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15166
15167         * text2.C (getInset): new method. returns inset at cursor position.
15168
15169         * BufferView_pimpl.C (Dispatch): changes because of this.
15170
15171         * LyXAction.C (init): rename open-stuff to inset-toggle.
15172
15173         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15174
15175         * text2.C (toggleInset): renamed from openStuff; use
15176         Inset::open().
15177
15178 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15179
15180         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15181
15182         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15183
15184 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15185
15186         * buffer.C (readLyXformat2): Add filename to the error dialog
15187
15188 2001-07-18  Juergen Vigna  <jug@sad.it>
15189
15190         * tabular.C (GetCellNumber): put an assert here instead of the check!
15191
15192 2001-07-17  Juergen Vigna  <jug@sad.it>
15193
15194         * BufferView_pimpl.C (toggleSelection): adapted too.
15195
15196         * text.C (selectNextWord): adapted for use with insets.
15197         (selectSelectedWord): ditto
15198
15199 2001-07-17  Juergen Vigna  <jug@sad.it>
15200
15201         * sp_spell.C (PSpell): fix initialitation order.
15202
15203 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15204
15205         * paragraph.C: spacing
15206
15207 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15208
15209         * sp_spell.C: repair language selection for pspell
15210
15211 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * lyxfunc.h: change more methods to begin with lower char.
15214
15215 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15216
15217         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15218         for unknown layouts.
15219
15220 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15221
15222         * buffer.C (readLyXformat2): Generate an error dialog if there are
15223         unknown layouts.
15224
15225 2001-07-16  Juergen Vigna  <jug@sad.it>
15226
15227         * sp_spell.C: always compile ISpell part.
15228
15229         * lyxrc.C: added use_pspell entry and it's handling.
15230
15231 2001-07-13  Juergen Vigna  <jug@sad.it>
15232
15233         * sp_spell.C: removed double includes.
15234
15235 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15236
15237         Consistent use of Lsstream.h:
15238         * Lsstream.h: added using std::stringstream for consistencies sake.
15239
15240         * buffer.C: removed using std::stringstream
15241
15242         * lyxfont.C (stateText):
15243         * paragraph.C (asString):
15244         * text.C (selectNextWord, selectSelectedWord):
15245         * text2.C (setCounter):
15246         * vspace.C (asString, asLatexString):
15247         std::ostringstream -> ostringstream.
15248
15249 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15250
15251         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15252         * commandtags.h: add LFUN_HELP_ABOUTLYX
15253         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15254
15255 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15256
15257         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15258         cursorToggle()
15259         * lyx_gui_misc.C: remove spellchecker
15260         * lyxfunc.C: showSpellchecker
15261         * sp_base.h: added
15262         * sp_ispell.h: added
15263         * sp_pspell.h: added
15264         * sp_spell.C: added
15265         * sp_form.[Ch]: removed
15266         * spellchecker.[Ch]: removed
15267
15268 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15269
15270         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15271         is set.
15272         (simpleTeXSpecialChars): Simply print the input character without
15273         any special translation if pass_thru is set.
15274
15275         * layout.h: Added bool pass_thru to layout class for being able to
15276         implement pass through of a paragraph for Literate Programming.
15277
15278         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15279         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15280         * layout.C (Read): add "passthru" to list of layout tags and add
15281         code to set the pass_thru boolean when it is read.
15282
15283 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15284
15285         * trans_decl.h: remove allowed from KmodInfo
15286
15287         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15288         remove allowed code
15289         (Load): adjust
15290
15291         * paragraph_pimpl.C (erase): use boost::prior
15292
15293         * Painter.C (text): use data() instead of c_str() when length is
15294         also provided.
15295         * WorkArea.C (putClipboard): ditto
15296         * font.h (width): ditto
15297
15298         * BufferView2.C: use it-> instead of (*it). for iterators
15299         * texrow.C: ditto
15300         * paragraph_pimpl.C: ditto
15301         * paragraph.C: ditto
15302         * minibuffer.C: ditto
15303         * language.C: ditto
15304         * kbmap.C: ditto
15305         * encoding.C: ditto
15306         * counters.C: ditto
15307         * converter.C: ditto
15308         * chset.C: ditto
15309         * Variables.C: ditto
15310         * TextCache.C: ditto
15311         * MenuBackend.C: ditto
15312         * LyXAction.C: ditto
15313         * LColor.C: ditto
15314         * FloatList.C: ditto
15315         * DepTable.C: ditto
15316         * ColorHandler.C (LyXColorHandler): ditto
15317
15318 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15319
15320         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15321
15322         * text2.C (openStuff): reintroduce this method (which had been
15323         nuked in NEW_INSETS frenzy).
15324
15325         * lyxfunc.C (Dispatch): when an action has not been handled, use
15326         its name in the error message, not its number.
15327
15328         * paragraph.C (inInset): change method name to begin with lowercase.
15329
15330         * undo_funcs.C:
15331         * text2.C: updates because of this.
15332
15333 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * ToolbarDefaults.C (add): add spaces in error message
15336
15337 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15338
15339         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15340         (readLyXformat2): rename return_par to first_par, use lyxlex's
15341         pushToken and remove the manual push handling.
15342         (parseSingleLyXformat2Token): add another ert comp. variable:
15343         in_tabular, rename return_par to first_par. handle newlines better
15344
15345 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15348
15349 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15350
15351         * text2.C (getParFromID): removed
15352
15353         * buffer.C (getParFromID): new method moved form lyxtext.
15354         * BufferView2.C (insertErrors): adjust
15355         (setCursorFromRow): adjust
15356         * BufferView_pimpl.C (restorePosition): adjust
15357         * lyxfunc.C (Dispatch): adjust
15358         * undo_funcs.C (textUndo): adjust
15359         (textRedo): adjust
15360         (textHandleUndo): adjust
15361         (textHandleUndo): adjust
15362
15363 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15364
15365         * buffer.C: up' the LYX_FORMAT
15366
15367         * lyxfont.h: turn NO_LATEX on as default
15368
15369         * buffer.C (insertErtContents): new methods of tex style compability.
15370         (parseSingleLyXformat2Token): use it several places.
15371         * tabular.C (OldFormatRead): and here
15372
15373 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15374
15375         * text2.C: remove some commented code.
15376         reindent file.
15377
15378         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15379         * trans.C: changes because of the above.
15380
15381 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15382
15383         * text2.C (setCounter): Fix counters bug with bibliography layout.
15384
15385 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15386
15387         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15388         own member functions
15389         (simpleTeXSpecialChars): ditto
15390
15391 2001-07-06  Juergen Vigna  <jug@sad.it>
15392
15393         * a lot of files: changed the access to LyXText::status and the
15394         call of undo-functions.
15395
15396         * undo.[Ch]: added a inset_id to the undo informations.
15397
15398         * undo_funcs.[Ch]: added and moved here all undo functions.
15399
15400         * lyxtext.h: give the status enum a weight, made status_ a private
15401         variable and made accessor functions for it, removed the whole bunch
15402         of undo-functions as they are now in their own file, make some
15403         functions publically available. Added function ownerParagraph with
15404         int parameter.
15405
15406         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15407         made InInset() a const function, added getParFromID() function.
15408
15409         * buffer.[Ch]: added const version for inset_iterator functions,
15410         added getInsetFromID() function.
15411
15412         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15413         changed undo functions for new version.
15414
15415 2001-07-05  Juergen Vigna  <jug@sad.it>
15416
15417         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15418         unknow mechanism does not call the proper constructor but only this
15419         one also if I request the other!?
15420
15421 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15424
15425         * text2.C (LyXText): use initialization lists.
15426
15427         * lyxtext.h (Selection): initialize set_ and mark_
15428         (init): remove method
15429
15430 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15431
15432         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15433
15434 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * screen.[Ch]: change method names to begin with lowercase
15437
15438         * BufferView_pimpl.C (updateScrollbar): simplify further and
15439         hopefully make it a bit faster.
15440
15441 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15442
15443         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15444         calling directly xforms functions.
15445
15446         * Painter.C (Painter):
15447         * lyx_cb.C (MenuWrite):
15448         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15449         fl_display.
15450
15451         * lyx_gui.C: remove bogus guiruntime extern declaration.
15452
15453 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15456         in NEW_INSETS
15457         (redoDrawingOfParagraph): ditto
15458         (redoParagraphs): ditto
15459         (cutSelection): don't create a object for CutAndPaste use the
15460         static method directly
15461         (pasteSelection): ditto
15462
15463         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15464         LyXview (+ rename)
15465
15466 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15467
15468         * modifications to some other files because of this.
15469
15470         * Makefile.am (lyx_SOURCES): add XFormsView
15471
15472         * XFormsView.[Ch]: new files
15473
15474         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15475         the main window. Move the gui dependent stuff to XFormsView
15476
15477 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * tabular.C (GetCellInset): update cur_cell also in the row/col
15480         version of this function.
15481
15482         * lyxfunc.C: no need to include figure_form.h here.
15483
15484         * FontLoader.h:
15485         * lyxfunc.h:
15486         * lyxscreen.h:
15487         * text2.C:
15488         * lyxvc.C: no need to include forms.h here.
15489
15490 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15491
15492         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15493
15494         * lyxfunc.C (Dispatch):
15495         * Spacing.C (set):
15496         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15497         constructor argument.
15498
15499 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15500
15501         * paragraph.C (Paragraph): dont't clear, and just set layout.
15502         (makeSameLayout): use params's copy contructor.
15503
15504         * ParagraphParameters.[Ch] (makeSame): delete method
15505
15506 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15507
15508         * Variables.[Ch]: fix indentation, rename set to isSet
15509
15510 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * lyxfunc.C (Dispatch): fix typo
15513
15514 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15517         upper_bound.
15518
15519         * bufferlist.C: include assert.h for emergencyWrite().
15520
15521 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15524           give up at last (bug #425202) !
15525
15526 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15527
15528         * lyx_gui_misc.C:
15529         * sp_form.h:
15530         * sp_form.C:
15531         * spellchecker.h:
15532         * spellchecker.C: strip spellchecker options and bring up
15533           preferences tab instead
15534
15535 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15536
15537         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15538         the istringstream constructor
15539
15540 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * paragraph.C (getLayout): fix return value
15543
15544         * paragraph.h: do not declare getLayout as inline.
15545
15546         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15547
15548 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15549
15550         * lyxcursor.h (operator<): new func
15551         (operator>): new func
15552         (operator>=): new func
15553         (operator<=): new func
15554
15555         * text.C (changeCase): use selection.start and selection.end
15556         (changeRegionCase): require from to be <= to. Require par to be a
15557         valid paragraph.
15558
15559         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15560
15561 2001-06-27  Juergen Vigna  <jug@sad.it>
15562
15563         * text.C (cursorLeftOneWord): changed to return the cursor and added
15564         overlay with BufferView * parameter which calls this one.
15565         (getWord): added
15566         (selectWord): use new getWord function.
15567         (changeCase): renamed from changeWordCase as and extended to work
15568         also on selections.
15569
15570         * lyxtext.h: added enum word_location
15571
15572         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15573         changeCase as this operates now also on selections.
15574
15575 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15576
15577         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15578
15579         * many files: send debug output to Debug::INFO instead of
15580         Debug::ANY.
15581
15582         * converter.C (View):
15583         (Convert):
15584         (Move): send debug output to Debug::FILES instead of console.
15585
15586 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15587
15588         * lyxfunc.C (getStatus): use func_status
15589
15590         * func_status.h: new header, describing the results of
15591         LyXFunc::getStatus;
15592
15593         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15594         LFUN_MATH_HALIGN.
15595
15596 2001-06-25  The LyX Project  <jug@sad.it>
15597
15598         * buffer.C (sgmlOpenTag):
15599         (sgmlCloseTag):
15600         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15601
15602 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15603
15604         * text2.C: remove some dead code
15605
15606         * tabular.C (GetCellInset): store the last cell checked (gotten)
15607
15608         * tabular.h: add the helper for the speedup
15609
15610         * lyxtext.h: remove some dead code
15611
15612 2001-06-26  The LyX Project  <Asger>
15613
15614         * paragraph.C: Change export to LaTeX of alignment to
15615         \begin{center} and family for better roundtrip work with reLyX.
15616
15617         * Tune the math drawing a bit.
15618
15619 2001-06-25  The LyX Project  <Asger>
15620
15621         * LColor.C (LColor): New color for math background. New color
15622         for buttons.
15623
15624 2001-06-25  The LyX Project  <jug@sad.it>
15625
15626         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15627
15628         * lyxfunc.C (Open):
15629         * bufferlist.C (newFile): do not restrict to files ending with
15630         .lyx
15631
15632         * BufferView_pimpl.C (MenuInsertLyXFile):
15633
15634 2001-06-24  The LyX Project  <jug@sad.it>
15635
15636         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15637         of compare_no_case
15638
15639 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * lyxtext.h: rename most methods to begin with a small char.
15642         Lots of changes because of this.
15643
15644         * paragraph.C (Paragraph): do not call fitToSize
15645         (erase): call Pimpl::erase
15646         (insertChar): call Pimpl::insertChar
15647         (insertInset): call Pipl::insertInset
15648         (breakParagraph): do not call fitToSize
15649         (breakParagraphConservative): do not call fitToSize
15650         (fitToSize): remove method
15651
15652         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15653
15654 2001-06-24  The LyX Project  <Asger>
15655
15656         * Fix Qt compilation^2
15657
15658 2001-06-24  The LyX Project  <jug@sad.it>
15659
15660         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15661         depthHook(getDepth()-1).
15662
15663         * paragraph.h:
15664         * ParagraphParameters.h:
15665         * ParameterStruct.h: change type of depth to unsigned int ==
15666         depth_type. Many adaptations to other files before of that.
15667
15668 2001-06-24  The LyX Project  <Asger>
15669
15670         * Fix Qt compilation.
15671
15672 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15673
15674         * paragraph.h: renamed several methods to begin with small letter.
15675         several changes to many parts of the code because of this.
15676
15677 2001-06-23  The LyX Project  <jug@sad.it>
15678
15679         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15680         rewritten to discard all double spaces when KeepEmpty is off
15681         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15682         to only handle newlines but not fiddle with spaces and friends.
15683
15684         * lyxfunc.C (MenuNew): when doing 'new from template', use
15685         template_path as default directory
15686
15687 2001-06-23  The LyX Project  <Asger>
15688
15689         * Clean-up of header file includes all over
15690         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15691
15692 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15693
15694         * paragraph.h: renamed from lyxparagraph.h
15695
15696 2001-06-23  Asger  <lyx@violet.home.sad.it>
15697
15698         * Buffer.h: Removed Buffer::resize
15699         * BufferList.h: Removed BufferList::resize
15700         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15701         the document lazily when we change the width, or the font settings.
15702
15703 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15704
15705         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15706
15707 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15708
15709         * buffer.h: remove out of date comment
15710
15711 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15712
15713         * lyxscreen.h:
15714         * screen.C: fix "theoretical" GC leak
15715
15716 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15717
15718         * LaTeX.C (scanAuxFile):
15719         (deplog): remove trailing \r when reading stream (useful under
15720         win32)
15721
15722 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15723
15724         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15725         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15726         and BufferView::theLockingInset(Inset*), so should use them and not
15727         access bv_->text->the_locking_inset directly.
15728
15729         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15730
15731 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15732
15733         * Makefile.am:
15734         * tex-defs.h: remove old unused file
15735
15736 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15737
15738         * BufferView_pimpl.C: fix typo, remove minibuffer message
15739           when buffer has loaded
15740
15741 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15742
15743         * lyxfunc.C (Dispatch): use stringstream
15744         (MenuNew): use stringstream
15745         (Open): use stringstream
15746
15747         * importer.C (Import): use stringstream
15748
15749         * bufferview_funcs.C (CurrentState): use stringstream
15750
15751         * LaTeX.C (run): use stringstream
15752
15753         * BufferView_pimpl.C (savePosition): use stringstream
15754         (restorePosition): use stringstream
15755         (MenuInsertLyXFile): use stringstream
15756
15757 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15758
15759         * BufferView.C:
15760         * Bullet.C:
15761         * ColorHandler.C:
15762         * FontInfo.C:
15763         * FontLoader.C:
15764         * LColor.C:
15765         * LaTeXFeatures.C:
15766         * Painter.C:
15767         * gettext.C:
15768         * lyx_gui_misc.C:
15769         * lyxserver.C:
15770         * vspace.C: removed // -*- C++ -*- as first line.
15771
15772         * lyxfind.h:
15773         * version.h: added // -*- C++ -*- as first line.
15774
15775 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15776
15777         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15778
15779         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15780         of string
15781
15782 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15783
15784         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15785         of floats.
15786
15787 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15788
15789         * gettext.C: include LString.h even when --disable-nls is on.
15790
15791 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15792
15793         * converter.h (Get): changed argument type from int to
15794         FormatList::size_type to avoid unnecessary conversion.
15795
15796         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15797         before using it.
15798
15799 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15800
15801         * gettext.h: include LString.h even when --disable-nls is on.
15802
15803 2001-06-07  Juergen Vigna  <jug@sad.it>
15804
15805         * text.C (BreakAgain): subst spaces with tabs.
15806
15807         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15808         (resizeInsetsLyXText): set force on resizeLyXText.
15809
15810 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * gettext.h (gettext_init):
15813         (locale_init): use a real definition instead of a macro
15814
15815 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15816
15817         * Bufferview_pimpl.C:
15818         * LColor.h:
15819         * LColor.C: further lcolor tidies
15820
15821 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15822
15823         * BufferView_pimpl.C (updateScrollbar): simplify.
15824
15825         * BufferView2.C: don't include insets/insetinfo.h, change
15826         prototype for insertInset and call the Pimpl version. let
15827         updateInset call Pimpl version.
15828
15829         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15830         gotoInset to BufferView::Pimpl
15831
15832 2001-06-01  Juergen Vigna  <jug@sad.it>
15833
15834         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15835         inside a LockingInset (is the update needed at all?).
15836
15837 2001-05-31  Juergen Vigna  <jug@sad.it>
15838
15839         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15840         here not the old one otherwise how should we compare it afterwards
15841         if it's the same!
15842
15843 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15844
15845         * lyxfont.C:
15846         * tabular.C:
15847         * tabular-old.C:
15848         * FontInfo.C: bring C functions into global namespace when
15849         necessary
15850
15851 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15852
15853         * LString.h: make sure config.h has been loaded before LString.h.
15854
15855         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15856         (one for each char read by EatLine!).
15857
15858         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15859         variables.
15860
15861 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15862
15863         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15864         to the same as the par we break from
15865
15866 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15867
15868         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15869
15870         * MenuBackend.C (expand): also create menu entries for wide
15871         versions of the floats.
15872
15873         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15874
15875         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15876
15877         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15878         frontends/Makefile.am
15879
15880         * text2.C: adjust
15881         * text.C: adjust
15882
15883
15884         * tabular.C (getTokenValue): add std::
15885
15886         * tabular-old.C (getTokenValue): add std::
15887         (getTokenValue): ditto
15888         (getTokenValue): ditto
15889
15890         * screen.C (ToggleSelection): adjust
15891
15892         * lyxtext.h: put selection cursors inside a Selection struct.
15893
15894         * lyxfunc.C (moveCursorUpdate): adjust
15895
15896         * lyxfont.C (latexWriteStartChanges): add std::
15897
15898         * lyxfind.C: adjust
15899
15900         * font.h: delete with(char const *, LyXFont const &)
15901
15902         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15903
15904         * FontInfo.C (getFontname): add std::
15905
15906         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15907         (workAreaButtonPress): adjust
15908         (tripleClick): adjust
15909         (update): adjust
15910         (moveCursorUpdate): adjust
15911         (Dispatch): adjust
15912
15913         * BufferView2.C (gotoInset): adjust
15914
15915 2001-05-30  Juergen Vigna  <jug@sad.it>
15916
15917         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15918         to check pspell I add this as default as I now have new pspell
15919         libraries and they seem to use this.
15920
15921 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * text2.C (CutSelection): make the cursor valid before the call to
15924         ClearSelection.
15925
15926 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15929         relied on 0 terminated strings and other horrors. Bug found due to
15930         the new assert in lyxstring!
15931
15932         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15933         KP_ keys.
15934
15935 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15936
15937         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15938         to latinkeys.bind.
15939
15940         * lyxfunc.C (processKeySym): change method of getting to the
15941         self-insert char.
15942
15943         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15944         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15945         * BufferView_pimpl.[Ch]: here as private methods.
15946
15947 2001-05-28  Juergen Vigna  <jug@sad.it>
15948
15949         * text.C (SetHeightOfRow): added the update() call again as it is
15950         needed to initialize inset dimensions!
15951
15952 2001-05-16  Juergen Vigna  <jug@sad.it>
15953
15954         * text2.C (SetCharFont): Add new function with BufferView * and
15955         bool toggleall parameters for setting insets internal fonts.
15956         (SetFont): Freeze the undo as we may change fonts in Insets and
15957         all this change should be inside only one Undo!
15958
15959         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15960         setting font's in insets as for them we have the SetFont function!
15961
15962 2001-05-15  Juergen Vigna  <jug@sad.it>
15963
15964         * text2.C (ClearSelection): to be sure we REALLY don't have any
15965         selection anymore!
15966
15967         * tabular.C (TeXCellPreamble): fixed the left border problem for
15968         multicolumn cells.
15969
15970 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15973         dependancy file
15974
15975 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15978         LFUN_BREAKPARAGRAPH.
15979
15980         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15981         help test to "internal only", similar for LFUN_INSERT_URL
15982
15983         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15984         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15985         auto_region_delete and deadkeys.
15986
15987 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15988
15989         * LColor.h:
15990         * LColor.C: remove some dead entries, tidy a little
15991
15992 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15993
15994         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15995         commented code.
15996         (Dispatch): implement LFUN_ESCAPE
15997
15998         * commandtags.h: add LFUN_ESCAPE
15999
16000         * LyXAction.C (init): add entry for LFUN_ESCAPE
16001
16002         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16003         Remove commented code.
16004         (insertNote): moved here
16005         (open_new_inset): moved here
16006
16007         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16008         BufferView_pimpl
16009
16010 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16011
16012         * kbmap.C (findbinding): clean it up and make it work correctly.
16013
16014         * lyx_main.C (init): do not pass argc and argv as parameters
16015
16016 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16017
16018         * buffer.C: fix path for OS/2 & Win32
16019
16020         * lyx_gui.C:
16021         * lyx_main:
16022         * lyx_main.C: Added os:: class.
16023
16024         * os2_defines.h: update
16025
16026 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16027
16028         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16029         better by trying again with reduced state.
16030
16031 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16032
16033         * lyxrc.C (read): print error about invalid key sequence only when
16034         debugging (because not all latinX keysyms are known to some X
16035         servers)
16036
16037         * kbsequence.C (getiso): add a few std:: qualifiers
16038         (getiso): comment out extra return statement.
16039
16040 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16043         handling.
16044         (Dispatch): enhance the accent inset a bit. (not perfect)
16045
16046 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16047
16048         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16049
16050 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16051
16052         * bufferlist.C (emergencyWrite): fix assert() call
16053
16054 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16055
16056         * text.C (InsertChar): Added trivial patch to only send the "you
16057         can not do multiple spaces this way" message once during a
16058         session.
16059
16060 2001-05-08  Baruch Even  <baruch@lyx.org>
16061
16062         * Makefile.am: Changed order of libraries to get LyX to link properly
16063         with the gnome frontend.
16064
16065 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16066
16067         * LaTeXFeatures.h: add a std:: qualifier
16068
16069 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16070
16071         * paragraph.C (String): use stringstream
16072
16073 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16074
16075         * paragraph.C (writeFile): remove footflag arg
16076
16077         * buffer.C (makeLaTeXFile): use stringstream
16078         (latexParagraphs): remove footnot gurba
16079
16080         * LaTeXFeatures.C (getPackages): use stringstream
16081         (getMacros): likewise
16082         (getTClassPreamble): likewise
16083         (getFloatDefinitions): new method
16084
16085         * paragraph.C (writeFile): reindent
16086         (Erase): reindent
16087
16088         * WorkArea.h: revert the xpos + etc changes.
16089
16090         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16091
16092         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16093
16094         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16095         (pasteSelection): likewise
16096         * text2.C (CreateUndo): likewise
16097
16098 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * minibuffer.C (peek_event): temporarily reduce the functionality
16101         of the minibuffer (to allow args on lfuns)
16102
16103         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16104         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16105
16106         * buffer.C (readInset): add compability reading of old float
16107         lists, add reading of new style float list.
16108         (readInset): avoid reevaluation of inscmd.getCmdName()
16109         (getLists): reindent
16110
16111         * MenuBackend.C (MenuItem): implement parsing of
16112         md_floatlistinsert and md_floatinsert.
16113         (expand::LastFiles): move initalizaton of iterators out of loop,
16114         avoid reevaluation.
16115         (expand::Documents): introduce typdedef vector<string> Strings,
16116         and use it.
16117         (expand::ExportFormats): introduce typedef vector<Format const *>
16118         Formats, and use it.
16119         (expand): implement FloatListInsert and FloatInsert.
16120
16121         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16122         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16123         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16124
16125         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16126         handling.
16127         (Dispatch::LFUN_FLOAT_LIST): implement
16128
16129 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16130
16131         * LaTeX.C (run): Fix problem with --export code.
16132
16133 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16134
16135         * BufferView.[Ch] (workarea): removed.
16136         (getClipboard) new method; wrapper for workarea()->getClipboard()
16137
16138         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16139         bug.
16140
16141         * WorkArea.h (width, height, xpos, ypos): These methods all
16142         returned the dimensions of the work_area sub-area of WorkArea,
16143         resulting in a position error if the WorkArea were resized. Now
16144         return the dimensions of the entire WorkArea.
16145
16146         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16147
16148 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * LaTeX.C (deplog): correct the syntax of regex reg1
16151
16152 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * undo.C: remove !NEW_INSETS cruft
16155
16156 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16157
16158         * text2.C: remove !NEW_INSETS cruft
16159
16160         * text.C: remove !NEW_INSETS cruft
16161
16162         * tabular.C: remove !NEW_INSETS cruft
16163
16164         * spellchecker.C: remove !NEW_INSETS cruft
16165
16166         * lyxtext.h: remove !NEW_INSETS cruft
16167
16168         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16169
16170         * lyxfunc.C: remove !NEW_INSETS cruft
16171
16172         * lyxfind.C: remove !NEW_INSETS cruft
16173
16174         * lyx_cb.C: remove !NEW_INSETS cruft
16175
16176         * figureForm.C: remove  !NEW_INSETS cruft
16177
16178         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16179
16180         * buffer.[Ch]: remove !NEW_INSETS cruft
16181
16182         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16183
16184         * CutAndPaste.C: remove !NEW_INSETS cruft
16185
16186         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16187
16188         * BufferView2.C: remove !NEW_INSETS cruft
16189
16190         * BufferView.h: remove !NEW_INSETS cruft
16191
16192 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16193
16194         * Lsstream.h: include LString.h before the sstream headers to
16195         fix problem with gcc 2.95.3 and lyxstring
16196
16197 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16198
16199         * lyx_main.C: add using directives when needed for C functions
16200         declared in std:: namespace.
16201
16202 2001-04-27  Juergen Vigna  <jug@sad.it>
16203
16204         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16205         (SetHeightOfRow): comment out the update call should not be needed!
16206
16207 2001-04-13  Juergen Vigna  <jug@sad.it>
16208
16209         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16210         (LyXTabular): tried to minimize operator= operations (and realized
16211         hopfully Lars wish).
16212
16213 2001-04-27  Juergen Vigna  <jug@sad.it>
16214
16215         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16216
16217 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16218
16219         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16220
16221         * buffer.C (readInset): hack to make listof algorithm work
16222
16223         * BufferView_pimpl.C: hack to make listof algorithm work
16224
16225 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16226
16227         * LyXAction.C: removed all !NEW_INSETS cruft
16228         (init): moved lfun_item in method
16229
16230         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16231
16232 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16233
16234         * BufferView2.C (theLockingInset): white space.
16235
16236 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * minibuffer.C: include <iostream>
16239
16240         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16241
16242         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16243
16244         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16245
16246         * text.[Ch] (TransposeChars): new method
16247
16248 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16249
16250         * call message directly through LyXView instead of through LyXFunc
16251         * BufferView2.C: adjust
16252         * BufferView_pimpl.C: adjust
16253         * FontLoader.C: adjust
16254         * buffer.C: adjust
16255         * bufferview_funcs.C: adjust
16256         * converter.C: adjust
16257         * figureForm.C: adjust
16258         * importer.C: adjust
16259         * lyx_cb.C: adjust
16260         * lyx_gui_misc.C: adjust
16261         * lyxfunc.C: adjust
16262         * lyxvc.C: adjust
16263         * text2.C: adjust
16264         + more files in subdirs
16265
16266         * lyxparagraph.h (size): move up int file
16267         (GetLayout): ditto
16268
16269         * adjust all uses of Assert to lyx::Assert.
16270
16271         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16272         lyxfunctional in namespace lyx
16273         * layout.C (hasLayout): ditto
16274         (GetLayout): ditto
16275         (GetLayout): ditto
16276         (delete_layout): ditto
16277         (NumberOfClass): ditto
16278         * converter.C (GetFormat): ditto
16279         (GetNumber): ditto
16280         (Add): ditto
16281         (Delete): ditto
16282         (SetViewer): ditto
16283         * bufferlist.C (getFileNames): ditto
16284         (emergencyWriteAll): ditto
16285         (exists): ditto
16286         (getBuffer): ditto
16287         * MenuBackend.C (hasSubmenu): ditto
16288         (hasMenu): ditto
16289         (getMenu): ditto
16290         * BufferView_pimpl.C (getInsetByCode): ditto
16291
16292 2001-04-18  Juergen Vigna  <jug@sad.it>
16293
16294         * vspace.C (asLatexString): fixed the 100% problem.
16295
16296 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16297
16298         * lyxfunc.C (Dispatch):
16299         * minibuffer.C:
16300         * minibuffer.h: add a few std:: qualifiers
16301
16302 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16303
16304         * minibuffer.[Ch]: reimplement so that commands is initiated and
16305         run from lyxfunc, simplified som handling, and made the completion
16306         and history code for complete. wip.
16307
16308         * lyxfunc.C (processKeySym): call message
16309         (miniDispatch): new temporary method
16310         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16311         (LFUN_MESSAGE): implement
16312         (LFUN_MESSAGE_PUSH): implement
16313         (LFUN_MESSAGE_POP): implement
16314         (initMiniBuffer): the initial/defualt minibuffer message.
16315
16316         * lyxfont.[Ch]: inline some more getters
16317
16318         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16319
16320         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16321
16322         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16323         (AutoSave): use LFUN_MESSAGE
16324         (Reconfigure): ditto
16325
16326         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16327
16328         * figureForm.C: use LFUN_MESSAGE
16329
16330         * converter.C (runLaTeX): use LFUN_MESSAGE
16331
16332         * bufferview_funcs.C: use LFUN_MESSAGE
16333         (Melt): ditto
16334         (changeDepth): ditto
16335
16336         * bufferparams.h: use boost::
16337
16338         * bufferlist.h: inherit privately from noncopyable
16339
16340         * bufferlist.C (loadLyXFile): remove some commented code.
16341
16342         * buffer.C (runChktex): use LFUN_MESSAGE
16343
16344         * ShareContainer.h: inherit privately from noncopyable
16345
16346         * ParagraphParameters.[hC] (depth): inline it.
16347
16348         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16349         methods.
16350         (message): new method
16351         (messagePush): ditto
16352         (messagePop): ditto
16353         (show): init minibuffer
16354         (showState): direct call
16355
16356         * LaTeX.[Ch]: inherit privately from noncopyable
16357         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16358         instead of WriteStatus.
16359
16360         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16361
16362         * BufferView_pimpl.C (buffer): don't init minibuffer
16363         (workAreaButtonPress): use LFUN_MESSAGE
16364         (workAreaButtonRelease): ditto
16365         (savePosition): ditto
16366         (restorePosition): ditto
16367         (MenuInsertLyXFile): ditto
16368         (workAreaExpose): don't init minibuffer
16369         (update): remove commented code, simplify
16370
16371         * BufferView2.C (openStuff): use LFUN_MESSAGE
16372         (toggleFloat): ditto
16373         (menuUndo): ditto
16374         (menuRedo): ditto
16375         (copyEnvironment): ditto
16376         (pasteEnvironment): ditto
16377         (copy): ditto
16378         (cut): ditto
16379         (paste): ditto
16380         (gotoInset): ditto
16381         (updateInset): remove some commented code
16382
16383         * lastfiles.h: inherit privately from noncopyable
16384         * layout.h: ditto
16385         * lyx_gui.h: ditto
16386         * lyx_main.h: ditto
16387         * lyxlex.h: ditto
16388         * lyxlex_pimpl.h: ditto
16389
16390         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16391         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16392         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16393
16394         * LyXAction.h: inherit privately from noncopyable, add methods
16395         func_begin, func_end, returning iterators to the func map.
16396
16397         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16398         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16399         (func_begin): new method
16400         (func_end): new method
16401
16402         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16403         and not)
16404         (copySelection): ditto
16405         (pasteSelection): ditto
16406
16407         * BufferView.C: whitespace change
16408         * BufferView.h: inherit privately from noncopyable
16409
16410 2001-04-16  Allan Rae  <rae@lyx.org>
16411
16412         * tabular-old.C (l_getline):
16413         * spellchecker.C (sc_check_word):
16414         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16415         an unrecognised preprocessor directive.  So ensure they're wrapped.
16416
16417 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16418
16419         * src/exporter.C (Export): Give an error message when path to file
16420         contains spaces.
16421
16422 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16423
16424         * LaTeX.C (deplog): Always check that foundfile exists.
16425
16426 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * lyx_main.h:
16429         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16430
16431 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16432
16433         * tabular.[Ch] (getLabelList): implement new method
16434
16435         * minibuffer.h: comment ouf setTiimer
16436
16437         * minibuffer.C (ExecutingCB): constify res
16438         (peek_event): constify s
16439         (Set): constify ntext
16440         (Init): constify nicename
16441
16442         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16443
16444         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16445         (savePosition): use two params to Minibuffer::Set
16446         (restorePosition): ditto
16447
16448 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16449
16450         * lyx_main.C: include language.h
16451
16452         * Makefile.am (lyx_main.o): add language.h
16453
16454 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16455
16456         * exporter.C:
16457         * paragraph.C:
16458         * screen.C:
16459         * tabular.C:
16460         * CutAndPaste.C: include gettext.h
16461
16462         * lyxfont.h: remove old hack with ON and OFF.
16463
16464         * lyxparagraph.h:
16465         * lyxfont.h: do not include language.h...
16466
16467         * BufferView2.C:
16468         * LaTeXFeatures.C:
16469         * Painter.C:
16470         * bufferview_funcs.C:
16471         * font.C:
16472         * lyxfont.C:
16473         * text.C:
16474         * text2.C:
16475         * trans_mgr.C:
16476         * paragraph.C: ... but do it here instead
16477
16478 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16481
16482         * tabular.C: small reformat
16483
16484         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16485         NEW_INSETS version
16486         (GetChar): ditto
16487         (BreakParagraph): ditto
16488         (SetOnlyLayout): ditto
16489         (SetLayout): ditto
16490
16491         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16492         with one arg less.
16493
16494         * lastfiles.C: removed most using decl, add std:: where needed
16495
16496         * buffer.C: ws changes
16497
16498         * MenuBackend.C (class compare_format): put into anon namespace
16499         (expand): constify label, names, action, action2
16500         (expand):
16501
16502         * text.C (SingleWidth): constify font
16503         (IsBoundary): constify rtl2
16504         (GetVisibleRow): constify ww
16505
16506         * LaTeX.C (deplog): constify logfile
16507
16508         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16509         start_x, end_x
16510         (workAreaExpose): constify widthChange, heightChange
16511
16512         * lyxrow.C (par): moved
16513         (height): moved
16514         (next): moved
16515         * lyxrow.h: as inlines here
16516
16517         * lyxfont.h (shape): moved from lyxfont.C
16518         (emph): moved from lyxfont.C
16519
16520         * lyxfont.C (LyXFont): use initialization list for all
16521         constructors
16522         (shape): move to lyxfont.h as inline
16523         (emph): move to lyxfont.h as inline
16524
16525
16526 2001-04-04  Juergen Vigna  <jug@sad.it>
16527
16528         * vspace.C: had to include stdio.h for use of sscanf
16529
16530 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16531
16532         * BufferView.h:
16533         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16534         independent of xforms.
16535
16536 2001-04-02  Juergen Vigna  <jug@sad.it>
16537
16538         * spellchecker.C: fixed namespace placing!
16539
16540 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16541
16542         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16543         the LyXParagraph * is 0.
16544
16545 2001-03-29  Juergen Vigna  <jug@sad.it>
16546
16547         * vspace.C: added support for %, c%, p%, l%.
16548         (stringFromUnit): added helper function.
16549         (asLatexString): changed to give right results for the %-values.
16550
16551         * buffer.C: convert the widthp in a width%.
16552
16553 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16554
16555         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16556         figureForm.[Ch].
16557
16558         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16559         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16560
16561         * lyx_cb.[Ch]: see above.
16562
16563         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16564         form1.[Ch].
16565
16566         * form1.[Ch]:
16567         * lyx.[Ch]: replaced by figure_form.[Ch].
16568
16569         * lyx_gui.C:
16570         * lyx_gui_misc.C:
16571         * lyxfunc.C: changed headers associated with above changes.
16572
16573 2001-03-27  Juergen Vigna  <jug@sad.it>
16574
16575         * BufferView_pimpl.C: set the temporary cursor right!
16576
16577 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16578
16579         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16580
16581 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16582
16583         * LString.h: removed "using std::getline"!
16584
16585         * BufferView_pimpl.C (Dispatch): changes due to changes in
16586         InsetInclude::Params.
16587
16588         * buffer.C (tag_name): removed redundant break statements as they were
16589         producing lots of warnings with my compiler.
16590
16591 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16592
16593         * LString.h: add "using std::getline" when using the real <string>.
16594
16595 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16596
16597         * buffer.C: removed bitset usage.
16598         PAR_TAG moved to an anonymous name space.
16599         (tag_name): new funtion, also in the anonymous namespace.
16600         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16601         (makeDocBookFile): clean code. Completed transition from string arrays
16602         to string vectors.
16603         (SimpleDocBookOnePar): code clean.
16604
16605 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16606
16607         * tabular.C: add some comments.
16608
16609 2001-03-22  Juergen Vigna  <jug@sad.it>
16610
16611         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16612         compatibility read a bit and fixed bug with minipage in different
16613         depth.
16614
16615 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16616
16617         * buffer.C (pop_tag): removed.
16618         (push_tag): removed.
16619         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16620         array replaced with vector. Added support for CDATA sections.
16621         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16622         at any nest level.
16623         (makeDocBookFile): XML conformant declaration of CDATA section,
16624         fixed bug related to <emphasis> in the first paragraph char.
16625         (sgmlOpenTag): exclude empty tags.
16626         (sgmlCloseTag): ditto.
16627
16628         * buffer.h (pop_tag): removed.
16629         (push_tag): removed.
16630
16631 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16632
16633         * language.h (Languages): added size_type and size().
16634
16635 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16636
16637         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16638         response on compability reading of minipages. One probliem is that
16639         the old usage of minipages was «flertydig»
16640
16641         * several files here and in subdirs: don't use static at file
16642         scope use anon namespaces instead.
16643
16644 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16645
16646         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16647         LaTeX output. This is necessary for Literate document
16648         processing.
16649
16650 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16651
16652         * buffer.C: insert hfill when needed.
16653
16654         * tabular.C (l_getline): use string::erase, small whitespace change.
16655
16656         * BufferView_pimpl.C: try the anon namespace.
16657         * WorkArea.C: ditto
16658
16659 2001-03-16  Juergen Vigna  <jug@sad.it>
16660
16661         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16662         otherwise it won't open options-dialogs.
16663
16664         * buffer.C: honor pextraWidth(p) on converting minipages.
16665
16666         * tabular.C (l_getline): changed the functions to strip trailing \r.
16667
16668 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16669
16670         * BufferView_pimpl.C:
16671         * minibuffer..C: added "using SigC::slot" declaration.
16672
16673 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16674
16675         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16676
16677         * text2.C: ditto
16678
16679         * text.C: ditto
16680
16681         * paragraph.C: ditto
16682
16683         * lyxtext.h: NO_PEXTRA
16684
16685         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16686
16687         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16688         * ParameterStruct.h: ditto
16689         * ParagraphParameters.h: ditto
16690         * lyxparagraph.h: ditto
16691
16692 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16693
16694         * buffer.C: add compability for minipage alignment.
16695         (latexParagraphs): remove unwanted pextra check.
16696
16697         * several files: remove CXX_WORKING_NAMESPACES
16698
16699         * buffer.C (pop_tag): tie is in namespace boost
16700
16701         * BufferView.h: noncopyable is in namespace boost
16702         * lyxlex.h: ditto
16703         * lyx_main.h: ditto
16704         * lyx_gui.h: ditto
16705         * layout.h: ditto
16706         * lastfiles.h: ditto
16707         * bufferlist.h: ditto
16708         * ShareContainer.h: ditto
16709         * LyXView.h: ditto
16710         * LyXAction.h: ditto
16711         * LaTeX.h: ditto
16712
16713 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16714
16715         * Merging changes from BRANCH_MVC back into HEAD.
16716
16717         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16718
16719 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16720
16721         * BufferView_pimpl.C: change from intl.C
16722
16723         * combox.h:
16724         * combox.C:
16725         * Makefile.am: move combox.*
16726
16727         * form1.h:
16728         * form1.C:
16729         * lyx_gui.C:
16730         * intl.h:
16731         * intl.C: remove dialog (covered by prefs)
16732
16733 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16734
16735         * lyxfunc.C (Dispatch): removed redundant break statement.
16736
16737 2001-03-14  Juergen Vigna  <jug@sad.it>
16738
16739         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16740
16741 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16742
16743         * buffer.C: add hack to fix compability reading of minipages.
16744
16745 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16746
16747         * buffer.C (getLists): Cleanup.
16748
16749 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16750
16751         * lyxfont.C (update): don't honor toggleall on font size.
16752
16753 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16754
16755         * bmtable.c:
16756         * bmtable.h:
16757         * Makefile.am: moved to frontends/xforms/
16758
16759         * lyx_gui_misc.C:
16760         * lyxfunc.C:
16761         * BufferView_pimpl.C: changes for moved mathpanel
16762
16763 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16764
16765         * gettext.h: fix gettext_init() in --disable-nls
16766
16767 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16768
16769         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16770
16771 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16772
16773         * lyx.C:
16774         * lyx.h: strip external form
16775
16776 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16777
16778         * BufferView_pimpl.C: add comment, destroySplash()
16779
16780 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16781
16782         * BufferView_pimpl.C:
16783         * LyXAction.C:
16784         * buffer.C:
16785         * commandtags.h:
16786         * lyxfunc.C: use re-worked insetinclude
16787
16788 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16789
16790         * buffer.C: add using std::stringstream.
16791
16792         * lyx_cb.C: readd using std::ios.
16793
16794         * buffer.C: add using std::map.
16795
16796         * BufferView_pimpl.C: add using std::vector.
16797
16798         * ShareContainer.h: add std:: to swap.
16799
16800         * buffer.h: add some typedefs
16801         * buffer.C (getLists): use them
16802         (getLists): renamed from getTocList.
16803         add a counter for the different float types and use it in the
16804         generated string.
16805         (getLists): use the same counter for the NEW_INSETS and the "non"
16806         NEW_INSETS
16807
16808         * lyx_cb.h: remove unused items, includes, using etc.
16809
16810         * ShareContainer.h: remove some commented code, add more comments
16811         and "documentation".
16812
16813 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16814
16815         * buffer.C (getTocList): make the list also when NEW_INSETS is
16816         defined.
16817
16818         * buffer.h: remove TocType
16819
16820         * buffer.C (getTocList): change to return a map<string,
16821         vector<TocItem> >, implement for dynamic number of list.
16822
16823         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16824         * text2.C (PasteSelection): adjust
16825         * CutAndPaste.C (pasteSelection): adjust
16826
16827         * FloatList.C (FloatList): update from the new_insets branch.
16828         * Floating.[Ch]: ditto
16829         * LaTeXFeatures.C: ditto
16830         * buffer.C: ditto
16831         * lyxlex_pimpl.C: ditto
16832
16833         * paragraph.C (Last): remove when NEW_INSETS is defined.
16834
16835         * other file: changes because of the above.
16836
16837 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16838
16839         * lyxparagraph.h: rename next to next_, previous to previous_,
16840         make them private for NEW_INSETS. Rename Next() to next(),
16841         Previous() to previous().
16842
16843         * other files: changes because of the above.
16844
16845 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16846
16847         * BufferView.h:
16848         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16849         problem.
16850
16851 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16852
16853         * main.C (main): pass lyx_localedir to gettext_init().
16854
16855         * gettext.h: remove locale_init and gettext_init macros
16856
16857         * gettext.C (locale_init): new function
16858         (gettext_init): new function
16859
16860         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16861         setlocale().
16862
16863 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16864
16865         * Moved credits to frontends:
16866         * credits.[Ch]: removed
16867         * credits_form.[Ch]: removed
16868         * lyx_gui_misc.C: remove credits stuff
16869         * Makefile.am:
16870
16871 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16872
16873         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16874
16875         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16876         unneeded destructor.
16877
16878         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16879         a standalone pointer again.
16880
16881         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16882
16883 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16884
16885         * Makefile.am:
16886         * filedlg.h:
16887         * filedlg.C:
16888         * LyXAction.C:
16889         * ToolbarDefaults.C:
16890         * bufferlist.C:
16891         * commandtags.h:
16892         * form1.C:
16893         * form1.h:
16894         * lyx_cb.C:
16895         * lyx_cb.h:
16896         * lyxfunc.h:
16897         * lyxfunc.C:
16898         * BufferView_pimpl.C: use new file dialog in GUII
16899
16900         * lyx_cb.h:
16901         * lyx_cb.C: remove LayoutsCB to Toolbar
16902
16903 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16904
16905         * ShareContainer.h (get): add std:: qualifier
16906
16907 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16908
16909         * ShareContainer.h: define a proper ShareContainer::value_type
16910         type (and use typename to please compaq cxx)
16911
16912 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16913
16914         * lyxparagraph.h: move serveral local vars to
16915         ParameterStruct/ParagraphParameters., use ShareContainer in
16916         FontTable., make vars in FontTable private and add getter and
16917         setter.
16918
16919         * paragraph.C: changes because of the above.
16920
16921         * lyxfont.h: remove copy constructor and copy assignment. (the
16922         default ones is ok), move number inside FontBits. move inlines to
16923         lyxfont.C
16924
16925         * lyxfont.C: add number to initializaton of statics, move several
16926         inlines here. constify several local vars. some whitespace
16927         cleanup. Dont hide outerscope variables.
16928
16929         * Spacing.h: add two new constructors to match the set methods.
16930
16931         * ShareContainer.h: new file, will perhaps be moved to support
16932
16933         * ParameterStruct.h: new file
16934
16935         * ParagraphParameters.h: new file
16936
16937         * ParagraphParameters.C: new file
16938
16939         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16940         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16941
16942         * BufferView_pimpl.C: ParagraphParameter changes.
16943         * buffer.C: Likewise.
16944         * bufferview_funcs.C: Likewise.
16945         * text.C: Likewise.
16946         * text2.C: Likewise.
16947
16948 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * lyxfind.C (LyXReplace): do not redefine default argument in
16951         implementation.
16952         (IsStringInText): ditto
16953         (SearchForward): ditto
16954         (SearchBackward): ditto
16955
16956 2001-03-06  Juergen Vigna  <jug@sad.it>
16957
16958         * lyxfind.C (IsStringInText): put parentes around expressions.
16959
16960 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16961
16962         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16963
16964 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16965
16966         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16967
16968         * stl_string_fwd.h: add comment
16969
16970         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16971
16972         * tabular.h:
16973         * tabular.C: remove unused DocBook methods
16974
16975         * intl.C:
16976         * language.C:
16977         * paragraph.C:
16978         * buffer.C:
16979         killed DO_USE_DEFAULT_LANGUAGE
16980
16981 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16982
16983         * lyx_gui.C: do not include language.h.
16984
16985         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16986         arguments in function implementation.
16987
16988 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16989
16990         * BufferView_pimpl.C: add <ctime>
16991
16992 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16993
16994         * BufferView_pimpl.C: add using std::find_if
16995
16996 2001-02-27  José Matos  <jamatos@fep.up.pt>
16997
16998         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16999         by OnlyPath.
17000
17001 2001-02-11  José Matos  <jamatos@fep.up.pt>
17002
17003         * buffer.C (makeDocBookFile): command styles now have a parameter as
17004         "title" by default.
17005
17006 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17007
17008         * layout_forms.[Ch]: removed
17009         * lyx_cb.[Ch]: out character
17010         * lyx_gui.C: out character
17011         * lyx_gui_misc.C: out character
17012         * bufferview_funcs.C: : out character,
17013         added toggleall as parameter in ToggleAndShow
17014
17015 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17016
17017         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17018
17019         * text2.C (SetCurrentFont): Disable number property at boundary.
17020
17021 2001-02-26  Juergen Vigna  <jug@sad.it>
17022
17023         * lyxfunc.C (getStatus): added a string argument override function so
17024         that this is correctly called from LyXFunc::Dispatch if it contains a
17025         do_not_use_argument which is used!
17026         (Dispatch): added check for "custom" export and call appropriate func.
17027
17028 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17029
17030         * lyxrc.C: Add language_command_local, language_use_babel and
17031         language_global_options.
17032
17033         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17034
17035         * buffer.C (makeLaTeXFile): Use language_use_babel and
17036         language_global_options.
17037
17038 2001-02-23  Juergen Vigna  <jug@sad.it>
17039
17040         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17041         which works with LyXText and putted it inside BufferView. Here now we
17042         only call for that part the BufferView::Dispatch() function.
17043
17044         * BufferView.C (Dispatch): added.
17045
17046         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17047         functions which needs to use a LyXText over from LyXFunc.
17048         (MenuInsertLyXFile): added
17049         (getInsetByCode): added
17050         (moveCursorUpdate): added
17051         (static TEXT): added
17052
17053 2001-02-22  Juergen Vigna  <jug@sad.it>
17054
17055         * BufferView_pimpl.C (update): call a status update to see if LyXText
17056         needs it.
17057
17058 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17059
17060         * vc-backend.C (revert): implement for CVS
17061         (getLog): implement for CVS
17062
17063 2001-02-20  Juergen Vigna  <jug@sad.it>
17064
17065         * text2.C (ClearSelection): added BufferView param for inset_owner call
17066
17067         * lyxfunc.C (TEXT): added this function and use it instead of
17068         directly owner->view()-text of getLyXText().
17069
17070 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17071
17072         * src/layout_forms.C: out preamble
17073         * src/layout_forms.h: out preamble
17074         * src/lyx_cb.C: out preamble
17075         * src/lyx_cb.h: out preamble
17076         * src/lyx_gui.C: out preamble
17077         * src/lyx_gui_misc.C: out preamble
17078         * src/lyxfunc.C: connect with guii preamble
17079
17080 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17081
17082         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17083
17084 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17085
17086         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17087         whether to run bibtex.
17088
17089 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17090
17091         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17092
17093 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17094
17095         * Makefile.am (lyx_SOURCES): removed bibforms.h
17096
17097         * vspace.h: doxygen
17098
17099         * text.C (GetVisibleRow): make several local vars const
17100
17101         * tabular.C: small cleanup.
17102
17103         * lyxserver.C (callback): use compare instead of strncmp
17104
17105         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17106         inlines to after class or to paragraph.C
17107
17108         * lyxfont.h: remove friend operator!=
17109
17110         * converter.h: move friend bool operator< to non friend and after
17111         class def.
17112
17113         * combox.h: small cleanup
17114
17115         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17116         to inlines after class def.
17117
17118         * buffer.C (pop_tag): use string operations instead of strcmp
17119
17120         * bmtable.c: doxygen, small cleanup
17121
17122         * LaTeX.h: remove friend operator==
17123
17124 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17125
17126         * screen.C:
17127         * lyxrc.[Ch]:
17128         * lyxfunc.C:
17129         * lyxfont.[Ch]:
17130         * lyx_cb.C:
17131         * intl.[Ch]:
17132         * commandtags.h:
17133         * buffer.C:
17134         * WorkArea.[Ch]:
17135         * LyXAction.C:
17136         * BufferView_pimpl.C:
17137         * BufferView.[Ch]: remove cruft
17138
17139 2001-02-14  Juergen Vigna  <jug@sad.it>
17140
17141         * lyxfunc.C: removed #if 0 unused code
17142
17143         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17144
17145         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17146
17147         * text2.C (SetSelection): added a BufferView * parameter
17148
17149 2001-02-13  Juergen Vigna  <jug@sad.it>
17150
17151         * lyxfunc.C (Dispatch): fixed protected blank problem.
17152         * BufferView2.C (protectedBlank): added LyxText * parameter.
17153
17154         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17155         (AppendColumn): same as above for column_info.
17156
17157         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17158         (moveCursorUpdate): use a LyXText param for support of InsetText.
17159
17160         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17161         (tripleClick): ditto
17162
17163         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17164
17165         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17166
17167         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17168
17169         * text2.C (SetSelection): set correct update status if inset_owner
17170         (ToggleFree): ditto
17171
17172 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17173
17174         * tabular.C: remove some commented code.
17175
17176 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17177
17178         * BufferView_pimpl.C: call hideSplash()
17179
17180         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17181
17182         * include_form.h:
17183         * bibforms.h: remove
17184
17185         * lyxfunc.C:
17186         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17187           add LFUN_CHILD_CREATE
17188
17189         * counters.h: fix tiny typo
17190
17191         * lyx_cb.C:
17192         * lyx.h:
17193         * lyx_gui.C:
17194         * lyx.C: move splash to frontends/xforms/
17195
17196         * lyx_gui_misc.C: move Include and Bibform to frontends
17197
17198         * lyxvc.h: clarify comment
17199
17200         * vspace.C: tiny housekeeping
17201
17202 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17203
17204         * text.C (PrepareToPrint): RTL Fix.
17205
17206         * paragraph.C (GetUChar): New method.
17207         (String):  Use GetUChar.
17208
17209         * buffer.C (asciiParagraph): Use GetUChar.
17210
17211 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17212
17213         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17214
17215 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17216
17217         * buffer.h:
17218         * buffer.C: rename to getLogName(), handle
17219           build log / latex log nicely
17220
17221 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17222
17223         * MenuBackend.C:
17224         * MenuBackend.h: remove support for reference menuitem type.
17225
17226 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17227
17228         * BufferView_pimpl.C: housekeeping
17229         * BufferView_pimpl.h:
17230         * LyXView.h:
17231         * Makefile.am:
17232         * Timeout.C:
17233         * Timeout.h:
17234         * minibuffer.h: move Timeout GUI-I
17235
17236 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17237
17238         * lyxrc.C (read): Update converters data-structures.
17239
17240 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17241
17242         * LaTeX.h (operator!=): add operator != for Aux_Info
17243
17244 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17245
17246         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17247
17248         * LaTeXLog.C: deleted, useful code moved to Buffer
17249
17250         * buffer.h:
17251         * buffer.C: new function getLatexLogName()
17252
17253         * lyx_gui_misc.C:
17254         * lyx_gui.C:
17255         * lyxvc.C:
17256         * lyxvc.h:
17257         * lyxfunc.C: use frontends for LaTeX and VC logs
17258
17259 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17260
17261         * LaTeX.h: yet another std:: that Allan forgot.
17262
17263         * Variables.C (set): renamed from isset(), because this clashes
17264         with some HP-UX macros (grr).
17265
17266 2001-02-06  Allan Rae  <rae@lyx.org>
17267
17268         * LaTeX.h: Another bug fix.  Missing std:: this time.
17269
17270 2001-02-04  Allan Rae  <rae@lyx.org>
17271
17272         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17273         floats problem. I've left it commented out because it's not quite
17274         correct.  It should also test that the current object is a table or
17275         figure inset.  But I haven't gotten around to figuring out how to do
17276         that.  I *think* it'll be something like: "table" == inset.type()
17277
17278         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17279         bool.
17280
17281 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17282
17283         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17284         all the citation/databases/styles in the auxilary file.
17285         (run): Rerun latex if there was a babel language error.
17286
17287 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17288
17289         * text.C (Backspace): Preserve the font when changing newline char
17290         with a space.
17291         (BreakParagraph): If the cursor is before a space, delete the space.
17292
17293         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17294
17295 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17296
17297         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17298         new argument (code).
17299         (ChangeCitationsIfUnique): New method.
17300
17301         * paragraph.C (GetPositionOfInset): Handle bibkey.
17302
17303 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17304
17305         * BufferView_pimpl.h: change type of Position::par_pos to
17306         LyXParagraph::size_type.
17307
17308 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17309
17310         * BufferView_pimpl.C (savePosition, restorePosition): Write
17311         messages to minibuffer.
17312
17313 2001-01-28  José Matos  <jamatos@fep.up.pt>
17314
17315         * buffer.C (makeDocBookFile): adds support for document language.
17316         A silly restriction on the name of LatexCommand types where removed.
17317         Added support for CDATA sections, allows to chars unescaped, used
17318         among others in code, to avoid escape < and >.
17319
17320 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17321
17322         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17323         saved positions instrad of a stack. Furthermore, a position is
17324         stored using paragraph id/paragraph position.
17325
17326         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17327         Remove LFUN_REF_BACK.
17328
17329 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17330
17331         * converter.C (dvipdfm_options): New method.
17332
17333 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17334
17335         * vspace.C (isValidLength): Fix for empty input string.
17336
17337 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17338
17339         * LyXAction.C (init): change description of LFUN_FIGURE to
17340         "Insert Graphics"
17341
17342 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17343
17344         * LaTeX.C: add using directive
17345
17346 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17347
17348         * MenuBackend.C (expand): Fix the sorting of the formats.
17349
17350 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17351
17352         * lyx_main.C: tiny error message fix
17353
17354 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17355
17356         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17357         calling fl_initialize(). This fixes the problem with ',' as
17358         decimal separator in text files.
17359
17360 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17361
17362         * trans.C (process): Fix the keymap bug.
17363
17364 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17365
17366         * LaTeX.C (scanAuxFiles): New method. Provides support for
17367         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17368         (scanLogFile) Scan for "run BibTeX" messages.
17369
17370         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17371         OT1 font encoding. Also, load the aecompl package if the ae
17372         package is loaded.
17373
17374         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17375
17376 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17377
17378         * texrow.C (increasePos): turn two error messages into debug
17379         messages.
17380
17381 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17382
17383         * LaTeX.C (scanAux): Handle the \@input macro.
17384         (runBibTeX): Use scanAux().
17385
17386         * language.C (latex_options_): New field.
17387
17388         * LaTeXFeatures.C (getMacros): Add language macros.
17389
17390         * buffer.C (makeLaTeXFile): Small fix.
17391
17392 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17393
17394         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17395
17396         * text2.C: add a using directive.
17397
17398 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17399
17400         * BufferView2.C:
17401         * lyx_gui_misc.h:
17402         * lyxfr1.C:
17403         * lyxfunc.C: kill LyXBell.
17404
17405 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17406
17407         * text.C (IsBoundary): Remove the error message
17408
17409         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17410
17411         * lyxrc.C (setDefaults): Correct initialization value for
17412         font_norm_type.
17413
17414 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17415
17416         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17417         gotoError().
17418
17419         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17420         and GotoNextNote().
17421
17422         * src/LyXAction.C: Added reference-next.
17423
17424         * text.C (InsertChar): Use contains instead of strchr.
17425
17426         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17427
17428 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17429
17430         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17431         alignment commands (when needed).
17432
17433         * text.C (InsertChar): Add ':' to number separator chars.