]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix output of description/labeling \item when there's no trailing text
[lyx.git] / src / ChangeLog
1 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
4         output of \item arguments without trailing text.
5
6 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * FontIterator.C (operator*): avoid a copy of the font.
9
10 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * rowpainter.C (getFont): fix language bug from previous fix
13
14 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * rowpainter.C (RowPainter, getFont): fix font inside inset 
17         (bugs 1766, 1809)
18
19 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
20
21         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
22         preventing inserted font, deco, delim insets jumping to start of
23         surrounding inset.
24
25 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * lyxfunc.C (dispatch): translate message before sending it to the
28         minibuffer. 
29
30 2005-03-29  Angus Leeming  <leeming@lyx.org>
31
32         * lyx_main.C (priv_exec): call os::internal_path on each file passed
33         to LyX on the command line.
34
35 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
36
37         * vc-backend.C: use QuoteName to protect file names wherever
38         necessary. 
39
40 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * buffer.[Ch]:
43         * BranchList.h: fix bugs 1844,1845: document settings don't
44         stick
45
46 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * lyxrc.C (setDefaults, read, output, getDescription): add support
49         for tex_allows_spaces.
50
51         * exporter.C (Export): allows files in directory containing spaces
52         if tex_allows_spaces is true.
53
54         * buffer.C (makeLaTeXFile): if the document path contains spaces,
55         output it in double quotes.
56
57 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
58
59         * rowpainter.C: use default text height for drawing change tracker
60         strikeout lines.
61
62 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
63
64         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
65
66 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
69         directory is missing.
70
71 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * text2.C: fixed the fix, extended to other case.
74
75 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
76
77         * text2.C: fix for cursor up/down stuck in math [bug 1792]
78
79 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
80
81         * text2.C (cursorUp): get rid of a crash
82         * text.C (x2pos): add an assert
83
84 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * lyxfunc.C (getStatus): fix warning when assertions are disabled
87
88         * text3.C: 
89         * lyxfunc.C: 
90         * dociterator.C: include <boost/current_function.hpp>, which is
91         needed when assertions are disabled.
92
93 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
94
95         * text2.C: fix for stuck cursor when traversing two 
96         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
97
98 2005-02-25  Andreas Vox  <avox@arcor.de>
99
100         * output_docbook.C (makeParagraph): suppress trailing newline
101         after a run of paragraphs
102
103 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
104
105         * paragraph.C: fix for confused change tracker when pasting
106         text that begins with a lineseparator. [bug 1827]
107         (setChange(0, Change::INSERTED);)
108
109         * paragraph_funcs.C: fix for lost changes on triple-paste
110         in change tracking mode [bug 1827] (par.setChange()).
111
112 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * text2.C (updateCounters, setCounter, expandLabel): move to
115         buffer_funcs.
116
117         * buffer_funcs.C (updateCounters): turn into a free standing
118         function and add a buffer parameter. Remove dead code for tracking
119         labelstring change.
120         (setCounter): change into a free-standing function which gets a
121         dociterator as argument. Use this iterator to fix captions in a
122         simple way. When no float is found above the caption, use the
123         labelstring of the caption layout as default.
124
125         * text.C (breakParagraph, backspace): 
126         * text2.C (init, setLayout, changeDepth):
127         * text3.C (dispatch): 
128         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
129         updateCounters.
130
131         * dociterator.C (forwardPar): make it much faster by calling
132         forwardPos() only when really necessary.
133
134         * output_docbook.C (makeCommand): adapt to expandLabel move.
135
136         * cursor.C: remove unused variable
137
138 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
139
140         * paragraph_funcs.C: fix crash when pasting insets in change 
141         tracking mode [bug 1277] (honour change type in moveItem).
142
143 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
144
145         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
146
147 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * BufferView.C (setCursor): change to use a DocIterator.
150         (gotoLabel): use BufferView::setCursor (other part of bug 781).
151         (putSelectionAt): adapt to BufferView::setCursor change.
152
153         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
154         moved here from LyXText and rewritten to use proper cursor
155         methods. Fixes bug 1787, 616 and 835.
156
157         * BufferView_pimpl.C (restorePosition): set the cursor correctly
158         when inside an inset (part of bug 781).
159         (dispatch): adapt to change of BufferView::setCursor.
160         (getStatus, dispatch): handle LFUN_GOTOERROR,
161         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
162
163         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
164         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
165         * text3.C (gotoNextInset, gotoInset): removed.
166
167 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
170
171 2005-02-15  Angus Leeming  <leeming@lyx.org>
172
173         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
174         can be used meaningfully in a comparison.
175
176 2005-02-13  André Pönitz  <poenitz@gmx.net>
177
178         * bufferview_funcs.C (coordOffset): improve cursor drawing
179
180 2005-02-13  André Pönitz  <poenitz@gmx.net>
181
182         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
183         * Cursor.C (dispatch): use fixIfBroken
184         * lyxfunc.C (getStatus): use fixIfBroken
185
186 2005-02-15  Angus Leeming  <leeming@lyx.org>
187
188         * lyx_main.C (error_handler):
189         * lyxfunc.C:
190         * lyxrc.C (setDefaults):
191         s/GetEnv/getEnv/.
192         #include "environment.h".
193
194         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
195
196 2005-02-15  Angus Leeming  <leeming@lyx.org>
197
198         * lyxserver.C (startPipe): squash MSVC warning "local variable
199         'fd' used without having been initialized".
200
201 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
202
203         * BufferView_pimpl.C: revert accidental commit.
204
205 2005-02-14  André Pönitz  <poenitz@gmx.net>
206
207         * dociterator.[Ch]: new member forwardPosNoDescent(),
208         which doesn't enter nested insets.
209         * text2.C (setFont): use forwardPosNoDescent() instead
210         of ForwardPos() (fixes crash on font change).
211
212 2005-02-13  Angus Leeming  <leeming@lyx.org>
213
214         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
215         only if lyxrc.path_prefix is not empty.
216
217 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
218
219         * bufferparams.C (readGraphicsDriver): prevent crash
220
221 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
222
223         * text2.C (setCounter): check for inInset() == 0
224
225 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
228         but use update() to get correct screen display; use convert
229         instead of istringstream. 
230         (getStatus): handle LFUN_GOTO_PARAGRAPH 
231
232         * lyxfunc.C (dispatch, getStatus): do not handle
233         LFUN_GOTO_PARAGRAPH here.
234
235 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
236
237         * text3.C (dispatch): size() -> depth()
238
239         * text2.C: remove some debug output
240
241         * paragraph.C: ws changes only
242
243         * lyxfunc.C (getStatus): size() -> depth()
244
245         * dociterator.h (clear, push_back, pop_back, internalData,
246         operator[], resize, empty): new functions
247         Make StableDocIterator and operator== be friends. Don't inherit
248         from std::vector use a privat class variable slices_ instead.
249         Modify to fit.
250
251         * dociterator.C: update because of not inheriting from std::vector
252         anymore. Call explictly to slices_ instead. Use depth() instead of
253         size() and top() instead of back()
254
255         * cursor.C: chagne size() -> depth and back() -> top(). Also
256         remove some direct operator[](i) calls in favour of foo[i]
257         (getFont): remove some dead code
258
259         * bufferview_funcs.C (coordOffset): size() -> depth()
260
261         * buffer.C: ws changes only
262
263         * CutAndPaste.C (eraseSelection): back() -> top()
264
265         * BufferView_pimpl.C (selectionRequested): back() -> top()
266
267         * BufferView.C (setCursor): size() -> depth()
268
269 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * text3.C (cursorPrevious): return true if depm changed something
272         (cursorNext): ditto
273         (dispatch): rename sl to oldTopSlice, remove moving use the new
274         NoUpdate func attrib instead. Make sure that needsUpdate is set
275         for function that have NoUpdate, but where depm might have changed
276         the buffer anyway.
277
278         * text2.C (cursorLeft): make us return true if depm changed
279         something
280         (cursorRight): ditto
281         (cursorUpParagraph): ditto
282         (curosrDownParagraph): ditto
283         (cursorUp, cursorDown): ditto, make sure to read comments in code
284         (deleteEmptyParagraphMechanism): remove an assert, also return
285         true if just a single char was deleted.
286
287         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
288         cursor that we modify, to avoid modifying an active cursor before
289         we call setCursor. This allows depm to run. Also return true if
290         depm deleted something.
291
292         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
293         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
294         cursorDownParagraph, cursorPrevious and cursorNext, return true if
295         something was changed in the buffer because of them (ie. depm run)
296
297         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
298         debug messages. Make update by default be false. Make sure that
299         the result of update is retained throught several calls down to
300         dispatch.
301
302         * LyXAction.h: add a new func_attrib: NoUpdate
303
304         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
305         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
306         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
307         and LFUN_WORDLEFT
308         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
309
310 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
313         bv_->owner(), bv_->buffer() by direct references to the private
314         members.
315         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
316         (getStatus): isSavedPosition() is in BufferView::Pimpl.
317         (fitCursor): center() is in BufferView::Pimpl.
318         (getStatus, trackChanges, dispatch): no need for a temporary buf
319         variable
320         (fitCursor, workAreaDispatch): use workarea().workheight()
321
322 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
323
324         * CutAndPaste.C (pasteSelectionHelper): fix a crash
325
326 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
327
328         * buffer.C: format up to 241.
329         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
330         break if pasting into ERT
331         * lyxfunc.C (getStatus): suppress mathpanel and
332         LFUN_DIALOG_SHOW_NEW_INSET in ERT
333
334 2005-02-01  Angus Leeming  <leeming@lyx.org>
335
336         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
337
338 2005-02-01  Angus Leeming  <leeming@lyx.org>
339
340         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
341         calling fs::is_directory().
342
343 2005-01-31  Angus Leeming  <leeming@lyx.org>
344
345         * lyx_main.C (priv_exec): specify explicitly the relative location
346         of the top level build directory when run in-place.
347
348 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
349
350         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
351         LyXText containing the cursor, not the top-level one.
352
353         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
354         true.
355         (insertStringAsLines): rename par to pit; use temporary variable
356         par to hold a Paragraph; do not store par.layout() in a variable,
357         since the pointer may die when breaking paragraphs; pass pars to
358         breakParagraph() instead of Buffer::paragraphs().
359
360 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
361
362         * lyxlex_pimpl.h: #include <fstream>.
363
364         * BufferView.[Ch] (getLyXText): add a const version.
365
366         * BufferView_pimpl.C: add debug aids.
367
368         * RowList_fwd.h:
369         * buffer.h:
370         * lyxrow.h:
371         * paragraph_funcs.h: add commentary explaining what the class does.
372
373
374         * coordcache.[Ch]: add lots of commentary.
375         (startUpdating, doneUpdating): debug aids.
376         (arrays, insets, parPos, getParPos): accessors to private data.
377
378         * cursor_slice.[Ch] (text): add a const version.
379         * dociterator.[Ch] (text, innerText): add const versions.
380
381         * lyxtext.h (breakParagraph): change the keep_layout arg to a
382         bool.
383
384         * paragraph.C (getRow, pos2ros): add asserts.
385
386         * paragraph.h: add commentary. Lots of.
387
388         * paragraph.[Ch] (metrucs, draw): removed.
389
390         * cursor.C:
391         * rowpainter.[Ch]: const-correct changes.
392
393         * text.C: various obvious clean-ups. Removal of ancient cruft.
394         Bug fixes, even.
395
396 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * vc-backend.C (find_file): rewrite to use boost.filesystem
399         (scanMaster): ditto
400
401         * main.C (main): set default name check for boost.filesystem to
402         no check
403
404         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
405         (open): ditto
406         (doImport): ditto
407         (actOnUpdatedPrefs): ditto
408
409         * lyx_main.C (init): rewrite to use boost.filesystem
410         (queryUserLyXDir): ditto
411
412         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
413         (getContentsOfAsciiFile): ditto
414
415         * lastfiles.C (readFile): rewrite to use boost.filesystem
416
417         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
418
419         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
420         (loadLyXFile): ditto
421
422         * buffer.C (Buffer): adjust for destroydir
423         (getLogName): rewrite to use boost.filesystem
424         (setFileName): ditto
425         (save): use fs::copy_file (from fs_extras)
426
427         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
428
429         * LaTeX.C (run): rewrite to use boost.filesystem
430         (scanAuxFiles): ditto
431         (handleFoundFile): ditto
432
433 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
434
435         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
436
437         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
438
439 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
440
441         * lyxlayout.[Ch]: change some vars from float to double
442
443         * buffer.C (readFile): make a local var const
444
445         * Several files: use convert<> instead of atoi,strToXXX and friends
446
447 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
448
449         * LaTeXFeatures.[Ch]: Add a static list packages_ that
450         holds the contents of packages.lst. New functions getAvailable
451         and isAvailable to parse and check that list, resp.
452
453         * LyXAction.C:
454         * lfuns.h:
455         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
456
457         * bufferparams.[Ch]: new param output_changes.
458
459         * Buffer.C: increase file format to 240.
460         Use output_changes and isVailable.
461
462         * changes.[Ch]:
463         * paragraph.C:
464         * paragraph_pimpl.C: Use output_changes and isVailable.
465
466 2005-01-23  Angus Leeming  <leeming@lyx.org>
467
468         * output_latex.C: #include "insetbibitem.h", rather than
469         forward declare function bibitemWidest.
470
471 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
472
473         * lyx_main.C (init): make it compile on the Mac.
474
475 2005-01-20  Angus Leeming  <leeming@lyx.org>
476
477         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
478         (setLyXMisc): (char string literal) != (char string literal) is
479         performing a comparison on the addresses. Convert one operand
480         explicitly to string to guarantee expected behaviour.
481         From MSVC warning.
482
483 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
484
485         * buffer.C:
486         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
487
488         * output_plaintext.C: remove unneeded #include gzstream.h.
489
490 2005-01-20  Angus Leeming  <leeming@lyx.org>
491
492         * SpellBase.h: rename some of the elements of the Result enum.
493
494         * aspell_local.h:
495         * ispell.h:
496         * pspell.h:
497         * aspell.C (check):
498         * ispell.C (check):
499         * pspell.C (check): ditto
500
501 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
502
503         * buffer.C: add #include <fstream>.
504
505         * lyx_main.C (init): Compile fix.
506
507         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
508
509 2005-01-20  Angus Leeming  <leeming@lyx.org>
510
511         * mover.h: change commentary to reflect the changed meaning of
512         the $$s placeholder.
513
514 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
515
516         * output_linuxdoc.C (linuxdocParagraphs): silence warning
517
518         * lyxfind.C (MatchString::operator()): remove bogus semicolon
519
520 2005-01-20  Angus Leeming  <leeming@lyx.org>
521
522         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
523         printing diagnostic data by not dereferecing an iterator past the
524         end.
525
526 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
527
528         * buffer.C (readHeader): use "&&" rather than "and".
529
530         * lyxserver.h (inPipeName, outPipeName): make these const.
531
532 2005-01-19  Angus Leeming  <leeming@lyx.org>
533
534         * lyx_main.C (error_handler, init): protect SIGHUP with
535         #ifdef SIGHUP guards.
536
537 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
540
541 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
542
543         * text.C (setHeightOfRow): add a margin at the top and bottom of
544         the document (bug 1761)
545
546 2005-01-17  Angus Leeming  <leeming@lyx.org>
547
548         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
549         with "python ". Workaround for a brain-dead Windows.
550
551 2005-01-16  Angus Leeming  <leeming@lyx.org>
552
553         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
554         for MacOSX and Windows to use prependEnvPath.
555         Strip out the hard-coded block to add elements to the PATH for
556         MacOSX and replace it with a call to prependEnvPath using the
557         contents of LyXRC::path_prefix.
558         (queryUserLyXDir): strip out the code to run reconfigure, instead
559         returning a boolean indicating the necessity to do so.
560         (reconfigureUserLyXDir): contains the code to reconfigure the
561         user support directory. Is now called after the various LyXRC data
562         files have been read.
563
564         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
565
566 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
567
568         * converter.[Ch] (convert): take a new parameter try_default. Use
569         a default converter (imagemagick) if try_default is true.
570
571 2005-01-13  Angus Leeming  <leeming@lyx.org>
572
573         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
574         os::cygwin_path_fix.
575         (write): output LyXRC::cygwin_path_fix as necessary.
576
577 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
578
579         * lyxrc.h:
580         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
581
582 2005-01-12  Angus Leeming  <leeming@lyx.org>
583
584         * lyx_main.C (init): set the PATH variable to include the
585         directory containing the LyX binary when running on Mac or Windows.
586
587 2005-01-12  Angus Leeming  <leeming@lyx.org>
588
589         * lyx_main.C (init): remove cruft that purports to set the locale
590         dir. It doesn't and is not needed anyway.
591
592 2005-01-10  Angus Leeming  <leeming@lyx.org>
593
594         * Makefile.am: remove the lyx_main.C special casing.
595
596         * BufferView_pimpl.C:
597         * bufferlist.C:
598         * exporter.C:
599         * lyx_cb.C:
600         * lyx_main.C:
601         * lyxfunc.C:
602         * messages.C: use support/package.h to provide the paths to the
603         various directories used by LyX.
604
605 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
606
607         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
608         layout if pasting into an empty paragraph)
609
610 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
611
612         * tex-accent.C: add <string>
613
614 2005-01-06  José Matos  <jamatos@lyx.org>
615
616         * ParagraphParameters.C (write): put every parameter in its own line.
617         * paragraph.C (write): reduce number of consecutive empty lines exported.
618         * buffer.C (LYX_FORMAT): increase file format to 239.
619
620 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
621
622         * everywhere: change support/tostr.h -> support/convert.h
623
624         * tabular.C: make all write_attributes templates, tostr -> convert
625
626         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
627         (emptyTag): and -> &&, and fix type for ret from getChar
628         (getFirstWord): fix type for ret from getChar
629         (onlyText): and -> &&
630         (simpleDocBookOnePar): and not -> && !, fix type for ret from
631         getChar
632
633         * toc.C (goTo, action):
634         * text3.C (dispatch):
635         * text.C (currentState):
636         * tex-accent.C (DoAccent):
637         * sgml.C:
638         * lyxrc.C:
639         * lyxfunc.C (menuNew):
640         * lyxfinc.C (replace):
641         * counters.C (laberItem):
642         * bufferview_funcs.C (font2string):
643         * bufferparams.C (writeFile):
644         * buffer.C (readFile):
645         * Spacing.C (set):
646         * MenuBackend.C: tostr -> convert
647
648         * LaTeX.C (runMessage): fix format
649         (scanAuxFiles): tostr -> convert
650
651         * BufferView_pimpl.C (savePosition): fix format
652         (restorePosition): ditto
653         (dispatch): ditto
654
655 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
656
657         * Spacing.[Ch]: New method getValueAsString().
658
659         * Spacing.[Ch]:
660         * bufferparams.C:
661         * ParagraphParameters.C:
662         * lyxlayout.C:
663         * text.C:
664         * text3.C: store/read spacing value as string.
665
666         * rowpainter.C: change float value (spacing_val) to double.
667
668         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
669         broken custom document spacing).
670
671 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
672
673         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
674         namespace, also more use of temp references and const
675
676         * cursor.[Ch] (getStatus): move to lyxfunc.C
677
678         * bufferparams.C: reformat slightly
679
680         * bufferview_funcs.C (font2string): constify arg
681
682         * changes.C:
683         * converter.C:
684         * counters.C:
685         * bufferlist.C:
686         * buffer_funcs.C: (many funcs): constify arg on function
687         definitions, also make more local vars const, also add ASSERTS on
688         pointer args.
689
690         * buffer.C (LYX_FORMAT): put const in correct place
691         (many funcs): constify arg on function definitions, also make
692         more local vars const
693
694         * aspell_local.h: remove "struct" from typdef setup
695
696         * aspell.C (check): make word_ok const
697         (nextMiss): simplify slightly
698         (error): ditto
699
700 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
701
702         * lyxrc.[Ch]: store all float values as strings.
703         use int (not float) for lyxrc.dpi.
704
705 2005-01-04  Angus Leeming  <leeming@lyx.org>
706
707         * lyx_cb.C (Reconfigure):
708         * lyx_main.C (queryUserLyXDir):
709         to run the <system_lyxdir>/configure correctly on Windows, prefix
710         the path to the script with "sh " when generating the string that
711         is passed to system().
712
713 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
714
715         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
716
717 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * lyxlength.C (asLatexString): get rid of setprecision
720
721 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * text2.C (setLayout): remove unused variable endpit.
724         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
725
726         * paragraph.C (onlyText): remove unused variable style.
727
728         * cursor.C (bruteFind): remove unused variables beg and end.
729
730         * Makefile.am (dist_noinset_DATA): not needed anymore
731
732         * cheaders/*: remove.
733
734 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
735
736         * text3.C: fix LFUN_MATH_MODE.
737
738 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
739
740         * buffer_funcs.C (countWords): new function. Counts words between
741         two iterators.
742
743         * BufferView_pimpl.C (getStatus, dispatch): handle
744         LFUN_WORDS_COUNT.
745
746         * LyXAction.C (init):
747         * lfuns.h: add LFUN_WORDS_COUNT.
748
749 2004-12-19  Angus Leeming  <leeming@lyx.org>
750
751         * buffer.C (save): s/slashify_path/internal_path/.
752
753 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
754
755         * lyxfind.C (findChange): do not search for end of pars, because
756         the change tracker cannot handle this (fixes bug 1719).
757
758 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
759
760         * paragraph.[Ch] (autoBreakRows): remove
761
762         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
763
764         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
765         avoid using the paragraph one
766
767         * text2.C (LyXText, insertStringAsLines): adjust
768
769 2004-12-16  Angus Leeming  <leeming@lyx.org>
770
771         * bufferlist.C:
772         * lyx_main.C:
773         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
774
775 2004-12-14  Angus Leeming  <leeming@lyx.org>
776
777         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
778
779         * bufferlist.C (emergencyWrite):
780         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
781         GetEnvPath("HOME").
782
783 2004-12-14  Angus Leeming  <leeming@lyx.org>
784
785         * main.C: (main): no longer pass pointers to os::init.
786
787 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
788
789         * undo.C (textUndoOrRedo): simplify logic, fix a crash
790         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
791
792 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * lyxfunc.C:
795         * text3.C: remove selection_possible global flag
796
797 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
798
799         * text2.C (getSelectionSpan): remove
800         (changeDepth, changeDepthAllowed): adjust
801
802 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
803
804         * Makefile.am (BOOST_LIBS): use boost variables
805
806 2004-12-03  José Matos  <jamatos@lyx.org>
807
808         * buffer.C: format up to 238.
809
810 2004-12-03  José Matos  <jamatos@lyx.org>
811
812         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
813
814 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
815
816         * cursor.C (goUpDown): remove call to idxUpDown2
817
818 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
819
820         * tabular.[Ch]: use size_t-like types for cell, row and column
821         indices
822
823 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
824
825         * lyxfunc.C (getStatus): do not lose previous information when
826         calling BufferView::getStatus; do not set a default "Command
827         disabled" message at the beginning, but just before returning.
828
829 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
830
831         * cursor.h (getStatus): add better comment from src/cursor.C
832
833 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * text3.C (getStatus): return false when the lfun is not handled
836
837 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
838
839         * broken_headers.h: remove
840
841         * Makefile.am (lyx_SOURCES): remove broken_headers.h
842
843 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
844
845         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
846         offset_ref accessors
847
848         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
849         top_y_, merge fitcursor with update
850         (updateScrollbar, scrollDocView, fitCursor, center, update): new
851         coord scheme
852         (metrics): introduce
853         (workAreaDispatch): adapt to new coord scheme
854         (redoCurrentBuffer): remove
855
856         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
857
858         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
859         CurStatus enum.
860
861         * coordcache.[Ch]: add paragraph cache and helpers
862
863         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
864         adjust everywhere
865
866         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
867         (targetX, setTargetX): introduce
868
869         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
870         baseline -> ascent, as the rest of lyx
871
872         * lyxtext.h: remove redoParagraphs, updateParPositions,
873         fullRebreak, redoParagraphInternal. move dist to anon namespace in
874         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
875         have ascent/descent (ascent is ascent of first par)
876
877         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
878         step of BufferView
879
880         * paragraph.[Ch]: unify dimension handling with the rest of lyx
881
882         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
883
884         * pariterator.C: fix infinite loop introduced in par->pit renaming
885
886         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
887         in insets and LyXText, draw two off-screen paragraphs using
888         NullPainter, and adapt to new coord scheme
889
890         * text.C:
891         * text2.C:
892         * text3.C: adapt lfun handlers to the new coord scheme, which
893         means: there's only guaranteed coord information for onscreen pars
894         plus one above and one below. This implies that one can do search
895         from y coordinates in the range [-1,workHeight]
896
897 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
898
899         * rename a lot of InsetOld to InsetBase
900
901 2004-11-25  Angus Leeming  <leeming@lyx.org>
902
903         * BufferView_pimpl.C:
904         * lyx_cb.C:
905         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
906
907 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
908
909         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
910         call BufferView::getStatus if LCursor::getStatus did nothing
911         (setStatusMessage, getStatusMessage): removed.
912
913         * FuncStatus.C (message): new methods. Used to provide an error
914         message indicating why a command is disabled.
915         (clear, |=, FuncStatus): update for message.
916
917 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
918
919         * lyxfunc.C (dispatch): always call sendDispatchMessage
920
921 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
922
923         * BufferView.C:
924         * BufferView_pimpl.C:
925         * CutAndPaste.C:
926         * FontIterator.C:
927         * buffer.C:
928         * cursor.C:
929         * cursor_slice.[Ch]:
930         * dociterator.[Ch]:
931         * lyxfind.C:
932         * paragraph_funcs.C:
933         * pariterator.C:
934         * rowpainter.C:
935         * text.C:
936         * text2.C:
937         * text3.C:
938         * undo.C: par->pit renaming
939
940 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
941
942         * tabular.C (cellstruct): use initialization, store a shared_ptr
943         to insettext instead of the insettext directly, adjust to fit.
944         (operator=):  new function
945         (swap): new function
946         (rowstruct): use initialization
947         (columnstruct): use initialization
948         (ltType): use initialization
949
950
951         * lyxlength.h (swap): new function
952
953         * LColor.[Ch] (operator=): use the common semantics
954
955 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * lyxfind.C (findNextChange): update the bufferview after setting
958         the selection.
959
960 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
963         number of InsetOptArgs has already been inserted.
964
965         * output_latex.C (latexOptArgInsets): new method. This outputs all
966         the optarg insets, up to the limit defined in the layout file.
967         (optArgInset): removed
968         (TeXOnePar): call latexOptArgInsets; correctly update texrow
969
970 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
971
972         * paragraph.C (isLetter): remove special spellchecker-related
973         code; return true also for digits
974         (isWord, isKomma): remove
975
976         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
977         * lyxfind.C (MatchString()): use isLetter instead of isWord
978
979 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
980
981         * pariterator.h (operatir=): comment out un-implemented member
982         function.
983
984         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
985         static cast.
986
987 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
988
989         * lyxfont.h: include LColor.h to satisfy concept checks.
990
991 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
992
993         * pariterator.h: add typdefs for value_type, difference_type,
994         pointer and reference to satisfy concept checks. Also add default
995         constructor for same reason.
996
997         * pariterator.C (operator++): add post-increment operator to
998         satisfy concept checks.
999
1000         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1001         checks.
1002
1003         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1004
1005         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1006         checks. Also rename base_type to BaseType to follow naming
1007         standard better.
1008
1009         * FloatList.h: include Floating.h to satisfy concept checks.
1010
1011 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1012
1013         * lyxfunc.C (getStatus): when the origin of the request is menu or
1014         toolbar, and the LyXView does not have focus, do as if there was
1015         no buffer (bug 1720)
1016
1017         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1018         FuncRequest to individual entries of LFUN_SEQUENCE
1019
1020 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1021
1022         * output_latex.C (TeXOnePar): override runparams.moving_arg
1023         according to the needprotect value of the current paragraph (bug
1024         1739)
1025
1026         * paragraph.C (simpleTeXOnePar): no need to override
1027         runparams.moving_args here
1028
1029 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1030
1031         * vspace.C: fix off-by-one-error, related to fix #1682
1032
1033 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1034
1035         * lengthcommon.C: a more general fix for bug 1682
1036
1037 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1038
1039         * text.C (backspace): fix crash
1040
1041 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1042
1043         * format.[Ch] (getFormatFromFile): new method
1044         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1045
1046 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1047
1048         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1049
1050 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * lyxfunc.C (dispatch): remove the verbose argument
1053         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1054         instead
1055
1056         * kbmap.C (defkey): set the origin of func to KEYBOARD
1057
1058         * MenuBackend.C (MenuItem):
1059         * ToolbarBackend.C (add): set the origin of func to UI
1060
1061         * funcrequest.[Ch]: add origin member, which indicates which part
1062         of LyX requests an action
1063
1064 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1065
1066         * converter.C (move): don't lie in the error message
1067         * converter.h (isReachable, move): document
1068
1069 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1070
1071         * buffer.C: remove unused using lyx::support::atoi
1072         * paragraph_funcs.C: ditto
1073
1074 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1075
1076         * bufferlist.C (exists): use bind and equal_to instead of
1077         compare_memfun
1078         (getBuffer): ditto
1079         * lyxtextclasslist.C (NumberOfClass): ditto
1080
1081         * cursor.C (insert): use for_each instead of explicit for loop
1082
1083         * bufferlist.C (getFileNames): use std::transform and
1084         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1085
1086         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1087         for loop
1088
1089         * buffer.C (changeLanguage): use for_each instead of explicit for
1090         loop
1091         (hasParWithID): implement using getParFromID
1092
1093         * LaTeXFeatures.C: ws change only
1094
1095         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1096         to cleanup a bit.
1097
1098         * BufferView_pimpl.C (trackChanges): use for_each instead of
1099         expilicit for loop
1100
1101 2004-11-04  André Pönitz  <poenitz@gmx.net>
1102
1103         * undo.h:
1104         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1105
1106         * dociterator.C (asDocIterator): use hard assert again.
1107
1108 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * lyxlength.C (asLatexString): rewrite so that it does not use
1111         snprintf anymore
1112
1113 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * text3.C (specialChar, dispatch): make sure cursor moves to the
1116         right after inserting an inset
1117
1118 2004-11-02  José Matos  <jamatos@lyx.org>
1119
1120         * output_docbook.C (docbook):
1121         * paragraph.C (getID):
1122         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1123         garantee that the output is always legal.
1124
1125         * tabular.C (docbook):
1126         * outputprams.[Ch]: remove mixed contents.
1127
1128 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1129
1130         * text2.C (setCounter): prevent endless loop
1131
1132 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1133
1134         * exporter.C (copyFile): use the mover instead of support::copy()
1135         * exporter.C (Export): pass format and latex name to copyFile()
1136         * exporter.h (addExternalFile): document
1137         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1138
1139 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1140
1141         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1142
1143 2004-10-30  José Matos  <jamatos@lyx.org>
1144
1145         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1146         text and no inset or font change. This allows to use CDATA
1147         sections just for the whole paragraph.
1148
1149 2004-10-30  José Matos  <jamatos@lyx.org>
1150
1151         * paragraph.C (getFirstWord): remove unused variable.
1152
1153 2004-10-30  José Matos  <jamatos@lyx.org>
1154
1155         * paragraph.C (getFirstWord): the content should always be escaped
1156         there.
1157         (simpleDocBookOnePar):
1158         * output_docbook.C (makeEnvironment): replace reference to CDATA
1159         to style pass_thru.
1160
1161 2004-10-30  José Matos  <jamatos@lyx.org>
1162
1163         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1164
1165 2004-10-30  José Matos  <jamatos@lyx.org>
1166
1167         * output_docbook.C (makeParagraphs):
1168         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1169         standard paragraph has only a given type of content drop the wrapper.
1170
1171 2004-10-29  José Matos  <jamatos@lyx.org>
1172
1173         * output_docbook.C (makeEnvironment):
1174         * sgml.C (openTag):
1175         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1176
1177 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1178
1179         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1180         (cleanID): sanitize any id.
1181
1182 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1183
1184         * buffer.C, lyxlex_pimpl.C:
1185         * lyxlex_pimpl.C (setFile):
1186         s/getExtFromContents/getFormatFromContents/
1187
1188 2004-10-28  José Matos  <jamatos@lyx.org>
1189
1190         * output_docbook.C (makeEnvironment): move id to broadest possible
1191         scope.
1192
1193         * sgml.C (openTag): apply substitution of <> for all attributes.
1194
1195 2004-10-28  José Matos  <jamatos@lyx.org>
1196
1197         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1198         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1199         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1200
1201         * sgml.[Ch]: new version for open and closeTag for paragraph and
1202         for strings. Now they handle the ids of paragraphs.
1203
1204 2004-10-26  Angus Leeming  <leeming@lyx.org>
1205
1206         * Makefile.am: add mover.[Ch].
1207
1208         * converter.C (convert, move): use the new Movers to move external
1209         files to the temp directory.
1210
1211         * lyx_main.C (init): ensure that the global system_movers data
1212         is initialised.
1213
1214         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1215         preferences file.
1216
1217         * mover.[Ch]: new files, defining a Mover as a utility to move an
1218         external file between directories and, if necessary, manipulate this
1219         file using a helper script.
1220
1221 2004-10-25  José Matos  <jamatos@lyx.org>
1222
1223         * output_docbook.C (makeCommand): merge two if's that tested the
1224         same condition.
1225
1226 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * sgml.C (escapeString): fix warning in a better way
1229
1230 2004-10-25  José Matos  <jamatos@lyx.org>
1231
1232         * sgml.C (escapeString): import the require boosts header file for
1233         tie, and avoid a signed unsigned comparison.
1234
1235 2004-10-25  José Matos  <jamatos@lyx.org>
1236
1237         * sgml.h: add #include <string>
1238
1239 2004-10-25  José Matos  <jamatos@lyx.org>
1240
1241         * sgml.[Ch] (escapeString): new function to escape all the string.
1242
1243 2004-10-24  José Matos  <jamatos@lyx.org>
1244
1245         * paragraph.[Ch] (getFirstWord): new function to get the first
1246         word. Useful for description.
1247         (simpleDocBookOnePar): remove depth argument, add another that
1248         says where to start the paragraph.
1249
1250         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1251         use the new functions to fix cleanly the support for descriptions.
1252
1253 2004-10-24  José Matos  <jamatos@lyx.org>
1254
1255         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1256         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1257         * output_linuxdoc.C (linuxdocParagraphs):
1258         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1259         add buffer as argument.
1260
1261 2004-10-24  José Matos  <jamatos@lyx.org>
1262
1263         * output_docbook.C (makeEnvironment, searchEnvironment): place
1264         CDATA inside paragraphs and fix scope for listitems.
1265
1266 2004-10-24  José Matos  <jamatos@lyx.org>
1267
1268         * output_docbook.C: remove using statement for stack.
1269
1270 2004-10-23  José Matos  <jamatos@lyx.org>
1271
1272         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1273         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1274         docbook. The new scheme is recursive and makes use of iterators, the
1275         same as latex export works.
1276         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1277         directly with the paragraph contents. This code was moved up to
1278         output_docbook.C (docbookParagraphs).
1279         * sgml.C (openTag, closeTag): removed unneeded newlines.
1280         (closeEnvTags) removed.
1281
1282 2004-10-23  André Pönitz  <poenitz@gmx.net>
1283
1284         * undo.C (textUndoOrRedo):
1285         * dociterator.C (asDocIterator): work around crash
1286
1287         * cursor.C (getStatus): replace ASSERT by more verbose error message
1288           and manual correction of the problem. Should increase stability
1289           while providing more sensible information.
1290
1291 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1294
1295         * bufferlist.C (previous, next): new methods
1296
1297         * lfuns.h:
1298         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1299
1300 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1301
1302         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1303         entities to preamble.
1304
1305 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1306
1307         * messages.C (Pimpl): strip off translation context information
1308
1309 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1310
1311         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1312         the cursor is correct (bug 1694)
1313
1314 2004-10-13  José Matos  <jamatos@lyx.org>
1315
1316         * output_docbook.C (docbookParagraphs): fix closing tags in the
1317         end of the document.
1318
1319 2004-10-09  José Matos  <jamatos@lyx.org>
1320
1321         * buffer.C: format up to 237.
1322         * bufferparams.C (write): use tostr to convert booleans to strings.
1323
1324 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1327
1328 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1329
1330         * LaTeX.C: implement use of babel language in xindy.
1331
1332 2004-10-05  José Matos  <jamatos@lyx.org>
1333
1334         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1335         Add new translators to help reading and writing the lyx file.
1336
1337 2004-10-05  José Matos  <jamatos@lyx.org>
1338
1339         * ParagraphParameters.C (read):
1340         * text.C (readParToken): replace nexToken by more appropriate lex
1341         methods.
1342
1343 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1344
1345         * LaTeX.C (runMakeIndex):
1346         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1347         (usually 'makeindex') configurable.
1348
1349         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1350         with a variable rather than with a number.
1351
1352 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1353
1354         * output_latex.C (TeXOnePar): make sure font setting is the first
1355         thing that gets output (and the last at the end). Should fix bug
1356         1404.
1357
1358 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1359
1360         * pch.h: use proper signal include
1361
1362         * LaTeX.h: Use preferred calling of Boost.Signal
1363         * buffer.h: ditto
1364
1365 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1366
1367         * pch.h: dont include <boost/function/function0.hpp>
1368
1369         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1370
1371         * paragraph_pimpl.h: remove usage of ShareContainer
1372
1373         * paragraph_pimpl.C: remove initialization of ShareContainer.
1374
1375 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1376
1377         Fix bug #1666
1378
1379         * BufferView.C (putSelectionAt): change the semantics when
1380         backwards == true: now, this just swaps cursor and anchor wrt the
1381         forward case
1382
1383         * BufferView.h (putSelectionAt): add some documentation
1384
1385         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1386         make sure backwardChar is done at least once (to avoid getting
1387         stuck)
1388         (findNextChange): use putSelectionAt in the forward direction
1389         (operator()): use Paragraph::isWord
1390
1391 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1392
1393         * Spacing.C (set): c_str fix
1394
1395 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * lyx_cb.C (Reconfigure): quote the name of configure script in
1398         case it contains spaces
1399
1400 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1401
1402         * client: new dir
1403
1404         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1405         (BOOST_LIBS): use top_buildir when looking for the file
1406
1407 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1408
1409         * pch.h: do not use include boost/format.hpp, multiple symbols
1410                 will result (gcc bug)
1411
1412
1413 2004-08-23  José Matos  <jamatos@lyx.org>
1414
1415         * bufferparams.C (readToken): fix reading of the author field.
1416
1417 2004-08-20  José Matos  <jamatos@lyx.org>
1418
1419         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1420
1421 2004-08-20  José Matos  <jamatos@lyx.org>
1422
1423         * lyxlex.[Ch] (findToken): remove function.
1424
1425         * ParagraphParameters.C (findToken):
1426         * bufferparams.C (findToken): replace call for previous function
1427         with local copy. This local function has one more argument, the
1428         read string argument.
1429
1430 2004-08-16  José Matos  <jamatos@lyx.org>
1431
1432         * ParagraphParameters.C (write):
1433         * Spacing.C (writeFile):
1434         * bufferparams.C (writeLaTeX):
1435         * lyx_cb.C (Reconfigure):
1436         * paragraph.C (write):
1437         * tabular.C (write): remove unnecessary space at end of line.
1438
1439
1440 2004-08-16  José Matos  <jamatos@lyx.org>
1441
1442         * text.C (readParagraph): remove debug message.
1443
1444 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1447         crash
1448
1449         * output_plaintext.C (asciiParagraph): set depth correctly
1450
1451         * outputparams.h: add member depth
1452
1453         * paragraph_funcs.C (ownerPar): remove.
1454
1455         * text2.C (setCounter): remove first_pit; comment out some
1456         non-working code that uses ownerPar
1457
1458         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1459         uses ownerPar
1460
1461 2004-08-16  José Matos  <jamatos@lyx.org>
1462
1463         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1464         For the same level of importance use the same chanel to report problems.
1465         (read): add code to deal with \begin_body and \end_body.
1466
1467
1468 2004-08-15  José Matos  <jamatos@lyx.org>
1469
1470         * lyxlex.C (getString): fix comment, buffer::readBody is now
1471         buffer:readDocument.
1472
1473         * tex-strings.C (string_papersize): Default -> default,
1474         Custom -> custom, for consistency with other options.
1475
1476 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1477
1478         * pch.h: new file
1479
1480         * Makefile.am: support pch
1481
1482 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * text.C (readParToken): remove the static LyXFont variable and
1485         pass it as a parameter instead. This fixes a nasty bug where an
1486         inset will be inserted with a bad font in some situations
1487         (readParagraph): adapt
1488
1489         * text2.C (setCounter): reduce number of calls to pars_[pit]
1490
1491         * text.C (singleWidth): add an assert, fix a test
1492
1493         * rowpainter.C (paintText): reduce number of calls to singleWidth
1494
1495         * paragraph.C (isHfill):
1496         (isNewline): ws only
1497
1498 2004-08-14  André Pönitz  <poenitz@gmx.net>
1499
1500         * text.C:
1501         * text2.C:
1502         * rowpainter.C:
1503         * lyxtext.h (several functions): use a Paragraph & argument
1504         instead of par_type
1505
1506 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1509
1510         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1511
1512         * text.C (singleWidth): remove useless test
1513
1514 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1515
1516         * tabular.h: remove bogus comments
1517
1518         * tabular.C (getDescentOfRow):
1519         (isPartOfMultiColumn): add assertions
1520
1521         * lyxlength.C (inPixels): remove #warning
1522
1523 2004-08-14  André Pönitz  <poenitz@gmx.net>
1524
1525         * paragraph.h: inline getChar()
1526
1527         * BufferView.h: remove unused declarations
1528
1529 2004-08-14  José Matos  <jamatos@lyx.org>
1530
1531         * Buffer.[Ch] (readDocument): new name for old readBody.
1532         * Buffer.C: new file format, new keywords: \begin_document,
1533         \begin_header, \begin_body, \end_body.
1534
1535         * bufferparams.C (readToken): replace all calls to lex.nextToken
1536         by lex.next(). Do the same to eatLine except where really needed.
1537
1538         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1539         line when writing to the lyx file.
1540
1541         * output_plaintext.C (asciiParagraph): fix Bibliography style
1542         handling.
1543
1544         * text.C (read): fix end of file handling.
1545
1546 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * MenuBackend.C (Menu::operator[]): new method to access
1549         individual menu items
1550         (Menu::hasFunc): new method. search for an item that corresponds
1551         to a given func
1552         (MenuBackend::specialMenu): new method
1553         (MenuBackend::expand): if a special menu has been set, skip
1554         entries whose func() appears in this menu
1555
1556 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1557
1558         * text3.C: use Debug::DEBUG a bit more
1559
1560         * text.C (leftMargin): try to simplify a tiny bit change var x to
1561         l_margin. Dont output the wide margins always.
1562         (rightMargin): no margin in inner texts
1563
1564         * rowpainter.h (nestMargin): new func
1565         (changebarMargin): new func
1566         (rightMargin): new func
1567
1568         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1569         now functions.
1570         (paintLast): ditto
1571
1572         * factory.C (createInset): modify setDrawFrame
1573
1574         * cursor.C: use Debug::DEBUG a bit more
1575
1576 2004-08-14  André Pönitz  <poenitz@gmx.net>
1577
1578         * coordcache.[Ch]:
1579         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1580         cache for all insets in (at least partially) visible (top-level)
1581         paragraphs.
1582
1583         * BufferView_pimpl.C: reset external coord cache before every update.
1584         This means the coord cache only contains valid entries.
1585
1586 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1587
1588         bug 1096
1589         * BufferView_pimpl.C (getInsetByCode): move function out of class
1590         and change in to a template in anon namespace. Also fix to do what
1591         suits us better.
1592
1593 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1594
1595         bug 1305
1596         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1597         of char
1598         (breakParagraph): rename par to par_offset and use a local
1599         reference. Add code to keep the language over a rebreak.
1600         (breakParagraphConservative): rename par to par_offset, use a
1601         local reference
1602         (mergeParagraph): ditto
1603         (outerHook): ditto
1604         (isFirstInSequence): ditto
1605         (outerFont): rename pit to par_offset
1606
1607         * paragraph.C: ws change
1608         * paragraph.h: ditto
1609         * text3.C: ditto
1610         * text.C: ditto
1611
1612 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1615         treatment for ']'
1616
1617         * paragraph.C (simpleTeXOnePar): when we have a \item with
1618         optional argument, enclose the argument with curly brackets (in
1619         case it contains a closing square bracket)
1620
1621         * text2.C (editXY):
1622         * text2.C (editXY):
1623         * text3.C (checkInsetHit): constify
1624
1625 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1628         documents (bug 1629)
1629
1630 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1631
1632         Fix toggling of collapsable insets with the mouse (bug 1558)
1633
1634         * lyxfunc.C (dispatch): adapt to LCursor changes
1635
1636         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1637         make sure that dispatch is not invoked twice
1638
1639         * cursor.C (needsUpdate): new method
1640         (dispatch): return void
1641         (result): new method, to access the DispatchResult of the cursor.
1642
1643 2004-08-13  José Matos  <jamatos@lyx.org>
1644
1645         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1646
1647 2004-08-13  André Pönitz  <poenitz@gmx.net>
1648
1649         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1650
1651         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1652           multiple cells
1653
1654 2004-08-12  André Pönitz  <poenitz@gmx.net>
1655
1656         * text3.C: take out the 'cursor right' form insertInset and only
1657         do it in those places when it is really needed. Fixes crash on
1658         C-m...
1659
1660 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1661
1662         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1663
1664         * BufferView_pimpl.C (setBuffer): initialize the current font of
1665         the underlying LyXText
1666
1667 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1668
1669         * kbsequence.C (print): use UI native formatting for menu
1670         shortcuts
1671
1672         * text.C (insertChar): call Paragraph::insertChar with a font
1673         argument (cosmetic)
1674
1675         * paragraph.C (insertInset, insertChar): the version that takes a
1676         LyXFont argument is now a wrapper around the other one (the
1677         opposite used to be true).
1678
1679         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1680         argument. Font setting is done in Paragraph now.
1681
1682 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683
1684         * outputparams.h: add new members intitle and lang.
1685
1686         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1687         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1688
1689 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1690
1691         * text3.C (dispatch): remove special handling of button 4 and 5,
1692         it is now taken care of in the frontend code.
1693
1694 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1695
1696         * Spacing.h: add <string> (STLPort compile fix)
1697
1698 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1699
1700         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1701
1702 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1703
1704         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1705         to bool.
1706
1707         * converter.C (showMessage): inherit from unary_function, make
1708         operator() const.
1709
1710         * buffer.C (writeFile): initialize retval
1711
1712         * InsetList.h: rename private variable list to list_
1713         * InsetList.[Ch]: adjust accordingly.
1714
1715 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1716
1717         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1718         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1719         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1720         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1721         * ParagraphParameters.C, LaTeXFeatures.C: replace
1722         "support/std_sstream.h" with <sstream>
1723
1724 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1725
1726         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1727         * lyxsocket.C (LyXServerSocket): ditto
1728         (serverCallback): ditto
1729
1730 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1731
1732         * LaTeXFeatures.C: check release date when loading jurabib.
1733
1734 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1735
1736         * lyxserver.C (startPipe): call register_socket_callback
1737         (endPipe): call unregister_socket_callback
1738
1739 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1740
1741         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1742         (LyXServerSocket): register the callback
1743         (LyXServerSocket): unregister the callback
1744         (fd): delete function
1745         (serverCallback): improve error checking and setup the callbacks.
1746         (dataCallback): change arg to fd.
1747         (writeln): new func (copied fro the client socket) used for server
1748         write to client.
1749         (LyXDataSocket): simplify
1750         (~LyXDataSocket): close ann unregiser callback
1751         (server): delete function
1752         (fd): delete function
1753         (readln): small changes, improve some std::string usage
1754         (writeln): constify a bit
1755
1756 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1759         Qt frontend
1760
1761 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1764         after it has been populated
1765
1766 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * text2.C (insertInset): move cursor when inserting inset.
1769
1770 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1771
1772         * kbmap.C (findbindings): a couple of new methods. returns a
1773         container of kb_sequence objects. The real work is done by the
1774         private recursive version
1775         (printbindings): uses findbindings to print out a bracketed list
1776         of bindings (renamed from findbinding).
1777
1778         * MenuBackend.C (binding): use kb_keymap::findbindings
1779
1780         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1781
1782 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1783
1784         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1785
1786 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1787
1788         * paragraph.C (isWord): return true on insets that report
1789         isLetter().
1790
1791         * text.C (getWord): use Paragraph::isWord to decide what is in a
1792         word and what is not; fix bug 1609.
1793
1794 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1795
1796         * tex-strings.C: add "none" to string_paperpackages[], fixes
1797         off-by-one-error in the paperpackage selection.
1798
1799         * lyxlex.[Ch]:
1800         * tex-strings.[Ch]: char const * string[n]
1801         -> char const * const string[]
1802
1803 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1804
1805         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1806         command, return early.
1807
1808 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1809
1810         * debug.h: add DEBUG to enum and fix size of ANY.
1811
1812         * debug.C: add support for Debug::DEBUG
1813         (showTags): cast errorTags.level to unsigned int
1814
1815         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1816         (redoCurrentBuffer): ditto
1817         (updateScrollbar): ditto
1818         * cursor.C (dispatch): ditto
1819         * text2.C (setLayout): ditto
1820         (setFont): ditto
1821         (updateCounters): ditto
1822         (editXY): ditto
1823         (deleteEmptyParagraphMechanism): ditto
1824
1825 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1826
1827         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1828         annotations to cleanup the Makefile slightly.
1829
1830 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1831
1832         * lyxrc.C: do not set user_email to a default value but use empty
1833         instead. The entry used to be translated, which does not work
1834         since at the point where lyxrc is constructed there is no
1835         translation service available
1836
1837         * messages.C (getLocaleDir): remove and use directly
1838         lyx_localedir() instead
1839
1840 2004-06-02  Angus Leeming  <leeming@lyx.org>
1841
1842         Fix crash caused by dereferencing null pointer 'exportdata' in
1843         OutputParams by creating a new ExportData variable on the heap,
1844         storing it in a boost::shared_ptr.
1845         The crash was triggered when generating an Instant Preview
1846         of an external inset.
1847
1848         * Makefile.am: add outputparams.C
1849
1850         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1851         (c-tor): allocate memory to it.
1852
1853         * exporter.C (c-tor): associated changes.
1854
1855 2004-06-01  Angus Leeming  <leeming@lyx.org>
1856
1857         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1858         contains data before calling isInset(0). (Bug 1513.)
1859
1860 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1861
1862         * exporter.C (checkOverwrite): new method
1863         * exporter.C (copyFile): new method
1864         * exporter.C (Export): copy referenced files to the document dir
1865         * exporter.[Ch]: new class ExportedFile
1866         * exporter.[Ch]: new class ExportData. Contains currently the
1867         names of referenced external files
1868         * outputparams.h: add exportdata member.
1869
1870 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1871
1872         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1873         version.C-tmp
1874
1875 2004-05-19  Angus Leeming  <leeming@lyx.org>
1876
1877         * LaTeXFeatures.C:
1878         * ToolbarBackend.C:
1879         * bufferparams.C:
1880         * lyxfunc.C: small changes due to the introduction of namespace
1881         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1882
1883 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1884
1885         * text3.C (dispatch): supress update when only moving the cursor
1886         * cursor.C (selHandle): remove commented code
1887
1888 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1889
1890         * paragraph.C (startTeXParParams): correct column count
1891         * CutAndPaste.C (pasteSelection): remove const_cast
1892         * output_docbook.C (docbookParagraphs): remove const_cast
1893         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1894         const_cast and return ParagraphList::const_iterator
1895         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1896         * output_plaintext.C (writeFileAscii): remove const_cast
1897         * paragraph.[Ch] (simpleTeXOnePar): make const
1898         * paragraph_funcs.C (outerPar): use const iterators
1899         * paragraph_pimpl.C (validate): use const iterators
1900         * text.C (setHeightOfRow): use const iterators
1901
1902 2004-05-17  Angus Leeming  <leeming@lyx.org>
1903
1904         * lfuns.h:
1905         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1906
1907         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1908         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1909         if the citation engine has changed.
1910
1911 2004-05-14  José Matos  <jamatos@lyx.org>
1912
1913         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1914         if the textclass does not provide it. Have it different for sgml and
1915         xml.
1916         support the language of document.
1917         * output_docbook.C (docbookParagraphs):
1918         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1919         first anchor as the id of the paragraph, remove special case code.
1920         * sgml.C (escapeChar): escape only < & >.
1921
1922 2004-05-14  Angus Leeming  <leeming@lyx.org>
1923
1924         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1925         dependencies on src/frontends/controllers/biblio.h. Define a
1926         CiteEngine_enum wrapper class to enable the enum to be forward
1927         declared.
1928
1929 2004-05-12  Angus Leeming  <leeming@lyx.org>
1930
1931         * buffer.C: up LYX_FORMAT to 234.
1932         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1933         use_numerical_citations with a single biblio::CiteEngine cite_engine
1934         variable.
1935         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1936
1937 2004-05-13  José Matos  <jamatos@lyx.org>
1938
1939         * converter.h:
1940         * converter.C (Converter, readFlags): add xml member.
1941         * outputparams.h: add XML flavor.
1942         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1943
1944 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1945
1946         * lyxfunc.C (dispatch):
1947         (getStatus): fix handling of LFUN_SEQUENCE
1948
1949 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950
1951         * debug.C (showLevel): do not forget the end-of-line marker
1952
1953 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * kbmap.C (read): do not stop parsing a bind file when an error
1956         occurs (bug 1575)
1957
1958 2004-04-29  Angus Leeming  <leeming@lyx.org>
1959
1960         * cursor.C:
1961         * factory.C:
1962         * pariterator.C:
1963         * text2.C: wrap a bunch of #warning statements
1964         inside #ifdef WITH_WARNINGS blocks.
1965
1966 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1967
1968         * buffer.C: increment format to 233.
1969
1970 2004-04-28  Angus Leeming  <leeming@lyx.org>
1971
1972         * BufferView_pimpl.C:
1973         * lyxfunc.C:
1974         * text3.C:
1975         s/updateToolbar()/updateToolbars()/
1976         s/Toolbar.h/Toolbars.h/
1977
1978 2004-04-28  Angus Leeming  <leeming@lyx.org>
1979
1980         * BufferView.[Ch] (c-tor):
1981         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1982         No longer passes these data to the WorkArea generator.
1983
1984 2004-04-28  Angus Leeming  <leeming@lyx.org>
1985
1986         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1987
1988 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1989
1990         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1991
1992 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1993
1994         * output_latex.C (TeXEnvironment): make sure that there is a line
1995         break before \end{foo} for the last paragraph of a document
1996         (TeXOnePar): if the paragraph is at the end of the document (or
1997         inset) and the language has to be reset, then make sure that the
1998         line break is _before_ the language command, not after (fixes bug
1999         1225); also make sure that the language reset command is the first
2000         thing after the paragraph (to ensure proper nesting of
2001         environments and thus fix bug 1404)
2002
2003 2004-04-21  John Levon  <levon@movementarian.org>
2004
2005         * ToolbarBackend.h:
2006         * ToolbarBackend.C: make "name" be a programmatic name
2007         and a gui_name field.
2008
2009         * lyxfunc.C: display the minibuffer on M-x
2010
2011 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2012
2013         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2014         (bug 1526)
2015
2016 2004-04-19  Angus Leeming  <leeming@lyx.org>
2017
2018         * BufferView_pimpl.C (setBuffer): changed preview interface.
2019
2020         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2021         possible values.
2022
2023 2004-04-19  John Levon  <levon@movementarian.org>
2024
2025         * BufferView_pimpl.C:
2026         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2027
2028 2004-04-05  Angus Leeming  <leeming@lyx.org>
2029
2030         * text.C (redoParagraphs): add call to updateCounters(), thereby
2031         fixing the missing "Figure #:" label from the caption of a
2032         figure float.
2033
2034 2004-04-13  Angus Leeming  <leeming@lyx.org>
2035
2036         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2037         cursor is clicked out of an inset.
2038
2039 2004-04-13  Angus Leeming  <leeming@lyx.org>
2040
2041         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2042         than an InsetOld one.
2043
2044 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2045
2046         * format.[Ch]: add editor to Format
2047         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2048         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2049
2050 2004-04-08  André Pönitz  <poenitz@gmx.net>
2051
2052         * metricsinfo.h: remove PainterInfo::width member
2053
2054 2004-04-08  Angus Leeming  <leeming@lyx.org>
2055
2056         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2057         "\providecommand" rather than "\newcommand", thereby preventing
2058         clashes with packages that define "\boldsymbol" themselves.
2059         Eg, beamer.
2060
2061 2004-04-08  Angus Leeming  <leeming@lyx.org>
2062
2063         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2064         thereby squashing an unnecessary warning.
2065
2066 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2067
2068         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2069         setBuffer()
2070
2071 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2072
2073         * BufferView.C (setCursor): call redoParagraph (some insets could
2074         have been opened)
2075         (putSelectionAt): remove the 'double update' trick
2076
2077         * BufferView_pimpl.C (fitCursor): call refreshPar
2078         (workAreaDispatch): remove an uneeded update call
2079         (dispatch): remove some manual update calls
2080
2081         * cursor.[Ch]: remove cached_y_, updatePos
2082         (selHandle): set noUpdate when appropriate
2083
2084         * lyxfunc.C (dispatch): track if we need an update
2085
2086         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2087
2088         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2089         (paintSelection): cheap optimization, do not call cursorX when not
2090         needed
2091         (paintPars): change signature
2092         (refreshPar): add
2093         (paintText): adjust
2094         (paintTextInset): adjust
2095
2096         * text.C: adjust
2097
2098 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2099
2100         * lengthcommon.C: compilation fix: remove explicit array size from
2101         unit_name[] and friends
2102
2103 2004-04-05  Angus Leeming  <leeming@lyx.org>
2104
2105         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2106
2107         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2108         present only for the preferences dialog.
2109         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2110
2111 2004-04-05  Angus Leeming  <leeming@lyx.org>
2112
2113         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2114         to enable the frontends to export changes to lyxrc correctly.
2115
2116         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2117
2118 2004-04-07  André Pönitz  <poenitz@gmx.net>
2119
2120         * cursor.[Ch] (selClear, adjust): remove math
2121
2122         * cursor_slice.C: more agressive assert
2123
2124         * lyxfunc.C:
2125         * BufferView_pimpl.C: rework mouse event dispatch
2126
2127         * dociterator.C:
2128         * paragraph.C:
2129         * text2.C:
2130         * text3.C: adjust
2131
2132 2004-04-05  André Pönitz  <poenitz@gmx.net>
2133
2134         * cursor.[Ch] (valign, halign...): remove unneeded functions
2135
2136 2004-04-05  Angus Leeming  <leeming@lyx.org>
2137
2138         * lyxlength.[Ch] (unit_name et al.): const-correct.
2139
2140 2004-04-05  Angus Leeming  <leeming@lyx.org>
2141
2142         * BufferView_pimpl.C:
2143         * buffer.C:
2144         * counters.C:
2145         * cursor.C:
2146         * lyxfunc.C
2147         * paragraph.C:
2148         * pariterator.C:
2149         * text.C:
2150         * text2.C:
2151         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2152
2153 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2156
2157 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2160         * BufferView_pimpl.[Ch] (getStatus)
2161         * BufferView.[Ch] (getStatus): add
2162         * lyxfunc.C (getStatus): move lfuns handled in
2163         BufferView::dispatch to te function above
2164         * Cursor.C (setSelection): set selection() = true
2165
2166 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2167
2168         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2169
2170 2004-03-31  Angus Leeming  <leeming@lyx.org>
2171
2172         * lyxfunc.C (dispatch): Fall through to the generic
2173         Dialogs::show("preamble").
2174
2175 2004-03-31  Angus Leeming  <leeming@lyx.org>
2176
2177         * lyxfunc.C (dispatch): Fall through to the generic
2178         Dialogs::show("spellchecker").
2179
2180 2004-03-31  Angus Leeming  <leeming@lyx.org>
2181
2182         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2183         preferences dialog.
2184
2185 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2186
2187         * BufferView.C
2188         * cursor.[Ch]
2189         * dociterator.[Ch]:
2190         * insetiterator.[Ch]:
2191         * lyxfind.C:
2192         * lyxfunc.C:
2193         * pariterator.[Ch]:
2194         * text2.C:
2195         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2196
2197 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2198
2199         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2200         insets where we are putting the cursor.
2201
2202 2004-03-31  Angus Leeming  <leeming@lyx.org>
2203
2204         * lfuns.h:
2205         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2206
2207         * lyxrc.[Ch] (read, write): overloaded member functions taking
2208         a std::[io]stream arguments.
2209
2210         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2211
2212 2004-03-31  Angus Leeming  <leeming@lyx.org>
2213
2214         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2215         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2216
2217         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2218         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2219
2220 2004-03-31  Angus Leeming  <leeming@lyx.org>
2221
2222         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2223         the LFUN_ALL_INSETS_TOGGLE code.
2224
2225 2004-03-30  Angus Leeming  <leeming@lyx.org>
2226
2227         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2228         has died. Fall through to the generic Dialogs::show("document").
2229
2230 2004-03-30  Angus Leeming  <leeming@lyx.org>
2231
2232         * lfuns.h:
2233         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2234         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2235
2236         * lyxfunc.C (getStatus, dispatch): define the actions for these
2237         lfuns. Little more than a cut and pste job from ControlDocument.C
2238
2239         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2240
2241 2004-03-30  Angus Leeming  <leeming@lyx.org>
2242
2243         * lfuns.h:
2244         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2245         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2246
2247         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2248         open/closed state of ollapsable insets. Usage:
2249
2250         all-inset-toggle <state> <name>, where
2251         <state> == "open" || "closed" || "toggle" and
2252         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2253
2254         * lyxtext.h, text2.C (toggleInset): removed.
2255
2256         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2257         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2258         now passes LFUN_INSET_TOGGLE to the found inset.
2259
2260         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2261         is now invoked as "all-insets-toggle toggle branch".
2262
2263 2004-03-30  Angus Leeming  <leeming@lyx.org>
2264
2265         * dociterator.C:
2266         * insetiterator.C:
2267         * pariterator.[Ch]: added/corrected header blurb.
2268
2269 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * dociterator.[Ch]: add an inset_ member
2272         (backwardPos): implemented
2273         (backwardPos, forwardPos): use inset_ when the stack is empty.
2274         (doc_iterator_begin, doc_iterator_end): implemented
2275         * pariterator.[Ch]: adjust, add begin, end
2276         * insetiterator.[Ch]: adjust, add begin, end
2277         * cursor.C:
2278         * document.C:
2279         * BufferView.C:
2280         * BufferView_pimpl.C:
2281         * CutAndPaste.C: adjust
2282
2283 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2284
2285         * buffer.C: increment file format to 232.
2286         * LaTeXFeatures.C: add bibtopic package.
2287         * bufferparams.[Ch]: param \use_bibtopic.
2288
2289         * lyxrc.[Ch]: add lyxrc bibtex_command
2290         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2291
2292         * buffer.C: increment file format to 231.
2293
2294 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2295
2296         * dociterator.C: implement forwardPar
2297         * iterators.[Ch]: remove, replaced by
2298         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2299         * BufferView.C:
2300         * BufferView_pimpl.C:
2301         * CutAndPaste.C:
2302         * buffer.C:
2303         * bufferview_funcs.C:
2304         * cursor.C:
2305         * lyxfind.C
2306         * lyxfunc.C
2307         * paragraph_funcs.C
2308         * toc.C:
2309         * Makefile.am: adjust
2310
2311 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2312
2313         * CutAndPaste.C (pasteSelection): fix 2 crashes
2314         (eraseSelection): fix a crash
2315         * paragraph_funcs.C: remove a warning
2316
2317 2004-03-28  Angus Leeming  <leeming@lyx.org>
2318
2319         * lfuns.h:
2320         * LyXAction.C (init): new LFUN_PRINT.
2321
2322         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2323
2324 2004-03-27  Angus Leeming  <leeming@lyx.org>
2325
2326         * lfuns.h:
2327         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2328
2329         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2330
2331 2004-03-27  Angus Leeming  <leeming@lyx.org>
2332
2333         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2334         insetlist always contains non-null pointers to insets.
2335
2336 2004-03-26  Angus Leeming  <leeming@lyx.org>
2337
2338         * src/BufferView_pimpl.C:
2339         * src/CutAndPaste.C:
2340         * src/buffer.C:
2341         * src/iterators.C:
2342         * src/output_plaintext.C:
2343         * src/outputparams.h:
2344         * src/paragraph_funcs.C:
2345         * src/rowpainter.C:
2346         * src/text.C:
2347         * src/text2.C:
2348         * src/frontends/controllers/ControlErrorList.C:
2349         * src/frontends/gtk/FileDialogPrivate.C:
2350         * src/frontends/gtk/GPainter.C:
2351         * src/frontends/gtk/GToolbar.C:
2352         * src/frontends/qt2/QRef.C:
2353         * src/mathed/math_scriptinset.C: squash compiler warnings.
2354
2355 2004-03-26  Angus Leeming  <leeming@lyx.org>
2356
2357         * ispell.C (LaunchIspell::start):
2358         * lyx_cb.C (AutoSaveBuffer::start):
2359         invoke run(DontWait) rather than runNonBlocking().
2360
2361 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2364
2365 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2366
2367         * kbsequence.C (print): adjust
2368
2369         * kbmap.C (printKeySym): rename and change signature
2370         (printKey): use LyXKeySym::print()
2371
2372 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2373
2374         * undo.C: add using std::advance to compile for stlport
2375
2376 2004-03-24  Angus Leeming  <leeming@lyx.org>
2377
2378         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2379         it leads to a crash when no buffer is present.
2380
2381 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2382             Martin Vermeer  <martin.vermeer@hut.fi>
2383
2384         * lyxfunc.C (dispatch):
2385         * bufferparams.C (readToken): use the new LColor::setColor
2386
2387         * LColor.[Ch] (setColor): new version that takes two strings as
2388         argument and creates a new color entry if necessary
2389
2390 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2391
2392         * buffer.C (makeLaTeXFile): if the main latex file that is
2393         processed is usually a subdocument of some master, then pretend
2394         for a while that it is actually the master
2395
2396 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2397
2398         * buffer.C (getLabelList):
2399         (getBibkeyList): use getMasterBuffer()
2400         (getMasterBuffer): new method. Returns the main document in the
2401         case where one is using included documents.
2402
2403 2004-03-25  André Pönitz  <poenitz@gmx.net>
2404
2405         * Makefile.am:
2406         * iterators.[Ch]:
2407         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2408
2409         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2410
2411         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2412         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2413
2414         * ParameterStruct.h: merge with ParagraphParameters
2415
2416         * lyxtext.h: remove LyXText::parOffset() and getPar()
2417
2418         * text3.C: Remove all 'manual' update calls. We do now one per user
2419         interaction which is completely sufficient.
2420
2421         * Bidi.C:
2422         * BufferView.[Ch]:
2423         * BufferView_pimpl.C:
2424         * FontIterator.[Ch]:
2425         * MenuBackend.C:
2426         * ParagraphParameters.[Ch]:
2427         * buffer.C:
2428         * buffer.h:
2429         * bufferlist.C:
2430         * cursor.[Ch]:
2431         * cursor_slice.[Ch]:
2432         * dociterator.[Ch]:
2433         * errorlist.[Ch]:
2434         * factory.C:
2435         * lfuns.h:
2436         * lyxfind.C:
2437         * lyxfunc.C:
2438         * output_docbook.[Ch]:
2439         * output_latex.[Ch]:
2440         * output_linuxdoc.[Ch]:
2441         * output_plaintext.[Ch]:
2442         * paragraph.[Ch]:
2443         * paragraph_funcs.[Ch]:
2444         * paragraph_pimpl.[Ch]:
2445         * rowpainter.C:
2446         * tabular.[Ch]:
2447         * text.C:
2448         * text2.C:
2449         * toc.C:
2450         * undo.[Ch]: adjust
2451
2452         * frontends/controllers/ControlDocument.C:
2453         * frontends/controllers/ControlErrorList.C:
2454         * frontends/controllers/ControlSpellchecker.C:
2455         * insets/inset.C:
2456         * insets/inset.h:
2457         * insets/insetbase.h:
2458         * insets/insetbibitem.C:
2459         * insets/insetbox.C:
2460         * insets/insetbranch.C:
2461         * insets/insetcaption.C:
2462         * insets/insetcharstyle.C:
2463         * insets/insetcharstyle.h:
2464         * insets/insetcollapsable.C:
2465         * insets/insetcollapsable.h:
2466         * insets/insetert.C:
2467         * insets/insetfloat.C:
2468         * insets/insetfoot.C:
2469         * insets/insetmarginal.C:
2470         * insets/insetnote.C:
2471         * insets/insetoptarg.C:
2472         * insets/insettabular.C:
2473         * insets/insettext.C:
2474         * insets/insettext.h:
2475         * insets/insetwrap.C:
2476         * mathed/math_mboxinset.C:
2477         * mathed/math_nestinset.C:
2478         * mathed/math_scriptinset.C:
2479         * mathed/math_scriptinset.h:
2480         * support/types.h:
2481
2482 2004-03-24  Angus Leeming  <leeming@lyx.org>
2483
2484         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2485         deal with any child processes that have finished but are waiting to
2486         communicate this fact to the rest of LyX.
2487
2488 2004-03-24  Angus Leeming  <leeming@lyx.org>
2489
2490         64-bit compile fixes.
2491
2492         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2493         (c-tor): pass lyx::pos_types rather than ints.
2494
2495         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2496         lyx::pos_type.
2497
2498         * text.C (Delete): compile fix.
2499         (getPar): ensure that function declaration is the same as that in
2500         the header file.
2501
2502 2004-03-23  Angus Leeming  <leeming@lyx.org>
2503
2504         * ispell.C (LaunchIspell):
2505         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2506         a boost::shred_ptr rather than a std::auto_ptr.
2507
2508 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2509
2510         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2511         handle LFUN_FILE_INSERT_*
2512
2513         * lyxrc.C (setDefaults, getDescription, output, read):
2514         * lyxrc.h: remove ps_command
2515
2516 2004-03-22  Angus Leeming  <leeming@lyx.org>
2517
2518         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2519         Ensure that error_handler is processed once only and that all data
2520         is saved before attempting to output any warning messages.
2521
2522         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2523
2524 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2525
2526         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2527
2528 2004-03-19  André Pönitz  <poenitz@gmx.net>
2529
2530         * cursor.[Ch] (reset): take main text inset as argument
2531
2532         * BufferView: adjust
2533         * BufferView_pimpl.C: adjust
2534
2535         * paragraph.[Ch]: fix completely broken operator=()
2536
2537 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2538
2539         * LColor.C (getFromLyXName): make sure that the color name is used
2540         as lowercase.
2541
2542 2004-03-17  Angus Leeming  <leeming@lyx.org>
2543
2544         * lfuns.h:
2545         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2546
2547         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2548         dialog and to kill a forked process.
2549
2550 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * text2.C (setCursorFromCoordinates): fix font problem
2553
2554 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2555
2556         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2557         bogus "rebuild cursor" code
2558
2559 2004-03-11  André Pönitz  <poenitz@gmx.net>
2560
2561         * buffer.[Ch]: use InsetText instead of LyXText as container for
2562         the main lyx text.
2563
2564         * dociterator.[Ch]: drop the BufferView * member which is not needed
2565         anymore after the change to buffer.C
2566
2567         * paragraph_funcs.C:
2568         * text.C:
2569         * text2.C:
2570         * BufferView.[Ch]:
2571         * BufferView_pimpl.[Ch]:
2572         * cursor.[Ch]:
2573         * cursor_slice.[Ch]: adjust
2574
2575         * text3.C: fix bug in mathDispatch
2576
2577 2004-03-08  André Pönitz  <poenitz@gmx.net>
2578
2579         * undo.[Ch]: use 'StableDocumentIterator' as base for
2580         the Undo struct.
2581
2582 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2583
2584         * LaTeXFeatures.C:
2585         * bufferparams.[Ch]: add jurabib support and param.
2586
2587         * LaTeX.C: add FIXME/comment.
2588
2589 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2590
2591         * buffer.C: increment file format to 230.
2592
2593 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * cursor.C (dispatch): avoid infinite loops
2596
2597 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2598
2599         * rowpainter.C (paintSelection): fix x coordinates
2600
2601 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2602
2603         * text.C (rowBreakPoint): fix breaking before displayed insets
2604
2605 2004-03-01  André Pönitz  <poenitz@gmx.net>
2606
2607         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2608
2609         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2610
2611         * Makefile.am:
2612         * BufferView.C:
2613         * BufferView_pimpl.C:
2614         * buffer.C:
2615         * lyxfind.C:
2616         * lyxfunc.C:
2617         * text.C:
2618         * text2.C:
2619         * text3.C: adjust
2620
2621 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2622
2623         * lyxtext.h:
2624         * text.C:
2625         * text2.C:
2626         * rowpainter.C:
2627         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2628         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2629
2630 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2631
2632         * Bidi.[Ch] (computeTables): const correctness
2633         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2634         fill_hfill, fill_label_hfill and x from Row
2635         * lyxtext.h: prepareToPrint returns a RowMetrics
2636         * rowPainter.C: adjust
2637         * text.C (prepareToPrint): use width, not textWidth. adjust
2638         (redoParagraphInternal, cursorX): adjust
2639         * text2.C (getColumnNearX): adjust
2640         (init): put a default value to the top LyXText::width
2641
2642 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2643
2644         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2645
2646 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2647
2648         * lyxtext.h: add FontIterator class
2649
2650         * text.C (FontIterator, operator*, operator->, operator++): add
2651         (rowBreakPoint, setRowWidth): adjust (fixing a
2652         rebreaking bug)
2653
2654 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2655
2656         * BufferView_pimpl.C (workAreaDispatch): allow also
2657         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2658
2659 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2660
2661         * text.C (rowBreakPoint): fix a bug showing with very large insets
2662
2663 2004-02-25  André Pönitz  <poenitz@gmx.net>
2664
2665         * text3.C:
2666         * cursor.[Ch]: move some mathed specific code to mathed
2667
2668 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2669
2670         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2671         use_tempdir in preferences
2672         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2673         tempfile creation
2674         * lyx_main.C: ensure that tempdir is valid
2675         * lyxlex.h: correct typo
2676         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2677         * paragraph.[Ch] (isMultiLingual): make const
2678         * cursor.[Ch] (openable): make const
2679
2680 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2681
2682         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2683
2684 2004-02-20  André Pönitz  <poenitz@gmx.net>
2685
2686         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2687
2688         * cursor.[Ch]: prepare for localized getStatus()
2689
2690         * lyxtext.h:
2691         * tabular.C:
2692         * text.C:
2693         * text2.C:
2694         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2695
2696 2004-02-20  André Pönitz  <poenitz@gmx.net>
2697
2698         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2699
2700 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * text2.C (setCursorFromCoordinates): switch to absolute coords
2703         (cursorUp): adjust
2704         (cursorDown): adjust
2705         * text3.C (dispatch): adjust
2706
2707 2004-02-16  André Pönitz  <poenitz@gmx.net>
2708
2709         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2710           insets/ChangeLog)
2711
2712         * cursor_slice.[Ch]: remove unneeded acessor function
2713
2714         * lyxtext.h: rename rtl() to isRTL()
2715
2716         * rowpainter.C:
2717         * tabular.C:
2718         * text.C:
2719         * text2.C:
2720         * text3.C: adjust
2721
2722 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2723
2724         * rowpainter.C (paintSelection): coord fix
2725
2726 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2727
2728         * Spacing.C: compile fix
2729
2730 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2731
2732         * cursor.C (dispatch): restore current_ before returning
2733
2734 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * text2.C (cursorUp, cursorDown): fix coords
2737         (moveUp): fix crash
2738
2739 2004-02-12  André Pönitz  <poenitz@gmx.net>
2740
2741         * lyxtext.h:
2742         * text.C:
2743         * text2.C:
2744         * text3.C: add LCursor & parameter to most cursor movement functions
2745           remove usage of LyXText::cursorRow() and cursorPar()
2746
2747         * cursor.[Ch]: add textRow() needed members
2748
2749         * BufferView.C:
2750         * BufferView_pimpl.C:
2751         * paragraph.[Ch]:
2752         * BufferView.C:
2753         * BufferView_pimpl.C: adjust
2754
2755 2004-02-11  André Pönitz  <poenitz@gmx.net>
2756
2757         * lyxfunc.C:
2758         * BufferView.[Ch]:
2759         * BufferView_pimpl.C: shift undo/redo handling
2760
2761         * cursor.[Ch]: fix mathed crash
2762
2763         * lyxfind.C:
2764         * lyxtext.h: move selectionAsText to LCursor
2765
2766         * output_latex.C:
2767         * paragraph.C:
2768         * text.C:
2769         * text2.C:
2770         * text3.C: adjust
2771
2772         * rowpainter.C: fix excessive drawing
2773
2774 2004-02-06  André Pönitz  <poenitz@gmx.net>
2775
2776         * BufferView.[Ch]:
2777         * BufferView_pimpl.[Ch]:
2778         * text3.C: move some text specific LFUN handling
2779
2780 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2781
2782         * text3.C (checkInsetHit): adjust coords
2783         * text2.C (getColumnNearX): adjust coords
2784         (edit): adjust coords
2785         * text.C (getRowNearY): add two asserts
2786
2787 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2788
2789         * converter.C:
2790         * format.C: add using std::distance to compile on gcc 2.95/stlport
2791
2792 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2793
2794         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2795
2796 2004-02-04  André Pönitz  <poenitz@gmx.net>
2797
2798         * BufferView.[Ch] (insertInset):
2799         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2800
2801         * text2.C:
2802         * text3.C: adjust
2803
2804 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2805
2806         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2807         on the default clause of the switch
2808         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2809         wasn't catched by LCursor::dispatch
2810
2811 2004-02-03  André Pönitz  <poenitz@gmx.net>
2812
2813         * BufferView.C:
2814         * cursor.[Ch]: some additional asserts
2815
2816         * undo.[Ch]: remove LyXText dependency in interface
2817
2818         * lyxfunc.C: adjust
2819
2820         * lyxtext.h (firstPar, lastPar): remove dead functions
2821
2822         * text.C:
2823         * text2.C:
2824         * text3.C:
2825         * paragraph.[Ch]: adjust
2826
2827 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2828
2829         * lyxfind.C (find): fix argument order in call to ::find
2830
2831 2004-02-02  André Pönitz  <poenitz@gmx.net>
2832
2833         * cursor.[Ch]: remove direct access to anchor
2834
2835         * text.C: remove findText() hack
2836
2837 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2838
2839         * iterators.[Ch] (lockPath): remove in favour of...
2840         * BufferView.[Ch] (setCursor): this addition
2841         * BufferView.C (putSelectionAt): adjust
2842         * undo.C (performUndoOrRedo): adjust
2843         * lyxfunc.C (dispatch): adjust
2844
2845 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2846
2847         * iterators.C (lockPath): add a missing slice
2848         * undo.C (performUndoOrRedo): remove redundant positioning code
2849
2850 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2851
2852         * vc-backend.C (scanMaster): ";" -> ';'
2853
2854 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2855
2856         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2857         std::binary_function
2858
2859         * lyxtextclass.C (compare_name): rename to...
2860         (LayoutNamesEqual): ...this
2861
2862         * lyxlex_pimpl.C (compare_tags): inherit from
2863         std::binary_function, put back into anon namespace
2864
2865         * lyxfind.C (MatchString): inherig from std::binary_function
2866         (findChange): use empty() istead of !size()
2867
2868         * format.C (FormatNamesEqual): new functor
2869         (getFormat): use it
2870         (getNumber): use it
2871         (add): use it
2872         (erase): use it
2873         (setViewer): use it
2874
2875         * converter.C (compare_Converter): rename to...
2876         (ConverterEqual): ...this, and fixup a bit.
2877         (getConverter): use it, and make function const
2878         (getNumber): use it, and make function const
2879         (add): use it
2880         (erase): use it:
2881
2882         * bufferlist.C: add using boost::bind
2883
2884         * MenuBackend.C (MenuNamesEqual): new functor
2885         (hasMenu): use it, and make function const
2886         (hasSubmenu): use nested bind to get rid of compare_memfun.
2887
2888 2004-01-30  André Pönitz  <poenitz@gmx.net>
2889
2890         * BufferView_pimpl.C:
2891         * cursor.C:
2892         * cursor.h:
2893         * cursor_slice.[Ch]:
2894         * lyxfunc.C:
2895         * lyxtext.h:
2896         * paragraph_funcs.C:
2897         * paragraph_funcs.h:
2898         * rowpainter.C:
2899         * text.C:
2900         * text2.C:
2901         * text3.C: move some of the edit(x,y) handling to the insets
2902         some coordinate changes.
2903
2904 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2905
2906         * text.C: add using statements for std::advance and std::distance
2907
2908         * paragraph.C: add using statement for std::distance
2909
2910         * lyxfind.C: add using statement for std::advance
2911
2912         * cursor.C (region): remove std:: from swap
2913         (openable): use nucleus in stead of operator->
2914
2915         * BufferView.C: add using statements for std::distance and std::swap
2916
2917 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2918
2919         * iterators.C: Remove the pimple, move the needed structures to
2920         the header file. Create accessor for the positions stack.
2921         (asPosIterator): remove function
2922
2923         * PosIterator.C (PosIterator): move constructors to top of file
2924         (PosIterator): reimplement the constructor taking a ParIterator in
2925         terms of setFrom.
2926         (setFrom): new function
2927         (operator!=): inline it
2928
2929 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2930
2931         * lyxfind.C (replaceAll): use std::advance
2932
2933         * iterators.h: inherit from std::iterator.
2934
2935         * PosIterator.C (advance, distance): remove
2936         * PosIterator.h: interit from std::iterator.
2937
2938 2004-01-26  André Pönitz  <poenitz@gmx.net>
2939
2940         * BufferView.[Ch]:
2941         * BufferView_pimpl.[Ch]:
2942         * InsetList.[Ch]:
2943         * PosIterator.[Ch]:
2944         * buffer.h:
2945         * bufferview_funcs.C:
2946         * cursor.[Ch]:
2947         * cursor_slice.h:
2948         * factory.[Ch]:
2949         * iterators.[Ch]:
2950         * lyxfind.C:
2951         * lyxfunc.C:
2952         * lyxtext.h:
2953         * output_docbook.C:
2954         * output_latex.C:
2955         * output_linuxdoc.C:
2956         * output_plaintext.C:
2957         * paragraph.[Ch]:
2958         * paragraph_funcs.[Ch]:
2959         * paragraph_pimpl.[Ch]:
2960         * rowpainter.C:
2961         * tabular.C:
2962         * tabular.h:
2963         * text.C:
2964         * text2.C:
2965         * text3.C: more IU:  dumps most of the rest of the mathcursor
2966     implementation into cursor.[Ch]; "globalize" a bit of it.
2967
2968 2004-01-25  Angus Leeming  <leeming@lyx.org>
2969
2970         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2971
2972 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2973
2974         * LaTeXFeatures.h: add nice_ and nice() const
2975         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2976
2977 2004-01-20  André Pönitz  <poenitz@gmx.net>
2978
2979         * BufferView.[Ch]:
2980         * BufferView_pimpl.C:
2981         * PosIterator.C:
2982         * bufferview_funcs.C:
2983         * cursor.[Ch]:
2984         * cursor_slice.[Ch]:
2985         * factory.C:
2986         * iterators.C:
2987         * lyx_cb.C:
2988         * lyxfind.C:
2989         * lyxfunc.C:
2990         * lyxtext.h:
2991         * rowpainter.C:
2992         * text.C:
2993         * text2.C:
2994         * text3.C:
2995         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2996           LCursor and mathcursor parts to LCursor and InsetBase.
2997
2998 2004-01-15  André Pönitz  <poenitz@gmx.net>
2999
3000         * cursor_slice.[Ch]: add a few covienience functions
3001
3002         * funcrequest.[Ch]: remove BufferView * member
3003
3004         * BufferView_pimpl.C:
3005         * cursor.C:
3006         * factory.[Ch]:
3007         * lyxfind.[Ch]:
3008         * lyxfunc.C:
3009         * lyxtext.h:
3010         * text3.C:
3011         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3012
3013 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3014
3015         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3016         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3017
3018 2004-01-13  André Pönitz  <poenitz@gmx.net>
3019
3020         * textcursor.[Ch]:
3021         * lyxtext.h: hide cursor and selection anchor behind accessor function
3022
3023         * BufferView.C:
3024         * BufferView_pimpl.[Ch]:
3025         * PosIterator.C:
3026         * bufferview_funcs.C:
3027         * cursor.h:
3028         * lyxfind.C:
3029         * lyxfunc.C:
3030         * text.C:
3031         * text2.C:
3032         * text3.C:
3033         * undo.C: adjust
3034
3035         * cursor.h:
3036         * cursor_slice.[Ch]: some integer type changes for inset unification
3037
3038         * lyxcursor.[hC]: remove, it's CursorSlice now.
3039
3040         * Makefile.am:
3041         * BufferView_pimpl.[Ch]:
3042         * bufferview_funcs.C:
3043         * cursor_slice.C:
3044         * lyxtext.h:
3045         * text.C:
3046         * text2.C:
3047         * text3.C:
3048         * textcursor.[Ch]: adjust
3049
3050 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3051
3052         * text2.C (undoSpan): add and use
3053         * text.C (breakParagraph): use undoSpan (fix bug 578)
3054         * lyxtext.h: adjust
3055
3056 2004-01-08  Angus Leeming  <leeming@lyx.org>
3057
3058         * BufferView_pimpl.C (MenuInsertLyXFile):
3059         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3060         * lyxfunc.C (menuNew, open, doImport):
3061         FileFilterList change to the FileDialog open and save functions.
3062
3063 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3064
3065         * ShareContainer.h: make isEqual and isUnique adaptable
3066
3067         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3068
3069 2004-01-07  Angus Leeming  <leeming@lyx.org>
3070
3071         * LyXAction.C:
3072         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3073
3074         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3075
3076         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3077         functions replacing find, replace and replaceAll.
3078
3079         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3080         LFUN_WORDFIND(FORWARD|BACKWARD).
3081
3082 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * text.C (breakParagraph): remove an outdated #warning
3085
3086 2004-01-07  André Pönitz  <poenitz@gmx.net>
3087
3088         * lyxfind.C: somewhat clearer logic
3089
3090         * text.C: prevent crash in cursorX on unitialized row cache
3091
3092 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3093
3094         * lyxcursor.[Ch] (operator>): add
3095         * textcursor.C (selStart, selEnd): use std::min and std::max
3096
3097 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3098
3099         * Chktex.C: include boost/format.hpp
3100
3101 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3102
3103         * InsetList.C: replace functor MathcIt with adaptable functor
3104         InsetTablePosLess
3105         (insetIterator): modify accordingly
3106
3107         * BranchList.h: move the BranchNamesEqual functor here from...
3108         * BranchList.C: ... to here
3109
3110         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3111         SameName and match.
3112         (add): replace a finding loop with std::find_if.
3113
3114 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3115
3116         * output_docbook.C: moving LatexParam functionality into
3117         .layout files
3118
3119 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3120
3121         * buffer.C: increment format to 229.
3122
3123 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3124
3125         * LaTeXFeatures.C:
3126         * lyx_sty.[Ch]: remove minipageindent_def
3127
3128         * LyXAction.C:
3129         * factory.C:
3130         * lfuns.h:
3131         * lyxfunc.C:
3132         * text3.C: remove LFUN_INSET_MINIPAGE
3133
3134 2003-12-28  Angus Leeming  <leeming@lyx.org>
3135
3136         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3137
3138 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3139
3140         * text2.C (setParagraph): fix off-by-one crash
3141
3142 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3143
3144         * output_docbook.C: header stuff for AGU
3145
3146 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * text2.C (redoCursor): remove
3149         * text.C:
3150         * text3.C:
3151         * BufferView_pimpl.C: remove calls to redoCursor and
3152         setCursor(cursor.par(), cursor.pos()) all around
3153
3154 2003-12-15  Angus Leeming  <leeming@lyx.org>
3155
3156         * buffer.C: up the format to 228.
3157
3158 2003-12-15  André Pönitz  <poenitz@gmx.net>
3159
3160         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3161         slices
3162
3163         * Makefile.am:
3164
3165         * BufferView_pimpl.C:
3166         * cursor.[Ch]:
3167         * lyxcursor.[Ch]:
3168         * rowpainter.[Ch]:
3169         * lyxtext.h:
3170         * text.C:
3171         * text2.C:
3172         * text3.C: adjust
3173
3174 2003-12-15  Angus Leeming  <leeming@lyx.org>
3175
3176         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3177         than getFromGUIName to manipulate the color.
3178
3179 2003-12-14  Angus Leeming  <leeming@lyx.org>
3180
3181         * BranchList.[Ch]: minimize the API.
3182         (Branch::getBranch, getColor): now return a 'const &'.
3183         (Branch::setSelected) now returns a bool set to true if the
3184         selection status changes.
3185         (BranchList::clear, size, getColor, setColor, setSelected,
3186         allBranches, allSelected, separator): removed.
3187         (BranchList::find): new functions, returning the Branch with
3188         the given name.
3189         (BranchList::add, remove): return a bool indicating that
3190         the operation was successful.
3191
3192         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3193         new InsetBranch::isBranchSlected member function.
3194
3195         * LColor.[Ch]: mimimize the API.
3196         (fill): renamed as addColor and made private.
3197         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3198         versions of these functions taking a string arg have been removed.
3199
3200         * bufferparams.C (readToken):
3201         * lyxfunc.C (dispatch):
3202         * lyxrc.C (read): changes due to the altered BranchList and
3203         LColor APIs.
3204
3205         * factory.C (createInset, readInset): changes due to altered
3206         InsetBranch c-tor.
3207
3208 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3209
3210         * factory.C:
3211         * lyxfunc.C: remove insetminipage. "minipage-insert"
3212         now produces a frameless minipage box inset.
3213
3214 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3215
3216         * textcursor.[Ch] (selStart,selEnd): add new methods
3217         remove selection::start, end, use LyXCursor::operator<
3218         * lyxcursor.[Ch] (operator<): add
3219         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3220         * BufferView.[Ch] (unsetXSel): add
3221         * text2.C (clearSelection): use unsetXSel,adjust
3222         * text.C: adjust
3223         * text3.C: adjust
3224         * rowpainter.C: adjust
3225         * bufferview_funcs.C (put_selection_at): adjust
3226
3227 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3228
3229         * BufferView_pimpl.C: small coord. correction
3230
3231 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3232
3233         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3234         dragging over the splash screen.
3235
3236 2003-12-11  Angus Leeming  <leeming@lyx.org>
3237
3238         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3239         as it is now handled in LyXText::dispatch.
3240
3241         * text3.C (doInsertInset): remove a level of nesting.
3242
3243 2003-12-11  Angus Leeming  <leeming@lyx.org>
3244
3245         * factory.C (createInset): changes due to the changed interface to
3246         InsetCommandMailer::string2params.
3247
3248 2003-12-10  Angus Leeming  <leeming@lyx.org>
3249
3250         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3251         'dialog-show-new-inset <inset name>'
3252
3253 2003-12-10  Angus Leeming  <leeming@lyx.org>
3254
3255         * buffer.C: up the format to 227.
3256
3257         * factory.C: the box inset is now identified simply by 'Box'.
3258
3259 2003-12-10  Angus Leeming  <leeming@lyx.org>
3260
3261         * buffer.C: up the format to 226.
3262
3263         * factory.C: the note inset is now identified simply by 'Note'.
3264
3265 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3268         when a pit is enough. Standarize a couple of loops.
3269
3270 2003-12-05  Angus Leeming  <leeming@lyx.org>
3271
3272         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3273         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3274         data to the re-worked "log" dialog.
3275
3276 2003-12-03  André Pönitz  <poenitz@gmx.net>
3277
3278         * PosIterator.C:
3279         * iterators.C:
3280         * lyxtext.h:
3281         * output_latex.C:
3282         * paragraph_funcs.C:
3283         * text.C:
3284         * text2.C: use Inset::getText instead of Inset::getParagraph
3285
3286 2003-12-03  André Pönitz  <poenitz@gmx.net>
3287
3288         * buffer.[Ch]:
3289         * lyxtext.h:
3290         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3291         InsetText::read() as LyXText::read()
3292
3293 2003-12-02  Angus Leeming  <leeming@lyx.org>
3294
3295         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3296         type. Add a comment in the implementation that the function uses
3297         the stream's bad() function rather than fail() as the std::streams
3298         would do.
3299
3300 2003-12-02  André Pönitz  <poenitz@gmx.net>
3301
3302         * lyxlex.[Ch]: make interface more similar to std::stream
3303
3304         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3305
3306 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3307
3308         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3309
3310 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3311
3312         * vspace.[Ch]: remove VSpace::NONE
3313
3314 2003-12-01  André Pönitz  <poenitz@gmx.net>
3315
3316         * buffer.[Ch]:
3317         * lyxtext.h: move ParagraphList member to LyXText
3318         rename LyXText::ownerParagraphs to LyXText::paragraph
3319
3320         * CutAndPaste.C:
3321         * bufferview_funcs.C:
3322         * iterators.[Ch]:
3323         * lyx_cb.C:
3324         * paragraph.C:
3325         * rowpainter.C:
3326         * tabular.C:
3327         * text.C:
3328         * text2.C:
3329         * text3.C: adjust
3330
3331         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3332
3333         * undo.C: fix cursor positioning
3334
3335 2003-12-01  John Levon  <levon@movementarian.org>
3336
3337         * BufferView_pimpl.C: fix a crash on exit with
3338         a buffer open
3339
3340 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3341
3342         * BranchList.C: fix setSelected() method.
3343
3344 2003-11-28  André Pönitz  <poenitz@gmx.net>
3345
3346         * ParagraphParameters.[Ch]:
3347         * ParameterStruct.h: remove space above/below from Paragraph to
3348          InsetVSpace
3349
3350         * BufferView_pimpl.C:
3351         * factory.C:
3352         * lyxfunc.C:
3353         * lyxtext.h:
3354         * output_latex.C:
3355         * paragraph.C:
3356         * paragraph_funcs.C:
3357         * rowpainter.[Ch]:
3358         * text.C:
3359         * text2.C:
3360         * text3.C: adjust
3361
3362 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3363
3364         * factory.C: Syntax change for CharStyles
3365
3366 2003-11-28  André Pönitz  <poenitz@gmx.net>
3367
3368         * BufferView.[Ch]:
3369         * BufferView.[Ch]:
3370         * buffer.[Ch]:
3371         * buffer.[Ch]: move LyXText member
3372
3373 2003-11-28  André Pönitz  <poenitz@gmx.net>
3374
3375         * BufferView.[Ch]: make LyXText * text a private member
3376
3377         * BufferView_pimpl.C:
3378         * cursor.C:
3379         * iterators.C:
3380         * lyx_cb.C:
3381         * lyxfind.C:
3382         * lyxtext.h:
3383         * rowpainter.[Ch]:
3384         * text.C:
3385         * text2.C:
3386         * undo.C: adjust
3387
3388         * output_plaintext.C: cleanup
3389
3390 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * buffer.C:
3393         * lyxtextclass.[Ch]: parametrize SGML document header
3394
3395 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3396
3397         * converter.[Ch]:
3398         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3399         getFlavor().
3400
3401 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3402
3403         * text2.C (setFont): rework using PosIterator (no more recursive)
3404         (setCharFont): no more needed
3405         (setLayout): no more selection cursors fiddling (done by redoCursor)
3406         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3407         destroy remaining ones)
3408
3409 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3410
3411         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3412         * lyxtext.h: ditto
3413         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3414         selection cursors
3415         * lyxfunc.C: adjust
3416         * text3.C: adjust + re-allow multi par depth changes
3417         * textcursor.C: simplify a bit
3418
3419 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3420
3421         * src/buffer.C:
3422         * src/lyxlayout.C:
3423         * src/lyxlayout.h:
3424         * src/lyxtext.h:
3425         * src/output_docbook.C:
3426         * src/output_latex.C:
3427         * src/paragraph.C:
3428         * src/paragraph.h:
3429         * src/sgml.C:
3430         * src/sgml.h:
3431         * src/text2.C: Introducing a number of tags parametrizing various
3432         XML formats that we may want to support
3433
3434 2003-11-25  André Pönitz  <poenitz@gmx.net>
3435
3436         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3437
3438         * lyxtext.h (leftMargin/rightMargin): simplify interface
3439
3440         * rowpainter.C:
3441         * text.C:
3442         * text2.C:
3443         * text3.C: adjust
3444
3445 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3446
3447         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3448         master file to any child files. Fixes bug 546.
3449
3450 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3451
3452         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3453
3454 2003-11-24  André Pönitz  <poenitz@gmx.net>
3455
3456         * rowpainter.C: simplification
3457
3458         * text2.C (updateCounters): remove call to redoParagraph on
3459         changed labels as this is far too expensive.
3460
3461 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3462
3463         * converter.C (convert): fix a crash: this function gets
3464         called with buffer == 0 from importer code.
3465
3466 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3467
3468         * text3.C (cursorPrevious): make sure that we do not compare
3469         iterators form different containers.
3470         (cursorNext): ditto
3471
3472         * rowpainter.C (paintSelection): make sure that we do not compare
3473         iterators from different containers.
3474
3475         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3476         iterators from different ParagraphList containers.
3477         [NEXT] ditto
3478
3479         * text2.C (LyXText): change order of initialization slightly
3480         (operator=): new function. copy all variables except cache_par_
3481         (moveUp): make sure that we do not compare iterators from
3482         different ParagraphList constainers.
3483         (moveDown): ditto
3484
3485         * text.C (firstPar): new function
3486         (lastPar): new function
3487         (endPar): new function
3488
3489         * lyxtext.h: move things around and group public functions, public
3490         variables, private functions, private variables
3491
3492 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3493
3494         * factory.C: change call to InsetERT constructor to avoid
3495         additional invocation of method status
3496         * text2.C (toggleInset): remove redundant update() call
3497         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3498         instead of a Bufferview pointer
3499
3500 2003-11-21  André Pönitz  <poenitz@gmx.net>
3501
3502         * rowpainter.C: simplification
3503
3504 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3505
3506         * text3.C (dispatch): make possible to extend a word/row selection
3507         with the mouse
3508
3509 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3510
3511         * lyxtext.h: x0_,y0_ -> xo_,yo_
3512         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3513         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3514         * rowpainter.C (paintRows): paint full paragraphs
3515
3516 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3517
3518         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3519         screen coordinates)
3520
3521 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * lyxtext.h: add x0_, y0_
3524         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3525         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3526
3527 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3528
3529         * text2.C (setCursorIntern): move the x_target update here *
3530         * text3.C: change some bv() to true/false in calls to
3531         cursorUp/Down/Right/Left
3532         * cursor.C: use helper function.
3533
3534 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3535
3536         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3537         * paragraph_funcs.[Ch]: correct comment
3538         * rowpainter.C: do not paint selections away from bv->cursor()
3539         Fix a long standing selection painting bug.
3540         * text3.C: generalize mouse-selection code to LyXTexts other that
3541         top one
3542         * textcursor.C: do not use y coords if we can use par offsets
3543
3544 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3545
3546         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3547         cursor position after e.g. inset insert)
3548
3549 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3550
3551         * lyxfind.C (replace): adjust to locking removal + some
3552         code simplification
3553
3554 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3555
3556         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3557         of the path
3558
3559 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3560
3561         * lyxlayout.[Ch]:
3562         * output_docbook.C: XML sanitation: new layout
3563         parameters InnerTag and CommandDepth
3564
3565 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3566
3567         * BufferView_pimpl.C:
3568         * factory.C:
3569         * text3.C: Fix the insertion and modification of button-style
3570         insets
3571
3572 2003-11-13  André Pönitz  <poenitz@gmx.net>
3573
3574         * InsetList.[Ch]: remove deleteLyXText
3575
3576         * paragraph.[Ch]: cache beginOfBody position
3577
3578         * Bidi.C:
3579         * text.C:
3580         * text2.C:
3581         * text3.C: remove superfluous update() calls
3582
3583         * vspace.C: cleanup
3584
3585 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3586
3587         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3588         * BufferView.C (fitLockedInsetCursor): remove
3589         * cursor.[Ch] (getDim): add
3590         * text.C (getRowNearY): add faster version
3591         * text3.C: remove some update calls
3592
3593 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3594
3595         * LaTeXFeatures.C:
3596         * LyXAction.C:
3597         * MenuBackend.C:
3598         * MenuBackend.h:
3599         * dispatchresult.h:
3600         * factory.C:
3601         * lfuns.h:
3602         * lyxfunc.C:
3603         * lyxtextclass.C:
3604         * lyxtextclass.h:
3605         * text3.C: The Character Style /XML short element patch.
3606
3607 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3608
3609         * text3.C:
3610         * factory.C: Small step to solving 'unable to insert some insets'
3611         problem
3612
3613 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3614
3615         * cursor.[Ch] (updatePos): new function for updating the y
3616         position of the tip inset
3617         * bufferview_funcs.C (put_selection_at):
3618         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3619
3620 2003-11-11  André Pönitz  <poenitz@gmx.net>
3621
3622         * text.C: remove big comment on invalid Paragraph pointers as it is
3623         not valid anymore
3624
3625 2003-11-11  André Pönitz  <poenitz@gmx.net>
3626
3627         * text_funcs.[Ch]: merge with ...
3628
3629         * text.C: ... this
3630
3631         * lyxtext.h:
3632         * text2.C:
3633         * text3.C: adjust
3634
3635         * Makefile.am: remove text_funcs.[Ch]
3636
3637 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * cursor.C (getPos): return absolute cached y coord
3640
3641         * BufferView_pimpl.C (fitCursor): new simplistic code
3642         (workAreaDispatch): add a fitCursor call
3643
3644 2003-11-10  André Pönitz  <poenitz@gmx.net>
3645
3646         * BufferView.[Ch]:
3647         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3648
3649 2003-11-10  André Pönitz  <poenitz@gmx.net>
3650
3651         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3652         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3653         indicate that the cursor needs to leave an inset
3654
3655         * lyxtext.h: remove inset locking
3656
3657         * cursor.[Ch]: re-implement functionality provided by inset locking
3658
3659         * BufferView.[Ch]:
3660         * BufferView_pimpl.[Ch]:
3661         * LyXAction.C:
3662         * bufferview_funcs.[Ch]:
3663         * factory.C:
3664         * funcrequest.[Ch]:
3665         * iterators.C:
3666         * lyx_cb.C:
3667         * lyxfind.C:
3668         * lyxfunc.C:
3669         * text.C:
3670         * text2.C:
3671         * text3.C:
3672         * undo.C: adjust
3673
3674 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * PosIterator.[Ch]: replace the stack with a vector, add inset
3677         accesor
3678         * iterators.[C]: adjust
3679
3680 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3681
3682         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3683         replaced
3684         * paragraph_funcs.C (readParToken): put the correct id in the
3685         error item, not the id of the top paragraph
3686
3687 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3690         * bufferview_funcs.C (put_selection_at): use the above
3691
3692 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3693
3694         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3695
3696 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3697
3698         * output_linuxdoc.h:
3699         * output_plaintext.h:
3700         * output.h:
3701         * output_docbook.h: add #include statements
3702
3703 2003-11-05  José Matos  <jamatos@lyx.org>
3704
3705         * output_docbook.[Ch]:
3706         * output_latex.[Ch]:
3707         * output_linuxdoc.[Ch]:
3708         * output_plaintext.[Ch]: New files for output formats.
3709         * output.[Ch]: New file for helper functions.
3710
3711         * buffer.[Ch]:
3712         * paragraph_funcs.[Ch]: output functions moved to new files.
3713
3714         * outputparams.h: rename of latexrunparams.h
3715
3716         * LaTeX.[Ch]:
3717         * buffer.[Ch]:
3718         * bufferlist.[Ch]:
3719         * converter.[Ch]:
3720         * exporter.C:
3721         * paragraph.[Ch]:
3722         * paragraph_funcs.[Ch]:
3723         * paragraph_pimpl.[Ch]:
3724         * tabular.[Ch]: rename ascii to plaintext
3725         and LatexRunParams to OutputParams.
3726
3727 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3728
3729         * iterators.[Ch] (text): require bv argument
3730         * undo.C (recordUndo):
3731         * lyxfunc.C (dispatch):
3732         * bufferview_funcs.C (put_selection_at): adjust
3733
3734 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3735
3736         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3737
3738 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3739
3740         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3741         nestings
3742
3743 2003-11-04  André Pönitz  <poenitz@gmx.net>
3744
3745         * cursor.[Ch]: restructure
3746
3747         * BufferView.[Ch]:
3748         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3749
3750         * iterators.[Ch] (asCursor): remove
3751
3752         * lfuns.h: remove LFUN_INSET_EDIT
3753
3754         * lyxfunc.C:
3755         * tabular.C:
3756         * text.C:
3757         * text2.C:
3758         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3759
3760 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3761
3762         * lyxfind.[Ch]: complete overhaul
3763         * BufferView_pimpl.C:
3764         * lyxfunc.C: adjust
3765         * paragraph.[Ch] (insert): add
3766
3767 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * BufferView.[Ch]:
3770         * lyxtext.h:
3771         * text.C: remove dead spellcheck code
3772
3773 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * dispatchresult.h: add a val setter
3776
3777         * cursor.C (dispatch): use a tempvar for data_[i]
3778
3779 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3780
3781         * PosIterator.[Ch]: compile fix
3782
3783 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3784
3785         * text.C (cursorPar): deactivate the cursor cache
3786
3787 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3790
3791 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * text3.C (dispatch): adjust for new DisptchResult semantics.
3794
3795         * lyxfunc.C (dispatch): handle update when return from
3796         Cursor::dispatch, adjust for new DispatchResult semantics.
3797
3798         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3799         DispatchResult(true) mean to not update. Add class functions for
3800         setting dispatched and update, as well as reading.
3801
3802         * cursor.C (dispatch): don't handle update here
3803
3804 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3807         * trans_mgr.C: adjust
3808
3809         * paragraph_funcs.C (readParToken): exception safety
3810
3811         * lyxvc.h: store the vcs pointer in a scoped_ptr
3812         * lyxvc.C: adjust
3813
3814         * lyxsocket.C (serverCallback): exception safety
3815
3816         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3817
3818         * ispell.C (clone): make it return a auto_ptr
3819
3820         * factory.C (createInset): exception safety
3821         (readInset): exception safety
3822
3823         * bufferlist.C (newBuffer): exception safety
3824
3825         * Thesaurus.C (Thesaurus): use initialization for aik_
3826
3827         * MenuBackend.C (expandToc): exception safety.
3828
3829 2003-11-03  André Pönitz  <poenitz@gmx.net>
3830
3831         * buffer.C:
3832         * buffer.h:
3833         * bufferview_funcs.C: remove getInsetFromId()
3834
3835         * lyxcursor.[Ch]:
3836         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3837
3838         * lyxfunc.C:
3839         * text2.C:
3840         * text3.C: adjust
3841
3842 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3843
3844         * PosIterator.C (distance, advance): new
3845         * bufferview_funcs.[Ch] (put_selection_at): new
3846         * iterators.[Ch] (lockPath): new
3847
3848 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3849
3850         * iterators.[Ch] (asPosIterator): added
3851         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3852         * PosIterator.[Ch]: added
3853
3854 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * text3.C:
3857         * lyxfunc.C:
3858         * cursor.C (dispatch):
3859         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3860
3861         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3862         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3863         contructor, add a class function dispatched. Remove operator>=
3864
3865 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * debug.C: only use the default constructor for debugstream
3868         (lyxerr) here.
3869
3870         * main.C (main): include debug.h and setup the lyxerr streambuf
3871         here.
3872
3873 2003-10-31  José Matos  <jamatos@lyx.org>
3874
3875         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3876
3877         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3878         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3879         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3880         * paragraph_pimpl.C (simpleTeXSpecialC):
3881         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3882         add LatexRunParams argument.
3883
3884         * exporter.C (Export): change call accordingly.
3885
3886         * latexrunparams.h: add new member to take care of the other backends.
3887 2003-10-30  José Matos  <jamatos@lyx.org>
3888
3889         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3890         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3891         factorise code for paragraph output.
3892         * buffer.[Ch]:
3893         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3894         move functions.
3895
3896 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * text3.C (dispatch):
3899         * lyxfunc.C (dispatch):
3900         * cursor.C (dispatch):
3901         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3902
3903         * dispatchresult.h: make the dispatch_result_t ctor explicit
3904
3905 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3906
3907         * sgml.[Ch]:
3908         * buffer.C: small refactoring of docbook stuff
3909
3910 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3911
3912         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3913         meaning.
3914
3915 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3918         operator dispatch_result_t, and operators for == != and >=
3919
3920         * cursor.C (dispatch): adjust for operator dispatch_result_t
3921         removal. comment out call to update
3922
3923         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3924
3925 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * text3.C:
3928         * text2.C:
3929         * text.C:
3930         * lyxtext.h:
3931         * lyxfunc.C:
3932         * cursor.C:
3933         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3934         (dispatch):
3935
3936         * dispatchresult.h: new file, DispatchResult broken out of
3937         insets/insetbase.h
3938
3939         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3940
3941 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3942
3943         * text.C (rowBreakPoint): put a hack inside #if 0
3944
3945 2003-10-28  André Pönitz  <poenitz@gmx.net>
3946
3947         * lyxtext.h:
3948         * metricsinfo.C:
3949         * paragraph_funcs.C:
3950         * rowpainter.C:
3951         * text.C:
3952         * text2.C: general cleanup (lots of small stuff)
3953
3954 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * text2.C (cursorEnd): simple fix to the "end key goes to one
3957         before the end on last row" bug
3958
3959 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3960
3961         * text.C (backspace): fix the "zombie characters"
3962
3963 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3964
3965         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3966
3967 2003-10-27  André Pönitz  <poenitz@gmx.net>
3968
3969         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3970
3971         * factory.C: handle new InsetPagebreak, InsetLine
3972
3973         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3974         and move handling into new InsetPagebreak, InsetLine
3975
3976         * BufferView_pimpl.C:
3977         * LyXAction.C:
3978         * ParagraphParameters.C:
3979         * ParameterStruct.h:
3980         * lyxfunc.C:
3981         * lyxtext.h:
3982         * paragraph.C:
3983         * paragraph.h:
3984         * paragraph_funcs.C:
3985         * paragraph_pimpl.C:
3986         * rowpainter.C:
3987         * text.C:
3988         * text2.C:
3989         * text3.C: adjust
3990
3991 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3992
3993         * text.C:
3994         * lyxrow_funcs.[Ch]:
3995         * Bidi.C:
3996         * paragraph.C:
3997         * lyxtext.h:
3998         * rowpainter.C:
3999         * text2.C:
4000         * text3.C: remove lastPos uses in favour of Row::endpos
4001
4002 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4003
4004         * undo.C (performUndoOrRedo): fix two crashes by setting a
4005         cursor by hand and reordering some calls. Use bv->lockInset instead
4006         of inset->edit because the latter loses cursor information
4007
4008 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4011         by Martin
4012         (rowBreakPoint): fix width. change point to point + 1.
4013         Add a missing check.
4014
4015 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4016
4017         * MenuBackend.C:
4018         * lyxfunc.C: fix (at least partly) the problems
4019         with the Nav menu and headers inside branch insets
4020         reported by Kayvan
4021
4022 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4023
4024         * paragraph.C (getChar): add strong asserts
4025
4026         * lyxrow_funcs.C (lastPos): remove hideous hack
4027
4028         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4029         (fill): adjust to that (avoid an infinite loop)
4030
4031 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4034
4035 2003-10-23  André Pönitz  <poenitz@gmx.net>
4036
4037         * RowList_fwd.h: change list<> to vector<> to gain speed
4038         after suggestion from Alfredo
4039
4040 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4041
4042         * lyxtext.h: move the bidi stuff from here...
4043         * text.C: and here
4044         * text2.C: and here
4045         * Bidi.[Ch]: ... to here
4046
4047 2003-10-23  André Pönitz  <poenitz@gmx.net>
4048
4049         * lyxtext.h:
4050         * text.C (isLastRow, isFirstRow): new functions
4051
4052         * paragraph.h: new width cache member
4053
4054         * rowpainter.C: replace RowList::iterator with Row & where possible
4055
4056         * lyxfunc.C: replace several view()->text with a single call
4057
4058         * toc.C: fix 'unused' warning
4059
4060 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4063         when woring with stream::pos_type
4064         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4065
4066 2003-10-22  André Pönitz  <poenitz@gmx.net>
4067
4068         * lyxtext.h:
4069         * text.C: use Row & instead of RowList::iterator
4070
4071         * lyxrow.h: rename end() to endpos()
4072
4073         * rowpainter.C:
4074         * text.C:
4075         * text2.C: adjust
4076
4077 2003-10-22  Angus Leeming  <leeming@lyx.org>
4078
4079         * buffer.[Ch] (fully_loaded): new member function, returning true
4080         only when the file has been loaded fully.
4081         Used to prevent the premature generation of previews and by the
4082         citation inset to prevent computation of the natbib-style label.
4083
4084         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4085         templates are all set up.
4086
4087         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4088
4089 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4090
4091         * text.C: fixed an "oops" in the "is a bit silly"
4092         bug fix
4093
4094 2003-10-21  André Pönitz  <poenitz@gmx.net>
4095
4096         * FuncStatus.[Ch]: small stuff, whitespace
4097
4098         * lyxfont.[Ch]: operator<<() for debug reasons
4099
4100         * lyxfunc.C:
4101         * lyxrow_funcs.C:
4102         * lyxtext.h: whitespace, spelling
4103
4104         * paragraph.C: naming of variables
4105
4106         * text.C:
4107         * text2.C: small stuff
4108
4109
4110 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4111
4112         * text.C: (1) finish off the inset display() work;
4113         (2) fix the "is a bit silly" bug (accessing char
4114         past end of par).
4115
4116 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4117
4118         * text.C: re-introduce display() for insets, fixing the
4119         various bugs (stretch of line above, math inset
4120         positioning, ...)
4121
4122 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4123
4124         * text.C (rightMargin): remove spurious semicolon
4125
4126         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4127         1415)
4128
4129 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4130
4131         * text3.C: fix one crash due to wrong cursor def
4132
4133 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * vc-backend.C (scanMaster): make the regex static
4136
4137         * LaTeX.C (scanAuxFile): make the regexs static
4138
4139         * text3.C (doInsertInset, dispatch, dispatch):
4140         * text2.C (cursorUp, cursorDown):
4141         * text.C (selectNextWordToSpellcheck):
4142         * BufferView_pimpl.C (dispatch):
4143         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4144
4145 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4146
4147         * lyxsocket.C: include <cerrno>
4148
4149 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * lyxfunc.C (dispatch): remove textcache stuff
4152
4153         * bufferlist.C (release): remove textcache stuff
4154         (closeAll): ditto
4155
4156         * TextCache.C: delete file
4157         * TextCache.h: delete file
4158
4159         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4160
4161         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4162         delete of the bv_->text.
4163         (resizeCurrentBuffer): remove texcache stuff
4164         (workAreaResize): ditto
4165
4166 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4167
4168         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4169         action.
4170
4171 2003-10-16  André Pönitz  <poenitz@gmx.net>
4172
4173         * lyxrow.[Ch]:
4174         * paragraph.h:
4175         * rowpainter.C:
4176         * text.C:
4177         * text2.C:
4178         * text3.C: speed up by storing y positions per paragraph plus per-row
4179         offset instead of having a 'full' y position in the row.
4180
4181 2003-10-15  André Pönitz  <poenitz@gmx.net>
4182
4183         * iterators.[Ch]:
4184         * iterators.[Ch]:
4185         * undo.[Ch]: make undo aware of inner insets
4186
4187 2003-10-14  Angus Leeming  <leeming@lyx.org>
4188
4189         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4190         static member functions LyX::ref() and LyX::cref.
4191         (lastfiles): new accessor functions for the new lastfiles_ member var.
4192         (addLyXView, views_): add a new LyXView to the list of views_.
4193         (updateInset): loop over all LyXViews to call their own updateInset
4194         member function, returning a pointer to the Buffer owning the inset.
4195
4196         * BufferView_pimpl.C (loadLyXFile):
4197         * MenuBackend.C (expandLastfiles):
4198         * bufferlist.C (MenuWrite, QuitLyX):
4199         lastfiles is no longer a global variable.
4200         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4201
4202         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4203         static function. Access through LyX::cref().emergencyCleanup().
4204
4205 2003-10-14  André Pönitz  <poenitz@gmx.net>
4206
4207         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4208
4209         * undo.[Ch]: restoring part of 'undo in insets'
4210
4211         * Makefile.am:
4212         * undo_funcs.[Ch]: merge with undo.[Ch]
4213
4214         * tabular.C: small cleansing stuff
4215
4216 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4217
4218         * paragraph_funcs.C (readParToken): report unknown insets as error
4219         boxes. Use the outer paragraph as location (also for unknown
4220         tokens).
4221
4222         * factory.C (readInset): do not abort on reading an unknown inset.
4223         Eat it and return 0.
4224
4225 2003-10-13  Angus Leeming  <leeming@lyx.org>
4226
4227         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4228
4229         * lyxrc.C: displayTranslator is now a function,
4230         declared in GraphicsTypes.h.
4231
4232 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4233
4234         * format.C: new placeholder $$a to pass the socket address.
4235
4236         * bufferlist.[Ch]: new function getBufferFromTmp.
4237
4238         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4239           files in the temporary dir.
4240
4241 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4242
4243         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4244
4245         * Makefile.am: add lyxsocket.[Ch].
4246
4247         * lyx_main.C (error_handler): handle SIGPIPE.
4248
4249 2003-10-13  André Pönitz  <poenitz@gmx.net>
4250
4251         * BufferView_pimpl.C:
4252         * lyxtext.h:
4253         * text.C:
4254         * text2.C:
4255         * text3.C:
4256         * undo_funcs.[Ch]: use paroffset_type instead of
4257           ParagraphList::iterators to prevent multiple conversion
4258           (and get a more robust interface)
4259
4260 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4263         * lyxtext.h: ditto
4264         * text3.C (dispatch): ditto
4265
4266 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4269         move the onlyfile, use onlyfile instead of foundfile in a couple
4270         of places.
4271
4272         * DepTable.C (update): flush the error stream a bit more
4273
4274 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * lyxserver.C (callback): adjust
4277
4278         * lyxfunc.C (getStatus): add a missing brace in commented code
4279         (ensureBufferClean): reindent
4280         (dispatch): delete version taking a string
4281
4282 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * LaTeX.C (deplog): move found file handlig from here...
4285         (handleFoundFile): .. to new function here.
4286         (deplog): make sure to discover several files mentioned on the
4287         same log line.
4288
4289 2003-10-10  André Pönitz  <poenitz@gmx.net>
4290
4291         * lyxfunc.C:
4292         * lyxtext.h:
4293         * tabular.C:
4294         * text.C:
4295         * text2.C:
4296         * text3.C: fix some of the tabular crashes
4297
4298 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4299
4300         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4301
4302         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4303
4304 2003-10-09  André Pönitz  <poenitz@gmx.net>
4305
4306         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4307
4308         * BufferView.C:
4309         * BufferView_pimpl.C:
4310         * bufferview_funcs.C:
4311         * lyx_cb.C:
4312         * lyxcursor.C:
4313         * lyxfind.C:
4314         * lyxfunc.C:
4315         * lyxtext.h:
4316         * text.C:
4317         * text2.C:
4318         * text3.C:
4319         * text_funcs.[Ch]:
4320         * textcursor.[Ch]:
4321         * undo_funcs.C: adjust
4322
4323 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * text2.C (incrementItemDepth): new function, use a backtracking
4326         algorithm to discover the correct item depth.
4327         (resetEnumCounterIfNeeded): new function, use a backtracking
4328         algorithm to discover if counter reset is needed.
4329         (setCounter): use them. Simplify a bit. Add different labels for
4330         different item depths for itemize.
4331
4332         * paragraph.C (Paragraph): remove initialization of enumdepth
4333         (operator=): ditto
4334
4335         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4336         enumerate and itemize. Change the type of itemdepth to signed char.
4337
4338 2003-10-08  André Pönitz  <poenitz@gmx.net>
4339
4340         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4341           thing assignable.
4342         * text.C:
4343         * text2.C: adjust
4344
4345         * tabular.[Ch]: fix crash after 'row-insert'
4346
4347 2003-10-08  Angus Leeming  <leeming@lyx.org>
4348
4349         Fix doxygen warnings.
4350
4351         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4352         Remove CutAndPaste:: prefix from header file declaration.
4353
4354         * LColor.h (fill): remove LColor:: prefix from declaration.
4355
4356         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4357         use lyx::depth_type rather than Paragraph::depth_type so that
4358         header file and .C file match.
4359
4360         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4361
4362         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4363         * aspell.C: \file aspell_local.C -> \file aspell.C
4364         * gettext.C: \file gettext.C -> \file src/gettext.C
4365         * gettext.h: \file gettext.h -> \file src/gettext.h
4366         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4367         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4368         * text.C: \file text.C -> \file src/text.C
4369
4370         * toc.C: move comment so that doxygen is not confused.
4371
4372 2003-10-07  Angus Leeming  <leeming@lyx.org>
4373
4374         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4375
4376 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4377
4378         * aspell.C:
4379         * aspell_local.h: add forgotten std::string's.
4380
4381 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4382
4383         * LaTeXFeatures.C:
4384         * LyXAction.C:
4385         * factory.C:
4386         * lfuns.h:
4387         * lyxfunc.C:
4388         * text3.C: The Box patch. Fancybox support, minipage, parbox
4389
4390 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4391
4392         * CutAndPaste.h:
4393         * DepTable.h:
4394         * FloatList.h:
4395         * LaTeXFeatures.h:
4396         * ParagraphParameters.h:
4397         * TextCache.h:
4398         * Thesaurus.h:
4399         * bufferlist.h:
4400         * exporter.h:
4401         * importer.h:
4402         * lastfiles.h:
4403         * lyxfind.h:
4404         * lyxfont.h:
4405         * lyxlex.h:
4406         * lyxtextclasslist.h:
4407         * messages.h:
4408         * paragraph.h:
4409         * paragraph_pimpl.C:
4410         * textcursor.h: add <string> and other small fixes to make Lars'
4411         std::string patch compile with STLport.
4412
4413 2003-10-06  Angus Leeming  <leeming@lyx.org>
4414
4415         * LColor.h: Add missing #include <string>.
4416
4417 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4418
4419         * All most all file in all subdirs: Make <string> be the prefered
4420         way of getting to std::string, add using declarations.
4421
4422 2003-10-06  André Pönitz  <poenitz@gmx.net>
4423
4424         * metricsinfo.C: initialize LyXFont before changing attribute.
4425         (fixes the 'math in \emph is upright' bug)
4426
4427 2003-10-06  André Pönitz  <poenitz@gmx.net>
4428
4429         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4430
4431 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4432
4433         * graph.C:
4434         * paragraph_pimpl.C: Small fixes to build using STLport
4435
4436 2003-10-02  André Pönitz  <poenitz@gmx.net>
4437
4438         * lyxfunc.C:
4439         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4440
4441 2003-10-01  André Pönitz  <poenitz@gmx.net>
4442
4443         * factory.C: assert early
4444
4445 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * lyx_main.C: remove the global debug object
4448
4449         * debug.h: adjust for new debugstream
4450
4451         * debug.C: adjust for new debugstream and keep the global debug
4452         object here.
4453
4454 2003-09-22  Angus Leeming  <leeming@lyx.org>
4455
4456         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4457         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4458         an incomplete class LyXFont.
4459
4460 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4461
4462         * factory.C: bug fix in branches
4463
4464 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * lyxfunc.C (processKeySym): adjust
4467         (dispatch): adjust
4468         (dispatch): change arg name from ev to func, adjust
4469         (sendDispatchMessage): ditto
4470
4471         * lyx_main.C (defaultKeyBindings): adjust keybindings
4472         (deadKeyBindings): ditto
4473
4474         * kbsequence.C (addkey): return a FuncRequest
4475
4476         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4477
4478         * kbmap.C (bind): take a FuncRequest as arg, adjust
4479         (read): adjust
4480         (lookup): adjust
4481         (defkey): change to take a FuncRequest as arg, adjust
4482         (findbinding): take a FuncRequest as arg, adjust.
4483
4484         * funcrequest.h (operator=): added
4485
4486         * funcrequest.C (FuncRequest): default kb_action changed from
4487         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4488
4489         * buffer.C (dispatch): simplify
4490         (dispatch): adjust to take a FuncRequest as arg, adjust
4491
4492         * boost.C (assertion_failed): change assertion message slightly
4493
4494         * ToolbarBackend.C (read): simplify
4495
4496         * MenuBackend.C (binding): adjust call to findbinding, add a
4497         message if no binding is found.
4498         (read): simplify
4499         (expandToc): correct by adding a empty FuncRequest
4500
4501         * LyXAction.C: include <boost/assert.hpp>
4502         (isPseudoAction): delete function
4503         (LookupFunc): change name to...
4504         (lookupFunc): this. change return type to FuncRequest.
4505         (getActionName): take kb_action as arg, simplify
4506         (funcHasFlag): add an assert, simplify.
4507
4508 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4509
4510         * toc.C (action): return a FuncRequest, simplify
4511
4512         * lyxfunc.C (processKeySym): adjust
4513         (getStatus): delete version that takes an int.
4514         (getStatus): adjust
4515         (dispatch): delete version that takes action as int
4516         (dispatch): adjust
4517         (sendDispatchMessage): simplify and adjust
4518
4519         * funcrequest.C (getArg): take unsigned int as arg
4520
4521         * ToolbarBackend.C (read): adjust
4522         (add): delete version that takes func as a string.
4523         (getIton): take a FuncRequest as arg
4524
4525         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4526         action.
4527
4528         * MenuBackend.C (MenuItem): add a new construct that only takes a
4529         Kind, simplify the constructor use for submenus.
4530         (add): adjust
4531         (expandLastfiles): adjust
4532         (expandDocuments): adjust
4533         (expandFormats): adjust
4534         (expandFloatListInsert): adjust
4535         (expandFloatInsert): adjust
4536         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4537
4538         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4539         Remove class variables lyx_pseudo_map and lyx_arg_map
4540
4541         * LyXAction.C (searchActionArg): delete function
4542         (getPseudoAction): delete function
4543         (retrieveActionArg): delete function
4544         (LookupFunc): make it return kb_action, simplify.
4545         (getActionName): simplify
4546
4547         * factory.C (createInset): fix new bug
4548
4549 2003-09-19  Angus Leeming  <leeming@lyx.org>
4550
4551         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4552         masterFilename_ parameter in the include inset.
4553
4554         * factory.C (createInset): changes due to the changes to InsetInclude.
4555
4556 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4557
4558         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4559
4560 2003-09-18  Angus Leeming  <leeming@lyx.org>
4561
4562         * buffer.C:
4563         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4564         Inset::fillWithBibKeys.
4565         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4566
4567 2003-09-18  Angus Leeming  <leeming@lyx.org>
4568
4569         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4570         variables.
4571         (ctor): pass and store a 'Buffer const &'
4572         (buffer): new member function.
4573
4574         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4575         '*this' to the LaTeXFeatures ctor.
4576
4577 2003-09-18  Angus Leeming  <leeming@lyx.org>
4578
4579         * LColor.h:
4580         * lyxfont.C:
4581         * lyxfont.h:
4582         * lyxtext.h:
4583         * text.C: rename EnumLColor as LColor_color.
4584
4585 2003-09-18  Angus Leeming  <leeming@lyx.org>
4586
4587         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4588         remove #include "insets/insetbase.h" from cursor.h.
4589
4590 2003-09-18  Angus Leeming  <leeming@lyx.org>
4591
4592         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4593         InsetOld_code to remove #include "inset.h".
4594
4595         * iterators.C: add #include "insets/inset.h"
4596
4597 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4598
4599         * BufferView.C: remove more locking stuff that apparently doesn't
4600         do anything sensible.
4601
4602 2003-09-16  André Pönitz  <poenitz@gmx.net>
4603
4604         * paragraph.[Ch]:
4605         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4606           performance boost.
4607
4608 2003-09-16  Angus Leeming  <leeming@lyx.org>
4609
4610         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4611
4612         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4613         arg/return type.
4614
4615         * paragraph.h: remove #include "lyxfont.h". Forward declare
4616         LyXFont_size.
4617
4618 2003-09-16  Angus Leeming  <leeming@lyx.org>
4619
4620         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4621         of support/textutils.h.
4622         (isWord): move the contents of support/textutils.h's IsWordChar here.
4623
4624         * buffer.C:
4625         * lyxfind.C:
4626         * rowpainter.C:
4627         * text.C:
4628         * text2.C: add #include "paragraph.h".
4629
4630         * rowpainter.C:
4631         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4632
4633 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * main.C:
4636         * lyx_main.C:
4637         * lyx_cb.C:
4638         * buffer.C:
4639         * LaTeX.C: use namespace alias for lyx::support::os
4640
4641 2003-09-16  Angus Leeming  <leeming@lyx.org>
4642
4643         * bufferparams.C:
4644         * bufferview_funcs.C:
4645         * factory.C:
4646         * lyxfunc.C:
4647         * paragraph_pimpl.C:
4648         * rowpainter.C:
4649         * text.C: add #include "LColor.h".
4650
4651 2003-09-16  Angus Leeming  <leeming@lyx.org>
4652
4653         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4654         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4655         return LyXFont &.
4656         Store the FontBits::color variable as an int rather than as an
4657         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4658         file.
4659
4660         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4661         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4662         string calls together.
4663
4664         * lyxrc.C: add #include "LColor.h".
4665
4666 2003-09-15  Angus Leeming  <leeming@lyx.org>
4667
4668         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4669         a cow_ptr.
4670
4671 2003-09-15  Angus Leeming  <leeming@lyx.org>
4672
4673         * LColor.h: add an EnumLColor wrapper for LColor::color.
4674
4675         * lyxfont.[Ch] (color, setColor, realColor):
4676         * lyxtext.h, text.C (backgroundColor):
4677         pass EnumLColor args to/from the functions, rather than LColor::color
4678         ones.
4679
4680         * lyxfont.h:
4681         * lyxtext.h: forward declare EnumLColor.
4682
4683         * lyx_main.C: add #include "LColor.h".
4684
4685 2003-09-15  Angus Leeming  <leeming@lyx.org>
4686
4687         * .cvsignore: add lyx-gtk.
4688
4689 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4690
4691         * Chktex.C
4692         * LaTeX.C
4693         * LaTeXFeatures.C
4694         * ParagraphParameters.C
4695         * Spacing.C
4696         * buffer.C
4697         * bufferparams.C
4698         * bufferview_funcs.C
4699         * chset.C
4700         * counters.C
4701         * funcrequest.C
4702         * lyxfont.C
4703         * lyxgluelength.C
4704         * lyxlength.C
4705         * paragraph.C
4706         * paragraph_funcs.C
4707         * text3.C
4708         * vc-backend.C: remove usage of STRCONV
4709
4710 2003-09-15  Angus Leeming  <leeming@lyx.org>
4711
4712         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4713         explicitly define the color passed to the painter.
4714
4715 2003-09-15  Angus Leeming  <leeming@lyx.org>
4716
4717         * bufferparams.C (BufferParams): reorder member initializers to avoid
4718         compiler warning.
4719
4720 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4723         * text.C (updateRowPositions): remove an unusual nop
4724
4725 2003-09-12  André Pönitz  <poenitz@gmx.net>
4726
4727         * BufferView_pimpl.C:
4728         * Bullet.C:
4729         * layout.h:
4730         * lyxfunc.C:
4731         * lyxlayout.[Ch]:
4732         * lyxtextclass.C:
4733         * rowpainter.C:
4734         * text.C:
4735         * text2.C:
4736         * Counters.[Ch]: finish the 'automatic counters' job
4737
4738 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4739
4740         * aspell.C: include <boost/assert.cpp> (compile fix)
4741
4742 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4743
4744         * boost.C (assertion_failed): use lyx::support::abort instead of
4745         assert.
4746
4747 2003-09-10  Angus Leeming  <leeming@lyx.org>
4748
4749         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4750         with their _fwd progeny.
4751
4752 2003-09-09  Angus Leeming  <leeming@lyx.org>
4753
4754         134 files throughtout the source tree: replace 'using namespace abc;'
4755         directives with the appropriate 'using abc::xyz;' declarations.
4756
4757 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4758
4759         * boost.C (emergencyCleanup): moved here from LAssert.c
4760         (assertion_failed): new function, called by BOOST_ASSERT
4761
4762         * several files: change Assert to BOOST_ASSERT
4763
4764 2003-09-09  Angus Leeming  <leeming@lyx.org>
4765
4766         * buffer.[Ch]: Add an Impl class and move Buffer's member
4767         variables into it. As a result move several header files out of
4768         buffer.h.
4769
4770         Add header files to lots of .C files all over the tree as a result.
4771
4772 2003-09-09  Angus Leeming  <leeming@lyx.org>
4773
4774         * buffer.[Ch]: make Buffer's member variables private. Add
4775         accessor functions.
4776
4777         Lots of changes all over the tree as a result.
4778
4779 2003-09-08  Angus Leeming  <leeming@lyx.org>
4780
4781         * graph.C: #include <config.h>.
4782
4783 2003-09-08  Angus Leeming  <leeming@lyx.org>
4784
4785         * BranchList.C:
4786         * BufferView.C:
4787         * BufferView_pimpl.C:
4788         * CutAndPaste.C:
4789         * DepTable.C:
4790         * LaTeX.C:
4791         * LaTeXFeatures.C:
4792         * LyXAction.C:
4793         * MenuBackend.C:
4794         * TextCache.C:
4795         * aspell.C:
4796         * buffer.C:
4797         * bufferlist.C:
4798         * changes.C:
4799         * chset.C:
4800         * converter.C:
4801         * counters.C:
4802         * debug.C:
4803         * graph.C:
4804         * ispell.C:
4805         * lyx_cb.C:
4806         * lyxfind.C:
4807         * lyxfunc.C:
4808         * lyxlex_pimpl.C:
4809         * lyxrc.C:
4810         * lyxrow.C:
4811         * paragraph.C:
4812         * rowpainter.C:
4813         * texrow.C:
4814         * text.C:
4815         * text2.C:
4816         * toc.C: remove redundant using directives.
4817
4818 2003-09-07  Angus Leeming  <leeming@lyx.org>
4819
4820         * LaTeXFeatures.h: remove #include "support/types.h".
4821         * ToolbarBackend.h: remove #include <algorithm>.
4822         * changes.h: remove #include <ctime>.
4823         * debug.h: remove #include <iosfwd>.
4824         * graph.h: remove #include "support/std_string.h".
4825         * lyx_main.h: remove #include <csignal>.
4826         * lyxlex_pimpl.h: remove #include <fstream>.
4827         * sgml.h: remove #include <algorithm>, <utility>.
4828         * toc.h: remove #include "support/std_ostream.h".
4829         Add #include <iosfwd>.
4830
4831 2003-09-07  Angus Leeming  <leeming@lyx.org>
4832
4833         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4834
4835         * converter.h: forward declare LatexRunParams.
4836         * encoding.h: remove #include "lyxrc.h".
4837         * lyxtext.h: remove #include "LColor.h".
4838         * lyxtextclass.h: remove #include "support/types.h".
4839         * trans.h: remove #include "tex-accent.h".
4840         * trans_mgr.h: remove #include "tex-accent.h".
4841         * insets/inset.h: remove #include "support/types.h", <vector>.
4842         * insets/insetcollapsable.h: remove #include "LColor.h".
4843         * insets/insetinclude.h: remove #include "dimension.h".
4844         * insets/insetlatexaccent.h: remove #include "dimension.h".
4845         * insets/insetoptarg.h:: remove #include "insettext.h".
4846         * insets/insettext.h: remove #include "dimension.h",
4847         <boost/shared_ptr.hpp>
4848
4849         * insets/renderers.h: add #include "dimension.h".
4850         * insets/updatableinset.h: add #include "support/types.h".
4851
4852         * many .C files: Associated changes.
4853
4854 2003-09-06  Angus Leeming  <leeming@lyx.org>
4855
4856         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4857         one, inside testInvariant.
4858
4859         * PrinterParams.C: new file.
4860         * PrinterParams.[Ch]: move the function bodies out of line.
4861
4862 2003-09-06  Angus Leeming  <leeming@lyx.org>
4863
4864         * ParagraphParameters.h: forward declare ParameterStruct rather than
4865         including its header file.
4866         (depth): moved out-of-line.
4867
4868 2003-09-06  Angus Leeming  <leeming@lyx.org>
4869
4870         * BufferView_pimpl.h:
4871         * kbmap.h:
4872         * kbsequence.h:
4873         * lyxfunc.h: forward declare LyXKeySym rather than
4874         #include "frontends/LyXKeySym.h".
4875
4876         * BufferView_pimpl.C:
4877         * kbmap.C:
4878         * kbsequence.C:
4879         * lyxfunc.C: associated changes.
4880
4881 2003-09-06  Angus Leeming  <leeming@lyx.org>
4882
4883         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4884         As a result, can remove the #include "insets/inset.h" from BufferView.h
4885
4886 2003-09-06  Angus Leeming  <leeming@lyx.org>
4887
4888         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4889         As a result, can remove the #include "insets/inset.h" from BufferView.h
4890
4891 2003-09-06  Angus Leeming  <leeming@lyx.org>
4892
4893         * buffer_funcs.C:
4894         * buffer.h:
4895         * bufferlist.C:
4896         * BufferView.C:
4897         * bufferview_funcs.C:
4898         * BufferView_pimpl.C:
4899         * CutAndPaste.C:
4900         * lyx_cb.C:
4901         * lyxfunc.C:
4902         * paragraph.h:
4903         * ParagraphParameters.C:
4904         * tabular.C:
4905         * text3.C:
4906         * toc.C:
4907         * undo_funcs.C:
4908         * frontends/controllers/ControlDocument.C:
4909         * insets/insetcaption.C: rearrange the #includes into some sort of
4910         coherent order.
4911
4912         * buffer.h: remove #includes ErrorList.h, undo.h
4913
4914 2003-09-06  Angus Leeming  <leeming@lyx.org>
4915
4916         * support/types.h: add a 'depth_type' typedef, used to store the
4917         nesting depth of a paragraph.
4918
4919         * paragraph.h:
4920         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4921         defining explicitly.
4922
4923         * buffer.h:
4924         * paragraph_funcs.h:
4925         * ParagraphParameters.h:
4926         * sgml.h: use lyx::depth_type rather than Paragraph or
4927         ParameterStruct's depth_type.
4928
4929         * buffer.h
4930         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4931
4932         * BufferView.C:
4933         * BufferView_pimpl.C:
4934         * CutAndPaste.C:
4935         * ParagraphParameters.C:
4936         * buffer_funcs.C:
4937         * bufferlist.C:
4938         * bufferview_funcs.C:
4939         * lyx_cb.C:
4940         * lyxfunc.C:
4941         * tabular.C:
4942         * text3.C:
4943         * toc.C:
4944         * undo_funcs.C:
4945         * frontends/LyXView.C:
4946         * frontends/controllers/ControlDocument.C:
4947         * frontends/controllers/ControlErrorList.C:
4948         * insets/insetbibitem.C:
4949         * insets/insetbranch.C:
4950         * insets/insetcaption.C:
4951         * insets/insetcollapsable.C:
4952         * insets/insetenv.C:
4953         * insets/insetert.C:
4954         * insets/insetfloat.C:
4955         * insets/insetfoot.C:
4956         * insets/insetfootlike.C:
4957         * insets/insetnewline.C:
4958         * insets/insetquotes.C:
4959         * insets/insettabular.C:
4960         * insets/insettext.C:
4961         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4962
4963         * frontends/controllers/ControlChanges.C: #include "changes.h".
4964
4965 2003-09-06  Angus Leeming  <leeming@lyx.org>
4966
4967         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4968         than #including paragraph.h.
4969
4970         * ParagraphList.h:
4971         * RowList.h: deleted. Superfluous.
4972
4973         * CutAndPaste.h:
4974         * iterators.h:
4975         * lyxcursor.h:
4976         * lyxtext.h:
4977         * text_funcs.h:
4978         * undo.h:
4979         * undo_funcs.h:
4980         * insets/inset.h:
4981         * insets/insettext.h: use ParagraphList_fwd.h rather than
4982         ParagraphList.h.
4983
4984         * paragraph.h: don't forward declare ParagraphList.
4985
4986         * buffer.h:
4987         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4988         rather than ParagraphList.h. paragraph.h is still needed for the
4989         Paragraph::depth_type parameters.
4990
4991         * textcursor.h: enable it to compile stand-alone in light of the
4992         above changes.
4993
4994         * bufferview_funcs.C:
4995         * iterators.C:
4996         * lyxfunc.C:
4997         * lyxrow_funcs.C:
4998         * paragraph.C:
4999         * rowpainter.C:
5000         * text.C:
5001         * text2.C:
5002         * text3.C:
5003         * text_funcs.C:
5004         * textcursor.C:
5005         * undo.C:
5006         * frontends/controllers/ControlParagraph.C:
5007         * frontends/controllers/ControlTabular.C:
5008         * insets/insetmarginal.C:
5009         * insets/insetminipage.C:
5010         * insets/insetnote.C:
5011         * insets/insetoptarg.C: add header files needed to compile again.
5012
5013 2003-09-06  Angus Leeming  <leeming@lyx.org>
5014
5015         * RowList_fwd.h: new file, forward-declaring Row rather than
5016         #including lyxrow.h.
5017
5018         * lyxrow_funcs.h:
5019         * lyxtext.h:
5020         * paragraph.h:
5021         * insets/insettext.h: use it instead of RowList.h
5022
5023         * bufferview_funcs.C:
5024         * lyxfunc.C:
5025         * lyxrow_funcs.C:
5026         * paragraph.C:
5027         * rowpainter.C:
5028         * text.C:
5029         * text2.C:
5030         * text3.C: #include "RowList.h".
5031
5032 2003-09-05  Angus Leeming  <leeming@lyx.org>
5033
5034         * factory.C (createInset):
5035         * vspace.C (c-tor): replace sscanf call with an istringstream.
5036         * ispell.C: re-add missing HP/UX headers.
5037         * lyxserver.C: re-add missing  os2 headers.
5038
5039 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5040
5041         * BranchList.C:
5042         * graph.C:
5043         * ispell.C:
5044         * lastfiles.C:
5045         * lyx_cb.C:
5046         * lyxserver.C:
5047         * texrow.C:
5048         * text3.C: re-add missing system headers, needed for 2.95.2.
5049
5050 2003-09-05  Angus Leeming  <leeming@lyx.org>
5051
5052         Changes most place everywhere due to the removal of using directives
5053         from support/std_sstream.h.
5054
5055 2003-09-05  Angus Leeming  <leeming@lyx.org>
5056
5057         Replace LString.h with support/std_string.h,
5058         Lsstream.h with support/std_sstream.h,
5059         support/LIstream.h with support/std_istream.h,
5060         support/LOstream.h with support/std_ostream.h.
5061
5062         Changes resulting throughout the tree.
5063
5064 2003-09-05  Angus Leeming  <leeming@lyx.org>
5065
5066         * sgml.h: ensure that the header file can be compiled stand-alone.
5067         * *.C: strip out redundant #includes. (320 in total.)
5068
5069 2003-09-04  Angus Leeming  <leeming@lyx.org>
5070
5071         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5072         here (from getPackages).
5073
5074         * debug.[Ch]: add a new EXTERNAL tag.
5075
5076 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5077
5078         * text2.C (cursorEnd): simplify
5079         (setCursor): adjust
5080         (getColumnNearX): adjust
5081
5082         * text.C (computeBidiTables): adjust
5083         (fill): adjust
5084
5085         * rowpainter.C (paintChars): adjust
5086         (paintSelection): adjust
5087         (paintChangeBar): adjust
5088         (paintText): adjust
5089
5090         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5091         lastPos instead.
5092         (numberOfSeparators): adjust
5093
5094 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5095
5096         * LyXAction.C:
5097         * box.[Ch]:
5098         * lfuns.h:
5099         * lyxfunc.C:
5100         * text3.C: Restricts the mouse click functionality
5101         of insets like bibtex, include, toc and floatlist to the visible
5102         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5103         up the dialogs. Cursor has to be in front of the inset (i.e.
5104         start of row) for this to function.
5105
5106 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5107
5108         * bufferview_funcs.C (currentState): output row information
5109
5110 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5111
5112         * bufferview_funcs.C (currentState): output paragraph position
5113
5114 2003-09-04  Angus Leeming  <leeming@lyx.org>
5115
5116         * FloatList.h: move out #include "Floating.h".
5117         * LaTeX.h: move out #include "DepTable.h".
5118         * LyXAction.h: move out #include "funcrequest.h".
5119         * buffer.h: move out #include "author.h", "iterators.h".
5120         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5121         * lyx_main.h: move out #include "errorlist.h".
5122         * lyxfunc.h: move out #include "FuncStatus.h".
5123         * lyxtext: move out #include "lyxcursor.h".
5124         * paragraph_pimpl.h: move out #include "counters.h".
5125
5126 2003-09-03  Angus Leeming  <leeming@lyx.org>
5127
5128         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5129         preamble_snippets list, enabling us to add snippets to the preamble
5130         only if the snippet was not there already.
5131
5132 2003-09-04  Angus Leeming  <leeming@lyx.org>
5133
5134         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5135
5136 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5139         update
5140
5141 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5142
5143         * BranchList.C: point fix, earlier forgotten
5144
5145 2003-09-02  Angus Leeming  <leeming@lyx.org>
5146
5147         * box.C (contains): renamed from 'contained' after a fantastic
5148         amount of hot air.
5149
5150 2003-09-02  John Levon  <levon@movementarian.org>
5151
5152         * BufferView.C:
5153         * lyxcursor.h:
5154         * lyxcursor.C:
5155         * lyxfunc.C:
5156         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5157
5158 2003-09-02  John Levon  <levon@movementarian.org>
5159
5160         * text2.C: simplification of cursorEnd(), including partial
5161         fix for bug 1376
5162
5163 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * buffer.C (readFile): add a space
5166
5167 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5168
5169         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5170
5171 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5172
5173         * buffer.C (readFile): new function, take a filename and a
5174         ParagraphList::iterator
5175         (readFile): adjust
5176         (readFile): adjust, make it private. don't use setStream, make
5177         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5178         always contain the filename.
5179
5180         * BufferView.C (insertLyXFile): simplify and make it work for
5181         gzipped files.
5182
5183 2003-08-30  John Levon  <levon@movementarian.org>
5184
5185         * Makefile.am: fix dist (from Kayvan)
5186
5187 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * most files: change to use const Buffer refs
5190
5191 2003-08-27  André Pönitz  <poenitz@gmx.net>
5192
5193         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5194         on top of ownerPar().
5195
5196 2003-08-27  John Levon  <levon@movementarian.org>
5197
5198         * funcrequest.C: properly initialise POD members
5199
5200 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * lyxtext.h (top_y): move top_y from here
5203         * text.C:
5204         * text2.C:
5205         * text3.C:
5206         * BufferView.[Ch]:
5207         * BufferView_pimpl.[Ch]: to here
5208         * frontends/screen.C:
5209         * insets/insettabular.C:
5210         * insets/insettext.C: adjust
5211         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5212
5213 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5214
5215         * BufferView.[Ch]:
5216         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5217
5218 2003-08-26  André Pönitz  <poenitz@gmx.net>
5219
5220         * paragraph_func.[Ch] (outerPar): new function
5221
5222         * paragraph.C:
5223         * paragraph_funcs.C:
5224         * paragraph_funcs.h:
5225         * paragraph_pimpl.C:
5226         * text2.C: remove Inset::par_owner
5227
5228 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5229
5230         * lyxrow_funcs.C:
5231         * lyxtext.h:
5232         * text.C:
5233         * text2.C: eliminates the needFullRow/display() stuff
5234         altogether, putting the logic in metrics/draw in the insets.
5235
5236 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5237
5238         * text2.C (redoParagraphInternal, redoParagraphs):
5239         * text.C (redoParagraph): add a call to updateRowPositions at the
5240         end of each 'metrics-like' call. Remove all others.
5241         (getRow): remove the 'y-computing' version.
5242         (getRowNearY): do not compute nor return the real y. Solve the
5243         'y < 0' problem and simplify.
5244
5245 2003-08-22  Angus Leeming  <leeming@lyx.org>
5246
5247         * *.[Ch]: clean-up of licence and author blurbs.
5248         Also move config.h out of a few .h files and into a few .C files.
5249
5250 2003-08-22  André Pönitz  <poenitz@gmx.net>
5251
5252         * lyxrow.[Ch]: add x_ and *fill_ members
5253
5254         * lyxtext.h:
5255         * text.C:
5256         * rowpainter.C:
5257         * text2.C: adjust/remove prepareToPrint() calls
5258
5259 2003-08-22  André Pönitz  <poenitz@gmx.net>
5260
5261         * lyxrow.[Ch]: add  end_ member
5262
5263         * lyxrow_funcs.C: use LyXRow::end_
5264
5265         * lyxtext.h (singleWidth): add LyXFont parameter
5266
5267         * rowpainter.C:
5268         * text2.C: adjust LyXText::singleWidth() calls
5269
5270         * text.C (redoParagraph): simplify row breaking logic
5271
5272
5273 2003-08-19  André Pönitz  <poenitz@gmx.net>
5274
5275         * funcrequest.C: initialize button_ member
5276
5277         * text3.C:
5278         * rowpainter.[Ch]: interface consolidation
5279
5280 2003-08-18  André Pönitz  <poenitz@gmx.net>
5281
5282         * BufferView.C:
5283         * BufferView_pimpl.C:
5284         * lyxfind.C:
5285         * paragraph_funcs.C:
5286         * rowpainter.C:
5287         * text3.C: remove LyXScreen::draw() and fitCursor calls
5288
5289         * BranchList.h: remove spurious semicolons
5290
5291         * MenuBackend.C: fix branchlist related crash
5292
5293 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5294
5295         * BranchList.[Ch]:
5296         * InsetList.[Ch]:
5297         * LColor.[Ch]:
5298         * LyXAction.C:
5299         * Makefile.am:
5300         * MenuBackend.[Ch]:
5301         * bufferparams.[Ch]:
5302         * factory.C:
5303         * lfuns.h:
5304         * lyxfunc.C:
5305         * text3.C: implements the 'branch inset'
5306         idea. This allows the output of various versions of a document
5307         from a single source version, selectively outputing or suppressing
5308         output of parts of the text.
5309         This implementation contains a 'branch list editor' in a separate
5310         tab of the document settings dialog. Branches are user definable
5311         and have a "display colour" to distinguish them on-screen.
5312
5313         ColorHandler was somewhat cleaned up.
5314         (1) make possible a dynamically growing LColor list by allowing
5315         the graphic context cache to grow along (vector);
5316         (2) eliminate an IMHO unnecessary step in colour allocation.
5317
5318 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5319
5320         * BufferView_pimpl.C: compile fix
5321
5322 2003-08-15  André Pönitz  <poenitz@gmx.net>
5323
5324         * rowpainter.C: remove extra metrics calls
5325
5326         * lyxtext.h: merge the two constructors into a single one,
5327           pass reference to owner's par list
5328
5329         * BufferView_pimpl.C:
5330         * text.C:
5331         * text2.C: adjust
5332
5333 2003-08-15  André Pönitz  <poenitz@gmx.net>
5334
5335         * lyxrow_funcs.[Ch]:
5336         * lyxtext.h:
5337         * paragraph.h:
5338         * paragraph_funcs.C:
5339         * rowpainter.C:
5340         * text.C:
5341         * text2.C:
5342         * text3.C:
5343         * text_funcs.C: split LyXText::rowlist_ into individual
5344         Paragraph::rows_ chunks
5345
5346         * BufferView.[Ch]:
5347         * BufferView_pimpl.[Ch]:
5348         * lyxfind.C:
5349         * lyxtext.h:
5350         * text3.C: remove toggleSelection()
5351
5352 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5353
5354         * bufferlist.C: beautify two alerts (shorter text of buttons)
5355         * buffer.C: Remove redundant ' ' from message
5356         * tabular.h:
5357         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5358         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5359         rename VALIGN_CENTER to VALIGN_MIDDLE
5360
5361 2003-08-11  André Pönitz  <poenitz@gmx.net>
5362
5363         * lyxtext.h (getPar):
5364         * text.C: new function
5365
5366 2003-08-11  André Pönitz  <poenitz@gmx.net>
5367
5368         * Makefile.am:
5369         * tracer.[Ch]: remove unneeded files
5370
5371         * InsetList.[Ch]: remove resizeInsetsLyXText()
5372
5373         * lyxtext.h:
5374         * text.C:
5375         * text2.C:
5376         * text3.C: merge insertParagraphs() and appendParagraph()
5377         remove breakAgain(), update()
5378
5379         * BufferView_pimpl.[Ch]:
5380         * bufferview_funcs.[Ch]:
5381         * lyxfunc.C:
5382         * paragraph.[Ch]:
5383         * rowpainter.C:
5384         * tabular.C: adjust after text & InsetList changes.
5385
5386 2003-08-08  André Pönitz  <poenitz@gmx.net>
5387
5388         * text.C (insertChar, backspace): replace rowlist fiddling
5389         with rebreak of full par
5390
5391         * lyxtext.h:
5392         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5393         checkParagraph, updateInset): removed
5394
5395 2003-08-07  André Pönitz  <poenitz@gmx.net>
5396
5397         * paragraph.C:
5398         * text3.C: merge some LFUN handlers, remove dead code
5399
5400 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5401
5402         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5403
5404 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * text2.C (DEPM): fix part of bug 1255 and 1256
5407
5408 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5409
5410         * BufferView_pimpl.C (workAreaDispatch): change to use
5411         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5412         that are no mouse related.
5413
5414 2003-08-05  André Pönitz  <poenitz@gmx.net>
5415
5416         * BufferView.[Ch]:
5417         * BufferView_pimpl.[Ch]:
5418         * bufferview_funcs.C:
5419         * text2.C:
5420         * text3.C: rip out "deep update"
5421
5422         * textcursor.[Ch] (last_sel_cursor): remove unused member
5423
5424 2003-08-04  André Pönitz  <poenitz@gmx.net>
5425
5426         * BufferView.[Ch]:
5427         * BufferView_pimpl.[Ch]:
5428         * ParagraphParameters.C:
5429         * bufferview_funcs.C:
5430         * lyx_cb.C:
5431         * lyxfind.C:
5432         * lyxfunc.C:
5433         * text.C:
5434         * text2.C:
5435         * text3.C: replace "complicated" BufferView::update(...) calls with
5436         simpler ones.
5437
5438         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5439
5440 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5441
5442         * Makefile.am (lyx_SOURCES): add paper.h
5443
5444 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5445
5446         * Makefile.am: move things around so that both lyx-qt and
5447         lyx-xforms can be built (according to --with-frontend). Then lyx
5448         is a symbolic link to lyx-[firstfrontend]
5449
5450 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5451
5452         * Always use std::endl with lyxerr
5453
5454 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5455
5456         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5457
5458 2003-08-01  André Pönitz  <poenitz@gmx.net>
5459
5460         * BufferView.[Ch]:
5461         * BufferView_pimpl.[Ch]:
5462         * lyxfunc.C:
5463         * text3.C: merge BufferView::repaint() and BufferView::update()
5464
5465 2003-08-01  José Matos  <jamatos@lyx.org>
5466
5467         * buffer.[Ch]: file_format is no longer a buffer data element.
5468
5469 2003-08-01  André Pönitz  <poenitz@gmx.net>
5470
5471         * BufferView.C:
5472         * lyxtext.h:
5473         * text.C:
5474         * text2.C: make redoParagraph more independent of current cursor
5475
5476         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5477         * text.C:
5478         * text2.C: remove unneeded members
5479
5480 2003-07-30  André Pönitz  <poenitz@gmx.net>
5481
5482         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5483
5484         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5485           create a single function...
5486
5487         * paragraph_funcs.C (moveItem): ... here.
5488
5489         * text.C:
5490           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5491
5492 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5493
5494         * LColor.[Ch]: Add comment and greyedout logical colors.
5495
5496 2003-07-30  André Pönitz  <poenitz@gmx.net>
5497
5498         * tabular.C: don't use Assert too heavily. This crashes where it
5499           shouldn't
5500
5501 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5502
5503         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5504         is disabled (bug 1232)
5505
5506 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5507
5508         * factory.C: limited 'arg' scope
5509
5510 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5511
5512         * factory.C: fixed Note submenu issues
5513
5514 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5515
5516         * factory.C: submenu for Note/Comment/Greyedout
5517
5518 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5519
5520         * lyx_main.C (LyX):
5521         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5522
5523 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5524
5525         * LaTeXFeatures.C:
5526         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5527         greyedout. Patch provided by Jürgen Spitzmüller.
5528
5529 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5530
5531         * kbmap.C (read): fix error message when reading bind files
5532
5533 2003-07-29  Angus Leeming  <leeming@lyx.org>
5534
5535         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5536         certainly does not do what it purports to do. I am doing it, and
5537         us, a favour by killing it.
5538
5539 2003-07-28  José Matos  <jamatos@lyx.org>
5540
5541         * buffer.C (readBody, do_writeFile):
5542         * paragraph.C(readParagraph): \end_document replaces \the_end.
5543
5544 2003-07-29  André Pönitz  <poenitz@gmx.net>
5545
5546         * BufferView.[Ch]:
5547         * BufferView_pimpl.[Ch]:
5548         * lyxfunc.C:
5549         * text2.C:
5550         * text3.C:
5551         * textcursor.[Ch]: remove toggleToggle & Co
5552
5553 2003-07-28  José Matos  <jamatos@fep.up.pt>
5554
5555         * buffer.C (readParagraph):
5556         * params_func (readParToken, readParagraph):
5557         * paragraph.C (write): \layout -> \begin_layout.
5558
5559 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * lyxlex_pimpl.C (setFile): clean up slightly.
5562
5563         * bufferparams.h: add compressed var
5564
5565         * buffer_funcs.C (readFile): adjust for LyXLex change
5566         (newFile): ditto + simplify
5567
5568         * buffer.C (writeFile): handle writing of compressed files
5569
5570         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5571         Check if the file is compressed and set a bufferparm if so.
5572
5573         * Makefile.am (lyx_LDADD): remove explicit -lz
5574
5575 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5576
5577         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5578         makeDocBookFile): put the real LyX version in the first line of
5579         the file
5580
5581         * version.h:
5582         * version.C.in: remove lyx_docversion
5583
5584         * tabular.C (write_attribute): add a template-based version to
5585         write enums properly
5586
5587 2003-07-28  André Pönitz  <poenitz@gmx.net>
5588
5589         * lyxtext.h:
5590         * text.C:
5591         * text2.C:
5592         * text3.C: use doubles again for x-coordinates. They are needed.
5593
5594 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * messages.C (getLocaleDir): use lyx_localedir()
5597
5598         * lyxlex_pimpl.C (setFile): compress stuff
5599
5600         * buffer.C (writeFile): add some compression stuff
5601         (do_writeFile): new func, dont call expliti close... will this
5602         breake anything?
5603
5604         * Makefile.am (lyx_LDADD): add -lz
5605
5606 2003-07-28  José Matos  <jamatos@fep.up.pt>
5607
5608         * buffer.C: increment file format.
5609         * paragraph_funcs (readParagraph, readParToken):
5610         * paragraph.C (readParagraph): add \end_layout.
5611
5612 2003-07-27  Angus Leeming  <leeming@lyx.org>
5613
5614         * Makefile.am: remove special casing for configure-time setting of
5615         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5616
5617         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5618         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5619
5620 2003-07-26  André Pönitz  <poenitz@gmx.net>
5621
5622         * paragraph_func.[Ch]:
5623         * paragraph.C (realizeFont): inline it whereever it is used
5624
5625         * rowpainter.C:
5626         * text.C:
5627         * text2.C:
5628         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5629
5630
5631 2003-07-26  André Pönitz  <poenitz@gmx.net>
5632
5633         *       lyxtext.h:
5634         * text.C:
5635         * text2.C: get rid of LyXText::need_break_row
5636
5637 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * toc.[Ch]: put namespace toc inside namespace lyx
5640
5641         * MenuBackend.C (expandToc2): adjust for lyx::toc
5642         (expandToc): ditto
5643
5644         * lyxfunc.C (dispatch): adjust for lyx::find
5645
5646         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5647         lyx::find instead. Reorganize a bit.
5648         (LyXReplace): rename to replace
5649         (LyXFind): rename to find
5650
5651         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5652         (dispatch): ditto
5653
5654 2003-07-26  André Pönitz  <poenitz@gmx.net>
5655
5656         * text.C (setHeightOfRow): restrict scope of temporary variable
5657
5658         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5659           code (never has been used?)
5660
5661 2003-07-27  Asger Alstrup  <alstrup@local>
5662
5663         * text.C (fill): Optimise algorithm to exploit that we can reuse
5664         the LyXFont for many characters.
5665         (setHeightOfRow): Same thing.
5666         (rowBreakPoint): Same thing.
5667
5668 2003-07-26  Asger Alstrup  <alstrup@local>
5669
5670         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5671
5672         * text.C (singleWidth): Spurious font copying in hot-spot
5673         singleWidth avoided. Reorder tests for arabic for efficiency.
5674
5675         * text.C (fill): handle empty paragraphs better.
5676
5677 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5678
5679         * ispell.C:
5680         * encoding.h: add includes
5681
5682         * lyxrc.C: remove reading of bind files
5683
5684         * lyx_main.C (init): setup bindings and menus only if we have a
5685         gui.
5686
5687         * kbmap.C (read): new method. Do the actual reading of bind
5688         files.
5689
5690         * converter.C (dvipdfm_options):
5691         * bufferparams.C:
5692         * lyxrc.C (read):
5693         (output): adapt PAPER_* enums.
5694
5695         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5696
5697         * bufferparams.h: remove paper-related enums from there
5698
5699         * paper.h: New file. A trivial header file to hold paper-related
5700         enums. It should later expand to contain many paper-related
5701         horrors access.
5702
5703         * lyxrc.C: declare extern displayTranslator
5704
5705 2003-07-27  José Matos  <jamatos@fep.up.pt>
5706
5707         * tabular.[Ch] (linuxdoc): add support for tables and figures
5708         (linuxdoc).
5709
5710 2003-07-27  José Matos  <jamatos@fep.up.pt>
5711
5712         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5713         consistency in both functions.
5714         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5715
5716 2003-07-26  Asger Alstrup  <alstrup@local>
5717
5718         * rowpainter.C (paintRows): Change algorithm to work directly on
5719         the insets rather than asking every character in the document
5720         whether its an inset.
5721
5722 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5723
5724         * buffer.C (openFileWrite): factorize some code
5725
5726 2003-07-26  Angus Leeming  <leeming@lyx.org>
5727
5728         * lyx_cb.C:
5729         * lyx_main.[Ch]: replace occurances of system_tempdir with
5730         os::getTmpDir().
5731
5732 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * rename Inset to InsetOld
5735
5736 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5737
5738         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5739         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5740         which I think is a bit clearer. EDIT is gone, since it was
5741         premature optimisation, and broken for mathed anyway.
5742         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5743         with cursor positioning in insets as well (math insets still do not
5744         work, but that's a different story anyway.) It mysteriously
5745         crashes sometimes with undo in the first paragraph, but I'm fairly
5746         confident that this is a compiler bug.
5747
5748 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5749
5750         * paragraph.C (Paragraph): adjust for new clone return type
5751         (operator==): ditto
5752         (copyIntoMinibuffer): ditto
5753
5754 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5755
5756         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5757         by not having a special case, and always doing a full rebreak of
5758         the document after undo.
5759
5760 2003-07-23  Angus Leeming  <leeming@lyx.org>
5761
5762         * factory.C (createInset): InsetExternal::setParams now takes a
5763         Buffer const * arg.
5764
5765 2003-07-23  Angus Leeming  <leeming@lyx.org>
5766
5767         * factory.C (createInset): changed interface to the external and
5768         graphics mailers' string2params functions.
5769
5770 2003-07-23  Angus Leeming  <leeming@lyx.org>
5771
5772         * factory.C (createInset): pass a
5773         Buffer const * parameter to InsetExternalMailer's string2params.
5774
5775 2003-07-22  John Levon  <levon@movementarian.org>
5776
5777         * Thesaurus.h: include the right aiksaurus header
5778
5779 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5780
5781         * MenuBackend.C (expand): check menu shortcuts unconditionally
5782
5783 2003-07-21  Angus Leeming  <leeming@lyx.org>
5784
5785         * factory.C (createInset): pass a
5786         buffer_path parameter to InsetGraphicsMailer's string2params.
5787
5788 2003-07-21  Angus Leeming  <leeming@lyx.org>
5789
5790         * BufferView_pimpl.C (buffer):
5791         * buffer.C (d-tor):
5792         * lyx_main.C (LyX):
5793         * lyxfunc.C (dispatch):
5794         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5795         rather than the grfx shortcut.
5796
5797 2003-07-21  André Pönitz  <poenitz@gmx.net>
5798
5799         * rowpainter.C: remove unused variables
5800
5801         * tabular_funcs.C:
5802         * tabular_funcs.h: move to tabular.C
5803         * Makefile.am: adjust
5804
5805         * tabular.[Ch]: basic optical cleaning
5806
5807         * author.h: pass references, not values
5808
5809 2003-07-18  André Pönitz  <poenitz@gmx.net>
5810
5811         * lyxtext.h:
5812         * metricsinfo.C:
5813         * metricsinfo.h:
5814         * rowpainter.C:
5815         * text.C:
5816         * text2.C:
5817         * text3.C: two-phase drawing for InsetText and InsetTabular
5818         some float -> int changes.
5819
5820 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5821
5822         * lyx_main.C: fix the fix
5823
5824 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5825
5826         * lyx_main.C: fix a crash in batch mode if no files specified
5827         * converter.C: ws
5828
5829 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5830
5831         * format.[Ch] (papersize): moved to BufferParams
5832         * converter.[Ch] (dvips_options): moved to BufferParams
5833         (dvipdfm_options): moved to anon namespace
5834         * bufferparams.[Ch]: added above functions.
5835
5836 2003-07-17  André Pönitz  <poenitz@gmx.net>
5837
5838         * lyxtext.h:
5839         * rowpainter.C:
5840         * text2.C: don't call inset->update() anymore
5841
5842         * metricsinfo.[Ch]: add convenience constructor
5843
5844 2003-07-16  André Pönitz  <poenitz@gmx.net>
5845
5846         * lyxcursor.[Ch]:
5847         * lyxfunc.[Ch]:
5848         * text.C:
5849         * text2.C: replace the LyXCursor::irow_ member with
5850          on-demand computation of the value
5851
5852 2003-07-16  John Levon  <levon@movementarian.org>
5853
5854         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5855
5856 2003-07-15  André Pönitz  <poenitz@gmx.net>
5857
5858         * text.C:
5859         * text2.C: remove no more needed refresh_row
5860
5861 2003-07-15  André Pönitz  <poenitz@gmx.net>
5862
5863         * lyxtext.h:
5864         * rowpainter.C:
5865         * text2.C:
5866         * text3.C: refresh_status tristate -> need_update bool
5867
5868 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5869
5870         * lyxtext.h (init): remove reinit argument (act as if always true)
5871         * text2.C: adjust to that
5872
5873 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5874
5875         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5876         * text3.C: use it to delete selections in some cases
5877         (bugs 441, 673, 702, 954).
5878
5879 2003-07-14  André Pönitz  <poenitz@gmx.net>
5880
5881         * rowpainter.[Ch]: reduce interface
5882
5883 2003-07-14  André Pönitz  <poenitz@gmx.net>
5884
5885         * BufferView_pimpl.C:
5886         * text2.C: adjust after removing unused BufferView * argument
5887
5888 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5889
5890         * text2.C (init): fix a crash fired on resize
5891
5892 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5893
5894         * buffer.[Ch]: added new closing signal
5895         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5896         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5897         BufferView::Pimpl via the closing the signal
5898
5899 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5900
5901         * buffer.[Ch]: take out all bv-related from buffer
5902         * BufferView.C:
5903         * BufferView_pimpl.[Ch]: connect to new signals
5904         * CutAndPaste.C: removed useless asserts
5905         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5906         * lyxvc.[Ch]:
5907         * vc-backend.[Ch]:
5908         * lyxfunc.C: moved view-related funciontality from vc here
5909         * paragraph.C: removed outdated comments
5910         * text.C: ws
5911
5912 2003-07-10  André Pönitz  <poenitz@gmx.net>
5913
5914         * BufferView_pimpl.C:
5915         * tabular.h:
5916         * tabular_funcs.C:
5917         * text.C:
5918         * text2.C: remove InsetText::InnerCache, clean up consequences
5919
5920 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5921
5922         * ispell.C: fix two typos in error messages
5923
5924 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5925
5926         * Extend Note inset to other forms of annotation like Comment
5927         and Greyedout. Right button click gives dialog.
5928
5929         Files modified or added (+):
5930
5931         * insetnote.[Ch]
5932         * FormNote.[Ch]      +
5933         * ControlNote.[Ch]   +
5934         * form_note.fd       +
5935         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5936         frontends/controllers
5937         * xforms/Dialogs.C
5938         * factory.C
5939
5940 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5941
5942         * aspell.C: add missing namespace lyx::support
5943
5944 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5945
5946         * BufferView.[Ch] (newFile): Add
5947         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5948         * LaTeX.[Ch] (message): added this signal and use it
5949         * buffer.[Ch] (busy, message): added these signals and use them
5950         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5951         * converter.C:
5952         * exporter.C:
5953         * format.C:
5954         * importer.C: use buffer signals instead of direct bv calling
5955         * lyx_cb.[Ch] (ShowMessage): removed
5956         * lyx_main.C:
5957         * lyxfunc.C:
5958         * paragraph_funcs.C:
5959         * text2.C: use buffer signals
5960
5961 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * introduce namespace lyx::graphics
5964
5965 2003-07-02  André Pönitz  <poenitz@gmx.net>
5966
5967         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5968
5969 2003-07-01  André Pönitz  <poenitz@gmx.net>
5970
5971         * text.C:
5972         * text2.C:
5973         * text3.C:
5974         * text_funcs.[Ch]:
5975         * textcursor.h:
5976         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5977           text*.C to text_func.C
5978
5979 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * introduce namespace lyx::support
5982
5983 2003-06-30  André Pönitz  <poenitz@gmx.net>
5984
5985         * Chktex.C:
5986         * funcrequest.C:
5987         * lyxtext.h:
5988         * text.C: re-enable --with-included-string
5989
5990 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * textcursor.C: add <config.h>
5993
5994         * text.C (getWord): remove const from word_location arg
5995
5996         * lyxvc.C (getLogFile): fix const type order
5997
5998         * lyxtext.h: remove const from word_location arg, add arg name
5999
6000         * lyxlayout.h: currect type on labeltype.
6001
6002         * importer.C: correct \file
6003
6004         * converter.C (intToFormat): use std:: on ret val, ws changes
6005
6006         * bufferlist.h: correct \file
6007
6008         * buffer.C (makeLinuxDocFile): fix const type order
6009         (makeDocBookFile): ditto
6010         (fillWithBibKeys): use std:: on stdlib args.
6011
6012         * CutAndPaste.C: fix authors.
6013         (availableSelections): use std:: on return vector
6014
6015 2003-06-27  André Pönitz  <poenitz@gmx.net>
6016
6017         * BufferView_pimpl.C:
6018         * bufferview_funcs.C:
6019         * lyxcursor.C:
6020         * lyxcursor.h:
6021         * lyxfunc.C:
6022         * lyxtext.h:
6023         * rowpainter.C:
6024         * text.C:
6025         * text2.C:
6026         * text3.C: remove LyXCursor::row_ member
6027
6028         * lyxtext.h:
6029         * text.C: rename fullRebreak() to partialRebreak() and implement
6030           a fullRebreak() that really bereks fully
6031
6032         * textcursor.h: new struct for cursor-related data
6033
6034 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6035
6036         * lyx_main.C (LyX): get full path of document loaded on the
6037         command line
6038
6039 2003-06-26  André Pönitz  <poenitz@gmx.net>
6040
6041         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6042           remove unused/broken operator>,<,>=.
6043
6044         *       text.C: remove only use of broken operator<= in an Assert().
6045
6046 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6047
6048         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6049         moved errorlist_.clear to showErrorList
6050
6051 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6052
6053         * converter.C (scanLog, runLaTeX):
6054         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6055         move the bv->showErrorList call to the callers
6056         * lyxfunc.C: i.e. here...
6057         * text2.C: and here
6058         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6059         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6060         namespace, the second to...
6061         * buffer_funcs (BufferFormat, parseErrors): added
6062         * errorlist.C (ErrorList(TeXErrors const &)): removed
6063
6064 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6065
6066         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6067
6068 2003-06-24  "Garst R. Reese" <reese@isn.net>
6069
6070         * debug.C: fix typo
6071
6072 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6073
6074         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6075
6076         * version.C.in: change docversion to 1.4
6077
6078 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6079
6080         * buffer.C: fix a bug just introduced
6081
6082 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6083
6084         * buffer.[Ch]: added the parseError signal and use it, removed
6085         sgmlError
6086         * BufferView.[Ch] (addError): moved to ...
6087         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6088         to the Buffer::parseError signal to catch (guess what) parse errors
6089         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6090
6091 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6092
6093         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6094         ability to create a buffer and to return an existing one from
6095         the list. Moved these functions to...
6096         * buffer_funcs.[Ch]: added
6097         * BufferView.[Ch] (loadLyXFile): added
6098         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6099         job removed from bufferlist::loadLyXFile.
6100         * buffer.C (setReadOnly): make it work without view
6101         (i.e added an if (users))
6102
6103 2003-06-19  Angus Leeming  <leeming@lyx.org>
6104
6105         * lfuns.h:
6106         * LyXAction.C (init):
6107         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6108         with LFUN_DIALOG_SHOW <name> <data>.
6109
6110 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6111
6112         * CutAndPaste.C (availableSelections): small compilation fix for
6113         ancient (gcc 2.9x) compilers
6114
6115 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * text3.C (cursorNext): add tmp var
6118
6119         * text2.C (updateCounters): for function calling out of for clause
6120         (replaceSelectionWithString): ditto
6121         (insertStringAsParagraphs): ditto
6122         (getColumnNearX): add tmp var
6123         (setCursorFromCoordinates): add tmp var
6124         (cursorDownParagraph): add tmp var
6125         (deleteEmptyParagraphMechanism): add tmp var
6126
6127         * text.C (insertChar): add tmp var
6128
6129         * rowpainter.C (paintDepthBar): add tmp var
6130
6131         * CutAndPaste.C (availableSelections): potentially check all
6132         paragraphs in a cut to fill the shown strings.
6133
6134 2003-06-18  André Pönitz  <poenitz@gmx.net>
6135
6136         * kbmap.[Ch]: use vector<> instead of list<>
6137
6138 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6139
6140         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6141         pasteSelection with index
6142
6143         * text2.C (pasteSelection): modify, call pasteSelection with index
6144
6145         * paragraph.C (asString): reimplement version with no interval to
6146         call the one with interval.
6147
6148         * lyxtext.h: add index arg to pasteSelection
6149
6150         * MenuBackend.C (MenuItem): handle PasteRecent
6151         (Menu::read::Menutags): add md_pasterecent
6152         (read): handle it
6153         (expandPasteRecent): new function
6154         (expand): use it
6155
6156         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6157
6158         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6159         the limited stack
6160         (availableSelections): new function
6161
6162 2003-06-17  Angus Leeming  <leeming@lyx.org>
6163
6164         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6165
6166 2003-06-17  Angus Leeming  <leeming@lyx.org>
6167
6168         * lfuns.h:
6169         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6170
6171         * lyxfunc.C (dispatch): invoke it.
6172
6173 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6174
6175         * iterators.C (operator++, ParPosition): reintroduce some
6176         const_cast for the benefit of older compilers.
6177
6178 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6179
6180         * text3.C (dispatch): do not modify clipboard when doing
6181         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6182         LFUN_DELETE_SKIP on a selection selection
6183
6184 2003-06-16  André Pönitz  <poenitz@gmx.net>
6185
6186         * BufferView.C:
6187         * buffer.C:
6188         * buffer.h:
6189         * paragraph.C:
6190         * tabular.[Ch]: IU of clone() and getLabelList();
6191
6192 2003-06-13  André Pönitz  <poenitz@gmx.net>
6193
6194         * tabular.h: compactification
6195
6196 2003-06-12  André Pönitz  <poenitz@gmx.net>
6197
6198         * tabular.C:
6199         * tabular.h:
6200         * tabular_funcs.h: some renaming plus whitespace
6201
6202 2003-06-12  André Pönitz  <poenitz@gmx.net>
6203
6204         * BufferView.C:
6205         * BufferView_pimpl.C:
6206         * CutAndPaste.C:
6207         * buffer.C:
6208         * iterators.[Ch]:
6209         * lyxfunc.C:
6210         * text.C:
6211         * toc.C: Return a Paragraph & for ParIterator::operator*()
6212
6213 2003-06-11  John Levon  <levon@movementarian.org>
6214
6215         * lyx_main.C:
6216         * ToolbarBackend.h:
6217         * ToolbarBackend.C: add "Toolbars" section and
6218         put the flags there
6219
6220 2003-06-10  Angus Leeming  <leeming@lyx.org>
6221
6222         * lfuns.h:
6223         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6224
6225         * lyxfunc.C (dispatch): invoke it.
6226
6227 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * main.C: protect <ios> with HAVE_IOS
6230         (main): protect sync_with_stdio with HAVE_IOS
6231
6232 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6233
6234         * text2.C (cutSelection): adjust
6235         (pasteSelection): adjust
6236
6237         * messages.C: handle get of empty string
6238
6239         * main.C (main): use sync_with_stdio(false)
6240
6241         * lyxfunc.C (dispatch): adjust
6242
6243         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6244         (WriteAs): remove unneeded BufferView arg.
6245
6246         * bufferparams.h: use correct types on papersize, papersize2 and
6247         paperpackage.
6248
6249         * bufferparams.C (readToken): adjust for type
6250         (writeLaTeX): add missing cases to switch.
6251
6252         * bufferlist.C (quitWriteBuffer): adjust
6253         (close): adjust
6254
6255         * buffer.C (asciiParagraph): remove some commented code.
6256
6257         * CutAndPaste.C: remove current_view extern variable.
6258         (cutSelection): add BufferParams arg.
6259         (eraseSelection): add BufferParams arg.
6260         (pasteSelection): add Buffer const & arg
6261
6262 2003-06-07  John Levon  <levon@movementarian.org>
6263
6264         * buffer.C:
6265         * paragraph_funcs.C:
6266         * paragraph_pimpl.C:
6267         * text.C:
6268         * text2.C:
6269         * paragraph.h:
6270         * paragraph.C: allow InsetERT to freely space lines,
6271         and some consolidation of code
6272
6273 2003-06-06  José Matos  <jamatos@fep.up.pt>
6274
6275         * buffer.C (makeDocBookFile): fix bug #821
6276
6277 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6278
6279         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6280
6281 2003-06-04  Angus Leeming  <leeming@lyx.org>
6282
6283         * buffer.C: bump format to 224.
6284
6285 2003-06-05  André Pönitz  <poenitz@gmx.net>
6286
6287         * text2.C (redoParagraphs): remove two const_cast<>
6288
6289 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6290
6291         * ParagraphList.h: remove last remnants of NO_STD_LIST
6292
6293 2003-06-03  Angus Leeming  <leeming@lyx.org>
6294
6295         * factory.C (createInset): small change to the way InsetExternal's params
6296         are set.
6297
6298 2003-06-04  André Pönitz  <poenitz@gmx.net>
6299
6300         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6301
6302         * paragraph_pimpl.h:
6303         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6304
6305         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6306
6307         * undo_funcs.C: make some simple cases of undo work again
6308
6309 2003-06-03  John Levon  <levon@movementarian.org>
6310
6311         * ispell.C: HPUX doesn't have sys/select.h
6312         (from Albert Chin)
6313
6314 2003-06-03  John Levon  <levon@movementarian.org>
6315
6316         * CutAndPaste.C: update tabular and include inset
6317         buffer references
6318
6319         * buffer.h:
6320         * paragraph.h:
6321         * paragraph.C: remove owningBuffer(), don't pass Buffer
6322         to clone()
6323
6324         * factory.C: insetGraphicsParams changed
6325
6326 2003-06-02  John Levon  <levon@movementarian.org>
6327
6328         * LyXAction.C:
6329         * factory.C:
6330         * lfuns.h:
6331         * lyxfunc.C:
6332         * text3.C: remove insetparent
6333
6334 2003-06-02  John Levon  <levon@movementarian.org>
6335
6336         * buffer.h:
6337         * buffer.C: fix inset_iterator.end(), move out of line
6338         (bug 1149)
6339
6340 2003-06-01  John Levon  <levon@movementarian.org>
6341
6342         * text3.C: use a proper cut/paste when doing inset
6343         insert (from Jürgen Spitzmüller)
6344
6345 2003-06-01  John Levon  <levon@movementarian.org>
6346
6347         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6348
6349 2003-05-30  André Pönitz  <poenitz@gmx.net>
6350
6351         * rowpainter.C: unify second drawing phase
6352
6353 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6354
6355         * trans_mgr.C: remove one case of current_view
6356
6357         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6358
6359         * paragraph_funcs.h: remove paragraph.h include
6360
6361         * paragraph.h: delete NO_STD_LIST stuff
6362
6363         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6364
6365         * buffer.h: remove paragraph.h include
6366
6367         * ParagraphList.C: delete file
6368
6369         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6370
6371         * toc.C (getTocList): adjust
6372
6373         * paragraph_pimpl.C (validate): adjust
6374
6375         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6376
6377         * paragraph.C (Paragraph): adjust
6378         (getPositionOfInset): use const_iterator, adjust
6379         (bibitem): use const_iterator, adjust
6380         (setInsetOwner): adjust
6381
6382         * iterators.C (operator++): adjust
6383
6384         * InsetList.[Ch]: Replace selfmade iterator with standard
6385         vector::iterator also introduce const_iterator. Remove getPos,
6386         getInset and setInset from InsetTable. Adjust accordingly.
6387
6388         * BufferView.C (lockInset): adjust
6389         (ChangeInsets): adjust
6390
6391         * tabular.[Ch]: delete commented same_id functions
6392
6393 2003-05-28  John Levon  <levon@movementarian.org>
6394
6395         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6396
6397 2003-05-28  André Pönitz  <poenitz@gmx.net>
6398
6399         * metricsinfo.[Ch]: remove 'fullredraw' member
6400
6401 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6402
6403         * lyxtextclass.C (operator): remove caching.
6404
6405 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * text3.C: adjust
6408
6409         * text2.C (cursorBottom): adjust
6410         (setCounter): use ParagraphList::find, adjust
6411
6412         * text.C (workWidth): use ParagraphList::find, adjust
6413
6414         * lyxcursor.C (LyXCursor): adjust
6415
6416         * buffer.C (inset_iterator): adjust
6417
6418         * ParagraphList.h: make iterator(value_type) private, make
6419         ParagraphList a friend of iterator.
6420
6421         * ParagraphList.C (find): new function
6422
6423         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6424
6425 2003-05-27  André Pönitz  <poenitz@gmx.net>
6426
6427         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6428
6429 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6430
6431         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6432
6433 2003-05-26  John Levon  <levon@movementarian.org>
6434
6435         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6436
6437 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6438
6439         * remove same_id from function signatures, adjust.
6440
6441 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6444
6445         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6446
6447         * paragraph.C (Paragraph): get rid of same_ids parameter
6448
6449         * ParagraphList.C (insert): adjust
6450         (push_back): adjust
6451
6452 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * paragraph_funcs.C (breakParagraph): adjust
6455         (breakParagraphConservative): adjust
6456
6457         * buffer.C (readParagraph): adjust
6458
6459         * ParagraphList.C (insert): take a reference instead of a pointer
6460         (insert): adjust
6461
6462         * paragraph.[Ch] (id): new function
6463
6464         * bufferlist.C (newFile): adjust
6465
6466         * ParagraphList.C (ParagraphList): adjust
6467         (assign): adjust
6468         (push_back): take a reference instead of a pointer.
6469
6470         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6471
6472         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6473         instead.
6474
6475         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6476         set else use old code.
6477
6478         * ParagraphList.C: remove all NO_NEXT code and only compile this
6479         code of NO_STD_LIST is set.
6480
6481 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6482
6483         * BufferView_pimpl.C:
6484         * TextCache.C:
6485         * TextCache.h:
6486         * bufferlist.C:
6487         * errorlist.h:
6488         * format.C:
6489         * format.h:
6490         * graph.C:
6491         * lyxfunc.C:
6492         * lyxrc.C:
6493         * graphics/GraphicsConverter.C:
6494         * graphics/PreviewLoader.C: header adjustment
6495
6496 2003-05-23  Angus Leeming  <leeming@lyx.org>
6497
6498         * LaTeXFeatures.[Ch] (useBabel): new method.
6499         * bufferparams.C (writeLaTeX): use it.
6500
6501 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * ParagraphList.h (set): remove unused function.
6504
6505 2003-05-23  André Pönitz  <poenitz@gmx.net>
6506
6507         * BufferView.C:
6508         * BufferView_pimpl.C:
6509         * buffer.C:
6510         * buffer.h:
6511         * lyxfunc.C:
6512         * undo_funcs.C: setUndo reworked
6513
6514         * iterators.[Ch]: add access to topmost ParagraphList
6515
6516         * lyxtext.[Ch] (workWidth): add a const
6517
6518 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6519
6520         * texrow.[Ch] (increasePos): remove function
6521         * exporter.C (export): removed unused var and outdated comment
6522
6523 2003-05-23  Angus Leeming  <leeming@lyx.org>
6524
6525         * latexrunparams.h: rename fragile as moving_arg.
6526         * paragraph.C (simpleTeXOnePar): ditto.
6527         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6528
6529 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6532         (createUndo): ditto
6533         (textUndoOrRedo): comment out a currently unused var.
6534
6535         * paragraph.h (NO_NEXT): enable NO_NEXT
6536
6537         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6538
6539         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6540
6541         * exporter.C (Export): adjust for removeAutoInsets removal.
6542
6543         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6544
6545         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6546
6547         * BufferView.[Ch] (removeAutoInsets): delete function
6548
6549 2003-05-22  Angus Leeming  <leeming@lyx.org>
6550
6551         * latexrunparams.h: add a free_spacing variable.
6552
6553         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6554         to pass moving_arg, as the data is stored in runparams.fragile.
6555
6556         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6557         to Inset::latexOptional or to simpleTeXOnePar.
6558
6559         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6560         free_spacing arg to Inset::latexOptional.
6561
6562         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6563         free_spacing arg.
6564
6565 2003-05-22  Angus Leeming  <leeming@lyx.org>
6566
6567         * latexrunparams.h: add fragile and use_babel variables.
6568
6569         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6570         * buffer.C (makeLaTeXFile): store this returned value in
6571         runparams.use_babel, thus passing it to the inset::latex methods.
6572
6573         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6574         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6575
6576         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6577         longer has a fragile arg, as it is stored in runparams.fragile.
6578
6579         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6580         moving_arg parameter as the data is stored in runparams.fragile.
6581
6582         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6583         a fragile parameter as the data is stored in runparams.fragile.
6584
6585 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6586
6587         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6588
6589 2003-05-22  Angus Leeming  <leeming@lyx.org>
6590
6591         * latexrunparams.h: add a 'bool nice' which defaults to false.
6592
6593         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6594         now encapsulated within runparams.
6595
6596         * bufferlist.C (updateIncludedTeXfiles):
6597         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6598
6599 2003-05-22  Angus Leeming  <leeming@lyx.org>
6600
6601         * latexrunparams.h: new file containing struct LatexRunParams.
6602         * Makefile.am: add new file.
6603
6604         * LaTeX.[Ch] (c-tor, run):
6605         * buffer.[Ch] (makeLaTeXFile):
6606         * bufferlist.[Ch] (updateIncludedTeXfiles):
6607         * converter.C (convert, scanLog):
6608         * converter.[Ch] (runLaTeX):
6609         * exporter.C (Export):
6610         * paragraph.[Ch] (simpleTeXOnePar):
6611         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6612         * paragraph_funcs.[Ch] (latexParagraphs):
6613         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6614         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6615         pass around a LatexRunParams parameter.
6616
6617 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * paragraph.[Ch]: remove unused constructor
6620
6621         * ParagraphList.C (erase): new function, taking two iterators
6622
6623 2003-05-22  André Pönitz  <poenitz@gmx.net>
6624
6625         * undo_funcs.C: remove duplicated code
6626
6627         * iterator.[Ch]: operator=
6628
6629 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * tabular.C (SetMultiColumn): ws changes
6632
6633         * rowpainter.C (paintFirst): get rid of a ->previous
6634
6635         * lyx_cb.C (getPossibleLabel): parlist simplification
6636
6637         * BufferView.C (ChangeInsets): simplify slightly.
6638
6639 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6640
6641         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6642         * lfuns.h: new LFUN_SPACE
6643         * lyxfunc.C: protected space has a new lfun
6644         * paragraph_funcs.C: read new space insets
6645         * text3.C:
6646         * factory.C: handle new space insets
6647
6648 2003-05-22  André Pönitz  <poenitz@gmx.net>
6649
6650         * BufferView.C:
6651         * BufferView_pimpl.C:
6652         * buffer.[Ch]:
6653         * lyxfunc.C:
6654         * undo_funcs.C: return a ParIterator from getParFromID.
6655
6656         * iterators.[Ch]: add two const's
6657
6658 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * toc.C (getTocList): adjust
6661
6662         * iterators.[Ch]: rework for parlist
6663
6664         * buffer.C (par_iterator_begin): adjust
6665         (par_iterator_end): adjust
6666
6667         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6668
6669         * BufferView.C (removeAutoInsets): adjust
6670         (ChangeInsets): adjust
6671
6672 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6673
6674         * text.C (top_y): fix bug 1110
6675
6676 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6677
6678         * errorlist.[Ch]: added
6679         * buffer.C:
6680         * BufferView.[Ch]:
6681         * BufferView_pimpl.C:
6682         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6683         instead
6684
6685 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6686
6687         * Makefile.am: ensure that lyx is relinked upon changes to the
6688         various "convenience" libs.
6689
6690 2003-05-20  Angus Leeming  <leeming@lyx.org>
6691
6692         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6693         files are compiled in alphabetical order again.
6694
6695         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6696
6697 2003-05-19  Angus Leeming  <leeming@lyx.org>
6698
6699         * gettext.[Ch]: remove "char const * _(char const *)".
6700
6701 2003-05-19  André Pönitz  <poenitz@gmx.net>
6702
6703         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6704
6705         * Makefile.am:
6706         * BufferView.C:
6707         * DepTable.h:
6708         * LaTeXFeatures.C:
6709         * buffer.C:
6710         * lyxfont.C:
6711         * lyxlex.h:
6712         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6713
6714 2003-05-19  André Pönitz  <poenitz@gmx.net>
6715
6716         * buffer.C:
6717         * lyxlayout.[Ch]:
6718         * lyxtextclass.[Ch]:
6719         * paragraph.C:
6720         * paragraph_funcs.[Ch]:
6721         * text2.C:
6722         * text3.C: more insetenv work
6723
6724 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6725
6726         * ParagraphParameters.C (params2string): small bug fixed
6727
6728 2003-05-16  André Pönitz  <poenitz@gmx.net>
6729
6730         * debug.C:
6731         * bufferview_funcs.C: patch from Kornel Benko to prevent
6732           crash when _(...) is called twice in a statement
6733
6734 2003-05-16  André Pönitz  <poenitz@gmx.net>
6735
6736         * BufferView.C:
6737         * lyxfunc.C:
6738         * text.C:
6739         * text2.C:
6740         * text3.C:
6741         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6742
6743 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6744
6745         * lyx_main.C (init): remove spurious static_cast
6746
6747 2003-05-14  André Pönitz  <poenitz@gmx.net>
6748
6749         * BufferView.C: fix format string
6750
6751 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6752
6753         * BufferView.[Ch] (insertErrors): removed
6754         * BufferView.[Ch] (showErrorList): added
6755         * buffer.C (runChkTeX):
6756         * converter.C (scanLog): call showErrorList instead of inserterrors
6757
6758 2003-05-13  André Pönitz  <poenitz@gmx.net>
6759
6760         * BufferView_pimpl.C:
6761         * buffer.C:
6762         * bufferview_func.C:
6763         * MenuBackend.C:
6764         * lyxfunc.C:
6765         * lyxrc.C:
6766         * tex-accent.C:
6767         * text3.C:
6768         * toc.C:
6769         * tabular_funcs.h: tostr() from its own header
6770
6771         * ParagraphParameters.C:
6772         * ToolbarBackend.C:
6773         * bufferparams.C:
6774         * format.C:
6775         * lyxlex_pimpl.C:
6776         * text3.C: STRCONV()
6777
6778 2003-05-12  André Pönitz  <poenitz@gmx.net>
6779
6780         * BufferView.C:
6781         * BufferView_pimpl.C:
6782         * CutAndPaste.C:
6783         * LaTeX.C:
6784         * LaTeXFeatures.C:
6785         * ParagraphParameters.C:
6786         * buffer.C:
6787         * bufferlist.C:
6788         * bufferparams.C:
6789         * bufferview_funcs.C:
6790         * converter.C:
6791         * counters.C:
6792         * debug.C:
6793         * exporter.C:
6794         * format.C:
6795         * importer.C:
6796         * lyx_cb.C:
6797         * lyx_main.C:
6798         * lyxfont.C:
6799         * lyxfunc.C:
6800         * lyxvc.C:
6801         * paragraph.C:
6802         * paragraph_funcs.C:
6803         * tabular.C:
6804         * tabular_funcs.C:
6805         * text2.C:
6806         * text3.C:  boost::format -> bformat  all over the place
6807
6808
6809 2003-05-09  André Pönitz  <poenitz@gmx.net>
6810
6811         * LColor.[Ch]: Pimpl the #include <map> away
6812
6813 2003-05-09  John Levon  <levon@movementarian.org>
6814
6815         * bufferlist.C: never remove emergency saves
6816
6817 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6818
6819         * Makefile.am: better lib building
6820
6821 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6822
6823         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6824         instead.
6825         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6826         (simpleTeXSpecialChars): adjust
6827         (simpleTeXSpecialChars): adjust
6828         * paragraph.C (simpleTeXOnePar): adjust
6829         * buffer.C (makeLaTeXFile): adjust
6830
6831         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6832
6833         * text2.C (changeDepth): parlist cleanup
6834         (getColumnNearX): ditto
6835
6836         * rowpainter.C (getLabelFont): parlist cleanup
6837
6838         * bufferlist.C (newFile): parlist cleanup
6839
6840         * CutAndPaste.C (eraseSelection): parlist cleanup
6841
6842         * BufferView_pimpl.C (trackChanges): parlist cleanup
6843         (dispatch): ditto
6844
6845         * BufferView.C (lockInset): parlist cleanup.
6846         (ChangeInsets): ditto
6847
6848 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * CutAndPaste.h: Update file header.
6851
6852         * CutAndPaste.C: Update file header.
6853         Store the parts cut out of the Document in a limited_stack.
6854         (copySelection): adjust
6855         (pasteSelection): new function, takes the index in the limited stack.
6856         (nrOfParagraphs): adjust
6857         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6858         simplify error inset insertion.
6859         (checkPastePossible): adjust
6860
6861 2003-05-06  John Levon  <levon@movementarian.org>
6862
6863         * text2.C: don't cast wrap inset to float
6864
6865 2003-05-05  André Pönitz  <poenitz@gmx.net>
6866
6867         * iterator.C:
6868         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6869
6870         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6871           few naked Paragraph *.
6872
6873 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6874
6875         * bufferparams.C: Output warning if a document with missing
6876         TeX document class is loaded
6877         * exporter.C: Disable TeX exports if the document class is missing
6878         * lyxtextclass.C:
6879         * lyxtextclass.h:
6880         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6881         isTeXClassAvailable()
6882
6883 2003-05-03  John Levon  <levon@movementarian.org>
6884
6885         * BufferView.h:
6886         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6887         explicit cursor show/hide
6888
6889         * BufferView_pimpl.h:
6890         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6891         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6892
6893         * lyxfunc.C: hide cursor before dispatching.
6894
6895         * lyx_cb.C:
6896         * lyxfind.C:
6897         * text.C:
6898         * text3.C: remove explicit cursor hides
6899
6900 2003-05-02  André Pönitz  <poenitz@gmx.net>
6901
6902         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6903
6904         * undo_funcs.C:
6905         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6906           linked lists
6907
6908         * text2.C: tiny whitespace
6909
6910 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * undo_funcs.C: almost only ws changes.
6913
6914         * ParagraphList.C (splice): just return if pl is empty.
6915
6916 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * ParagraphList.C (splice): new function.
6919
6920         * CutAndPaste.C (pasteSelection): use it
6921
6922 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * CutAndPaste.C (pasteSelection): remove the last next and
6925         previous from this file.
6926
6927 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * CutAndPaste.C (pasteSelection): more clean up, user proper
6930         ParagraphList functions for pasteing.
6931
6932         * ParagraphList.C (insert): new function, three arg insert
6933
6934 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6935
6936         * ParagraphList.C (insert): new function, three arg insert
6937
6938         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6939         not on paragraphs.
6940
6941 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6942
6943         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6944
6945 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6946
6947         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6948
6949 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6950
6951         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6952         (copySelection): clean up a bit.
6953         (pasteSelection): use make_pair
6954
6955         * ParagraphList.C (ParagraphList): implement copy constructor
6956         (operator=): implement, base on copy constructor.
6957         (assign): new func
6958
6959         * paragraph.C (erase): return a bool
6960
6961         * paragraph_pimpl.C (erasePos): remove function, move contents...
6962         (erase): ... here. Return a bool.
6963         (erase): call erase instead of erasePos.
6964
6965 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6966
6967         * ParagraphList.h: define PitPosPair
6968         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6969         ParagraphList, fix a bug on pasting multiple pars
6970         * text2.C: change interface to C&P
6971
6972 2003-04-30  André Pönitz  <poenitz@gmx.net>
6973
6974         * undo_func.C: revert part of yesterday's patch 2
6975
6976 2003-04-30  John Levon  <levon@movementarian.org>
6977
6978         * LColor.C: s/tabular/table/
6979
6980 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * text3.C (dispatch): do not convert iterator -> pointer
6983         * undo_funcs.C (setCursorParUndo): ditto
6984         * text_funcs.C (transposeChars): ditto
6985
6986         * text2.C (setLayout): ws changes only
6987
6988         * text.C (breakParagraph): do not convert iterator -> pointer
6989         (insertChar): ditto
6990         (acceptChange): ditto
6991         (rejectChange): ditto
6992         (changeCase): ditto
6993         (Delete): ditto
6994         (backspace): ditto
6995
6996         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6997         pointer
6998
6999 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * text3.C (gotoInset): YABG (yet another bad getChar)
7002
7003 2003-04-29  André Pönitz  <poenitz@gmx.net>
7004
7005         * paragraph.h: make operator= private unimplemented as long as
7006           it is unusable
7007
7008         * ParagraphList.C: whitespace
7009
7010         * paragraph.[Ch]:
7011         * paragraph_pimpl.[Ch]:
7012         * paragraph_funcs.C:
7013         * CutAndPaste.C:
7014         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7015
7016         * text2.C:
7017           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7018
7019 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7020
7021         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7022         * paragraph.[Ch] (erase):
7023         * paragraph_pimpl.[Ch] (erase): change return type and value
7024         * text2.C (cutSelection): some rework
7025
7026 2003-04-28  John Levon  <levon@movementarian.org>
7027
7028         * bufferlist.C: changes for unsaved changes dialog
7029
7030 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7031
7032         * bufferlist.C (newFile): set language (messages_) for new
7033         documents also.
7034
7035         * buffer.C (readFile): ws changes only.
7036
7037 2003-04-28  André Pönitz  <poenitz@gmx.net>
7038
7039         * undo_funcs.C:
7040         * lyxfunc.C:
7041         * buffer.[Ch]:
7042         * BufferView_pimpl.C:
7043         * BufferView.C: getParFromID related ParagraphList::iterator changes
7044
7045 2003-04-28  André Pönitz  <poenitz@gmx.net>
7046
7047         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7048           Changes
7049
7050 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * messages.C: remove one more localedir class variable.
7053
7054 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * messages.C (getLocaleDir): singleton generation function
7057         (Pimpl): use it.
7058         (Messages): add a default constructor.
7059
7060         * main.C (main): do not setup localedir here, do not call
7061         gettext_init.
7062
7063         * gettext.C (_): use it.
7064         (gettext_init): delete funciton
7065
7066 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * gettext.C (getLyXMessages): new singleton generating function.
7069
7070         * buffer.C (updateDocLang): adjust
7071
7072         * Makefile.am (messages.o): add target
7073         (main.o): remove target
7074
7075 2003-04-27  John Levon  <levon@movementarian.org>
7076
7077         * bufferlist.C:
7078         * lyx_cb.C:
7079         * lyxfunc.C:
7080         * lyxvc.C: specify cancel button in Alert::prompt
7081
7082 2003-04-26  John Levon  <levon@movementarian.org>
7083
7084         * text3.C:
7085         * lyxfunc.C:
7086         * lfuns.h:
7087         * LyXAction.C: add LFUN_INSET_SETTINGS
7088
7089         * lyxfunc.C: don't enable tabular-feature when there's
7090         just any locking inset
7091
7092 2003-04-26  John Levon  <levon@movementarian.org>
7093
7094         * bufferlist.C: re-add Cancel to buffer close question
7095
7096         * lyxfunc.C: fix import UI a bit
7097
7098 2003-04-25  John Levon  <levon@movementarian.org>
7099
7100         * gettext.C: remove the broken asserts for now
7101
7102 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7103
7104         * messages.C: make case where setlocale cannot comply work better.
7105
7106         * buffer.C (updateDocLang): new function
7107         (changeLanguage): use it
7108         (readFile): use it
7109
7110         * text2.C (setCounter): use B_ a bit.
7111
7112         * lyxlayout.C (Read): be sure to trim the label strings.
7113
7114         * messages.C (Messages): fix typo in comment
7115
7116         * buffer.C (readFile): set message_ after file is loaded.
7117         (makeDocBookFile): remove double return
7118         (changeLanguage): reset message_ upon language change.
7119         (B_): new func, use this to get translated buffer strings.
7120
7121         * main.C: add myself and Jean Marc as authors.
7122
7123 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * messages.[hC]: pimplify Messages, and three different pimpls to be
7126         used in different circumstances.
7127
7128         * gettext.[Ch]: change for use with new message code.
7129
7130 2003-04-24 André Pönitz <poenitz@gmx.net>
7131
7132         * factory.C: support for eqref
7133
7134 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * messages.[Ch]: add missing char
7137
7138         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7139
7140         * messages.[Ch]: New files
7141
7142 2003-04-18  John Levon  <levon@movementarian.org>
7143
7144         * BufferView.h:
7145         * BufferView.C:
7146         * BufferView_pimpl.C:
7147         * lfuns.h:
7148         * LyXAction.C:
7149         * lyxtext.h:
7150         * text2.C: remove layout-copy/paste (bug 778)
7151
7152 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7153
7154         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7155
7156 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7157
7158         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7159         if they succeed. Act accordingly.
7160
7161 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * text2.C (setCharFont): adjust
7164         (setCounter): adjust
7165         (insertStringAsLines): adjust
7166
7167         * text.C (leftMargin): adjust
7168         (setHeightOfRow): adjust
7169
7170         * rowpainter.C (paintFirst): adjust
7171         (paintLast): adjust
7172
7173         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7174         (outerHook): ditto
7175         (isFirstInSequence): ditto
7176         (getEndLabel): ditto
7177         (outerFont): adjust
7178
7179         * paragraph.C (getParLanguage): comment out some hard stuff.
7180
7181         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7182         (sgmlError): ditto
7183         (simpleDocBookOnePar): ditto
7184         (makeDocBookFile): use ParagraphList::iterator
7185
7186         * CutAndPaste.C (pasteSelection): adjust
7187
7188 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7189
7190         * text2.C (getFont): adjust
7191         (getLayoutFont): adjust
7192         (getLabelFont): adjust
7193
7194         * paragraph_funcs.C (TeXOnePar): adjust
7195
7196         * buffer.C (simpleLinuxDocOnePar): adjust
7197         (simpleDocBookOnePar): adjust
7198
7199         * CutAndPaste.C (pasteSelection): adjust
7200
7201         * BufferView.C (getEncoding): adjust
7202
7203         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7204
7205 2003-04-16  John Levon  <levon@movementarian.org>
7206
7207         * lyxfind.C: use parlist stuff for search/changes
7208
7209 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7212
7213         * text2.C (deleteEmptyParagraphMechanism): adjust
7214
7215         * text2.[Ch] (ownerParagraph): delete func (both of them
7216
7217 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7218
7219         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7220
7221 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7222
7223         * ParagraphList.C: prepare for NO_NEXT
7224
7225 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * text2.C (getFont): adjust
7228         (getLayoutFont): adjust
7229         (getLabelFont): adjust
7230
7231         * paragraph.C (getFont): adjust
7232         (getLabelFont): adjust
7233         (getLayoutFont): adjust
7234
7235         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7236
7237 2003-04-15  John Levon  <levon@movementarian.org>
7238
7239         From Angus Leeming
7240
7241         * lyx_main.C: handle Include in .ui files
7242
7243 2003-04-15  John Levon  <levon@movementarian.org>
7244
7245         * MenuBackend.C: make the doc files length shorter
7246
7247         * ToolbarBackend.h:
7248         * ToolbarBackend.C: handle toolbar placement flags,
7249         Minibuffer
7250
7251 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7252
7253         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7254         adjust
7255
7256         * paragraph_funcs.C (TeXOnePar): adjust
7257
7258         * paragraph.C (getLabelFont): add outerfont arg, adjust
7259         (getLayoutFont): ditto
7260         (simpleTeXOnePar): adjust
7261
7262         * paragraph_pimpl.C (realizeFont): delete func
7263
7264 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7267         row argument, constify cur argument.
7268
7269 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7270
7271         * text2.C (getFont): adjust
7272         (getLayoutFont): adjust
7273         (getLabelFont): adjust
7274
7275         * paragraph_funcs.C (TeXOnePar): adjust
7276         (outerFont): new func...
7277         (realizeFont): ...moved out from here, changed this to facilitate
7278         transition
7279
7280         * paragraph.C (getFont): take outerfont as arg, adjust
7281         (simpleTeXOnePar): add outerfont arg, adjust
7282
7283         * buffer.C (simpleLinuxDocOnePar): adjust
7284         (simpleDocBookOnePar): adjust
7285
7286         * CutAndPaste.C (pasteSelection): adjust
7287
7288         * BufferView.C (getEncoding): adjust
7289
7290 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * text2.C (setCharFont): adjust
7293         (setCounter): adjust
7294
7295         * text.C (leftMargin): adjust
7296         (setHeightOfRow): adjust
7297
7298         * rowpainter.C (paintFirst): adjust
7299         (paintLast): adjust
7300
7301         * paragraph_pimpl.C (realizeFont): adjust
7302
7303         * paragraph.C (isFirstInSequence): move from here...
7304         * paragraph_funcs.C (isFirstInSequence): ...to here
7305
7306         * paragraph.C (outerHook): move from here...
7307         * paragraph_funcs.C (outerHook): ...to here
7308
7309         * paragraph.C (depthHook): move from here...
7310         * paragraph_funcs.C (depthHook): ...to here
7311
7312         * paragraph.C (getEndLabel): move from here...
7313         * paragraph_funcs.C (getEndLabel): ...to here
7314
7315         * text2.C (realizeFont): move from here...
7316         * paragraph_funcs.C (realizeFont): ...to here
7317
7318 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7321
7322 2003-04-14  Angus Leeming  <leeming@lyx.org>
7323
7324         * LColor.[Ch]: scrap LColor mathcursor.
7325
7326 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * lyxlex.[Ch] (text): delete function
7329         * trans.C (Load): adjust
7330         * paragraph_funcs.C (readParToken): adjust
7331
7332 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7333
7334         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7335         vector<char> instead of a char[].
7336
7337         * lyxlex_pimpl.C (getString): adjust
7338         (next): adjust
7339         (lex): use getString
7340         (eatLine): adjust
7341         (nextToken): adjust
7342
7343         * lyxlex.C (text): use pimpl_->getString()
7344         (getBool): ditto
7345         (findToken): ditto
7346
7347 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7350         (makeFontEntriesLayoutSpecific): temp var for par.size()
7351         (setLayout): temp var for ownerParagraphs().end()
7352         (fullRebreak): temp var for rows().end()
7353         (selectionAsString): temp var for boost::next(startpit), realize
7354         that the while really is a regular for loop.
7355         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7356         setCursor in one place.
7357         (setParagraph): temp vr for ownerParagraphs().end()
7358         (updateCounters): make the while loop a for loop
7359         (cutSelection): temp var for ownerParagraphs().end()
7360         (updateInset): make the do {} while() a regular for loop
7361         (getCursorX): use temp vars
7362         (setCurrentFont): use temp vars
7363         (getColumnNearX): use temp vars
7364
7365 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7366
7367         * text.C (transformChar): use temp var for getChar
7368         (computeBidiTables): use temp var for row->par()
7369         (fill): move temp vars for row->par() and pit->layout() earlier in
7370         the function.
7371         (labelFill): use temp var for row->par()
7372         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7373         asc and desc, realize that pit never changes and that firstpit is
7374         just a duplicate and not needed. Exchange rit->par() with pit in a
7375         lot of places.
7376         (breakAgain): use a temp var for boost::next(rit)
7377         (breakAgainOneRow): ditto
7378         (breakParagraph): use a temp var for rows().begin()
7379         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7380         (cursorRightOneWord): use temp var for cursor.par() and
7381         cursor.pos(), remove usage of tmpcursor.
7382         (cursorLeftOneWord): use temp var for cursor.par() and
7383         cursor.pos() only set cur at end of function.
7384
7385 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * text.C, text2.C: exchange all usage of Paragraph::next with
7388         boost::next(ParagraphList::iterator)
7389
7390         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7391
7392         * text2.C (cursorTop): simplify implementation
7393         (cursorBottom): ditto
7394         (setParagraph): use ParagraphList::iterator
7395         (setCurrentFont): adjust
7396         (getColumnNearX): adjust
7397         (cursorRight): adjust
7398         (cursorLeft): remove usage of Paragraph::previous
7399         (cursorUpParagraph): ditto
7400         (deleteEmptyParagraphMechanism): slight cleanup
7401
7402         * text.C (isBoundary): take a Paragraph const & instead of a
7403         pointer as arg.
7404         (addressBreakPoint): ditto
7405         (leftMargin): remove usage of Paragraph::previous.
7406         (setHeightOfRow): ditto
7407         (cursorLeftOneWord): ditto
7408         (selectNextWordToSpellcheck): ditto
7409         (Delete): ditto
7410         (backspace): ditto
7411         (breakParagraph): remove one usage of Paragraph::next
7412         (redoParagraph): ditto
7413         (acceptChange): ditto
7414         (insertChar): adjust
7415         (rowBreakPoint): adjust
7416
7417         * bufferview_funcs.C (toggleAndShow): adjust
7418
7419 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7420
7421         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7422         methods to access it.
7423         * lyxtext.h:
7424         * text.C: Added updateRowPositions to compute all row positions.
7425         Make top_y and getRowNearY() to use the cached y position
7426
7427 2003-04-11  John Levon  <levon@movementarian.org>
7428
7429         * text.C (rowBreakPoint): reintroduce the labelEnd
7430         checks, code copied from the row fill stuff. Deep voodoo.
7431
7432         * text.C (fill): add a comment and debugging for the
7433         next poor soul.
7434
7435 2003-04-11  John Levon  <levon@movementarian.org>
7436
7437         * text.C: make sure fullrow insets get wrapped to the next line,
7438         even when they're in a manual label
7439
7440 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * text2.C (insertParagraph): make it take ParagraphList::iterator
7443         as arg.
7444         (setLayout): make it return ParagraphList::iterator
7445         (redoParagraphs): ditto
7446         (setCounter): ditto
7447         (checkParagraph): ditto
7448
7449         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7450
7451         * text2.C: adjust several funcs.
7452         (realizeFont): take a ParagraphList::iterator as arg.
7453         (getLayoutFont): ditto
7454         (getLabelFont): ditto
7455         (setCharFont): ditto
7456
7457         * text.C: adjust several funcs.
7458
7459 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7460
7461         * text.C (selectNextWordToSpellcheck): don't accidentally
7462         skip insets
7463
7464 2003-04-10  John Levon  <levon@movementarian.org>
7465
7466         * ToolbarBackend.C (getIcon): special handling for
7467         LFUN_MATH_DELIM
7468
7469 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7470
7471         * text2.C (cursorRight): a getChar assert fixed
7472
7473 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * text2.C (getFont): change to take a ParagraphList::iterator
7476         instead of Paragraph*
7477         Adjust several functions.
7478
7479         * text.C (transformChar): change to take a ParagraphList::iterator
7480         instead of Paragraph*
7481         (singleWidth): ditto
7482         Adjust several functions.
7483
7484         * rowpainter.C: adjust several functions
7485         * rowpainter.h:store a ParagraphList::iterator and not a
7486         Paragraph&.
7487
7488
7489 2003-04-09  John Levon  <levon@movementarian.org>
7490
7491         * lyxfunc.C:
7492         * lfuns.h:
7493         * LyXAction.h:
7494         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7495         and the "help" bits as well
7496
7497 2003-04-09  John Levon  <levon@movementarian.org>
7498
7499         * ToolbarBackend.h:
7500         * ToolbarBackend.C: allow multiple toolbars
7501
7502 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * undo_funcs.C (setCursorParUndo): adjust
7505
7506         * text_funcs.C (transposeChars): adjust
7507
7508         * text3.C (gotoNextInset): adjust
7509         (dispatch): adjust
7510
7511         * text2.C (setLayout): adjust
7512         (changeDepth): adjust
7513         (setFont): adjust
7514         (redoParagraphs): adjust
7515         (selectionAsString): adjust
7516         (setParagraph): adjust
7517         (insertInset): adjust
7518         (cutSelection): adjust
7519         (copySelection): adjust
7520         (pasteSelection): adjust
7521         (insertStringAsLines): adjust
7522         (updateInset): adjust
7523         (setCursor): change to take a ParagraphList::iterator parameter
7524         (setCursorIntern): change to take a ParagraphList::iterator parameter
7525         (setCurrentFont): adjust
7526         (cursorLeft): adjust
7527         (cursorRight): adjust
7528         (deleteEmptyParagraphMechanism): adjust
7529
7530         * text.C (breakParagraph): adjust
7531         (insertChar): adjust
7532         (acceptChange): adjust
7533         (rejectChange): adjust
7534         (selectNextWordToSpellcheck): adjust
7535         (changeCase): adjust
7536         (Delete): adjust
7537         (backspace): adjust
7538
7539         * lyxfind.C (SearchForward): adjust
7540         (SearchBackward): adjust
7541         (nextChange): adjust
7542
7543         * lyxcursor.C (par): adjust
7544
7545         * lyxcursor.h: store a ParagraphList::iterator instead of a
7546         Paragraph*
7547
7548         * lyx_cb.C (getPossibleLabel): adjust
7549
7550         * bufferview_funcs.C (toggleAndShow): adjust
7551
7552         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7553         (dispatch): adjust
7554
7555         * BufferView.C (removeAutoInsets): adjust
7556         (lockedInsetStoreUndo): adjust
7557
7558 2003-04-09  John Levon  <levon@movementarian.org>
7559
7560         * ToolbarBackend.C: try icon without argument
7561         if with argument fails
7562
7563 2003-04-08  John Levon  <levon@movementarian.org>
7564
7565         * ToolbarBackend.h:
7566         * ToolbarBackend.C: add getIcon(), handle tooltip,
7567         and change from "Icon" to "Item".
7568
7569 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7570
7571         * BufferView.C (lockInset): another bad getchar crunched
7572
7573 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7574
7575         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7576         again)
7577
7578 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7579
7580         * lyxfind.C (searchForward, searchBackwards): bug 782
7581
7582 2003-04-07  John Levon  <levon@movementarian.org>
7583
7584         * paragraph.C: remove dead comment
7585
7586         * text.C: remove troublesome depth-fiddling code
7587         in leftMargin() and rightMargin() (bug 1017)
7588
7589         * text.C: fix breaking of rows in nested lists
7590         (bug 1004)
7591
7592         * text2.C (updateCounters): fix up depth values
7593         (bug 1013)
7594
7595 2003-04-07  John Levon  <levon@movementarian.org>
7596
7597         * BufferView_pimpl.C: clear message when doc finishes resizing,
7598         and after a mouse event
7599
7600         * lyxfunc.C: clear message after exiting inset
7601
7602 2003-04-07  John Levon  <levon@movementarian.org>
7603
7604         * bufferview_funcs.C: show math status not outside
7605         status in the statusbar
7606
7607 2003-04-07  John Levon  <levon@movementarian.org>
7608
7609         * lyxfunc.C: note status changed after a depth change
7610
7611 2003-04-04  Angus Leeming  <leeming@lyx.org>
7612
7613         * LaTeX.h: move AuxInfo operator==, != out of line.
7614         Remove LaTeX virtual destructor; nothing derives from it.
7615         Move operator()() out of public area and rename it startscript().
7616         Change protected for private.
7617
7618 2003-04-04  Angus Leeming  <leeming@lyx.org>
7619
7620         * lyxfunc.C:
7621         * text2.C: remove unneeded #includes.
7622
7623 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7624
7625         * text2.C (dEPM): fix the heigth of the next row
7626
7627 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7628
7629         * text.C: squashed an invalid getChar requester + some ws changes
7630
7631 2003-04-03  John Levon  <levon@movementarian.org>
7632
7633         * bufferview_funcs.h:
7634         * bufferview_funcs.C:
7635         * lyxfunc.C:
7636         * lyxtext.h:
7637         * text2.C: make getStatus work for the env depth lfuns
7638
7639 2003-04-03  John Levon  <levon@movementarian.org>
7640
7641         * bufferview_funcs.h:
7642         * bufferview_funcs.C:
7643         * lyxfunc.C:
7644         * lyxtext.h:
7645         * text2.C: parlistize decDepth(), by merging it with incDepth()
7646
7647 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * lyxrow.h: store a ParagraphList::iterator instead of a
7650         Paragraph* and adjust other class functions to suit.
7651
7652         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7653         above.
7654
7655 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7656
7657         * text2.C (setCursor): do not anchor to cursor row for the time being
7658
7659 2003-04-02  John Levon  <levon@movementarian.org>
7660
7661         * LyXAction.C:
7662         * lfuns.h:
7663         * lyx_main.C:
7664         * lyxtext.h:
7665         * text.C:
7666         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7667
7668 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * paragraph.h: make ParagraphList and ParagraphList::iterator
7671         friends of Paragraph.
7672
7673         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7674
7675         * ParagraphList.C: Use the private next_ and previous_ from
7676         Paragraph.
7677
7678 2003-04-01  John Levon  <levon@movementarian.org>
7679
7680         * ToolbarBackend.h:
7681         * ToolbarBackend.C:
7682         * Makefile.am: rename, remove defaults gunk
7683
7684         * MenuBackend.h:
7685         * MenuBackend.C: remove defaults gunk
7686
7687         * Languages.h:
7688         * Languages.C: remove defaults gunk
7689
7690         * lyx_main.h:
7691         * lyx_main.C: error out if files couldn't be found.
7692
7693 2003-04-02  John Levon  <levon@movementarian.org>
7694
7695         * text2.C: make incDepth() use parlist
7696
7697 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * undo_funcs.C (firstUndoParagraph): adjust
7700
7701         * text3.C (gotoInset): adjust
7702         (dispatch): adjust, and rewrite loop.
7703
7704         * text2.C (init): adjust, and rewrite loop.
7705         (redoParagraphs): adjust
7706         (updateInset): adjust, and rewrite loop.
7707         (deleteEmptyParagraphMechanism): adjust
7708
7709         * tabular.C (LyXTabular): adjust
7710         (SetMultiColumn): adjust
7711         (TeXRow): adjust
7712
7713         * lyxtext.[Ch] (ownerParagraph): delete function
7714         (ownerParagraphs): new function returns a ParagraphList.
7715
7716         * BufferView.C (removeAutoInsets): adjust
7717         (insertErrors): adjust
7718         (setCursorFromRow): adjust
7719
7720 2003-04-01  Angus Leeming  <leeming@lyx.org>
7721
7722         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7723         in the frontends.
7724
7725 2003-04-02  John Levon  <levon@movementarian.org>
7726
7727         * lyxtext.h:
7728         * text.C:
7729         * Makefile.am:
7730         * text_funcs.h:
7731         * text_funcs.C: make transposeChars a free function
7732
7733         * lyxrow_funcs.C: remove wrong comment
7734
7735 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * lyxtext.h: adjust
7738         * rowpainter.C: adjust
7739         * text.C: adjust
7740         * text2.C: adjust
7741         * text3.C: adjust
7742
7743         * lyxrow_funcs. [Ch]: new files
7744
7745         * lyxrow.[Ch]: remove next and previous pointers
7746         (next,previous): remove accessor functions
7747         (isParEnd): move to lyxrow_funcs
7748         (lastPos): move to lyxrow_funcs
7749         (nextRowIsAllInset): move to lyxrow_funcs
7750         (lastPrintablePos): move to lyxrow_funcs
7751         (numberOfSeparators): move to lyxrow_funcs
7752         (numberOfHfills): move to lyxrow_funcs
7753         (numberOfLabelHfills): move to lyxrow_funcs
7754         (hfillExpansion): move to lyxrow_funcs
7755
7756         * lyxfunc.C: adjust
7757
7758         * bufferview_funcs.C (toggleAndShow): adjust
7759
7760         * RowList.h: Remove class RowList from file leave just a
7761         std::list<Row>.
7762
7763         * RowList.C: delete file
7764
7765         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7766         and lyxrow_funcs.h
7767
7768 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7769
7770         * text3.C (cursorPrevious): adjust
7771         (cursorNext): adjust
7772         (dispatch): adjust
7773
7774         * text2.C (redoHeightOfParagraph): adjust
7775         (redoDrawingOfParagraph): adjust
7776         (setCursor): adjust
7777
7778         * text.C (breakParagraph): adjust
7779         (insertChar): adjust
7780         (backspace): adjust
7781
7782         * rowpainter.C (RowPainter): adjust
7783         (leftMargin): simplify and adjust
7784         (most rowpainter functions): adjust.
7785
7786         * rowpainter.h: store the row as RowList::iterator not as Row*
7787
7788         * lyxcursor.C (row): taka RowList::iterator as arg
7789         (irow): ditto
7790
7791         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7792         of Row*.
7793
7794 2003-04-01  Angus Leeming  <leeming@lyx.org>
7795
7796         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7797         stuff like bool Bool.
7798
7799 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7800
7801         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7802         rewrite a loop
7803
7804 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7807         RowList::iterator.
7808
7809         * lyxtext.h (rows): drop one version and leve a const variant that
7810         returns a RowList::iterator.
7811
7812 2003-03-31  Angus Leeming  <leeming@lyx.org>
7813
7814         * text.C (fill): ensure that the signature is the same as that in the
7815         header file.
7816
7817 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * text2.C (redoParagraphs): adjust
7820         (updateCounters): adjust
7821         (checkParagraph): adjust
7822         (getColumnNearX): adjust and reformat a bit.
7823
7824         * text.C (top_y): adjust
7825         (workWidth): adjust
7826         (leftMargin): adjust
7827         (prepareToPrint): adjust
7828         (getRow): adjust
7829         (getRowNearY): adjust
7830
7831         * lyxtext.h: make rowlist_ mutable.
7832
7833         * RowList.h: add const_iterator
7834         * RowList.C: adjust for RowList::const_iterator.
7835
7836         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7837         adjust.
7838
7839 2003-03-31  John Levon  <levon@movementarian.org>
7840
7841         * lyxrc.h:
7842         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7843
7844         * lyx_main.C: set default fonts from using lyx_gui funcs
7845
7846         * exporter.C: pdf_mode moved from lyxrc
7847
7848         * lyx_cb.C:
7849         * lyxfunc.C: changes from above
7850
7851 2003-03-31  John Levon  <levon@movementarian.org>
7852
7853         * lyx_main.C: fix to the last fix
7854
7855 2003-03-31  John Levon  <levon@movementarian.org>
7856
7857         * bufferlist.C: "Load original" -> "Load Original"
7858
7859         * converter.C:
7860         * exporter.C:
7861         * importer.C:
7862         * lyx_main.C:
7863         * format.C: more Alert cleanups
7864
7865 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * text2.C (removeParagraph): make it take a RowList::iterator as
7868         arg, adjust.
7869         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7870         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7871
7872         * text.C (anchor_row): make it take a RowList::iterator as arg,
7873         adjust.
7874         (computeBidiTables): make it take a const reference to Row instead
7875         of Row pointer, adjust.
7876         (leftMargin): make it take a RowList::iterator as arg, adjust.
7877         (rowBreakPoint): adjust
7878         (breakAgainOneRow): make it take a RowList::iterator as arg,
7879         adjust.
7880         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7881
7882         * bufferview_funcs.C (toggleAndShow): adjust
7883
7884 2003-03-30  John Levon  <levon@movementarian.org>
7885
7886         * Makefile.am:
7887         * BoostFormat.h:
7888         * boost-inst.C: moved to support
7889
7890         * several files: changes as a result
7891
7892 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * text2.C (LyXText): adjust.
7895         (init): adjust
7896         (removeRow): make it take a RowList::iterator as arg, adjust.
7897         (fullRebreak): adjust
7898         (deleteEmptyParagraphMechanism): adjust
7899         (clearPaint): adjust
7900         (postPaint): adjust
7901
7902         * text.C (top_y): adjust
7903         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7904         (breakAgain): make it take a RowList::iterator as arg, adjust.
7905         (breakParagraph): adjust
7906         (insertChar): adjust
7907         (backspace): adjust
7908
7909         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7910         need_break_row, and refresh_row.
7911
7912         * text3.C (dispatch): adjust
7913
7914         * text2.C (checkParagraph): adjust
7915         (setCursor): adjust
7916         (setCursorFromCoordinates): adjust
7917
7918         * text.C (top_y): adjust
7919         (workWidth): adjust
7920         (getRow): make it return a RowList::iterator, adjust
7921         (getRowNearY): make it return a RowList::iterator, adjust
7922
7923         * text2.C (init): adjust
7924         (insertRow): remove function
7925         (insertParagraph): adjust
7926         (redoParagraphs): adjust
7927         (fullRebreak): adjust
7928         (updateCounters): adjust
7929
7930         * text.C (top_y): rewrite to use RowList iterators.
7931         (top_y): adjust
7932         (setHeightOfRow): rewrite to sue RowList iterators.
7933         (appendParagraph): adjust
7934         (breakAgain): adjust
7935         (breakAgainOneRow): adjust
7936         (breakParagraph): adjust
7937         (getRow): adjust
7938         (getRowNearY): adjust, and remove commented code.
7939
7940         * lyxtext.h (firstRow): delete function
7941         (lastRow): delete function
7942         (rows): new function (const and non-const versions.)
7943         (insertRow): delete function
7944
7945         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7946
7947 2003-03-29  John Levon  <levon@movementarian.org>
7948
7949         * BufferView_pimpl.C: always update scrollbar top
7950         because pasting text when we're anchored could mean we
7951         miss an update altogether
7952
7953 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * text2.C (init): use rowlist_.end() and not 0.
7956         (insertRow): change to take a RowList::iterator as arg, adjust
7957         for this.
7958         (insertParagraph): change to take a RowList::iterator as arg,
7959         adjust for this.
7960         (redoParagraphs): remove some debug msgs.
7961
7962         * text.C (appendParagraph): change to take a RowList::iterator
7963         arg, adjust for this.
7964         (breakAgain): add an assert
7965         (breakAgainOneRow): ditto
7966
7967 2003-03-29  John Levon  <levon@movementarian.org>
7968
7969         * text2.C: do not clear selection after inc/decDepth
7970         (bug 550)
7971
7972 2003-03-29  John Levon  <levon@movementarian.org>
7973
7974         * BufferView.C:
7975         * buffer.C: fix broken strerrors according to Lars
7976
7977 2003-03-29  John Levon  <levon@movementarian.org>
7978
7979         * converters.C: more Alert cleanups
7980
7981 2003-03-29  John Levon  <levon@movementarian.org>
7982
7983         * bufferview_funcs.C: remove pointless Alert
7984
7985         * buffer.C: fix confusing error message when
7986         a template is chmoded 000
7987
7988 2003-03-29  John Levon  <levon@movementarian.org>
7989
7990         * BufferView.C:
7991         * BufferView.h:
7992         * BufferView_pimpl.C: Alert fixes
7993
7994         * Makefile.am:
7995         * tabular.C:
7996         * tabular-old.C: remove unused table compat reading
7997
7998 2003-03-29  John Levon  <levon@movementarian.org>
7999
8000         * BufferView.C:
8001         * buffer.C:
8002         * lyx_cb.h:
8003         * lyx_cb.C: more Alert cleanups
8004
8005         * lyxfunc.C: don't allow chktex if not latex document
8006
8007 2003-03-29  John Levon  <levon@movementarian.org>
8008
8009         * lyx_cb.C:
8010         * BufferView.C:
8011         * buffer.C: warnings pushed down from support/,
8012         kill err_alert
8013
8014 2003-03-29  John Levon  <levon@movementarian.org>
8015
8016         * lyxfunc.C: safety check for C-r (revert)
8017
8018 2003-03-29  John Levon  <levon@movementarian.org>
8019
8020         * bufferlist.h:
8021         * bufferlist.C: several UI fixes using Alert::prompt.
8022         Fix the pointless looping quit code. Fix stupid revert
8023         behaviour (bug 938)
8024
8025         * lyxvc.h:
8026         * lyxvc.C:
8027         * lyx_cb.C: use Alert::prompt
8028
8029         * lyx_main.C: remove a silly question
8030
8031         * lyxfunc.C: remove a couple of silly questions,
8032         use Alert::prompt
8033
8034 2003-03-28  John Levon  <levon@movementarian.org>
8035
8036         * text2.C: fix bug 974 (End on empty par)
8037
8038 2003-03-28  John Levon  <levon@movementarian.org>
8039
8040         * BufferView_pimpl.C:
8041         * LyXAction.C:
8042         * lfuns.h: remove do-nothing math greek lfuns
8043
8044 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * lyxgluelength.h (isValidGlueLength): add default arg on
8047         parameter 2. Remove default arg from friend in class.
8048
8049         * lyxlength.h (isValidLength): add default arg on parameter 2.
8050         Remove default arg from friend in class.
8051
8052         * text2.C (LyXText): adjust, initialize refresh_row.
8053         (init): adjust
8054         (removeRow): adjust
8055         (insertRow): adjust
8056         (insertParagraph): adjst
8057         (redoParagraphs): adjust
8058         (fullRebreak): adjust
8059         (updateCounters): adjust
8060         (deleteEmptyParagraphMechanism): first attempt at fixing a
8061         crashing bug.
8062
8063         * text.C (top_y): adjust
8064         (setHeightOfRow): adjust
8065         (getRow): adjust
8066         (getRowNearY): adjust
8067
8068         * lyxtext.h: include RowList.h
8069         (~LyXText): not needed anymore, deleted.
8070         (firstRow): modify for RowList
8071         (lastRow): new function
8072         Delete firstrow and lastrow class variables, add a Rowlist
8073         rowlist_ class variable.
8074
8075         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8076         paragraph is empty.
8077
8078         * RowList.C (insert): fix case where it == begin().
8079
8080 2003-03-26  Angus Leeming  <leeming@lyx.org>
8081
8082         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8083         the thesaurus dialog.
8084
8085 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8086
8087         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8088
8089         * RowList.[Ch]: new files
8090
8091         * ParagraphList.C (erase): handle the case where it == begin
8092         correctly.
8093
8094 2003-03-25  John Levon  <levon@movementarian.org>
8095
8096         * Makefile.am:
8097         * aspell_local.h:
8098         * aspell.C: add new aspell support
8099
8100         * lyxrc.h:
8101         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8102         have it accessible.
8103
8104 2003-03-25  Angus Leeming  <leeming@lyx.org>
8105
8106         * lfuns.h:
8107         * LyXAction.C (init): new LFUN_INSET_INSERT.
8108
8109         * BufferView_pimpl.C (dispatch): split out part of the
8110         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8111
8112         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8113         LFUN_INSET_APPLY.
8114
8115 2003-03-25  Angus Leeming  <leeming@lyx.org>
8116
8117         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8118
8119 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8120
8121         * text2.C:
8122         * text3.C: remove useless row->height(0)
8123
8124 2003-03-25  John Levon  <levon@movementarian.org>
8125
8126         * lyxtext.h:
8127         * text2.C:
8128         * text3.C: rename the refreshing stuff to better names
8129
8130 2003-03-24  John Levon  <levon@movementarian.org>
8131
8132         * BufferView_pimpl.h:
8133         * BufferView_pimpl.C: update layout choice on a mouse
8134         press/release
8135
8136 2003-03-23  John Levon  <levon@movementarian.org>
8137
8138         * Makefile.am: fix commandtags.h reference
8139
8140 2003-03-22  John Levon  <levon@movementarian.org>
8141
8142         * BufferView_pimpl.C:
8143         * lyxtext.h:
8144         * rowpainter.C:
8145         * rowpainter.h:
8146         * text.C:
8147         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8148
8149 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8150
8151         * lyxtext.h:
8152         * text.C: take the rtl methods out of line
8153
8154 2003-03-21 André Pönitz <poenitz@gmx.net>
8155
8156         * metricsinfo.[Ch]: new files containing structures to be passed around
8157         during the two-phase-drawing...
8158
8159 2003-03-21 André Pönitz <poenitz@gmx.net>
8160
8161         * lyxtextclass.C: read 'environment' tag.
8162
8163 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8164
8165         * text2.C (removeRow): fix bug 964
8166
8167 2003-03-20  John Levon  <levon@movementarian.org>
8168
8169         * rowpainter.C:
8170         * text.C:
8171         * text2.C: paint cleanups. Inset::update() dropped font
8172         parameter
8173
8174 2003-03-19  John Levon  <levon@movementarian.org>
8175
8176         * lyxfunc.C: only fitcursor/markDirty if available()
8177
8178 2003-03-19  John Levon  <levon@movementarian.org>
8179
8180         * commandtags.h: rename to ...
8181
8182         * lfuns.h: ... this, and renumber / cleanup
8183
8184 2003-03-19  John Levon  <levon@movementarian.org>
8185
8186         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8187         fit the cursor after an lfun
8188
8189         * BufferView.h:
8190         * BufferView.C:
8191         * BufferView_pimpl.h:
8192         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8193
8194         * LyXAction.C: layout-character should have ReadOnly
8195
8196         * ParagraphParameters.C:
8197         * buffer.C:
8198         * bufferview_funcs.C:
8199         * lyx_cb.C:
8200         * lyxfind.C:
8201         * lyxtext.h:
8202         * text.C:
8203         * text2.C:
8204         * text3.C:
8205         * undo_funcs.C: changes from above
8206
8207 2003-03-18  John Levon  <levon@movementarian.org>
8208
8209         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8210         remove it from update()
8211
8212         * lyxfunc.C: update layout choice after an lfun
8213
8214         * text3.C: remove extra updateLayoutChoice()s
8215
8216 2003-03-18  John Levon  <levon@movementarian.org>
8217
8218         * text.C: top_y change means full repaint, fix
8219         a drawing bug with cursor movement
8220
8221 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8222
8223         * lyxtext.h:
8224         * text.C:
8225         * text2.C: anchor row on setCursor
8226
8227 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8228
8229         * lyxtext.h: remove almost all mutable keywords
8230         * text.C:
8231         * text2.C:
8232         * text3.C: remove const keywords accordingly
8233
8234 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8237         anon namespace
8238         (TeXEnvironment): ditto
8239         (TeXOnePar): ditto
8240
8241 2003-03-17  John Levon  <levon@movementarian.org>
8242
8243         * text.C (rowBreakPoint): remove attempt to fix displayed
8244         math insets inside a manual label
8245
8246 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * lyxtext.h: remove BufferView* as first arg from almost all class
8249         functions.
8250         * other files: adjust.
8251
8252 2003-03-17  John Levon  <levon@movementarian.org>
8253
8254         * lyxtext.h:
8255         * undo_funcs.C:
8256         * text2.C: more paint cleanups
8257
8258         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8259
8260         * rowpainter.h:
8261         * rowpainter.C: remove "smart" background painting code
8262
8263 2003-03-16  John Levon  <levon@movementarian.org>
8264
8265         * lyxtext.h:
8266         * text.C:
8267         * text2.C:
8268         * text3.C: add helper functions for setting refresh_row/y
8269
8270 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8271
8272         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8273         newline inset which *can* get inserted in the pass_thru layouts.
8274         This is primarily for literate documents.
8275
8276 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8277
8278         * buffer.C: increment LYX_FORMAT to 223
8279
8280 2003-03-14 André Pönitz <poenitz@gmx.net>
8281
8282         * textclass.h: prepare for environment handling, ws changes
8283         * lyxlayout.C: read latexheader and latexfooter tags
8284
8285 2003-03-14  John Levon  <levon@movementarian.org>
8286
8287         * text2.C: rewrite ::status() a bit
8288
8289 2003-03-13  John Levon  <levon@movementarian.org>
8290
8291         * lyxtext.h: add some docs
8292
8293 2003-03-13  John Levon  <levon@movementarian.org>
8294
8295         * lyxtext.h:
8296         * text.C:
8297         * text2.C:
8298         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8299
8300 2003-03-13  John Levon  <levon@movementarian.org>
8301
8302         * text3.C: fix appendix redrawing
8303
8304 2003-03-13  John Levon  <levon@movementarian.org>
8305
8306         * text.C (setHeightOfRow):
8307         * rowpainter.h:
8308         * rowpainter.C: make appendix mark have the text
8309           "Appendix" so the user knows what it is
8310
8311         * LColor.h:
8312         * LColor.C: s/appendixline/appendix/ from above
8313
8314 2003-03-13  John Levon  <levon@movementarian.org>
8315
8316         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8317
8318         * text.C: fix a getChar(pos) bug properly
8319
8320 2003-03-13  Angus Leeming  <leeming@lyx.org>
8321
8322         * commandtags.h:
8323         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8324         Probably only temporary. Let's see how things pan out.
8325
8326         * BufferView.C (unlockInset):
8327         * BufferView_pimpl.C (fitCursor):
8328         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8329
8330         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8331         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8332
8333         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8334         new functions that convert ParagraphParameters to and from a string.
8335
8336         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8337         BufferView::Pimpl's dispatch.
8338         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8339
8340 2003-03-13 André Pönitz <poenitz@gmx.net>
8341
8342         * lyxfunc.C:
8343         * text3.C:
8344         * factory.C: make it aware of InsetEnv
8345
8346 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8347
8348         * text2.C (setCursor): never ask for one past last
8349         (setCursor): add some debugging messages.
8350
8351         * text.C (singleWidth): never ask for one past last
8352         (singleWidth): ditto
8353         (leftMargin): ditto
8354         (rightMargin): ditto
8355         (rowBreakPoint): ditto
8356         (setHeightOfRow): ditto
8357         (prepareToPrint): ditto
8358
8359         * rowpainter.C (paintBackground): never ask for one past last
8360         (paintText): never ask for one past last
8361
8362         * paragraph_pimpl.C (getChar): make the assert stricter, never
8363         allow the one past last pos to be taken
8364
8365         * paragraph.C (getChar): ws changes only
8366
8367         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8368         (numberOfSeparators): ditto
8369         (numberOfHfills): ditto
8370
8371 2003-03-12  John Levon  <levon@movementarian.org>
8372
8373         * author.h:
8374         * author.C:
8375         * bufferparams.h:
8376         * bufferparams.C:
8377         * paragraph_funcs.C: fix per-buffer authorlists
8378
8379 2003-03-12  John Levon  <levon@movementarian.org>
8380
8381         * text.C: fix newline in right address
8382
8383 2003-03-12  Angus Leeming  <leeming@lyx.org>
8384
8385         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8386         duplicate those in LyXFunc::dispatch.
8387
8388         * commandtags.h:
8389         * LyXAction.C:
8390         * ToolbarDefaults.C:
8391         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8392         Add LFUN_FONTFREE_UPDATE.
8393
8394         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8395         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8396
8397         * bufferview_func.[Ch]: several new functions to facilliate
8398         transfer of data to and from the character dialog.
8399
8400 2003-03-12  John Levon  <levon@movementarian.org>
8401
8402         * buffer.C:
8403         * paragraph.h:
8404         * paragraph.C:
8405         * paragraph_funcs.C:
8406         * paragraph_pimpl.C:
8407         * sgml.C:
8408         * tabular.C:
8409         * text.C:
8410         * text3.C: remove META_NEWLINE in favour of an inset
8411
8412         * rowpainter.h:
8413         * rowpainter.C: remove paintNewline (done by inset)
8414
8415 2003-03-12  John Levon  <levon@movementarian.org>
8416
8417         * paragraph_pimpl.C: complain about bad getChar()s
8418         for a while at least
8419
8420 2003-03-12  John Levon  <levon@movementarian.org>
8421
8422         * buffer.h:
8423         * buffer.C: move paragraph read into a separate function,
8424         a little renaming to reflect that.
8425
8426         * bufferparams.h:
8427         * bufferparams.C: remove the author_ids map, not necessary now
8428
8429         * factory.h:
8430         * factory.C: moved Buffer::readInset to here
8431
8432         * paragraph_funcs.h:
8433         * paragraph_funcs.C: readParagraph free function moved from
8434         buffer.C
8435
8436         * tabular.C: name change
8437
8438 2003-03-12  John Levon  <levon@movementarian.org>
8439
8440         * buffer.C:
8441         * ParagraphParameters.C: move par params input to
8442         a read() method
8443
8444         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8445         behave like a normal read from the stream wrt reading
8446         a line vs. a \\token
8447
8448 2003-03-12  John Levon  <levon@movementarian.org>
8449
8450         * paragraph.C:
8451         * ParagraphParameters.h:
8452         * ParagraphParameters.C: move output code to a
8453         ::write() method
8454
8455 2003-03-12  John Levon  <levon@movementarian.org>
8456
8457         * BufferView.C (insertLyXFile):
8458         * buffer.h:
8459         * buffer.C:
8460         * tabular.C: use a parlist iterator for creating the
8461           document.
8462
8463 2003-03-12  John Levon  <levon@movementarian.org>
8464
8465         * buffer.C: make current_change static local not
8466           static file-scope
8467
8468 2003-03-12  John Levon  <levon@movementarian.org>
8469
8470         * buffer.C: fix insertStringAsLines for change tracking
8471
8472 2003-03-12  John Levon  <levon@movementarian.org>
8473
8474         * BufferView.C:
8475         * tabular.C:
8476         * buffer.h:
8477         * buffer.C:
8478         * bufferparams.h:
8479         * bufferparams.C: move author list into params. Rename some
8480           functions. Move the header reading into a separate token
8481           loop. Move the header token reading into BufferParams.
8482
8483 2003-03-12  John Levon  <levon@movementarian.org>
8484
8485         * changes.C: put debug inside lyxerr.debugging() checks
8486
8487 2003-03-11 André Pönitz <poenitz@gmx.net>
8488
8489         * factory.C: make it aware of InsetHFill
8490
8491 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8492
8493         * buffer.C (latexParagraphs): move function from here...
8494         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8495         args.
8496
8497 2003-03-10  Angus Leeming  <leeming@lyx.org>
8498
8499         * LyXAction.C (init): fix bug in poplating array with multiple entries
8500         with the same LFUN (spotted by JMarc).
8501
8502 2003-03-10  John Levon  <levon@movementarian.org>
8503
8504         * text.C:
8505         * text2.C: move getColumnNearX() near its
8506         only call site
8507
8508 2003-03-10  John Levon  <levon@movementarian.org>
8509
8510         * text.C: fix break before a minipage
8511
8512 2003-03-10  John Levon  <levon@movementarian.org>
8513
8514         * text.C: fix the last commit
8515
8516 2003-03-09  John Levon  <levon@movementarian.org>
8517
8518         * lyxtext.h:
8519         * text.C:
8520         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8521         bug 365 (don't break before insets unless needed). Don't
8522         return a value > last under any circumstances.
8523
8524 2003-03-09  Angus Leeming  <leeming@lyx.org>
8525
8526         * BufferView_pimpl.C (trackChanges, dispatch): call
8527         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8528
8529 2003-03-09  Angus Leeming  <leeming@lyx.org>
8530
8531         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8532         than Dialogs::showAboutlyx().
8533
8534 2003-03-09  Angus Leeming  <leeming@lyx.org>
8535
8536         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8537         than Dialogs::showTabularCreate().
8538
8539 2003-03-09  John Levon  <levon@movementarian.org>
8540
8541         * lyxtext.h:
8542         * text.C:
8543         * text2.C: 3rd arg to nextBreakPoint was always the same.
8544           Use references.
8545
8546 2003-03-08  John Levon  <levon@movementarian.org>
8547
8548         * lyxrow.C:
8549         * paragraph.C:
8550         * paragraph.h:
8551         * rowpainter.C:
8552         * text.C:
8553         * text2.C: Remove the "main" bit from the "main body"
8554           notion.
8555
8556 2003-03-08  John Levon  <levon@movementarian.org>
8557
8558         * text.C (leftMargin): The left margin of an empty
8559         manual label paragraph should not include the label width
8560         string length.
8561
8562         * text.C (prepareToPrint): don't attempt to measure hfills
8563         for empty manual label paragraphs - the answer should be 0
8564
8565 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * CutAndPaste.C: remove commented code and reindent.
8568
8569 2003-03-08  John Levon  <levon@movementarian.org>
8570
8571         * lyxfunc.h:
8572         * lyxfunc.C: move reloadBuffer()
8573
8574         * BufferView.h:
8575         * BufferView.C: to here
8576
8577         * lyxvc.C: add comment
8578
8579         * vc-backend.h:
8580         * vc-backend.C: call bv->reload() to avoid
8581           getStatus() check on MENURELOAD
8582
8583 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8584
8585         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8586         to an old format .dep file.
8587
8588 2003-03-07  Angus Leeming  <leeming@lyx.org>
8589
8590         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8591         when the LFUN_MOUSE_RELEASE should have been handled by
8592         inset->localDispatch.
8593
8594 2003-03-07  Angus Leeming  <leeming@lyx.org>
8595
8596         * BufferView_pimpl.C (dispatch):
8597         * LyXAction.C (init):
8598         * ToolbarDefaults.C (init):
8599         * commandtags.h:
8600         * lyxfunc.C (getStatus):
8601         remove LFUN_INSET_GRAPHICS.
8602
8603         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8604
8605 2003-03-07  Angus Leeming  <leeming@lyx.org>
8606
8607         * commandtags.h:
8608         * LyXAction.C (init):
8609         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8610
8611         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8612
8613         * commandtags.h:
8614         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8615
8616         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8617         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8618
8619 2003-03-07  Angus Leeming  <leeming@lyx.org>
8620
8621         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8622         remove "ert".
8623
8624 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8625
8626         * ParagraphList.C (front): new function
8627         (back): implement
8628
8629 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8630
8631         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8632         and top_row_offset_. removed var first_y.
8633         * text.C (top_y):
8634         * text2.C (LyXText, removeRow):
8635         * text3.C:
8636         * BufferView_pimpl.C:
8637         use these methods instead of using first_y
8638
8639 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * text2.C (pasteSelection): adjust for checkPastePossible
8642
8643         * CutAndPaste.C: remove Paragraph * buf and replace with
8644         ParagraphList paragraphs.
8645         (DeleteBuffer): delete
8646         (cutSelection): change the tc type to textclass_type
8647         (copySelection): change the tc type to textclass_type
8648         (copySelection): adjust for ParagraphList
8649         (pasteSelection): change the tc type to textclass_type
8650         (pasteSelection): adjust for Paragraphlist
8651         (nrOfParagraphs): simplify for ParagraphList
8652         (checkPastePossible): simplify for ParagraphList
8653         (checkPastePossible): remove unused arg
8654
8655         * ParagraphList.C (insert): handle the case where there are no
8656         paragraphs yet.
8657
8658         * CutAndPaste.h: make CutAndPaste a namespace.
8659
8660         * text3.C (dispatch): adjust
8661
8662         * text.C (breakParagraph): add a ParagraphList as arg
8663
8664         * paragraph_funcs.C (breakParagraph): change to take a
8665         BufferParams and a ParagraphList as args.
8666         (breakParagraphConservative): ditto
8667         (mergeParagraph): ditto
8668         (TeXDeeper): add a ParagraphList arg
8669         (TeXEnvironment): ditto
8670         (TeXOnePar): ditto
8671
8672         * buffer.C (readLyXformat2): adjust
8673         (insertStringAsLines): adjust
8674         (latexParagraphs): adjust
8675
8676         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8677         (cutSelection): adjust
8678         (pasteSelection): adjust
8679
8680         * BufferView_pimpl.C (insertInset): adjust
8681
8682 2003-03-05  Angus Leeming  <leeming@lyx.org>
8683
8684         * commandtags.h:
8685         * LyXAction.C (init):
8686         * BufferView_pimpl.C (dispatch):
8687         * lyxfunc.C (getStatus):
8688         remove LFUN_CHILD_INSERT.
8689
8690         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8691
8692 2003-03-05  Angus Leeming  <leeming@lyx.org>
8693
8694         * commandtags.h:
8695         * LyXAction.C (init):
8696         * src/factory.C (createInset):
8697         * lyxfunc.C (getStatus):
8698         * text3.C (dispatch):
8699         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8700
8701         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8702
8703 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8704
8705         * ParagraphList.C (insert): handle insert right before end()
8706         (erase): fix cases where it can be first or last paragraph.
8707
8708 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8709
8710         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8711         Paragraph::next and Paragraph::previous
8712         (TeXOnePar): ditto
8713
8714         * text.C (breakParagraph): adjust
8715
8716         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8717         BufferParams& as arg.
8718         (breakParagraph): use ParagraphList::insert
8719         (breakParagraphConservative): take a Buffer* instead of a
8720         BufferParams& as arg.
8721         (breakParagraphConservative): use ParagraphList::insert.
8722
8723         * buffer.C (insertStringAsLines): un-const it
8724         (insertStringAsLines): adjust
8725
8726         * ParagraphList.C (insert): new function
8727
8728         * CutAndPaste.C (pasteSelection): adjust
8729
8730         * text.C (backspace): adjust
8731
8732         * tabular.C (SetMultiColumn): adjust
8733
8734         * CutAndPaste.C (cutSelection): adjust
8735         (pasteSelection): adjust
8736
8737         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8738         Buffer const * as arg
8739
8740         * ParagraphList.C (erase): new function
8741         * paragraph_funcs.C (mergeParagraph): use it
8742         (mergeParagraph): make it take a Buffer* instead of a
8743         BufferParams* as arg
8744
8745         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8746         as arg
8747         (breakParagraphConservative): ditto
8748
8749         * paragraph.h: remove the breakParagraph friend
8750
8751         * paragraph.C (eraseIntern): new function
8752         (setChange): new function
8753
8754         * paragraph_funcs.C (mergeParagraph): make it take a
8755         ParagraphList::iterator instead of a Paragraph *, adjust
8756         accordingly.
8757
8758         * paragraph.h: move an #endif so that the change tracking stuff
8759         also works in the NO_NEXT case.
8760
8761 2003-03-04  Angus Leeming  <leeming@lyx.org>
8762
8763         * commandtags.h:
8764         * LyXAction.C: new LFUN_INSET_MODIFY.
8765
8766         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8767         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8768
8769 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8770
8771         * several files: ws changes only
8772
8773         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8774         (TeXEnvironment): ditto
8775         (TeXDeeper): ditto
8776
8777         * buffer.C (makeLaTeXFile): adjust
8778         (latexParagraphs): make it take ParagraphList::iterator as args
8779
8780 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8781
8782         * buffer.C (latexParagraphs): adjust
8783
8784         * paragraph.C (TeXOnePar): move function...
8785         (optArgInset): move function...
8786         (TeXEnvironment): move function...
8787         * paragraph_pimpl.C (TeXDeeper): move function...
8788         * paragraph_funcs.C: ...here
8789
8790         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8791
8792 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * buffer.C (readInset): remove compability code for old Figure and
8795         InsetInfo insets
8796
8797 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8798
8799         * buffer.C: ws changes
8800         (readInset):
8801
8802         * BufferView_pimpl.C: ditto
8803         * author.C: ditto
8804         * buffer.h: ditto
8805         * bufferlist.h: ditto
8806         * changes.h: ditto
8807         * lyxfunc.C: ditto
8808
8809 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8810
8811         * converter.[Ch]: split into itself +
8812         * graph.[Ch]
8813         * format.[Ch]
8814         * Makefile.am: += graph.[Ch] + format.[Ch]
8815         * MenuBackend.C
8816         * buffer.C
8817         * exporter.C
8818         * importer.C
8819         * lyx_main.C
8820         * lyxfunc.C
8821         * lyxrc.C: added #include "format.h"
8822
8823 2003-02-27  Angus Leeming  <leeming@lyx.org>
8824
8825         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8826           a label.
8827
8828         * factory.C (createInset): add "label" to the factory.
8829
8830         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8831           string and do no more.
8832
8833 2003-02-27  Angus Leeming  <leeming@lyx.org>
8834
8835         * commandtags.h:
8836         * LyXAction.C (init):
8837         * factory.C (createInset):
8838         * BufferView_pimpl.C (dispatch):
8839           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8840
8841         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8842
8843         * lyxfunc.C (dispatch):
8844         * text3.C (dispatch): pass name to params2string.
8845
8846 2003-02-26  Angus Leeming  <leeming@lyx.org>
8847
8848         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8849           blocks together.
8850           Rearrange the ~includes. Strip out the unnecessary ones.
8851
8852         * factory.C (createInset): reformat.
8853           create new insets for the various LFUN_XYZ_APPLY lfuns.
8854
8855 2003-02-26  John Levon  <levon@movementarian.org>
8856
8857         * lyxrow.h:
8858         * lyxrow.C: add isParStart,isParEnd helpers
8859
8860         * paragraph.h: make isInserted/DeletedText take refs
8861
8862         * paragraph_funcs.h:
8863         * paragraph_funcs.C: remove #if 0'd code
8864
8865         * lyxtext.h:
8866         * text3.C:
8867         * text2.C:
8868         * text.C: use lyxrow helpers above.
8869           Move draw and paint routines to RowPainter.
8870           Make several methods use refs not pointers.
8871           Make backgroundColor() const.
8872           Add markChangeInDraw(), isInInset().
8873           Merge changeRegionCase into changeCase.
8874           Make workWidth() shouldn't-happen code into an Assert.
8875
8876         * rowpainter.h:
8877         * rowpainter.C: new class for painting a row.
8878
8879         * vspace.h:
8880         * vspace.C: make inPixels take a ref
8881
8882 2003-02-26  Angus Leeming  <leeming@lyx.org>
8883
8884         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8885         LFUN_REF_APPLY.
8886
8887 2003-02-25  John Levon  <levon@movementarian.org>
8888
8889         * ispell.C: give the forked command a more accurate name
8890
8891 2003-02-22  John Levon  <levon@movementarian.org>
8892
8893         * toc.h:
8894         * toc.C: make TocItem store an id not a Paragraph *
8895           (bug #913)
8896
8897 2003-02-21  Angus Leeming  <leeming@lyx.org>
8898
8899         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8900           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8901           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8902           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8903           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8904           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8905
8906         * BufferView_pimpl.C (dispatch):
8907         * LyXAction.C (init):
8908         * factory.C (createInset):
8909         * lyxfunc.C (getStatus, dispatch):
8910         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8911
8912 2003-02-21  Angus Leeming  <leeming@lyx.org>
8913
8914         * BufferView_pimpl.C (MenuInsertLyXFile):
8915         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8916         * lyxfunc.C (menuNew, open, doImport):
8917           no longer pass a LyXView & to fileDlg.
8918
8919 2003-02-21  Angus Leeming  <leeming@lyx.org>
8920
8921         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8922         * LyXAction.C: change, BIBKEY to BIBITEM.
8923         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8924         Change InsetBibKey to InsetBibitem.
8925         Change BIBKEY_CODE to BIBITEM_CODE.
8926         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8927         * factory.C: replace insetbib.h with insetbibitem.h.
8928         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8929         * paragraph.C: replace insetbib.h with insetbibitem.h.
8930         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8931         Change bibkey() to bibitem().
8932         * text.C: remove insetbib.h.
8933         * text2.C: replace insetbib.h with insetbibitem.h.
8934         change bibkey() to bibitem().
8935         * text3.C: remove insetbib.h.
8936         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8937
8938 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8939
8940         * lyxrc.C (output): enclose user email in quotes (in case there are
8941         several words)
8942
8943 2003-02-18  John Levon  <levon@movementarian.org>
8944
8945         * buffer.h: add std::
8946
8947 2003-02-17  John Levon  <levon@movementarian.org>
8948
8949         * SpellBase.h:
8950         * ispell.h:
8951         * ispell.C:
8952         * pspell.h:
8953         * pspell.C: reworking. Especially in ispell, a large
8954           number of clean ups and bug fixes.
8955
8956         * lyxfunc.C: fix revert to behave sensibly
8957
8958 2003-02-17 André Pönitz <poenitz@gmx.net>
8959
8960         * LyXAction.C:
8961         * commandtags.h: new LFUN_INSERT_BIBKEY
8962
8963         * layout.h:
8964         * lyxlayout.C:
8965         * buffer.C:
8966         * factory.C:
8967         * text.C:
8968         * text2.C:
8969         * text3.C:
8970         * paragraph.[Ch]:
8971         * paragraph_func.C: remove special bibkey handling
8972
8973 2003-02-17  John Levon  <levon@movementarian.org>
8974
8975         * text.C (Delete): fix case where delete at the end of
8976           the very first paragraph would not merge the pars
8977
8978 2003-02-17  John Levon  <levon@movementarian.org>
8979
8980         * lyxrow.C: fix lastPrintablePos()
8981
8982 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8983
8984         * bufferparams.C (writeLaTeX): add a std:here
8985
8986         * buffer.C: and remove a using directive there
8987
8988 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * buffer.C (makeLaTeXFile): move the code that generates the
8991           preamble...
8992
8993         * bufferparams.C (writeLaTeX): ... in this new method
8994
8995         * LaTeXFeatures.C (getEncodingSet): make const
8996           (getLanguages): make const
8997
8998         * MenuBackend.C (binding): returns the binding associated to this
8999           action
9000           (add): sets the status of each item by calling getStatus. Adds
9001           some intelligence.
9002           (read): add support for OptSubMenu
9003           (expand): remove extra separator at the end of expanded menu
9004
9005 2003-02-15  John Levon  <levon@movementarian.org>
9006
9007         * BufferView.C:
9008         * BufferView_pimpl.C:
9009         * bufferlist.h:
9010         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9011           inset code that had no actual effect. Remove unneeded status
9012           code.
9013
9014 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9015
9016         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9017           in preamble
9018
9019 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9020
9021         * text.C (drawLengthMarker): also draw an arrow marker for
9022           symbolic lengths (medskip...)
9023
9024 2003-02-14  John Levon  <levon@movementarian.org>
9025
9026         * tabular.h:
9027         * tabular.C: better method names
9028
9029 2003-02-14  John Levon  <levon@movementarian.org>
9030
9031         * BufferView_pimpl.C:
9032         * bufferlist.C:
9033         * buffer.C:
9034         * converter.C:
9035         * lyx_cb.C:
9036         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9037           it's a more accurate name. Remove some pointless uses.
9038
9039 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9040
9041         * text2.C (LyXText): change order of initilizers to shut off
9042           warnings
9043
9044 2003-02-14  John Levon  <levon@movementarian.org>
9045
9046         * buffer.C: use ParIterator for getParFromID()
9047
9048         * paragraph.h:
9049         * paragraph.C:
9050         * paragraph_pimpl.h:
9051         * paragraph_pimpl.C: remove unused getParFromID()
9052
9053 2003-02-14  John Levon  <levon@movementarian.org>
9054
9055         * buffer.C: remove some very old #if 0'd parse code
9056
9057 2003-02-13  John Levon  <levon@movementarian.org>
9058
9059         * text.h:
9060         * text.C:
9061         * text2.C: move hfillExpansion(), numberOfSeparators(),
9062           rowLast(), rowLastPrintable(), numberofHfills(),
9063           numberOfLabelHfills() ...
9064
9065         * lyxrow.h:
9066         * lyxrow.C: ... to member functions here.
9067
9068         * paragraph.h:
9069         * paragraph.C:
9070         * lyxtext.h:
9071         * text.C: remove LyXText::beginningOfMainBody(), and call
9072           p->beginningOfMainBody() directly. Move the check for
9073           LABEL_MANUAL into the latter.
9074
9075         * text.h:
9076         * text.C:
9077         * text2.C:
9078         * vspace.C:
9079         * BufferView.h:
9080         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9081
9082         * text.h:
9083         * text.C:
9084         * text2.C:
9085         * text3.C:
9086         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9087           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9088
9089 2003-02-13  John Levon  <levon@movementarian.org>
9090
9091         * CutAndPaste.C: remove debug
9092
9093 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9094
9095         * paragraph.C (asString): remove two unused variables
9096
9097         * lyxtextclass.C (readTitleType):
9098           (Read):
9099           (LyXTextClass): handle new members titletype_ and titlename_
9100
9101         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9102
9103 2003-02-09  John Levon  <levon@movementarian.org>
9104
9105         * buffer.h:
9106         * buffer.C: replace hand-coded list with a map for the dep clean
9107
9108 2003-02-08  John Levon  <levon@movementarian.org>
9109
9110         * LaTeX.C: consolidate code into showRunMessage() helper
9111
9112 2003-02-08  John Levon  <levon@movementarian.org>
9113
9114         * lyxfind.C:
9115         * lyxtext.h:
9116         * text2.C:
9117         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9118           and pass the size in explicitly
9119
9120         * BufferView_pimpl.h:
9121         * BufferView_pimpl.C:
9122         * BufferView.h:
9123         * BufferView.C: add getCurrentChange()
9124
9125         * BufferView_pimpl.h:
9126         * BufferView_pimpl.C: handle change lfuns
9127
9128         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9129           for changes. Mark pasted paragraphs as new.
9130
9131         * support/lyxtime.h:
9132         * support/lyxtime.C:
9133         * DepTable.C: abstract time_t as lyx::time_type
9134
9135         * LColor.h:
9136         * LColor.C: add colours for new text, deleted text, changebars
9137
9138         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9139           package use "usenames" option.
9140
9141         * commandtags.h:
9142         * lyxfunc.C:
9143         * LyXAction.C: add change lfuns
9144
9145         * Makefile.am:
9146         * author.h:
9147         * author.C: author handling
9148
9149         * buffer.h:
9150         * buffer.C: add a per-buffer author list, with first entry as
9151           current author. Handle new .lyx tokens for change tracking. Output
9152           author list to .lyx file. Output dvipost stuff to .tex preamble.
9153           Bump lyx format to 222.
9154
9155         * bufferlist.h:
9156         * bufferlist.C: add setCurrentAuthor() to reset current author details
9157           in all buffers.
9158
9159         * bufferparams.h:
9160         * bufferparams.C: add param for tracking
9161
9162         * bufferview_funcs.C: output change info in minibuffer
9163
9164         * Makefile.am:
9165         * changes.h:
9166         * changes.C: add change-tracking structure
9167
9168         * debug.h:
9169         * debug.C: add CHANGES debug flag
9170
9171         * lyxfind.h:
9172         * lyxfind.C: add code for finding the next change piece
9173
9174         * lyxrc.h:
9175         * lyxrc.C: add user_name and user_email
9176
9177         * lyxrow.h:
9178         * lyxrow.C: add a metric for the top of the text line
9179
9180         * lyxtext.h:
9181         * text.C: implement accept/rejectChange()
9182
9183         * lyxtext.h:
9184         * text.C: paint changebars. Paint new/deleted text in the chosen
9185         colours. Strike through deleted text.
9186
9187         * paragraph.h:
9188         * paragraph.C:
9189         * paragraph_pimpl.h:
9190         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9191           in the current change to the insert functions. Rework erase to
9192           mark text as deleted, adding an eraseIntern() and a range-based
9193           erase(). Implement per-paragraph change lookup and
9194           accept/reject.
9195
9196         * paragraph_funcs.C: Fixup paste for change tracking.
9197
9198         * tabular.C: mark added row/columns as new.
9199
9200         * text.C: fix rowLast() to never return -1. Don't allow
9201           spellchecking of deleted text. Track transpose changes. Don't
9202           allow paragraph break or merge where appropriate.
9203
9204         * text2.C: leave cursor at end of selection after a cut.
9205
9206 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9207
9208         * text.C (getLengthMarkerHeight):
9209         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9210         visible on screen too.
9211
9212 2003-02-07  John Levon  <levon@movementarian.org>
9213
9214         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9215
9216 2003-02-05  Angus Leeming  <leeming@lyx.org>
9217
9218         * lyxserver.C (read_ready): revert my patch of 11 September last year
9219         as it sends PC cpu through the roof. Presumably this means that
9220         the lyxserver will no longer run on an Alpha...
9221
9222 2003-01-30  Angus Leeming  <leeming@lyx.org>
9223
9224         * factory.C (createInset): create an InsetCommandParam of type "index"
9225         and use it to 'do the right thing'.
9226
9227         * text2.C (getStringToIndex): ensure that cursor position is always
9228         reset to the reset_cursor position.
9229
9230 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9231
9232         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9233         disabled.
9234
9235 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9236
9237         * bufferview.C:
9238         * lyxcb.C:
9239         * lyxfunc.C: Output messages with identical spelling, punctuation,
9240         and spaces
9241
9242 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9243
9244         * MenuBackend.C (expandFormats): List only viewable export formats
9245         in "View" menu
9246
9247         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9248         message
9249
9250         * lyxfunc.C (getStatus): Make sure that formats other than
9251         "fax" can also be disabled
9252
9253 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9254
9255         * text3.C (dispatch): put the lfuns that insert insets in 3
9256         groups, and call doInsertInset with appropriate arguments.
9257         (doInsertInset): new function, that creates an inset and inserts
9258         it according to some boolean parameters.
9259
9260 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9261
9262         * buffer.C (readFile): remember to pass on 'par' when calling
9263         readFile recursively.
9264
9265 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9266
9267         * MenuBackend.C (expandFormats): add "..." to import formats.
9268
9269 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9270
9271         * paragraph.C (asString): Remove XForms RTL hacks.
9272
9273 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9274         * buffer.C: fix typo
9275
9276 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9277
9278         * Makefile.am (LIBS): delete var
9279         (lyx_LDADD): add @LIBS@ here instead.
9280
9281 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9282
9283         * Clarify the meaning of "wheel mouse jump"
9284
9285 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9286
9287         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9288         tabular in a float
9289
9290 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9291
9292         * importer.C (Loaders): do not preallocate 3 elements in the
9293         vector, since one ends up with 6 elements otherwise
9294
9295 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9296
9297         * DepTable.C (write): write the file name as last element of the
9298         .dep file (because it may contain spaces)
9299         (read): read info in the right order
9300
9301 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9302
9303         * paragraph_pimpl.C (simpleTeXBlanks):
9304         (simpleTeXSpecialChars):
9305         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9306
9307         * tabular.C (latex): add some missing case statements. Reindent.
9308
9309         * MenuBackend.C (expandToc): remove unused variable.
9310
9311 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9312
9313         * LColor.C:
9314         * LaTeX.C:
9315         * LyXAction.C:
9316         * MenuBackend.C:
9317         * buffer.C:
9318         * exporter.C:
9319         * lyxfunc.C:
9320         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9321         and the like.
9322
9323 2003-01-05  John Levon  <levon@movementarian.org>
9324
9325         * BufferView.h:
9326         * BufferView.C: add getEncoding()
9327
9328         * kbsequence.h:
9329         * kbsequence.C: do not store last keypress
9330
9331         * lyxfunc.h:
9332         * lyxfunc.C: store last keypress here instead. Pass encoding
9333           to getISOEncoded()
9334
9335 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9336
9337         * lyx_main.C (init): remove annoying error message when following
9338         symbolic links (bug #780)
9339
9340 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9341
9342         * text.C (insertChar):
9343         * lyxrc.C (getDescription): remove extra spaces
9344
9345 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9346
9347         * lyxrc.C (getDescription): remove extra spaces
9348
9349 2002-12-20  John Levon  <levon@movementarian.org>
9350
9351         * text3.C: hack fix for page up/down across tall rows
9352
9353 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9354
9355         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9356         not been invoked
9357
9358 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9359
9360         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9361         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9362         thesaurus is not compiled in
9363
9364 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9365
9366         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9367
9368 2002-12-16  Angus Leeming  <leeming@lyx.org>
9369
9370         * lyxrc.[Ch]:
9371         * lyx_main.C (init): remove override_x_deadkeys stuff.
9372
9373 2002-12-12  John Levon  <levon@movementarian.org>
9374
9375         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9376           insert. Only remove shift modifier under strict
9377           circumstances.
9378
9379 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9380
9381         * MenuBackend.C (expandToc): fix crash.
9382
9383 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9384
9385         * MenuBackend.C (expandToc): gettext on float names.
9386
9387 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9388
9389         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9390         implement bool empty() [bug 490]
9391
9392 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9393
9394         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9395
9396 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9397
9398         * several files: ws changes
9399
9400 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9401
9402         * text2.C (setCounter): clean up a bit, use boost.format.
9403         (updateCounters): initialize par upon declaration.
9404
9405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9406         if the layout exists. We do not just store the layout any more.
9407         (SwitchLayoutsBetweenClasses): use boost.format
9408
9409 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9410
9411         * converter.C (convert): if from and to files are the same, use a
9412         temporary files as intermediary
9413
9414 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9415
9416         * commandtags.h:
9417         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9418
9419 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9420
9421         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9422
9423 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9424
9425         * tabular.C (asciiPrintCell): use string(size, char) instead of
9426         explicit loop.
9427
9428         * sgml.C (openTag): fix order of arguments to string constructor
9429         (closeTag): ditto
9430
9431         * lyxfunc.C (dispatch): use boost.format
9432
9433         * lots of files: change "c" -> 'c'
9434
9435 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9436
9437         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9438
9439 2002-11-25  Angus Leeming  <leeming@lyx.org>
9440
9441         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9442
9443         * lyx_main.C (init): compile fix.
9444
9445 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9446
9447         * lyx_cb.C (start): boost.formatify
9448         do not include <iostream>
9449
9450         * lengthcommon.C: ws only
9451
9452         * boost-inst.C,BoostFormat.h: add more explict instantations
9453
9454 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9455
9456         * lots of files: handle USE_BOOST_FORMAT
9457
9458 2002-11-21  John Levon  <levon@movementarian.org>
9459
9460         * pspell.C: fix compile
9461
9462 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9463
9464         * lyxfunc.C (dispatch): use boost::format
9465         (open): ditto
9466         (doImport): ditto
9467
9468         * lyxfont.C (stateText): use boost::format
9469
9470         * lyx_main.C (LyX): use boost::format
9471         (init): ditto
9472         (queryUserLyXDir): ditto
9473         (readRcFile): ditto
9474         (parse_dbg): ditto
9475         (typedef boost::function): use the recommened syntax.
9476
9477         * importer.C (Import): use boost::format
9478
9479         * debug.C (showLevel): use boost::format
9480
9481         * converter.C (view): use boost::format
9482         (convert): ditto
9483         (move): ditto
9484         (scanLog): ditto
9485
9486         * bufferview_funcs.C (currentState): use boost::format
9487
9488         * bufferlist.C (emergencyWrite): use boost::format
9489
9490         * buffer.C (readLyXformat2): use boost::format
9491         (parseSingleLyXformat2Token): ditto
9492
9493         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9494
9495         * LaTeX.C (run): use boost::format
9496
9497         * Chktex.C (scanLogFile): use boost::format
9498
9499         * BufferView_pimpl.C (savePosition): use boost::format
9500         (restorePosition): ditto
9501         (MenuInsertLyXFile): ditto
9502
9503         * BoostFormat.h: help file for explicit instation.
9504
9505 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9506
9507         * tabular.C (latex): Support for block alignment in fixed width
9508         columns.
9509
9510 2002-11-17  John Levon  <levon@movementarian.org>
9511
9512         * BufferView_pimpl.C:
9513         * lyx_cb.C:
9514         * lyxfunc.C: split filedialog into open/save
9515
9516 2002-11-08  Juergen Vigna  <jug@sad.it>
9517
9518         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9519         by my last patch (hopefully).
9520
9521 2002-11-08  John Levon  <levon@movementarian.org>
9522
9523         * iterators.h:
9524         * iterators.C:
9525         * buffer.h:
9526         * buffer.C:
9527         * paragraph.h:
9528         * paragraph.C:
9529         * toc.h:
9530         * toc.C: ParConstIterator, and use it (from Lars)
9531
9532 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9533
9534         * lyxtextclass.[Ch]: revise and add doxygen comments
9535
9536 2002-11-07  John Levon  <levon@movementarian.org>
9537
9538         * text.C: fix progress value for spellchecker
9539
9540         * toc.C: fix navigate menu for insetwrap inside minipage
9541
9542         * paragraph_funcs.C: added FIXME for suspect code
9543
9544 2002-11-07  John Levon  <levon@movementarian.org>
9545
9546         * BufferView_pimpl.C: fix redrawing of insets
9547           on buffer switch
9548
9549 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9550
9551         * text2.C (updateCounters): fix bug 668
9552
9553 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9554
9555         * text3.C (dispatch): Do not make the buffer dirty when moving the
9556         cursor.
9557
9558 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9559
9560         * vc-backend.C: STRCONV
9561         (scanMaster): ditto
9562
9563         * text2.C (setCounter): STRCONV
9564
9565         * paragraph.C (asString): STRCONV
9566
9567         * lyxlength.C (asString): STRCONV
9568         (asLatexString): ditto
9569
9570         * lyxgluelength.C (asString): STRCONV
9571         (asLatexString): ditto
9572
9573         * lyxfunc.C (dispatch): STRCONV
9574         (open): ditto
9575
9576         * lyxfont.C (stateText): STRCONV
9577
9578         * importer.C (Import): STRCONV
9579
9580         * counters.C (labelItem): STRCONV
9581         (numberLabel): ditto
9582         (numberLabel): remove unused ostringstream o
9583
9584         * chset.C: STRCONV
9585         (loadFile): ditto
9586
9587         * bufferview_funcs.C (currentState): STRCONV
9588
9589         * buffer.C (readFile): STRCONV
9590         (asciiParagraph): ditto
9591         (makeLaTeXFile): ditto
9592
9593         * Spacing.C (writeEnvirBegin): STRCONV
9594
9595         * LaTeXFeatures.C (getLanguages): STRCONV
9596         (getPackages): ditto
9597         (getMacros): ditto
9598         (getBabelOptions): ditto
9599         (getTClassPreamble): ditto
9600         (getLyXSGMLEntities): ditto
9601         (getIncludedFiles): ditto
9602
9603         * LaTeX.C: STRCONV
9604         (run): ditto
9605         (scanAuxFile): ditto
9606         (deplog): ditto
9607
9608         * LString.h: add the STRCONV macros
9609
9610         * BufferView_pimpl.C (savePosition): STRCONV
9611         (restorePosition): ditto
9612         (MenuInsertLyXFile): ditto
9613
9614         * vc-backend.C (scanMaster): change from submatch[...] to
9615         submatch.str(...)
9616
9617         * funcrequest.C: include config.h
9618
9619         * factory.C: include config.h
9620
9621         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9622
9623         * box.C: include config.h
9624
9625         * LaTeX.C (scanAuxFile): change from submatch[...] to
9626         submatch.str(...)
9627         (deplog): ditto
9628
9629 2002-10-25  Angus Leeming  <leeming@lyx.org>
9630
9631         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9632
9633         * ispell.[Ch] (setError): new method.
9634         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9635         Use setError() insetead of goto END.
9636
9637         * lyx_cb.C (AutoSave): move out child process into new class
9638         AutoSaveBuffer.
9639
9640 2002-10-30  John Levon  <levon@movementarian.org>
9641
9642         * text3.C: make start appendix undoable
9643
9644 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9645
9646         * lyxlength.C (inPixels): Fix returned value.
9647
9648         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9649         environment.
9650
9651 2002-10-24  Angus Leeming  <leeming@lyx.org>
9652
9653         * lyxgluelength.h: no need to forward declare BufferParams
9654         or BufferView, so don't.
9655
9656 2002-10-21  John Levon  <levon@movementarian.org>
9657
9658         * BufferView.C: menuUndo ->undo, redo
9659
9660         * BufferView.h: document, remove dead, make some methods private
9661
9662         * paragraph_funcs.h:
9663         * paragraph_funcs.C:
9664         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9665
9666         * buffer.h:
9667         * buffer.C:
9668         * sgml.h:
9669         * sgml.C: move sgml open/close tag into sgml.C
9670
9671         * bufferview_funcs.h: unused prototype
9672
9673         * lyxfunc.h:
9674         * lyxfunc.C: remove unused
9675
9676         * lyxtext.h:
9677         * text.C: remove unused
9678
9679 2002-10-21  John Levon  <levon@movementarian.org>
9680
9681         * BufferView.h:
9682         * BufferView.C:
9683         * BufferView_pimpl.h:
9684         * BufferView_pimpl.C: fix mouse wheel handling based on
9685           patch from Darren Freeman
9686
9687 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9688
9689         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9690
9691 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9692
9693         * lyxlength.C (inPixels): Fix hanfling of negative length.
9694         Fix LyXLength::MU case.
9695
9696 2002-10-16  John Levon  <levon@movementarian.org>
9697
9698         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9699
9700 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9701
9702         * converter.C (view): add support for $$i (file name) and $$p
9703         (file path) for the viewer command. If $$i is not specified, then
9704         it is appended to the command (for compatibility with old syntax)
9705
9706 2002-10-14  Juergen Vigna  <jug@sad.it>
9707
9708         * undo_funcs.C (textHandleUndo): alter the order in which the
9709         new undopar is added to the LyXText, as we have to set first
9710         the right prev/next and then add it as otherwise the rebuild of
9711         LyXText is not correct. Also reset the cursor to the right paragraph,
9712         with this IMO we could remove the hack in "redoParagraphs()".
9713
9714 2002-10-09  Angus Leeming  <leeming@lyx.org>
9715
9716         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9717         to turn off an optimisation if a new inset is to be inserted.
9718
9719 2002-10-11 André Pönitz <poenitz@gmx.net>
9720
9721         * lyxtext.h: make some functions public to allow access
9722         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9723
9724 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * text3.C (dispatch): when changing layout, avoid an infinite loop
9727         [bug #652]
9728
9729 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9730
9731         * lyxrc.C (read): treat a viewer or converter command of "none" as
9732         if it were empty.
9733
9734         * MenuBackend.C (expandFormats): for an update, also allow the
9735         formats that are not viewable
9736
9737         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9738         script if it is newer than the lyxrc.defaults in user directory
9739
9740 2002-10-07 André Pönitz <poenitz@gmx.net>
9741
9742         * text.C: Vitaly Lipatov's small i18n fix
9743
9744 2002-09-25  Angus Leeming  <leeming@lyx.org>
9745
9746         * ispell.h: doxygen fix.
9747
9748 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * buffer.h (readFile): Add a new argument to the method, to allow
9751         reading of old-format templates.
9752
9753 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * toc.C (getTocList): Get TOC from InsetWrap.
9756
9757 2002-09-16  John Levon  <levon@movementarian.org>
9758
9759         * lyxfunc.C: check tabular for cut/copy too
9760
9761 2002-09-12  John Levon  <levon@movementarian.org>
9762
9763         * LyXAction.C: tidy
9764
9765         * factory.h:
9766         * factory.C: add header
9767
9768         * paragraph_funcs.h:
9769         * paragraph_funcs.C: cleanup
9770
9771 2002-09-11  John Levon  <levon@movementarian.org>
9772
9773         * PrinterParams.h: odd/even default to true
9774
9775 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9776
9777         * PrinterParams.h: update printer parameters for new xforms dialog
9778
9779 2002-09-11  Angus Leeming  <leeming@lyx.org>
9780
9781         * lyxserver.C (read_ready): re-write to make it more transparent
9782         and to make it work in coherent fashion under Tru64 Unix.
9783
9784 2002-09-11  André Pönitz <poenitz@gmx.net>
9785
9786         * commandtags.h:
9787         * LyXAction.C:
9788         * text3.C: implement LFUN_WORDSEL
9789
9790 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9791
9792         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9793         make floatlist_ a boost::shared_ptr<FloatList>
9794
9795         * lyxtextclass.C: include FloatList.h
9796         (LyXTextClass): initialize floatlist_
9797         (TextClassTags): add TC_NOFLOAT
9798         (Read): match "nofloat" to TC_NOFLOAT and use it.
9799         (readFloat): modify call to floatlist_
9800         (floats): ditto
9801         (floats): ditto
9802
9803         * FloatList.[Ch] (FloatList): remove commented out float
9804         initialization.
9805         (erase): new function
9806
9807 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9808
9809         * MenuBackend.C (expandToc): fix crash when there is no document
9810         open
9811
9812 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9813
9814         * many files: Add insetwrap.
9815
9816 2002-09-09  John Levon  <levon@movementarian.org>
9817
9818         * text2.C: remove confusing and awkward depth wraparound
9819
9820 2002-09-09  John Levon  <levon@movementarian.org>
9821
9822         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9823
9824         * buffer.h:
9825         * buffer.C: remove getIncludeonlyList()
9826
9827         * paragraph.C:
9828         * lyxfunc.C: remove headers
9829
9830 2002-09-09  Juergen Vigna  <jug@sad.it>
9831
9832         * text.C (getColumnNearX): fix form Michael this is most
9833         probably a cut&paste bug.
9834
9835 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9836
9837         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9838
9839         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9840         references, ws changes.
9841
9842         * text2.C (init): update counters after init
9843         (insertParagraph): no need to set counter on idividual paragraphs.
9844         (setCounter): access the counters object in the textclass object
9845         on in the buffer object.
9846         (updateCounters): ditto
9847
9848         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9849         shared_ptr<Counters> to avoid loading counters.h in all
9850         compilation units.
9851         (LyXTextClass): initialize ctrs_
9852         (TextClassTags): add TC_COUNTER, and ...
9853         (Read): use it here.
9854         (CounterTags): new tags
9855         (readCounter): new function
9856         (counters): new funtion
9857         (defaultLayoutName): return a const reference
9858
9859         * counters.C (Counters): remove contructor
9860         (newCounter): remove a couple of unneeded statements.
9861         (newCounter): simplify a bit.
9862         (numberLabel): some small formatting changes.
9863
9864         * buffer.[Ch]: remove all traces of counters, move the Counters
9865         object to the LyXTextClass.
9866
9867 2002-09-06  Alain Castera  <castera@in2p3.fr>
9868
9869         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9870         package to set the horizontal alignment on fixed width columns.
9871
9872         * lyx_sty.C:
9873         * lyx_sty.h: added tabularnewline macro def.
9874
9875         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9876
9877 2002-09-06  John Levon  <levon@movementarian.org>
9878
9879         * LyXAction.C: tooltips for sub/superscript
9880
9881         * MenuBackend.C: a bit more verbose
9882
9883         * lyxfunc.C: tiny clean
9884
9885         * undo_funcs.C: document undo_frozen
9886
9887 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9888
9889         * counters.C (Counters): add missing algorithm counter.
9890
9891         * text2.C (setCounter): lookup the counter with layouts latexname
9892         instead of by section number.
9893         (setCounter): use a hackish way to lookup the correct enum
9894         counter.
9895         a float name->type change
9896         reset enum couners with counter name directly instead of depth value.
9897
9898         * counters.C (Counters): remove the push_backs, change to use the
9899         float type not the float name.
9900         (labelItem): remove unused string, float name->type change
9901
9902         * counters.h: don't include vector, loose the enums and sects vectors
9903
9904 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9905
9906         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9907         (Read): add float->TC_FLOAT to textclassTags
9908         (Read): and handle it in the switch
9909         (readFloat): new function
9910
9911         * FloatList.C (FloatList): comment out the hardcoded float
9912         definitions.
9913
9914         * lyxlayout.h: ws change.
9915
9916 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9917
9918         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9919
9920 2002-09-03  Angus Leeming  <leeming@lyx.org>
9921
9922         * BufferView_pimpl.h: qualified name is not allowed in member
9923         declaration: WorkArea & Pimpl::workarea() const;
9924
9925         * factory.C: added using std::endl directive.
9926
9927         * text3.C: added using std::find and std::vector directives.
9928
9929 2002-08-29  André Pönitz <poenitz@gmx.net>
9930
9931         * lyxtext.h:
9932         * text2.C: remove unused member number_of_rows
9933
9934         * Makefile.am:
9935         * BufferView2.C: remove file, move contents to...
9936         * BufferView.C: ... here
9937
9938         * BufferView_pimpl.C:
9939         * factory.C: move more inset creation to factory
9940
9941         * vspace.C: avoid direct usage of LyXText, ws changes
9942
9943         * BufferView.[Ch]:
9944                 don't provide direct access to WorkArea, use two simple
9945                 acessors haveSelction() and workHeight() instead
9946
9947
9948 2002-08-29  John Levon  <levon@movementarian.org>
9949
9950         * BufferView_pimpl.C (dispatch): do not continue when
9951           no buffer
9952
9953 2002-08-28  André Pönitz <poenitz@gmx.net>
9954
9955         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9956
9957         * BufferView.h:
9958         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9959
9960 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9961
9962         * buffer.C: increment LYX_FORMAT to 221
9963
9964         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9965         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9966
9967         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9968
9969         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9970
9971 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9972
9973         * factory.C (createInset): use LyXTextClass::floats
9974
9975         * MenuBackend.C (expandFloatListInsert):
9976         (expandFloatInsert):
9977         (expandToc):
9978
9979         * text2.C (setCounter):
9980
9981         * LaTeXFeatures.C (useFloat):
9982         (getFloatDefinitions):
9983
9984         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9985
9986         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9987         floatlist_, with accessor floats().
9988
9989         * FloatList.h: remove global FloatList
9990
9991 2002-08-26  André Pönitz <poenitz@gmx.net>
9992
9993         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9994
9995         * BufferView.h:
9996         * BufferView2.C:
9997         * BufferView_pimpl.C:
9998         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9999
10000 2002-08-25  John Levon  <levon@movementarian.org>
10001
10002         * LyXAction.C: fix margin note description
10003
10004 2002-08-24  John Levon  <levon@movementarian.org>
10005
10006         * buffer.C:
10007         * bufferlist.C:
10008         * bufferview_funcs.C:
10009         * lyxfont.C:
10010         * undo_funcs.C: cleanups
10011
10012         * lyxfunc.C: disable CUT/COPY when no selection
10013
10014 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10015
10016         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10017         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10018
10019         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10020         Add backward compatibility to "mono", "gray" and "no".
10021
10022 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10023
10024         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10025         (and file_format >= 200).
10026
10027 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10030
10031 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10032
10033         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10034
10035 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10036
10037         * BufferView_pimpl.C:
10038         * LyXAction.C:
10039         * buffer.C:
10040         * commandtags.h:
10041         * lyxfunc.C:
10042         * paragraph.[Ch]:
10043         * text2.C:
10044         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10045         inset and code to make it  work with the paragraph code. The inset
10046         can be anywhere in the paragraph, but will only do the expected
10047         thing in LaTeX if the layout file contains the parameter line
10048                         OptionalArgs    1
10049         (or more generally, a nonzero value) for that layout.
10050
10051 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10052
10053         * paragraph.h: remove the declaration of undefined counters class
10054         function.
10055
10056 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10057
10058         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10059         Dr. Richard Hawkins.
10060
10061 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * paragraph_funcs.h: remove some unneeded includes
10064
10065         * text.C (backspace): pasteParagraph now in global scipe
10066
10067         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10068         (pasteSelection): ditto
10069
10070         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10071         * paragraph_funcs.C (pasteParagraph): ... here
10072
10073 2002-08-20  André Pönitz <poenitz@gmx.net>
10074
10075         * commandtags.h: new LFUNs for swapping/copying table row/colums
10076
10077         * LyXAction.C:
10078         * lyxfunc.C: support for new lfuns
10079
10080 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10081
10082         * tabular.C:
10083         * buffer.[Ch]: remove NO_COMPABILITY stuff
10084
10085 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10086
10087         * boost.C (throw_exception): new file, with helper function for
10088         boost compiled without exceptions.
10089
10090         * paragraph.h:
10091         * lyxlength.C:
10092         * buffer.C:
10093         * ParameterStruct.h:
10094         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10095
10096         * bufferlist.C (emergencyWriteAll): use boost bind
10097
10098         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10099
10100         * text.C: include paragraph_funcs.h
10101         (breakParagraph): breakParagraph is now in global scope
10102
10103         * paragraph_funcs.[Ch]: new files
10104
10105         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10106         global scope
10107
10108         * buffer.C: include paragraph_funcs.h
10109         (insertStringAsLines): breakParagraph is now in global scope
10110
10111         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10112         paragraph_funcs.C
10113
10114         * CutAndPaste.C: include paragraph_funcs.h
10115         (cutSelection): breakParagraphConservative is now in global scope
10116         (pasteSelection): ditto
10117
10118         * buffer.h: declare oprator== and operator!= for
10119         Buffer::inset_iterator
10120
10121         * bufferlist.C (emergencyWrite): don't use fmt(...)
10122
10123         * text3.C: add using std::endl
10124
10125         * BufferView.C (moveCursorUpdate): remove default arg
10126
10127 2002-08-20  André Pönitz <poenitz@gmx.net>
10128
10129         * buffer.[Ch]: move inline functions to .C
10130
10131         * BufferView2.C:
10132         * BufferView_pimpl.C:
10133         * text.C:
10134         * buffer.[Ch]: use improved inset_iterator
10135
10136         * buffer.C:
10137         * paragraph.[Ch]: write one paragraph at a time
10138
10139 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10142         style if style is not specified.
10143
10144 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * text2.C (setCounter): when searching for right label for a
10147         caption, make sure to recurse to parent insets (so that a caption
10148         in a minipage in a figure float works) (bug #568)
10149
10150 2002-08-20  André Pönitz <poenitz@gmx.net>
10151
10152         * text3.C: new file for LyXText::dispatch() and helpers
10153
10154         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10155
10156         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10157
10158 2002-08-19  André Pönitz <poenitz@gmx.net>
10159
10160         * lyxtext.h:
10161         * text.C: new LyXText::dispatch()
10162
10163         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10164
10165 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10166
10167         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10168
10169         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10170         Hebrew text.
10171
10172 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10173
10174         * Makefile.am: use $(variables) instead of @substitutions@
10175
10176 2002-08-15  André Pönitz <poenitz@gmx.net>
10177
10178         * lyxfunc.C:
10179         * BufferView_pimpl.C: streamlining mathed <-> outer world
10180         interaction
10181
10182         * commandtags.h:
10183         * LyXAction.C: remove unused LFUN_MATH
10184
10185 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10186
10187         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10188
10189 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10190
10191         * paragraph.C (Paragraph): reformat a bit
10192         (cutIntoMinibuffer): use builtin InsetList function instad of
10193         doing it manually.
10194         (getInset): ditto
10195
10196         * buffer.C: include boost/bind.hpp, add using std::for_each
10197         (writeFileAscii): use ParagraphList iterators
10198         (validate): use for_each for validate traversal of paragraphs
10199         (getBibkeyList): use ParagraphList iterators
10200         (resizeInsets): use for_each to resizeInsetsLyXText for all
10201         paragraphs.
10202         (getParFromID): use ParagraphList iterators
10203
10204         * BufferView2.C (lockInset): use paragraph list and iterators
10205
10206 2002-08-14  John Levon  <levon@movementarian.org>
10207
10208         * lyxserver.C: remove spurious xforms include
10209
10210 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10211
10212         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10213
10214 2002-08-13  André Pönitz <poenitz@gmx.net>
10215
10216         * LyXAction.[Ch]:
10217         * lyxfunc.C: further cleaning
10218
10219 2002-08-13  André Pönitz <poenitz@gmx.net>
10220
10221         * funcrequest.h: new constructor
10222
10223         * funcrequest.C: move stuff here from .h
10224
10225         * Makefile.am:
10226         * BufferView_pimpl.C:
10227         * LyXAction.C:
10228         * toc.C:
10229         * lyxfunc.C: subsequent changes
10230
10231         * lyxfunc.h: new view() member function
10232
10233         * lyxfunc.C: subsequent changes
10234
10235 2002-08-13  Angus Leeming  <leeming@lyx.org>
10236
10237         * BufferView2.C:
10238         * BufferView_pimpl.C:
10239         * buffer.C:
10240         * converter.C:
10241         * importer.C:
10242         * lyxfunc.C:
10243         * lyxvc.C:
10244         * toc.C:
10245         * vc-backend.C:
10246         changes due to the changed LyXView interface that now returns references
10247         to member variables not pointers.
10248
10249 2002-08-13  Angus Leeming  <leeming@lyx.org>
10250
10251         * WordLangTuple (word, lang_code): return references to strings,
10252         not strings.
10253
10254         * BufferView.h:
10255         * SpellBase.h:
10256         * lyxtext.h: forward-declare WordLangTuple.
10257
10258         * BufferView2.C:
10259         * ispell.C:
10260         * pspell.C:
10261         * text.C: #include "WordLangTuple.h".
10262
10263         * lyxtext.h:
10264         * text.C: (selectNextWordToSpellcheck): constify return type.
10265
10266 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10267
10268         * buffer.C:
10269         * buffer.h:
10270         * lyxtext.h:
10271         * paragraph.C:
10272         * paragraph_pimpl.h:
10273         * text.C:
10274         * text2.C:
10275         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10276         suggested by Angus.
10277         Made updateCounter always count from start of buffer, and removed
10278         second argument (par).
10279         Reverted floats number display to '#'. Perhaps I'll try again when the
10280         code base is sanitized a bit.
10281
10282 2002-08-12  Angus Leeming  <leeming@lyx.org>
10283
10284         * buffer.[Ch] (getLabelList): constify.
10285
10286 2002-08-07  André Pönitz <poenitz@gmx.net>
10287
10288         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10289
10290         * funcrequest.h: extension to keep mouse (x,y) position
10291
10292 2002-08-12  Juergen Vigna  <jug@sad.it>
10293
10294         * BufferView2.C (insertErrors): forbid undo when inserting error
10295         insets.
10296
10297         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10298
10299 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10300
10301         * ParagraphList.[Ch]: new files
10302
10303         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10304
10305         * BufferView2.C (lockInset): ParagraphList changes
10306         * toc.C: ditto
10307         * text2.C: ditto
10308         * bufferlist.C: ditto
10309         * buffer.h: ditto
10310         * buffer.C: ditto
10311
10312 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10313
10314         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10315         unused class variable counter_,
10316
10317         * paragraph.[Ch] (getFirstCounter): delete unused function
10318
10319         * counters.C: include LAssert.h
10320         (reset): add a new function with no arg, change other version to
10321         not have def. arg and to not allow empty arg.
10322
10323         * text2.C (setCounter): remove empty arg from call to Counters::reset
10324
10325 2002-08-11  John Levon  <levon@movementarian.org>
10326
10327         * Makefile.am: add WordLangTuple.h
10328
10329 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10330
10331         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10332         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10333
10334         * insets/insettext.C: InsetList changes
10335
10336         * graphics/GraphicsSupport.C (operator()): InsetList changes
10337
10338         * toc.C (getTocList): InsetList changes
10339
10340         * paragraph_pimpl.[Ch]: InsetList changes
10341
10342         * paragraph.[Ch]: InsetList changes
10343
10344         * buffer.C (inset_iterator): InsetList changes
10345         (setParagraph): ditto
10346         * buffer.h (inset_iterator): ditto
10347         * iterators.C (operator++): ditto
10348         * iterators.h: ditto
10349
10350         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10351
10352         * InsetList.[Ch]: new files, most InsetList handling moved out of
10353         paragraph.C.
10354
10355         * BufferView2.C (removeAutoInsets): InsetList changes
10356         (lockInset): ditto
10357         (ChangeInsets): ditto
10358
10359 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10360
10361         * paragraph_pimpl.h (empty): new function
10362
10363         * paragraph.[Ch] (empty): new function
10364
10365         * other files: use the new Paragraph::empty function
10366
10367 2002-08-09  John Levon  <levon@movementarian.org>
10368
10369         * lyxtext.h: remove unused refresh_height
10370
10371 2002-08-09  John Levon  <levon@movementarian.org>
10372
10373         * Makefile.am:
10374         * sgml.h:
10375         * sgml.C:
10376         * buffer.C:
10377         * paragraph.h:
10378         * paragraph.C: move sgml char escaping out of paragraph
10379
10380         * paragraph.h:
10381         * paragraph.C: remove id setter
10382
10383         * buffer.C:
10384         * paragraph.C:
10385         * paragraph_pimpl.C: remove dead tex_code_break_column
10386
10387         * bufferview_funcs.C: small cleanup
10388
10389         * lyxfunc.C: remove dead proto
10390
10391         * lyxtext.h: make some stuff private. Remove some dead stuff.
10392
10393         * lyxgluelength.C: make as[LyX]String() readable
10394
10395 2002-08-08  John Levon  <levon@movementarian.org>
10396
10397         * LyXAction.h:
10398         * LyXAction.C:
10399         * MenuBackend.C:
10400         * ToolbarDefaults.C:
10401         * lyxfunc.C:
10402         * lyxrc.C:
10403         * toc.C: lyxaction cleanup
10404
10405 2002-08-08  John Levon  <levon@movementarian.org>
10406
10407         * BufferView2.C: small cleanup
10408
10409         * lyxfind.h:
10410         * lyxfind.C: move unnecessary header into the .C
10411
10412 2002-08-08  John Levon  <levon@movementarian.org>
10413
10414         * funcrequest.h: just tedious nonsense
10415
10416         * lyx_main.h:
10417         * lyx_main.C: cleanups
10418
10419         * buffer.C:
10420         * vspace.C: remove dead header lyx_main.h
10421
10422 2002-08-07  Angus Leeming  <leeming@lyx.org>
10423
10424         * Paragraph.[Ch]:
10425         * paragraph_pimpl.h:
10426         Forward declare class Counters in paragraph.h by moving the ctrs member
10427         variable into Paragraph::Pimpl.
10428         (counters): new method, returning a reference to pimpl_->ctrs.
10429
10430         * text2.C: ensuing changes.
10431
10432 2002-08-07  John Levon  <levon@movementarian.org>
10433
10434         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10435
10436         * BufferView_pimpl.C: announce X selection on double/triple
10437           click
10438
10439         * lyx_main.C: use correct bool in batch dispatch
10440
10441         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10442
10443 2002-08-07  André Pönitz <poenitz@gmx.net>
10444
10445         * funcrequest.h: new class to wrap a kb_action and its argument
10446
10447         * BufferView.[Ch]:
10448         * BufferView_pimpl[Ch]:
10449         * LaTeX.C:
10450         * LyXAction.[Ch]:
10451         * lyxfunc.[Ch]:
10452         * lyxrc.C: subsequent changes
10453
10454
10455 2002-08-07  John Levon  <levon@movementarian.org>
10456
10457         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10458           document options change.
10459
10460 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10461
10462         * counters.[Ch]
10463         * text2.C
10464         * paragraph.[Ch]
10465         * makefile.am: move counters functionality over from
10466         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10467
10468 2002-08-06  John Levon  <levon@movementarian.org>
10469
10470         * WordLangTuple.h: new file for word + language code tuple
10471
10472         * SpellBase.h:
10473         * pspell.h:
10474         * pspell.C:
10475         * ispell.h:
10476         * ispell.C:
10477         * lyxtext.h:
10478         * text.C:
10479         * text2.C:
10480         * BufferView.h:
10481         * BufferView2.C: use WordLangTuple
10482
10483         * layout.h:
10484         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10485
10486 2002-08-06  John Levon  <levon@movementarian.org>
10487
10488         * lyx_main.C: fix cmdline batch handling
10489
10490 2002-08-06  André Pönitz <poenitz@gmx.net>
10491
10492         * lyxrc.C: set default for show_banner to true
10493
10494 2002-08-06  John Levon  <levon@movementarian.org>
10495
10496         * pspell.C: fix a crash, and allow new aspell to work
10497
10498 2002-08-06  John Levon  <levon@movementarian.org>
10499
10500         * lyxfunc.C:
10501         * kbmap.C: small cleanup
10502
10503         * vspace.h:
10504         * vspace.C: add const
10505
10506 2002-08-05  John Levon  <levon@movementarian.org>
10507
10508         * LyXAction.C: back to tabular-insert
10509
10510 2002-08-04  John Levon  <levon@movementarian.org>
10511
10512         * BufferView.h:
10513         * BufferView.C: cosmetic change
10514
10515         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10516
10517         * bufferlist.C:
10518         * buffer.h:
10519         * buffer.C:
10520         * lyxcb.h:
10521         * lyxcb.C:
10522         * lyxserver.C:
10523         * lyxvc.C:
10524         * vc-backend.C:
10525         * BufferView2.C: purge all "Lyx" not "LyX" strings
10526
10527         * lyxcursor.h:
10528         * lyxcursor.C: attempt to add some documentation
10529
10530         * lyxfunc.C:
10531         * commandtags.h:
10532         * LyXAction.C:
10533         * ToolbarDefaults.C:
10534         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10535           merge with LFUN_TABULAR_INSERT
10536
10537         * Makefile.am:
10538         * SpellBase.h:
10539         * ispell.h:
10540         * ispell.C:
10541         * pspell.h:
10542         * pspell.C: split up i/pspell implementations into separate
10543           files, many cleanups
10544
10545         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10546
10547         * text2.C: some cleanup
10548
10549         * lyxfunc.C: don't check for isp_command == "none" any more, it
10550           didn't make any sense
10551
10552 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10553
10554         * counters.[Ch]
10555         * text2.C
10556         * paragraph.[Ch]
10557         * makefile.am: move counters functionality over
10558         from text2.C/paragraph.[Ch] to counters.[Ch], and
10559         make proper C++.
10560 2002-08-02  John Levon  <levon@movementarian.org>
10561
10562         * buffer.C: s/lyxconvert/lyx2lyx/
10563
10564 2002-08-02  Angus Leeming  <leeming@lyx.org>
10565
10566         * lyxlex.C: revert John's change as it breaks reading of the user
10567         preamble.
10568
10569 2002-08-02  Angus Leeming  <leeming@lyx.org>
10570
10571         * importer.C (Import):
10572         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10573         changes due to LyXView::view() now returning a boost::shared_ptr.
10574
10575 2002-08-02  John Levon  <levon@movementarian.org>
10576
10577         * lyxlex.C: small cleanup
10578
10579 2002-08-02  John Levon  <levon@movementarian.org>
10580
10581         * text2.C (status): small cleanup, no logic change
10582
10583 2002-08-01  John Levon  <levon@movementarian.org>
10584
10585         * buffer.h:
10586         * buffer.C (writeFile): don't output alerts, caller
10587           handles this
10588
10589         * bufferlist.C:
10590         * lyx_cb.C: from above
10591
10592         * lyxfunc.C: allow to open non-existent files
10593
10594 2002-07-31  John Levon  <levon@movementarian.org>
10595
10596         * lyxserver.C: don't let incidental errors get
10597           in the way (errno)
10598
10599 2002-07-30  John Levon  <levon@movementarian.org>
10600
10601         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10602
10603 2002-07-30  John Levon  <levon@movementarian.org>
10604
10605         * lyxserver.h:
10606         * lyxserver.C: remove I/O callback too
10607
10608 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10609
10610         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10611         log.
10612
10613 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10614
10615         * many files: strip,frontStrip -> trim,ltrim,rtrim
10616
10617 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10618
10619         * PrinterParams.h: remove extern containsOnly, and include
10620         support/lstrings.h instead.
10621
10622         * LaTeX.C (scanAuxFile): modify because of strip changes
10623         (deplog): ditto
10624         * buffer.C (makeLaTeXFile): ditto
10625         * bufferparams.C (writeFile): ditt
10626         * lyxfont.C (stateText): ditto
10627         * lyxserver.C (read_ready): ditto
10628         * vc-backend.C (scanMaster): ditto
10629
10630         * BufferView_pimpl.h: ws changes
10631
10632         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10633
10634 2002-07-26  André Pönitz <poenitz@gmx.net>
10635
10636         * kb_sequence.C: remove unnedred usings
10637
10638 2002-07-26  Juergen Vigna  <jug@sad.it>
10639
10640         * lyxfind.C (LyXReplace): we have to check better if the returned
10641         text is not of theLockingInset()->getLockingInset().
10642
10643 2002-07-25  Juergen Vigna  <jug@sad.it>
10644
10645         * lyxfind.C (LyXReplace): don't replace if we don't get the
10646         right LyXText.
10647
10648         * undo_funcs.C (createUndo): remove debugging code.
10649
10650 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10651
10652         * buffer.C (parseSingleLyXformat2Token): Use default placement
10653         when reading old floats.
10654
10655         * FloatList.C (FloatList): Change the default placement of figure
10656         and tables to "tbp".
10657
10658 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * MenuBackend.C: using std::max
10661
10662 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10663
10664         * MenuBackend.C (expandToc):
10665         (expandToc2): code moved from xforms menu frontend. It is now
10666         generic and TOCs are transparent to menu frontends.
10667
10668 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * toc.C (getTocList): protect against buf=0
10671
10672         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10673         Menu as first parameter. Now, this calls itself recursively to
10674         expand a whole tree (this will be useful for TOC handling)
10675         (expandFloatInsert): remove 'wide' version of floats
10676
10677         * MenuBackend.h (submenuname): returns the name of the submenu.
10678         (submenu): returns the submenu itself, provided it has been
10679         created by MenuBackend::expand
10680
10681 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10684         insets which have noFontChange == true. (bug #172)
10685
10686 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10687
10688         * BufferView_pimpl.C: add connection objects and use them...
10689         (Pimpl): here.
10690
10691 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * MenuBackend.C (expandLastfiles):
10694         (expandDocuments):
10695         (expandFormats):
10696         (expandFloatListInsert):
10697         (expandFloatInsert):
10698         (expand): split expand in parts
10699
10700 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * lyx_gui.C: use lyx_gui::exit()
10703
10704 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * LyXAction.C: show the failing pseudo action
10707
10708 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10709
10710         * buffer.C (readFile): Run the lyxconvert script in order to read
10711         old files.
10712
10713 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * LyXAction.C:
10716         * commandtags.h:
10717         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10718
10719 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * LyXAction.C:
10722         * commandtags.h:
10723         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10724
10725 2002-07-22  Herbert Voss  <voss@lyx.org>
10726
10727         * lengthcommon.C:
10728         * lyxlength.[Ch]: add support for the vertical lengths
10729
10730 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * toc.[Ch]: std:: fixes
10733
10734 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10735
10736         * lyxrc.C: do not include lyx_main.h
10737
10738         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10739         for layouts
10740
10741         * lyxrc.C:
10742         * encoding.C:
10743         * bufferlist.C:
10744         * BufferView2.C: include "lyxlex.h"
10745
10746         * tabular.h:
10747         * bufferparams.h: do not #include "lyxlex.h"
10748
10749         * lyxtextclasslist.C (Add): remove method
10750         (classlist): renamed to classlist_
10751
10752         * paragraph_pimpl.C:
10753         * paragraph.C:
10754         * text2.C:
10755         * CutAndPaste.C:
10756         * bufferview_funcs.C:
10757         * bufferlist.C:
10758         * text.C:
10759         * LaTeXFeatures.C:
10760         * buffer.C:
10761         * toc.C (getTocList): use BufferParams::getLyXTextClass
10762
10763         * toc.C (getTocList): use InsetFloat::addToToc
10764
10765         * toc.[Ch]: new files, containing helper functions to handle table
10766         of contents
10767
10768         * lyxfunc.C (dispatch): no need to remove spaces around command
10769         given as a string
10770         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10771         first command of the sequence; it is not very clever, but I do not
10772         have a better idea, actually
10773
10774         * LyXAction.C (LookupFunc): make sure to remove space at the
10775         beginning and end of the command
10776
10777 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * MenuBackend.C (getMenubar): new method: return the menubar of
10780         this menu set
10781         (read): treat differently reading of menu and menubar (in
10782         particular, the menubar has no name now)
10783         (Menu::menubar): remove
10784
10785         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10786         saving is finished
10787
10788 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10789
10790         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10791         a bibitem inset in a RTL paragraph.
10792
10793 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * paragraph_pimpl.C: constify
10796
10797         * BufferView_pimpl.C:
10798         * LaTeX.C:
10799         * lyxfunc.C: fix dispatch in a nicer way
10800
10801 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10802
10803         * lyxfunc.C (dispatch):
10804         * BufferView_pimpl.C:
10805         * BufferView_pimpl.h:
10806         * BufferView.C:
10807         * BufferView.h: rename Dispatch() to dispatch()
10808
10809         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10810
10811         * lyxlayout.C (Read): honor DependsOn tag
10812
10813         * lyxlayout.[Ch] (depends_on): new method
10814
10815         * version.C.in: update lyx_docversion
10816
10817         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10818
10819         * paragraph.C (validate): remove from here...
10820         * paragraph_pimpl.C (validate): ... and move here
10821         (isTextAt): make it const
10822
10823         * buffer.C (getLists): ws cleanup
10824
10825 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10826
10827         * language.C (read): Use iso8859-1 encoding in latex_lang
10828         (this prevents LyX from crashing when using iso10646-1 encoding).
10829
10830 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10831
10832         * text2.C (toggleInset): if cursor is inside an inset, close the
10833         inset and leave cursor _after_ it
10834
10835 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * lyxfunc.C: move minibuffer completion handling out of here
10838
10839 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * BufferView_pimpl.C:
10842         * LaTeX.C: fix dispatch calls
10843
10844 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * text.C (drawChars): Fix Arabic text rendering.
10847
10848 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * LyXAction.C:
10851         * commandtags.h:
10852         * lyxfunc.C: remove message-push/pop
10853
10854         * lyxserver.C:
10855         * lyxfunc.h:
10856         * lyxfunc.C: rationalise some code by removing verboseDispatch
10857           in favour of a bool argument to dispatch()
10858
10859 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10860
10861         * lyx_main.C (init): make sure to read symlinks as absolute paths
10862
10863 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * lyxfunc.h:
10866         * lyxfunc.C: no need for commandshortcut to be a member
10867
10868 2002-07-15  André Pönitz <poenitz@gmx.net>
10869
10870         * converter.C: add support for $$s (scripts from lib/scripts dir)
10871         * lyx_main.C: white space
10872
10873 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * bufferlist.C:
10876         * lyxrc.h:
10877         * lyxrc.C: remove second exit confirmation
10878
10879 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10880
10881         * BufferView.h:
10882         * BufferView.C:
10883         * BufferView2.C:
10884         * BufferView_pimpl.h:
10885         * BufferView_pimpl.C:
10886         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10887
10888 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * MenuBackend.C (expand): add numeric shortcuts to document menu
10891
10892         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10893
10894 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * lyxfont.C (setLyXFamily):
10897         (setLyXSeries):
10898         (setLyXShape):
10899         (setLyXSize):
10900         (setLyXMisc):
10901         (lyxRead):
10902         * debug.C (value):
10903         * buffer.C (asciiParagraph): use ascii_lowercase
10904
10905 2002-07-15  Mike Fabian  <mfabian@suse.de>
10906
10907         * lyxlex_pimpl.C (search_kw):
10908         * lyxlex.C (getLongString):
10909         * converter.h (operator<):
10910         * converter.C (operator<):
10911         * buffer.C (parseSingleLyXformat2Token):
10912         (asciiParagraph):
10913         * ToolbarDefaults.C (read):
10914         * MenuBackend.C (checkShortcuts):
10915         (read):
10916         * LColor.C (getFromGUIName):
10917         (getFromLyXName): use the compare_ascii_no_case instead of
10918         compare_no_case, because in turkish, 'i' is not the lowercase
10919         version of 'I', and thus turkish locale breaks parsing of tags.
10920
10921 2002-07-16  Angus Leeming  <leeming@lyx.org>
10922
10923         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10924         now takes a Buffer const & argument.
10925
10926 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10927
10928         * BufferView.C (resize): check there's a buffer to resize
10929
10930 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10931
10932         * lyxfunc.C: remove dead code
10933
10934         * lyxserver.h:
10935         * lyxserver.C: use lyx_guii::set_read_callback
10936
10937 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10938
10939         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10940         an inset in a RTL paragraph.
10941
10942 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * lyxfunc.C: repaint after a font size update
10945
10946 2002-07-15  André Pönitz <poenitz@gmx.net>
10947
10948         * lyxlength.C: inBP should be able to return negative values
10949
10950 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10951
10952         * lyxfunc.C: use lyx_gui::update_fonts()
10953
10954 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * lyxfunc.C: use lyx_gui::update_color()
10957
10958 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * bufferlist.C:
10961         * lyxfunc.h:
10962         * lyxfunc.C:
10963         * lyxrc.h:
10964         * lyxrc.C: remove file->new asks for name option, and let
10965           buffer-new take an argument
10966
10967 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * BufferView_pimpl.C: remove unneeded extra repaint()
10970
10971 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10972
10973         * LyXAction.C: allow command-sequence with NoBuffer
10974
10975         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10976
10977 2002-07-10  Angus Leeming  <leeming@lyx.org>
10978
10979         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10980
10981 2002-07-09  Angus Leeming  <leeming@lyx.org>
10982
10983         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10984
10985 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * lengthcommon.h: whitespace
10988
10989         * lyxfunc.C: update scrollbar after goto paragraph
10990
10991         * lyxtext.h: factor out page break drawing, and fix it so
10992           page break/added space paints as selected nicely
10993
10994 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * BufferView_pimpl.C: add FIXMEs, clean up a little
10997
10998 2002-07-09  André Pönitz <poenitz@gmx.net>
10999
11000         * lyxfont.[Ch]: support for wasy symbols
11001
11002 2002-07-08  André Pönitz <poenitz@gmx.net>
11003
11004         * BufferView_pimpl.C: apply John's patch for #93.
11005
11006 2002-07-05  Angus Leeming  <leeming@lyx.org>
11007
11008         * BufferView_pimpl.C (buffer): generate previews if desired.
11009
11010         * LColor.h: add "preview" to the color enum.
11011
11012         * LColor.C (LColor): add a corresponding entry to the items array.
11013
11014         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11015         with this buffer.
11016
11017 2002-07-05  Angus Leeming  <leeming@lyx.org>
11018
11019         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11020         The body of the code is now in the method that is passed an ostream &
11021         rather than a file name.
11022         Pass an additional only_preamble parameter, useful for the forthcoming
11023         preview stuff.
11024
11025 2002-07-03  André Pönitz <poenitz@gmx.net>
11026
11027         * lyxfunc.C: simplify getStatus() a bit for math stuff
11028
11029 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11030
11031         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11032
11033 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * text.C (changeRegionCase): do not change case of all the
11036         document when region ends at paragraph end (bug #461)
11037
11038 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * paragraph.C (startTeXParParams):
11041         (endTeXParParams): add \protect when necessary
11042
11043 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * BufferView_pimpl.C (workAreaExpose): remove warning
11046
11047 2002-06-27  Angus Leeming  <leeming@lyx.org>
11048
11049         * Makefile.am: add lyxlayout_ptr_fwd.h.
11050
11051 2002-06-26  André Pönitz <poenitz@gmx.net>
11052
11053         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11054
11055 2002-06-25  Angus Leeming  <leeming@lyx.org>
11056
11057         * lyxfunc.C (dispatch): Comment out the call to
11058         grfx::GCache::changeDisplay. The method no longer exists now that the
11059         pixmap generation part of the graphics loader has been moved into
11060         InsetGraphics.
11061
11062 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11063
11064         * text2.C: layout as layout
11065
11066         * text.C: layout as layout
11067
11068         * tabular.C (OldFormatRead): layout as layout
11069
11070         * paragraph_pimpl.C (TeXDeeper): layout as layout
11071         (realizeFont): layout as layout
11072
11073         * paragraph.C (writeFile): layout as layout
11074         (validate): layout as layout
11075         (getFont): layout as layout
11076         (getLabelFont): layout as layout
11077         (getLayoutFont): layout as layout
11078         (breakParagraph): layout as layout
11079         (stripLeadingSpaces): layout as layout
11080         (getEndLabel): layout as layout
11081         (getMaxDepthAfter): layout as layout
11082         (applyLayout): layout as layout
11083         (TeXOnePar): layout as layout
11084         (simpleTeXOnePar): layout as layout
11085         (TeXEnvironment): layout as layout
11086         (layout): layout as layout
11087         (layout): layout as layout
11088
11089         * lyxtextclass.C (compare_name): new functor to work with
11090         shared_ptr, layout as layout
11091         (Read): layout as layout
11092         (hasLayout): layout as layout
11093         (operator): layout as layout
11094         (delete_layout): layout as layout
11095         (defaultLayout): layout as layout
11096
11097         * lyxlayout_ptr_fwd.h: new file
11098
11099         * lyxlayout.C (Read): layout as layout
11100
11101         * lyx_cb.C (MenuInsertLabel): layout as layout
11102
11103         * bufferlist.C (newFile): layout as layout
11104
11105         * buffer.C (readLyXformat2): layout as layout
11106         (parseSingleLyXformat2Token): layout as layout
11107         (insertStringAsLines): layout as layout
11108         (asciiParagraph): layout as layout
11109         (latexParagraphs): layout as layout
11110         (makeLinuxDocFile): layout as layout
11111         (simpleLinuxDocOnePar): layout as layout
11112         (makeDocBookFile): layout as layout
11113         (simpleDocBookOnePar): layout as layout
11114         (getLists): layout as layout
11115
11116         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11117
11118         * CutAndPaste.C (cutSelection): layout as layout
11119         (pasteSelection): layout as layout
11120         (SwitchLayoutsBetweenClasses): layout as layout
11121
11122         * BufferView_pimpl.C (Dispatch): layout as layout
11123         (smartQuote): layout as layout
11124
11125         * BufferView2.C (unlockInset): layout as layout
11126
11127 2002-06-24  André Pönitz <poenitz@gmx.net>
11128
11129         * lyxfunc.C: fix #487
11130
11131 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * lyxrc.h:
11134         * lyxrc.C:
11135         * lyxfunc.C: remove display_shortcuts, show_banner
11136
11137 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * Buffer_pimpl.C: oops, update on resize
11140
11141 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * buffer.C:
11144         * converter.C:
11145         * exporter.C:
11146         * lyxfunc.C:
11147         * BufferView.h:
11148         * BufferView.C: use repaint()
11149
11150         * BufferView_pimpl.h:
11151         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11152           as it's a clearer description. Remove superfluous
11153           redraws.
11154
11155 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * text.C: fix bug 488. Not ideal, but getting
11158           getWord() to work properly for the insets that
11159           matter is more difficult ...
11160
11161 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * BufferView_pimpl.C:
11164         * LyXAction.C:
11165         * commandtags.h:
11166         * lyxfunc.C: remove the six million index lyxfuncs to just
11167           one, and DTRT (bug 458)
11168
11169 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * BufferView.h:
11172         * BufferView.C:
11173         * BufferView_pimpl.h:
11174         * BufferView_pimpl.C: clean up resize() stuff,
11175           and unnecessary updateScreen()s
11176
11177 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * BufferView.h:
11180         * BufferView.C:
11181         * BufferView_pimpl.h:
11182         * BufferView_pimpl.C:
11183         * lyxfind.h:
11184         * lyxfind.C:
11185         * minibuffer.C: remove focus management of workarea,
11186           not needed. Use screen's greyOut()
11187
11188 2002-06-17  Herbert Voss  <voss@lyx.org>
11189
11190         * converter.C: (convert) do not post a message, when converting
11191         fails, let the calling function decide what to do in this case
11192
11193 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11194
11195         * lyxfunc.C: tidy up a little
11196
11197 2002-06-16    <alstrup@diku.dk>
11198
11199         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11200         Got rid of FORMS_H_LOCATION include. Now we are
11201         GUII.
11202
11203 2002-06-15  LyX Development team  <lyx@rilke>
11204
11205         * buffer.[Ch] (sgmlOpenTag):
11206         (sgmlCloseTag): Added support for avoiding pernicious mixed
11207         content. Return number of lines written.
11208
11209         (makeLinuxDocFile):
11210         (makeDocBookFile): Fixed calls to sgml*Tag.
11211         Simple white space clean.
11212
11213         (simpleDocBookOnePar): Simple white space clean.
11214
11215         * tabular.[Ch] (docBook): Renamed to docbook and got another
11216         argument to related with the pernicious mixed content.
11217
11218         (docbookRow): Fixed calls for docbook inset method.
11219
11220 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11221
11222         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11223         so it's X11 independent.
11224
11225         * kb*.[Ch]: ditto.
11226
11227         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11228
11229 2002-06-15  Lyx Development team  <lyx@electronia>
11230
11231         * intl.h: Renamed getTrans to getTransManager.
11232
11233 2002-06-14  Angus Leeming  <leeming@lyx.org>
11234
11235         * Makefile.am: nuke forgotten stl_string_fwd.h.
11236
11237 2002-06-12  Angus Leeming  <leeming@lyx.org>
11238
11239         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11240
11241 2002-06-13  Angus Leeming  <leeming@lyx.org>
11242
11243         * LaTeX.C:
11244         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11245
11246 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11247
11248         * kbmap.C (getiso): add support for cyrillic and greek
11249
11250 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * BufferView.h:
11253         * BufferView.C:
11254         * BufferView_pimpl.h:
11255         * BufferView_pimpl.C: move bogus scrolling logic
11256           to xforms
11257
11258 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * lyxfunc.C:
11261         * BufferView_pimpl.C: view->resize() change
11262
11263 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11264
11265         * BufferView_pimpl.C: topCursorVisible
11266           prototype change
11267
11268 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * Makefile.am:
11271         * lyx_gui.h:
11272         * lyx_gui.C: move to frontends/
11273
11274         * main.C:
11275         * lyx_main.h:
11276         * lyx_main.C: changes from above
11277
11278 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * intl.C:
11281         * intl.h:
11282         * kbmap.C:
11283         * kbsequence.C:
11284         * lyx_cb.C:
11285         * lyx_main.C: minor tidy
11286
11287 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * BufferView_pimpl.h:
11290         * BufferView_pimpl.C:
11291         * BufferView.h:
11292         * BufferView.C: make painter() const,
11293           remove dead code
11294
11295         * BufferView2.C: use screen() accessor
11296
11297         * lyx_main.h:
11298         * lyx_main.C: some minor cleanup
11299
11300 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * BufferView_pimpl.h:
11303         * BufferView_pimpl.C: remove enter/leaveView,
11304           use workHeight()
11305
11306 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * BufferView.h:
11309         * BufferView.C:
11310         * BufferView2.C:
11311         * BufferView_pimpl.h:
11312         * BufferView_pimpl.C: only construct screen once,
11313           rename
11314
11315         * lyxrc.C: remove pointless comment
11316
11317 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * BufferView.h:
11320         * BufferView.C: remove active() and belowMouse()
11321
11322         * BufferView_pimpl.h:
11323         * BufferView_pimpl.C: use workarea() not workarea_,
11324           and make it use a scoped_ptr instead
11325
11326 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * lyx_gui.C: add debug message on BadWindow
11329
11330 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11331
11332         * sp_spell.C: fdopen is not part of the C++ standard.
11333
11334         * paragraph.C (InsetIterator): use >= instead of ==
11335
11336 2002-06-07  Angus Leeming  <leeming@lyx.org>
11337
11338         Fixes needed to compile with Compaq cxx 6.5.
11339         * BufferView_pimpl.C:
11340         * DepTable.C:
11341         * buffer.C:
11342         * converter.C:
11343         * encoding.C:
11344         * lyx_gui.C:
11345         * lyx_main.C:
11346         * lyxtextclasslist.C:
11347         * minibuffer.C:
11348         * sp_spell.C:
11349         * tabular_funcs.C:
11350         * vc-backend.C:
11351         all c-library variables have been moved into namespace std. Wrap
11352         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11353
11354         * lyxlength.C:
11355         * tabular-old.C:
11356         * tabular.C:
11357         Add a using std::abs declaration.
11358
11359         * kbmap.h (modifier_pair):
11360         * paragraph.h (InsetTable, InsetList):
11361         * lyxfont.h (FontBits):
11362         type definition made public.
11363
11364         * bufferlist.C (emergencyWriteAll): the compiler complains that
11365         there is more than one possible lyx::class_fun template to choose from.
11366         I re-named the void specialisation as lyx::void_class_fun.
11367
11368         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11369
11370         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11371         the compiler is is unable to find tostr in write_attribute.
11372
11373 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * buffer.C (sgmlError): hide #warning
11376
11377 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11378
11379         * xtl/*: get rid of xtl, which is not in use anyway
11380
11381         * LyXAction.C (init):
11382         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11383         were unimplemented xtl experimentation
11384
11385 2002-06-04  André Pönitz <poenitz@gmx.net>
11386
11387         * lyxfunc.C: disable array operation on simple formulae
11388
11389 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * converter.C: constify a bit
11392
11393 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * lyx_gui.C: check xforms version correctly
11396
11397 2002-04-30  Herbert Voss  <voss@lyx.org>
11398
11399         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11400         "keep" option
11401
11402 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11405           attempt to register it with a VCS)
11406
11407 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * lyx_main.C (init): honor variables LYX_DIR_13x and
11410         LYX_USERDIR_13x
11411
11412 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11413
11414         * buffer.h:
11415         * buffer.C:
11416         * lyx_main.C: fix a crash on bad command line,
11417           and give a useful exit status on error
11418
11419         * lyxfunc.C (doImport): allow -i lyx to work
11420
11421 2002-03-30  André Pönitz <poenitz@gmx.net>
11422
11423         * lyxfunc.C: mathed font changes
11424
11425 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * LaTeX.C:
11428         * importer.h:
11429         * importer.C:
11430         * lyx_sty.h:
11431         * lyx_sty.C:
11432         * lyxlex.C:
11433         * lyxrow.h:
11434         * lyxtext.h:
11435         * paragraph.h:
11436         * paragraph.C:
11437         * texrow.h:
11438         * texrow.C:
11439         * text.C:
11440         * trans_mgr.h: srcdocs, and some minor cleanups
11441
11442 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11445         call getFont all the time)
11446
11447 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11448
11449         * switch from SigC signals to boost::signals
11450
11451 2002-05-29  André Pönitz <poenitz@gmx.net>
11452
11453         * paragraph_pimpl.C (getChar): don't call size() too often...
11454
11455 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11456
11457         * paragraph_pimpl.C (insertChar): do not try to update tables when
11458         appending (pos == size())
11459
11460         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11461         in order to reduce drastically the number of comparisons needed to
11462         parse a large document
11463
11464 2002-05-29  André Pönitz <poenitz@gmx.net>
11465
11466         * text.C:
11467         * text2.C:
11468         * lyxtextclass.C:
11469         * sp_pspell.h:
11470         * textclasslist.[Ch]:
11471         * sp_ispell.h: whitespace change
11472
11473 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11474
11475         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11476         lyxaction directly now.
11477
11478 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * trans.C:
11481         * lyxfont.C:
11482         * lyxvc.C: remove unused headers
11483
11484 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11485
11486         * Makefile.am:
11487         * buffer.h:
11488         * undostack.h:
11489         * undostack.C:
11490         * undo_funcs.h:
11491         * undo_funcs.C: some cleanups. Use shared_ptr
11492           and a template for the undo stacks.
11493
11494 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11495
11496         * BufferView_pimpl.h:
11497         * BufferView_pimpl.C:
11498         * kbmap.h:
11499         * kbmap.C:
11500         * kbsequence.h:
11501         * kbsequence.C:
11502         * lyxfunc.h:
11503         * lyxfunc.C:
11504         * text2.C: use key_state/mouse_state
11505
11506 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11509         and LSubstring
11510
11511         * chset.C: change include order
11512         (loadFile): use boost regex and get rid of LRegex and LSubstring
11513
11514         * Makefile.am (BOOST_LIBS): new variable
11515         (lyx_LDADD): use it
11516
11517         * LaTeX.C: change include order.
11518         (scanAuxFile): use boost regex and get rid of LRegex and
11519         LSubstring
11520         (deplog): ditto
11521
11522 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * ColorHandler.h:
11525         * ColorHandler.C:
11526         * FontInfo.h:
11527         * FontInfo.C: moved to frontends/xforms/
11528
11529         * FontLoader.h:
11530         * FontLoader.C: moved into frontends for GUIIzation
11531
11532         * Makefile.am:
11533         * lyx_gui.C:
11534         * lyxfont.C:
11535         * lyxfunc.C: changes from above
11536
11537 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * LColor.C: remove spurious X include
11540
11541         * BufferView_pimpl.C:
11542         * Makefile.am:
11543         * font.h:
11544         * font.C:
11545         * text.C:
11546         * text2.C: move font metrics to frontends/
11547
11548 2002-05-24  Juergen Vigna  <jug@sad.it>
11549
11550         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11551         setting the undo_cursor.
11552
11553         * ParagraphParameters.h: include local includes first.
11554
11555 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11556
11557         * BufferView_pimpl.C:
11558         * BufferView_pimpl.h:
11559         * Makefile.am:
11560         * WorkArea.h:
11561         * WorkArea.C:
11562         * screen.C: move WorkArea into frontends/
11563
11564         * lyxscreen.h:
11565         * screen.C:
11566         * text.C:
11567         * BufferView.C:
11568         * BufferView2.C: move LyXScreen into frontends/
11569
11570         * lyxlookup.h:
11571         * lyxlookup.C:
11572         * lyx_gui.C: move lyxlookup into frontends/xforms/
11573
11574 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * BufferView2.C:
11577         * BufferView_pimpl.C:
11578         * FontLoader.C:
11579         * LyXView.h:
11580         * LyXView.C:
11581         * Makefile.am:
11582         * WorkArea.C:
11583         * XFormsView.h:
11584         * XFormsView.C:
11585         * buffer.C:
11586         * bufferlist.C:
11587         * bufferview_funcs.C:
11588         * converter.C:
11589         * importer.C:
11590         * lyx_cb.C:
11591         * lyx_gui.C:
11592         * lyx_main.C:
11593         * lyx_find.C:
11594         * lyxfunc.C:
11595         * lyxvc.C:
11596         * minibuffer.C:
11597         * text.C:
11598         * text2.C:
11599         * trans.C:
11600         * vc-backend.C: move LyX/XFormsView into frontends/
11601
11602 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * Makefile.am:
11605         * PainterBase.C:
11606         * PainterBase.h:
11607         * Painter.C:
11608         * Painter.h:
11609         * WorkArea.C:
11610         * WorkArea.h:
11611         * screen.C:
11612         * tabular.C:
11613         * text.C:
11614         * text2.C: move Painter to frontends/
11615
11616 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11617
11618         * buffer.C: comment out some some code that depend upon lyx_format
11619         < 220
11620
11621         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11622         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11623
11624         * buffer.h (NO_COMPABILITY): turn off compability
11625
11626         * ColorHandler.C: include scoped_array.hpp
11627
11628         * font.C: Use more specific smart_ptr header.
11629         * Painter.C: ditto
11630         * gettext.C: ditto
11631         * ShareContainer.h: ditto
11632         * lyx_main.h: ditto
11633         * kbmap.h: ditto
11634         * FontInfo.h: ditto
11635         * BufferView_pimpl.h: ditto
11636         * ColorHandler.h: ditto
11637
11638         * kbmap.C (defkey): change call to shared_ptr::reset
11639
11640 2002-05-21  Juergen Vigna  <jug@sad.it>
11641
11642         * buffer.C (insertErtContents): fix to insert ert asis if it is
11643         non empty. Skip it completely if it contains only whitespaces.
11644
11645 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * BufferView_pimpl.C:
11648         * BufferView2.C: clear selection on paste (bug 393)
11649
11650 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * DepTable.C: include ctime
11653
11654 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11655
11656         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11657
11658 2002-05-14  Juergen Vigna  <jug@sad.it>
11659
11660         * text.C (breakParagraph): fixed function to honor the keepempty
11661         layout in the right maner and also to permit the right breaking
11662         algorithm on empty or non empyt keepempty paragraphs.
11663
11664         * paragraph.C (breakParagraph): we have to check also if the par
11665         is really empty (!size()) for isempty otherwise we do the wrong
11666         paragraph break.
11667
11668 2002-05-10  Juergen Vigna  <jug@sad.it>
11669
11670         * buffer.[Ch] : The following are only changes to the ert
11671         compatibility read reading old LaTeX layout and font stuff and
11672         convert it to ERTInsets.
11673
11674         * buffer.h: added isErtInset().
11675
11676         * buffer.C (struct ErtComp): add a fromlayout bool to check
11677         if we're inside a LaTeX layout.
11678         (isErtInset): new helper function.
11679         (insertErtContents): look for other ert insets before this one
11680         and insert the contents there, so that we don't have subsequent
11681         ERT insets with nothing between them. This way we create only one
11682         inset with multiple paragraphs. Also check if we don't insert only
11683         spaces ' ' as they are ignored anyway afterwards in the .tex file
11684         so if we have only spaces we will ignore this latex part in the
11685         new file.
11686         (parseSingleLyXformat2Token \\layout): better compatibility when
11687         reading layout-latex stuff.
11688         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11689         language tag.
11690         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11691         stuff after reading the inset only get the information back from
11692         the stack.
11693
11694 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11695
11696         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11697
11698         * LaTeXFeatures.C (getBabelOptions): New method.
11699
11700 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * BufferView_pimpl.C (Dispatch): work around missing argument for
11703         'layout'
11704
11705 2002-05-08  Juergen Vigna  <jug@sad.it>
11706
11707         * text.C (leftMargin): handle paragraph leftindent.
11708
11709         * paragraph.C (writeFile): write the new \\leftindent tag.
11710         (validate): handle leftindent code.
11711         (TeXEnvironment): handle paragraphleftindent code again.
11712
11713         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11714
11715         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11716         for paragrap_extra indent code and new token \\leftindent.
11717         (latexParagraphs): handle the leftindent as environment.
11718
11719         * ParameterStruct.h: added leftindent support.
11720
11721         * ParagraphParameters.C (leftIndent): added support functions for
11722         the paragraph left indent.
11723
11724         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11725         more appropriate.
11726
11727 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11728
11729         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11730         inside insetERT.
11731
11732         * text.C (computeBidiTables): No bidi in insetERT.
11733
11734         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11735         in RTL documents.
11736
11737 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11738
11739         * version.C.in: pre 5
11740
11741 2002-05-02  José Matos  <jamatos@fep.up.pt>
11742         * buffer.C (makeDocBookFile): white space changes, add newline to
11743         command styles.
11744         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11745
11746         * tabular.C (docBook): fix typo.
11747
11748 2002-05-03  Juergen Vigna  <jug@sad.it>
11749
11750         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11751         change in LyXText as we can not be sure it was not freed.
11752         (drawOneRow): remove unused code.
11753
11754         * text.C (drawInset): redo the calculation of the need_break_row as
11755         it could have a row which was already freed.
11756         (draw): look at the return value of drawInset and return false if
11757         it also returned false.
11758         (paintRowText): look at the return value of draw and return false if
11759         it also returned false.
11760
11761         * lyxtext.h: added bool return type to drawInset() and draw() so that
11762         if we have a change in the row so that the rowbreak has to be redone
11763         we abort drawing as it will be called again.
11764
11765 2002-05-02  Juergen Vigna  <jug@sad.it>
11766
11767         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11768         a change in the maintext also if we're inside an inset.
11769         (Dispatch): set the cursor again after a break line and after the
11770         screen has been updated as it could be we're in a different row.
11771
11772         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11773         to set the cursor behind the pargraph with > size().
11774         (setCursor): check also for the same paragraph when checking where
11775         to put the cursor if we have a NFR inset.
11776
11777         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11778         parts of layout read further up as it still was in the wrong
11779         position.
11780
11781 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * screen.C (drawFromTo): change sine fullRebreak always return
11784         true.
11785
11786         * buffer.C (parseSingleLyXformat2Token): reindent some
11787
11788         * BufferView_pimpl.C (update): change since fullRebreak always
11789         return true.
11790         (Dispatch): git rid of the last hardcoded "Standard"s.
11791
11792 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11793
11794         * text2.[Ch] (fullRebreak): make it return void now that we always
11795         returned true.
11796
11797 2002-04-30  Juergen Vigna  <jug@sad.it>
11798
11799         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11800         ert compatibility check for "latex" layout.
11801
11802 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11803
11804         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11805         minipages: use col% instead of p%, and also use the current font.
11806         (makeLaTeXFile): Fix use babel condition.
11807         (parseSingleLyXformat2Token): Correct font when reading old floats.
11808
11809 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11810
11811         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11812         inserting list of floats.
11813
11814 2002-04-25  Herbert Voss  <voss@lyx.org>
11815
11816         * MenuBackend.C (expand): don't add the graphics extensions to the
11817         export menu
11818
11819 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11822         non-existing layout, do not complain if it was the default layout
11823         of the original class (bug #342)
11824
11825 2002-04-24  Juergen Vigna  <jug@sad.it>
11826
11827         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11828         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11829
11830 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11831
11832         * buffer.C (getBibkeyList): If using \bibliography, return the
11833         option field with the reference itself. Enables us to provide natbib
11834         support when using \bibliography.
11835
11836 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11837
11838         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11839
11840         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11841         natbib is provided by the LaTeX class.
11842
11843 2002-04-23  Juergen Vigna  <jug@sad.it>
11844
11845         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11846         Wakeup functions.
11847
11848         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11849
11850 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11851
11852         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11853
11854         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11855         ensuremath around textordmasculine, textordfeminine and
11856         textdegree.
11857
11858 2002-04-19  Juergen Vigna  <jug@sad.it>
11859
11860         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11861         reinitializing the buffer otherwise row-dimensions may be wrong.
11862         (update): reset also the selection cursors if they do exits otherwise
11863         their x/y positions may be wrong.
11864
11865         * text2.C (cursorDown): don't enter the inset if we came from a row
11866         above and are one row over the inset.
11867
11868         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11869         really leaving an inset.
11870
11871 2002-04-18  Juergen Vigna  <jug@sad.it>
11872
11873         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11874         of the selected paragraph does not have the selected layout also if
11875         the last one had!
11876
11877         * text2.C (setLayout): fixed bug which did not change last selected
11878         paragraph.
11879
11880         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11881         changed the read and substituted \\end_float with \\end_inset!
11882
11883         * BufferView_pimpl.C (cursorPrevious):
11884         (cursorNext): fixed to make it work with rows heigher than the work
11885         area without moving the cursor only the draw of the row.
11886         (workAreaMotionNotify): fix jumping over high rows.
11887
11888 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11891         Ressler.
11892
11893 2002-04-16  Juergen Vigna  <jug@sad.it>
11894
11895         * text2.C (setCursor): set also the irow().
11896         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11897         (cursorUp):
11898         (cursorDown): support for locking an inset if the x_fix value goes
11899         inside it. That way I can transverse insets too with cursor up/down.
11900
11901         * lyxrow.h: added irow helper function same as other (i) functions.
11902
11903         * BufferView_pimpl.C (cursorPrevious):
11904         (cursorNext): fixed for insets!
11905
11906 2002-04-15  Juergen Vigna  <jug@sad.it>
11907
11908         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11909         position otherwise it is wrong in some cases.
11910
11911         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11912         inside the inset before the call.
11913
11914 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11915
11916         * buffer.[Ch] (getBibkeyList): make it const.
11917
11918 2002-04-12  Juergen Vigna  <jug@sad.it>
11919
11920         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11921
11922         * text2.C (getCursorX): new helper function
11923         (setCursor): compute also ix_
11924         (setCursorFromCoordinates): set also ix.
11925
11926         * lyxcursor.h: added ix_ and helper functions.
11927
11928         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11929
11930         * buffer.C (insertStringAsLines): dont break paragraph if the this
11931         paragraph is inside an inset which does not permit it!
11932
11933         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11934         also with no chars on this paragraph.
11935         (paintRowText): only paint stuff if it's inside the workarea!
11936
11937         * paragraph.C (breakParagraph): honor keepempty flag and break the
11938         paragraph always below not above.
11939
11940         * BufferView2.C (unlockInset): update the paragraph layout on inset
11941         unlock as we changed paragraph in such a case.
11942
11943         * lyxfind.C (LyXFind): clear the former selection if not found!
11944
11945         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11946         again called in insertChar().
11947
11948         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11949         an inset which uses the whole row!
11950         (rightMargin): ditto.
11951         (insertChar): force a rebreak if we inserted an inset!
11952
11953 2002-03-28  Herbert Voss  <voss@lyx.org>
11954
11955         * lyxlength.[Ch]: add inBP() to get the right PS-point
11956         units (BigPoint). With inPixels we have rounding errors
11957
11958 2002-04-11  Juergen Vigna  <jug@sad.it>
11959
11960         * text2.C (setCursorFromCoordinates): set iy to the right value.
11961         (setCursor): add check if row->previous exists!
11962
11963         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11964         an old float_type as this was the case in the old code!
11965
11966         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11967
11968         * BufferView2.C (showLockedInsetCursor): use iy
11969         (fitLockedInsetCursor): ditto
11970
11971         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11972         locked insets as there we have the right value now.
11973
11974         * lyxcursor.C: added iy_ variable and iy functions to set to the
11975         baseline of cursor-y of the locked inset.
11976
11977         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11978         (setCursor): fixed for insets which need a full row.
11979
11980         * text.C (rowLastPrintable): don't ignore the last space when before
11981         an inset which needs a full row.
11982         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11983         as last character of a row when before a inset which needs a full row.
11984
11985 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * version.C.in: update date
11988
11989         * text2.C (fullRebreak): try to always return true and see what
11990         happens...
11991
11992 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * MenuBackend.C (expand): use Floating::listName
11995
11996         * FloatList.C (FloatList): add listName argument to the built-in
11997         floats
11998
11999         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12000         text associated with the float.
12001
12002 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12003
12004         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12005
12006 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12007
12008         * ShareContainer.h: add a couple of missing typenames.
12009
12010 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12011
12012         * lyxrc.C (getDescription): use _() correctly rather than N_().
12013
12014 2002-03-28  Herbert Voss  <voss@lyx.org>
12015
12016         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12017         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12018
12019 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12020
12021         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12022         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12023
12024 2002-03-29  Juergen Vigna  <jug@sad.it>
12025
12026         * lyxfunc.C (dispatch): add a missing fitCursor call.
12027
12028         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12029         it was scrolled by a cursor move, so return the bool status.
12030
12031         * BufferView.C (fitCursor): return the bool flag also to the outside
12032         world as this is needed.
12033
12034         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12035
12036         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12037         call the edit() as it is not needed (and wrong) IMO.
12038         (workAreaButtonPress): set the screen_first variable before evt.
12039         unlock the inset as this may change screen_first and then we have
12040         a wrong y position for the click!
12041
12042 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * MenuBackend.C (expand): another translation that I missed
12045
12046 2002-03-28  Juergen Vigna  <jug@sad.it>
12047
12048         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12049
12050         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12051
12052 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12053
12054         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12055
12056         * MenuBackend.C (expand): fix export/view/update when there is no
12057         document open.
12058
12059 2002-03-27  Herbert Voss  <voss@lyx.org>
12060
12061         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12062         and text%
12063
12064 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12065
12066         * bufferview_funcs.C (currentState): only show paragraph number
12067         for is DEVEL_VERSION is set.
12068
12069         * lyxfunc.C (dispatch): put warning in INFO channel
12070
12071         * MenuBackend.C (expand): translate the name of floats
12072
12073         * FloatList.C (FloatList): mark the float names for translation
12074
12075         * converter.C (convert): use LibScriptSearch
12076
12077 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * MenuBackend.C (defaults): fix default menu (we might as well get
12080         rid of it...)
12081
12082 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12085         directory.
12086
12087 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * lyxvc.C: reorder includes.
12090
12091 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12094           properly
12095
12096 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12097
12098         * CutAndPaste.C: change layouts earlier on paste
12099           to avoid crashing when calling getFont()
12100
12101 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12102
12103         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12104         irritating #error.
12105
12106 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * WorkArea.C: remove 'Pending' debug message.
12109
12110         * most files: ws cleanup
12111
12112         * buffer.[Ch]: ws changes
12113
12114         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12115
12116 2002-03-21  Juergen Vigna  <jug@sad.it>
12117
12118         * tabular.C (SetMultiColumn): collapse also the contents of the
12119         cells and set the last border right. Added a Buffer const * param.
12120
12121 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12124         linking or not.
12125
12126 2002-03-19  Juergen Vigna  <jug@sad.it>
12127
12128         * text2.C (clearSelection): reset also xsel_cache.
12129
12130         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12131         where it needs to be called (John tells us to do so too :)
12132         (selectionLost): reset sel_cache.
12133
12134         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12135
12136 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12137
12138         * text2.C (setCursorIntern): put debuging code in INSETS channel
12139
12140 2002-03-19  André Pönitz <poenitz@gmx.net>
12141
12142         * lyxfunc.C: tiny whitespace change
12143
12144 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * ToolbarDefaults.C (init):
12147         * LyXAction.C (init):
12148         * commandtags.h:
12149         * BufferView_pimpl.C (Dispatch):
12150         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12151
12152 2002-03-19  Allan Rae  <rae@lyx.org>
12153
12154         * exporter.C (Export): removeAutoInsets before doing anything else.
12155         While I've just introduced a dependency on BufferView this really is
12156         the best place to clean the buffer otherwise you need to cleanup in
12157         a dozen places before calling export or cleanup in a dozen functions
12158         that export calls.
12159
12160         * converter.C (runLaTeX):
12161         (scanLog): Better handling of removeAutoInsets and screen updates.
12162
12163         * lyxfunc.C (dispatch): small whitespace changes
12164
12165 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12166
12167         * WorkArea.C (C_WorkAreaEvent): return a value.
12168         (event_cb): return 1 if we handled the event, 0 otherwise.
12169
12170         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12171
12172 2002-03-18  Juergen Vigna  <jug@sad.it>
12173
12174         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12175         (GetAdditionalWidth): ditto.
12176         (RightLine): ditto.
12177         (LeftLine): ditto.
12178
12179         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12180         inset if we're there actually (probably not used right now but this
12181         is the direction to go for unifying code).
12182         (paste): disable code to clear the selection.
12183
12184         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12185         inside an InsetText and move the check further up as it is in the
12186         wrong place.
12187
12188         * text2.C (pasteSelection): set a selection over the pasted text.
12189
12190 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12191
12192         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12193         and libgraphics to build on Cygwin.
12194
12195 2002-03-15  Juergen Vigna  <jug@sad.it>
12196
12197         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12198         inserting an Inset into the paragraph. I know this is not the best
12199         fix but we already use current_view in CutAndPaste so we will remove
12200         all of it's using at the same time.
12201
12202         * buffer.C (sgmlError): deactivated function till it is rewritten in
12203         the right mode, now it can create problems.
12204
12205         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12206         before accessing it.
12207
12208 2002-03-14  Juergen Vigna  <jug@sad.it>
12209
12210         * undo_funcs.C (textHandleUndo): do the right thing when updating
12211         the inset after the undo/redo.
12212
12213         * text2.C (setCursor): just some testcode for #44 not ready yet.
12214
12215         * undo_funcs.C (textHandleUndo): set the next() and previous()
12216         pointers of the paragraph to 0 before deleting otherwise we have
12217         problems with the Paragraph::[destructor].
12218
12219         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12220         on a paragraph insertion.
12221
12222 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * buffer.C (asciiParagraph): use += operator for char append to
12225         string.
12226
12227         * paragraph.C (getFontSettings): compare >= not just >
12228         (highestFontInRange): ditto
12229         (setFont): ditto
12230
12231 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * paragraph.C: change several algorithm to be more appripriate for
12234         the problem domain. This is lookip in FontList and in the InsetList.
12235
12236 2002-03-13  André Pönitz <poenitz@gmx.net>
12237
12238         * commandtags.h:
12239         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12240
12241 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * commandtags.h:
12244         * LyXAction.C:
12245         * lyxfunc.C:
12246         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12247
12248 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * Painter.C (display): anon helper function, adjust code for this
12251         change.
12252         (pixmap): remove function.
12253
12254         * Painter.h: remove private display variable.
12255
12256         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12257
12258 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12259
12260         * WorkArea.[Ch]: remove figinset_canvas cruft.
12261
12262 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * lyxtextclass.C (operator): add one item cache optimization.
12265
12266         * bufferlist.h: doxy changes
12267
12268         * bufferlist.C: ws changes
12269
12270         * DepTable.[Ch] (ext_exist): place const in the right spot.
12271
12272         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12273         call resizeInsets.
12274         (workAreaExpose): call resizeInsets when the with BufferView changes.
12275         (Dispatch): adjust for protectedBlank removal
12276         (specialChar): call updateInset if the insert went ok.
12277
12278         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12279         specialChar instead.
12280
12281         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12282
12283         * BufferView.h: doxy change
12284
12285         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12286
12287         * lyxtextclass.C (operator[]): remove non-const version
12288         (defaultLayout): remove non-const version
12289
12290 2002-03-12  Juergen Vigna  <jug@sad.it>
12291
12292         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12293         did resize the LyXText too.
12294
12295         * buffer.C (readLyXformat2): set layout information on newly allocated
12296         paragraphs.
12297
12298         * tabular.C (OldFormatRead): set layout information on the paragraph.
12299
12300 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12301
12302         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12303
12304 2002-03-11  Juergen Vigna  <jug@sad.it>
12305
12306         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12307         plainly wrong.
12308         (resizeCurrentBuffer): force also the insets to resize themselfes.
12309         (moveCursorUpdate): fixed up for InsetText.
12310
12311 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12312
12313         * commandtags.h:
12314         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12315         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12316         value of Dialogs::tooltipsEnabled().
12317         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12318
12319 2002-03-08  Juergen Vigna  <jug@sad.it>
12320
12321         * BufferView_pimpl.C (updateInset): update inset inside inset also
12322         if it isn't inside theLockingInset().
12323
12324 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * buffer.C (asciiParagraph): redo some of the word and line length
12327         handling.
12328         (getLists): look for Caption instead of caption.
12329
12330 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12331
12332         * buffer.C (Buffer): initialize niceFile to true
12333         (makeLaTeXFile):
12334         (makeLinuxDocFile):
12335         (makeDocBookFile): make sure niceFile is true on exit
12336
12337 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12340
12341 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12342
12343         * LyXSendto.C: remove.
12344         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12345         * lyx_gui.C: remove now-redundant comment.
12346         * ColorHandler.h: remove forward declaration of class WorkArea.
12347         * lyxfunc.C: remove #include "WorkArea.h".
12348
12349 2002-03-07  Juergen Vigna  <jug@sad.it>
12350
12351         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12352         got moved away with the DEPM and also set the inset_owner always
12353         right which before could have been omitted.
12354
12355 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12356
12357         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12358         wanted layout is not found.
12359
12360 2002-03-07  Juergen Vigna  <jug@sad.it>
12361
12362         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12363
12364 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12365
12366         * paragraph.C (breakParagraph): use default layout not layout of
12367         prev paragraph.
12368         (Paragraph): clear ParagraphParameters.
12369
12370 2002-03-06  Juergen Vigna  <jug@sad.it>
12371
12372         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12373         otherwise it would not be a valid lenght. Fixed a special case in
12374         the minipage compatibility read where we end the document with a
12375         minipage.
12376
12377         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12378         was set as it could be 0 for InsetTexts first entry.
12379
12380 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * paragraph.C (writeFile): if layout is empty write out
12383         defaultLayoutName().
12384
12385         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12386         file without named layout we set layout to defaultLayoutName().
12387
12388 2002-03-06  Juergen Vigna  <jug@sad.it>
12389
12390         * CutAndPaste.C (copySelection): set layout for new paragraph.
12391
12392         * text.C (prepareToPrint): leave ERT inset left aligned
12393         (leftMargin): don't indent paragraphs inside ERT insets
12394
12395 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * paragraph.C (breakParagraph): dont call clear do the work manually
12398
12399         * paragraph.[Ch] (clear): remove function
12400
12401 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12402
12403         * paragraph.C (Paragraph): dont call clear, the work has already
12404         been done.
12405
12406         * lyxtextclass.C (operator): assert if n is empty
12407
12408         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12409         work manually instead.
12410
12411 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * BufferView_pimpl.C: protect selectionLost against text == 0
12414
12415 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12416
12417         * text.C (breakParagraph): fix a setting layout to '0' problem.
12418
12419 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12420
12421         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12422         final location of file, for the included files, and graphics.
12423
12424 2002-03-05  Juergen Vigna  <jug@sad.it>
12425
12426         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12427
12428 2002-03-04  Juergen Vigna  <jug@sad.it>
12429
12430         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12431
12432         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12433         last column of multicolumn cells.
12434         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12435
12436 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12437
12438         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12439         file if it doesn't go to a temporary file.
12440
12441         * buffer.C (sgmlOpenTag):
12442         (sgmlCloseTag):  remove extra newline insertion.
12443
12444 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * text.C (getRowNearY): comment out debug msg
12447
12448 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * text2.C: first -> first_y
12451
12452         * text.C (getRowNearY): add some attemts at a possible
12453         optimization, not working.
12454
12455         * tabular.[Ch]: add BufferParams to several function so that newly
12456         created paragraph can be initialized to he default layotu for the
12457         buffers textclass.
12458
12459         * tabular-old.C (ReadOld): add buf->params to call of Init
12460
12461         * screen.C: rename text->first to text->first_y
12462
12463         * paragraph.C (breakParagraph): always set layout in the broken
12464         paragraph
12465
12466         * lyxtextclass.C (Read): remove lowercase
12467         (hasLayout): ditto
12468         (operator): ditto
12469         (delete_layout): ditto
12470
12471         * lyxtext.h: rename first -> first_y
12472
12473         * lyxlayout.C (Read): remove lowercase
12474         (name): ditto
12475         (setName): ditto
12476         (obsoleted_by): ditto
12477
12478         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12479
12480         * buffer.C (insertErtContents): add params are to InsetERT
12481         (parseSingleLyXformat2Token): add code to check if a paragraphs
12482         layout really exist.
12483         (parseSingleLyXformat2Token): add params to several inset
12484         constructors
12485         (asciiParagraph): remove lowercase, do the layout comparisons with
12486         no_case
12487
12488         * BufferView_pimpl.C (cursorNext): first -> first_y
12489         (resizeCurrentBuffer): first -> first_y
12490         (updateScrollbar): first -> first_y
12491         (scrollCB): first -> first_y
12492         (workAreaMotionNotify): first -> first_y
12493         (workAreaButtonPress): first -> first_y
12494         (checkInsetHit): first -> first_y
12495         (cursorPrevious): first -> first_y
12496         (cursorNext): first -> first_y
12497         (Dispatch): add buffer_->params to severl inset contructors
12498
12499 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12500
12501         * lyxlayout.C (Read): remove some debug info that I forgot.
12502
12503         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12504         clean up the code slightly.
12505         (makeLinuxDocFile): ditto
12506         (makeDocBookFile): ditto
12507
12508         * text2.C: layout as string
12509
12510         * text.C: layout as string
12511
12512         * paragraph_pimpl.C: layout as string
12513
12514         * paragraph.[Ch]: layout as string
12515
12516         * lyxtextclasslist.[Ch]: layout as string
12517
12518         * lyxtextclass.[Ch]: layout as string
12519
12520         * lyxtext.h: layout as string
12521
12522         * lyxlayout.[Ch]: layout as string
12523
12524         * lyx_cb.C: layout as string
12525
12526         * bufferview_funcs.C: layout as string
12527
12528         * bufferparams.C: layout as string
12529
12530         * buffer.C: layout as string
12531
12532         * LyXView.[Ch]: layout as string
12533
12534         * LaTeXFeatures.[Ch]: layout as string
12535
12536         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12537
12538         * BufferView_pimpl.C: change current_layout to string, remove
12539         lyx::layout_type.
12540         (Dispatch):
12541         (smartQuote):
12542         (insertInset):
12543         (workAreaButtonRelease): layout as string
12544
12545         * BufferView2.C (unlockInset): adjust
12546
12547         * vspace.C (asLatexCommand): use an explict temp variable.
12548
12549 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * Makefile.am: use FRONTEND_*
12552
12553 2002-03-01  Juergen Vigna  <jug@sad.it>
12554
12555         * tabular.C (SetWidthOfMulticolCell): changed to something better
12556         I hope but still work in progress.
12557         (recalculateMulticolumnsOfColumn): renamed function from
12558         recalculateMulticolCells as it is more appropriate now.
12559         (SetWidthOfCell): calculate multicols better.
12560
12561 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12562
12563         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12564
12565         * lyxfunc.C (processKeySym): print sequence also if it is
12566         `deleted' (complete)
12567
12568         * kbsequence.C (print): print sequence even if it is deleted
12569         (complete would be a better word, actually).
12570
12571         * lyxfunc.C (dispatch): print complete options after a prefix key
12572
12573         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12574
12575 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12576
12577         * text2.C (setCharFont): eliminate setCharFont code duplication.
12578
12579 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12580
12581         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12582         LFUN_TABULAR_FEATURE (bug #177)
12583
12584 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12585
12586         * Makefile.am: remove figure.h
12587
12588 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12589
12590         * Bufferview_pimpl.C:
12591         * CutAndPasteC:
12592         * LaTeX.C:
12593         * LyXSendto.C:
12594         * buffer.C:
12595         * bufferlist.C:
12596         * converter.C:
12597         * language.C:
12598         * lyxfunc.C:
12599         * lyxvc.C:
12600         * paragraph.C:
12601         * text.C:
12602         * text2.C: remove #include "lyx_gui_misc.h".
12603
12604         * LaTeX.C: added #include <cstdio>
12605
12606 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12607
12608         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12609         that the paragraph following this one can have.
12610
12611         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12612
12613         * vspace.C (asLatexCommand): fix bogus gcc warning
12614
12615         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12616
12617 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12618
12619         * text2.C (setLayout): get rid of redundant code
12620
12621 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12622
12623         * text2.C (incDepth): make sure depth cannot be increased beyond
12624         reasonable values.
12625
12626 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12627
12628         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12629         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12630
12631         * PainterBase.h (image):
12632         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12633         a LyXImage const *.
12634
12635 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * BufferView.C:
12638         * BufferView.h:
12639         * BufferView_pimpl.C:
12640         * BufferView_pimpl.h:
12641         * LaTeXFeatures.C:
12642         * LyXAction.C:
12643         * LyXView.C:
12644         * Makefile.am:
12645         * UpdateList.h:
12646         * UpdateList.C:
12647         * buffer.C:
12648         * figure.h:
12649         * figureForm.C:
12650         * figureForm.h:
12651         * figure_form.C:
12652         * figure_form.h:
12653         * lyx_cb.C:
12654         * lyx_gui.C:
12655         * lyx_gui_misc.C:
12656         * lyxfunc.C:
12657         * sp_base.h:
12658         * sp_ispell.h:
12659         * sp_pspell.h:
12660         * sp_spell.C: remove fig inset, and the crap house of
12661           cards that follows it
12662
12663 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * Makefile.am:
12666         * lyxserver.C:
12667         * os2_defines.h:
12668         * os2_errortable.h:
12669         * nt_defines.h: move .h into support/
12670
12671         * vms_defines.h: remove
12672
12673         * WorkArea.C: add space in debug output
12674
12675         * text2.C:
12676         * paragraph.C:
12677         * buffer.C: add WITH_WARNINGS
12678
12679         * vc-backend.h:
12680         * vc-backend.C:
12681         * bufferlist.C: s/retrive/retrieve/, add docs
12682
12683         * vspace.h:
12684         * vspace.C:
12685         * kbmap.h:
12686         * lyxlength.h:
12687         * lyxgluelength.h:
12688         * length_common.h:
12689         * chset.h:
12690         * chset.C: add docs
12691
12692         * lyxgui.C: add ID to X error handler
12693
12694         * lyxtestclass.c: fix typo
12695
12696 2002-02-26  Juergen Vigna  <jug@sad.it>
12697
12698         * tabular_funcs.C (write_attribute): changed so that some default
12699         attributes are not written at all.
12700         (getTokenValue): set default values before trying to read the
12701         value so we have the return value always set as default if we don't
12702         find the token we search for.
12703
12704         * tabular.C (Write): write bools as bools not as strings!
12705
12706 2002-02-22  Juergen Vigna  <jug@sad.it>
12707
12708         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12709         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12710
12711         * text.C (leftMargin): don't add an indent for paragraphs inside
12712         tabular cells (fix #208).
12713
12714 2002-02-21  José Matos  <jamatos@fep.up.pt>
12715
12716         * tabular.C (docBook): fixed support for long tables.
12717
12718 2002-02-20  Juergen Vigna  <jug@sad.it>
12719
12720         * text2.C (getFont): get the drawing font of the Inset if this
12721         paragraph is inside an inset (only important for InsetERT for now).
12722
12723         * buffer.C (insertErtContents): use new lanugage params in ERT
12724         constructor.
12725
12726         * CutAndPaste.C: commenting out seemingly uneeded code.
12727
12728 2002-02-19  Allan Rae  <rae@lyx.org>
12729
12730         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12731         Iterators might be simple to use but they also get invalidated.
12732         (removeAutoInsets): renamed saved cursor tracking variables and added
12733         some comments to clarify what everything does.
12734
12735 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12736
12737         * Chktex.C:
12738         * LaTeX.C:
12739         * LyXSendto.C:
12740         * converter.C:
12741         * lyx_cb.C:
12742         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12743         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12744
12745         * lyxfunc.C:
12746         * vc-backend.h: remove #include "support/syscall.h"
12747
12748         * LaTeX.C:
12749         * LyXSendto.C:
12750         * converter.C: rearrange #includes in Lars' approved fashion.
12751
12752         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12753         forward declare class Timeout in the header file.
12754
12755         * XFormsView.C: changes due to the above.
12756
12757         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12758         similar to LyXView.
12759
12760         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12761         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12762
12763 2002-02-18  José Matos  <jamatos@fep.up.pt>
12764
12765         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12766         insets contents.
12767
12768 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12769
12770         * a lot of small ws changes
12771         * add a lot of using std::XXX
12772         * use std construcs some places where approp.
12773         * use some exisint stuff from lyxfunctional where approp.
12774         * Make file changes to use partial linking (lets test this now...)
12775
12776 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12777
12778         * Chktex.C:
12779         * buffer.C:
12780         remove #include "support/syscontr.h" as it's redundant. Always has been.
12781
12782         * Chktex.C:
12783         * LaTeX.C:
12784         * LyXSendto.C:
12785         * converter.C:
12786         * lyx_cb.C:
12787         * vc-backend.C:
12788         change Systemcalls::System to Systemcalls::Wait and
12789         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12790         No change of functionality, just reflects the stripped down Systemcalls
12791         class.
12792
12793 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12794
12795         * debug.[Ch]: add a GRAPHICS type to the enum.
12796
12797 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12798
12799         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12800
12801         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12802         there is an inset.
12803
12804 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12805
12806         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12807         match the changes below.
12808
12809         * text2.C (toggleInset): if there is not editable inset at cursor
12810         position, try to see if cursor is _inside_ a collapsable inset
12811         and close it.
12812
12813 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12816         document menu has a nice checkbox
12817
12818 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12819
12820         * lyxlength.C (asLatexString): change PW to output as percent of
12821         \textwidth.
12822
12823         * lengthcommon.C: change '%' to 't%'
12824
12825         * lyxfunc.C (dispatch): a few comments from Martin
12826
12827 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * WorkArea.h:
12830         * WorkArea.C:
12831         * BufferView_pimpl.h:
12832         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12833           the X selection.
12834
12835 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12836
12837         * vspace.C (inPixels): fix compiler warning
12838
12839 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12840
12841         * lyxfunc.C (getStatus): fix status message for disabled commands.
12842
12843 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12844
12845         * BufferView_pimpl.C: fix crash on close buffer
12846         during selection (#227)
12847
12848 2002-01-27  Herbert Voss  <voss@lyx.org>
12849
12850         * buffer.C: link old Figure to new graphic inset
12851
12852 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12853
12854         * FontLoader.C (getFontinfo): Change the latex font names in order
12855         to match the names of type1inst.
12856
12857 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12860
12861         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12862         (extchanged): ditto
12863         (ext_exist): ditto
12864         (remove_files_with_extension): ditto
12865         (remove_file): ditto
12866         (write): ditto
12867
12868         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12869         document is smaller than the work area height. Do not initialize
12870         static variables to 0.
12871
12872 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12873
12874         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12875
12876         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12877         LFUN_LAYOUT_PARAGRAPHS.
12878
12879         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12880         tabular. It is possible to provide a possible cell, which will
12881         typically be the actcell from the corresponding insettabular
12882
12883         * lyxfunc.C (getStatus): small cleanup; disable
12884         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12885         true
12886
12887 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12888
12889         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12890
12891         * paragraph.C (startTeXParParams):
12892         (endTeXParParams): new methods. The LaTeX code to
12893         start/end paragraph formatting
12894         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12895         empty (fixes bug #200)
12896
12897         * vspace.C (inPixels): adapt to the change below
12898         (inPixels): [later] more cleanups (remove unused variables)
12899
12900         * lyxlength.C (inPixels): change to use a width and a height as
12901         parameter.
12902
12903 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12904
12905         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12906         Replaced with \paperwidth
12907
12908         * DepTable.C (insert): add std:: qualifier
12909
12910 2002-01-18  Allan Rae  <rae@lyx.org>
12911
12912         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12913         updated also?
12914
12915         * text.C (drawInset): Turned out I didn't know enough about how
12916         rebreaking worked.  This fixes most of the redraw problems.  I see
12917         an occasional cursor trail when a line is broken now and the cursor
12918         placement can seem out by a few pixels also after a rebreak.
12919
12920 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12921
12922         * buffer.C (parseSingleLyXformat2Token): update because minipage
12923         width is now a LyXLength
12924
12925         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12926
12927         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12928         math insets
12929
12930 2002-01-17  Juergen Vigna  <jug@sad.it>
12931
12932         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12933
12934         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12935         is set correctly and the inset is updated correctly.
12936
12937 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12938
12939         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12940         the beginning of the loop.
12941
12942 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * lyxrc.C: improve help for use_scalable_fonts
12945
12946 2002-01-17  Allan Rae  <rae@lyx.org>
12947
12948         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12949
12950 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12951
12952         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12953         make sure to set their inset_owner to the right value (bug #171)
12954
12955 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12956
12957         * DepTable.h
12958         * DepTable.C: Implement mtime checking to reduce time spent doing
12959         CRCs.
12960
12961 2002-01-16  Juergen Vigna  <jug@sad.it>
12962
12963         * tabular.C (GetAdditionalHeight): one of error fixed.
12964
12965         * lyxrc.C (output): small fix in writing use_pspell.
12966
12967 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12968
12969         * sp_base.h: #include LString.h
12970
12971 2002-01-16  Allan Rae  <rae@lyx.org>
12972
12973         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12974         Can someone check this please?
12975
12976         * text.C (drawInset): It was possible that p.row would be removed by
12977         breakAgainOneRow upsetting a few other settings.  There may be another
12978         small tweak possible by setting need_break_row = 0 when p.row has been
12979         removed but I don't know enough about the logic here.
12980
12981 2002-01-15  Allan Rae  <rae@lyx.org>
12982
12983         * text.C (insertChar): removed conditional truism.
12984
12985         * BufferView2.C (removeAutoInsets): More tweaks.
12986         cur_par_prev could be a stray pointer.  Check for trailing empty line
12987         in case last line was cur_par and only had an error inset on it.
12988
12989 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12990
12991         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12992         absolute
12993
12994         * vc-backend.C (most methods):
12995         * exporter.C (Export):
12996         * converter.C (convert):
12997         (runLaTeX):
12998         * LyXSendto.C (SendtoApplyCB):
12999         * lyxfunc.C (dispatch):
13000         (menuNew):
13001         (open):
13002         (doImport):
13003         * lyx_cb.C (AutoSave):
13004         (InsertAsciiFile):
13005         * BufferView_pimpl.C (MenuInsertLyXFile):
13006         * buffer.C (runChktex): use Buffer::filePath().
13007
13008         * buffer.h: rename filename to filename_; rename filepath to
13009         filepath_ and make it private
13010         (filePath): new method
13011
13012         * buffer.C (writeFile): use fileName()
13013         (getLatexName):
13014
13015         * lyx_main.C (init): fix starting  of LyX when the binary is a
13016         link from so,ewhere else.
13017
13018         * minibuffer.C: include <cctype> for isprint
13019
13020 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13021
13022         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13023         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13024         name clash with InsetCollapsable's width function.
13025
13026 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13027
13028         * lastfiles.C: include <iterator>
13029
13030 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13031
13032         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13033         std::count.
13034
13035         * buffer.C (makeLaTeXFile): ditto.
13036         Also make loop operation more transparent.
13037
13038 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13039
13040         * ToolbarDefaults.C: remove trailing comma closing namespace.
13041
13042         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13043
13044         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13045         as in WorkArea.
13046
13047         * trans.C (Load): comment out unused variable, allowed.
13048
13049 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13050
13051         * minibuffer.[Ch] (append_char): new method to recieve input from the
13052         drop-down completion browser. If a key was pressed, then recieve this
13053         char and append it to the existing string.
13054         (peek_event): modify the positioning data passed to the completion
13055         browser so that it can be placed above the minibuffer rather than below.
13056 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * LyXAction.C (init): alloe error-next for readonly documents.
13059
13060         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13061         count.
13062
13063 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13064
13065         * bufferlist.C (readFile): create the buffer _after_ checking that
13066         the file exists.
13067
13068         * lyxfunc.C (verboseDispatch): fix handling of arguments
13069
13070         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13071
13072         * lyxrc.C: use string::erase() instead of initializing to "".
13073
13074
13075 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * BufferView_pimpl.h:
13078         * BufferView_pimpl.C:
13079         * WorkArea.h:
13080         * WorkArea.C:
13081         * text2.C: tell X when we have made a selection for copying
13082
13083 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * BufferView_pimpl.C (MenuInsertLyXFile):
13086         * lyxfunc.C (menuNew):
13087         (open):
13088         (doImport): add shortcuts to directory buttons
13089
13090         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13091         open a float)
13092
13093         * lyxfunc.C (setStatusMessage):
13094         (getStatusMessage): new methods
13095         (getStatus):use setStatusMessage instead of setErrorMessage
13096         (dispatch): when function is disabled, set error message here
13097         [instead of in getStatus previously]
13098
13099         * BufferView_pimpl.C (workAreaButtonRelease): update
13100         toolbar/menubar here too.
13101
13102 2002-01-13  Allan Rae  <rae@lyx.org>
13103
13104         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13105         Now seems indestructible.  Remaining task is to audit all other
13106         code affected by deleteEmptyParagraphMechanism.  One small quirk
13107         left is that an empty document with an error in the preamble can
13108         be made to report an error but no error box appears.  I don't know
13109         where it goes.
13110         (removeAutoInsets): Improved comments.
13111
13112 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * Thesaurus.h:
13115         * Thesaurus.C: update for Aiksaurus 0.14
13116
13117 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13118
13119         * text2.C (firstParagraph): removed member function, all uses
13120         replaces with ownerParagraph
13121         (redoParagraphs): here
13122         (updateInset): here
13123         (toggleAppendix): here
13124         * BufferView2.C (insertErrors): here
13125         (setCursorFromRow): here
13126
13127 2002-01-13  Allan Rae  <rae@lyx.org>
13128
13129         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13130         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13131         There is still a way to segfault this although you may have to do this
13132         multiple times: Have an InsetERT with an unknown command in it.
13133         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13134         <down-arrow>, <Enter> again, View->DVI, BANG!
13135
13136         * text2.C (setCursor):
13137         (deleteEmptyParagraphMechanism):
13138         * lyxtext.h (setCursor):
13139         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13140         Making use of the return value may help fix other bugs.
13141
13142 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13143
13144         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13145
13146         * LyXView.C (updateMenubar): call MenuBar::update here
13147         (updateToolbar): but not here
13148         (showState): do not update toolbar/menubar
13149
13150         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13151         should need to care about that.
13152
13153         * lyxfunc.C (verboseDispatch): simplify a bit
13154         (getStatus): have a version which takes a pseudoaction, and
13155         another which requires a (kb_action,string).
13156
13157         * LyXAction.C (retrieveActionArg): make it work also when action
13158         is not a pseudo-action.
13159         (getActionName): simplify a bit
13160         (helpText):
13161
13162 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13163
13164         * lyxfunc.C (verboseDispatch): new families of methods with
13165         several ways to specify a command and a bool to indicate whether
13166         the command name and shortcut should be displayed in minibuffer
13167         (eventually, we could extend that to a finer bitmask like
13168         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13169         (dispatch): the pristine dispatch command which just, well,
13170         dispatchs! Note it still sets its result to minibuffer; I'm not
13171         sure we want that.
13172
13173         * lyxfunc.h: remove setHintMessage
13174
13175         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13176
13177 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13178
13179         * BufferView_pimpl.C (specialChar): delete new inset if we have
13180         not been able to insert it.
13181
13182         * kbmap.C: revert to using int instead of kb_action, since all we
13183         are dealing with is pseudo-actions.
13184
13185         * LyXAction.C (searchActionArg): change to return int instead of
13186         kb_action, since the result is a pseudoaction.
13187
13188 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * buffer.C (insertErtContents): Fix (partially) the font bug.
13191
13192 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13193
13194         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13195         as the other one is broken on my machine!
13196
13197 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13198
13199         * commandtags.h:
13200         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13201
13202 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13203
13204         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13205         reflect their actual use. Provide compatibility code for older lyxrc
13206         files.
13207
13208         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13209         FL_NORMAL_STYLE.
13210         change names of popup font variables in line with the changes to lyxrc.C
13211
13212 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13213
13214         * buffer.C (asciiParagraph): avoid outputing a word twice after
13215         an inset.
13216
13217         * lyxrc.C (getDescription): document that document_path and
13218         template_path can be empty.
13219
13220 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13221
13222         * LaTeXFeatures.C (getMacros):
13223         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13224
13225         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13226
13227         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13228         getPackages.
13229         (getPackages): rename feature "floats" to "float". Use an array to
13230         iterate over 'simple' features (i.e. just a \usepackage). Add
13231         handling of "amsmath" (renamed from "amsstyle").
13232
13233 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13234
13235         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13236         features list.
13237
13238 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13239
13240         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13241         FuncStaus::FuncStatus & FuncStaus::some_method().
13242
13243 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13244
13245         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13246         of the func_satus stuff. Edited and massaged in various ways by
13247         JMarc.
13248
13249         * lyxfunc.C (getStatus): use FuncStatus
13250
13251 2002-01-08  Juergen Vigna  <jug@sad.it>
13252
13253         * text.C (nextBreakPoint): use function Inset::isChar().
13254
13255         * paragraph.C (TeXOnePar): use function
13256         Inset::forceDefaultParagraphs.
13257
13258         * buffer.C (latexParagraphs): use function
13259         Inset::forceDefaultParagraphs.
13260
13261 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13262
13263         * lyx_gui.C (init): set the style of the menu popups to
13264         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13265
13266 2002-01-07  Juergen Vigna  <jug@sad.it>
13267
13268         * text.C (setHeightOfRow): small fix
13269         (prepareToPrint): don't look at alignment if we don't have the place
13270         for doing it.
13271
13272 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13273
13274         * box.C: New file. Move the Box methods and functions out of box.h,
13275         following Lars' suggestion.
13276
13277 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13278
13279         * box.h: #include "support/LOstream.h", needed for inlined function.
13280
13281         * lyxtextclass.C:
13282         * lyxtextclasslist.C: added some using std declarations.
13283
13284 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13285
13286         * box.h: make signed dimensions to allow insets wider than
13287           the screen (bug #162)
13288
13289         * BufferView_pimpl.C: add some insetHit debug
13290
13291 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13292
13293         * vc-backend.C: add FIXME
13294
13295 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * lyxfunc.C (getStatus): enable code for showing math font status
13298         in toolbar/menu.
13299
13300 2002-01-07  Juergen Vigna  <jug@sad.it>
13301
13302         * text.C (nextBreakPoint): removed debug output not needed anymore.
13303
13304 2002-01-06  Juergen Vigna  <jug@sad.it>
13305
13306         * text.C (nextBreakPoint): fixed up this function we had this bug
13307         since ever but now hopefully we break row better.
13308         (insertChar): we have to check if an inset is the next char as it
13309         could now happen that a large inset is causing a break.
13310
13311 2002-01-05  Juergen Vigna  <jug@sad.it>
13312
13313         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13314         if it doesn't like to be drawed.
13315
13316 2002-01-04  Juergen Vigna  <jug@sad.it>
13317
13318         * BufferView2.C (lockInset): forgot to set a cursor.
13319
13320         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13321
13322 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13323
13324         * FormMathsPanel.C:
13325         * FormMathsPanel.h
13326         * MathsSymbols.C:
13327         * form_maths_panel.C:
13328         * form_maths_panel.h:
13329         * form_maths_panel.fd: implemented sub- and super- buttons in math
13330         panel.
13331
13332         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13333         (or ^ space) to be used as in TeX (req'd by André).
13334
13335         * lyxfunc.C: Allow ^ and _ again to be used both as
13336         super/subscript (mathed) and as themselves (in text).
13337
13338 2002-01-03  Allan Rae  <rae@lyx.org>
13339
13340         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13341         "LyX" or the filename of the current buffer if it has one.  This is a
13342         modified form of John Levon's patch.
13343
13344         * XFormsView.C (setWindowTitle): also set icon title.
13345
13346         * LyXView.h (setWindowTitle): signature changed.
13347         * XFormsView.h (setWindowTitle): ditto.
13348
13349 2002-01-02  Juergen Vigna  <jug@sad.it>
13350
13351         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13352
13353 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * screen.C (topCursorVisible): introduce a temp var for
13356         text->cursor.row(), handle the case where this row is null. (kindo
13357         hachish)
13358
13359         * text2.C (setCursor): add a couple of asserts.
13360
13361         * paragraph.h (inset_iterator): add -> operator
13362
13363         * paragraph.[Ch] (autoDeleteInsets): remove member function
13364
13365         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13366         cursor pos correctly and handle inset deletion by itself.
13367         (insertErrors): move iterator declaration out of for expression
13368
13369         * lyxtextclass.C: add <algorithm>
13370
13371         * Makefile.am: added the new files to sources, removed layout.C
13372
13373         * layout.C: removed file
13374
13375         * layout.h: remove LYX_DUMMY_LAYOUT
13376
13377         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13378         layout.
13379
13380         * lyxlayout.[Ch]:
13381         * lyxtextclass.[Ch]:
13382         * lyxtextclasslist.[Ch]: new files
13383
13384         * include order changes to a lot of files, also changes because of
13385         the six new files.
13386
13387 2001-12-27  Juergen Vigna  <jug@sad.it>
13388
13389         * buffer.C (asciiParagraph): more fixes.
13390
13391         * tabular.C (ascii): make ascii export support export of only the
13392         data separated by a column-delimiter.
13393         (ascii): better support for ascii export.
13394
13395         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13396
13397 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13398
13399         * tabular_funcs.C: use a "using std::getline" instead of the
13400         previous fix from Angus (necessary for cxx + lyxstring)
13401
13402 2001-12-24  Juergen Vigna  <jug@sad.it>
13403
13404         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13405
13406         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13407         problems. First check a minipage also if we have some ert-contents
13408         (not only on par->size(), second set the right depth of the paragraph
13409         on the relink to the root-paragraph-list!
13410
13411         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13412         which then did not anymore update the main paragraphs on undo/redo!
13413
13414 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13415
13416         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13417         code. Support all font-changing funcs (even those which are not in
13418         menu currently). Support for reporting font settings in
13419         mathed (disabled until Andre provides a function on mathed's side).
13420
13421         * func_status.h (toggle): small helper function to set toggle
13422         state on a flag.
13423
13424 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * tabular_funcs.C: getline -> std::getline
13427
13428 2001-12-21  Juergen Vigna  <jug@sad.it>
13429
13430         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13431         accessed and could be 0 (I couldn't generate this but it seems
13432         Michael could!).
13433
13434 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13437         * tabular_funcs.h: here and include iosfwd
13438
13439 2001-12-20  Juergen Vigna  <jug@sad.it>
13440
13441         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13442         inside inset but undo_par was.
13443
13444 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13445
13446         * Thesaurus.C: always include <config.h> in sources.
13447
13448         * Painter.h:
13449         * lyxlookup.h:
13450         * box.h: do not include <config.h> in header files
13451
13452         * text.C (paintLastRow): remove unused variable
13453
13454         * text.C (transformChar):
13455         (insertChar):
13456         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13457
13458         * Painter.C (text):
13459         * font.C (width): rewrite to use uppercase() instead of
13460         islower/toupper.
13461
13462         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13463
13464 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13465
13466         * lyxfind.C: clean up of find failure position change
13467
13468 2001-12-20  Juergen Vigna  <jug@sad.it>
13469
13470         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13471
13472         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13473         (TeXRow): added to LaTeX a single tabular row.
13474         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13475         (Latex): simplified and finally good LT-h/f support.
13476         (various_functions): just small adaptions for LT-h/f support.
13477
13478         * tabular_funcs.[hC]: added and moved here all not classfunctions
13479         of LyXTabular.
13480
13481 2001-12-19  Juergen Vigna  <jug@sad.it>
13482
13483         * tabular.[Ch]: better support for longtabular options (not finished
13484         yet!)
13485
13486 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13487
13488         * text.C (paintLastRow): use the label font instead of the font of
13489         the last character to compute the size of *_BOX. This makes more
13490         sense and avoids a crash with empty paragraphs.
13491         Use Painter::rectangle to draw EMPTY_BOX.
13492
13493 2001-12-19  Juergen Vigna  <jug@sad.it>
13494
13495         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13496         the paragraphs if the replaced paragraph is not the first one!
13497         Tried to delete not used paragraphs but does not work yet so for
13498         now it's inside #ifdef's and by default off!
13499
13500 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13501
13502         * MenuBackend.C: include "lyx_main.h" instead of declaring
13503         lastfiles (actually was declared as LastFiles* instead of a
13504         scoped_ptr).
13505
13506 2001-12-17  Juergen Vigna  <jug@sad.it>
13507
13508         * tabular.C (AppendColumn): applied John's fix
13509
13510 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * BufferView.h:
13513         * BufferView.C:
13514         * BufferView_pimpl.h:
13515         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13516
13517         * Makefile.am:
13518         * box.h: new start of class for above
13519
13520         * lyxfunc.C: ignore space-only minibuffer dispatches.
13521           Show the command name when it doesn't exist
13522
13523         * minibuffer.C: don't add empty lines to the history
13524
13525         * minibuffer.C: add a space on dropdown completion
13526
13527 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13528
13529         * text.C: fix line above/below drawing in insets
13530
13531 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13532
13533         * lyxlength.C (LyXLength): Initialize private variables.
13534
13535 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13536
13537         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13538         when inserting error insets.
13539
13540 2001-12-13  Juergen Vigna  <jug@sad.it>
13541
13542         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13543         actually sometimes the before-paragraph.
13544         (setUndo): don't clear the redostack if we're not actually undoing!
13545
13546 2001-12-06  Juergen Vigna  <jug@sad.it>
13547
13548         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13549         and fixed redoing of main paragraph, so we can use it now ;)
13550
13551         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13552
13553 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13554
13555         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13556         Juergen's request
13557
13558 2001-12-13  André Pönitz <poenitz@gmx.net>
13559
13560         * undostack.[Ch]:
13561         * undo_func.C: minor cleanup
13562
13563 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13564
13565         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13566         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13567         font in urw-fonts package which is marked as -urw-fontspecific and
13568         does not work (incidentally, changing the encoding in the
13569         fonts.dir of this package to -adobe-fontspecific fixes the
13570         problem).
13571
13572         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13573         is a crash when undoing first paragraph (Juergen, please take a
13574         look). THis does not mean the undo fix is wrong, just that it
13575         uncovers problems.
13576
13577         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13578         the (Paragraph*) version when needed instead of duplicating the
13579         code.
13580
13581         * text.C (workWidth): use Inset::parOwner to find out where the
13582         inset has been inserted. This is a huge performance gain for large
13583         documents with lots of insets. If Inset::parOwner is not set, fall
13584         back on the brute force method
13585
13586         * paragraph_pimpl.C (insertInset):
13587         * paragraph.C (Paragraph):
13588         (cutIntoMinibuffer): set parOwner of insets when
13589         inserting/removing them
13590
13591         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13592
13593 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13594
13595         * commandtags.h:
13596         * LyXAction.C:
13597         * lyx_main.C:
13598         * lyxfunc.C:
13599         * mathed/formulabase.C:
13600         * mathed/math_cursor.[Ch]:
13601         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13602
13603
13604 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * lyxlength.[Ch] (operator!=): new function
13607
13608 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13609
13610         * text.C (workWidth): use Inset::parOwner to find out where the
13611         inset has been inserted. This is a huge performance gain for large
13612         documents with lots of insets. If Inset::parOwner is not set, fall
13613         back on the brute force method
13614
13615         * paragraph_pimpl.C (insertInset):
13616         * paragraph.C (Paragraph):
13617         (cutIntoMinibuffer): set parOwner of insets when
13618         inserting/removing them
13619
13620         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13621
13622 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13623
13624         * tabular-old.C (getTokenValue):
13625         * tabular.C (getTokenValue):
13626         (write_attribute): new versions for LyXLength
13627         (everywhere): adjust the use of widths
13628
13629         * tabular.h: change the type of widths from string to LyXLength
13630
13631 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13632
13633         * paragraph.C: fixed missing line number count when exporting
13634         Environments to LaTeX file
13635
13636         * buffer.C: added informational message for checking line numbers.
13637
13638 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13639
13640         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13641         paragraph, do the 'double space' part, but not the 'empty
13642         paragraph' one.
13643
13644         * text.C (workWidth): small optimization
13645         (getLengthMarkerHeight): use minimal size for negative lengths.
13646
13647 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13648
13649         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13650
13651         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13652
13653 2001-12-11  André Pönitz <poenitz@gmx.net>
13654
13655         * FontLoader.C:
13656         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13657
13658 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13659
13660         * text2.C: keep selection on a setFont()
13661
13662 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13663
13664         * lyx_cb.C: another bv->text misuse, from insert label
13665
13666 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13667
13668         * kbsequence.h:
13669         * kbsequence.C: re-instate nmodifier mask
13670
13671 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13672
13673         * lyx_main.h: make lyxGUI private.
13674
13675 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13676
13677         * lyxfind.C: place the cursor correctly on failed search
13678
13679 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13680
13681         * text.C (getLengthMarkerHeight): for small heights, the arrows
13682         are not always on top/bottom of the text
13683         (drawLengthMarker): smaller arrows; take the left margin in
13684         account; draw also vfills.
13685         (paintFirstRow):
13686         (paintLastRow): remove special code for vfill and standard spaces,
13687         since everything is handled in drawLengthMarker now.
13688
13689 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * buffer.C (insertErtContents): try to handle font and language
13692         interaction a bit better.g
13693
13694         * ColorHandler.C (updateColor): change the hash to cover the whole
13695         LColor enum, ws cleanup
13696         (getGCLinepars): ditto
13697         (getGCLinepars): only lookup in the linecache once.
13698
13699 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * iterators.C (operator++): Make the iterator more robust
13702
13703         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13704         (John's patch)
13705         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13706
13707 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13708
13709         * lyxtext.h:
13710         * text.C: better added space drawing
13711
13712 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13713
13714         * LyXView.C:
13715         * BufferView2.C: fix layout combo update on inset unlock
13716
13717 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13718
13719         * Makefile.am: don't compile unused files
13720
13721 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13722
13723         * lyxfunc.C:
13724         * commandtags.h:
13725         * LyXAction.C: remove old LFUN_LAYOUTNO
13726
13727 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13728
13729         * paragraph_pimpl.h:
13730         * paragraph_pimpl.C: isTextAt() doesn't need font param
13731
13732 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13733
13734         * lyxlex.h:
13735         * lyxlex.C: little cleanup
13736
13737 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * BufferView_pimpl.C: fix insertAscii for insets
13740
13741 2001-12-05  Juergen Vigna  <jug@sad.it>
13742
13743         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13744         set the right font on the "multi" paragraph paste!
13745
13746 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13747
13748         * trans_decl.h:
13749         * trans_mgr.[Ch]:
13750         * trans.[Ch]:
13751         * lyxgluelength.C:
13752         * lyxlength.C: remove out-commented code.
13753
13754         * BufferView_pimpl:
13755         * CutAndPaste.C:
13756         * DepTable.C:
13757         * buffer.C:
13758         * chset.C:
13759         * lastfiles.C:
13760         * lyxlex.C:
13761         * lyxlex_pimpl.C:
13762         * lyxserver.C:
13763         * screen.C:
13764         * tabular-old.C:
13765         * tabular.C:
13766         * text.C:
13767         * trans_mgr.C:
13768         * vc-backend.C: change "while(" to "while ("
13769
13770         * lyxlength.[Ch]: add zero function to check if length is zero or
13771         not
13772         * lyxgluelength.C: use it
13773
13774 2001-12-05  Allan Rae  <rae@lyx.org>
13775
13776         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13777         Works for 2.95.3, from what I understand of Garst's reports this should
13778         work for other g++ versions.  We're screwed if the abs(int) definition
13779         changed between bugfix releases of gcc.
13780
13781 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * text.C: fix chapter label offset !
13784
13785 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * lyxtext.h:
13788         * text.C: fix hfill at end of line, clean up
13789
13790 2001-12-04  Juergen Vigna  <jug@sad.it>
13791
13792         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13793         that we force an update of the inset and it's owners if neccessary.
13794
13795 2001-12-03  Juergen Vigna  <jug@sad.it>
13796
13797         * text.C (rowLast): simplified code
13798
13799 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13800
13801         * lyxfunc.C: fix show options on timeout
13802
13803 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * screen.C (topCursorVisible): scroll half a page when the cursor
13806         reached top of bottom of screen
13807
13808 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13809
13810         * minibuffer.C: deactivate on loss of focus
13811
13812 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13813
13814         * vspace.[Ch] (operator!=): add operator.
13815
13816 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13817
13818         * BufferView_pimpl.C: refuse to open an inset when
13819         there's a selection.
13820
13821 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * BufferView_pimpl.C: allow to click on RHS of full row insets
13824
13825 2001-11-30  Juergen Vigna  <jug@sad.it>
13826
13827         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13828         insets for undo reasons.
13829
13830 2001-11-28  André Pönitz <poenitz@gmx.net>
13831
13832         * vspace.[Ch]: cosmetical changes
13833
13834 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * LyXAction.h:
13837         * LyXAction.C:
13838         * lyxfunc.h:
13839         * lyxfunc.C:
13840         * kbmap.h:
13841         * kbmap.C:
13842         * lyxrc.C:
13843         * kbsequence.h:
13844         * kbsequence.C: part re-write of old kb code
13845
13846         * Painter.C:
13847         * WorkArea.C: remove Lgb_bug_find_hack
13848
13849 2001-11-30  José Matos <jamatos@fep.up.pt>
13850
13851         * buffer.C (makeDocBookFile): add a comment to point a hack.
13852         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13853         Fixed a double write of labels.
13854
13855 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13856
13857         * LaTeX.C:
13858         * LaTeX.h Fixed bug in LaTeX class where it would not
13859         re-run latex if no depfiles were changed, but the .dvi was removed.
13860
13861 2001-11-28  André Pönitz <poenitz@gmx.net>
13862
13863         * all the files from the change on 2001/11/26:
13864         use lyx::layout_type instead of LyXTextClass::size_type
13865         use lyx::textclass_type instead of LyXTextClassList::size_type
13866
13867 2001-11-29  Juergen Vigna  <jug@sad.it>
13868
13869         * text.C: added support for paragraph::isFreeSpacing()
13870
13871         * buffer.C: same as above
13872
13873         * paragraph.h: inserted isFreeSpacing() function to enable
13874         FreeSpacing inside InsetERT.
13875
13876         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13877         of the paragraph's in the cut/copy buffer to 0!
13878
13879         * text2.C (removeRow): remove the assert as it can!
13880
13881         * lyxtext.h: added helper function firstRow returning firstrow and
13882         made firstrow private again.
13883
13884         * BufferView2.C (lockInset): don't relock if we're already locked!
13885
13886         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13887         the only paragraph.
13888         (removeRow): added Assert::(firstrow)
13889
13890         * debug.C: forgot to add INSETTEXT here.
13891
13892 2001-11-28  Juergen Vigna  <jug@sad.it>
13893
13894         * sp_spell.C (initialize): changed error text to more general
13895         spellchecker command use (not only ispell!)
13896
13897         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13898
13899         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13900
13901 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * vspace.C: initialise lyxgluelength on failure
13904
13905 2001-11-28  Allan Rae  <rae@lyx.org>
13906
13907         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13908         declaration & definition that looks like a function declaration.
13909
13910 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13911
13912         * BufferView2.C (copy):
13913         (copyEnvironment): do not clear the selection when doing a copy.
13914
13915         * text.C (paintFirstRow): compilation fix
13916
13917 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13918
13919         * tabular.C (Latex): correct line count when writing latex.
13920
13921 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13922
13923         * paragraph_pimpl.h:
13924         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13925           bug a bit
13926
13927 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13928
13929         * text.C:
13930         * LColor.h:
13931         * LColor.C: change vfillline->added_space
13932
13933         * text.C: add markers and text for added space
13934
13935         * vspace.C: fix comment
13936
13937 2001-11-28  André Pönitz <poenitz@gmx.net>
13938
13939         * paragraph.C: whitespace changes
13940         * all the other files from the change on 2001/11/26:
13941         change *::pos_type into lyx::pos_type
13942
13943 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13944
13945         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13946         language of the document when inserting error insets.
13947
13948 2001-11-26  André Pönitz <poenitz@gmx.net>
13949
13950         * BufferView_pimpl.[Ch]:
13951         *       CutAndPaste.C:
13952         * buffer.[Ch]:
13953         * lyxcursor.[Ch]:
13954         * lyxfind.C:
13955         * lyxfunc.C:
13956         * lyxrow.[Ch]:
13957         * paragraph.[Ch]:
13958         * paragraph_pimpl.[Ch]:
13959         * sp_spell.C:
13960         * text.C:
13961         * text2.C: reduce header dependencies, introduce type for positions
13962
13963 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13964
13965         * <various>: change to use Alert.h
13966
13967 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13968
13969         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13970         when encountering an unknown token.
13971         (readLyXformat2): Show an error message if there were unknown tokens.
13972
13973 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13974
13975         * BufferView2.C:
13976         * BufferView_pimpl.C:
13977         * buffer.C:
13978         * paragraph.h:
13979         * text.C:
13980         * text2.C: use par->isInset()
13981
13982 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13983
13984         * paragraph_pimpl.h:
13985         * paragraph_pimpl.C: cleanup
13986
13987 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * text2.C (removeRow):
13990         * text.C (setHeightOfRow): remove useless (and costly) call to
13991         getRow.
13992
13993 2001-11-20  Allan Rae  <rae@lyx.org>
13994
13995         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13996         Now need Inset*::checkInsertChar() to return true for appropriate
13997         cases so that the characters in the minibuffer will actually be
13998         inserted.
13999
14000 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * text.C: change the order of the includes.
14003         (workWidth): initialize it at once.
14004         (workWidth): make maxw unsigned
14005         (setHeightOfRow): remove unused variable (inset)
14006         (selectSelectedWord): remove unused variable (inset)
14007         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14008
14009 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14012         server is not running.
14013         (openConnection):
14014         (closeConnection): add debug info when server is disabled.
14015
14016         * ColorHandler.C (getGCForeground): send debug message to GUI
14017         channel.
14018
14019         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14020
14021         * kbmap.C (bind): modify because return conventions of
14022         kb_sequence::parse have changed.
14023
14024         * kbsequence.C (parse): only ignore spaces and not any stupid
14025         control character. This avoids tests like s[i] <= ' ', which are
14026         guaranteed to fail with 8bit characters and signed chars.
14027         Change return code to string::npos when there have been no error
14028         (0 was a bad idea when error is at first character)
14029
14030 2001-11-14  José Matos  <jamatos@fep.up.pt>
14031
14032         * buffer.h:
14033         * buffer.C (simpleDocBookOnePar): removed unused argument.
14034
14035 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14036
14037         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14038         insets which are part of a word. Paragraph::isLetter takes care of
14039         that now. Use Paragraph::isInset to identify insets.
14040         (selectSelectedWord): do not test for hyphenation break.
14041
14042         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14043         that protected spaces are considered as spaces.
14044
14045         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14046         Inset::isLetter.
14047
14048 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * lyxserver.h:
14051         * lyxserver.C: fix it. and small cleanup.
14052
14053 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14054
14055         * BufferView_pimpl.C: use inline helpers
14056
14057         * LaTeXFeatures.h:
14058         * LaTeXFeatures.C: fix typos
14059
14060         * Spacing.h:
14061         * Spacing.C: move spacing_string into class
14062
14063         * ToolbarDefaults.C: move stuff into namespace anon
14064
14065         * layout.h: update enum
14066
14067         * lyxfunc.C: use better debug
14068
14069         * minibuffer.h: fix typo
14070
14071         * debug.h:
14072         * debug.C:
14073         * WorkArea.C: add and use Debug::WORKAREA
14074
14075         * lyxtext.h:
14076         * text.C:
14077         * text2.C: code re-organisation, inline helpers
14078
14079 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14080
14081         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14082         std::vector.empty().
14083
14084 2001-11-09  Allan Rae  <rae@lyx.org>
14085
14086         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14087         '\n's after tables.  Tabular and ERT inset work now makes this no
14088         longer necessary.
14089
14090 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14091
14092         * minibuffer.h:
14093         * minibuffer.C: fix crash, improve drop-down completion
14094
14095 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14096
14097         * lyxserver.h:
14098         * lyxserver.C: invalidate fd's when doing endPipe()
14099
14100 2001-11-08  José Matos  <jamatos@fep.up.pt>
14101
14102         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14103         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14104
14105         * paragraph.h:
14106         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14107
14108 2001-11-07  José Matos  <jamatos@fep.up.pt>
14109
14110         * buffer.h:
14111         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14112         const qualifier.
14113
14114         * buffer.C (sgmlOpenTag):
14115         * buffer.C (sgmlCloseTag): removed debug info.
14116
14117         * buffer.h (sgmlOpenTag):
14118         * buffer.h (sgmlCloseTag): made public.
14119
14120 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * buffer.C (saveParamsAsDefaults):
14123         * lyx_cb.C (MenuLayoutSave): remove
14124
14125         * LyXAction.C (init):
14126         * commandtags.h:
14127         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14128
14129 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14130
14131         * buffer.C (setPaperStuff): removed from here...
14132
14133         * bufferparams.C (setPaperStuff): ... and moved there.
14134
14135 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * minibuffer.h:
14138         * minibuffer.C:
14139         * XFormsView.C: add support for drop-down completion
14140
14141 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14142
14143         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14144         commands.
14145
14146 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14149         disabled.
14150
14151 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * lyx_main.C: change ref to known bugs
14154
14155 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14156
14157         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14158         to work around older babel problems.
14159
14160 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14161
14162         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14163
14164 2001-10-24  Juergen Vigna  <jug@sad.it>
14165
14166         * tabular-old.C (ReadOld): below variable changes reflected.
14167
14168         * tabular.[Ch]: added ltType struct for longtable header/footer
14169         defines and changed all instances where they are used. Added
14170         future support for double top/bottom rows.
14171
14172 2001-10-24  José Matos  <jamatos@fep.up.pt>
14173
14174         * buffer.h (docbookHandleCaption):
14175         * buffer.C (docbookHandleCaption): removed unused function.
14176         (makeDocBookFile): moved docbook supported version to v4.1.
14177
14178 2001-10-24  José Matos  <jamatos@fep.up.pt>
14179
14180         * tabular.h:
14181         * tabular.C (docbookRow): new function to export docbook code of a row.
14182         (DocBook): now honors the longtable flags.
14183
14184 2001-10-23  José Matos  <jamatos@fep.up.pt>
14185
14186         * LaTeXFeatures.h:
14187         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14188         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14189
14190         * buffer.C (makeLinuxDocFile):
14191         (makeDocBookFile): reworked the preamble, more clean, and with
14192         support for lyx defined entities. Changed the document declaration
14193         to be more XML friendly.
14194
14195         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14196         if we need to output XML that should be done with a filter.
14197
14198 2001-10-22  Juergen Vigna  <jug@sad.it>
14199
14200         * sp_pspell.h (class PSpell): add alive function needed in the
14201         controller to see if the spellchecker could be started.
14202
14203 2001-10-22  Juergen Vigna  <jug@sad.it>
14204
14205         * buffer.C (insertStringAsLines): modify the font for inserting
14206         chars in certain conditions by calling checkInsertChar(font).
14207
14208 2001-10-19  Juergen Vigna  <jug@sad.it>
14209
14210         * text.C (workWidth): use getRow instead of wrong algorithm.
14211         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14212
14213 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14214
14215         * lyxserver.h:
14216         * lyxserver.C:
14217         * lyx_main.h:
14218         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14219
14220 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * text.C (workWidth): do not search for the exact row when
14223         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14224         optimization for big documents.
14225
14226 2001-10-18  Juergen Vigna  <jug@sad.it>
14227
14228         * text.C (workWidth): new function with added Inset * parameter.
14229
14230 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14233
14234         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14235         change return type of getColumnNearX.
14236
14237
14238         * text.C (changeRegionCase): use uppercase/lowercase instead of
14239         toupper/tolower.
14240         (leftMargin):
14241         (rightMargin): simplify code by factoring out the uses of
14242         textclasslist.
14243         (labelFill):
14244         (numberOfHfills):
14245         (setHeightOfRow):
14246         (appendParagraph): use Paragraph::size_type
14247
14248 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14249
14250         * vspace.C (asLatexString): add a missing break
14251
14252 2001-10-15  Herbert Voss  <voss@perce.de>
14253
14254         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14255
14256 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14257
14258         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14259         is not available.
14260
14261 2001-10-10  André Pönitz <poenitz@gmx.net>
14262
14263         * lyxfunc.C: removed greek_kb_flag.
14264
14265 2001-10-10  Herbert Voss  <voss@perce.de>
14266
14267         * lyx_main.C: delete global string help_lyxdir.
14268
14269 2001-10-09  Herbert Voss  <voss@perce.de>
14270
14271         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14272
14273         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14274
14275         * lyx_main.C: added global string help_lyxdir.
14276
14277         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14278
14279 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14280
14281         * lyxrc.C (set_font_norm_type): support iso8859-4
14282
14283 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14284
14285         * LaTeX.C (deplog): add another regex for MikTeX
14286
14287 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14288
14289         * lyxrc.C (set_font_norm_type): support iso8859-3
14290
14291 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14294
14295         * LaTeXFeatures.C: remove special case of french and index
14296
14297         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14298         before \begin{document}). This solves several incompatibilities.
14299
14300 2001-10-03  Garst Reese  <reese@isn.net>
14301
14302         * lyx_cb.C: change CheckTex error msg.
14303
14304 2001-10-03  José Matos  <jamatos@fep.up.pt>
14305
14306         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14307
14308 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14309
14310         * .cvsignore: update
14311
14312         * lyx_main.C (commandLineVersionInfo): use new style version info.
14313
14314         * buffer.C (writeFile):
14315         (makeLaTeXFile):
14316         (makeLinuxDocFile):
14317         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14318
14319         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14320
14321         * version.h: update to use stuff in version.C
14322
14323         * version.C.in: new file. Contains version information determined
14324         at compile time. This is a merging of version.h and
14325         version_info.h.in.
14326
14327 2001-10-03  Juergen Vigna  <jug@sad.it>
14328
14329         * BufferView_pimpl.C (update): don't change "dirty" status in
14330         updateInset call.
14331
14332 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14333
14334         * WorkArea.C (c-tor): re-position version string slightly.
14335
14336 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14339         revert to previous code.
14340
14341         WorkArea.[Ch]: (show, destroySplash): methods removed.
14342
14343         WorkArea.C: rework code so that it's an amalgam of the codes before and
14344         after the splash screen was moved to WorkArea.
14345
14346 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14347
14348         * lyxrc.C (read):
14349         * vspace.C (inPixels):
14350         (lyx_advance):
14351         * kbmap.C (bind):
14352         * buffer.C (insertStringAsLines):
14353         (asciiParagraph): fix types to be large enough
14354
14355         * lyxlex_pimpl.h: change member status from short to int
14356
14357         * layout.h: fix type of endlabeltype
14358
14359         * kbmap.C (bind):
14360         * kbsequence.C (parse): change return type to string::size_type
14361
14362         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14363         variable
14364
14365         * Bullet.C (bulletSize):
14366         (bulletEntry): do not use short ints as parameters
14367
14368         * BufferView2.C (insertLyXFile): change a char to an int.
14369
14370         * WorkArea.C (WorkArea): remove unneeded floats in computation
14371
14372 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14373
14374         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14375
14376         * paragraph.C (asString): Do not ignore newline/hfill chars when
14377         copying to the clipboard.
14378
14379 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14380
14381         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14382         after a multi-line inset.
14383
14384 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14385
14386         * paragraph.C (validate): Set NeedLyXFootnoteCode
14387
14388 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14389
14390         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14391         and decrease-error to decrease.
14392
14393 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14394
14395         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14396         it more readable (should be equivalent)
14397
14398 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14399
14400         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14401
14402 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14403
14404         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14405         of a cursor (row, etc.) after a character has been deleted
14406         (deleteEmptyParagraphMechanism): call the method above on _all_
14407         cursors held by the LyXText when a double space has been
14408         detected/deleted.
14409
14410 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14411
14412         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14413         pixmap.
14414         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14415
14416         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14417         background. Use greyOut() and the new show() methods to toggle between
14418         the foreground and background. Add code to remove the splash after
14419         its initial showing.
14420
14421         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14422         (create_forms): no longer call Dialogs::showSplash.
14423
14424 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14425
14426         * .cvsignore: add version_info.h
14427
14428 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * version_info.h.in: new file
14431
14432         * Makefile.am: add version_info.h.in
14433
14434         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14435         version_info.h instead of VERSION_INFO
14436
14437 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14438
14439         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14440         The ERT inset now returns string().
14441
14442 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14443
14444         * lyxtext.h, text.C (selectNextWord): renamed as
14445         selectNextWordToSpellcheck.
14446
14447         * text.C (selectNextWordToSpellcheck): Modified to not select
14448         words inside an ERT inset.
14449
14450 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * lyx_cb.C (MenuLayoutSave): change a bit the question
14453
14454         * sp_base.h: include <sys/types.h>
14455
14456 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14457
14458         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14459
14460 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14461
14462         * several files: fix typos in user-visible strings
14463
14464 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14465
14466         * text2.C (pasteSelection): do not set the selection, since it
14467         will be cleared later. Actually, the intent was to fix the way the
14468         selection was set, but I figured rmoving the code was just as good.
14469
14470 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14471
14472         * FontLoader.C (available): Check if font is available without
14473         loading the font.
14474
14475 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14476
14477         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14478
14479 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14480
14481         * lyxrc.[Ch]: added display_graphics variable and associated code.
14482
14483 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14484
14485         * bufferparams.C (hasClassDefaults): new method. Returns true if
14486         the buffer parameters correspond to known class defaults
14487
14488 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14489
14490         * XFormsView.C (show): set minimum size to the main window.
14491
14492 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14493
14494         * text2.C (copySelection):
14495         (cutSelection):
14496         * lyxfind.C (LyXReplace):
14497         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14498         LyXText::selectionAsString.
14499
14500         * paragraph.C (asString): add "label" argument to the second form
14501
14502         * text2.C (selectionAsString): add "label" argument and pass it to
14503         Paragraph::asString.
14504
14505 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14506
14507         * lyx_main.C (commandLineHelp): remove version information
14508
14509 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14510
14511         * lyx_main.C: add -version commandline option
14512
14513 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * paragraph.h: make the optional constructor arg required instead.
14516         some modifications to other files because of this.
14517
14518         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14519
14520         * lyxserver.C (C_LyXComm_callback): make it static
14521
14522         * lyx_main.C (error_handler): make it static
14523
14524         * lyx_gui.C (LyX_XErrHandler): make it static
14525
14526         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14527
14528         * WorkArea.C: make the extern "C" methods static.
14529
14530         * Makefile.am (lyx_LDADD): simplify
14531
14532 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14533
14534         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14535         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14536
14537         * LyXAction.C (init):
14538         * lyxfunc.C (dispatch): associated code removal.
14539
14540 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14541
14542         * lyxfont.h (isSymbolFont): shut off warning
14543
14544         * text.C (setHeightOfRow):
14545         (getVisibleRow): fix crash with empty paragraphs which have a
14546         bottom line
14547
14548 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14549
14550         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14551         code.
14552
14553 2001-09-04  José Matos  <jamatos@fep.up.pt>
14554         * buffer.C
14555         * buffer.h
14556         * tabular.C (docbook): rename docBook method to docbook.
14557
14558 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14559
14560         * Makefile.am: add dependencies to main.o.
14561
14562 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14563
14564         * FontLoader.C (available): Return false if !lyxrc.use_gui
14565
14566 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14567
14568         * FontInfo.C (query):
14569         * converter.C (view):
14570         * importer.C (Import):
14571         * exporter.C (Export): Can not -> cannot.
14572
14573 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * BufferView_pimpl.C: allow to create index inset even if
14576           string is empty
14577
14578 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14579
14580         * buffer.C (getLists): replace boost::tie code with an explicit pair
14581         as boost::tie can break some compilers.
14582
14583         * iterators.h: Added a std:: declaration to the return type of
14584         ParIterator::size.
14585
14586 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14587
14588         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14589           case.
14590
14591 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14592
14593         * iterators.[Ch]: New files. Provide paragraph iterators.
14594
14595         * buffer.C (changeLanguage): Use paragraph iterators.
14596         (isMultiLingual): ditto
14597
14598         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14599
14600 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14601
14602         * FontLoader.C: Support for cmr font.
14603
14604 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14605
14606         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14607         (available): New method.
14608
14609         * FontInfo.C (getFontname): Use scalable fonts even when
14610         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14611         found.
14612
14613 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14614
14615         * converter.C (Formats::view): reverted! Incorrect fix.
14616
14617 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14618
14619         * converter.C (Formats::view): only output the -paper option
14620         if the dvi viewer is xdvi, thereby fixing bug #233429.
14621
14622 2001-08-23  Herbert Voss  <voss@perce>
14623
14624         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14625
14626 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14627
14628         * Spacing.h (Spacing): Set space to Default on in the default
14629         constructor.
14630
14631 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14632
14633         * vc-backend.h (RCS::versionString): add RCS to version
14634         (CVS::versionString): add CVS to version
14635
14636         * vc-backend.C (scanMaster): do not add CVS to version.
14637         (scanMaster): do not add RCS to version
14638
14639         * lyxvc.C (versionString): new method
14640
14641         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14642
14643 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * Spacing.C (set): initialize fval
14646
14647 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14648
14649         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14650         " or \.
14651
14652 2001-08-16  Juergen Vigna  <jug@sad.it>
14653
14654         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14655
14656 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14657
14658         * BufferView_pimpl.C:
14659         * figureForm.C:
14660         * lyxtext.h:
14661         * text2.C: setParagraph takes linespacing now
14662
14663 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * LyxAction.C: add internal LFUN_CITATION_INSERT
14666
14667         * LyXView.C: actually apply fix
14668
14669         * bufferlist.C: fix open non-existent file
14670
14671         * lyxfind.C: fix indentation
14672
14673         * lyxfunc.C: remove unneeded assert, fix typo
14674
14675 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14676
14677         * MenuBackend.C: use "Floatname List"
14678
14679 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14682         when converting LaTeX layout to insetERT.
14683         Generate a non-collapsed float when reading old float
14684
14685 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14686
14687         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14688         ERT insets.
14689
14690 2001-08-13  Juergen Vigna  <jug@sad.it>
14691
14692         * text.C (fill): return 0 instead of 20 as this seems to be the more
14693         correct value.
14694
14695 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14696
14697         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14698         lyxrc.font_norm.
14699
14700 2001-08-13  Juergen Vigna  <jug@sad.it>
14701
14702         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14703         casesensitive off.
14704         (SearchBackward): comment out the unlocking of the inset_owner this
14705         should not be needed!
14706
14707 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14708
14709         * Many files: Remove inherit_language, and add latex_language
14710
14711         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14712         collapsible insets.
14713
14714 2001-08-10  Juergen Vigna  <jug@sad.it>
14715
14716         * text.C (prepareToPrint): fixed hfill-width in draw!
14717
14718         * BufferView2.C (selectLastWord): save the selection cursor as this
14719         now is cleared in the function LyXText::clearSelection!
14720
14721 2001-08-08  Juergen Vigna  <jug@sad.it>
14722
14723         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14724         BACKSPACE type functions.
14725
14726         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14727         is only cutted from the document but not put in the cut-buffer, where
14728         still the old stuff should be.
14729
14730         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14731
14732         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14733
14734         * tabular.C (SetWidthOfCell): fixed special case where the width
14735         was not updated!
14736         (LeftLine): handle '|' in align_special.
14737         (RightLine): ditto
14738         (LeftAlreadyDrawed): ditto
14739         (SetWidthOfCell): ditto
14740
14741 2001-08-07  Juergen Vigna  <jug@sad.it>
14742
14743         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14744
14745 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14748         * lyxlex.[hC]: ditto
14749
14750 2001-08-06  Juergen Vigna  <jug@sad.it>
14751
14752         * text.C (getVisibleRow): fix up row clearing a bit.
14753
14754 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * minibuffer.C: make sure the X server sees the changes in the input.
14757
14758 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * paragraph.C (getFont): split into...
14761         (getLabelFont): this
14762         (getLayoutFont): and this
14763         * paragraph_pimpl.C (realizeFont): calling this
14764
14765         * text2.C (getFont): split into...
14766         (getLayoutFont): this
14767         (getLabelFont): and this
14768         (realizeFont): all three calling this
14769
14770         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14771         files where used.
14772
14773 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14774
14775         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14776
14777 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14778
14779         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14780         layouts from the Quote inset insertion.
14781
14782 2001-08-03  Juergen Vigna  <jug@sad.it>
14783
14784         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14785
14786         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14787         only if status not is already CHANGED_IN_DRAW (second level).
14788
14789         * text.C (draw): don't set the need_break_row when inside an
14790         InsetText LyXText.
14791
14792 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14793
14794         * buffer.C (parseSingleLyXformat2Token): handle more latex
14795         conversion cases.
14796
14797         * bufferview_funcs.[hC]: change function names to
14798         begin with small char, adjust other files.
14799
14800 2001-08-02  André Pönitz <poenitz@gmx.net>
14801
14802         * lyxfunc.C:
14803         BufferView_pimpl.C: remove broken special code for math-greek
14804
14805 2001-08-02  Juergen Vigna  <jug@sad.it>
14806
14807         * BufferView_pimpl.C (update): redone this function so that we
14808         update the text again if there was a CHANGE_IN_DRAW.
14809
14810         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14811         (drawFromTo): added a new internal bool which is used by draw() and
14812         redraw() function.
14813         (general): some cursor drawing problems fixed.
14814
14815 2001-08-01  Juergen Vigna  <jug@sad.it>
14816
14817         * lyxfind.C (LyXFind): fixed
14818         (SearchForward): ditto
14819         (SearchBackward): ditto
14820
14821         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14822         spurius drawing of the cursor in the main area.
14823
14824         * text2.C (status): small fix which could lead to a segfault!
14825         (clearSelection): remove unneeded BufferView param.
14826
14827 2001-08-01  André Pönitz <poenitz@gmx.net>
14828
14829         * lyxfunc.C: small change due to changed mathed interface
14830
14831 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14834
14835 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * lyxfunc.c: fail gracefully if file doesn't exist
14838
14839         * LyXSendto.C:
14840         * buffer.C:
14841         * lyxfunc.C:
14842         * BufferView_pimpl.C: IsDirWriteable() proto changed
14843
14844         * LyXView.C: fix updateWindowTitle() to store the last title
14845
14846 2001-07-31  Juergen Vigna  <jug@sad.it>
14847
14848         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14849         the font (wrong since using of Paragraph::highestFontInRange).
14850
14851         * paragraph.C (highestFontInRange): added a default_size parameter.
14852
14853         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14854         (setHeightOfRow): reformat
14855
14856 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14857
14858         * converter.[hC] + affected files: move to (inital-char)lowercase
14859         function names.
14860
14861         * ParagraphParameters.C (ParagraphParameters): remove commented code
14862
14863         * PainterBase.[Ch]: remove commented code
14864
14865         * LaTeXFeatures.h: add "bool floats" for float.sty
14866
14867         * LaTeXFeatures.C (LaTeXFeatures): init floats
14868         (require): handle float
14869         (getPackages): do it with floats
14870
14871 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14872
14873         * BufferView_pimpl.C (Dispatch): improve handling of
14874         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14875
14876         * commandtags.h: #include lyxfont.h here temporarily to avoid
14877         keybinding bug.
14878
14879         * bufferlist.h: include LString.h here.
14880
14881 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * text2.C (getStringToIndex): new method.
14884
14885 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14886
14887         * *: Reduced header file dependencies all over.
14888
14889 2001-07-30  Baruch Even  <baruch@lyx.org>
14890
14891         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14892
14893 2001-07-29  Baruch Even  <baruch@lyx.org>
14894
14895         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14896
14897 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14898
14899         * ParameterStruct.h (endif): add a default constructor to make
14900         sure that all variables is initialized.
14901
14902         * ParagraphParameters.C (ParagraphParameters): adjust
14903
14904 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14907         index; also, check that there is something to index, and that it
14908         does not span over several paragraphs.
14909         (doubleClick): use WHOLE_WORD_STRICT for double click.
14910
14911         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14912
14913         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14914         scheme.
14915
14916 2001-07-26  Baruch Even  <baruch@lyx.org>
14917
14918         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14919         an InsetFig figure, backwards compatible reading of old figure code.
14920
14921 2001-07-27  Juergen Vigna  <jug@sad.it>
14922
14923         * text2.C: font.realize function adaption.
14924
14925         * text.C (draw): add a warnings lyxerr text if needed.
14926
14927         * layout.C: font.realize function adaption.
14928
14929         * language.C: add inherit_language and implement it's handlings
14930
14931         * bufferview_funcs.C (StyleReset): remove language parameter from
14932         font creation (should be language_inherit now).
14933
14934         * bufferparams.C (writeFile): handle ignore_language.
14935
14936         * paragraph.C (getFontSettings): the language has to be resolved
14937         otherwise we have problems in LyXFont!
14938
14939         * lyxfont.C (lyxWriteChanges): added document_language parameter
14940         (update): removed unneeded language parameter
14941
14942         * paragraph.C (validate): fixed wrong output of color-package when
14943         using interface colors for certain fonts in certain environments,
14944         which should not seen as that on the final output.
14945
14946 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14947
14948         * BufferView_pimpl.C:
14949         * Thesaurus.h:
14950         * Thesaurus.C:
14951         * Makefile.am:
14952         * commandtags.h:
14953         * LyXAction.C: add thesaurus support
14954
14955         * lyxfind.h:
14956         * lyxfind.C: add "once" parameter, for thesaurus, to not
14957           move to the next match
14958
14959 2001-07-26  Juergen Vigna  <jug@sad.it>
14960
14961         * lyxfont.C (realize): honor ignore_language too!
14962         (resolved): ditto.
14963
14964         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14965
14966         * text.C (draw): one place more for ignore_language to not draw
14967         itself!
14968
14969 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14970
14971         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14972
14973 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14976         the minipage conversion problem.
14977
14978 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14981         insert an inset.
14982
14983 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14984
14985         * BufferView.h: don't forward declare WorkArea
14986
14987         * BufferView.C: don't include WorkArea.h
14988
14989 2001-07-25  André Pönitz <poenitz@gmx.net>
14990
14991         * commandtags.h:
14992         * LyXAction.C:
14993         * lyxfunc.C:  new LFUN 'math-space'
14994
14995         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14996
14997 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * text2.C (toggleInset): call open/close
15000
15001 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * lyxfunc.C (dispatch): add debug for the disabled case
15004
15005         * font.C (buttonText): make similar to rectText
15006
15007         * buffer.C (readInset): comment out parsing of insetlist and
15008         insttheorem
15009
15010         * PainterBase.C (rectText): small correction
15011
15012         * BufferView_pimpl.C: comment out insettheorem and insetlist
15013         * LyXAction.C: ditto
15014         * commandtags.h: ditto
15015
15016 2001-07-24  Juergen Vigna  <jug@sad.it>
15017
15018         * text.C (draw): honor the ignore_language.
15019
15020         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15021
15022 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15023
15024         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15025         char inset.
15026
15027 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15028
15029         * lyxtext.h: remove unused (and unimplemented) methods
15030
15031 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15032
15033         * text.C (getVisibleRow): honor background color
15034
15035         * PainterBase.h:
15036         * Painter.h: remove default color argument for fillRectangle
15037
15038         * text.C (backgroundColor): new method
15039
15040 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15041
15042         * text.C (getVisibleRow): adjust
15043
15044         * font.[Ch] (rectText): new method, metrics
15045         (buttonText): new method, metrics
15046
15047         * PainterBase.[hC]: make rectText and buttonText always draw and take
15048         fewer paramteres.
15049
15050 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15051
15052         * ToolbarDefaults.C (read):
15053         * MenuBackend.C (read): allow escaping in all strings
15054
15055         * BufferView_pimpl.C (insertAndEditInset): new method.
15056         (Dispatch): use insertAndEditInset whenever appropriate.
15057
15058         * BufferView_pimpl.C (insertNote): removed
15059
15060         * BufferView_pimpl.C (smartQuote): new method, moved from
15061         BufferView; if an insetquote cannot be inserted, insert a '"'
15062         character instead.
15063
15064         * BufferView2.C: remove insertCorrectQuote();
15065
15066         * lyxfunc.C (getStatus): Add support for all remaingin
15067         inset-insert lfuns.
15068
15069         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15070
15071         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15072         command (necessary to pass " as parameter of self-insert.
15073
15074         * text.C (selectWordWhenUnderCursor):
15075         (selectWord): add word_location parameter
15076         (selectWordWhenUnderCursor): same + remove special code for word
15077         boundary.
15078         (selectNextWord): use kind() to guess type of insetspecialchar,
15079         not latex().
15080
15081         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15082         (insertErtContents): create ert insets as collapsed.
15083         (readInset): better compatibility code for Info inset.
15084
15085 2001-07-20  Juergen Vigna  <jug@sad.it>
15086
15087         * lyxfunc.C (dispatch): use always LyXFind now!
15088
15089         * text2.C (init): add a reinit flag so that the LyXText can be
15090         reinited instead of deleted and reallocated (used in InsetText).
15091
15092         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15093
15094         * text.C: ditto
15095
15096         * text2.C: ditto
15097
15098 2001-07-18  Juergen Vigna  <jug@sad.it>
15099
15100         * text.C (selectNextWord): handle insets inside inset by calling
15101         always the bv->text functions so that we can go up the_locking_inset!
15102
15103         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15104         in strange locations when inside an inset!
15105
15106         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15107         handling to include insets.
15108
15109         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15110
15111 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15112
15113         * LyXAction.C (init):
15114         * commandtags.h:
15115         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15116         LIGATURE_BREAK, since the name is so stupid.
15117
15118 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15119
15120         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15121         InsetInfos.
15122
15123         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15124
15125         * sp_form.[Ch]: remove.
15126
15127         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15128
15129         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15130         InsetInfo.
15131
15132         * src/buffer.C (readInset): ditto.
15133
15134 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15135
15136         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15137         menuSeparator(), endOfSentenceDot(), ldots() and
15138         hyphenationPoint(), which are therefore removed.
15139         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15140
15141         * LyXAction.C (init):
15142         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15143
15144         * paragraph.C (getWord): removed.
15145
15146         * BufferView_pimpl.C (Dispatch): use last word or selection for
15147         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15148
15149         * lyx_main.C (queryUserLyXDir): do not ask before creating
15150         user_dir, except if it has been named explicitely.
15151
15152 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15153
15154         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15155         a document of zero size.
15156
15157 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15158
15159         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15160         approriately in the c-tor and in require().
15161         (getPackages): output the appropriate LaTeX for natbib support.
15162
15163         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15164         variables "use_natbib" and "use_numerical_citations" when reading the
15165         LyX file.
15166         (readInset): read the various natbib cite commands.
15167         (validate): white-space change.
15168
15169         * bufferparams.[Ch]: new variables "bool use_natbib" and
15170         "bool use_numerical_citations".
15171         (writeFile): output them in the LyX file.
15172
15173 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15174
15175         * lyxfunc.C (getStatus): add support for all the inset insertion
15176         commands.
15177
15178         * text2.C (insertInset):
15179         * paragraph.C (insetAllowed):
15180         * BufferView_pimpl.C (insertInset): update to take in account the
15181         renaming of insertInsetAllowed
15182
15183         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15184
15185         * text2.C (getInset): new method. returns inset at cursor position.
15186
15187         * BufferView_pimpl.C (Dispatch): changes because of this.
15188
15189         * LyXAction.C (init): rename open-stuff to inset-toggle.
15190
15191         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15192
15193         * text2.C (toggleInset): renamed from openStuff; use
15194         Inset::open().
15195
15196 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15197
15198         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15199
15200         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15201
15202 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15203
15204         * buffer.C (readLyXformat2): Add filename to the error dialog
15205
15206 2001-07-18  Juergen Vigna  <jug@sad.it>
15207
15208         * tabular.C (GetCellNumber): put an assert here instead of the check!
15209
15210 2001-07-17  Juergen Vigna  <jug@sad.it>
15211
15212         * BufferView_pimpl.C (toggleSelection): adapted too.
15213
15214         * text.C (selectNextWord): adapted for use with insets.
15215         (selectSelectedWord): ditto
15216
15217 2001-07-17  Juergen Vigna  <jug@sad.it>
15218
15219         * sp_spell.C (PSpell): fix initialitation order.
15220
15221 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * paragraph.C: spacing
15224
15225 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15226
15227         * sp_spell.C: repair language selection for pspell
15228
15229 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15230
15231         * lyxfunc.h: change more methods to begin with lower char.
15232
15233 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15234
15235         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15236         for unknown layouts.
15237
15238 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15239
15240         * buffer.C (readLyXformat2): Generate an error dialog if there are
15241         unknown layouts.
15242
15243 2001-07-16  Juergen Vigna  <jug@sad.it>
15244
15245         * sp_spell.C: always compile ISpell part.
15246
15247         * lyxrc.C: added use_pspell entry and it's handling.
15248
15249 2001-07-13  Juergen Vigna  <jug@sad.it>
15250
15251         * sp_spell.C: removed double includes.
15252
15253 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15254
15255         Consistent use of Lsstream.h:
15256         * Lsstream.h: added using std::stringstream for consistencies sake.
15257
15258         * buffer.C: removed using std::stringstream
15259
15260         * lyxfont.C (stateText):
15261         * paragraph.C (asString):
15262         * text.C (selectNextWord, selectSelectedWord):
15263         * text2.C (setCounter):
15264         * vspace.C (asString, asLatexString):
15265         std::ostringstream -> ostringstream.
15266
15267 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15268
15269         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15270         * commandtags.h: add LFUN_HELP_ABOUTLYX
15271         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15272
15273 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15274
15275         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15276         cursorToggle()
15277         * lyx_gui_misc.C: remove spellchecker
15278         * lyxfunc.C: showSpellchecker
15279         * sp_base.h: added
15280         * sp_ispell.h: added
15281         * sp_pspell.h: added
15282         * sp_spell.C: added
15283         * sp_form.[Ch]: removed
15284         * spellchecker.[Ch]: removed
15285
15286 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15287
15288         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15289         is set.
15290         (simpleTeXSpecialChars): Simply print the input character without
15291         any special translation if pass_thru is set.
15292
15293         * layout.h: Added bool pass_thru to layout class for being able to
15294         implement pass through of a paragraph for Literate Programming.
15295
15296         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15297         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15298         * layout.C (Read): add "passthru" to list of layout tags and add
15299         code to set the pass_thru boolean when it is read.
15300
15301 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15302
15303         * trans_decl.h: remove allowed from KmodInfo
15304
15305         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15306         remove allowed code
15307         (Load): adjust
15308
15309         * paragraph_pimpl.C (erase): use boost::prior
15310
15311         * Painter.C (text): use data() instead of c_str() when length is
15312         also provided.
15313         * WorkArea.C (putClipboard): ditto
15314         * font.h (width): ditto
15315
15316         * BufferView2.C: use it-> instead of (*it). for iterators
15317         * texrow.C: ditto
15318         * paragraph_pimpl.C: ditto
15319         * paragraph.C: ditto
15320         * minibuffer.C: ditto
15321         * language.C: ditto
15322         * kbmap.C: ditto
15323         * encoding.C: ditto
15324         * counters.C: ditto
15325         * converter.C: ditto
15326         * chset.C: ditto
15327         * Variables.C: ditto
15328         * TextCache.C: ditto
15329         * MenuBackend.C: ditto
15330         * LyXAction.C: ditto
15331         * LColor.C: ditto
15332         * FloatList.C: ditto
15333         * DepTable.C: ditto
15334         * ColorHandler.C (LyXColorHandler): ditto
15335
15336 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15337
15338         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15339
15340         * text2.C (openStuff): reintroduce this method (which had been
15341         nuked in NEW_INSETS frenzy).
15342
15343         * lyxfunc.C (Dispatch): when an action has not been handled, use
15344         its name in the error message, not its number.
15345
15346         * paragraph.C (inInset): change method name to begin with lowercase.
15347
15348         * undo_funcs.C:
15349         * text2.C: updates because of this.
15350
15351 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15352
15353         * ToolbarDefaults.C (add): add spaces in error message
15354
15355 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15356
15357         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15358         (readLyXformat2): rename return_par to first_par, use lyxlex's
15359         pushToken and remove the manual push handling.
15360         (parseSingleLyXformat2Token): add another ert comp. variable:
15361         in_tabular, rename return_par to first_par. handle newlines better
15362
15363 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15366
15367 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15368
15369         * text2.C (getParFromID): removed
15370
15371         * buffer.C (getParFromID): new method moved form lyxtext.
15372         * BufferView2.C (insertErrors): adjust
15373         (setCursorFromRow): adjust
15374         * BufferView_pimpl.C (restorePosition): adjust
15375         * lyxfunc.C (Dispatch): adjust
15376         * undo_funcs.C (textUndo): adjust
15377         (textRedo): adjust
15378         (textHandleUndo): adjust
15379         (textHandleUndo): adjust
15380
15381 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15382
15383         * buffer.C: up' the LYX_FORMAT
15384
15385         * lyxfont.h: turn NO_LATEX on as default
15386
15387         * buffer.C (insertErtContents): new methods of tex style compability.
15388         (parseSingleLyXformat2Token): use it several places.
15389         * tabular.C (OldFormatRead): and here
15390
15391 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15392
15393         * text2.C: remove some commented code.
15394         reindent file.
15395
15396         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15397         * trans.C: changes because of the above.
15398
15399 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15400
15401         * text2.C (setCounter): Fix counters bug with bibliography layout.
15402
15403 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15404
15405         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15406         own member functions
15407         (simpleTeXSpecialChars): ditto
15408
15409 2001-07-06  Juergen Vigna  <jug@sad.it>
15410
15411         * a lot of files: changed the access to LyXText::status and the
15412         call of undo-functions.
15413
15414         * undo.[Ch]: added a inset_id to the undo informations.
15415
15416         * undo_funcs.[Ch]: added and moved here all undo functions.
15417
15418         * lyxtext.h: give the status enum a weight, made status_ a private
15419         variable and made accessor functions for it, removed the whole bunch
15420         of undo-functions as they are now in their own file, make some
15421         functions publically available. Added function ownerParagraph with
15422         int parameter.
15423
15424         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15425         made InInset() a const function, added getParFromID() function.
15426
15427         * buffer.[Ch]: added const version for inset_iterator functions,
15428         added getInsetFromID() function.
15429
15430         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15431         changed undo functions for new version.
15432
15433 2001-07-05  Juergen Vigna  <jug@sad.it>
15434
15435         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15436         unknow mechanism does not call the proper constructor but only this
15437         one also if I request the other!?
15438
15439 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15440
15441         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15442
15443         * text2.C (LyXText): use initialization lists.
15444
15445         * lyxtext.h (Selection): initialize set_ and mark_
15446         (init): remove method
15447
15448 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15449
15450         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15451
15452 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15453
15454         * screen.[Ch]: change method names to begin with lowercase
15455
15456         * BufferView_pimpl.C (updateScrollbar): simplify further and
15457         hopefully make it a bit faster.
15458
15459 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15460
15461         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15462         calling directly xforms functions.
15463
15464         * Painter.C (Painter):
15465         * lyx_cb.C (MenuWrite):
15466         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15467         fl_display.
15468
15469         * lyx_gui.C: remove bogus guiruntime extern declaration.
15470
15471 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15472
15473         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15474         in NEW_INSETS
15475         (redoDrawingOfParagraph): ditto
15476         (redoParagraphs): ditto
15477         (cutSelection): don't create a object for CutAndPaste use the
15478         static method directly
15479         (pasteSelection): ditto
15480
15481         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15482         LyXview (+ rename)
15483
15484 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * modifications to some other files because of this.
15487
15488         * Makefile.am (lyx_SOURCES): add XFormsView
15489
15490         * XFormsView.[Ch]: new files
15491
15492         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15493         the main window. Move the gui dependent stuff to XFormsView
15494
15495 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * tabular.C (GetCellInset): update cur_cell also in the row/col
15498         version of this function.
15499
15500         * lyxfunc.C: no need to include figure_form.h here.
15501
15502         * FontLoader.h:
15503         * lyxfunc.h:
15504         * lyxscreen.h:
15505         * text2.C:
15506         * lyxvc.C: no need to include forms.h here.
15507
15508 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15509
15510         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15511
15512         * lyxfunc.C (Dispatch):
15513         * Spacing.C (set):
15514         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15515         constructor argument.
15516
15517 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15518
15519         * paragraph.C (Paragraph): dont't clear, and just set layout.
15520         (makeSameLayout): use params's copy contructor.
15521
15522         * ParagraphParameters.[Ch] (makeSame): delete method
15523
15524 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15525
15526         * Variables.[Ch]: fix indentation, rename set to isSet
15527
15528 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15529
15530         * lyxfunc.C (Dispatch): fix typo
15531
15532 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15535         upper_bound.
15536
15537         * bufferlist.C: include assert.h for emergencyWrite().
15538
15539 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15540
15541         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15542           give up at last (bug #425202) !
15543
15544 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15545
15546         * lyx_gui_misc.C:
15547         * sp_form.h:
15548         * sp_form.C:
15549         * spellchecker.h:
15550         * spellchecker.C: strip spellchecker options and bring up
15551           preferences tab instead
15552
15553 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15556         the istringstream constructor
15557
15558 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15559
15560         * paragraph.C (getLayout): fix return value
15561
15562         * paragraph.h: do not declare getLayout as inline.
15563
15564         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15565
15566 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15567
15568         * lyxcursor.h (operator<): new func
15569         (operator>): new func
15570         (operator>=): new func
15571         (operator<=): new func
15572
15573         * text.C (changeCase): use selection.start and selection.end
15574         (changeRegionCase): require from to be <= to. Require par to be a
15575         valid paragraph.
15576
15577         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15578
15579 2001-06-27  Juergen Vigna  <jug@sad.it>
15580
15581         * text.C (cursorLeftOneWord): changed to return the cursor and added
15582         overlay with BufferView * parameter which calls this one.
15583         (getWord): added
15584         (selectWord): use new getWord function.
15585         (changeCase): renamed from changeWordCase as and extended to work
15586         also on selections.
15587
15588         * lyxtext.h: added enum word_location
15589
15590         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15591         changeCase as this operates now also on selections.
15592
15593 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15594
15595         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15596
15597         * many files: send debug output to Debug::INFO instead of
15598         Debug::ANY.
15599
15600         * converter.C (View):
15601         (Convert):
15602         (Move): send debug output to Debug::FILES instead of console.
15603
15604 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15605
15606         * lyxfunc.C (getStatus): use func_status
15607
15608         * func_status.h: new header, describing the results of
15609         LyXFunc::getStatus;
15610
15611         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15612         LFUN_MATH_HALIGN.
15613
15614 2001-06-25  The LyX Project  <jug@sad.it>
15615
15616         * buffer.C (sgmlOpenTag):
15617         (sgmlCloseTag):
15618         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15619
15620 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15621
15622         * text2.C: remove some dead code
15623
15624         * tabular.C (GetCellInset): store the last cell checked (gotten)
15625
15626         * tabular.h: add the helper for the speedup
15627
15628         * lyxtext.h: remove some dead code
15629
15630 2001-06-26  The LyX Project  <Asger>
15631
15632         * paragraph.C: Change export to LaTeX of alignment to
15633         \begin{center} and family for better roundtrip work with reLyX.
15634
15635         * Tune the math drawing a bit.
15636
15637 2001-06-25  The LyX Project  <Asger>
15638
15639         * LColor.C (LColor): New color for math background. New color
15640         for buttons.
15641
15642 2001-06-25  The LyX Project  <jug@sad.it>
15643
15644         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15645
15646         * lyxfunc.C (Open):
15647         * bufferlist.C (newFile): do not restrict to files ending with
15648         .lyx
15649
15650         * BufferView_pimpl.C (MenuInsertLyXFile):
15651
15652 2001-06-24  The LyX Project  <jug@sad.it>
15653
15654         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15655         of compare_no_case
15656
15657 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15658
15659         * lyxtext.h: rename most methods to begin with a small char.
15660         Lots of changes because of this.
15661
15662         * paragraph.C (Paragraph): do not call fitToSize
15663         (erase): call Pimpl::erase
15664         (insertChar): call Pimpl::insertChar
15665         (insertInset): call Pipl::insertInset
15666         (breakParagraph): do not call fitToSize
15667         (breakParagraphConservative): do not call fitToSize
15668         (fitToSize): remove method
15669
15670         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15671
15672 2001-06-24  The LyX Project  <Asger>
15673
15674         * Fix Qt compilation^2
15675
15676 2001-06-24  The LyX Project  <jug@sad.it>
15677
15678         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15679         depthHook(getDepth()-1).
15680
15681         * paragraph.h:
15682         * ParagraphParameters.h:
15683         * ParameterStruct.h: change type of depth to unsigned int ==
15684         depth_type. Many adaptations to other files before of that.
15685
15686 2001-06-24  The LyX Project  <Asger>
15687
15688         * Fix Qt compilation.
15689
15690 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15691
15692         * paragraph.h: renamed several methods to begin with small letter.
15693         several changes to many parts of the code because of this.
15694
15695 2001-06-23  The LyX Project  <jug@sad.it>
15696
15697         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15698         rewritten to discard all double spaces when KeepEmpty is off
15699         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15700         to only handle newlines but not fiddle with spaces and friends.
15701
15702         * lyxfunc.C (MenuNew): when doing 'new from template', use
15703         template_path as default directory
15704
15705 2001-06-23  The LyX Project  <Asger>
15706
15707         * Clean-up of header file includes all over
15708         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15709
15710 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15711
15712         * paragraph.h: renamed from lyxparagraph.h
15713
15714 2001-06-23  Asger  <lyx@violet.home.sad.it>
15715
15716         * Buffer.h: Removed Buffer::resize
15717         * BufferList.h: Removed BufferList::resize
15718         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15719         the document lazily when we change the width, or the font settings.
15720
15721 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15722
15723         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15724
15725 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15726
15727         * buffer.h: remove out of date comment
15728
15729 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15730
15731         * lyxscreen.h:
15732         * screen.C: fix "theoretical" GC leak
15733
15734 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15735
15736         * LaTeX.C (scanAuxFile):
15737         (deplog): remove trailing \r when reading stream (useful under
15738         win32)
15739
15740 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15741
15742         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15743         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15744         and BufferView::theLockingInset(Inset*), so should use them and not
15745         access bv_->text->the_locking_inset directly.
15746
15747         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15748
15749 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15750
15751         * Makefile.am:
15752         * tex-defs.h: remove old unused file
15753
15754 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15755
15756         * BufferView_pimpl.C: fix typo, remove minibuffer message
15757           when buffer has loaded
15758
15759 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15760
15761         * lyxfunc.C (Dispatch): use stringstream
15762         (MenuNew): use stringstream
15763         (Open): use stringstream
15764
15765         * importer.C (Import): use stringstream
15766
15767         * bufferview_funcs.C (CurrentState): use stringstream
15768
15769         * LaTeX.C (run): use stringstream
15770
15771         * BufferView_pimpl.C (savePosition): use stringstream
15772         (restorePosition): use stringstream
15773         (MenuInsertLyXFile): use stringstream
15774
15775 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15776
15777         * BufferView.C:
15778         * Bullet.C:
15779         * ColorHandler.C:
15780         * FontInfo.C:
15781         * FontLoader.C:
15782         * LColor.C:
15783         * LaTeXFeatures.C:
15784         * Painter.C:
15785         * gettext.C:
15786         * lyx_gui_misc.C:
15787         * lyxserver.C:
15788         * vspace.C: removed // -*- C++ -*- as first line.
15789
15790         * lyxfind.h:
15791         * version.h: added // -*- C++ -*- as first line.
15792
15793 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15794
15795         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15796
15797         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15798         of string
15799
15800 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15801
15802         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15803         of floats.
15804
15805 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15806
15807         * gettext.C: include LString.h even when --disable-nls is on.
15808
15809 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15810
15811         * converter.h (Get): changed argument type from int to
15812         FormatList::size_type to avoid unnecessary conversion.
15813
15814         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15815         before using it.
15816
15817 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15818
15819         * gettext.h: include LString.h even when --disable-nls is on.
15820
15821 2001-06-07  Juergen Vigna  <jug@sad.it>
15822
15823         * text.C (BreakAgain): subst spaces with tabs.
15824
15825         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15826         (resizeInsetsLyXText): set force on resizeLyXText.
15827
15828 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15829
15830         * gettext.h (gettext_init):
15831         (locale_init): use a real definition instead of a macro
15832
15833 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15834
15835         * Bufferview_pimpl.C:
15836         * LColor.h:
15837         * LColor.C: further lcolor tidies
15838
15839 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15840
15841         * BufferView_pimpl.C (updateScrollbar): simplify.
15842
15843         * BufferView2.C: don't include insets/insetinfo.h, change
15844         prototype for insertInset and call the Pimpl version. let
15845         updateInset call Pimpl version.
15846
15847         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15848         gotoInset to BufferView::Pimpl
15849
15850 2001-06-01  Juergen Vigna  <jug@sad.it>
15851
15852         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15853         inside a LockingInset (is the update needed at all?).
15854
15855 2001-05-31  Juergen Vigna  <jug@sad.it>
15856
15857         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15858         here not the old one otherwise how should we compare it afterwards
15859         if it's the same!
15860
15861 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15862
15863         * lyxfont.C:
15864         * tabular.C:
15865         * tabular-old.C:
15866         * FontInfo.C: bring C functions into global namespace when
15867         necessary
15868
15869 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15870
15871         * LString.h: make sure config.h has been loaded before LString.h.
15872
15873         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15874         (one for each char read by EatLine!).
15875
15876         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15877         variables.
15878
15879 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15882         to the same as the par we break from
15883
15884 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15885
15886         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15887
15888         * MenuBackend.C (expand): also create menu entries for wide
15889         versions of the floats.
15890
15891         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15892
15893         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15894
15895         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15896         frontends/Makefile.am
15897
15898         * text2.C: adjust
15899         * text.C: adjust
15900
15901
15902         * tabular.C (getTokenValue): add std::
15903
15904         * tabular-old.C (getTokenValue): add std::
15905         (getTokenValue): ditto
15906         (getTokenValue): ditto
15907
15908         * screen.C (ToggleSelection): adjust
15909
15910         * lyxtext.h: put selection cursors inside a Selection struct.
15911
15912         * lyxfunc.C (moveCursorUpdate): adjust
15913
15914         * lyxfont.C (latexWriteStartChanges): add std::
15915
15916         * lyxfind.C: adjust
15917
15918         * font.h: delete with(char const *, LyXFont const &)
15919
15920         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15921
15922         * FontInfo.C (getFontname): add std::
15923
15924         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15925         (workAreaButtonPress): adjust
15926         (tripleClick): adjust
15927         (update): adjust
15928         (moveCursorUpdate): adjust
15929         (Dispatch): adjust
15930
15931         * BufferView2.C (gotoInset): adjust
15932
15933 2001-05-30  Juergen Vigna  <jug@sad.it>
15934
15935         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15936         to check pspell I add this as default as I now have new pspell
15937         libraries and they seem to use this.
15938
15939 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15940
15941         * text2.C (CutSelection): make the cursor valid before the call to
15942         ClearSelection.
15943
15944 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15945
15946         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15947         relied on 0 terminated strings and other horrors. Bug found due to
15948         the new assert in lyxstring!
15949
15950         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15951         KP_ keys.
15952
15953 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15954
15955         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15956         to latinkeys.bind.
15957
15958         * lyxfunc.C (processKeySym): change method of getting to the
15959         self-insert char.
15960
15961         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15962         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15963         * BufferView_pimpl.[Ch]: here as private methods.
15964
15965 2001-05-28  Juergen Vigna  <jug@sad.it>
15966
15967         * text.C (SetHeightOfRow): added the update() call again as it is
15968         needed to initialize inset dimensions!
15969
15970 2001-05-16  Juergen Vigna  <jug@sad.it>
15971
15972         * text2.C (SetCharFont): Add new function with BufferView * and
15973         bool toggleall parameters for setting insets internal fonts.
15974         (SetFont): Freeze the undo as we may change fonts in Insets and
15975         all this change should be inside only one Undo!
15976
15977         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15978         setting font's in insets as for them we have the SetFont function!
15979
15980 2001-05-15  Juergen Vigna  <jug@sad.it>
15981
15982         * text2.C (ClearSelection): to be sure we REALLY don't have any
15983         selection anymore!
15984
15985         * tabular.C (TeXCellPreamble): fixed the left border problem for
15986         multicolumn cells.
15987
15988 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15989
15990         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15991         dependancy file
15992
15993 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15994
15995         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15996         LFUN_BREAKPARAGRAPH.
15997
15998         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15999         help test to "internal only", similar for LFUN_INSERT_URL
16000
16001         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16002         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16003         auto_region_delete and deadkeys.
16004
16005 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16006
16007         * LColor.h:
16008         * LColor.C: remove some dead entries, tidy a little
16009
16010 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16011
16012         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16013         commented code.
16014         (Dispatch): implement LFUN_ESCAPE
16015
16016         * commandtags.h: add LFUN_ESCAPE
16017
16018         * LyXAction.C (init): add entry for LFUN_ESCAPE
16019
16020         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16021         Remove commented code.
16022         (insertNote): moved here
16023         (open_new_inset): moved here
16024
16025         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16026         BufferView_pimpl
16027
16028 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * kbmap.C (findbinding): clean it up and make it work correctly.
16031
16032         * lyx_main.C (init): do not pass argc and argv as parameters
16033
16034 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16035
16036         * buffer.C: fix path for OS/2 & Win32
16037
16038         * lyx_gui.C:
16039         * lyx_main:
16040         * lyx_main.C: Added os:: class.
16041
16042         * os2_defines.h: update
16043
16044 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16047         better by trying again with reduced state.
16048
16049 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * lyxrc.C (read): print error about invalid key sequence only when
16052         debugging (because not all latinX keysyms are known to some X
16053         servers)
16054
16055         * kbsequence.C (getiso): add a few std:: qualifiers
16056         (getiso): comment out extra return statement.
16057
16058 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16059
16060         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16061         handling.
16062         (Dispatch): enhance the accent inset a bit. (not perfect)
16063
16064 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16065
16066         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16067
16068 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16069
16070         * bufferlist.C (emergencyWrite): fix assert() call
16071
16072 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16073
16074         * text.C (InsertChar): Added trivial patch to only send the "you
16075         can not do multiple spaces this way" message once during a
16076         session.
16077
16078 2001-05-08  Baruch Even  <baruch@lyx.org>
16079
16080         * Makefile.am: Changed order of libraries to get LyX to link properly
16081         with the gnome frontend.
16082
16083 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16084
16085         * LaTeXFeatures.h: add a std:: qualifier
16086
16087 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * paragraph.C (String): use stringstream
16090
16091 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16092
16093         * paragraph.C (writeFile): remove footflag arg
16094
16095         * buffer.C (makeLaTeXFile): use stringstream
16096         (latexParagraphs): remove footnot gurba
16097
16098         * LaTeXFeatures.C (getPackages): use stringstream
16099         (getMacros): likewise
16100         (getTClassPreamble): likewise
16101         (getFloatDefinitions): new method
16102
16103         * paragraph.C (writeFile): reindent
16104         (Erase): reindent
16105
16106         * WorkArea.h: revert the xpos + etc changes.
16107
16108         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16109
16110         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16111
16112         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16113         (pasteSelection): likewise
16114         * text2.C (CreateUndo): likewise
16115
16116 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * minibuffer.C (peek_event): temporarily reduce the functionality
16119         of the minibuffer (to allow args on lfuns)
16120
16121         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16122         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16123
16124         * buffer.C (readInset): add compability reading of old float
16125         lists, add reading of new style float list.
16126         (readInset): avoid reevaluation of inscmd.getCmdName()
16127         (getLists): reindent
16128
16129         * MenuBackend.C (MenuItem): implement parsing of
16130         md_floatlistinsert and md_floatinsert.
16131         (expand::LastFiles): move initalizaton of iterators out of loop,
16132         avoid reevaluation.
16133         (expand::Documents): introduce typdedef vector<string> Strings,
16134         and use it.
16135         (expand::ExportFormats): introduce typedef vector<Format const *>
16136         Formats, and use it.
16137         (expand): implement FloatListInsert and FloatInsert.
16138
16139         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16140         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16141         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16142
16143         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16144         handling.
16145         (Dispatch::LFUN_FLOAT_LIST): implement
16146
16147 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16148
16149         * LaTeX.C (run): Fix problem with --export code.
16150
16151 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16152
16153         * BufferView.[Ch] (workarea): removed.
16154         (getClipboard) new method; wrapper for workarea()->getClipboard()
16155
16156         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16157         bug.
16158
16159         * WorkArea.h (width, height, xpos, ypos): These methods all
16160         returned the dimensions of the work_area sub-area of WorkArea,
16161         resulting in a position error if the WorkArea were resized. Now
16162         return the dimensions of the entire WorkArea.
16163
16164         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16165
16166 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16167
16168         * LaTeX.C (deplog): correct the syntax of regex reg1
16169
16170 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16171
16172         * undo.C: remove !NEW_INSETS cruft
16173
16174 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16175
16176         * text2.C: remove !NEW_INSETS cruft
16177
16178         * text.C: remove !NEW_INSETS cruft
16179
16180         * tabular.C: remove !NEW_INSETS cruft
16181
16182         * spellchecker.C: remove !NEW_INSETS cruft
16183
16184         * lyxtext.h: remove !NEW_INSETS cruft
16185
16186         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16187
16188         * lyxfunc.C: remove !NEW_INSETS cruft
16189
16190         * lyxfind.C: remove !NEW_INSETS cruft
16191
16192         * lyx_cb.C: remove !NEW_INSETS cruft
16193
16194         * figureForm.C: remove  !NEW_INSETS cruft
16195
16196         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16197
16198         * buffer.[Ch]: remove !NEW_INSETS cruft
16199
16200         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16201
16202         * CutAndPaste.C: remove !NEW_INSETS cruft
16203
16204         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16205
16206         * BufferView2.C: remove !NEW_INSETS cruft
16207
16208         * BufferView.h: remove !NEW_INSETS cruft
16209
16210 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16211
16212         * Lsstream.h: include LString.h before the sstream headers to
16213         fix problem with gcc 2.95.3 and lyxstring
16214
16215 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16216
16217         * lyx_main.C: add using directives when needed for C functions
16218         declared in std:: namespace.
16219
16220 2001-04-27  Juergen Vigna  <jug@sad.it>
16221
16222         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16223         (SetHeightOfRow): comment out the update call should not be needed!
16224
16225 2001-04-13  Juergen Vigna  <jug@sad.it>
16226
16227         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16228         (LyXTabular): tried to minimize operator= operations (and realized
16229         hopfully Lars wish).
16230
16231 2001-04-27  Juergen Vigna  <jug@sad.it>
16232
16233         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16234
16235 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16236
16237         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16238
16239         * buffer.C (readInset): hack to make listof algorithm work
16240
16241         * BufferView_pimpl.C: hack to make listof algorithm work
16242
16243 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16244
16245         * LyXAction.C: removed all !NEW_INSETS cruft
16246         (init): moved lfun_item in method
16247
16248         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16249
16250 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16251
16252         * BufferView2.C (theLockingInset): white space.
16253
16254 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16255
16256         * minibuffer.C: include <iostream>
16257
16258         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16259
16260         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16261
16262         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16263
16264         * text.[Ch] (TransposeChars): new method
16265
16266 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16267
16268         * call message directly through LyXView instead of through LyXFunc
16269         * BufferView2.C: adjust
16270         * BufferView_pimpl.C: adjust
16271         * FontLoader.C: adjust
16272         * buffer.C: adjust
16273         * bufferview_funcs.C: adjust
16274         * converter.C: adjust
16275         * figureForm.C: adjust
16276         * importer.C: adjust
16277         * lyx_cb.C: adjust
16278         * lyx_gui_misc.C: adjust
16279         * lyxfunc.C: adjust
16280         * lyxvc.C: adjust
16281         * text2.C: adjust
16282         + more files in subdirs
16283
16284         * lyxparagraph.h (size): move up int file
16285         (GetLayout): ditto
16286
16287         * adjust all uses of Assert to lyx::Assert.
16288
16289         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16290         lyxfunctional in namespace lyx
16291         * layout.C (hasLayout): ditto
16292         (GetLayout): ditto
16293         (GetLayout): ditto
16294         (delete_layout): ditto
16295         (NumberOfClass): ditto
16296         * converter.C (GetFormat): ditto
16297         (GetNumber): ditto
16298         (Add): ditto
16299         (Delete): ditto
16300         (SetViewer): ditto
16301         * bufferlist.C (getFileNames): ditto
16302         (emergencyWriteAll): ditto
16303         (exists): ditto
16304         (getBuffer): ditto
16305         * MenuBackend.C (hasSubmenu): ditto
16306         (hasMenu): ditto
16307         (getMenu): ditto
16308         * BufferView_pimpl.C (getInsetByCode): ditto
16309
16310 2001-04-18  Juergen Vigna  <jug@sad.it>
16311
16312         * vspace.C (asLatexString): fixed the 100% problem.
16313
16314 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16315
16316         * lyxfunc.C (Dispatch):
16317         * minibuffer.C:
16318         * minibuffer.h: add a few std:: qualifiers
16319
16320 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16321
16322         * minibuffer.[Ch]: reimplement so that commands is initiated and
16323         run from lyxfunc, simplified som handling, and made the completion
16324         and history code for complete. wip.
16325
16326         * lyxfunc.C (processKeySym): call message
16327         (miniDispatch): new temporary method
16328         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16329         (LFUN_MESSAGE): implement
16330         (LFUN_MESSAGE_PUSH): implement
16331         (LFUN_MESSAGE_POP): implement
16332         (initMiniBuffer): the initial/defualt minibuffer message.
16333
16334         * lyxfont.[Ch]: inline some more getters
16335
16336         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16337
16338         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16339
16340         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16341         (AutoSave): use LFUN_MESSAGE
16342         (Reconfigure): ditto
16343
16344         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16345
16346         * figureForm.C: use LFUN_MESSAGE
16347
16348         * converter.C (runLaTeX): use LFUN_MESSAGE
16349
16350         * bufferview_funcs.C: use LFUN_MESSAGE
16351         (Melt): ditto
16352         (changeDepth): ditto
16353
16354         * bufferparams.h: use boost::
16355
16356         * bufferlist.h: inherit privately from noncopyable
16357
16358         * bufferlist.C (loadLyXFile): remove some commented code.
16359
16360         * buffer.C (runChktex): use LFUN_MESSAGE
16361
16362         * ShareContainer.h: inherit privately from noncopyable
16363
16364         * ParagraphParameters.[hC] (depth): inline it.
16365
16366         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16367         methods.
16368         (message): new method
16369         (messagePush): ditto
16370         (messagePop): ditto
16371         (show): init minibuffer
16372         (showState): direct call
16373
16374         * LaTeX.[Ch]: inherit privately from noncopyable
16375         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16376         instead of WriteStatus.
16377
16378         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16379
16380         * BufferView_pimpl.C (buffer): don't init minibuffer
16381         (workAreaButtonPress): use LFUN_MESSAGE
16382         (workAreaButtonRelease): ditto
16383         (savePosition): ditto
16384         (restorePosition): ditto
16385         (MenuInsertLyXFile): ditto
16386         (workAreaExpose): don't init minibuffer
16387         (update): remove commented code, simplify
16388
16389         * BufferView2.C (openStuff): use LFUN_MESSAGE
16390         (toggleFloat): ditto
16391         (menuUndo): ditto
16392         (menuRedo): ditto
16393         (copyEnvironment): ditto
16394         (pasteEnvironment): ditto
16395         (copy): ditto
16396         (cut): ditto
16397         (paste): ditto
16398         (gotoInset): ditto
16399         (updateInset): remove some commented code
16400
16401         * lastfiles.h: inherit privately from noncopyable
16402         * layout.h: ditto
16403         * lyx_gui.h: ditto
16404         * lyx_main.h: ditto
16405         * lyxlex.h: ditto
16406         * lyxlex_pimpl.h: ditto
16407
16408         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16409         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16410         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16411
16412         * LyXAction.h: inherit privately from noncopyable, add methods
16413         func_begin, func_end, returning iterators to the func map.
16414
16415         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16416         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16417         (func_begin): new method
16418         (func_end): new method
16419
16420         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16421         and not)
16422         (copySelection): ditto
16423         (pasteSelection): ditto
16424
16425         * BufferView.C: whitespace change
16426         * BufferView.h: inherit privately from noncopyable
16427
16428 2001-04-16  Allan Rae  <rae@lyx.org>
16429
16430         * tabular-old.C (l_getline):
16431         * spellchecker.C (sc_check_word):
16432         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16433         an unrecognised preprocessor directive.  So ensure they're wrapped.
16434
16435 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16436
16437         * src/exporter.C (Export): Give an error message when path to file
16438         contains spaces.
16439
16440 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16441
16442         * LaTeX.C (deplog): Always check that foundfile exists.
16443
16444 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16445
16446         * lyx_main.h:
16447         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16448
16449 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16450
16451         * tabular.[Ch] (getLabelList): implement new method
16452
16453         * minibuffer.h: comment ouf setTiimer
16454
16455         * minibuffer.C (ExecutingCB): constify res
16456         (peek_event): constify s
16457         (Set): constify ntext
16458         (Init): constify nicename
16459
16460         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16461
16462         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16463         (savePosition): use two params to Minibuffer::Set
16464         (restorePosition): ditto
16465
16466 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16467
16468         * lyx_main.C: include language.h
16469
16470         * Makefile.am (lyx_main.o): add language.h
16471
16472 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16473
16474         * exporter.C:
16475         * paragraph.C:
16476         * screen.C:
16477         * tabular.C:
16478         * CutAndPaste.C: include gettext.h
16479
16480         * lyxfont.h: remove old hack with ON and OFF.
16481
16482         * lyxparagraph.h:
16483         * lyxfont.h: do not include language.h...
16484
16485         * BufferView2.C:
16486         * LaTeXFeatures.C:
16487         * Painter.C:
16488         * bufferview_funcs.C:
16489         * font.C:
16490         * lyxfont.C:
16491         * text.C:
16492         * text2.C:
16493         * trans_mgr.C:
16494         * paragraph.C: ... but do it here instead
16495
16496 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16497
16498         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16499
16500         * tabular.C: small reformat
16501
16502         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16503         NEW_INSETS version
16504         (GetChar): ditto
16505         (BreakParagraph): ditto
16506         (SetOnlyLayout): ditto
16507         (SetLayout): ditto
16508
16509         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16510         with one arg less.
16511
16512         * lastfiles.C: removed most using decl, add std:: where needed
16513
16514         * buffer.C: ws changes
16515
16516         * MenuBackend.C (class compare_format): put into anon namespace
16517         (expand): constify label, names, action, action2
16518         (expand):
16519
16520         * text.C (SingleWidth): constify font
16521         (IsBoundary): constify rtl2
16522         (GetVisibleRow): constify ww
16523
16524         * LaTeX.C (deplog): constify logfile
16525
16526         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16527         start_x, end_x
16528         (workAreaExpose): constify widthChange, heightChange
16529
16530         * lyxrow.C (par): moved
16531         (height): moved
16532         (next): moved
16533         * lyxrow.h: as inlines here
16534
16535         * lyxfont.h (shape): moved from lyxfont.C
16536         (emph): moved from lyxfont.C
16537
16538         * lyxfont.C (LyXFont): use initialization list for all
16539         constructors
16540         (shape): move to lyxfont.h as inline
16541         (emph): move to lyxfont.h as inline
16542
16543
16544 2001-04-04  Juergen Vigna  <jug@sad.it>
16545
16546         * vspace.C: had to include stdio.h for use of sscanf
16547
16548 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16549
16550         * BufferView.h:
16551         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16552         independent of xforms.
16553
16554 2001-04-02  Juergen Vigna  <jug@sad.it>
16555
16556         * spellchecker.C: fixed namespace placing!
16557
16558 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16559
16560         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16561         the LyXParagraph * is 0.
16562
16563 2001-03-29  Juergen Vigna  <jug@sad.it>
16564
16565         * vspace.C: added support for %, c%, p%, l%.
16566         (stringFromUnit): added helper function.
16567         (asLatexString): changed to give right results for the %-values.
16568
16569         * buffer.C: convert the widthp in a width%.
16570
16571 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16572
16573         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16574         figureForm.[Ch].
16575
16576         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16577         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16578
16579         * lyx_cb.[Ch]: see above.
16580
16581         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16582         form1.[Ch].
16583
16584         * form1.[Ch]:
16585         * lyx.[Ch]: replaced by figure_form.[Ch].
16586
16587         * lyx_gui.C:
16588         * lyx_gui_misc.C:
16589         * lyxfunc.C: changed headers associated with above changes.
16590
16591 2001-03-27  Juergen Vigna  <jug@sad.it>
16592
16593         * BufferView_pimpl.C: set the temporary cursor right!
16594
16595 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16596
16597         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16598
16599 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16600
16601         * LString.h: removed "using std::getline"!
16602
16603         * BufferView_pimpl.C (Dispatch): changes due to changes in
16604         InsetInclude::Params.
16605
16606         * buffer.C (tag_name): removed redundant break statements as they were
16607         producing lots of warnings with my compiler.
16608
16609 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * LString.h: add "using std::getline" when using the real <string>.
16612
16613 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16614
16615         * buffer.C: removed bitset usage.
16616         PAR_TAG moved to an anonymous name space.
16617         (tag_name): new funtion, also in the anonymous namespace.
16618         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16619         (makeDocBookFile): clean code. Completed transition from string arrays
16620         to string vectors.
16621         (SimpleDocBookOnePar): code clean.
16622
16623 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16624
16625         * tabular.C: add some comments.
16626
16627 2001-03-22  Juergen Vigna  <jug@sad.it>
16628
16629         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16630         compatibility read a bit and fixed bug with minipage in different
16631         depth.
16632
16633 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16634
16635         * buffer.C (pop_tag): removed.
16636         (push_tag): removed.
16637         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16638         array replaced with vector. Added support for CDATA sections.
16639         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16640         at any nest level.
16641         (makeDocBookFile): XML conformant declaration of CDATA section,
16642         fixed bug related to <emphasis> in the first paragraph char.
16643         (sgmlOpenTag): exclude empty tags.
16644         (sgmlCloseTag): ditto.
16645
16646         * buffer.h (pop_tag): removed.
16647         (push_tag): removed.
16648
16649 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16650
16651         * language.h (Languages): added size_type and size().
16652
16653 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16654
16655         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16656         response on compability reading of minipages. One probliem is that
16657         the old usage of minipages was «flertydig»
16658
16659         * several files here and in subdirs: don't use static at file
16660         scope use anon namespaces instead.
16661
16662 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16663
16664         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16665         LaTeX output. This is necessary for Literate document
16666         processing.
16667
16668 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16669
16670         * buffer.C: insert hfill when needed.
16671
16672         * tabular.C (l_getline): use string::erase, small whitespace change.
16673
16674         * BufferView_pimpl.C: try the anon namespace.
16675         * WorkArea.C: ditto
16676
16677 2001-03-16  Juergen Vigna  <jug@sad.it>
16678
16679         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16680         otherwise it won't open options-dialogs.
16681
16682         * buffer.C: honor pextraWidth(p) on converting minipages.
16683
16684         * tabular.C (l_getline): changed the functions to strip trailing \r.
16685
16686 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16687
16688         * BufferView_pimpl.C:
16689         * minibuffer..C: added "using SigC::slot" declaration.
16690
16691 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16692
16693         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16694
16695         * text2.C: ditto
16696
16697         * text.C: ditto
16698
16699         * paragraph.C: ditto
16700
16701         * lyxtext.h: NO_PEXTRA
16702
16703         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16704
16705         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16706         * ParameterStruct.h: ditto
16707         * ParagraphParameters.h: ditto
16708         * lyxparagraph.h: ditto
16709
16710 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16711
16712         * buffer.C: add compability for minipage alignment.
16713         (latexParagraphs): remove unwanted pextra check.
16714
16715         * several files: remove CXX_WORKING_NAMESPACES
16716
16717         * buffer.C (pop_tag): tie is in namespace boost
16718
16719         * BufferView.h: noncopyable is in namespace boost
16720         * lyxlex.h: ditto
16721         * lyx_main.h: ditto
16722         * lyx_gui.h: ditto
16723         * layout.h: ditto
16724         * lastfiles.h: ditto
16725         * bufferlist.h: ditto
16726         * ShareContainer.h: ditto
16727         * LyXView.h: ditto
16728         * LyXAction.h: ditto
16729         * LaTeX.h: ditto
16730
16731 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16732
16733         * Merging changes from BRANCH_MVC back into HEAD.
16734
16735         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16736
16737 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16738
16739         * BufferView_pimpl.C: change from intl.C
16740
16741         * combox.h:
16742         * combox.C:
16743         * Makefile.am: move combox.*
16744
16745         * form1.h:
16746         * form1.C:
16747         * lyx_gui.C:
16748         * intl.h:
16749         * intl.C: remove dialog (covered by prefs)
16750
16751 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16752
16753         * lyxfunc.C (Dispatch): removed redundant break statement.
16754
16755 2001-03-14  Juergen Vigna  <jug@sad.it>
16756
16757         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16758
16759 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16760
16761         * buffer.C: add hack to fix compability reading of minipages.
16762
16763 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16764
16765         * buffer.C (getLists): Cleanup.
16766
16767 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16768
16769         * lyxfont.C (update): don't honor toggleall on font size.
16770
16771 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16772
16773         * bmtable.c:
16774         * bmtable.h:
16775         * Makefile.am: moved to frontends/xforms/
16776
16777         * lyx_gui_misc.C:
16778         * lyxfunc.C:
16779         * BufferView_pimpl.C: changes for moved mathpanel
16780
16781 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16782
16783         * gettext.h: fix gettext_init() in --disable-nls
16784
16785 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16786
16787         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16788
16789 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16790
16791         * lyx.C:
16792         * lyx.h: strip external form
16793
16794 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16795
16796         * BufferView_pimpl.C: add comment, destroySplash()
16797
16798 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16799
16800         * BufferView_pimpl.C:
16801         * LyXAction.C:
16802         * buffer.C:
16803         * commandtags.h:
16804         * lyxfunc.C: use re-worked insetinclude
16805
16806 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16807
16808         * buffer.C: add using std::stringstream.
16809
16810         * lyx_cb.C: readd using std::ios.
16811
16812         * buffer.C: add using std::map.
16813
16814         * BufferView_pimpl.C: add using std::vector.
16815
16816         * ShareContainer.h: add std:: to swap.
16817
16818         * buffer.h: add some typedefs
16819         * buffer.C (getLists): use them
16820         (getLists): renamed from getTocList.
16821         add a counter for the different float types and use it in the
16822         generated string.
16823         (getLists): use the same counter for the NEW_INSETS and the "non"
16824         NEW_INSETS
16825
16826         * lyx_cb.h: remove unused items, includes, using etc.
16827
16828         * ShareContainer.h: remove some commented code, add more comments
16829         and "documentation".
16830
16831 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16832
16833         * buffer.C (getTocList): make the list also when NEW_INSETS is
16834         defined.
16835
16836         * buffer.h: remove TocType
16837
16838         * buffer.C (getTocList): change to return a map<string,
16839         vector<TocItem> >, implement for dynamic number of list.
16840
16841         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16842         * text2.C (PasteSelection): adjust
16843         * CutAndPaste.C (pasteSelection): adjust
16844
16845         * FloatList.C (FloatList): update from the new_insets branch.
16846         * Floating.[Ch]: ditto
16847         * LaTeXFeatures.C: ditto
16848         * buffer.C: ditto
16849         * lyxlex_pimpl.C: ditto
16850
16851         * paragraph.C (Last): remove when NEW_INSETS is defined.
16852
16853         * other file: changes because of the above.
16854
16855 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16856
16857         * lyxparagraph.h: rename next to next_, previous to previous_,
16858         make them private for NEW_INSETS. Rename Next() to next(),
16859         Previous() to previous().
16860
16861         * other files: changes because of the above.
16862
16863 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16864
16865         * BufferView.h:
16866         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16867         problem.
16868
16869 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16870
16871         * main.C (main): pass lyx_localedir to gettext_init().
16872
16873         * gettext.h: remove locale_init and gettext_init macros
16874
16875         * gettext.C (locale_init): new function
16876         (gettext_init): new function
16877
16878         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16879         setlocale().
16880
16881 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16882
16883         * Moved credits to frontends:
16884         * credits.[Ch]: removed
16885         * credits_form.[Ch]: removed
16886         * lyx_gui_misc.C: remove credits stuff
16887         * Makefile.am:
16888
16889 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16890
16891         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16892
16893         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16894         unneeded destructor.
16895
16896         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16897         a standalone pointer again.
16898
16899         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16900
16901 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16902
16903         * Makefile.am:
16904         * filedlg.h:
16905         * filedlg.C:
16906         * LyXAction.C:
16907         * ToolbarDefaults.C:
16908         * bufferlist.C:
16909         * commandtags.h:
16910         * form1.C:
16911         * form1.h:
16912         * lyx_cb.C:
16913         * lyx_cb.h:
16914         * lyxfunc.h:
16915         * lyxfunc.C:
16916         * BufferView_pimpl.C: use new file dialog in GUII
16917
16918         * lyx_cb.h:
16919         * lyx_cb.C: remove LayoutsCB to Toolbar
16920
16921 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16922
16923         * ShareContainer.h (get): add std:: qualifier
16924
16925 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16926
16927         * ShareContainer.h: define a proper ShareContainer::value_type
16928         type (and use typename to please compaq cxx)
16929
16930 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16931
16932         * lyxparagraph.h: move serveral local vars to
16933         ParameterStruct/ParagraphParameters., use ShareContainer in
16934         FontTable., make vars in FontTable private and add getter and
16935         setter.
16936
16937         * paragraph.C: changes because of the above.
16938
16939         * lyxfont.h: remove copy constructor and copy assignment. (the
16940         default ones is ok), move number inside FontBits. move inlines to
16941         lyxfont.C
16942
16943         * lyxfont.C: add number to initializaton of statics, move several
16944         inlines here. constify several local vars. some whitespace
16945         cleanup. Dont hide outerscope variables.
16946
16947         * Spacing.h: add two new constructors to match the set methods.
16948
16949         * ShareContainer.h: new file, will perhaps be moved to support
16950
16951         * ParameterStruct.h: new file
16952
16953         * ParagraphParameters.h: new file
16954
16955         * ParagraphParameters.C: new file
16956
16957         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16958         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16959
16960         * BufferView_pimpl.C: ParagraphParameter changes.
16961         * buffer.C: Likewise.
16962         * bufferview_funcs.C: Likewise.
16963         * text.C: Likewise.
16964         * text2.C: Likewise.
16965
16966 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16967
16968         * lyxfind.C (LyXReplace): do not redefine default argument in
16969         implementation.
16970         (IsStringInText): ditto
16971         (SearchForward): ditto
16972         (SearchBackward): ditto
16973
16974 2001-03-06  Juergen Vigna  <jug@sad.it>
16975
16976         * lyxfind.C (IsStringInText): put parentes around expressions.
16977
16978 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16979
16980         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16981
16982 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16983
16984         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16985
16986         * stl_string_fwd.h: add comment
16987
16988         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16989
16990         * tabular.h:
16991         * tabular.C: remove unused DocBook methods
16992
16993         * intl.C:
16994         * language.C:
16995         * paragraph.C:
16996         * buffer.C:
16997         killed DO_USE_DEFAULT_LANGUAGE
16998
16999 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17000
17001         * lyx_gui.C: do not include language.h.
17002
17003         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17004         arguments in function implementation.
17005
17006 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17007
17008         * BufferView_pimpl.C: add <ctime>
17009
17010 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17011
17012         * BufferView_pimpl.C: add using std::find_if
17013
17014 2001-02-27  José Matos  <jamatos@fep.up.pt>
17015
17016         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17017         by OnlyPath.
17018
17019 2001-02-11  José Matos  <jamatos@fep.up.pt>
17020
17021         * buffer.C (makeDocBookFile): command styles now have a parameter as
17022         "title" by default.
17023
17024 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17025
17026         * layout_forms.[Ch]: removed
17027         * lyx_cb.[Ch]: out character
17028         * lyx_gui.C: out character
17029         * lyx_gui_misc.C: out character
17030         * bufferview_funcs.C: : out character,
17031         added toggleall as parameter in ToggleAndShow
17032
17033 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17034
17035         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17036
17037         * text2.C (SetCurrentFont): Disable number property at boundary.
17038
17039 2001-02-26  Juergen Vigna  <jug@sad.it>
17040
17041         * lyxfunc.C (getStatus): added a string argument override function so
17042         that this is correctly called from LyXFunc::Dispatch if it contains a
17043         do_not_use_argument which is used!
17044         (Dispatch): added check for "custom" export and call appropriate func.
17045
17046 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17047
17048         * lyxrc.C: Add language_command_local, language_use_babel and
17049         language_global_options.
17050
17051         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17052
17053         * buffer.C (makeLaTeXFile): Use language_use_babel and
17054         language_global_options.
17055
17056 2001-02-23  Juergen Vigna  <jug@sad.it>
17057
17058         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17059         which works with LyXText and putted it inside BufferView. Here now we
17060         only call for that part the BufferView::Dispatch() function.
17061
17062         * BufferView.C (Dispatch): added.
17063
17064         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17065         functions which needs to use a LyXText over from LyXFunc.
17066         (MenuInsertLyXFile): added
17067         (getInsetByCode): added
17068         (moveCursorUpdate): added
17069         (static TEXT): added
17070
17071 2001-02-22  Juergen Vigna  <jug@sad.it>
17072
17073         * BufferView_pimpl.C (update): call a status update to see if LyXText
17074         needs it.
17075
17076 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17077
17078         * vc-backend.C (revert): implement for CVS
17079         (getLog): implement for CVS
17080
17081 2001-02-20  Juergen Vigna  <jug@sad.it>
17082
17083         * text2.C (ClearSelection): added BufferView param for inset_owner call
17084
17085         * lyxfunc.C (TEXT): added this function and use it instead of
17086         directly owner->view()-text of getLyXText().
17087
17088 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17089
17090         * src/layout_forms.C: out preamble
17091         * src/layout_forms.h: out preamble
17092         * src/lyx_cb.C: out preamble
17093         * src/lyx_cb.h: out preamble
17094         * src/lyx_gui.C: out preamble
17095         * src/lyx_gui_misc.C: out preamble
17096         * src/lyxfunc.C: connect with guii preamble
17097
17098 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17099
17100         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17101
17102 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17103
17104         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17105         whether to run bibtex.
17106
17107 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17108
17109         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17110
17111 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17112
17113         * Makefile.am (lyx_SOURCES): removed bibforms.h
17114
17115         * vspace.h: doxygen
17116
17117         * text.C (GetVisibleRow): make several local vars const
17118
17119         * tabular.C: small cleanup.
17120
17121         * lyxserver.C (callback): use compare instead of strncmp
17122
17123         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17124         inlines to after class or to paragraph.C
17125
17126         * lyxfont.h: remove friend operator!=
17127
17128         * converter.h: move friend bool operator< to non friend and after
17129         class def.
17130
17131         * combox.h: small cleanup
17132
17133         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17134         to inlines after class def.
17135
17136         * buffer.C (pop_tag): use string operations instead of strcmp
17137
17138         * bmtable.c: doxygen, small cleanup
17139
17140         * LaTeX.h: remove friend operator==
17141
17142 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17143
17144         * screen.C:
17145         * lyxrc.[Ch]:
17146         * lyxfunc.C:
17147         * lyxfont.[Ch]:
17148         * lyx_cb.C:
17149         * intl.[Ch]:
17150         * commandtags.h:
17151         * buffer.C:
17152         * WorkArea.[Ch]:
17153         * LyXAction.C:
17154         * BufferView_pimpl.C:
17155         * BufferView.[Ch]: remove cruft
17156
17157 2001-02-14  Juergen Vigna  <jug@sad.it>
17158
17159         * lyxfunc.C: removed #if 0 unused code
17160
17161         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17162
17163         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17164
17165         * text2.C (SetSelection): added a BufferView * parameter
17166
17167 2001-02-13  Juergen Vigna  <jug@sad.it>
17168
17169         * lyxfunc.C (Dispatch): fixed protected blank problem.
17170         * BufferView2.C (protectedBlank): added LyxText * parameter.
17171
17172         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17173         (AppendColumn): same as above for column_info.
17174
17175         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17176         (moveCursorUpdate): use a LyXText param for support of InsetText.
17177
17178         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17179         (tripleClick): ditto
17180
17181         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17182
17183         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17184
17185         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17186
17187         * text2.C (SetSelection): set correct update status if inset_owner
17188         (ToggleFree): ditto
17189
17190 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17191
17192         * tabular.C: remove some commented code.
17193
17194 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17195
17196         * BufferView_pimpl.C: call hideSplash()
17197
17198         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17199
17200         * include_form.h:
17201         * bibforms.h: remove
17202
17203         * lyxfunc.C:
17204         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17205           add LFUN_CHILD_CREATE
17206
17207         * counters.h: fix tiny typo
17208
17209         * lyx_cb.C:
17210         * lyx.h:
17211         * lyx_gui.C:
17212         * lyx.C: move splash to frontends/xforms/
17213
17214         * lyx_gui_misc.C: move Include and Bibform to frontends
17215
17216         * lyxvc.h: clarify comment
17217
17218         * vspace.C: tiny housekeeping
17219
17220 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17221
17222         * text.C (PrepareToPrint): RTL Fix.
17223
17224         * paragraph.C (GetUChar): New method.
17225         (String):  Use GetUChar.
17226
17227         * buffer.C (asciiParagraph): Use GetUChar.
17228
17229 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17230
17231         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17232
17233 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17234
17235         * buffer.h:
17236         * buffer.C: rename to getLogName(), handle
17237           build log / latex log nicely
17238
17239 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17240
17241         * MenuBackend.C:
17242         * MenuBackend.h: remove support for reference menuitem type.
17243
17244 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17245
17246         * BufferView_pimpl.C: housekeeping
17247         * BufferView_pimpl.h:
17248         * LyXView.h:
17249         * Makefile.am:
17250         * Timeout.C:
17251         * Timeout.h:
17252         * minibuffer.h: move Timeout GUI-I
17253
17254 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17255
17256         * lyxrc.C (read): Update converters data-structures.
17257
17258 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17259
17260         * LaTeX.h (operator!=): add operator != for Aux_Info
17261
17262 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17263
17264         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17265
17266         * LaTeXLog.C: deleted, useful code moved to Buffer
17267
17268         * buffer.h:
17269         * buffer.C: new function getLatexLogName()
17270
17271         * lyx_gui_misc.C:
17272         * lyx_gui.C:
17273         * lyxvc.C:
17274         * lyxvc.h:
17275         * lyxfunc.C: use frontends for LaTeX and VC logs
17276
17277 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17278
17279         * LaTeX.h: yet another std:: that Allan forgot.
17280
17281         * Variables.C (set): renamed from isset(), because this clashes
17282         with some HP-UX macros (grr).
17283
17284 2001-02-06  Allan Rae  <rae@lyx.org>
17285
17286         * LaTeX.h: Another bug fix.  Missing std:: this time.
17287
17288 2001-02-04  Allan Rae  <rae@lyx.org>
17289
17290         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17291         floats problem. I've left it commented out because it's not quite
17292         correct.  It should also test that the current object is a table or
17293         figure inset.  But I haven't gotten around to figuring out how to do
17294         that.  I *think* it'll be something like: "table" == inset.type()
17295
17296         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17297         bool.
17298
17299 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17300
17301         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17302         all the citation/databases/styles in the auxilary file.
17303         (run): Rerun latex if there was a babel language error.
17304
17305 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17306
17307         * text.C (Backspace): Preserve the font when changing newline char
17308         with a space.
17309         (BreakParagraph): If the cursor is before a space, delete the space.
17310
17311         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17312
17313 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17314
17315         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17316         new argument (code).
17317         (ChangeCitationsIfUnique): New method.
17318
17319         * paragraph.C (GetPositionOfInset): Handle bibkey.
17320
17321 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17322
17323         * BufferView_pimpl.h: change type of Position::par_pos to
17324         LyXParagraph::size_type.
17325
17326 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17327
17328         * BufferView_pimpl.C (savePosition, restorePosition): Write
17329         messages to minibuffer.
17330
17331 2001-01-28  José Matos  <jamatos@fep.up.pt>
17332
17333         * buffer.C (makeDocBookFile): adds support for document language.
17334         A silly restriction on the name of LatexCommand types where removed.
17335         Added support for CDATA sections, allows to chars unescaped, used
17336         among others in code, to avoid escape < and >.
17337
17338 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17339
17340         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17341         saved positions instrad of a stack. Furthermore, a position is
17342         stored using paragraph id/paragraph position.
17343
17344         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17345         Remove LFUN_REF_BACK.
17346
17347 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17348
17349         * converter.C (dvipdfm_options): New method.
17350
17351 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17352
17353         * vspace.C (isValidLength): Fix for empty input string.
17354
17355 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17356
17357         * LyXAction.C (init): change description of LFUN_FIGURE to
17358         "Insert Graphics"
17359
17360 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17361
17362         * LaTeX.C: add using directive
17363
17364 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17365
17366         * MenuBackend.C (expand): Fix the sorting of the formats.
17367
17368 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17369
17370         * lyx_main.C: tiny error message fix
17371
17372 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17373
17374         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17375         calling fl_initialize(). This fixes the problem with ',' as
17376         decimal separator in text files.
17377
17378 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17379
17380         * trans.C (process): Fix the keymap bug.
17381
17382 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17383
17384         * LaTeX.C (scanAuxFiles): New method. Provides support for
17385         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17386         (scanLogFile) Scan for "run BibTeX" messages.
17387
17388         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17389         OT1 font encoding. Also, load the aecompl package if the ae
17390         package is loaded.
17391
17392         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17393
17394 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17395
17396         * texrow.C (increasePos): turn two error messages into debug
17397         messages.
17398
17399 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17400
17401         * LaTeX.C (scanAux): Handle the \@input macro.
17402         (runBibTeX): Use scanAux().
17403
17404         * language.C (latex_options_): New field.
17405
17406         * LaTeXFeatures.C (getMacros): Add language macros.
17407
17408         * buffer.C (makeLaTeXFile): Small fix.
17409
17410 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17411
17412         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17413
17414         * text2.C: add a using directive.
17415
17416 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17417
17418         * BufferView2.C:
17419         * lyx_gui_misc.h:
17420         * lyxfr1.C:
17421         * lyxfunc.C: kill LyXBell.
17422
17423 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17424
17425         * text.C (IsBoundary): Remove the error message
17426
17427         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17428
17429         * lyxrc.C (setDefaults): Correct initialization value for
17430         font_norm_type.
17431
17432 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17433
17434         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17435         gotoError().
17436
17437         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17438         and GotoNextNote().
17439
17440         * src/LyXAction.C: Added reference-next.
17441
17442         * text.C (InsertChar): Use contains instead of strchr.
17443
17444         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17445
17446 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17447
17448         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17449         alignment commands (when needed).
17450
17451         * text.C (InsertChar): Add ':' to number separator chars.