]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
unify toclevel for articles and reports/books; proper numbering of Paragraph/SubParag...
[lyx.git] / src / ChangeLog
1 2005-04-17  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.C (makeLaTeXFile): replace code to manipulate a path
4         containing space and '~' characters with a call to latex_path().
5
6 2005-04-17  Angus Leeming  <leeming@lyx.org>
7
8         * converter.C (convert): protect all args of convertDefault.sh
9         script with quotes.
10
11 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * text3.C (dispatch): change the layout to "Caption" after inserting
14         a float.
15
16 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * text3.C (dispatch): fix language problem in newly created
19         textinsets (and main text) in non-english docs
20
21 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
22
23         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
24         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
25         * text3.C (getStatus): disable LFUN_INSET_MODIFY
26
27 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
28
29         * lyxtext.h:
30         * text.C (metrics): 
31         * text2.C (getFont):
32         * rowpainter.C (getFont): Fix metrics bug introduced by inset
33         fonts fix
34
35 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
36
37         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
38         output of \item arguments without trailing text.
39
40 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
41
42         * FontIterator.C (operator*): avoid a copy of the font.
43
44 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
45
46         * rowpainter.C (getFont): fix language bug from previous fix
47
48 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * rowpainter.C (RowPainter, getFont): fix font inside inset 
51         (bugs 1766, 1809)
52
53 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
56         preventing inserted font, deco, delim insets jumping to start of
57         surrounding inset.
58
59 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * lyxfunc.C (dispatch): translate message before sending it to the
62         minibuffer. 
63
64 2005-03-29  Angus Leeming  <leeming@lyx.org>
65
66         * lyx_main.C (priv_exec): call os::internal_path on each file passed
67         to LyX on the command line.
68
69 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
70
71         * vc-backend.C: use QuoteName to protect file names wherever
72         necessary. 
73
74 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
75
76         * buffer.[Ch]:
77         * BranchList.h: fix bugs 1844,1845: document settings don't
78         stick
79
80 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * lyxrc.C (setDefaults, read, output, getDescription): add support
83         for tex_allows_spaces.
84
85         * exporter.C (Export): allows files in directory containing spaces
86         if tex_allows_spaces is true.
87
88         * buffer.C (makeLaTeXFile): if the document path contains spaces,
89         output it in double quotes.
90
91 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
92
93         * rowpainter.C: use default text height for drawing change tracker
94         strikeout lines.
95
96 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
97
98         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
99
100 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
103         directory is missing.
104
105 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
106
107         * text2.C: fixed the fix, extended to other case.
108
109 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
110
111         * text2.C: fix for cursor up/down stuck in math [bug 1792]
112
113 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
114
115         * text2.C (cursorUp): get rid of a crash
116         * text.C (x2pos): add an assert
117
118 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
119
120         * lyxfunc.C (getStatus): fix warning when assertions are disabled
121
122         * text3.C: 
123         * lyxfunc.C: 
124         * dociterator.C: include <boost/current_function.hpp>, which is
125         needed when assertions are disabled.
126
127 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net> 
128
129         * text2.C: fix for stuck cursor when traversing two 
130         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange) 
131
132 2005-02-25  Andreas Vox  <avox@arcor.de>
133
134         * output_docbook.C (makeParagraph): suppress trailing newline
135         after a run of paragraphs
136
137 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
138
139         * paragraph.C: fix for confused change tracker when pasting
140         text that begins with a lineseparator. [bug 1827]
141         (setChange(0, Change::INSERTED);)
142
143         * paragraph_funcs.C: fix for lost changes on triple-paste
144         in change tracking mode [bug 1827] (par.setChange()).
145
146 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * text2.C (updateCounters, setCounter, expandLabel): move to
149         buffer_funcs.
150
151         * buffer_funcs.C (updateCounters): turn into a free standing
152         function and add a buffer parameter. Remove dead code for tracking
153         labelstring change.
154         (setCounter): change into a free-standing function which gets a
155         dociterator as argument. Use this iterator to fix captions in a
156         simple way. When no float is found above the caption, use the
157         labelstring of the caption layout as default.
158
159         * text.C (breakParagraph, backspace): 
160         * text2.C (init, setLayout, changeDepth):
161         * text3.C (dispatch): 
162         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
163         updateCounters.
164
165         * dociterator.C (forwardPar): make it much faster by calling
166         forwardPos() only when really necessary.
167
168         * output_docbook.C (makeCommand): adapt to expandLabel move.
169
170         * cursor.C: remove unused variable
171
172 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
173
174         * paragraph_funcs.C: fix crash when pasting insets in change 
175         tracking mode [bug 1277] (honour change type in moveItem).
176
177 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
178
179         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
180
181 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * BufferView.C (setCursor): change to use a DocIterator.
184         (gotoLabel): use BufferView::setCursor (other part of bug 781).
185         (putSelectionAt): adapt to BufferView::setCursor change.
186
187         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
188         moved here from LyXText and rewritten to use proper cursor
189         methods. Fixes bug 1787, 616 and 835.
190
191         * BufferView_pimpl.C (restorePosition): set the cursor correctly
192         when inside an inset (part of bug 781).
193         (dispatch): adapt to change of BufferView::setCursor.
194         (getStatus, dispatch): handle LFUN_GOTOERROR,
195         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
196
197         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
198         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
199         * text3.C (gotoNextInset, gotoInset): removed.
200
201 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
204
205 2005-02-15  Angus Leeming  <leeming@lyx.org>
206
207         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
208         can be used meaningfully in a comparison.
209
210 2005-02-13  André Pönitz  <poenitz@gmx.net>
211
212         * bufferview_funcs.C (coordOffset): improve cursor drawing
213
214 2005-02-13  André Pönitz  <poenitz@gmx.net>
215
216         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
217         * Cursor.C (dispatch): use fixIfBroken
218         * lyxfunc.C (getStatus): use fixIfBroken
219
220 2005-02-15  Angus Leeming  <leeming@lyx.org>
221
222         * lyx_main.C (error_handler):
223         * lyxfunc.C:
224         * lyxrc.C (setDefaults):
225         s/GetEnv/getEnv/.
226         #include "environment.h".
227
228         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
229
230 2005-02-15  Angus Leeming  <leeming@lyx.org>
231
232         * lyxserver.C (startPipe): squash MSVC warning "local variable
233         'fd' used without having been initialized".
234
235 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
236
237         * BufferView_pimpl.C: revert accidental commit.
238
239 2005-02-14  André Pönitz  <poenitz@gmx.net>
240
241         * dociterator.[Ch]: new member forwardPosNoDescent(),
242         which doesn't enter nested insets.
243         * text2.C (setFont): use forwardPosNoDescent() instead
244         of ForwardPos() (fixes crash on font change).
245
246 2005-02-13  Angus Leeming  <leeming@lyx.org>
247
248         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
249         only if lyxrc.path_prefix is not empty.
250
251 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
252
253         * bufferparams.C (readGraphicsDriver): prevent crash
254
255 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * text2.C (setCounter): check for inInset() == 0
258
259 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
262         but use update() to get correct screen display; use convert
263         instead of istringstream. 
264         (getStatus): handle LFUN_GOTO_PARAGRAPH 
265
266         * lyxfunc.C (dispatch, getStatus): do not handle
267         LFUN_GOTO_PARAGRAPH here.
268
269 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * text3.C (dispatch): size() -> depth()
272
273         * text2.C: remove some debug output
274
275         * paragraph.C: ws changes only
276
277         * lyxfunc.C (getStatus): size() -> depth()
278
279         * dociterator.h (clear, push_back, pop_back, internalData,
280         operator[], resize, empty): new functions
281         Make StableDocIterator and operator== be friends. Don't inherit
282         from std::vector use a privat class variable slices_ instead.
283         Modify to fit.
284
285         * dociterator.C: update because of not inheriting from std::vector
286         anymore. Call explictly to slices_ instead. Use depth() instead of
287         size() and top() instead of back()
288
289         * cursor.C: chagne size() -> depth and back() -> top(). Also
290         remove some direct operator[](i) calls in favour of foo[i]
291         (getFont): remove some dead code
292
293         * bufferview_funcs.C (coordOffset): size() -> depth()
294
295         * buffer.C: ws changes only
296
297         * CutAndPaste.C (eraseSelection): back() -> top()
298
299         * BufferView_pimpl.C (selectionRequested): back() -> top()
300
301         * BufferView.C (setCursor): size() -> depth()
302
303 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
304
305         * text3.C (cursorPrevious): return true if depm changed something
306         (cursorNext): ditto
307         (dispatch): rename sl to oldTopSlice, remove moving use the new
308         NoUpdate func attrib instead. Make sure that needsUpdate is set
309         for function that have NoUpdate, but where depm might have changed
310         the buffer anyway.
311
312         * text2.C (cursorLeft): make us return true if depm changed
313         something
314         (cursorRight): ditto
315         (cursorUpParagraph): ditto
316         (curosrDownParagraph): ditto
317         (cursorUp, cursorDown): ditto, make sure to read comments in code
318         (deleteEmptyParagraphMechanism): remove an assert, also return
319         true if just a single char was deleted.
320
321         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
322         cursor that we modify, to avoid modifying an active cursor before
323         we call setCursor. This allows depm to run. Also return true if
324         depm deleted something.
325
326         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
327         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
328         cursorDownParagraph, cursorPrevious and cursorNext, return true if
329         something was changed in the buffer because of them (ie. depm run)
330
331         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
332         debug messages. Make update by default be false. Make sure that
333         the result of update is retained throught several calls down to
334         dispatch.
335
336         * LyXAction.h: add a new func_attrib: NoUpdate
337
338         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
339         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
340         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
341         and LFUN_WORDLEFT
342         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
343
344 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
347         bv_->owner(), bv_->buffer() by direct references to the private
348         members.
349         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
350         (getStatus): isSavedPosition() is in BufferView::Pimpl.
351         (fitCursor): center() is in BufferView::Pimpl.
352         (getStatus, trackChanges, dispatch): no need for a temporary buf
353         variable
354         (fitCursor, workAreaDispatch): use workarea().workheight()
355
356 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
357
358         * CutAndPaste.C (pasteSelectionHelper): fix a crash
359
360 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
361
362         * buffer.C: format up to 241.
363         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
364         break if pasting into ERT
365         * lyxfunc.C (getStatus): suppress mathpanel and
366         LFUN_DIALOG_SHOW_NEW_INSET in ERT
367
368 2005-02-01  Angus Leeming  <leeming@lyx.org>
369
370         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
371
372 2005-02-01  Angus Leeming  <leeming@lyx.org>
373
374         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
375         calling fs::is_directory().
376
377 2005-01-31  Angus Leeming  <leeming@lyx.org>
378
379         * lyx_main.C (priv_exec): specify explicitly the relative location
380         of the top level build directory when run in-place.
381
382 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
383
384         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
385         LyXText containing the cursor, not the top-level one.
386
387         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
388         true.
389         (insertStringAsLines): rename par to pit; use temporary variable
390         par to hold a Paragraph; do not store par.layout() in a variable,
391         since the pointer may die when breaking paragraphs; pass pars to
392         breakParagraph() instead of Buffer::paragraphs().
393
394 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
395
396         * lyxlex_pimpl.h: #include <fstream>.
397
398         * BufferView.[Ch] (getLyXText): add a const version.
399
400         * BufferView_pimpl.C: add debug aids.
401
402         * RowList_fwd.h:
403         * buffer.h:
404         * lyxrow.h:
405         * paragraph_funcs.h: add commentary explaining what the class does.
406
407
408         * coordcache.[Ch]: add lots of commentary.
409         (startUpdating, doneUpdating): debug aids.
410         (arrays, insets, parPos, getParPos): accessors to private data.
411
412         * cursor_slice.[Ch] (text): add a const version.
413         * dociterator.[Ch] (text, innerText): add const versions.
414
415         * lyxtext.h (breakParagraph): change the keep_layout arg to a
416         bool.
417
418         * paragraph.C (getRow, pos2ros): add asserts.
419
420         * paragraph.h: add commentary. Lots of.
421
422         * paragraph.[Ch] (metrucs, draw): removed.
423
424         * cursor.C:
425         * rowpainter.[Ch]: const-correct changes.
426
427         * text.C: various obvious clean-ups. Removal of ancient cruft.
428         Bug fixes, even.
429
430 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
431
432         * vc-backend.C (find_file): rewrite to use boost.filesystem
433         (scanMaster): ditto
434
435         * main.C (main): set default name check for boost.filesystem to
436         no check
437
438         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
439         (open): ditto
440         (doImport): ditto
441         (actOnUpdatedPrefs): ditto
442
443         * lyx_main.C (init): rewrite to use boost.filesystem
444         (queryUserLyXDir): ditto
445
446         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
447         (getContentsOfAsciiFile): ditto
448
449         * lastfiles.C (readFile): rewrite to use boost.filesystem
450
451         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
452
453         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
454         (loadLyXFile): ditto
455
456         * buffer.C (Buffer): adjust for destroydir
457         (getLogName): rewrite to use boost.filesystem
458         (setFileName): ditto
459         (save): use fs::copy_file (from fs_extras)
460
461         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
462
463         * LaTeX.C (run): rewrite to use boost.filesystem
464         (scanAuxFiles): ditto
465         (handleFoundFile): ditto
466
467 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
468
469         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
470
471         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
472
473 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
474
475         * lyxlayout.[Ch]: change some vars from float to double
476
477         * buffer.C (readFile): make a local var const
478
479         * Several files: use convert<> instead of atoi,strToXXX and friends
480
481 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
482
483         * LaTeXFeatures.[Ch]: Add a static list packages_ that
484         holds the contents of packages.lst. New functions getAvailable
485         and isAvailable to parse and check that list, resp.
486
487         * LyXAction.C:
488         * lfuns.h:
489         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
490
491         * bufferparams.[Ch]: new param output_changes.
492
493         * Buffer.C: increase file format to 240.
494         Use output_changes and isVailable.
495
496         * changes.[Ch]:
497         * paragraph.C:
498         * paragraph_pimpl.C: Use output_changes and isVailable.
499
500 2005-01-23  Angus Leeming  <leeming@lyx.org>
501
502         * output_latex.C: #include "insetbibitem.h", rather than
503         forward declare function bibitemWidest.
504
505 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
506
507         * lyx_main.C (init): make it compile on the Mac.
508
509 2005-01-20  Angus Leeming  <leeming@lyx.org>
510
511         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
512         (setLyXMisc): (char string literal) != (char string literal) is
513         performing a comparison on the addresses. Convert one operand
514         explicitly to string to guarantee expected behaviour.
515         From MSVC warning.
516
517 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
518
519         * buffer.C:
520         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
521
522         * output_plaintext.C: remove unneeded #include gzstream.h.
523
524 2005-01-20  Angus Leeming  <leeming@lyx.org>
525
526         * SpellBase.h: rename some of the elements of the Result enum.
527
528         * aspell_local.h:
529         * ispell.h:
530         * pspell.h:
531         * aspell.C (check):
532         * ispell.C (check):
533         * pspell.C (check): ditto
534
535 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
536
537         * buffer.C: add #include <fstream>.
538
539         * lyx_main.C (init): Compile fix.
540
541         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
542
543 2005-01-20  Angus Leeming  <leeming@lyx.org>
544
545         * mover.h: change commentary to reflect the changed meaning of
546         the $$s placeholder.
547
548 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * output_linuxdoc.C (linuxdocParagraphs): silence warning
551
552         * lyxfind.C (MatchString::operator()): remove bogus semicolon
553
554 2005-01-20  Angus Leeming  <leeming@lyx.org>
555
556         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
557         printing diagnostic data by not dereferecing an iterator past the
558         end.
559
560 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
561
562         * buffer.C (readHeader): use "&&" rather than "and".
563
564         * lyxserver.h (inPipeName, outPipeName): make these const.
565
566 2005-01-19  Angus Leeming  <leeming@lyx.org>
567
568         * lyx_main.C (error_handler, init): protect SIGHUP with
569         #ifdef SIGHUP guards.
570
571 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
574
575 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * text.C (setHeightOfRow): add a margin at the top and bottom of
578         the document (bug 1761)
579
580 2005-01-17  Angus Leeming  <leeming@lyx.org>
581
582         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
583         with "python ". Workaround for a brain-dead Windows.
584
585 2005-01-16  Angus Leeming  <leeming@lyx.org>
586
587         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
588         for MacOSX and Windows to use prependEnvPath.
589         Strip out the hard-coded block to add elements to the PATH for
590         MacOSX and replace it with a call to prependEnvPath using the
591         contents of LyXRC::path_prefix.
592         (queryUserLyXDir): strip out the code to run reconfigure, instead
593         returning a boolean indicating the necessity to do so.
594         (reconfigureUserLyXDir): contains the code to reconfigure the
595         user support directory. Is now called after the various LyXRC data
596         files have been read.
597
598         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
599
600 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
601
602         * converter.[Ch] (convert): take a new parameter try_default. Use
603         a default converter (imagemagick) if try_default is true.
604
605 2005-01-13  Angus Leeming  <leeming@lyx.org>
606
607         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
608         os::cygwin_path_fix.
609         (write): output LyXRC::cygwin_path_fix as necessary.
610
611 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
612
613         * lyxrc.h:
614         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
615
616 2005-01-12  Angus Leeming  <leeming@lyx.org>
617
618         * lyx_main.C (init): set the PATH variable to include the
619         directory containing the LyX binary when running on Mac or Windows.
620
621 2005-01-12  Angus Leeming  <leeming@lyx.org>
622
623         * lyx_main.C (init): remove cruft that purports to set the locale
624         dir. It doesn't and is not needed anyway.
625
626 2005-01-10  Angus Leeming  <leeming@lyx.org>
627
628         * Makefile.am: remove the lyx_main.C special casing.
629
630         * BufferView_pimpl.C:
631         * bufferlist.C:
632         * exporter.C:
633         * lyx_cb.C:
634         * lyx_main.C:
635         * lyxfunc.C:
636         * messages.C: use support/package.h to provide the paths to the
637         various directories used by LyX.
638
639 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
640
641         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
642         layout if pasting into an empty paragraph)
643
644 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
645
646         * tex-accent.C: add <string>
647
648 2005-01-06  José Matos  <jamatos@lyx.org>
649
650         * ParagraphParameters.C (write): put every parameter in its own line.
651         * paragraph.C (write): reduce number of consecutive empty lines exported.
652         * buffer.C (LYX_FORMAT): increase file format to 239.
653
654 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * everywhere: change support/tostr.h -> support/convert.h
657
658         * tabular.C: make all write_attributes templates, tostr -> convert
659
660         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
661         (emptyTag): and -> &&, and fix type for ret from getChar
662         (getFirstWord): fix type for ret from getChar
663         (onlyText): and -> &&
664         (simpleDocBookOnePar): and not -> && !, fix type for ret from
665         getChar
666
667         * toc.C (goTo, action):
668         * text3.C (dispatch):
669         * text.C (currentState):
670         * tex-accent.C (DoAccent):
671         * sgml.C:
672         * lyxrc.C:
673         * lyxfunc.C (menuNew):
674         * lyxfinc.C (replace):
675         * counters.C (laberItem):
676         * bufferview_funcs.C (font2string):
677         * bufferparams.C (writeFile):
678         * buffer.C (readFile):
679         * Spacing.C (set):
680         * MenuBackend.C: tostr -> convert
681
682         * LaTeX.C (runMessage): fix format
683         (scanAuxFiles): tostr -> convert
684
685         * BufferView_pimpl.C (savePosition): fix format
686         (restorePosition): ditto
687         (dispatch): ditto
688
689 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
690
691         * Spacing.[Ch]: New method getValueAsString().
692
693         * Spacing.[Ch]:
694         * bufferparams.C:
695         * ParagraphParameters.C:
696         * lyxlayout.C:
697         * text.C:
698         * text3.C: store/read spacing value as string.
699
700         * rowpainter.C: change float value (spacing_val) to double.
701
702         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
703         broken custom document spacing).
704
705 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
706
707         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
708         namespace, also more use of temp references and const
709
710         * cursor.[Ch] (getStatus): move to lyxfunc.C
711
712         * bufferparams.C: reformat slightly
713
714         * bufferview_funcs.C (font2string): constify arg
715
716         * changes.C:
717         * converter.C:
718         * counters.C:
719         * bufferlist.C:
720         * buffer_funcs.C: (many funcs): constify arg on function
721         definitions, also make more local vars const, also add ASSERTS on
722         pointer args.
723
724         * buffer.C (LYX_FORMAT): put const in correct place
725         (many funcs): constify arg on function definitions, also make
726         more local vars const
727
728         * aspell_local.h: remove "struct" from typdef setup
729
730         * aspell.C (check): make word_ok const
731         (nextMiss): simplify slightly
732         (error): ditto
733
734 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
735
736         * lyxrc.[Ch]: store all float values as strings.
737         use int (not float) for lyxrc.dpi.
738
739 2005-01-04  Angus Leeming  <leeming@lyx.org>
740
741         * lyx_cb.C (Reconfigure):
742         * lyx_main.C (queryUserLyXDir):
743         to run the <system_lyxdir>/configure correctly on Windows, prefix
744         the path to the script with "sh " when generating the string that
745         is passed to system().
746
747 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
748
749         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
750
751 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * lyxlength.C (asLatexString): get rid of setprecision
754
755 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * text2.C (setLayout): remove unused variable endpit.
758         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
759
760         * paragraph.C (onlyText): remove unused variable style.
761
762         * cursor.C (bruteFind): remove unused variables beg and end.
763
764         * Makefile.am (dist_noinset_DATA): not needed anymore
765
766         * cheaders/*: remove.
767
768 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
769
770         * text3.C: fix LFUN_MATH_MODE.
771
772 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * buffer_funcs.C (countWords): new function. Counts words between
775         two iterators.
776
777         * BufferView_pimpl.C (getStatus, dispatch): handle
778         LFUN_WORDS_COUNT.
779
780         * LyXAction.C (init):
781         * lfuns.h: add LFUN_WORDS_COUNT.
782
783 2004-12-19  Angus Leeming  <leeming@lyx.org>
784
785         * buffer.C (save): s/slashify_path/internal_path/.
786
787 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
788
789         * lyxfind.C (findChange): do not search for end of pars, because
790         the change tracker cannot handle this (fixes bug 1719).
791
792 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * paragraph.[Ch] (autoBreakRows): remove
795
796         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
797
798         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
799         avoid using the paragraph one
800
801         * text2.C (LyXText, insertStringAsLines): adjust
802
803 2004-12-16  Angus Leeming  <leeming@lyx.org>
804
805         * bufferlist.C:
806         * lyx_main.C:
807         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
808
809 2004-12-14  Angus Leeming  <leeming@lyx.org>
810
811         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
812
813         * bufferlist.C (emergencyWrite):
814         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
815         GetEnvPath("HOME").
816
817 2004-12-14  Angus Leeming  <leeming@lyx.org>
818
819         * main.C: (main): no longer pass pointers to os::init.
820
821 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
822
823         * undo.C (textUndoOrRedo): simplify logic, fix a crash
824         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
825
826 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
827
828         * lyxfunc.C:
829         * text3.C: remove selection_possible global flag
830
831 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
832
833         * text2.C (getSelectionSpan): remove
834         (changeDepth, changeDepthAllowed): adjust
835
836 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
837
838         * Makefile.am (BOOST_LIBS): use boost variables
839
840 2004-12-03  José Matos  <jamatos@lyx.org>
841
842         * buffer.C: format up to 238.
843
844 2004-12-03  José Matos  <jamatos@lyx.org>
845
846         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
847
848 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
849
850         * cursor.C (goUpDown): remove call to idxUpDown2
851
852 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
853
854         * tabular.[Ch]: use size_t-like types for cell, row and column
855         indices
856
857 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
858
859         * lyxfunc.C (getStatus): do not lose previous information when
860         calling BufferView::getStatus; do not set a default "Command
861         disabled" message at the beginning, but just before returning.
862
863 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
864
865         * cursor.h (getStatus): add better comment from src/cursor.C
866
867 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
868
869         * text3.C (getStatus): return false when the lfun is not handled
870
871 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * broken_headers.h: remove
874
875         * Makefile.am (lyx_SOURCES): remove broken_headers.h
876
877 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
878
879         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
880         offset_ref accessors
881
882         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
883         top_y_, merge fitcursor with update
884         (updateScrollbar, scrollDocView, fitCursor, center, update): new
885         coord scheme
886         (metrics): introduce
887         (workAreaDispatch): adapt to new coord scheme
888         (redoCurrentBuffer): remove
889
890         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
891
892         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
893         CurStatus enum.
894
895         * coordcache.[Ch]: add paragraph cache and helpers
896
897         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
898         adjust everywhere
899
900         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
901         (targetX, setTargetX): introduce
902
903         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
904         baseline -> ascent, as the rest of lyx
905
906         * lyxtext.h: remove redoParagraphs, updateParPositions,
907         fullRebreak, redoParagraphInternal. move dist to anon namespace in
908         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
909         have ascent/descent (ascent is ascent of first par)
910
911         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
912         step of BufferView
913
914         * paragraph.[Ch]: unify dimension handling with the rest of lyx
915
916         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
917
918         * pariterator.C: fix infinite loop introduced in par->pit renaming
919
920         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
921         in insets and LyXText, draw two off-screen paragraphs using
922         NullPainter, and adapt to new coord scheme
923
924         * text.C:
925         * text2.C:
926         * text3.C: adapt lfun handlers to the new coord scheme, which
927         means: there's only guaranteed coord information for onscreen pars
928         plus one above and one below. This implies that one can do search
929         from y coordinates in the range [-1,workHeight]
930
931 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
932
933         * rename a lot of InsetOld to InsetBase
934
935 2004-11-25  Angus Leeming  <leeming@lyx.org>
936
937         * BufferView_pimpl.C:
938         * lyx_cb.C:
939         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
940
941 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
942
943         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
944         call BufferView::getStatus if LCursor::getStatus did nothing
945         (setStatusMessage, getStatusMessage): removed.
946
947         * FuncStatus.C (message): new methods. Used to provide an error
948         message indicating why a command is disabled.
949         (clear, |=, FuncStatus): update for message.
950
951 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
952
953         * lyxfunc.C (dispatch): always call sendDispatchMessage
954
955 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
956
957         * BufferView.C:
958         * BufferView_pimpl.C:
959         * CutAndPaste.C:
960         * FontIterator.C:
961         * buffer.C:
962         * cursor.C:
963         * cursor_slice.[Ch]:
964         * dociterator.[Ch]:
965         * lyxfind.C:
966         * paragraph_funcs.C:
967         * pariterator.C:
968         * rowpainter.C:
969         * text.C:
970         * text2.C:
971         * text3.C:
972         * undo.C: par->pit renaming
973
974 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
975
976         * tabular.C (cellstruct): use initialization, store a shared_ptr
977         to insettext instead of the insettext directly, adjust to fit.
978         (operator=):  new function
979         (swap): new function
980         (rowstruct): use initialization
981         (columnstruct): use initialization
982         (ltType): use initialization
983
984
985         * lyxlength.h (swap): new function
986
987         * LColor.[Ch] (operator=): use the common semantics
988
989 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * lyxfind.C (findNextChange): update the bufferview after setting
992         the selection.
993
994 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
997         number of InsetOptArgs has already been inserted.
998
999         * output_latex.C (latexOptArgInsets): new method. This outputs all
1000         the optarg insets, up to the limit defined in the layout file.
1001         (optArgInset): removed
1002         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1003
1004 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * paragraph.C (isLetter): remove special spellchecker-related
1007         code; return true also for digits
1008         (isWord, isKomma): remove
1009
1010         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1011         * lyxfind.C (MatchString()): use isLetter instead of isWord
1012
1013 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1014
1015         * pariterator.h (operatir=): comment out un-implemented member
1016         function.
1017
1018         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1019         static cast.
1020
1021 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1022
1023         * lyxfont.h: include LColor.h to satisfy concept checks.
1024
1025 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1026
1027         * pariterator.h: add typdefs for value_type, difference_type,
1028         pointer and reference to satisfy concept checks. Also add default
1029         constructor for same reason.
1030
1031         * pariterator.C (operator++): add post-increment operator to
1032         satisfy concept checks.
1033
1034         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1035         checks.
1036
1037         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1038
1039         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1040         checks. Also rename base_type to BaseType to follow naming
1041         standard better.
1042
1043         * FloatList.h: include Floating.h to satisfy concept checks.
1044
1045 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * lyxfunc.C (getStatus): when the origin of the request is menu or
1048         toolbar, and the LyXView does not have focus, do as if there was
1049         no buffer (bug 1720)
1050
1051         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1052         FuncRequest to individual entries of LFUN_SEQUENCE
1053
1054 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * output_latex.C (TeXOnePar): override runparams.moving_arg
1057         according to the needprotect value of the current paragraph (bug
1058         1739)
1059
1060         * paragraph.C (simpleTeXOnePar): no need to override
1061         runparams.moving_args here
1062
1063 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1064
1065         * vspace.C: fix off-by-one-error, related to fix #1682
1066
1067 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1068
1069         * lengthcommon.C: a more general fix for bug 1682
1070
1071 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1072
1073         * text.C (backspace): fix crash
1074
1075 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1076
1077         * format.[Ch] (getFormatFromFile): new method
1078         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1079
1080 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1083
1084 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1085
1086         * lyxfunc.C (dispatch): remove the verbose argument
1087         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1088         instead
1089
1090         * kbmap.C (defkey): set the origin of func to KEYBOARD
1091
1092         * MenuBackend.C (MenuItem):
1093         * ToolbarBackend.C (add): set the origin of func to UI
1094
1095         * funcrequest.[Ch]: add origin member, which indicates which part
1096         of LyX requests an action
1097
1098 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1099
1100         * converter.C (move): don't lie in the error message
1101         * converter.h (isReachable, move): document
1102
1103 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1104
1105         * buffer.C: remove unused using lyx::support::atoi
1106         * paragraph_funcs.C: ditto
1107
1108 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1109
1110         * bufferlist.C (exists): use bind and equal_to instead of
1111         compare_memfun
1112         (getBuffer): ditto
1113         * lyxtextclasslist.C (NumberOfClass): ditto
1114
1115         * cursor.C (insert): use for_each instead of explicit for loop
1116
1117         * bufferlist.C (getFileNames): use std::transform and
1118         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1119
1120         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1121         for loop
1122
1123         * buffer.C (changeLanguage): use for_each instead of explicit for
1124         loop
1125         (hasParWithID): implement using getParFromID
1126
1127         * LaTeXFeatures.C: ws change only
1128
1129         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1130         to cleanup a bit.
1131
1132         * BufferView_pimpl.C (trackChanges): use for_each instead of
1133         expilicit for loop
1134
1135 2004-11-04  André Pönitz  <poenitz@gmx.net>
1136
1137         * undo.h:
1138         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1139
1140         * dociterator.C (asDocIterator): use hard assert again.
1141
1142 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * lyxlength.C (asLatexString): rewrite so that it does not use
1145         snprintf anymore
1146
1147 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1148
1149         * text3.C (specialChar, dispatch): make sure cursor moves to the
1150         right after inserting an inset
1151
1152 2004-11-02  José Matos  <jamatos@lyx.org>
1153
1154         * output_docbook.C (docbook):
1155         * paragraph.C (getID):
1156         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1157         garantee that the output is always legal.
1158
1159         * tabular.C (docbook):
1160         * outputprams.[Ch]: remove mixed contents.
1161
1162 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1163
1164         * text2.C (setCounter): prevent endless loop
1165
1166 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1167
1168         * exporter.C (copyFile): use the mover instead of support::copy()
1169         * exporter.C (Export): pass format and latex name to copyFile()
1170         * exporter.h (addExternalFile): document
1171         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1172
1173 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1174
1175         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1176
1177 2004-10-30  José Matos  <jamatos@lyx.org>
1178
1179         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1180         text and no inset or font change. This allows to use CDATA
1181         sections just for the whole paragraph.
1182
1183 2004-10-30  José Matos  <jamatos@lyx.org>
1184
1185         * paragraph.C (getFirstWord): remove unused variable.
1186
1187 2004-10-30  José Matos  <jamatos@lyx.org>
1188
1189         * paragraph.C (getFirstWord): the content should always be escaped
1190         there.
1191         (simpleDocBookOnePar):
1192         * output_docbook.C (makeEnvironment): replace reference to CDATA
1193         to style pass_thru.
1194
1195 2004-10-30  José Matos  <jamatos@lyx.org>
1196
1197         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1198
1199 2004-10-30  José Matos  <jamatos@lyx.org>
1200
1201         * output_docbook.C (makeParagraphs):
1202         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1203         standard paragraph has only a given type of content drop the wrapper.
1204
1205 2004-10-29  José Matos  <jamatos@lyx.org>
1206
1207         * output_docbook.C (makeEnvironment):
1208         * sgml.C (openTag):
1209         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1210
1211 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1212
1213         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1214         (cleanID): sanitize any id.
1215
1216 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1217
1218         * buffer.C, lyxlex_pimpl.C:
1219         * lyxlex_pimpl.C (setFile):
1220         s/getExtFromContents/getFormatFromContents/
1221
1222 2004-10-28  José Matos  <jamatos@lyx.org>
1223
1224         * output_docbook.C (makeEnvironment): move id to broadest possible
1225         scope.
1226
1227         * sgml.C (openTag): apply substitution of <> for all attributes.
1228
1229 2004-10-28  José Matos  <jamatos@lyx.org>
1230
1231         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1232         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1233         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1234
1235         * sgml.[Ch]: new version for open and closeTag for paragraph and
1236         for strings. Now they handle the ids of paragraphs.
1237
1238 2004-10-26  Angus Leeming  <leeming@lyx.org>
1239
1240         * Makefile.am: add mover.[Ch].
1241
1242         * converter.C (convert, move): use the new Movers to move external
1243         files to the temp directory.
1244
1245         * lyx_main.C (init): ensure that the global system_movers data
1246         is initialised.
1247
1248         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1249         preferences file.
1250
1251         * mover.[Ch]: new files, defining a Mover as a utility to move an
1252         external file between directories and, if necessary, manipulate this
1253         file using a helper script.
1254
1255 2004-10-25  José Matos  <jamatos@lyx.org>
1256
1257         * output_docbook.C (makeCommand): merge two if's that tested the
1258         same condition.
1259
1260 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * sgml.C (escapeString): fix warning in a better way
1263
1264 2004-10-25  José Matos  <jamatos@lyx.org>
1265
1266         * sgml.C (escapeString): import the require boosts header file for
1267         tie, and avoid a signed unsigned comparison.
1268
1269 2004-10-25  José Matos  <jamatos@lyx.org>
1270
1271         * sgml.h: add #include <string>
1272
1273 2004-10-25  José Matos  <jamatos@lyx.org>
1274
1275         * sgml.[Ch] (escapeString): new function to escape all the string.
1276
1277 2004-10-24  José Matos  <jamatos@lyx.org>
1278
1279         * paragraph.[Ch] (getFirstWord): new function to get the first
1280         word. Useful for description.
1281         (simpleDocBookOnePar): remove depth argument, add another that
1282         says where to start the paragraph.
1283
1284         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1285         use the new functions to fix cleanly the support for descriptions.
1286
1287 2004-10-24  José Matos  <jamatos@lyx.org>
1288
1289         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1290         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1291         * output_linuxdoc.C (linuxdocParagraphs):
1292         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1293         add buffer as argument.
1294
1295 2004-10-24  José Matos  <jamatos@lyx.org>
1296
1297         * output_docbook.C (makeEnvironment, searchEnvironment): place
1298         CDATA inside paragraphs and fix scope for listitems.
1299
1300 2004-10-24  José Matos  <jamatos@lyx.org>
1301
1302         * output_docbook.C: remove using statement for stack.
1303
1304 2004-10-23  José Matos  <jamatos@lyx.org>
1305
1306         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1307         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1308         docbook. The new scheme is recursive and makes use of iterators, the
1309         same as latex export works.
1310         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1311         directly with the paragraph contents. This code was moved up to
1312         output_docbook.C (docbookParagraphs).
1313         * sgml.C (openTag, closeTag): removed unneeded newlines.
1314         (closeEnvTags) removed.
1315
1316 2004-10-23  André Pönitz  <poenitz@gmx.net>
1317
1318         * undo.C (textUndoOrRedo):
1319         * dociterator.C (asDocIterator): work around crash
1320
1321         * cursor.C (getStatus): replace ASSERT by more verbose error message
1322           and manual correction of the problem. Should increase stability
1323           while providing more sensible information.
1324
1325 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1326
1327         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1328
1329         * bufferlist.C (previous, next): new methods
1330
1331         * lfuns.h:
1332         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1333
1334 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1335
1336         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1337         entities to preamble.
1338
1339 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1340
1341         * messages.C (Pimpl): strip off translation context information
1342
1343 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1344
1345         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1346         the cursor is correct (bug 1694)
1347
1348 2004-10-13  José Matos  <jamatos@lyx.org>
1349
1350         * output_docbook.C (docbookParagraphs): fix closing tags in the
1351         end of the document.
1352
1353 2004-10-09  José Matos  <jamatos@lyx.org>
1354
1355         * buffer.C: format up to 237.
1356         * bufferparams.C (write): use tostr to convert booleans to strings.
1357
1358 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1359
1360         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1361
1362 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1363
1364         * LaTeX.C: implement use of babel language in xindy.
1365
1366 2004-10-05  José Matos  <jamatos@lyx.org>
1367
1368         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1369         Add new translators to help reading and writing the lyx file.
1370
1371 2004-10-05  José Matos  <jamatos@lyx.org>
1372
1373         * ParagraphParameters.C (read):
1374         * text.C (readParToken): replace nexToken by more appropriate lex
1375         methods.
1376
1377 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1378
1379         * LaTeX.C (runMakeIndex):
1380         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1381         (usually 'makeindex') configurable.
1382
1383         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1384         with a variable rather than with a number.
1385
1386 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * output_latex.C (TeXOnePar): make sure font setting is the first
1389         thing that gets output (and the last at the end). Should fix bug
1390         1404.
1391
1392 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1393
1394         * pch.h: use proper signal include
1395
1396         * LaTeX.h: Use preferred calling of Boost.Signal
1397         * buffer.h: ditto
1398
1399 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1400
1401         * pch.h: dont include <boost/function/function0.hpp>
1402
1403         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1404
1405         * paragraph_pimpl.h: remove usage of ShareContainer
1406
1407         * paragraph_pimpl.C: remove initialization of ShareContainer.
1408
1409 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         Fix bug #1666
1412
1413         * BufferView.C (putSelectionAt): change the semantics when
1414         backwards == true: now, this just swaps cursor and anchor wrt the
1415         forward case
1416
1417         * BufferView.h (putSelectionAt): add some documentation
1418
1419         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1420         make sure backwardChar is done at least once (to avoid getting
1421         stuck)
1422         (findNextChange): use putSelectionAt in the forward direction
1423         (operator()): use Paragraph::isWord
1424
1425 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1426
1427         * Spacing.C (set): c_str fix
1428
1429 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1430
1431         * lyx_cb.C (Reconfigure): quote the name of configure script in
1432         case it contains spaces
1433
1434 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1435
1436         * client: new dir
1437
1438         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1439         (BOOST_LIBS): use top_buildir when looking for the file
1440
1441 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1442
1443         * pch.h: do not use include boost/format.hpp, multiple symbols
1444                 will result (gcc bug)
1445
1446
1447 2004-08-23  José Matos  <jamatos@lyx.org>
1448
1449         * bufferparams.C (readToken): fix reading of the author field.
1450
1451 2004-08-20  José Matos  <jamatos@lyx.org>
1452
1453         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1454
1455 2004-08-20  José Matos  <jamatos@lyx.org>
1456
1457         * lyxlex.[Ch] (findToken): remove function.
1458
1459         * ParagraphParameters.C (findToken):
1460         * bufferparams.C (findToken): replace call for previous function
1461         with local copy. This local function has one more argument, the
1462         read string argument.
1463
1464 2004-08-16  José Matos  <jamatos@lyx.org>
1465
1466         * ParagraphParameters.C (write):
1467         * Spacing.C (writeFile):
1468         * bufferparams.C (writeLaTeX):
1469         * lyx_cb.C (Reconfigure):
1470         * paragraph.C (write):
1471         * tabular.C (write): remove unnecessary space at end of line.
1472
1473
1474 2004-08-16  José Matos  <jamatos@lyx.org>
1475
1476         * text.C (readParagraph): remove debug message.
1477
1478 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1479
1480         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1481         crash
1482
1483         * output_plaintext.C (asciiParagraph): set depth correctly
1484
1485         * outputparams.h: add member depth
1486
1487         * paragraph_funcs.C (ownerPar): remove.
1488
1489         * text2.C (setCounter): remove first_pit; comment out some
1490         non-working code that uses ownerPar
1491
1492         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1493         uses ownerPar
1494
1495 2004-08-16  José Matos  <jamatos@lyx.org>
1496
1497         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1498         For the same level of importance use the same chanel to report problems.
1499         (read): add code to deal with \begin_body and \end_body.
1500
1501
1502 2004-08-15  José Matos  <jamatos@lyx.org>
1503
1504         * lyxlex.C (getString): fix comment, buffer::readBody is now
1505         buffer:readDocument.
1506
1507         * tex-strings.C (string_papersize): Default -> default,
1508         Custom -> custom, for consistency with other options.
1509
1510 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1511
1512         * pch.h: new file
1513
1514         * Makefile.am: support pch
1515
1516 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1517
1518         * text.C (readParToken): remove the static LyXFont variable and
1519         pass it as a parameter instead. This fixes a nasty bug where an
1520         inset will be inserted with a bad font in some situations
1521         (readParagraph): adapt
1522
1523         * text2.C (setCounter): reduce number of calls to pars_[pit]
1524
1525         * text.C (singleWidth): add an assert, fix a test
1526
1527         * rowpainter.C (paintText): reduce number of calls to singleWidth
1528
1529         * paragraph.C (isHfill):
1530         (isNewline): ws only
1531
1532 2004-08-14  André Pönitz  <poenitz@gmx.net>
1533
1534         * text.C:
1535         * text2.C:
1536         * rowpainter.C:
1537         * lyxtext.h (several functions): use a Paragraph & argument
1538         instead of par_type
1539
1540 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1541
1542         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1543
1544         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1545
1546         * text.C (singleWidth): remove useless test
1547
1548 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1549
1550         * tabular.h: remove bogus comments
1551
1552         * tabular.C (getDescentOfRow):
1553         (isPartOfMultiColumn): add assertions
1554
1555         * lyxlength.C (inPixels): remove #warning
1556
1557 2004-08-14  André Pönitz  <poenitz@gmx.net>
1558
1559         * paragraph.h: inline getChar()
1560
1561         * BufferView.h: remove unused declarations
1562
1563 2004-08-14  José Matos  <jamatos@lyx.org>
1564
1565         * Buffer.[Ch] (readDocument): new name for old readBody.
1566         * Buffer.C: new file format, new keywords: \begin_document,
1567         \begin_header, \begin_body, \end_body.
1568
1569         * bufferparams.C (readToken): replace all calls to lex.nextToken
1570         by lex.next(). Do the same to eatLine except where really needed.
1571
1572         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1573         line when writing to the lyx file.
1574
1575         * output_plaintext.C (asciiParagraph): fix Bibliography style
1576         handling.
1577
1578         * text.C (read): fix end of file handling.
1579
1580 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * MenuBackend.C (Menu::operator[]): new method to access
1583         individual menu items
1584         (Menu::hasFunc): new method. search for an item that corresponds
1585         to a given func
1586         (MenuBackend::specialMenu): new method
1587         (MenuBackend::expand): if a special menu has been set, skip
1588         entries whose func() appears in this menu
1589
1590 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1591
1592         * text3.C: use Debug::DEBUG a bit more
1593
1594         * text.C (leftMargin): try to simplify a tiny bit change var x to
1595         l_margin. Dont output the wide margins always.
1596         (rightMargin): no margin in inner texts
1597
1598         * rowpainter.h (nestMargin): new func
1599         (changebarMargin): new func
1600         (rightMargin): new func
1601
1602         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1603         now functions.
1604         (paintLast): ditto
1605
1606         * factory.C (createInset): modify setDrawFrame
1607
1608         * cursor.C: use Debug::DEBUG a bit more
1609
1610 2004-08-14  André Pönitz  <poenitz@gmx.net>
1611
1612         * coordcache.[Ch]:
1613         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1614         cache for all insets in (at least partially) visible (top-level)
1615         paragraphs.
1616
1617         * BufferView_pimpl.C: reset external coord cache before every update.
1618         This means the coord cache only contains valid entries.
1619
1620 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1621
1622         bug 1096
1623         * BufferView_pimpl.C (getInsetByCode): move function out of class
1624         and change in to a template in anon namespace. Also fix to do what
1625         suits us better.
1626
1627 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1628
1629         bug 1305
1630         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1631         of char
1632         (breakParagraph): rename par to par_offset and use a local
1633         reference. Add code to keep the language over a rebreak.
1634         (breakParagraphConservative): rename par to par_offset, use a
1635         local reference
1636         (mergeParagraph): ditto
1637         (outerHook): ditto
1638         (isFirstInSequence): ditto
1639         (outerFont): rename pit to par_offset
1640
1641         * paragraph.C: ws change
1642         * paragraph.h: ditto
1643         * text3.C: ditto
1644         * text.C: ditto
1645
1646 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1647
1648         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1649         treatment for ']'
1650
1651         * paragraph.C (simpleTeXOnePar): when we have a \item with
1652         optional argument, enclose the argument with curly brackets (in
1653         case it contains a closing square bracket)
1654
1655         * text2.C (editXY):
1656         * text2.C (editXY):
1657         * text3.C (checkInsetHit): constify
1658
1659 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1660
1661         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1662         documents (bug 1629)
1663
1664 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         Fix toggling of collapsable insets with the mouse (bug 1558)
1667
1668         * lyxfunc.C (dispatch): adapt to LCursor changes
1669
1670         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1671         make sure that dispatch is not invoked twice
1672
1673         * cursor.C (needsUpdate): new method
1674         (dispatch): return void
1675         (result): new method, to access the DispatchResult of the cursor.
1676
1677 2004-08-13  José Matos  <jamatos@lyx.org>
1678
1679         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1680
1681 2004-08-13  André Pönitz  <poenitz@gmx.net>
1682
1683         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1684
1685         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1686           multiple cells
1687
1688 2004-08-12  André Pönitz  <poenitz@gmx.net>
1689
1690         * text3.C: take out the 'cursor right' form insertInset and only
1691         do it in those places when it is really needed. Fixes crash on
1692         C-m...
1693
1694 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1697
1698         * BufferView_pimpl.C (setBuffer): initialize the current font of
1699         the underlying LyXText
1700
1701 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * kbsequence.C (print): use UI native formatting for menu
1704         shortcuts
1705
1706         * text.C (insertChar): call Paragraph::insertChar with a font
1707         argument (cosmetic)
1708
1709         * paragraph.C (insertInset, insertChar): the version that takes a
1710         LyXFont argument is now a wrapper around the other one (the
1711         opposite used to be true).
1712
1713         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1714         argument. Font setting is done in Paragraph now.
1715
1716 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1717
1718         * outputparams.h: add new members intitle and lang.
1719
1720         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1721         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1722
1723 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1724
1725         * text3.C (dispatch): remove special handling of button 4 and 5,
1726         it is now taken care of in the frontend code.
1727
1728 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1729
1730         * Spacing.h: add <string> (STLPort compile fix)
1731
1732 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1733
1734         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1735
1736 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1737
1738         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1739         to bool.
1740
1741         * converter.C (showMessage): inherit from unary_function, make
1742         operator() const.
1743
1744         * buffer.C (writeFile): initialize retval
1745
1746         * InsetList.h: rename private variable list to list_
1747         * InsetList.[Ch]: adjust accordingly.
1748
1749 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1750
1751         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1752         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1753         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1754         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1755         * ParagraphParameters.C, LaTeXFeatures.C: replace
1756         "support/std_sstream.h" with <sstream>
1757
1758 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1759
1760         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1761         * lyxsocket.C (LyXServerSocket): ditto
1762         (serverCallback): ditto
1763
1764 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1765
1766         * LaTeXFeatures.C: check release date when loading jurabib.
1767
1768 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1769
1770         * lyxserver.C (startPipe): call register_socket_callback
1771         (endPipe): call unregister_socket_callback
1772
1773 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1774
1775         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1776         (LyXServerSocket): register the callback
1777         (LyXServerSocket): unregister the callback
1778         (fd): delete function
1779         (serverCallback): improve error checking and setup the callbacks.
1780         (dataCallback): change arg to fd.
1781         (writeln): new func (copied fro the client socket) used for server
1782         write to client.
1783         (LyXDataSocket): simplify
1784         (~LyXDataSocket): close ann unregiser callback
1785         (server): delete function
1786         (fd): delete function
1787         (readln): small changes, improve some std::string usage
1788         (writeln): constify a bit
1789
1790 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791
1792         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1793         Qt frontend
1794
1795 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1796
1797         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1798         after it has been populated
1799
1800 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801
1802         * text2.C (insertInset): move cursor when inserting inset.
1803
1804 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1805
1806         * kbmap.C (findbindings): a couple of new methods. returns a
1807         container of kb_sequence objects. The real work is done by the
1808         private recursive version
1809         (printbindings): uses findbindings to print out a bracketed list
1810         of bindings (renamed from findbinding).
1811
1812         * MenuBackend.C (binding): use kb_keymap::findbindings
1813
1814         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1815
1816 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1817
1818         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1819
1820 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1821
1822         * paragraph.C (isWord): return true on insets that report
1823         isLetter().
1824
1825         * text.C (getWord): use Paragraph::isWord to decide what is in a
1826         word and what is not; fix bug 1609.
1827
1828 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1829
1830         * tex-strings.C: add "none" to string_paperpackages[], fixes
1831         off-by-one-error in the paperpackage selection.
1832
1833         * lyxlex.[Ch]:
1834         * tex-strings.[Ch]: char const * string[n]
1835         -> char const * const string[]
1836
1837 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1840         command, return early.
1841
1842 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1843
1844         * debug.h: add DEBUG to enum and fix size of ANY.
1845
1846         * debug.C: add support for Debug::DEBUG
1847         (showTags): cast errorTags.level to unsigned int
1848
1849         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1850         (redoCurrentBuffer): ditto
1851         (updateScrollbar): ditto
1852         * cursor.C (dispatch): ditto
1853         * text2.C (setLayout): ditto
1854         (setFont): ditto
1855         (updateCounters): ditto
1856         (editXY): ditto
1857         (deleteEmptyParagraphMechanism): ditto
1858
1859 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1860
1861         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1862         annotations to cleanup the Makefile slightly.
1863
1864 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1865
1866         * lyxrc.C: do not set user_email to a default value but use empty
1867         instead. The entry used to be translated, which does not work
1868         since at the point where lyxrc is constructed there is no
1869         translation service available
1870
1871         * messages.C (getLocaleDir): remove and use directly
1872         lyx_localedir() instead
1873
1874 2004-06-02  Angus Leeming  <leeming@lyx.org>
1875
1876         Fix crash caused by dereferencing null pointer 'exportdata' in
1877         OutputParams by creating a new ExportData variable on the heap,
1878         storing it in a boost::shared_ptr.
1879         The crash was triggered when generating an Instant Preview
1880         of an external inset.
1881
1882         * Makefile.am: add outputparams.C
1883
1884         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1885         (c-tor): allocate memory to it.
1886
1887         * exporter.C (c-tor): associated changes.
1888
1889 2004-06-01  Angus Leeming  <leeming@lyx.org>
1890
1891         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1892         contains data before calling isInset(0). (Bug 1513.)
1893
1894 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1895
1896         * exporter.C (checkOverwrite): new method
1897         * exporter.C (copyFile): new method
1898         * exporter.C (Export): copy referenced files to the document dir
1899         * exporter.[Ch]: new class ExportedFile
1900         * exporter.[Ch]: new class ExportData. Contains currently the
1901         names of referenced external files
1902         * outputparams.h: add exportdata member.
1903
1904 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1905
1906         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1907         version.C-tmp
1908
1909 2004-05-19  Angus Leeming  <leeming@lyx.org>
1910
1911         * LaTeXFeatures.C:
1912         * ToolbarBackend.C:
1913         * bufferparams.C:
1914         * lyxfunc.C: small changes due to the introduction of namespace
1915         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1916
1917 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * text3.C (dispatch): supress update when only moving the cursor
1920         * cursor.C (selHandle): remove commented code
1921
1922 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1923
1924         * paragraph.C (startTeXParParams): correct column count
1925         * CutAndPaste.C (pasteSelection): remove const_cast
1926         * output_docbook.C (docbookParagraphs): remove const_cast
1927         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1928         const_cast and return ParagraphList::const_iterator
1929         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1930         * output_plaintext.C (writeFileAscii): remove const_cast
1931         * paragraph.[Ch] (simpleTeXOnePar): make const
1932         * paragraph_funcs.C (outerPar): use const iterators
1933         * paragraph_pimpl.C (validate): use const iterators
1934         * text.C (setHeightOfRow): use const iterators
1935
1936 2004-05-17  Angus Leeming  <leeming@lyx.org>
1937
1938         * lfuns.h:
1939         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1940
1941         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1942         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1943         if the citation engine has changed.
1944
1945 2004-05-14  José Matos  <jamatos@lyx.org>
1946
1947         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1948         if the textclass does not provide it. Have it different for sgml and
1949         xml.
1950         support the language of document.
1951         * output_docbook.C (docbookParagraphs):
1952         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1953         first anchor as the id of the paragraph, remove special case code.
1954         * sgml.C (escapeChar): escape only < & >.
1955
1956 2004-05-14  Angus Leeming  <leeming@lyx.org>
1957
1958         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1959         dependencies on src/frontends/controllers/biblio.h. Define a
1960         CiteEngine_enum wrapper class to enable the enum to be forward
1961         declared.
1962
1963 2004-05-12  Angus Leeming  <leeming@lyx.org>
1964
1965         * buffer.C: up LYX_FORMAT to 234.
1966         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1967         use_numerical_citations with a single biblio::CiteEngine cite_engine
1968         variable.
1969         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1970
1971 2004-05-13  José Matos  <jamatos@lyx.org>
1972
1973         * converter.h:
1974         * converter.C (Converter, readFlags): add xml member.
1975         * outputparams.h: add XML flavor.
1976         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1977
1978 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1979
1980         * lyxfunc.C (dispatch):
1981         (getStatus): fix handling of LFUN_SEQUENCE
1982
1983 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1984
1985         * debug.C (showLevel): do not forget the end-of-line marker
1986
1987 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * kbmap.C (read): do not stop parsing a bind file when an error
1990         occurs (bug 1575)
1991
1992 2004-04-29  Angus Leeming  <leeming@lyx.org>
1993
1994         * cursor.C:
1995         * factory.C:
1996         * pariterator.C:
1997         * text2.C: wrap a bunch of #warning statements
1998         inside #ifdef WITH_WARNINGS blocks.
1999
2000 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2001
2002         * buffer.C: increment format to 233.
2003
2004 2004-04-28  Angus Leeming  <leeming@lyx.org>
2005
2006         * BufferView_pimpl.C:
2007         * lyxfunc.C:
2008         * text3.C:
2009         s/updateToolbar()/updateToolbars()/
2010         s/Toolbar.h/Toolbars.h/
2011
2012 2004-04-28  Angus Leeming  <leeming@lyx.org>
2013
2014         * BufferView.[Ch] (c-tor):
2015         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2016         No longer passes these data to the WorkArea generator.
2017
2018 2004-04-28  Angus Leeming  <leeming@lyx.org>
2019
2020         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2021
2022 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2023
2024         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2025
2026 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2027
2028         * output_latex.C (TeXEnvironment): make sure that there is a line
2029         break before \end{foo} for the last paragraph of a document
2030         (TeXOnePar): if the paragraph is at the end of the document (or
2031         inset) and the language has to be reset, then make sure that the
2032         line break is _before_ the language command, not after (fixes bug
2033         1225); also make sure that the language reset command is the first
2034         thing after the paragraph (to ensure proper nesting of
2035         environments and thus fix bug 1404)
2036
2037 2004-04-21  John Levon  <levon@movementarian.org>
2038
2039         * ToolbarBackend.h:
2040         * ToolbarBackend.C: make "name" be a programmatic name
2041         and a gui_name field.
2042
2043         * lyxfunc.C: display the minibuffer on M-x
2044
2045 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2046
2047         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2048         (bug 1526)
2049
2050 2004-04-19  Angus Leeming  <leeming@lyx.org>
2051
2052         * BufferView_pimpl.C (setBuffer): changed preview interface.
2053
2054         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2055         possible values.
2056
2057 2004-04-19  John Levon  <levon@movementarian.org>
2058
2059         * BufferView_pimpl.C:
2060         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2061
2062 2004-04-05  Angus Leeming  <leeming@lyx.org>
2063
2064         * text.C (redoParagraphs): add call to updateCounters(), thereby
2065         fixing the missing "Figure #:" label from the caption of a
2066         figure float.
2067
2068 2004-04-13  Angus Leeming  <leeming@lyx.org>
2069
2070         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2071         cursor is clicked out of an inset.
2072
2073 2004-04-13  Angus Leeming  <leeming@lyx.org>
2074
2075         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2076         than an InsetOld one.
2077
2078 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2079
2080         * format.[Ch]: add editor to Format
2081         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2082         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2083
2084 2004-04-08  André Pönitz  <poenitz@gmx.net>
2085
2086         * metricsinfo.h: remove PainterInfo::width member
2087
2088 2004-04-08  Angus Leeming  <leeming@lyx.org>
2089
2090         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2091         "\providecommand" rather than "\newcommand", thereby preventing
2092         clashes with packages that define "\boldsymbol" themselves.
2093         Eg, beamer.
2094
2095 2004-04-08  Angus Leeming  <leeming@lyx.org>
2096
2097         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2098         thereby squashing an unnecessary warning.
2099
2100 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2101
2102         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2103         setBuffer()
2104
2105 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * BufferView.C (setCursor): call redoParagraph (some insets could
2108         have been opened)
2109         (putSelectionAt): remove the 'double update' trick
2110
2111         * BufferView_pimpl.C (fitCursor): call refreshPar
2112         (workAreaDispatch): remove an uneeded update call
2113         (dispatch): remove some manual update calls
2114
2115         * cursor.[Ch]: remove cached_y_, updatePos
2116         (selHandle): set noUpdate when appropriate
2117
2118         * lyxfunc.C (dispatch): track if we need an update
2119
2120         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2121
2122         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2123         (paintSelection): cheap optimization, do not call cursorX when not
2124         needed
2125         (paintPars): change signature
2126         (refreshPar): add
2127         (paintText): adjust
2128         (paintTextInset): adjust
2129
2130         * text.C: adjust
2131
2132 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2133
2134         * lengthcommon.C: compilation fix: remove explicit array size from
2135         unit_name[] and friends
2136
2137 2004-04-05  Angus Leeming  <leeming@lyx.org>
2138
2139         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2140
2141         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2142         present only for the preferences dialog.
2143         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2144
2145 2004-04-05  Angus Leeming  <leeming@lyx.org>
2146
2147         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2148         to enable the frontends to export changes to lyxrc correctly.
2149
2150         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2151
2152 2004-04-07  André Pönitz  <poenitz@gmx.net>
2153
2154         * cursor.[Ch] (selClear, adjust): remove math
2155
2156         * cursor_slice.C: more agressive assert
2157
2158         * lyxfunc.C:
2159         * BufferView_pimpl.C: rework mouse event dispatch
2160
2161         * dociterator.C:
2162         * paragraph.C:
2163         * text2.C:
2164         * text3.C: adjust
2165
2166 2004-04-05  André Pönitz  <poenitz@gmx.net>
2167
2168         * cursor.[Ch] (valign, halign...): remove unneeded functions
2169
2170 2004-04-05  Angus Leeming  <leeming@lyx.org>
2171
2172         * lyxlength.[Ch] (unit_name et al.): const-correct.
2173
2174 2004-04-05  Angus Leeming  <leeming@lyx.org>
2175
2176         * BufferView_pimpl.C:
2177         * buffer.C:
2178         * counters.C:
2179         * cursor.C:
2180         * lyxfunc.C
2181         * paragraph.C:
2182         * pariterator.C:
2183         * text.C:
2184         * text2.C:
2185         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2186
2187 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2190
2191 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2194         * BufferView_pimpl.[Ch] (getStatus)
2195         * BufferView.[Ch] (getStatus): add
2196         * lyxfunc.C (getStatus): move lfuns handled in
2197         BufferView::dispatch to te function above
2198         * Cursor.C (setSelection): set selection() = true
2199
2200 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2201
2202         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2203
2204 2004-03-31  Angus Leeming  <leeming@lyx.org>
2205
2206         * lyxfunc.C (dispatch): Fall through to the generic
2207         Dialogs::show("preamble").
2208
2209 2004-03-31  Angus Leeming  <leeming@lyx.org>
2210
2211         * lyxfunc.C (dispatch): Fall through to the generic
2212         Dialogs::show("spellchecker").
2213
2214 2004-03-31  Angus Leeming  <leeming@lyx.org>
2215
2216         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2217         preferences dialog.
2218
2219 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2220
2221         * BufferView.C
2222         * cursor.[Ch]
2223         * dociterator.[Ch]:
2224         * insetiterator.[Ch]:
2225         * lyxfind.C:
2226         * lyxfunc.C:
2227         * pariterator.[Ch]:
2228         * text2.C:
2229         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2230
2231 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2232
2233         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2234         insets where we are putting the cursor.
2235
2236 2004-03-31  Angus Leeming  <leeming@lyx.org>
2237
2238         * lfuns.h:
2239         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2240
2241         * lyxrc.[Ch] (read, write): overloaded member functions taking
2242         a std::[io]stream arguments.
2243
2244         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2245
2246 2004-03-31  Angus Leeming  <leeming@lyx.org>
2247
2248         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2249         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2250
2251         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2252         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2253
2254 2004-03-31  Angus Leeming  <leeming@lyx.org>
2255
2256         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2257         the LFUN_ALL_INSETS_TOGGLE code.
2258
2259 2004-03-30  Angus Leeming  <leeming@lyx.org>
2260
2261         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2262         has died. Fall through to the generic Dialogs::show("document").
2263
2264 2004-03-30  Angus Leeming  <leeming@lyx.org>
2265
2266         * lfuns.h:
2267         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2268         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2269
2270         * lyxfunc.C (getStatus, dispatch): define the actions for these
2271         lfuns. Little more than a cut and pste job from ControlDocument.C
2272
2273         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2274
2275 2004-03-30  Angus Leeming  <leeming@lyx.org>
2276
2277         * lfuns.h:
2278         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2279         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2280
2281         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2282         open/closed state of ollapsable insets. Usage:
2283
2284         all-inset-toggle <state> <name>, where
2285         <state> == "open" || "closed" || "toggle" and
2286         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2287
2288         * lyxtext.h, text2.C (toggleInset): removed.
2289
2290         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2291         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2292         now passes LFUN_INSET_TOGGLE to the found inset.
2293
2294         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2295         is now invoked as "all-insets-toggle toggle branch".
2296
2297 2004-03-30  Angus Leeming  <leeming@lyx.org>
2298
2299         * dociterator.C:
2300         * insetiterator.C:
2301         * pariterator.[Ch]: added/corrected header blurb.
2302
2303 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2304
2305         * dociterator.[Ch]: add an inset_ member
2306         (backwardPos): implemented
2307         (backwardPos, forwardPos): use inset_ when the stack is empty.
2308         (doc_iterator_begin, doc_iterator_end): implemented
2309         * pariterator.[Ch]: adjust, add begin, end
2310         * insetiterator.[Ch]: adjust, add begin, end
2311         * cursor.C:
2312         * document.C:
2313         * BufferView.C:
2314         * BufferView_pimpl.C:
2315         * CutAndPaste.C: adjust
2316
2317 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2318
2319         * buffer.C: increment file format to 232.
2320         * LaTeXFeatures.C: add bibtopic package.
2321         * bufferparams.[Ch]: param \use_bibtopic.
2322
2323         * lyxrc.[Ch]: add lyxrc bibtex_command
2324         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2325
2326         * buffer.C: increment file format to 231.
2327
2328 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2329
2330         * dociterator.C: implement forwardPar
2331         * iterators.[Ch]: remove, replaced by
2332         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2333         * BufferView.C:
2334         * BufferView_pimpl.C:
2335         * CutAndPaste.C:
2336         * buffer.C:
2337         * bufferview_funcs.C:
2338         * cursor.C:
2339         * lyxfind.C
2340         * lyxfunc.C
2341         * paragraph_funcs.C
2342         * toc.C:
2343         * Makefile.am: adjust
2344
2345 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * CutAndPaste.C (pasteSelection): fix 2 crashes
2348         (eraseSelection): fix a crash
2349         * paragraph_funcs.C: remove a warning
2350
2351 2004-03-28  Angus Leeming  <leeming@lyx.org>
2352
2353         * lfuns.h:
2354         * LyXAction.C (init): new LFUN_PRINT.
2355
2356         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2357
2358 2004-03-27  Angus Leeming  <leeming@lyx.org>
2359
2360         * lfuns.h:
2361         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2362
2363         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2364
2365 2004-03-27  Angus Leeming  <leeming@lyx.org>
2366
2367         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2368         insetlist always contains non-null pointers to insets.
2369
2370 2004-03-26  Angus Leeming  <leeming@lyx.org>
2371
2372         * src/BufferView_pimpl.C:
2373         * src/CutAndPaste.C:
2374         * src/buffer.C:
2375         * src/iterators.C:
2376         * src/output_plaintext.C:
2377         * src/outputparams.h:
2378         * src/paragraph_funcs.C:
2379         * src/rowpainter.C:
2380         * src/text.C:
2381         * src/text2.C:
2382         * src/frontends/controllers/ControlErrorList.C:
2383         * src/frontends/gtk/FileDialogPrivate.C:
2384         * src/frontends/gtk/GPainter.C:
2385         * src/frontends/gtk/GToolbar.C:
2386         * src/frontends/qt2/QRef.C:
2387         * src/mathed/math_scriptinset.C: squash compiler warnings.
2388
2389 2004-03-26  Angus Leeming  <leeming@lyx.org>
2390
2391         * ispell.C (LaunchIspell::start):
2392         * lyx_cb.C (AutoSaveBuffer::start):
2393         invoke run(DontWait) rather than runNonBlocking().
2394
2395 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2396
2397         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2398
2399 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2400
2401         * kbsequence.C (print): adjust
2402
2403         * kbmap.C (printKeySym): rename and change signature
2404         (printKey): use LyXKeySym::print()
2405
2406 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2407
2408         * undo.C: add using std::advance to compile for stlport
2409
2410 2004-03-24  Angus Leeming  <leeming@lyx.org>
2411
2412         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2413         it leads to a crash when no buffer is present.
2414
2415 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2416             Martin Vermeer  <martin.vermeer@hut.fi>
2417
2418         * lyxfunc.C (dispatch):
2419         * bufferparams.C (readToken): use the new LColor::setColor
2420
2421         * LColor.[Ch] (setColor): new version that takes two strings as
2422         argument and creates a new color entry if necessary
2423
2424 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2425
2426         * buffer.C (makeLaTeXFile): if the main latex file that is
2427         processed is usually a subdocument of some master, then pretend
2428         for a while that it is actually the master
2429
2430 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2431
2432         * buffer.C (getLabelList):
2433         (getBibkeyList): use getMasterBuffer()
2434         (getMasterBuffer): new method. Returns the main document in the
2435         case where one is using included documents.
2436
2437 2004-03-25  André Pönitz  <poenitz@gmx.net>
2438
2439         * Makefile.am:
2440         * iterators.[Ch]:
2441         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2442
2443         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2444
2445         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2446         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2447
2448         * ParameterStruct.h: merge with ParagraphParameters
2449
2450         * lyxtext.h: remove LyXText::parOffset() and getPar()
2451
2452         * text3.C: Remove all 'manual' update calls. We do now one per user
2453         interaction which is completely sufficient.
2454
2455         * Bidi.C:
2456         * BufferView.[Ch]:
2457         * BufferView_pimpl.C:
2458         * FontIterator.[Ch]:
2459         * MenuBackend.C:
2460         * ParagraphParameters.[Ch]:
2461         * buffer.C:
2462         * buffer.h:
2463         * bufferlist.C:
2464         * cursor.[Ch]:
2465         * cursor_slice.[Ch]:
2466         * dociterator.[Ch]:
2467         * errorlist.[Ch]:
2468         * factory.C:
2469         * lfuns.h:
2470         * lyxfind.C:
2471         * lyxfunc.C:
2472         * output_docbook.[Ch]:
2473         * output_latex.[Ch]:
2474         * output_linuxdoc.[Ch]:
2475         * output_plaintext.[Ch]:
2476         * paragraph.[Ch]:
2477         * paragraph_funcs.[Ch]:
2478         * paragraph_pimpl.[Ch]:
2479         * rowpainter.C:
2480         * tabular.[Ch]:
2481         * text.C:
2482         * text2.C:
2483         * toc.C:
2484         * undo.[Ch]: adjust
2485
2486         * frontends/controllers/ControlDocument.C:
2487         * frontends/controllers/ControlErrorList.C:
2488         * frontends/controllers/ControlSpellchecker.C:
2489         * insets/inset.C:
2490         * insets/inset.h:
2491         * insets/insetbase.h:
2492         * insets/insetbibitem.C:
2493         * insets/insetbox.C:
2494         * insets/insetbranch.C:
2495         * insets/insetcaption.C:
2496         * insets/insetcharstyle.C:
2497         * insets/insetcharstyle.h:
2498         * insets/insetcollapsable.C:
2499         * insets/insetcollapsable.h:
2500         * insets/insetert.C:
2501         * insets/insetfloat.C:
2502         * insets/insetfoot.C:
2503         * insets/insetmarginal.C:
2504         * insets/insetnote.C:
2505         * insets/insetoptarg.C:
2506         * insets/insettabular.C:
2507         * insets/insettext.C:
2508         * insets/insettext.h:
2509         * insets/insetwrap.C:
2510         * mathed/math_mboxinset.C:
2511         * mathed/math_nestinset.C:
2512         * mathed/math_scriptinset.C:
2513         * mathed/math_scriptinset.h:
2514         * support/types.h:
2515
2516 2004-03-24  Angus Leeming  <leeming@lyx.org>
2517
2518         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2519         deal with any child processes that have finished but are waiting to
2520         communicate this fact to the rest of LyX.
2521
2522 2004-03-24  Angus Leeming  <leeming@lyx.org>
2523
2524         64-bit compile fixes.
2525
2526         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2527         (c-tor): pass lyx::pos_types rather than ints.
2528
2529         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2530         lyx::pos_type.
2531
2532         * text.C (Delete): compile fix.
2533         (getPar): ensure that function declaration is the same as that in
2534         the header file.
2535
2536 2004-03-23  Angus Leeming  <leeming@lyx.org>
2537
2538         * ispell.C (LaunchIspell):
2539         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2540         a boost::shred_ptr rather than a std::auto_ptr.
2541
2542 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2543
2544         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2545         handle LFUN_FILE_INSERT_*
2546
2547         * lyxrc.C (setDefaults, getDescription, output, read):
2548         * lyxrc.h: remove ps_command
2549
2550 2004-03-22  Angus Leeming  <leeming@lyx.org>
2551
2552         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2553         Ensure that error_handler is processed once only and that all data
2554         is saved before attempting to output any warning messages.
2555
2556         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2557
2558 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2559
2560         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2561
2562 2004-03-19  André Pönitz  <poenitz@gmx.net>
2563
2564         * cursor.[Ch] (reset): take main text inset as argument
2565
2566         * BufferView: adjust
2567         * BufferView_pimpl.C: adjust
2568
2569         * paragraph.[Ch]: fix completely broken operator=()
2570
2571 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2572
2573         * LColor.C (getFromLyXName): make sure that the color name is used
2574         as lowercase.
2575
2576 2004-03-17  Angus Leeming  <leeming@lyx.org>
2577
2578         * lfuns.h:
2579         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2580
2581         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2582         dialog and to kill a forked process.
2583
2584 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2585
2586         * text2.C (setCursorFromCoordinates): fix font problem
2587
2588 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2591         bogus "rebuild cursor" code
2592
2593 2004-03-11  André Pönitz  <poenitz@gmx.net>
2594
2595         * buffer.[Ch]: use InsetText instead of LyXText as container for
2596         the main lyx text.
2597
2598         * dociterator.[Ch]: drop the BufferView * member which is not needed
2599         anymore after the change to buffer.C
2600
2601         * paragraph_funcs.C:
2602         * text.C:
2603         * text2.C:
2604         * BufferView.[Ch]:
2605         * BufferView_pimpl.[Ch]:
2606         * cursor.[Ch]:
2607         * cursor_slice.[Ch]: adjust
2608
2609         * text3.C: fix bug in mathDispatch
2610
2611 2004-03-08  André Pönitz  <poenitz@gmx.net>
2612
2613         * undo.[Ch]: use 'StableDocumentIterator' as base for
2614         the Undo struct.
2615
2616 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2617
2618         * LaTeXFeatures.C:
2619         * bufferparams.[Ch]: add jurabib support and param.
2620
2621         * LaTeX.C: add FIXME/comment.
2622
2623 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2624
2625         * buffer.C: increment file format to 230.
2626
2627 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * cursor.C (dispatch): avoid infinite loops
2630
2631 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2632
2633         * rowpainter.C (paintSelection): fix x coordinates
2634
2635 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2636
2637         * text.C (rowBreakPoint): fix breaking before displayed insets
2638
2639 2004-03-01  André Pönitz  <poenitz@gmx.net>
2640
2641         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2642
2643         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2644
2645         * Makefile.am:
2646         * BufferView.C:
2647         * BufferView_pimpl.C:
2648         * buffer.C:
2649         * lyxfind.C:
2650         * lyxfunc.C:
2651         * text.C:
2652         * text2.C:
2653         * text3.C: adjust
2654
2655 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2656
2657         * lyxtext.h:
2658         * text.C:
2659         * text2.C:
2660         * rowpainter.C:
2661         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2662         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2663
2664 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2665
2666         * Bidi.[Ch] (computeTables): const correctness
2667         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2668         fill_hfill, fill_label_hfill and x from Row
2669         * lyxtext.h: prepareToPrint returns a RowMetrics
2670         * rowPainter.C: adjust
2671         * text.C (prepareToPrint): use width, not textWidth. adjust
2672         (redoParagraphInternal, cursorX): adjust
2673         * text2.C (getColumnNearX): adjust
2674         (init): put a default value to the top LyXText::width
2675
2676 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2679
2680 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * lyxtext.h: add FontIterator class
2683
2684         * text.C (FontIterator, operator*, operator->, operator++): add
2685         (rowBreakPoint, setRowWidth): adjust (fixing a
2686         rebreaking bug)
2687
2688 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2689
2690         * BufferView_pimpl.C (workAreaDispatch): allow also
2691         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2692
2693 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2694
2695         * text.C (rowBreakPoint): fix a bug showing with very large insets
2696
2697 2004-02-25  André Pönitz  <poenitz@gmx.net>
2698
2699         * text3.C:
2700         * cursor.[Ch]: move some mathed specific code to mathed
2701
2702 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2703
2704         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2705         use_tempdir in preferences
2706         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2707         tempfile creation
2708         * lyx_main.C: ensure that tempdir is valid
2709         * lyxlex.h: correct typo
2710         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2711         * paragraph.[Ch] (isMultiLingual): make const
2712         * cursor.[Ch] (openable): make const
2713
2714 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2715
2716         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2717
2718 2004-02-20  André Pönitz  <poenitz@gmx.net>
2719
2720         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2721
2722         * cursor.[Ch]: prepare for localized getStatus()
2723
2724         * lyxtext.h:
2725         * tabular.C:
2726         * text.C:
2727         * text2.C:
2728         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2729
2730 2004-02-20  André Pönitz  <poenitz@gmx.net>
2731
2732         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2733
2734 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * text2.C (setCursorFromCoordinates): switch to absolute coords
2737         (cursorUp): adjust
2738         (cursorDown): adjust
2739         * text3.C (dispatch): adjust
2740
2741 2004-02-16  André Pönitz  <poenitz@gmx.net>
2742
2743         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2744           insets/ChangeLog)
2745
2746         * cursor_slice.[Ch]: remove unneeded acessor function
2747
2748         * lyxtext.h: rename rtl() to isRTL()
2749
2750         * rowpainter.C:
2751         * tabular.C:
2752         * text.C:
2753         * text2.C:
2754         * text3.C: adjust
2755
2756 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2757
2758         * rowpainter.C (paintSelection): coord fix
2759
2760 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2761
2762         * Spacing.C: compile fix
2763
2764 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2765
2766         * cursor.C (dispatch): restore current_ before returning
2767
2768 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2769
2770         * text2.C (cursorUp, cursorDown): fix coords
2771         (moveUp): fix crash
2772
2773 2004-02-12  André Pönitz  <poenitz@gmx.net>
2774
2775         * lyxtext.h:
2776         * text.C:
2777         * text2.C:
2778         * text3.C: add LCursor & parameter to most cursor movement functions
2779           remove usage of LyXText::cursorRow() and cursorPar()
2780
2781         * cursor.[Ch]: add textRow() needed members
2782
2783         * BufferView.C:
2784         * BufferView_pimpl.C:
2785         * paragraph.[Ch]:
2786         * BufferView.C:
2787         * BufferView_pimpl.C: adjust
2788
2789 2004-02-11  André Pönitz  <poenitz@gmx.net>
2790
2791         * lyxfunc.C:
2792         * BufferView.[Ch]:
2793         * BufferView_pimpl.C: shift undo/redo handling
2794
2795         * cursor.[Ch]: fix mathed crash
2796
2797         * lyxfind.C:
2798         * lyxtext.h: move selectionAsText to LCursor
2799
2800         * output_latex.C:
2801         * paragraph.C:
2802         * text.C:
2803         * text2.C:
2804         * text3.C: adjust
2805
2806         * rowpainter.C: fix excessive drawing
2807
2808 2004-02-06  André Pönitz  <poenitz@gmx.net>
2809
2810         * BufferView.[Ch]:
2811         * BufferView_pimpl.[Ch]:
2812         * text3.C: move some text specific LFUN handling
2813
2814 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2815
2816         * text3.C (checkInsetHit): adjust coords
2817         * text2.C (getColumnNearX): adjust coords
2818         (edit): adjust coords
2819         * text.C (getRowNearY): add two asserts
2820
2821 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2822
2823         * converter.C:
2824         * format.C: add using std::distance to compile on gcc 2.95/stlport
2825
2826 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2827
2828         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2829
2830 2004-02-04  André Pönitz  <poenitz@gmx.net>
2831
2832         * BufferView.[Ch] (insertInset):
2833         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2834
2835         * text2.C:
2836         * text3.C: adjust
2837
2838 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2839
2840         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2841         on the default clause of the switch
2842         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2843         wasn't catched by LCursor::dispatch
2844
2845 2004-02-03  André Pönitz  <poenitz@gmx.net>
2846
2847         * BufferView.C:
2848         * cursor.[Ch]: some additional asserts
2849
2850         * undo.[Ch]: remove LyXText dependency in interface
2851
2852         * lyxfunc.C: adjust
2853
2854         * lyxtext.h (firstPar, lastPar): remove dead functions
2855
2856         * text.C:
2857         * text2.C:
2858         * text3.C:
2859         * paragraph.[Ch]: adjust
2860
2861 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2862
2863         * lyxfind.C (find): fix argument order in call to ::find
2864
2865 2004-02-02  André Pönitz  <poenitz@gmx.net>
2866
2867         * cursor.[Ch]: remove direct access to anchor
2868
2869         * text.C: remove findText() hack
2870
2871 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2872
2873         * iterators.[Ch] (lockPath): remove in favour of...
2874         * BufferView.[Ch] (setCursor): this addition
2875         * BufferView.C (putSelectionAt): adjust
2876         * undo.C (performUndoOrRedo): adjust
2877         * lyxfunc.C (dispatch): adjust
2878
2879 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2880
2881         * iterators.C (lockPath): add a missing slice
2882         * undo.C (performUndoOrRedo): remove redundant positioning code
2883
2884 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2885
2886         * vc-backend.C (scanMaster): ";" -> ';'
2887
2888 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2889
2890         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2891         std::binary_function
2892
2893         * lyxtextclass.C (compare_name): rename to...
2894         (LayoutNamesEqual): ...this
2895
2896         * lyxlex_pimpl.C (compare_tags): inherit from
2897         std::binary_function, put back into anon namespace
2898
2899         * lyxfind.C (MatchString): inherig from std::binary_function
2900         (findChange): use empty() istead of !size()
2901
2902         * format.C (FormatNamesEqual): new functor
2903         (getFormat): use it
2904         (getNumber): use it
2905         (add): use it
2906         (erase): use it
2907         (setViewer): use it
2908
2909         * converter.C (compare_Converter): rename to...
2910         (ConverterEqual): ...this, and fixup a bit.
2911         (getConverter): use it, and make function const
2912         (getNumber): use it, and make function const
2913         (add): use it
2914         (erase): use it:
2915
2916         * bufferlist.C: add using boost::bind
2917
2918         * MenuBackend.C (MenuNamesEqual): new functor
2919         (hasMenu): use it, and make function const
2920         (hasSubmenu): use nested bind to get rid of compare_memfun.
2921
2922 2004-01-30  André Pönitz  <poenitz@gmx.net>
2923
2924         * BufferView_pimpl.C:
2925         * cursor.C:
2926         * cursor.h:
2927         * cursor_slice.[Ch]:
2928         * lyxfunc.C:
2929         * lyxtext.h:
2930         * paragraph_funcs.C:
2931         * paragraph_funcs.h:
2932         * rowpainter.C:
2933         * text.C:
2934         * text2.C:
2935         * text3.C: move some of the edit(x,y) handling to the insets
2936         some coordinate changes.
2937
2938 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2939
2940         * text.C: add using statements for std::advance and std::distance
2941
2942         * paragraph.C: add using statement for std::distance
2943
2944         * lyxfind.C: add using statement for std::advance
2945
2946         * cursor.C (region): remove std:: from swap
2947         (openable): use nucleus in stead of operator->
2948
2949         * BufferView.C: add using statements for std::distance and std::swap
2950
2951 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2952
2953         * iterators.C: Remove the pimple, move the needed structures to
2954         the header file. Create accessor for the positions stack.
2955         (asPosIterator): remove function
2956
2957         * PosIterator.C (PosIterator): move constructors to top of file
2958         (PosIterator): reimplement the constructor taking a ParIterator in
2959         terms of setFrom.
2960         (setFrom): new function
2961         (operator!=): inline it
2962
2963 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2964
2965         * lyxfind.C (replaceAll): use std::advance
2966
2967         * iterators.h: inherit from std::iterator.
2968
2969         * PosIterator.C (advance, distance): remove
2970         * PosIterator.h: interit from std::iterator.
2971
2972 2004-01-26  André Pönitz  <poenitz@gmx.net>
2973
2974         * BufferView.[Ch]:
2975         * BufferView_pimpl.[Ch]:
2976         * InsetList.[Ch]:
2977         * PosIterator.[Ch]:
2978         * buffer.h:
2979         * bufferview_funcs.C:
2980         * cursor.[Ch]:
2981         * cursor_slice.h:
2982         * factory.[Ch]:
2983         * iterators.[Ch]:
2984         * lyxfind.C:
2985         * lyxfunc.C:
2986         * lyxtext.h:
2987         * output_docbook.C:
2988         * output_latex.C:
2989         * output_linuxdoc.C:
2990         * output_plaintext.C:
2991         * paragraph.[Ch]:
2992         * paragraph_funcs.[Ch]:
2993         * paragraph_pimpl.[Ch]:
2994         * rowpainter.C:
2995         * tabular.C:
2996         * tabular.h:
2997         * text.C:
2998         * text2.C:
2999         * text3.C: more IU:  dumps most of the rest of the mathcursor
3000     implementation into cursor.[Ch]; "globalize" a bit of it.
3001
3002 2004-01-25  Angus Leeming  <leeming@lyx.org>
3003
3004         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3005
3006 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3007
3008         * LaTeXFeatures.h: add nice_ and nice() const
3009         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3010
3011 2004-01-20  André Pönitz  <poenitz@gmx.net>
3012
3013         * BufferView.[Ch]:
3014         * BufferView_pimpl.C:
3015         * PosIterator.C:
3016         * bufferview_funcs.C:
3017         * cursor.[Ch]:
3018         * cursor_slice.[Ch]:
3019         * factory.C:
3020         * iterators.C:
3021         * lyx_cb.C:
3022         * lyxfind.C:
3023         * lyxfunc.C:
3024         * lyxtext.h:
3025         * rowpainter.C:
3026         * text.C:
3027         * text2.C:
3028         * text3.C:
3029         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3030           LCursor and mathcursor parts to LCursor and InsetBase.
3031
3032 2004-01-15  André Pönitz  <poenitz@gmx.net>
3033
3034         * cursor_slice.[Ch]: add a few covienience functions
3035
3036         * funcrequest.[Ch]: remove BufferView * member
3037
3038         * BufferView_pimpl.C:
3039         * cursor.C:
3040         * factory.[Ch]:
3041         * lyxfind.[Ch]:
3042         * lyxfunc.C:
3043         * lyxtext.h:
3044         * text3.C:
3045         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3046
3047 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3048
3049         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3050         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3051
3052 2004-01-13  André Pönitz  <poenitz@gmx.net>
3053
3054         * textcursor.[Ch]:
3055         * lyxtext.h: hide cursor and selection anchor behind accessor function
3056
3057         * BufferView.C:
3058         * BufferView_pimpl.[Ch]:
3059         * PosIterator.C:
3060         * bufferview_funcs.C:
3061         * cursor.h:
3062         * lyxfind.C:
3063         * lyxfunc.C:
3064         * text.C:
3065         * text2.C:
3066         * text3.C:
3067         * undo.C: adjust
3068
3069         * cursor.h:
3070         * cursor_slice.[Ch]: some integer type changes for inset unification
3071
3072         * lyxcursor.[hC]: remove, it's CursorSlice now.
3073
3074         * Makefile.am:
3075         * BufferView_pimpl.[Ch]:
3076         * bufferview_funcs.C:
3077         * cursor_slice.C:
3078         * lyxtext.h:
3079         * text.C:
3080         * text2.C:
3081         * text3.C:
3082         * textcursor.[Ch]: adjust
3083
3084 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3085
3086         * text2.C (undoSpan): add and use
3087         * text.C (breakParagraph): use undoSpan (fix bug 578)
3088         * lyxtext.h: adjust
3089
3090 2004-01-08  Angus Leeming  <leeming@lyx.org>
3091
3092         * BufferView_pimpl.C (MenuInsertLyXFile):
3093         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3094         * lyxfunc.C (menuNew, open, doImport):
3095         FileFilterList change to the FileDialog open and save functions.
3096
3097 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3098
3099         * ShareContainer.h: make isEqual and isUnique adaptable
3100
3101         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3102
3103 2004-01-07  Angus Leeming  <leeming@lyx.org>
3104
3105         * LyXAction.C:
3106         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3107
3108         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3109
3110         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3111         functions replacing find, replace and replaceAll.
3112
3113         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3114         LFUN_WORDFIND(FORWARD|BACKWARD).
3115
3116 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3117
3118         * text.C (breakParagraph): remove an outdated #warning
3119
3120 2004-01-07  André Pönitz  <poenitz@gmx.net>
3121
3122         * lyxfind.C: somewhat clearer logic
3123
3124         * text.C: prevent crash in cursorX on unitialized row cache
3125
3126 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3127
3128         * lyxcursor.[Ch] (operator>): add
3129         * textcursor.C (selStart, selEnd): use std::min and std::max
3130
3131 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3132
3133         * Chktex.C: include boost/format.hpp
3134
3135 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3136
3137         * InsetList.C: replace functor MathcIt with adaptable functor
3138         InsetTablePosLess
3139         (insetIterator): modify accordingly
3140
3141         * BranchList.h: move the BranchNamesEqual functor here from...
3142         * BranchList.C: ... to here
3143
3144         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3145         SameName and match.
3146         (add): replace a finding loop with std::find_if.
3147
3148 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3149
3150         * output_docbook.C: moving LatexParam functionality into
3151         .layout files
3152
3153 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3154
3155         * buffer.C: increment format to 229.
3156
3157 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3158
3159         * LaTeXFeatures.C:
3160         * lyx_sty.[Ch]: remove minipageindent_def
3161
3162         * LyXAction.C:
3163         * factory.C:
3164         * lfuns.h:
3165         * lyxfunc.C:
3166         * text3.C: remove LFUN_INSET_MINIPAGE
3167
3168 2003-12-28  Angus Leeming  <leeming@lyx.org>
3169
3170         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3171
3172 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3173
3174         * text2.C (setParagraph): fix off-by-one crash
3175
3176 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3177
3178         * output_docbook.C: header stuff for AGU
3179
3180 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3181
3182         * text2.C (redoCursor): remove
3183         * text.C:
3184         * text3.C:
3185         * BufferView_pimpl.C: remove calls to redoCursor and
3186         setCursor(cursor.par(), cursor.pos()) all around
3187
3188 2003-12-15  Angus Leeming  <leeming@lyx.org>
3189
3190         * buffer.C: up the format to 228.
3191
3192 2003-12-15  André Pönitz  <poenitz@gmx.net>
3193
3194         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3195         slices
3196
3197         * Makefile.am:
3198
3199         * BufferView_pimpl.C:
3200         * cursor.[Ch]:
3201         * lyxcursor.[Ch]:
3202         * rowpainter.[Ch]:
3203         * lyxtext.h:
3204         * text.C:
3205         * text2.C:
3206         * text3.C: adjust
3207
3208 2003-12-15  Angus Leeming  <leeming@lyx.org>
3209
3210         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3211         than getFromGUIName to manipulate the color.
3212
3213 2003-12-14  Angus Leeming  <leeming@lyx.org>
3214
3215         * BranchList.[Ch]: minimize the API.
3216         (Branch::getBranch, getColor): now return a 'const &'.
3217         (Branch::setSelected) now returns a bool set to true if the
3218         selection status changes.
3219         (BranchList::clear, size, getColor, setColor, setSelected,
3220         allBranches, allSelected, separator): removed.
3221         (BranchList::find): new functions, returning the Branch with
3222         the given name.
3223         (BranchList::add, remove): return a bool indicating that
3224         the operation was successful.
3225
3226         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3227         new InsetBranch::isBranchSlected member function.
3228
3229         * LColor.[Ch]: mimimize the API.
3230         (fill): renamed as addColor and made private.
3231         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3232         versions of these functions taking a string arg have been removed.
3233
3234         * bufferparams.C (readToken):
3235         * lyxfunc.C (dispatch):
3236         * lyxrc.C (read): changes due to the altered BranchList and
3237         LColor APIs.
3238
3239         * factory.C (createInset, readInset): changes due to altered
3240         InsetBranch c-tor.
3241
3242 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3243
3244         * factory.C:
3245         * lyxfunc.C: remove insetminipage. "minipage-insert"
3246         now produces a frameless minipage box inset.
3247
3248 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3249
3250         * textcursor.[Ch] (selStart,selEnd): add new methods
3251         remove selection::start, end, use LyXCursor::operator<
3252         * lyxcursor.[Ch] (operator<): add
3253         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3254         * BufferView.[Ch] (unsetXSel): add
3255         * text2.C (clearSelection): use unsetXSel,adjust
3256         * text.C: adjust
3257         * text3.C: adjust
3258         * rowpainter.C: adjust
3259         * bufferview_funcs.C (put_selection_at): adjust
3260
3261 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3262
3263         * BufferView_pimpl.C: small coord. correction
3264
3265 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3266
3267         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3268         dragging over the splash screen.
3269
3270 2003-12-11  Angus Leeming  <leeming@lyx.org>
3271
3272         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3273         as it is now handled in LyXText::dispatch.
3274
3275         * text3.C (doInsertInset): remove a level of nesting.
3276
3277 2003-12-11  Angus Leeming  <leeming@lyx.org>
3278
3279         * factory.C (createInset): changes due to the changed interface to
3280         InsetCommandMailer::string2params.
3281
3282 2003-12-10  Angus Leeming  <leeming@lyx.org>
3283
3284         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3285         'dialog-show-new-inset <inset name>'
3286
3287 2003-12-10  Angus Leeming  <leeming@lyx.org>
3288
3289         * buffer.C: up the format to 227.
3290
3291         * factory.C: the box inset is now identified simply by 'Box'.
3292
3293 2003-12-10  Angus Leeming  <leeming@lyx.org>
3294
3295         * buffer.C: up the format to 226.
3296
3297         * factory.C: the note inset is now identified simply by 'Note'.
3298
3299 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3300
3301         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3302         when a pit is enough. Standarize a couple of loops.
3303
3304 2003-12-05  Angus Leeming  <leeming@lyx.org>
3305
3306         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3307         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3308         data to the re-worked "log" dialog.
3309
3310 2003-12-03  André Pönitz  <poenitz@gmx.net>
3311
3312         * PosIterator.C:
3313         * iterators.C:
3314         * lyxtext.h:
3315         * output_latex.C:
3316         * paragraph_funcs.C:
3317         * text.C:
3318         * text2.C: use Inset::getText instead of Inset::getParagraph
3319
3320 2003-12-03  André Pönitz  <poenitz@gmx.net>
3321
3322         * buffer.[Ch]:
3323         * lyxtext.h:
3324         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3325         InsetText::read() as LyXText::read()
3326
3327 2003-12-02  Angus Leeming  <leeming@lyx.org>
3328
3329         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3330         type. Add a comment in the implementation that the function uses
3331         the stream's bad() function rather than fail() as the std::streams
3332         would do.
3333
3334 2003-12-02  André Pönitz  <poenitz@gmx.net>
3335
3336         * lyxlex.[Ch]: make interface more similar to std::stream
3337
3338         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3339
3340 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3341
3342         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3343
3344 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3345
3346         * vspace.[Ch]: remove VSpace::NONE
3347
3348 2003-12-01  André Pönitz  <poenitz@gmx.net>
3349
3350         * buffer.[Ch]:
3351         * lyxtext.h: move ParagraphList member to LyXText
3352         rename LyXText::ownerParagraphs to LyXText::paragraph
3353
3354         * CutAndPaste.C:
3355         * bufferview_funcs.C:
3356         * iterators.[Ch]:
3357         * lyx_cb.C:
3358         * paragraph.C:
3359         * rowpainter.C:
3360         * tabular.C:
3361         * text.C:
3362         * text2.C:
3363         * text3.C: adjust
3364
3365         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3366
3367         * undo.C: fix cursor positioning
3368
3369 2003-12-01  John Levon  <levon@movementarian.org>
3370
3371         * BufferView_pimpl.C: fix a crash on exit with
3372         a buffer open
3373
3374 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3375
3376         * BranchList.C: fix setSelected() method.
3377
3378 2003-11-28  André Pönitz  <poenitz@gmx.net>
3379
3380         * ParagraphParameters.[Ch]:
3381         * ParameterStruct.h: remove space above/below from Paragraph to
3382          InsetVSpace
3383
3384         * BufferView_pimpl.C:
3385         * factory.C:
3386         * lyxfunc.C:
3387         * lyxtext.h:
3388         * output_latex.C:
3389         * paragraph.C:
3390         * paragraph_funcs.C:
3391         * rowpainter.[Ch]:
3392         * text.C:
3393         * text2.C:
3394         * text3.C: adjust
3395
3396 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3397
3398         * factory.C: Syntax change for CharStyles
3399
3400 2003-11-28  André Pönitz  <poenitz@gmx.net>
3401
3402         * BufferView.[Ch]:
3403         * BufferView.[Ch]:
3404         * buffer.[Ch]:
3405         * buffer.[Ch]: move LyXText member
3406
3407 2003-11-28  André Pönitz  <poenitz@gmx.net>
3408
3409         * BufferView.[Ch]: make LyXText * text a private member
3410
3411         * BufferView_pimpl.C:
3412         * cursor.C:
3413         * iterators.C:
3414         * lyx_cb.C:
3415         * lyxfind.C:
3416         * lyxtext.h:
3417         * rowpainter.[Ch]:
3418         * text.C:
3419         * text2.C:
3420         * undo.C: adjust
3421
3422         * output_plaintext.C: cleanup
3423
3424 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3425
3426         * buffer.C:
3427         * lyxtextclass.[Ch]: parametrize SGML document header
3428
3429 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3430
3431         * converter.[Ch]:
3432         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3433         getFlavor().
3434
3435 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3436
3437         * text2.C (setFont): rework using PosIterator (no more recursive)
3438         (setCharFont): no more needed
3439         (setLayout): no more selection cursors fiddling (done by redoCursor)
3440         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3441         destroy remaining ones)
3442
3443 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3444
3445         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3446         * lyxtext.h: ditto
3447         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3448         selection cursors
3449         * lyxfunc.C: adjust
3450         * text3.C: adjust + re-allow multi par depth changes
3451         * textcursor.C: simplify a bit
3452
3453 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3454
3455         * src/buffer.C:
3456         * src/lyxlayout.C:
3457         * src/lyxlayout.h:
3458         * src/lyxtext.h:
3459         * src/output_docbook.C:
3460         * src/output_latex.C:
3461         * src/paragraph.C:
3462         * src/paragraph.h:
3463         * src/sgml.C:
3464         * src/sgml.h:
3465         * src/text2.C: Introducing a number of tags parametrizing various
3466         XML formats that we may want to support
3467
3468 2003-11-25  André Pönitz  <poenitz@gmx.net>
3469
3470         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3471
3472         * lyxtext.h (leftMargin/rightMargin): simplify interface
3473
3474         * rowpainter.C:
3475         * text.C:
3476         * text2.C:
3477         * text3.C: adjust
3478
3479 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3480
3481         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3482         master file to any child files. Fixes bug 546.
3483
3484 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3485
3486         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3487
3488 2003-11-24  André Pönitz  <poenitz@gmx.net>
3489
3490         * rowpainter.C: simplification
3491
3492         * text2.C (updateCounters): remove call to redoParagraph on
3493         changed labels as this is far too expensive.
3494
3495 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3496
3497         * converter.C (convert): fix a crash: this function gets
3498         called with buffer == 0 from importer code.
3499
3500 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3501
3502         * text3.C (cursorPrevious): make sure that we do not compare
3503         iterators form different containers.
3504         (cursorNext): ditto
3505
3506         * rowpainter.C (paintSelection): make sure that we do not compare
3507         iterators from different containers.
3508
3509         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3510         iterators from different ParagraphList containers.
3511         [NEXT] ditto
3512
3513         * text2.C (LyXText): change order of initialization slightly
3514         (operator=): new function. copy all variables except cache_par_
3515         (moveUp): make sure that we do not compare iterators from
3516         different ParagraphList constainers.
3517         (moveDown): ditto
3518
3519         * text.C (firstPar): new function
3520         (lastPar): new function
3521         (endPar): new function
3522
3523         * lyxtext.h: move things around and group public functions, public
3524         variables, private functions, private variables
3525
3526 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3527
3528         * factory.C: change call to InsetERT constructor to avoid
3529         additional invocation of method status
3530         * text2.C (toggleInset): remove redundant update() call
3531         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3532         instead of a Bufferview pointer
3533
3534 2003-11-21  André Pönitz  <poenitz@gmx.net>
3535
3536         * rowpainter.C: simplification
3537
3538 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3539
3540         * text3.C (dispatch): make possible to extend a word/row selection
3541         with the mouse
3542
3543 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3544
3545         * lyxtext.h: x0_,y0_ -> xo_,yo_
3546         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3547         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3548         * rowpainter.C (paintRows): paint full paragraphs
3549
3550 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3551
3552         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3553         screen coordinates)
3554
3555 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3556
3557         * lyxtext.h: add x0_, y0_
3558         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3559         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3560
3561 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3562
3563         * text2.C (setCursorIntern): move the x_target update here *
3564         * text3.C: change some bv() to true/false in calls to
3565         cursorUp/Down/Right/Left
3566         * cursor.C: use helper function.
3567
3568 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3569
3570         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3571         * paragraph_funcs.[Ch]: correct comment
3572         * rowpainter.C: do not paint selections away from bv->cursor()
3573         Fix a long standing selection painting bug.
3574         * text3.C: generalize mouse-selection code to LyXTexts other that
3575         top one
3576         * textcursor.C: do not use y coords if we can use par offsets
3577
3578 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3579
3580         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3581         cursor position after e.g. inset insert)
3582
3583 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3584
3585         * lyxfind.C (replace): adjust to locking removal + some
3586         code simplification
3587
3588 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3589
3590         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3591         of the path
3592
3593 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3594
3595         * lyxlayout.[Ch]:
3596         * output_docbook.C: XML sanitation: new layout
3597         parameters InnerTag and CommandDepth
3598
3599 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3600
3601         * BufferView_pimpl.C:
3602         * factory.C:
3603         * text3.C: Fix the insertion and modification of button-style
3604         insets
3605
3606 2003-11-13  André Pönitz  <poenitz@gmx.net>
3607
3608         * InsetList.[Ch]: remove deleteLyXText
3609
3610         * paragraph.[Ch]: cache beginOfBody position
3611
3612         * Bidi.C:
3613         * text.C:
3614         * text2.C:
3615         * text3.C: remove superfluous update() calls
3616
3617         * vspace.C: cleanup
3618
3619 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3620
3621         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3622         * BufferView.C (fitLockedInsetCursor): remove
3623         * cursor.[Ch] (getDim): add
3624         * text.C (getRowNearY): add faster version
3625         * text3.C: remove some update calls
3626
3627 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3628
3629         * LaTeXFeatures.C:
3630         * LyXAction.C:
3631         * MenuBackend.C:
3632         * MenuBackend.h:
3633         * dispatchresult.h:
3634         * factory.C:
3635         * lfuns.h:
3636         * lyxfunc.C:
3637         * lyxtextclass.C:
3638         * lyxtextclass.h:
3639         * text3.C: The Character Style /XML short element patch.
3640
3641 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3642
3643         * text3.C:
3644         * factory.C: Small step to solving 'unable to insert some insets'
3645         problem
3646
3647 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3648
3649         * cursor.[Ch] (updatePos): new function for updating the y
3650         position of the tip inset
3651         * bufferview_funcs.C (put_selection_at):
3652         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3653
3654 2003-11-11  André Pönitz  <poenitz@gmx.net>
3655
3656         * text.C: remove big comment on invalid Paragraph pointers as it is
3657         not valid anymore
3658
3659 2003-11-11  André Pönitz  <poenitz@gmx.net>
3660
3661         * text_funcs.[Ch]: merge with ...
3662
3663         * text.C: ... this
3664
3665         * lyxtext.h:
3666         * text2.C:
3667         * text3.C: adjust
3668
3669         * Makefile.am: remove text_funcs.[Ch]
3670
3671 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3672
3673         * cursor.C (getPos): return absolute cached y coord
3674
3675         * BufferView_pimpl.C (fitCursor): new simplistic code
3676         (workAreaDispatch): add a fitCursor call
3677
3678 2003-11-10  André Pönitz  <poenitz@gmx.net>
3679
3680         * BufferView.[Ch]:
3681         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3682
3683 2003-11-10  André Pönitz  <poenitz@gmx.net>
3684
3685         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3686         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3687         indicate that the cursor needs to leave an inset
3688
3689         * lyxtext.h: remove inset locking
3690
3691         * cursor.[Ch]: re-implement functionality provided by inset locking
3692
3693         * BufferView.[Ch]:
3694         * BufferView_pimpl.[Ch]:
3695         * LyXAction.C:
3696         * bufferview_funcs.[Ch]:
3697         * factory.C:
3698         * funcrequest.[Ch]:
3699         * iterators.C:
3700         * lyx_cb.C:
3701         * lyxfind.C:
3702         * lyxfunc.C:
3703         * text.C:
3704         * text2.C:
3705         * text3.C:
3706         * undo.C: adjust
3707
3708 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3709
3710         * PosIterator.[Ch]: replace the stack with a vector, add inset
3711         accesor
3712         * iterators.[C]: adjust
3713
3714 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3715
3716         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3717         replaced
3718         * paragraph_funcs.C (readParToken): put the correct id in the
3719         error item, not the id of the top paragraph
3720
3721 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3722
3723         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3724         * bufferview_funcs.C (put_selection_at): use the above
3725
3726 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3727
3728         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3729
3730 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3731
3732         * output_linuxdoc.h:
3733         * output_plaintext.h:
3734         * output.h:
3735         * output_docbook.h: add #include statements
3736
3737 2003-11-05  José Matos  <jamatos@lyx.org>
3738
3739         * output_docbook.[Ch]:
3740         * output_latex.[Ch]:
3741         * output_linuxdoc.[Ch]:
3742         * output_plaintext.[Ch]: New files for output formats.
3743         * output.[Ch]: New file for helper functions.
3744
3745         * buffer.[Ch]:
3746         * paragraph_funcs.[Ch]: output functions moved to new files.
3747
3748         * outputparams.h: rename of latexrunparams.h
3749
3750         * LaTeX.[Ch]:
3751         * buffer.[Ch]:
3752         * bufferlist.[Ch]:
3753         * converter.[Ch]:
3754         * exporter.C:
3755         * paragraph.[Ch]:
3756         * paragraph_funcs.[Ch]:
3757         * paragraph_pimpl.[Ch]:
3758         * tabular.[Ch]: rename ascii to plaintext
3759         and LatexRunParams to OutputParams.
3760
3761 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3762
3763         * iterators.[Ch] (text): require bv argument
3764         * undo.C (recordUndo):
3765         * lyxfunc.C (dispatch):
3766         * bufferview_funcs.C (put_selection_at): adjust
3767
3768 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3769
3770         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3771
3772 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3773
3774         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3775         nestings
3776
3777 2003-11-04  André Pönitz  <poenitz@gmx.net>
3778
3779         * cursor.[Ch]: restructure
3780
3781         * BufferView.[Ch]:
3782         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3783
3784         * iterators.[Ch] (asCursor): remove
3785
3786         * lfuns.h: remove LFUN_INSET_EDIT
3787
3788         * lyxfunc.C:
3789         * tabular.C:
3790         * text.C:
3791         * text2.C:
3792         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3793
3794 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3795
3796         * lyxfind.[Ch]: complete overhaul
3797         * BufferView_pimpl.C:
3798         * lyxfunc.C: adjust
3799         * paragraph.[Ch] (insert): add
3800
3801 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3802
3803         * BufferView.[Ch]:
3804         * lyxtext.h:
3805         * text.C: remove dead spellcheck code
3806
3807 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3808
3809         * dispatchresult.h: add a val setter
3810
3811         * cursor.C (dispatch): use a tempvar for data_[i]
3812
3813 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3814
3815         * PosIterator.[Ch]: compile fix
3816
3817 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * text.C (cursorPar): deactivate the cursor cache
3820
3821 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3822
3823         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3824
3825 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * text3.C (dispatch): adjust for new DisptchResult semantics.
3828
3829         * lyxfunc.C (dispatch): handle update when return from
3830         Cursor::dispatch, adjust for new DispatchResult semantics.
3831
3832         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3833         DispatchResult(true) mean to not update. Add class functions for
3834         setting dispatched and update, as well as reading.
3835
3836         * cursor.C (dispatch): don't handle update here
3837
3838 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3841         * trans_mgr.C: adjust
3842
3843         * paragraph_funcs.C (readParToken): exception safety
3844
3845         * lyxvc.h: store the vcs pointer in a scoped_ptr
3846         * lyxvc.C: adjust
3847
3848         * lyxsocket.C (serverCallback): exception safety
3849
3850         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3851
3852         * ispell.C (clone): make it return a auto_ptr
3853
3854         * factory.C (createInset): exception safety
3855         (readInset): exception safety
3856
3857         * bufferlist.C (newBuffer): exception safety
3858
3859         * Thesaurus.C (Thesaurus): use initialization for aik_
3860
3861         * MenuBackend.C (expandToc): exception safety.
3862
3863 2003-11-03  André Pönitz  <poenitz@gmx.net>
3864
3865         * buffer.C:
3866         * buffer.h:
3867         * bufferview_funcs.C: remove getInsetFromId()
3868
3869         * lyxcursor.[Ch]:
3870         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3871
3872         * lyxfunc.C:
3873         * text2.C:
3874         * text3.C: adjust
3875
3876 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * PosIterator.C (distance, advance): new
3879         * bufferview_funcs.[Ch] (put_selection_at): new
3880         * iterators.[Ch] (lockPath): new
3881
3882 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * iterators.[Ch] (asPosIterator): added
3885         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3886         * PosIterator.[Ch]: added
3887
3888 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * text3.C:
3891         * lyxfunc.C:
3892         * cursor.C (dispatch):
3893         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3894
3895         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3896         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3897         contructor, add a class function dispatched. Remove operator>=
3898
3899 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * debug.C: only use the default constructor for debugstream
3902         (lyxerr) here.
3903
3904         * main.C (main): include debug.h and setup the lyxerr streambuf
3905         here.
3906
3907 2003-10-31  José Matos  <jamatos@lyx.org>
3908
3909         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3910
3911         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3912         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3913         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3914         * paragraph_pimpl.C (simpleTeXSpecialC):
3915         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3916         add LatexRunParams argument.
3917
3918         * exporter.C (Export): change call accordingly.
3919
3920         * latexrunparams.h: add new member to take care of the other backends.
3921 2003-10-30  José Matos  <jamatos@lyx.org>
3922
3923         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3924         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3925         factorise code for paragraph output.
3926         * buffer.[Ch]:
3927         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3928         move functions.
3929
3930 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * text3.C (dispatch):
3933         * lyxfunc.C (dispatch):
3934         * cursor.C (dispatch):
3935         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3936
3937         * dispatchresult.h: make the dispatch_result_t ctor explicit
3938
3939 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3940
3941         * sgml.[Ch]:
3942         * buffer.C: small refactoring of docbook stuff
3943
3944 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3947         meaning.
3948
3949 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3952         operator dispatch_result_t, and operators for == != and >=
3953
3954         * cursor.C (dispatch): adjust for operator dispatch_result_t
3955         removal. comment out call to update
3956
3957         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3958
3959 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * text3.C:
3962         * text2.C:
3963         * text.C:
3964         * lyxtext.h:
3965         * lyxfunc.C:
3966         * cursor.C:
3967         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3968         (dispatch):
3969
3970         * dispatchresult.h: new file, DispatchResult broken out of
3971         insets/insetbase.h
3972
3973         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3974
3975 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3976
3977         * text.C (rowBreakPoint): put a hack inside #if 0
3978
3979 2003-10-28  André Pönitz  <poenitz@gmx.net>
3980
3981         * lyxtext.h:
3982         * metricsinfo.C:
3983         * paragraph_funcs.C:
3984         * rowpainter.C:
3985         * text.C:
3986         * text2.C: general cleanup (lots of small stuff)
3987
3988 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3989
3990         * text2.C (cursorEnd): simple fix to the "end key goes to one
3991         before the end on last row" bug
3992
3993 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3994
3995         * text.C (backspace): fix the "zombie characters"
3996
3997 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3998
3999         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4000
4001 2003-10-27  André Pönitz  <poenitz@gmx.net>
4002
4003         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4004
4005         * factory.C: handle new InsetPagebreak, InsetLine
4006
4007         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4008         and move handling into new InsetPagebreak, InsetLine
4009
4010         * BufferView_pimpl.C:
4011         * LyXAction.C:
4012         * ParagraphParameters.C:
4013         * ParameterStruct.h:
4014         * lyxfunc.C:
4015         * lyxtext.h:
4016         * paragraph.C:
4017         * paragraph.h:
4018         * paragraph_funcs.C:
4019         * paragraph_pimpl.C:
4020         * rowpainter.C:
4021         * text.C:
4022         * text2.C:
4023         * text3.C: adjust
4024
4025 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4026
4027         * text.C:
4028         * lyxrow_funcs.[Ch]:
4029         * Bidi.C:
4030         * paragraph.C:
4031         * lyxtext.h:
4032         * rowpainter.C:
4033         * text2.C:
4034         * text3.C: remove lastPos uses in favour of Row::endpos
4035
4036 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4037
4038         * undo.C (performUndoOrRedo): fix two crashes by setting a
4039         cursor by hand and reordering some calls. Use bv->lockInset instead
4040         of inset->edit because the latter loses cursor information
4041
4042 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4043
4044         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4045         by Martin
4046         (rowBreakPoint): fix width. change point to point + 1.
4047         Add a missing check.
4048
4049 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4050
4051         * MenuBackend.C:
4052         * lyxfunc.C: fix (at least partly) the problems
4053         with the Nav menu and headers inside branch insets
4054         reported by Kayvan
4055
4056 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * paragraph.C (getChar): add strong asserts
4059
4060         * lyxrow_funcs.C (lastPos): remove hideous hack
4061
4062         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4063         (fill): adjust to that (avoid an infinite loop)
4064
4065 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4066
4067         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4068
4069 2003-10-23  André Pönitz  <poenitz@gmx.net>
4070
4071         * RowList_fwd.h: change list<> to vector<> to gain speed
4072         after suggestion from Alfredo
4073
4074 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4075
4076         * lyxtext.h: move the bidi stuff from here...
4077         * text.C: and here
4078         * text2.C: and here
4079         * Bidi.[Ch]: ... to here
4080
4081 2003-10-23  André Pönitz  <poenitz@gmx.net>
4082
4083         * lyxtext.h:
4084         * text.C (isLastRow, isFirstRow): new functions
4085
4086         * paragraph.h: new width cache member
4087
4088         * rowpainter.C: replace RowList::iterator with Row & where possible
4089
4090         * lyxfunc.C: replace several view()->text with a single call
4091
4092         * toc.C: fix 'unused' warning
4093
4094 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4095
4096         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4097         when woring with stream::pos_type
4098         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4099
4100 2003-10-22  André Pönitz  <poenitz@gmx.net>
4101
4102         * lyxtext.h:
4103         * text.C: use Row & instead of RowList::iterator
4104
4105         * lyxrow.h: rename end() to endpos()
4106
4107         * rowpainter.C:
4108         * text.C:
4109         * text2.C: adjust
4110
4111 2003-10-22  Angus Leeming  <leeming@lyx.org>
4112
4113         * buffer.[Ch] (fully_loaded): new member function, returning true
4114         only when the file has been loaded fully.
4115         Used to prevent the premature generation of previews and by the
4116         citation inset to prevent computation of the natbib-style label.
4117
4118         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4119         templates are all set up.
4120
4121         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4122
4123 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4124
4125         * text.C: fixed an "oops" in the "is a bit silly"
4126         bug fix
4127
4128 2003-10-21  André Pönitz  <poenitz@gmx.net>
4129
4130         * FuncStatus.[Ch]: small stuff, whitespace
4131
4132         * lyxfont.[Ch]: operator<<() for debug reasons
4133
4134         * lyxfunc.C:
4135         * lyxrow_funcs.C:
4136         * lyxtext.h: whitespace, spelling
4137
4138         * paragraph.C: naming of variables
4139
4140         * text.C:
4141         * text2.C: small stuff
4142
4143
4144 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4145
4146         * text.C: (1) finish off the inset display() work;
4147         (2) fix the "is a bit silly" bug (accessing char
4148         past end of par).
4149
4150 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4151
4152         * text.C: re-introduce display() for insets, fixing the
4153         various bugs (stretch of line above, math inset
4154         positioning, ...)
4155
4156 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4157
4158         * text.C (rightMargin): remove spurious semicolon
4159
4160         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4161         1415)
4162
4163 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4164
4165         * text3.C: fix one crash due to wrong cursor def
4166
4167 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * vc-backend.C (scanMaster): make the regex static
4170
4171         * LaTeX.C (scanAuxFile): make the regexs static
4172
4173         * text3.C (doInsertInset, dispatch, dispatch):
4174         * text2.C (cursorUp, cursorDown):
4175         * text.C (selectNextWordToSpellcheck):
4176         * BufferView_pimpl.C (dispatch):
4177         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4178
4179 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4180
4181         * lyxsocket.C: include <cerrno>
4182
4183 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * lyxfunc.C (dispatch): remove textcache stuff
4186
4187         * bufferlist.C (release): remove textcache stuff
4188         (closeAll): ditto
4189
4190         * TextCache.C: delete file
4191         * TextCache.h: delete file
4192
4193         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4194
4195         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4196         delete of the bv_->text.
4197         (resizeCurrentBuffer): remove texcache stuff
4198         (workAreaResize): ditto
4199
4200 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4203         action.
4204
4205 2003-10-16  André Pönitz  <poenitz@gmx.net>
4206
4207         * lyxrow.[Ch]:
4208         * paragraph.h:
4209         * rowpainter.C:
4210         * text.C:
4211         * text2.C:
4212         * text3.C: speed up by storing y positions per paragraph plus per-row
4213         offset instead of having a 'full' y position in the row.
4214
4215 2003-10-15  André Pönitz  <poenitz@gmx.net>
4216
4217         * iterators.[Ch]:
4218         * iterators.[Ch]:
4219         * undo.[Ch]: make undo aware of inner insets
4220
4221 2003-10-14  Angus Leeming  <leeming@lyx.org>
4222
4223         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4224         static member functions LyX::ref() and LyX::cref.
4225         (lastfiles): new accessor functions for the new lastfiles_ member var.
4226         (addLyXView, views_): add a new LyXView to the list of views_.
4227         (updateInset): loop over all LyXViews to call their own updateInset
4228         member function, returning a pointer to the Buffer owning the inset.
4229
4230         * BufferView_pimpl.C (loadLyXFile):
4231         * MenuBackend.C (expandLastfiles):
4232         * bufferlist.C (MenuWrite, QuitLyX):
4233         lastfiles is no longer a global variable.
4234         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4235
4236         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4237         static function. Access through LyX::cref().emergencyCleanup().
4238
4239 2003-10-14  André Pönitz  <poenitz@gmx.net>
4240
4241         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4242
4243         * undo.[Ch]: restoring part of 'undo in insets'
4244
4245         * Makefile.am:
4246         * undo_funcs.[Ch]: merge with undo.[Ch]
4247
4248         * tabular.C: small cleansing stuff
4249
4250 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * paragraph_funcs.C (readParToken): report unknown insets as error
4253         boxes. Use the outer paragraph as location (also for unknown
4254         tokens).
4255
4256         * factory.C (readInset): do not abort on reading an unknown inset.
4257         Eat it and return 0.
4258
4259 2003-10-13  Angus Leeming  <leeming@lyx.org>
4260
4261         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4262
4263         * lyxrc.C: displayTranslator is now a function,
4264         declared in GraphicsTypes.h.
4265
4266 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4267
4268         * format.C: new placeholder $$a to pass the socket address.
4269
4270         * bufferlist.[Ch]: new function getBufferFromTmp.
4271
4272         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4273           files in the temporary dir.
4274
4275 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4276
4277         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4278
4279         * Makefile.am: add lyxsocket.[Ch].
4280
4281         * lyx_main.C (error_handler): handle SIGPIPE.
4282
4283 2003-10-13  André Pönitz  <poenitz@gmx.net>
4284
4285         * BufferView_pimpl.C:
4286         * lyxtext.h:
4287         * text.C:
4288         * text2.C:
4289         * text3.C:
4290         * undo_funcs.[Ch]: use paroffset_type instead of
4291           ParagraphList::iterators to prevent multiple conversion
4292           (and get a more robust interface)
4293
4294 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4295
4296         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4297         * lyxtext.h: ditto
4298         * text3.C (dispatch): ditto
4299
4300 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4303         move the onlyfile, use onlyfile instead of foundfile in a couple
4304         of places.
4305
4306         * DepTable.C (update): flush the error stream a bit more
4307
4308 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * lyxserver.C (callback): adjust
4311
4312         * lyxfunc.C (getStatus): add a missing brace in commented code
4313         (ensureBufferClean): reindent
4314         (dispatch): delete version taking a string
4315
4316 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * LaTeX.C (deplog): move found file handlig from here...
4319         (handleFoundFile): .. to new function here.
4320         (deplog): make sure to discover several files mentioned on the
4321         same log line.
4322
4323 2003-10-10  André Pönitz  <poenitz@gmx.net>
4324
4325         * lyxfunc.C:
4326         * lyxtext.h:
4327         * tabular.C:
4328         * text.C:
4329         * text2.C:
4330         * text3.C: fix some of the tabular crashes
4331
4332 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4333
4334         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4335
4336         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4337
4338 2003-10-09  André Pönitz  <poenitz@gmx.net>
4339
4340         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4341
4342         * BufferView.C:
4343         * BufferView_pimpl.C:
4344         * bufferview_funcs.C:
4345         * lyx_cb.C:
4346         * lyxcursor.C:
4347         * lyxfind.C:
4348         * lyxfunc.C:
4349         * lyxtext.h:
4350         * text.C:
4351         * text2.C:
4352         * text3.C:
4353         * text_funcs.[Ch]:
4354         * textcursor.[Ch]:
4355         * undo_funcs.C: adjust
4356
4357 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * text2.C (incrementItemDepth): new function, use a backtracking
4360         algorithm to discover the correct item depth.
4361         (resetEnumCounterIfNeeded): new function, use a backtracking
4362         algorithm to discover if counter reset is needed.
4363         (setCounter): use them. Simplify a bit. Add different labels for
4364         different item depths for itemize.
4365
4366         * paragraph.C (Paragraph): remove initialization of enumdepth
4367         (operator=): ditto
4368
4369         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4370         enumerate and itemize. Change the type of itemdepth to signed char.
4371
4372 2003-10-08  André Pönitz  <poenitz@gmx.net>
4373
4374         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4375           thing assignable.
4376         * text.C:
4377         * text2.C: adjust
4378
4379         * tabular.[Ch]: fix crash after 'row-insert'
4380
4381 2003-10-08  Angus Leeming  <leeming@lyx.org>
4382
4383         Fix doxygen warnings.
4384
4385         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4386         Remove CutAndPaste:: prefix from header file declaration.
4387
4388         * LColor.h (fill): remove LColor:: prefix from declaration.
4389
4390         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4391         use lyx::depth_type rather than Paragraph::depth_type so that
4392         header file and .C file match.
4393
4394         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4395
4396         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4397         * aspell.C: \file aspell_local.C -> \file aspell.C
4398         * gettext.C: \file gettext.C -> \file src/gettext.C
4399         * gettext.h: \file gettext.h -> \file src/gettext.h
4400         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4401         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4402         * text.C: \file text.C -> \file src/text.C
4403
4404         * toc.C: move comment so that doxygen is not confused.
4405
4406 2003-10-07  Angus Leeming  <leeming@lyx.org>
4407
4408         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4409
4410 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4411
4412         * aspell.C:
4413         * aspell_local.h: add forgotten std::string's.
4414
4415 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4416
4417         * LaTeXFeatures.C:
4418         * LyXAction.C:
4419         * factory.C:
4420         * lfuns.h:
4421         * lyxfunc.C:
4422         * text3.C: The Box patch. Fancybox support, minipage, parbox
4423
4424 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4425
4426         * CutAndPaste.h:
4427         * DepTable.h:
4428         * FloatList.h:
4429         * LaTeXFeatures.h:
4430         * ParagraphParameters.h:
4431         * TextCache.h:
4432         * Thesaurus.h:
4433         * bufferlist.h:
4434         * exporter.h:
4435         * importer.h:
4436         * lastfiles.h:
4437         * lyxfind.h:
4438         * lyxfont.h:
4439         * lyxlex.h:
4440         * lyxtextclasslist.h:
4441         * messages.h:
4442         * paragraph.h:
4443         * paragraph_pimpl.C:
4444         * textcursor.h: add <string> and other small fixes to make Lars'
4445         std::string patch compile with STLport.
4446
4447 2003-10-06  Angus Leeming  <leeming@lyx.org>
4448
4449         * LColor.h: Add missing #include <string>.
4450
4451 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4452
4453         * All most all file in all subdirs: Make <string> be the prefered
4454         way of getting to std::string, add using declarations.
4455
4456 2003-10-06  André Pönitz  <poenitz@gmx.net>
4457
4458         * metricsinfo.C: initialize LyXFont before changing attribute.
4459         (fixes the 'math in \emph is upright' bug)
4460
4461 2003-10-06  André Pönitz  <poenitz@gmx.net>
4462
4463         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4464
4465 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4466
4467         * graph.C:
4468         * paragraph_pimpl.C: Small fixes to build using STLport
4469
4470 2003-10-02  André Pönitz  <poenitz@gmx.net>
4471
4472         * lyxfunc.C:
4473         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4474
4475 2003-10-01  André Pönitz  <poenitz@gmx.net>
4476
4477         * factory.C: assert early
4478
4479 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * lyx_main.C: remove the global debug object
4482
4483         * debug.h: adjust for new debugstream
4484
4485         * debug.C: adjust for new debugstream and keep the global debug
4486         object here.
4487
4488 2003-09-22  Angus Leeming  <leeming@lyx.org>
4489
4490         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4491         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4492         an incomplete class LyXFont.
4493
4494 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * factory.C: bug fix in branches
4497
4498 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * lyxfunc.C (processKeySym): adjust
4501         (dispatch): adjust
4502         (dispatch): change arg name from ev to func, adjust
4503         (sendDispatchMessage): ditto
4504
4505         * lyx_main.C (defaultKeyBindings): adjust keybindings
4506         (deadKeyBindings): ditto
4507
4508         * kbsequence.C (addkey): return a FuncRequest
4509
4510         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4511
4512         * kbmap.C (bind): take a FuncRequest as arg, adjust
4513         (read): adjust
4514         (lookup): adjust
4515         (defkey): change to take a FuncRequest as arg, adjust
4516         (findbinding): take a FuncRequest as arg, adjust.
4517
4518         * funcrequest.h (operator=): added
4519
4520         * funcrequest.C (FuncRequest): default kb_action changed from
4521         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4522
4523         * buffer.C (dispatch): simplify
4524         (dispatch): adjust to take a FuncRequest as arg, adjust
4525
4526         * boost.C (assertion_failed): change assertion message slightly
4527
4528         * ToolbarBackend.C (read): simplify
4529
4530         * MenuBackend.C (binding): adjust call to findbinding, add a
4531         message if no binding is found.
4532         (read): simplify
4533         (expandToc): correct by adding a empty FuncRequest
4534
4535         * LyXAction.C: include <boost/assert.hpp>
4536         (isPseudoAction): delete function
4537         (LookupFunc): change name to...
4538         (lookupFunc): this. change return type to FuncRequest.
4539         (getActionName): take kb_action as arg, simplify
4540         (funcHasFlag): add an assert, simplify.
4541
4542 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * toc.C (action): return a FuncRequest, simplify
4545
4546         * lyxfunc.C (processKeySym): adjust
4547         (getStatus): delete version that takes an int.
4548         (getStatus): adjust
4549         (dispatch): delete version that takes action as int
4550         (dispatch): adjust
4551         (sendDispatchMessage): simplify and adjust
4552
4553         * funcrequest.C (getArg): take unsigned int as arg
4554
4555         * ToolbarBackend.C (read): adjust
4556         (add): delete version that takes func as a string.
4557         (getIton): take a FuncRequest as arg
4558
4559         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4560         action.
4561
4562         * MenuBackend.C (MenuItem): add a new construct that only takes a
4563         Kind, simplify the constructor use for submenus.
4564         (add): adjust
4565         (expandLastfiles): adjust
4566         (expandDocuments): adjust
4567         (expandFormats): adjust
4568         (expandFloatListInsert): adjust
4569         (expandFloatInsert): adjust
4570         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4571
4572         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4573         Remove class variables lyx_pseudo_map and lyx_arg_map
4574
4575         * LyXAction.C (searchActionArg): delete function
4576         (getPseudoAction): delete function
4577         (retrieveActionArg): delete function
4578         (LookupFunc): make it return kb_action, simplify.
4579         (getActionName): simplify
4580
4581         * factory.C (createInset): fix new bug
4582
4583 2003-09-19  Angus Leeming  <leeming@lyx.org>
4584
4585         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4586         masterFilename_ parameter in the include inset.
4587
4588         * factory.C (createInset): changes due to the changes to InsetInclude.
4589
4590 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4591
4592         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4593
4594 2003-09-18  Angus Leeming  <leeming@lyx.org>
4595
4596         * buffer.C:
4597         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4598         Inset::fillWithBibKeys.
4599         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4600
4601 2003-09-18  Angus Leeming  <leeming@lyx.org>
4602
4603         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4604         variables.
4605         (ctor): pass and store a 'Buffer const &'
4606         (buffer): new member function.
4607
4608         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4609         '*this' to the LaTeXFeatures ctor.
4610
4611 2003-09-18  Angus Leeming  <leeming@lyx.org>
4612
4613         * LColor.h:
4614         * lyxfont.C:
4615         * lyxfont.h:
4616         * lyxtext.h:
4617         * text.C: rename EnumLColor as LColor_color.
4618
4619 2003-09-18  Angus Leeming  <leeming@lyx.org>
4620
4621         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4622         remove #include "insets/insetbase.h" from cursor.h.
4623
4624 2003-09-18  Angus Leeming  <leeming@lyx.org>
4625
4626         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4627         InsetOld_code to remove #include "inset.h".
4628
4629         * iterators.C: add #include "insets/inset.h"
4630
4631 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4632
4633         * BufferView.C: remove more locking stuff that apparently doesn't
4634         do anything sensible.
4635
4636 2003-09-16  André Pönitz  <poenitz@gmx.net>
4637
4638         * paragraph.[Ch]:
4639         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4640           performance boost.
4641
4642 2003-09-16  Angus Leeming  <leeming@lyx.org>
4643
4644         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4645
4646         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4647         arg/return type.
4648
4649         * paragraph.h: remove #include "lyxfont.h". Forward declare
4650         LyXFont_size.
4651
4652 2003-09-16  Angus Leeming  <leeming@lyx.org>
4653
4654         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4655         of support/textutils.h.
4656         (isWord): move the contents of support/textutils.h's IsWordChar here.
4657
4658         * buffer.C:
4659         * lyxfind.C:
4660         * rowpainter.C:
4661         * text.C:
4662         * text2.C: add #include "paragraph.h".
4663
4664         * rowpainter.C:
4665         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4666
4667 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * main.C:
4670         * lyx_main.C:
4671         * lyx_cb.C:
4672         * buffer.C:
4673         * LaTeX.C: use namespace alias for lyx::support::os
4674
4675 2003-09-16  Angus Leeming  <leeming@lyx.org>
4676
4677         * bufferparams.C:
4678         * bufferview_funcs.C:
4679         * factory.C:
4680         * lyxfunc.C:
4681         * paragraph_pimpl.C:
4682         * rowpainter.C:
4683         * text.C: add #include "LColor.h".
4684
4685 2003-09-16  Angus Leeming  <leeming@lyx.org>
4686
4687         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4688         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4689         return LyXFont &.
4690         Store the FontBits::color variable as an int rather than as an
4691         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4692         file.
4693
4694         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4695         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4696         string calls together.
4697
4698         * lyxrc.C: add #include "LColor.h".
4699
4700 2003-09-15  Angus Leeming  <leeming@lyx.org>
4701
4702         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4703         a cow_ptr.
4704
4705 2003-09-15  Angus Leeming  <leeming@lyx.org>
4706
4707         * LColor.h: add an EnumLColor wrapper for LColor::color.
4708
4709         * lyxfont.[Ch] (color, setColor, realColor):
4710         * lyxtext.h, text.C (backgroundColor):
4711         pass EnumLColor args to/from the functions, rather than LColor::color
4712         ones.
4713
4714         * lyxfont.h:
4715         * lyxtext.h: forward declare EnumLColor.
4716
4717         * lyx_main.C: add #include "LColor.h".
4718
4719 2003-09-15  Angus Leeming  <leeming@lyx.org>
4720
4721         * .cvsignore: add lyx-gtk.
4722
4723 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * Chktex.C
4726         * LaTeX.C
4727         * LaTeXFeatures.C
4728         * ParagraphParameters.C
4729         * Spacing.C
4730         * buffer.C
4731         * bufferparams.C
4732         * bufferview_funcs.C
4733         * chset.C
4734         * counters.C
4735         * funcrequest.C
4736         * lyxfont.C
4737         * lyxgluelength.C
4738         * lyxlength.C
4739         * paragraph.C
4740         * paragraph_funcs.C
4741         * text3.C
4742         * vc-backend.C: remove usage of STRCONV
4743
4744 2003-09-15  Angus Leeming  <leeming@lyx.org>
4745
4746         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4747         explicitly define the color passed to the painter.
4748
4749 2003-09-15  Angus Leeming  <leeming@lyx.org>
4750
4751         * bufferparams.C (BufferParams): reorder member initializers to avoid
4752         compiler warning.
4753
4754 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4755
4756         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4757         * text.C (updateRowPositions): remove an unusual nop
4758
4759 2003-09-12  André Pönitz  <poenitz@gmx.net>
4760
4761         * BufferView_pimpl.C:
4762         * Bullet.C:
4763         * layout.h:
4764         * lyxfunc.C:
4765         * lyxlayout.[Ch]:
4766         * lyxtextclass.C:
4767         * rowpainter.C:
4768         * text.C:
4769         * text2.C:
4770         * Counters.[Ch]: finish the 'automatic counters' job
4771
4772 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4773
4774         * aspell.C: include <boost/assert.cpp> (compile fix)
4775
4776 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4777
4778         * boost.C (assertion_failed): use lyx::support::abort instead of
4779         assert.
4780
4781 2003-09-10  Angus Leeming  <leeming@lyx.org>
4782
4783         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4784         with their _fwd progeny.
4785
4786 2003-09-09  Angus Leeming  <leeming@lyx.org>
4787
4788         134 files throughtout the source tree: replace 'using namespace abc;'
4789         directives with the appropriate 'using abc::xyz;' declarations.
4790
4791 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4792
4793         * boost.C (emergencyCleanup): moved here from LAssert.c
4794         (assertion_failed): new function, called by BOOST_ASSERT
4795
4796         * several files: change Assert to BOOST_ASSERT
4797
4798 2003-09-09  Angus Leeming  <leeming@lyx.org>
4799
4800         * buffer.[Ch]: Add an Impl class and move Buffer's member
4801         variables into it. As a result move several header files out of
4802         buffer.h.
4803
4804         Add header files to lots of .C files all over the tree as a result.
4805
4806 2003-09-09  Angus Leeming  <leeming@lyx.org>
4807
4808         * buffer.[Ch]: make Buffer's member variables private. Add
4809         accessor functions.
4810
4811         Lots of changes all over the tree as a result.
4812
4813 2003-09-08  Angus Leeming  <leeming@lyx.org>
4814
4815         * graph.C: #include <config.h>.
4816
4817 2003-09-08  Angus Leeming  <leeming@lyx.org>
4818
4819         * BranchList.C:
4820         * BufferView.C:
4821         * BufferView_pimpl.C:
4822         * CutAndPaste.C:
4823         * DepTable.C:
4824         * LaTeX.C:
4825         * LaTeXFeatures.C:
4826         * LyXAction.C:
4827         * MenuBackend.C:
4828         * TextCache.C:
4829         * aspell.C:
4830         * buffer.C:
4831         * bufferlist.C:
4832         * changes.C:
4833         * chset.C:
4834         * converter.C:
4835         * counters.C:
4836         * debug.C:
4837         * graph.C:
4838         * ispell.C:
4839         * lyx_cb.C:
4840         * lyxfind.C:
4841         * lyxfunc.C:
4842         * lyxlex_pimpl.C:
4843         * lyxrc.C:
4844         * lyxrow.C:
4845         * paragraph.C:
4846         * rowpainter.C:
4847         * texrow.C:
4848         * text.C:
4849         * text2.C:
4850         * toc.C: remove redundant using directives.
4851
4852 2003-09-07  Angus Leeming  <leeming@lyx.org>
4853
4854         * LaTeXFeatures.h: remove #include "support/types.h".
4855         * ToolbarBackend.h: remove #include <algorithm>.
4856         * changes.h: remove #include <ctime>.
4857         * debug.h: remove #include <iosfwd>.
4858         * graph.h: remove #include "support/std_string.h".
4859         * lyx_main.h: remove #include <csignal>.
4860         * lyxlex_pimpl.h: remove #include <fstream>.
4861         * sgml.h: remove #include <algorithm>, <utility>.
4862         * toc.h: remove #include "support/std_ostream.h".
4863         Add #include <iosfwd>.
4864
4865 2003-09-07  Angus Leeming  <leeming@lyx.org>
4866
4867         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4868
4869         * converter.h: forward declare LatexRunParams.
4870         * encoding.h: remove #include "lyxrc.h".
4871         * lyxtext.h: remove #include "LColor.h".
4872         * lyxtextclass.h: remove #include "support/types.h".
4873         * trans.h: remove #include "tex-accent.h".
4874         * trans_mgr.h: remove #include "tex-accent.h".
4875         * insets/inset.h: remove #include "support/types.h", <vector>.
4876         * insets/insetcollapsable.h: remove #include "LColor.h".
4877         * insets/insetinclude.h: remove #include "dimension.h".
4878         * insets/insetlatexaccent.h: remove #include "dimension.h".
4879         * insets/insetoptarg.h:: remove #include "insettext.h".
4880         * insets/insettext.h: remove #include "dimension.h",
4881         <boost/shared_ptr.hpp>
4882
4883         * insets/renderers.h: add #include "dimension.h".
4884         * insets/updatableinset.h: add #include "support/types.h".
4885
4886         * many .C files: Associated changes.
4887
4888 2003-09-06  Angus Leeming  <leeming@lyx.org>
4889
4890         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4891         one, inside testInvariant.
4892
4893         * PrinterParams.C: new file.
4894         * PrinterParams.[Ch]: move the function bodies out of line.
4895
4896 2003-09-06  Angus Leeming  <leeming@lyx.org>
4897
4898         * ParagraphParameters.h: forward declare ParameterStruct rather than
4899         including its header file.
4900         (depth): moved out-of-line.
4901
4902 2003-09-06  Angus Leeming  <leeming@lyx.org>
4903
4904         * BufferView_pimpl.h:
4905         * kbmap.h:
4906         * kbsequence.h:
4907         * lyxfunc.h: forward declare LyXKeySym rather than
4908         #include "frontends/LyXKeySym.h".
4909
4910         * BufferView_pimpl.C:
4911         * kbmap.C:
4912         * kbsequence.C:
4913         * lyxfunc.C: associated changes.
4914
4915 2003-09-06  Angus Leeming  <leeming@lyx.org>
4916
4917         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4918         As a result, can remove the #include "insets/inset.h" from BufferView.h
4919
4920 2003-09-06  Angus Leeming  <leeming@lyx.org>
4921
4922         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4923         As a result, can remove the #include "insets/inset.h" from BufferView.h
4924
4925 2003-09-06  Angus Leeming  <leeming@lyx.org>
4926
4927         * buffer_funcs.C:
4928         * buffer.h:
4929         * bufferlist.C:
4930         * BufferView.C:
4931         * bufferview_funcs.C:
4932         * BufferView_pimpl.C:
4933         * CutAndPaste.C:
4934         * lyx_cb.C:
4935         * lyxfunc.C:
4936         * paragraph.h:
4937         * ParagraphParameters.C:
4938         * tabular.C:
4939         * text3.C:
4940         * toc.C:
4941         * undo_funcs.C:
4942         * frontends/controllers/ControlDocument.C:
4943         * insets/insetcaption.C: rearrange the #includes into some sort of
4944         coherent order.
4945
4946         * buffer.h: remove #includes ErrorList.h, undo.h
4947
4948 2003-09-06  Angus Leeming  <leeming@lyx.org>
4949
4950         * support/types.h: add a 'depth_type' typedef, used to store the
4951         nesting depth of a paragraph.
4952
4953         * paragraph.h:
4954         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4955         defining explicitly.
4956
4957         * buffer.h:
4958         * paragraph_funcs.h:
4959         * ParagraphParameters.h:
4960         * sgml.h: use lyx::depth_type rather than Paragraph or
4961         ParameterStruct's depth_type.
4962
4963         * buffer.h
4964         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4965
4966         * BufferView.C:
4967         * BufferView_pimpl.C:
4968         * CutAndPaste.C:
4969         * ParagraphParameters.C:
4970         * buffer_funcs.C:
4971         * bufferlist.C:
4972         * bufferview_funcs.C:
4973         * lyx_cb.C:
4974         * lyxfunc.C:
4975         * tabular.C:
4976         * text3.C:
4977         * toc.C:
4978         * undo_funcs.C:
4979         * frontends/LyXView.C:
4980         * frontends/controllers/ControlDocument.C:
4981         * frontends/controllers/ControlErrorList.C:
4982         * insets/insetbibitem.C:
4983         * insets/insetbranch.C:
4984         * insets/insetcaption.C:
4985         * insets/insetcollapsable.C:
4986         * insets/insetenv.C:
4987         * insets/insetert.C:
4988         * insets/insetfloat.C:
4989         * insets/insetfoot.C:
4990         * insets/insetfootlike.C:
4991         * insets/insetnewline.C:
4992         * insets/insetquotes.C:
4993         * insets/insettabular.C:
4994         * insets/insettext.C:
4995         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4996
4997         * frontends/controllers/ControlChanges.C: #include "changes.h".
4998
4999 2003-09-06  Angus Leeming  <leeming@lyx.org>
5000
5001         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5002         than #including paragraph.h.
5003
5004         * ParagraphList.h:
5005         * RowList.h: deleted. Superfluous.
5006
5007         * CutAndPaste.h:
5008         * iterators.h:
5009         * lyxcursor.h:
5010         * lyxtext.h:
5011         * text_funcs.h:
5012         * undo.h:
5013         * undo_funcs.h:
5014         * insets/inset.h:
5015         * insets/insettext.h: use ParagraphList_fwd.h rather than
5016         ParagraphList.h.
5017
5018         * paragraph.h: don't forward declare ParagraphList.
5019
5020         * buffer.h:
5021         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5022         rather than ParagraphList.h. paragraph.h is still needed for the
5023         Paragraph::depth_type parameters.
5024
5025         * textcursor.h: enable it to compile stand-alone in light of the
5026         above changes.
5027
5028         * bufferview_funcs.C:
5029         * iterators.C:
5030         * lyxfunc.C:
5031         * lyxrow_funcs.C:
5032         * paragraph.C:
5033         * rowpainter.C:
5034         * text.C:
5035         * text2.C:
5036         * text3.C:
5037         * text_funcs.C:
5038         * textcursor.C:
5039         * undo.C:
5040         * frontends/controllers/ControlParagraph.C:
5041         * frontends/controllers/ControlTabular.C:
5042         * insets/insetmarginal.C:
5043         * insets/insetminipage.C:
5044         * insets/insetnote.C:
5045         * insets/insetoptarg.C: add header files needed to compile again.
5046
5047 2003-09-06  Angus Leeming  <leeming@lyx.org>
5048
5049         * RowList_fwd.h: new file, forward-declaring Row rather than
5050         #including lyxrow.h.
5051
5052         * lyxrow_funcs.h:
5053         * lyxtext.h:
5054         * paragraph.h:
5055         * insets/insettext.h: use it instead of RowList.h
5056
5057         * bufferview_funcs.C:
5058         * lyxfunc.C:
5059         * lyxrow_funcs.C:
5060         * paragraph.C:
5061         * rowpainter.C:
5062         * text.C:
5063         * text2.C:
5064         * text3.C: #include "RowList.h".
5065
5066 2003-09-05  Angus Leeming  <leeming@lyx.org>
5067
5068         * factory.C (createInset):
5069         * vspace.C (c-tor): replace sscanf call with an istringstream.
5070         * ispell.C: re-add missing HP/UX headers.
5071         * lyxserver.C: re-add missing  os2 headers.
5072
5073 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5074
5075         * BranchList.C:
5076         * graph.C:
5077         * ispell.C:
5078         * lastfiles.C:
5079         * lyx_cb.C:
5080         * lyxserver.C:
5081         * texrow.C:
5082         * text3.C: re-add missing system headers, needed for 2.95.2.
5083
5084 2003-09-05  Angus Leeming  <leeming@lyx.org>
5085
5086         Changes most place everywhere due to the removal of using directives
5087         from support/std_sstream.h.
5088
5089 2003-09-05  Angus Leeming  <leeming@lyx.org>
5090
5091         Replace LString.h with support/std_string.h,
5092         Lsstream.h with support/std_sstream.h,
5093         support/LIstream.h with support/std_istream.h,
5094         support/LOstream.h with support/std_ostream.h.
5095
5096         Changes resulting throughout the tree.
5097
5098 2003-09-05  Angus Leeming  <leeming@lyx.org>
5099
5100         * sgml.h: ensure that the header file can be compiled stand-alone.
5101         * *.C: strip out redundant #includes. (320 in total.)
5102
5103 2003-09-04  Angus Leeming  <leeming@lyx.org>
5104
5105         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5106         here (from getPackages).
5107
5108         * debug.[Ch]: add a new EXTERNAL tag.
5109
5110 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5111
5112         * text2.C (cursorEnd): simplify
5113         (setCursor): adjust
5114         (getColumnNearX): adjust
5115
5116         * text.C (computeBidiTables): adjust
5117         (fill): adjust
5118
5119         * rowpainter.C (paintChars): adjust
5120         (paintSelection): adjust
5121         (paintChangeBar): adjust
5122         (paintText): adjust
5123
5124         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5125         lastPos instead.
5126         (numberOfSeparators): adjust
5127
5128 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5129
5130         * LyXAction.C:
5131         * box.[Ch]:
5132         * lfuns.h:
5133         * lyxfunc.C:
5134         * text3.C: Restricts the mouse click functionality
5135         of insets like bibtex, include, toc and floatlist to the visible
5136         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5137         up the dialogs. Cursor has to be in front of the inset (i.e.
5138         start of row) for this to function.
5139
5140 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5141
5142         * bufferview_funcs.C (currentState): output row information
5143
5144 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5145
5146         * bufferview_funcs.C (currentState): output paragraph position
5147
5148 2003-09-04  Angus Leeming  <leeming@lyx.org>
5149
5150         * FloatList.h: move out #include "Floating.h".
5151         * LaTeX.h: move out #include "DepTable.h".
5152         * LyXAction.h: move out #include "funcrequest.h".
5153         * buffer.h: move out #include "author.h", "iterators.h".
5154         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5155         * lyx_main.h: move out #include "errorlist.h".
5156         * lyxfunc.h: move out #include "FuncStatus.h".
5157         * lyxtext: move out #include "lyxcursor.h".
5158         * paragraph_pimpl.h: move out #include "counters.h".
5159
5160 2003-09-03  Angus Leeming  <leeming@lyx.org>
5161
5162         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5163         preamble_snippets list, enabling us to add snippets to the preamble
5164         only if the snippet was not there already.
5165
5166 2003-09-04  Angus Leeming  <leeming@lyx.org>
5167
5168         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5169
5170 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5171
5172         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5173         update
5174
5175 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5176
5177         * BranchList.C: point fix, earlier forgotten
5178
5179 2003-09-02  Angus Leeming  <leeming@lyx.org>
5180
5181         * box.C (contains): renamed from 'contained' after a fantastic
5182         amount of hot air.
5183
5184 2003-09-02  John Levon  <levon@movementarian.org>
5185
5186         * BufferView.C:
5187         * lyxcursor.h:
5188         * lyxcursor.C:
5189         * lyxfunc.C:
5190         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5191
5192 2003-09-02  John Levon  <levon@movementarian.org>
5193
5194         * text2.C: simplification of cursorEnd(), including partial
5195         fix for bug 1376
5196
5197 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * buffer.C (readFile): add a space
5200
5201 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5202
5203         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5204
5205 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * buffer.C (readFile): new function, take a filename and a
5208         ParagraphList::iterator
5209         (readFile): adjust
5210         (readFile): adjust, make it private. don't use setStream, make
5211         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5212         always contain the filename.
5213
5214         * BufferView.C (insertLyXFile): simplify and make it work for
5215         gzipped files.
5216
5217 2003-08-30  John Levon  <levon@movementarian.org>
5218
5219         * Makefile.am: fix dist (from Kayvan)
5220
5221 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * most files: change to use const Buffer refs
5224
5225 2003-08-27  André Pönitz  <poenitz@gmx.net>
5226
5227         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5228         on top of ownerPar().
5229
5230 2003-08-27  John Levon  <levon@movementarian.org>
5231
5232         * funcrequest.C: properly initialise POD members
5233
5234 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * lyxtext.h (top_y): move top_y from here
5237         * text.C:
5238         * text2.C:
5239         * text3.C:
5240         * BufferView.[Ch]:
5241         * BufferView_pimpl.[Ch]: to here
5242         * frontends/screen.C:
5243         * insets/insettabular.C:
5244         * insets/insettext.C: adjust
5245         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5246
5247 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * BufferView.[Ch]:
5250         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5251
5252 2003-08-26  André Pönitz  <poenitz@gmx.net>
5253
5254         * paragraph_func.[Ch] (outerPar): new function
5255
5256         * paragraph.C:
5257         * paragraph_funcs.C:
5258         * paragraph_funcs.h:
5259         * paragraph_pimpl.C:
5260         * text2.C: remove Inset::par_owner
5261
5262 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5263
5264         * lyxrow_funcs.C:
5265         * lyxtext.h:
5266         * text.C:
5267         * text2.C: eliminates the needFullRow/display() stuff
5268         altogether, putting the logic in metrics/draw in the insets.
5269
5270 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5271
5272         * text2.C (redoParagraphInternal, redoParagraphs):
5273         * text.C (redoParagraph): add a call to updateRowPositions at the
5274         end of each 'metrics-like' call. Remove all others.
5275         (getRow): remove the 'y-computing' version.
5276         (getRowNearY): do not compute nor return the real y. Solve the
5277         'y < 0' problem and simplify.
5278
5279 2003-08-22  Angus Leeming  <leeming@lyx.org>
5280
5281         * *.[Ch]: clean-up of licence and author blurbs.
5282         Also move config.h out of a few .h files and into a few .C files.
5283
5284 2003-08-22  André Pönitz  <poenitz@gmx.net>
5285
5286         * lyxrow.[Ch]: add x_ and *fill_ members
5287
5288         * lyxtext.h:
5289         * text.C:
5290         * rowpainter.C:
5291         * text2.C: adjust/remove prepareToPrint() calls
5292
5293 2003-08-22  André Pönitz  <poenitz@gmx.net>
5294
5295         * lyxrow.[Ch]: add  end_ member
5296
5297         * lyxrow_funcs.C: use LyXRow::end_
5298
5299         * lyxtext.h (singleWidth): add LyXFont parameter
5300
5301         * rowpainter.C:
5302         * text2.C: adjust LyXText::singleWidth() calls
5303
5304         * text.C (redoParagraph): simplify row breaking logic
5305
5306
5307 2003-08-19  André Pönitz  <poenitz@gmx.net>
5308
5309         * funcrequest.C: initialize button_ member
5310
5311         * text3.C:
5312         * rowpainter.[Ch]: interface consolidation
5313
5314 2003-08-18  André Pönitz  <poenitz@gmx.net>
5315
5316         * BufferView.C:
5317         * BufferView_pimpl.C:
5318         * lyxfind.C:
5319         * paragraph_funcs.C:
5320         * rowpainter.C:
5321         * text3.C: remove LyXScreen::draw() and fitCursor calls
5322
5323         * BranchList.h: remove spurious semicolons
5324
5325         * MenuBackend.C: fix branchlist related crash
5326
5327 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5328
5329         * BranchList.[Ch]:
5330         * InsetList.[Ch]:
5331         * LColor.[Ch]:
5332         * LyXAction.C:
5333         * Makefile.am:
5334         * MenuBackend.[Ch]:
5335         * bufferparams.[Ch]:
5336         * factory.C:
5337         * lfuns.h:
5338         * lyxfunc.C:
5339         * text3.C: implements the 'branch inset'
5340         idea. This allows the output of various versions of a document
5341         from a single source version, selectively outputing or suppressing
5342         output of parts of the text.
5343         This implementation contains a 'branch list editor' in a separate
5344         tab of the document settings dialog. Branches are user definable
5345         and have a "display colour" to distinguish them on-screen.
5346
5347         ColorHandler was somewhat cleaned up.
5348         (1) make possible a dynamically growing LColor list by allowing
5349         the graphic context cache to grow along (vector);
5350         (2) eliminate an IMHO unnecessary step in colour allocation.
5351
5352 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5353
5354         * BufferView_pimpl.C: compile fix
5355
5356 2003-08-15  André Pönitz  <poenitz@gmx.net>
5357
5358         * rowpainter.C: remove extra metrics calls
5359
5360         * lyxtext.h: merge the two constructors into a single one,
5361           pass reference to owner's par list
5362
5363         * BufferView_pimpl.C:
5364         * text.C:
5365         * text2.C: adjust
5366
5367 2003-08-15  André Pönitz  <poenitz@gmx.net>
5368
5369         * lyxrow_funcs.[Ch]:
5370         * lyxtext.h:
5371         * paragraph.h:
5372         * paragraph_funcs.C:
5373         * rowpainter.C:
5374         * text.C:
5375         * text2.C:
5376         * text3.C:
5377         * text_funcs.C: split LyXText::rowlist_ into individual
5378         Paragraph::rows_ chunks
5379
5380         * BufferView.[Ch]:
5381         * BufferView_pimpl.[Ch]:
5382         * lyxfind.C:
5383         * lyxtext.h:
5384         * text3.C: remove toggleSelection()
5385
5386 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5387
5388         * bufferlist.C: beautify two alerts (shorter text of buttons)
5389         * buffer.C: Remove redundant ' ' from message
5390         * tabular.h:
5391         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5392         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5393         rename VALIGN_CENTER to VALIGN_MIDDLE
5394
5395 2003-08-11  André Pönitz  <poenitz@gmx.net>
5396
5397         * lyxtext.h (getPar):
5398         * text.C: new function
5399
5400 2003-08-11  André Pönitz  <poenitz@gmx.net>
5401
5402         * Makefile.am:
5403         * tracer.[Ch]: remove unneeded files
5404
5405         * InsetList.[Ch]: remove resizeInsetsLyXText()
5406
5407         * lyxtext.h:
5408         * text.C:
5409         * text2.C:
5410         * text3.C: merge insertParagraphs() and appendParagraph()
5411         remove breakAgain(), update()
5412
5413         * BufferView_pimpl.[Ch]:
5414         * bufferview_funcs.[Ch]:
5415         * lyxfunc.C:
5416         * paragraph.[Ch]:
5417         * rowpainter.C:
5418         * tabular.C: adjust after text & InsetList changes.
5419
5420 2003-08-08  André Pönitz  <poenitz@gmx.net>
5421
5422         * text.C (insertChar, backspace): replace rowlist fiddling
5423         with rebreak of full par
5424
5425         * lyxtext.h:
5426         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5427         checkParagraph, updateInset): removed
5428
5429 2003-08-07  André Pönitz  <poenitz@gmx.net>
5430
5431         * paragraph.C:
5432         * text3.C: merge some LFUN handlers, remove dead code
5433
5434 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5435
5436         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5437
5438 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * text2.C (DEPM): fix part of bug 1255 and 1256
5441
5442 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5443
5444         * BufferView_pimpl.C (workAreaDispatch): change to use
5445         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5446         that are no mouse related.
5447
5448 2003-08-05  André Pönitz  <poenitz@gmx.net>
5449
5450         * BufferView.[Ch]:
5451         * BufferView_pimpl.[Ch]:
5452         * bufferview_funcs.C:
5453         * text2.C:
5454         * text3.C: rip out "deep update"
5455
5456         * textcursor.[Ch] (last_sel_cursor): remove unused member
5457
5458 2003-08-04  André Pönitz  <poenitz@gmx.net>
5459
5460         * BufferView.[Ch]:
5461         * BufferView_pimpl.[Ch]:
5462         * ParagraphParameters.C:
5463         * bufferview_funcs.C:
5464         * lyx_cb.C:
5465         * lyxfind.C:
5466         * lyxfunc.C:
5467         * text.C:
5468         * text2.C:
5469         * text3.C: replace "complicated" BufferView::update(...) calls with
5470         simpler ones.
5471
5472         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5473
5474 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5475
5476         * Makefile.am (lyx_SOURCES): add paper.h
5477
5478 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5479
5480         * Makefile.am: move things around so that both lyx-qt and
5481         lyx-xforms can be built (according to --with-frontend). Then lyx
5482         is a symbolic link to lyx-[firstfrontend]
5483
5484 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5485
5486         * Always use std::endl with lyxerr
5487
5488 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5489
5490         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5491
5492 2003-08-01  André Pönitz  <poenitz@gmx.net>
5493
5494         * BufferView.[Ch]:
5495         * BufferView_pimpl.[Ch]:
5496         * lyxfunc.C:
5497         * text3.C: merge BufferView::repaint() and BufferView::update()
5498
5499 2003-08-01  José Matos  <jamatos@lyx.org>
5500
5501         * buffer.[Ch]: file_format is no longer a buffer data element.
5502
5503 2003-08-01  André Pönitz  <poenitz@gmx.net>
5504
5505         * BufferView.C:
5506         * lyxtext.h:
5507         * text.C:
5508         * text2.C: make redoParagraph more independent of current cursor
5509
5510         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5511         * text.C:
5512         * text2.C: remove unneeded members
5513
5514 2003-07-30  André Pönitz  <poenitz@gmx.net>
5515
5516         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5517
5518         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5519           create a single function...
5520
5521         * paragraph_funcs.C (moveItem): ... here.
5522
5523         * text.C:
5524           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5525
5526 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5527
5528         * LColor.[Ch]: Add comment and greyedout logical colors.
5529
5530 2003-07-30  André Pönitz  <poenitz@gmx.net>
5531
5532         * tabular.C: don't use Assert too heavily. This crashes where it
5533           shouldn't
5534
5535 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5536
5537         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5538         is disabled (bug 1232)
5539
5540 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5541
5542         * factory.C: limited 'arg' scope
5543
5544 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5545
5546         * factory.C: fixed Note submenu issues
5547
5548 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5549
5550         * factory.C: submenu for Note/Comment/Greyedout
5551
5552 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5553
5554         * lyx_main.C (LyX):
5555         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5556
5557 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5558
5559         * LaTeXFeatures.C:
5560         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5561         greyedout. Patch provided by Jürgen Spitzmüller.
5562
5563 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5564
5565         * kbmap.C (read): fix error message when reading bind files
5566
5567 2003-07-29  Angus Leeming  <leeming@lyx.org>
5568
5569         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5570         certainly does not do what it purports to do. I am doing it, and
5571         us, a favour by killing it.
5572
5573 2003-07-28  José Matos  <jamatos@lyx.org>
5574
5575         * buffer.C (readBody, do_writeFile):
5576         * paragraph.C(readParagraph): \end_document replaces \the_end.
5577
5578 2003-07-29  André Pönitz  <poenitz@gmx.net>
5579
5580         * BufferView.[Ch]:
5581         * BufferView_pimpl.[Ch]:
5582         * lyxfunc.C:
5583         * text2.C:
5584         * text3.C:
5585         * textcursor.[Ch]: remove toggleToggle & Co
5586
5587 2003-07-28  José Matos  <jamatos@fep.up.pt>
5588
5589         * buffer.C (readParagraph):
5590         * params_func (readParToken, readParagraph):
5591         * paragraph.C (write): \layout -> \begin_layout.
5592
5593 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * lyxlex_pimpl.C (setFile): clean up slightly.
5596
5597         * bufferparams.h: add compressed var
5598
5599         * buffer_funcs.C (readFile): adjust for LyXLex change
5600         (newFile): ditto + simplify
5601
5602         * buffer.C (writeFile): handle writing of compressed files
5603
5604         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5605         Check if the file is compressed and set a bufferparm if so.
5606
5607         * Makefile.am (lyx_LDADD): remove explicit -lz
5608
5609 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5610
5611         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5612         makeDocBookFile): put the real LyX version in the first line of
5613         the file
5614
5615         * version.h:
5616         * version.C.in: remove lyx_docversion
5617
5618         * tabular.C (write_attribute): add a template-based version to
5619         write enums properly
5620
5621 2003-07-28  André Pönitz  <poenitz@gmx.net>
5622
5623         * lyxtext.h:
5624         * text.C:
5625         * text2.C:
5626         * text3.C: use doubles again for x-coordinates. They are needed.
5627
5628 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * messages.C (getLocaleDir): use lyx_localedir()
5631
5632         * lyxlex_pimpl.C (setFile): compress stuff
5633
5634         * buffer.C (writeFile): add some compression stuff
5635         (do_writeFile): new func, dont call expliti close... will this
5636         breake anything?
5637
5638         * Makefile.am (lyx_LDADD): add -lz
5639
5640 2003-07-28  José Matos  <jamatos@fep.up.pt>
5641
5642         * buffer.C: increment file format.
5643         * paragraph_funcs (readParagraph, readParToken):
5644         * paragraph.C (readParagraph): add \end_layout.
5645
5646 2003-07-27  Angus Leeming  <leeming@lyx.org>
5647
5648         * Makefile.am: remove special casing for configure-time setting of
5649         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5650
5651         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5652         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5653
5654 2003-07-26  André Pönitz  <poenitz@gmx.net>
5655
5656         * paragraph_func.[Ch]:
5657         * paragraph.C (realizeFont): inline it whereever it is used
5658
5659         * rowpainter.C:
5660         * text.C:
5661         * text2.C:
5662         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5663
5664
5665 2003-07-26  André Pönitz  <poenitz@gmx.net>
5666
5667         *       lyxtext.h:
5668         * text.C:
5669         * text2.C: get rid of LyXText::need_break_row
5670
5671 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * toc.[Ch]: put namespace toc inside namespace lyx
5674
5675         * MenuBackend.C (expandToc2): adjust for lyx::toc
5676         (expandToc): ditto
5677
5678         * lyxfunc.C (dispatch): adjust for lyx::find
5679
5680         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5681         lyx::find instead. Reorganize a bit.
5682         (LyXReplace): rename to replace
5683         (LyXFind): rename to find
5684
5685         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5686         (dispatch): ditto
5687
5688 2003-07-26  André Pönitz  <poenitz@gmx.net>
5689
5690         * text.C (setHeightOfRow): restrict scope of temporary variable
5691
5692         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5693           code (never has been used?)
5694
5695 2003-07-27  Asger Alstrup  <alstrup@local>
5696
5697         * text.C (fill): Optimise algorithm to exploit that we can reuse
5698         the LyXFont for many characters.
5699         (setHeightOfRow): Same thing.
5700         (rowBreakPoint): Same thing.
5701
5702 2003-07-26  Asger Alstrup  <alstrup@local>
5703
5704         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5705
5706         * text.C (singleWidth): Spurious font copying in hot-spot
5707         singleWidth avoided. Reorder tests for arabic for efficiency.
5708
5709         * text.C (fill): handle empty paragraphs better.
5710
5711 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5712
5713         * ispell.C:
5714         * encoding.h: add includes
5715
5716         * lyxrc.C: remove reading of bind files
5717
5718         * lyx_main.C (init): setup bindings and menus only if we have a
5719         gui.
5720
5721         * kbmap.C (read): new method. Do the actual reading of bind
5722         files.
5723
5724         * converter.C (dvipdfm_options):
5725         * bufferparams.C:
5726         * lyxrc.C (read):
5727         (output): adapt PAPER_* enums.
5728
5729         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5730
5731         * bufferparams.h: remove paper-related enums from there
5732
5733         * paper.h: New file. A trivial header file to hold paper-related
5734         enums. It should later expand to contain many paper-related
5735         horrors access.
5736
5737         * lyxrc.C: declare extern displayTranslator
5738
5739 2003-07-27  José Matos  <jamatos@fep.up.pt>
5740
5741         * tabular.[Ch] (linuxdoc): add support for tables and figures
5742         (linuxdoc).
5743
5744 2003-07-27  José Matos  <jamatos@fep.up.pt>
5745
5746         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5747         consistency in both functions.
5748         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5749
5750 2003-07-26  Asger Alstrup  <alstrup@local>
5751
5752         * rowpainter.C (paintRows): Change algorithm to work directly on
5753         the insets rather than asking every character in the document
5754         whether its an inset.
5755
5756 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5757
5758         * buffer.C (openFileWrite): factorize some code
5759
5760 2003-07-26  Angus Leeming  <leeming@lyx.org>
5761
5762         * lyx_cb.C:
5763         * lyx_main.[Ch]: replace occurances of system_tempdir with
5764         os::getTmpDir().
5765
5766 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * rename Inset to InsetOld
5769
5770 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5771
5772         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5773         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5774         which I think is a bit clearer. EDIT is gone, since it was
5775         premature optimisation, and broken for mathed anyway.
5776         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5777         with cursor positioning in insets as well (math insets still do not
5778         work, but that's a different story anyway.) It mysteriously
5779         crashes sometimes with undo in the first paragraph, but I'm fairly
5780         confident that this is a compiler bug.
5781
5782 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * paragraph.C (Paragraph): adjust for new clone return type
5785         (operator==): ditto
5786         (copyIntoMinibuffer): ditto
5787
5788 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5789
5790         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5791         by not having a special case, and always doing a full rebreak of
5792         the document after undo.
5793
5794 2003-07-23  Angus Leeming  <leeming@lyx.org>
5795
5796         * factory.C (createInset): InsetExternal::setParams now takes a
5797         Buffer const * arg.
5798
5799 2003-07-23  Angus Leeming  <leeming@lyx.org>
5800
5801         * factory.C (createInset): changed interface to the external and
5802         graphics mailers' string2params functions.
5803
5804 2003-07-23  Angus Leeming  <leeming@lyx.org>
5805
5806         * factory.C (createInset): pass a
5807         Buffer const * parameter to InsetExternalMailer's string2params.
5808
5809 2003-07-22  John Levon  <levon@movementarian.org>
5810
5811         * Thesaurus.h: include the right aiksaurus header
5812
5813 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5814
5815         * MenuBackend.C (expand): check menu shortcuts unconditionally
5816
5817 2003-07-21  Angus Leeming  <leeming@lyx.org>
5818
5819         * factory.C (createInset): pass a
5820         buffer_path parameter to InsetGraphicsMailer's string2params.
5821
5822 2003-07-21  Angus Leeming  <leeming@lyx.org>
5823
5824         * BufferView_pimpl.C (buffer):
5825         * buffer.C (d-tor):
5826         * lyx_main.C (LyX):
5827         * lyxfunc.C (dispatch):
5828         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5829         rather than the grfx shortcut.
5830
5831 2003-07-21  André Pönitz  <poenitz@gmx.net>
5832
5833         * rowpainter.C: remove unused variables
5834
5835         * tabular_funcs.C:
5836         * tabular_funcs.h: move to tabular.C
5837         * Makefile.am: adjust
5838
5839         * tabular.[Ch]: basic optical cleaning
5840
5841         * author.h: pass references, not values
5842
5843 2003-07-18  André Pönitz  <poenitz@gmx.net>
5844
5845         * lyxtext.h:
5846         * metricsinfo.C:
5847         * metricsinfo.h:
5848         * rowpainter.C:
5849         * text.C:
5850         * text2.C:
5851         * text3.C: two-phase drawing for InsetText and InsetTabular
5852         some float -> int changes.
5853
5854 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5855
5856         * lyx_main.C: fix the fix
5857
5858 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * lyx_main.C: fix a crash in batch mode if no files specified
5861         * converter.C: ws
5862
5863 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5864
5865         * format.[Ch] (papersize): moved to BufferParams
5866         * converter.[Ch] (dvips_options): moved to BufferParams
5867         (dvipdfm_options): moved to anon namespace
5868         * bufferparams.[Ch]: added above functions.
5869
5870 2003-07-17  André Pönitz  <poenitz@gmx.net>
5871
5872         * lyxtext.h:
5873         * rowpainter.C:
5874         * text2.C: don't call inset->update() anymore
5875
5876         * metricsinfo.[Ch]: add convenience constructor
5877
5878 2003-07-16  André Pönitz  <poenitz@gmx.net>
5879
5880         * lyxcursor.[Ch]:
5881         * lyxfunc.[Ch]:
5882         * text.C:
5883         * text2.C: replace the LyXCursor::irow_ member with
5884          on-demand computation of the value
5885
5886 2003-07-16  John Levon  <levon@movementarian.org>
5887
5888         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5889
5890 2003-07-15  André Pönitz  <poenitz@gmx.net>
5891
5892         * text.C:
5893         * text2.C: remove no more needed refresh_row
5894
5895 2003-07-15  André Pönitz  <poenitz@gmx.net>
5896
5897         * lyxtext.h:
5898         * rowpainter.C:
5899         * text2.C:
5900         * text3.C: refresh_status tristate -> need_update bool
5901
5902 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5903
5904         * lyxtext.h (init): remove reinit argument (act as if always true)
5905         * text2.C: adjust to that
5906
5907 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5908
5909         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5910         * text3.C: use it to delete selections in some cases
5911         (bugs 441, 673, 702, 954).
5912
5913 2003-07-14  André Pönitz  <poenitz@gmx.net>
5914
5915         * rowpainter.[Ch]: reduce interface
5916
5917 2003-07-14  André Pönitz  <poenitz@gmx.net>
5918
5919         * BufferView_pimpl.C:
5920         * text2.C: adjust after removing unused BufferView * argument
5921
5922 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5923
5924         * text2.C (init): fix a crash fired on resize
5925
5926 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * buffer.[Ch]: added new closing signal
5929         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5930         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5931         BufferView::Pimpl via the closing the signal
5932
5933 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5934
5935         * buffer.[Ch]: take out all bv-related from buffer
5936         * BufferView.C:
5937         * BufferView_pimpl.[Ch]: connect to new signals
5938         * CutAndPaste.C: removed useless asserts
5939         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5940         * lyxvc.[Ch]:
5941         * vc-backend.[Ch]:
5942         * lyxfunc.C: moved view-related funciontality from vc here
5943         * paragraph.C: removed outdated comments
5944         * text.C: ws
5945
5946 2003-07-10  André Pönitz  <poenitz@gmx.net>
5947
5948         * BufferView_pimpl.C:
5949         * tabular.h:
5950         * tabular_funcs.C:
5951         * text.C:
5952         * text2.C: remove InsetText::InnerCache, clean up consequences
5953
5954 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5955
5956         * ispell.C: fix two typos in error messages
5957
5958 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5959
5960         * Extend Note inset to other forms of annotation like Comment
5961         and Greyedout. Right button click gives dialog.
5962
5963         Files modified or added (+):
5964
5965         * insetnote.[Ch]
5966         * FormNote.[Ch]      +
5967         * ControlNote.[Ch]   +
5968         * form_note.fd       +
5969         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5970         frontends/controllers
5971         * xforms/Dialogs.C
5972         * factory.C
5973
5974 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5975
5976         * aspell.C: add missing namespace lyx::support
5977
5978 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5979
5980         * BufferView.[Ch] (newFile): Add
5981         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5982         * LaTeX.[Ch] (message): added this signal and use it
5983         * buffer.[Ch] (busy, message): added these signals and use them
5984         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5985         * converter.C:
5986         * exporter.C:
5987         * format.C:
5988         * importer.C: use buffer signals instead of direct bv calling
5989         * lyx_cb.[Ch] (ShowMessage): removed
5990         * lyx_main.C:
5991         * lyxfunc.C:
5992         * paragraph_funcs.C:
5993         * text2.C: use buffer signals
5994
5995 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * introduce namespace lyx::graphics
5998
5999 2003-07-02  André Pönitz  <poenitz@gmx.net>
6000
6001         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6002
6003 2003-07-01  André Pönitz  <poenitz@gmx.net>
6004
6005         * text.C:
6006         * text2.C:
6007         * text3.C:
6008         * text_funcs.[Ch]:
6009         * textcursor.h:
6010         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6011           text*.C to text_func.C
6012
6013 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * introduce namespace lyx::support
6016
6017 2003-06-30  André Pönitz  <poenitz@gmx.net>
6018
6019         * Chktex.C:
6020         * funcrequest.C:
6021         * lyxtext.h:
6022         * text.C: re-enable --with-included-string
6023
6024 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * textcursor.C: add <config.h>
6027
6028         * text.C (getWord): remove const from word_location arg
6029
6030         * lyxvc.C (getLogFile): fix const type order
6031
6032         * lyxtext.h: remove const from word_location arg, add arg name
6033
6034         * lyxlayout.h: currect type on labeltype.
6035
6036         * importer.C: correct \file
6037
6038         * converter.C (intToFormat): use std:: on ret val, ws changes
6039
6040         * bufferlist.h: correct \file
6041
6042         * buffer.C (makeLinuxDocFile): fix const type order
6043         (makeDocBookFile): ditto
6044         (fillWithBibKeys): use std:: on stdlib args.
6045
6046         * CutAndPaste.C: fix authors.
6047         (availableSelections): use std:: on return vector
6048
6049 2003-06-27  André Pönitz  <poenitz@gmx.net>
6050
6051         * BufferView_pimpl.C:
6052         * bufferview_funcs.C:
6053         * lyxcursor.C:
6054         * lyxcursor.h:
6055         * lyxfunc.C:
6056         * lyxtext.h:
6057         * rowpainter.C:
6058         * text.C:
6059         * text2.C:
6060         * text3.C: remove LyXCursor::row_ member
6061
6062         * lyxtext.h:
6063         * text.C: rename fullRebreak() to partialRebreak() and implement
6064           a fullRebreak() that really bereks fully
6065
6066         * textcursor.h: new struct for cursor-related data
6067
6068 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6069
6070         * lyx_main.C (LyX): get full path of document loaded on the
6071         command line
6072
6073 2003-06-26  André Pönitz  <poenitz@gmx.net>
6074
6075         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6076           remove unused/broken operator>,<,>=.
6077
6078         *       text.C: remove only use of broken operator<= in an Assert().
6079
6080 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6081
6082         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6083         moved errorlist_.clear to showErrorList
6084
6085 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6086
6087         * converter.C (scanLog, runLaTeX):
6088         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6089         move the bv->showErrorList call to the callers
6090         * lyxfunc.C: i.e. here...
6091         * text2.C: and here
6092         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6093         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6094         namespace, the second to...
6095         * buffer_funcs (BufferFormat, parseErrors): added
6096         * errorlist.C (ErrorList(TeXErrors const &)): removed
6097
6098 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6099
6100         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6101
6102 2003-06-24  "Garst R. Reese" <reese@isn.net>
6103
6104         * debug.C: fix typo
6105
6106 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6107
6108         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6109
6110         * version.C.in: change docversion to 1.4
6111
6112 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6113
6114         * buffer.C: fix a bug just introduced
6115
6116 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6117
6118         * buffer.[Ch]: added the parseError signal and use it, removed
6119         sgmlError
6120         * BufferView.[Ch] (addError): moved to ...
6121         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6122         to the Buffer::parseError signal to catch (guess what) parse errors
6123         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6124
6125 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6126
6127         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6128         ability to create a buffer and to return an existing one from
6129         the list. Moved these functions to...
6130         * buffer_funcs.[Ch]: added
6131         * BufferView.[Ch] (loadLyXFile): added
6132         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6133         job removed from bufferlist::loadLyXFile.
6134         * buffer.C (setReadOnly): make it work without view
6135         (i.e added an if (users))
6136
6137 2003-06-19  Angus Leeming  <leeming@lyx.org>
6138
6139         * lfuns.h:
6140         * LyXAction.C (init):
6141         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6142         with LFUN_DIALOG_SHOW <name> <data>.
6143
6144 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6145
6146         * CutAndPaste.C (availableSelections): small compilation fix for
6147         ancient (gcc 2.9x) compilers
6148
6149 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * text3.C (cursorNext): add tmp var
6152
6153         * text2.C (updateCounters): for function calling out of for clause
6154         (replaceSelectionWithString): ditto
6155         (insertStringAsParagraphs): ditto
6156         (getColumnNearX): add tmp var
6157         (setCursorFromCoordinates): add tmp var
6158         (cursorDownParagraph): add tmp var
6159         (deleteEmptyParagraphMechanism): add tmp var
6160
6161         * text.C (insertChar): add tmp var
6162
6163         * rowpainter.C (paintDepthBar): add tmp var
6164
6165         * CutAndPaste.C (availableSelections): potentially check all
6166         paragraphs in a cut to fill the shown strings.
6167
6168 2003-06-18  André Pönitz  <poenitz@gmx.net>
6169
6170         * kbmap.[Ch]: use vector<> instead of list<>
6171
6172 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6173
6174         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6175         pasteSelection with index
6176
6177         * text2.C (pasteSelection): modify, call pasteSelection with index
6178
6179         * paragraph.C (asString): reimplement version with no interval to
6180         call the one with interval.
6181
6182         * lyxtext.h: add index arg to pasteSelection
6183
6184         * MenuBackend.C (MenuItem): handle PasteRecent
6185         (Menu::read::Menutags): add md_pasterecent
6186         (read): handle it
6187         (expandPasteRecent): new function
6188         (expand): use it
6189
6190         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6191
6192         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6193         the limited stack
6194         (availableSelections): new function
6195
6196 2003-06-17  Angus Leeming  <leeming@lyx.org>
6197
6198         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6199
6200 2003-06-17  Angus Leeming  <leeming@lyx.org>
6201
6202         * lfuns.h:
6203         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6204
6205         * lyxfunc.C (dispatch): invoke it.
6206
6207 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6208
6209         * iterators.C (operator++, ParPosition): reintroduce some
6210         const_cast for the benefit of older compilers.
6211
6212 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6213
6214         * text3.C (dispatch): do not modify clipboard when doing
6215         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6216         LFUN_DELETE_SKIP on a selection selection
6217
6218 2003-06-16  André Pönitz  <poenitz@gmx.net>
6219
6220         * BufferView.C:
6221         * buffer.C:
6222         * buffer.h:
6223         * paragraph.C:
6224         * tabular.[Ch]: IU of clone() and getLabelList();
6225
6226 2003-06-13  André Pönitz  <poenitz@gmx.net>
6227
6228         * tabular.h: compactification
6229
6230 2003-06-12  André Pönitz  <poenitz@gmx.net>
6231
6232         * tabular.C:
6233         * tabular.h:
6234         * tabular_funcs.h: some renaming plus whitespace
6235
6236 2003-06-12  André Pönitz  <poenitz@gmx.net>
6237
6238         * BufferView.C:
6239         * BufferView_pimpl.C:
6240         * CutAndPaste.C:
6241         * buffer.C:
6242         * iterators.[Ch]:
6243         * lyxfunc.C:
6244         * text.C:
6245         * toc.C: Return a Paragraph & for ParIterator::operator*()
6246
6247 2003-06-11  John Levon  <levon@movementarian.org>
6248
6249         * lyx_main.C:
6250         * ToolbarBackend.h:
6251         * ToolbarBackend.C: add "Toolbars" section and
6252         put the flags there
6253
6254 2003-06-10  Angus Leeming  <leeming@lyx.org>
6255
6256         * lfuns.h:
6257         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6258
6259         * lyxfunc.C (dispatch): invoke it.
6260
6261 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6262
6263         * main.C: protect <ios> with HAVE_IOS
6264         (main): protect sync_with_stdio with HAVE_IOS
6265
6266 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6267
6268         * text2.C (cutSelection): adjust
6269         (pasteSelection): adjust
6270
6271         * messages.C: handle get of empty string
6272
6273         * main.C (main): use sync_with_stdio(false)
6274
6275         * lyxfunc.C (dispatch): adjust
6276
6277         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6278         (WriteAs): remove unneeded BufferView arg.
6279
6280         * bufferparams.h: use correct types on papersize, papersize2 and
6281         paperpackage.
6282
6283         * bufferparams.C (readToken): adjust for type
6284         (writeLaTeX): add missing cases to switch.
6285
6286         * bufferlist.C (quitWriteBuffer): adjust
6287         (close): adjust
6288
6289         * buffer.C (asciiParagraph): remove some commented code.
6290
6291         * CutAndPaste.C: remove current_view extern variable.
6292         (cutSelection): add BufferParams arg.
6293         (eraseSelection): add BufferParams arg.
6294         (pasteSelection): add Buffer const & arg
6295
6296 2003-06-07  John Levon  <levon@movementarian.org>
6297
6298         * buffer.C:
6299         * paragraph_funcs.C:
6300         * paragraph_pimpl.C:
6301         * text.C:
6302         * text2.C:
6303         * paragraph.h:
6304         * paragraph.C: allow InsetERT to freely space lines,
6305         and some consolidation of code
6306
6307 2003-06-06  José Matos  <jamatos@fep.up.pt>
6308
6309         * buffer.C (makeDocBookFile): fix bug #821
6310
6311 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6314
6315 2003-06-04  Angus Leeming  <leeming@lyx.org>
6316
6317         * buffer.C: bump format to 224.
6318
6319 2003-06-05  André Pönitz  <poenitz@gmx.net>
6320
6321         * text2.C (redoParagraphs): remove two const_cast<>
6322
6323 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6324
6325         * ParagraphList.h: remove last remnants of NO_STD_LIST
6326
6327 2003-06-03  Angus Leeming  <leeming@lyx.org>
6328
6329         * factory.C (createInset): small change to the way InsetExternal's params
6330         are set.
6331
6332 2003-06-04  André Pönitz  <poenitz@gmx.net>
6333
6334         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6335
6336         * paragraph_pimpl.h:
6337         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6338
6339         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6340
6341         * undo_funcs.C: make some simple cases of undo work again
6342
6343 2003-06-03  John Levon  <levon@movementarian.org>
6344
6345         * ispell.C: HPUX doesn't have sys/select.h
6346         (from Albert Chin)
6347
6348 2003-06-03  John Levon  <levon@movementarian.org>
6349
6350         * CutAndPaste.C: update tabular and include inset
6351         buffer references
6352
6353         * buffer.h:
6354         * paragraph.h:
6355         * paragraph.C: remove owningBuffer(), don't pass Buffer
6356         to clone()
6357
6358         * factory.C: insetGraphicsParams changed
6359
6360 2003-06-02  John Levon  <levon@movementarian.org>
6361
6362         * LyXAction.C:
6363         * factory.C:
6364         * lfuns.h:
6365         * lyxfunc.C:
6366         * text3.C: remove insetparent
6367
6368 2003-06-02  John Levon  <levon@movementarian.org>
6369
6370         * buffer.h:
6371         * buffer.C: fix inset_iterator.end(), move out of line
6372         (bug 1149)
6373
6374 2003-06-01  John Levon  <levon@movementarian.org>
6375
6376         * text3.C: use a proper cut/paste when doing inset
6377         insert (from Jürgen Spitzmüller)
6378
6379 2003-06-01  John Levon  <levon@movementarian.org>
6380
6381         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6382
6383 2003-05-30  André Pönitz  <poenitz@gmx.net>
6384
6385         * rowpainter.C: unify second drawing phase
6386
6387 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * trans_mgr.C: remove one case of current_view
6390
6391         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6392
6393         * paragraph_funcs.h: remove paragraph.h include
6394
6395         * paragraph.h: delete NO_STD_LIST stuff
6396
6397         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6398
6399         * buffer.h: remove paragraph.h include
6400
6401         * ParagraphList.C: delete file
6402
6403         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6404
6405         * toc.C (getTocList): adjust
6406
6407         * paragraph_pimpl.C (validate): adjust
6408
6409         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6410
6411         * paragraph.C (Paragraph): adjust
6412         (getPositionOfInset): use const_iterator, adjust
6413         (bibitem): use const_iterator, adjust
6414         (setInsetOwner): adjust
6415
6416         * iterators.C (operator++): adjust
6417
6418         * InsetList.[Ch]: Replace selfmade iterator with standard
6419         vector::iterator also introduce const_iterator. Remove getPos,
6420         getInset and setInset from InsetTable. Adjust accordingly.
6421
6422         * BufferView.C (lockInset): adjust
6423         (ChangeInsets): adjust
6424
6425         * tabular.[Ch]: delete commented same_id functions
6426
6427 2003-05-28  John Levon  <levon@movementarian.org>
6428
6429         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6430
6431 2003-05-28  André Pönitz  <poenitz@gmx.net>
6432
6433         * metricsinfo.[Ch]: remove 'fullredraw' member
6434
6435 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6436
6437         * lyxtextclass.C (operator): remove caching.
6438
6439 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * text3.C: adjust
6442
6443         * text2.C (cursorBottom): adjust
6444         (setCounter): use ParagraphList::find, adjust
6445
6446         * text.C (workWidth): use ParagraphList::find, adjust
6447
6448         * lyxcursor.C (LyXCursor): adjust
6449
6450         * buffer.C (inset_iterator): adjust
6451
6452         * ParagraphList.h: make iterator(value_type) private, make
6453         ParagraphList a friend of iterator.
6454
6455         * ParagraphList.C (find): new function
6456
6457         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6458
6459 2003-05-27  André Pönitz  <poenitz@gmx.net>
6460
6461         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6462
6463 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6464
6465         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6466
6467 2003-05-26  John Levon  <levon@movementarian.org>
6468
6469         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6470
6471 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6472
6473         * remove same_id from function signatures, adjust.
6474
6475 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6478
6479         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6480
6481         * paragraph.C (Paragraph): get rid of same_ids parameter
6482
6483         * ParagraphList.C (insert): adjust
6484         (push_back): adjust
6485
6486 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6487
6488         * paragraph_funcs.C (breakParagraph): adjust
6489         (breakParagraphConservative): adjust
6490
6491         * buffer.C (readParagraph): adjust
6492
6493         * ParagraphList.C (insert): take a reference instead of a pointer
6494         (insert): adjust
6495
6496         * paragraph.[Ch] (id): new function
6497
6498         * bufferlist.C (newFile): adjust
6499
6500         * ParagraphList.C (ParagraphList): adjust
6501         (assign): adjust
6502         (push_back): take a reference instead of a pointer.
6503
6504         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6505
6506         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6507         instead.
6508
6509         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6510         set else use old code.
6511
6512         * ParagraphList.C: remove all NO_NEXT code and only compile this
6513         code of NO_STD_LIST is set.
6514
6515 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6516
6517         * BufferView_pimpl.C:
6518         * TextCache.C:
6519         * TextCache.h:
6520         * bufferlist.C:
6521         * errorlist.h:
6522         * format.C:
6523         * format.h:
6524         * graph.C:
6525         * lyxfunc.C:
6526         * lyxrc.C:
6527         * graphics/GraphicsConverter.C:
6528         * graphics/PreviewLoader.C: header adjustment
6529
6530 2003-05-23  Angus Leeming  <leeming@lyx.org>
6531
6532         * LaTeXFeatures.[Ch] (useBabel): new method.
6533         * bufferparams.C (writeLaTeX): use it.
6534
6535 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * ParagraphList.h (set): remove unused function.
6538
6539 2003-05-23  André Pönitz  <poenitz@gmx.net>
6540
6541         * BufferView.C:
6542         * BufferView_pimpl.C:
6543         * buffer.C:
6544         * buffer.h:
6545         * lyxfunc.C:
6546         * undo_funcs.C: setUndo reworked
6547
6548         * iterators.[Ch]: add access to topmost ParagraphList
6549
6550         * lyxtext.[Ch] (workWidth): add a const
6551
6552 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6553
6554         * texrow.[Ch] (increasePos): remove function
6555         * exporter.C (export): removed unused var and outdated comment
6556
6557 2003-05-23  Angus Leeming  <leeming@lyx.org>
6558
6559         * latexrunparams.h: rename fragile as moving_arg.
6560         * paragraph.C (simpleTeXOnePar): ditto.
6561         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6562
6563 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6566         (createUndo): ditto
6567         (textUndoOrRedo): comment out a currently unused var.
6568
6569         * paragraph.h (NO_NEXT): enable NO_NEXT
6570
6571         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6572
6573         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6574
6575         * exporter.C (Export): adjust for removeAutoInsets removal.
6576
6577         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6578
6579         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6580
6581         * BufferView.[Ch] (removeAutoInsets): delete function
6582
6583 2003-05-22  Angus Leeming  <leeming@lyx.org>
6584
6585         * latexrunparams.h: add a free_spacing variable.
6586
6587         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6588         to pass moving_arg, as the data is stored in runparams.fragile.
6589
6590         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6591         to Inset::latexOptional or to simpleTeXOnePar.
6592
6593         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6594         free_spacing arg to Inset::latexOptional.
6595
6596         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6597         free_spacing arg.
6598
6599 2003-05-22  Angus Leeming  <leeming@lyx.org>
6600
6601         * latexrunparams.h: add fragile and use_babel variables.
6602
6603         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6604         * buffer.C (makeLaTeXFile): store this returned value in
6605         runparams.use_babel, thus passing it to the inset::latex methods.
6606
6607         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6608         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6609
6610         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6611         longer has a fragile arg, as it is stored in runparams.fragile.
6612
6613         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6614         moving_arg parameter as the data is stored in runparams.fragile.
6615
6616         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6617         a fragile parameter as the data is stored in runparams.fragile.
6618
6619 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6622
6623 2003-05-22  Angus Leeming  <leeming@lyx.org>
6624
6625         * latexrunparams.h: add a 'bool nice' which defaults to false.
6626
6627         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6628         now encapsulated within runparams.
6629
6630         * bufferlist.C (updateIncludedTeXfiles):
6631         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6632
6633 2003-05-22  Angus Leeming  <leeming@lyx.org>
6634
6635         * latexrunparams.h: new file containing struct LatexRunParams.
6636         * Makefile.am: add new file.
6637
6638         * LaTeX.[Ch] (c-tor, run):
6639         * buffer.[Ch] (makeLaTeXFile):
6640         * bufferlist.[Ch] (updateIncludedTeXfiles):
6641         * converter.C (convert, scanLog):
6642         * converter.[Ch] (runLaTeX):
6643         * exporter.C (Export):
6644         * paragraph.[Ch] (simpleTeXOnePar):
6645         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6646         * paragraph_funcs.[Ch] (latexParagraphs):
6647         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6648         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6649         pass around a LatexRunParams parameter.
6650
6651 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * paragraph.[Ch]: remove unused constructor
6654
6655         * ParagraphList.C (erase): new function, taking two iterators
6656
6657 2003-05-22  André Pönitz  <poenitz@gmx.net>
6658
6659         * undo_funcs.C: remove duplicated code
6660
6661         * iterator.[Ch]: operator=
6662
6663 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * tabular.C (SetMultiColumn): ws changes
6666
6667         * rowpainter.C (paintFirst): get rid of a ->previous
6668
6669         * lyx_cb.C (getPossibleLabel): parlist simplification
6670
6671         * BufferView.C (ChangeInsets): simplify slightly.
6672
6673 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6674
6675         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6676         * lfuns.h: new LFUN_SPACE
6677         * lyxfunc.C: protected space has a new lfun
6678         * paragraph_funcs.C: read new space insets
6679         * text3.C:
6680         * factory.C: handle new space insets
6681
6682 2003-05-22  André Pönitz  <poenitz@gmx.net>
6683
6684         * BufferView.C:
6685         * BufferView_pimpl.C:
6686         * buffer.[Ch]:
6687         * lyxfunc.C:
6688         * undo_funcs.C: return a ParIterator from getParFromID.
6689
6690         * iterators.[Ch]: add two const's
6691
6692 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6693
6694         * toc.C (getTocList): adjust
6695
6696         * iterators.[Ch]: rework for parlist
6697
6698         * buffer.C (par_iterator_begin): adjust
6699         (par_iterator_end): adjust
6700
6701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6702
6703         * BufferView.C (removeAutoInsets): adjust
6704         (ChangeInsets): adjust
6705
6706 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6707
6708         * text.C (top_y): fix bug 1110
6709
6710 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6711
6712         * errorlist.[Ch]: added
6713         * buffer.C:
6714         * BufferView.[Ch]:
6715         * BufferView_pimpl.C:
6716         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6717         instead
6718
6719 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * Makefile.am: ensure that lyx is relinked upon changes to the
6722         various "convenience" libs.
6723
6724 2003-05-20  Angus Leeming  <leeming@lyx.org>
6725
6726         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6727         files are compiled in alphabetical order again.
6728
6729         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6730
6731 2003-05-19  Angus Leeming  <leeming@lyx.org>
6732
6733         * gettext.[Ch]: remove "char const * _(char const *)".
6734
6735 2003-05-19  André Pönitz  <poenitz@gmx.net>
6736
6737         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6738
6739         * Makefile.am:
6740         * BufferView.C:
6741         * DepTable.h:
6742         * LaTeXFeatures.C:
6743         * buffer.C:
6744         * lyxfont.C:
6745         * lyxlex.h:
6746         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6747
6748 2003-05-19  André Pönitz  <poenitz@gmx.net>
6749
6750         * buffer.C:
6751         * lyxlayout.[Ch]:
6752         * lyxtextclass.[Ch]:
6753         * paragraph.C:
6754         * paragraph_funcs.[Ch]:
6755         * text2.C:
6756         * text3.C: more insetenv work
6757
6758 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6759
6760         * ParagraphParameters.C (params2string): small bug fixed
6761
6762 2003-05-16  André Pönitz  <poenitz@gmx.net>
6763
6764         * debug.C:
6765         * bufferview_funcs.C: patch from Kornel Benko to prevent
6766           crash when _(...) is called twice in a statement
6767
6768 2003-05-16  André Pönitz  <poenitz@gmx.net>
6769
6770         * BufferView.C:
6771         * lyxfunc.C:
6772         * text.C:
6773         * text2.C:
6774         * text3.C:
6775         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6776
6777 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6778
6779         * lyx_main.C (init): remove spurious static_cast
6780
6781 2003-05-14  André Pönitz  <poenitz@gmx.net>
6782
6783         * BufferView.C: fix format string
6784
6785 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6786
6787         * BufferView.[Ch] (insertErrors): removed
6788         * BufferView.[Ch] (showErrorList): added
6789         * buffer.C (runChkTeX):
6790         * converter.C (scanLog): call showErrorList instead of inserterrors
6791
6792 2003-05-13  André Pönitz  <poenitz@gmx.net>
6793
6794         * BufferView_pimpl.C:
6795         * buffer.C:
6796         * bufferview_func.C:
6797         * MenuBackend.C:
6798         * lyxfunc.C:
6799         * lyxrc.C:
6800         * tex-accent.C:
6801         * text3.C:
6802         * toc.C:
6803         * tabular_funcs.h: tostr() from its own header
6804
6805         * ParagraphParameters.C:
6806         * ToolbarBackend.C:
6807         * bufferparams.C:
6808         * format.C:
6809         * lyxlex_pimpl.C:
6810         * text3.C: STRCONV()
6811
6812 2003-05-12  André Pönitz  <poenitz@gmx.net>
6813
6814         * BufferView.C:
6815         * BufferView_pimpl.C:
6816         * CutAndPaste.C:
6817         * LaTeX.C:
6818         * LaTeXFeatures.C:
6819         * ParagraphParameters.C:
6820         * buffer.C:
6821         * bufferlist.C:
6822         * bufferparams.C:
6823         * bufferview_funcs.C:
6824         * converter.C:
6825         * counters.C:
6826         * debug.C:
6827         * exporter.C:
6828         * format.C:
6829         * importer.C:
6830         * lyx_cb.C:
6831         * lyx_main.C:
6832         * lyxfont.C:
6833         * lyxfunc.C:
6834         * lyxvc.C:
6835         * paragraph.C:
6836         * paragraph_funcs.C:
6837         * tabular.C:
6838         * tabular_funcs.C:
6839         * text2.C:
6840         * text3.C:  boost::format -> bformat  all over the place
6841
6842
6843 2003-05-09  André Pönitz  <poenitz@gmx.net>
6844
6845         * LColor.[Ch]: Pimpl the #include <map> away
6846
6847 2003-05-09  John Levon  <levon@movementarian.org>
6848
6849         * bufferlist.C: never remove emergency saves
6850
6851 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * Makefile.am: better lib building
6854
6855 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6858         instead.
6859         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6860         (simpleTeXSpecialChars): adjust
6861         (simpleTeXSpecialChars): adjust
6862         * paragraph.C (simpleTeXOnePar): adjust
6863         * buffer.C (makeLaTeXFile): adjust
6864
6865         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6866
6867         * text2.C (changeDepth): parlist cleanup
6868         (getColumnNearX): ditto
6869
6870         * rowpainter.C (getLabelFont): parlist cleanup
6871
6872         * bufferlist.C (newFile): parlist cleanup
6873
6874         * CutAndPaste.C (eraseSelection): parlist cleanup
6875
6876         * BufferView_pimpl.C (trackChanges): parlist cleanup
6877         (dispatch): ditto
6878
6879         * BufferView.C (lockInset): parlist cleanup.
6880         (ChangeInsets): ditto
6881
6882 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * CutAndPaste.h: Update file header.
6885
6886         * CutAndPaste.C: Update file header.
6887         Store the parts cut out of the Document in a limited_stack.
6888         (copySelection): adjust
6889         (pasteSelection): new function, takes the index in the limited stack.
6890         (nrOfParagraphs): adjust
6891         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6892         simplify error inset insertion.
6893         (checkPastePossible): adjust
6894
6895 2003-05-06  John Levon  <levon@movementarian.org>
6896
6897         * text2.C: don't cast wrap inset to float
6898
6899 2003-05-05  André Pönitz  <poenitz@gmx.net>
6900
6901         * iterator.C:
6902         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6903
6904         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6905           few naked Paragraph *.
6906
6907 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6908
6909         * bufferparams.C: Output warning if a document with missing
6910         TeX document class is loaded
6911         * exporter.C: Disable TeX exports if the document class is missing
6912         * lyxtextclass.C:
6913         * lyxtextclass.h:
6914         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6915         isTeXClassAvailable()
6916
6917 2003-05-03  John Levon  <levon@movementarian.org>
6918
6919         * BufferView.h:
6920         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6921         explicit cursor show/hide
6922
6923         * BufferView_pimpl.h:
6924         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6925         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6926
6927         * lyxfunc.C: hide cursor before dispatching.
6928
6929         * lyx_cb.C:
6930         * lyxfind.C:
6931         * text.C:
6932         * text3.C: remove explicit cursor hides
6933
6934 2003-05-02  André Pönitz  <poenitz@gmx.net>
6935
6936         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6937
6938         * undo_funcs.C:
6939         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6940           linked lists
6941
6942         * text2.C: tiny whitespace
6943
6944 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * undo_funcs.C: almost only ws changes.
6947
6948         * ParagraphList.C (splice): just return if pl is empty.
6949
6950 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6951
6952         * ParagraphList.C (splice): new function.
6953
6954         * CutAndPaste.C (pasteSelection): use it
6955
6956 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * CutAndPaste.C (pasteSelection): remove the last next and
6959         previous from this file.
6960
6961 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6962
6963         * CutAndPaste.C (pasteSelection): more clean up, user proper
6964         ParagraphList functions for pasteing.
6965
6966         * ParagraphList.C (insert): new function, three arg insert
6967
6968 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * ParagraphList.C (insert): new function, three arg insert
6971
6972         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6973         not on paragraphs.
6974
6975 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6978
6979 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6980
6981         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6982
6983 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6986         (copySelection): clean up a bit.
6987         (pasteSelection): use make_pair
6988
6989         * ParagraphList.C (ParagraphList): implement copy constructor
6990         (operator=): implement, base on copy constructor.
6991         (assign): new func
6992
6993         * paragraph.C (erase): return a bool
6994
6995         * paragraph_pimpl.C (erasePos): remove function, move contents...
6996         (erase): ... here. Return a bool.
6997         (erase): call erase instead of erasePos.
6998
6999 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * ParagraphList.h: define PitPosPair
7002         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7003         ParagraphList, fix a bug on pasting multiple pars
7004         * text2.C: change interface to C&P
7005
7006 2003-04-30  André Pönitz  <poenitz@gmx.net>
7007
7008         * undo_func.C: revert part of yesterday's patch 2
7009
7010 2003-04-30  John Levon  <levon@movementarian.org>
7011
7012         * LColor.C: s/tabular/table/
7013
7014 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7015
7016         * text3.C (dispatch): do not convert iterator -> pointer
7017         * undo_funcs.C (setCursorParUndo): ditto
7018         * text_funcs.C (transposeChars): ditto
7019
7020         * text2.C (setLayout): ws changes only
7021
7022         * text.C (breakParagraph): do not convert iterator -> pointer
7023         (insertChar): ditto
7024         (acceptChange): ditto
7025         (rejectChange): ditto
7026         (changeCase): ditto
7027         (Delete): ditto
7028         (backspace): ditto
7029
7030         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7031         pointer
7032
7033 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7034
7035         * text3.C (gotoInset): YABG (yet another bad getChar)
7036
7037 2003-04-29  André Pönitz  <poenitz@gmx.net>
7038
7039         * paragraph.h: make operator= private unimplemented as long as
7040           it is unusable
7041
7042         * ParagraphList.C: whitespace
7043
7044         * paragraph.[Ch]:
7045         * paragraph_pimpl.[Ch]:
7046         * paragraph_funcs.C:
7047         * CutAndPaste.C:
7048         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7049
7050         * text2.C:
7051           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7052
7053 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7054
7055         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7056         * paragraph.[Ch] (erase):
7057         * paragraph_pimpl.[Ch] (erase): change return type and value
7058         * text2.C (cutSelection): some rework
7059
7060 2003-04-28  John Levon  <levon@movementarian.org>
7061
7062         * bufferlist.C: changes for unsaved changes dialog
7063
7064 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * bufferlist.C (newFile): set language (messages_) for new
7067         documents also.
7068
7069         * buffer.C (readFile): ws changes only.
7070
7071 2003-04-28  André Pönitz  <poenitz@gmx.net>
7072
7073         * undo_funcs.C:
7074         * lyxfunc.C:
7075         * buffer.[Ch]:
7076         * BufferView_pimpl.C:
7077         * BufferView.C: getParFromID related ParagraphList::iterator changes
7078
7079 2003-04-28  André Pönitz  <poenitz@gmx.net>
7080
7081         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7082           Changes
7083
7084 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * messages.C: remove one more localedir class variable.
7087
7088 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * messages.C (getLocaleDir): singleton generation function
7091         (Pimpl): use it.
7092         (Messages): add a default constructor.
7093
7094         * main.C (main): do not setup localedir here, do not call
7095         gettext_init.
7096
7097         * gettext.C (_): use it.
7098         (gettext_init): delete funciton
7099
7100 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * gettext.C (getLyXMessages): new singleton generating function.
7103
7104         * buffer.C (updateDocLang): adjust
7105
7106         * Makefile.am (messages.o): add target
7107         (main.o): remove target
7108
7109 2003-04-27  John Levon  <levon@movementarian.org>
7110
7111         * bufferlist.C:
7112         * lyx_cb.C:
7113         * lyxfunc.C:
7114         * lyxvc.C: specify cancel button in Alert::prompt
7115
7116 2003-04-26  John Levon  <levon@movementarian.org>
7117
7118         * text3.C:
7119         * lyxfunc.C:
7120         * lfuns.h:
7121         * LyXAction.C: add LFUN_INSET_SETTINGS
7122
7123         * lyxfunc.C: don't enable tabular-feature when there's
7124         just any locking inset
7125
7126 2003-04-26  John Levon  <levon@movementarian.org>
7127
7128         * bufferlist.C: re-add Cancel to buffer close question
7129
7130         * lyxfunc.C: fix import UI a bit
7131
7132 2003-04-25  John Levon  <levon@movementarian.org>
7133
7134         * gettext.C: remove the broken asserts for now
7135
7136 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * messages.C: make case where setlocale cannot comply work better.
7139
7140         * buffer.C (updateDocLang): new function
7141         (changeLanguage): use it
7142         (readFile): use it
7143
7144         * text2.C (setCounter): use B_ a bit.
7145
7146         * lyxlayout.C (Read): be sure to trim the label strings.
7147
7148         * messages.C (Messages): fix typo in comment
7149
7150         * buffer.C (readFile): set message_ after file is loaded.
7151         (makeDocBookFile): remove double return
7152         (changeLanguage): reset message_ upon language change.
7153         (B_): new func, use this to get translated buffer strings.
7154
7155         * main.C: add myself and Jean Marc as authors.
7156
7157 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * messages.[hC]: pimplify Messages, and three different pimpls to be
7160         used in different circumstances.
7161
7162         * gettext.[Ch]: change for use with new message code.
7163
7164 2003-04-24 André Pönitz <poenitz@gmx.net>
7165
7166         * factory.C: support for eqref
7167
7168 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * messages.[Ch]: add missing char
7171
7172         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7173
7174         * messages.[Ch]: New files
7175
7176 2003-04-18  John Levon  <levon@movementarian.org>
7177
7178         * BufferView.h:
7179         * BufferView.C:
7180         * BufferView_pimpl.C:
7181         * lfuns.h:
7182         * LyXAction.C:
7183         * lyxtext.h:
7184         * text2.C: remove layout-copy/paste (bug 778)
7185
7186 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7187
7188         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7189
7190 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7193         if they succeed. Act accordingly.
7194
7195 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * text2.C (setCharFont): adjust
7198         (setCounter): adjust
7199         (insertStringAsLines): adjust
7200
7201         * text.C (leftMargin): adjust
7202         (setHeightOfRow): adjust
7203
7204         * rowpainter.C (paintFirst): adjust
7205         (paintLast): adjust
7206
7207         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7208         (outerHook): ditto
7209         (isFirstInSequence): ditto
7210         (getEndLabel): ditto
7211         (outerFont): adjust
7212
7213         * paragraph.C (getParLanguage): comment out some hard stuff.
7214
7215         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7216         (sgmlError): ditto
7217         (simpleDocBookOnePar): ditto
7218         (makeDocBookFile): use ParagraphList::iterator
7219
7220         * CutAndPaste.C (pasteSelection): adjust
7221
7222 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * text2.C (getFont): adjust
7225         (getLayoutFont): adjust
7226         (getLabelFont): adjust
7227
7228         * paragraph_funcs.C (TeXOnePar): adjust
7229
7230         * buffer.C (simpleLinuxDocOnePar): adjust
7231         (simpleDocBookOnePar): adjust
7232
7233         * CutAndPaste.C (pasteSelection): adjust
7234
7235         * BufferView.C (getEncoding): adjust
7236
7237         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7238
7239 2003-04-16  John Levon  <levon@movementarian.org>
7240
7241         * lyxfind.C: use parlist stuff for search/changes
7242
7243 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7246
7247         * text2.C (deleteEmptyParagraphMechanism): adjust
7248
7249         * text2.[Ch] (ownerParagraph): delete func (both of them
7250
7251 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7252
7253         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7254
7255 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * ParagraphList.C: prepare for NO_NEXT
7258
7259 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * text2.C (getFont): adjust
7262         (getLayoutFont): adjust
7263         (getLabelFont): adjust
7264
7265         * paragraph.C (getFont): adjust
7266         (getLabelFont): adjust
7267         (getLayoutFont): adjust
7268
7269         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7270
7271 2003-04-15  John Levon  <levon@movementarian.org>
7272
7273         From Angus Leeming
7274
7275         * lyx_main.C: handle Include in .ui files
7276
7277 2003-04-15  John Levon  <levon@movementarian.org>
7278
7279         * MenuBackend.C: make the doc files length shorter
7280
7281         * ToolbarBackend.h:
7282         * ToolbarBackend.C: handle toolbar placement flags,
7283         Minibuffer
7284
7285 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7288         adjust
7289
7290         * paragraph_funcs.C (TeXOnePar): adjust
7291
7292         * paragraph.C (getLabelFont): add outerfont arg, adjust
7293         (getLayoutFont): ditto
7294         (simpleTeXOnePar): adjust
7295
7296         * paragraph_pimpl.C (realizeFont): delete func
7297
7298 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7299
7300         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7301         row argument, constify cur argument.
7302
7303 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * text2.C (getFont): adjust
7306         (getLayoutFont): adjust
7307         (getLabelFont): adjust
7308
7309         * paragraph_funcs.C (TeXOnePar): adjust
7310         (outerFont): new func...
7311         (realizeFont): ...moved out from here, changed this to facilitate
7312         transition
7313
7314         * paragraph.C (getFont): take outerfont as arg, adjust
7315         (simpleTeXOnePar): add outerfont arg, adjust
7316
7317         * buffer.C (simpleLinuxDocOnePar): adjust
7318         (simpleDocBookOnePar): adjust
7319
7320         * CutAndPaste.C (pasteSelection): adjust
7321
7322         * BufferView.C (getEncoding): adjust
7323
7324 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * text2.C (setCharFont): adjust
7327         (setCounter): adjust
7328
7329         * text.C (leftMargin): adjust
7330         (setHeightOfRow): adjust
7331
7332         * rowpainter.C (paintFirst): adjust
7333         (paintLast): adjust
7334
7335         * paragraph_pimpl.C (realizeFont): adjust
7336
7337         * paragraph.C (isFirstInSequence): move from here...
7338         * paragraph_funcs.C (isFirstInSequence): ...to here
7339
7340         * paragraph.C (outerHook): move from here...
7341         * paragraph_funcs.C (outerHook): ...to here
7342
7343         * paragraph.C (depthHook): move from here...
7344         * paragraph_funcs.C (depthHook): ...to here
7345
7346         * paragraph.C (getEndLabel): move from here...
7347         * paragraph_funcs.C (getEndLabel): ...to here
7348
7349         * text2.C (realizeFont): move from here...
7350         * paragraph_funcs.C (realizeFont): ...to here
7351
7352 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7355
7356 2003-04-14  Angus Leeming  <leeming@lyx.org>
7357
7358         * LColor.[Ch]: scrap LColor mathcursor.
7359
7360 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * lyxlex.[Ch] (text): delete function
7363         * trans.C (Load): adjust
7364         * paragraph_funcs.C (readParToken): adjust
7365
7366 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7369         vector<char> instead of a char[].
7370
7371         * lyxlex_pimpl.C (getString): adjust
7372         (next): adjust
7373         (lex): use getString
7374         (eatLine): adjust
7375         (nextToken): adjust
7376
7377         * lyxlex.C (text): use pimpl_->getString()
7378         (getBool): ditto
7379         (findToken): ditto
7380
7381 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7384         (makeFontEntriesLayoutSpecific): temp var for par.size()
7385         (setLayout): temp var for ownerParagraphs().end()
7386         (fullRebreak): temp var for rows().end()
7387         (selectionAsString): temp var for boost::next(startpit), realize
7388         that the while really is a regular for loop.
7389         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7390         setCursor in one place.
7391         (setParagraph): temp vr for ownerParagraphs().end()
7392         (updateCounters): make the while loop a for loop
7393         (cutSelection): temp var for ownerParagraphs().end()
7394         (updateInset): make the do {} while() a regular for loop
7395         (getCursorX): use temp vars
7396         (setCurrentFont): use temp vars
7397         (getColumnNearX): use temp vars
7398
7399 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * text.C (transformChar): use temp var for getChar
7402         (computeBidiTables): use temp var for row->par()
7403         (fill): move temp vars for row->par() and pit->layout() earlier in
7404         the function.
7405         (labelFill): use temp var for row->par()
7406         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7407         asc and desc, realize that pit never changes and that firstpit is
7408         just a duplicate and not needed. Exchange rit->par() with pit in a
7409         lot of places.
7410         (breakAgain): use a temp var for boost::next(rit)
7411         (breakAgainOneRow): ditto
7412         (breakParagraph): use a temp var for rows().begin()
7413         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7414         (cursorRightOneWord): use temp var for cursor.par() and
7415         cursor.pos(), remove usage of tmpcursor.
7416         (cursorLeftOneWord): use temp var for cursor.par() and
7417         cursor.pos() only set cur at end of function.
7418
7419 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * text.C, text2.C: exchange all usage of Paragraph::next with
7422         boost::next(ParagraphList::iterator)
7423
7424         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7425
7426         * text2.C (cursorTop): simplify implementation
7427         (cursorBottom): ditto
7428         (setParagraph): use ParagraphList::iterator
7429         (setCurrentFont): adjust
7430         (getColumnNearX): adjust
7431         (cursorRight): adjust
7432         (cursorLeft): remove usage of Paragraph::previous
7433         (cursorUpParagraph): ditto
7434         (deleteEmptyParagraphMechanism): slight cleanup
7435
7436         * text.C (isBoundary): take a Paragraph const & instead of a
7437         pointer as arg.
7438         (addressBreakPoint): ditto
7439         (leftMargin): remove usage of Paragraph::previous.
7440         (setHeightOfRow): ditto
7441         (cursorLeftOneWord): ditto
7442         (selectNextWordToSpellcheck): ditto
7443         (Delete): ditto
7444         (backspace): ditto
7445         (breakParagraph): remove one usage of Paragraph::next
7446         (redoParagraph): ditto
7447         (acceptChange): ditto
7448         (insertChar): adjust
7449         (rowBreakPoint): adjust
7450
7451         * bufferview_funcs.C (toggleAndShow): adjust
7452
7453 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7454
7455         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7456         methods to access it.
7457         * lyxtext.h:
7458         * text.C: Added updateRowPositions to compute all row positions.
7459         Make top_y and getRowNearY() to use the cached y position
7460
7461 2003-04-11  John Levon  <levon@movementarian.org>
7462
7463         * text.C (rowBreakPoint): reintroduce the labelEnd
7464         checks, code copied from the row fill stuff. Deep voodoo.
7465
7466         * text.C (fill): add a comment and debugging for the
7467         next poor soul.
7468
7469 2003-04-11  John Levon  <levon@movementarian.org>
7470
7471         * text.C: make sure fullrow insets get wrapped to the next line,
7472         even when they're in a manual label
7473
7474 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * text2.C (insertParagraph): make it take ParagraphList::iterator
7477         as arg.
7478         (setLayout): make it return ParagraphList::iterator
7479         (redoParagraphs): ditto
7480         (setCounter): ditto
7481         (checkParagraph): ditto
7482
7483         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7484
7485         * text2.C: adjust several funcs.
7486         (realizeFont): take a ParagraphList::iterator as arg.
7487         (getLayoutFont): ditto
7488         (getLabelFont): ditto
7489         (setCharFont): ditto
7490
7491         * text.C: adjust several funcs.
7492
7493 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7494
7495         * text.C (selectNextWordToSpellcheck): don't accidentally
7496         skip insets
7497
7498 2003-04-10  John Levon  <levon@movementarian.org>
7499
7500         * ToolbarBackend.C (getIcon): special handling for
7501         LFUN_MATH_DELIM
7502
7503 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7504
7505         * text2.C (cursorRight): a getChar assert fixed
7506
7507 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * text2.C (getFont): change to take a ParagraphList::iterator
7510         instead of Paragraph*
7511         Adjust several functions.
7512
7513         * text.C (transformChar): change to take a ParagraphList::iterator
7514         instead of Paragraph*
7515         (singleWidth): ditto
7516         Adjust several functions.
7517
7518         * rowpainter.C: adjust several functions
7519         * rowpainter.h:store a ParagraphList::iterator and not a
7520         Paragraph&.
7521
7522
7523 2003-04-09  John Levon  <levon@movementarian.org>
7524
7525         * lyxfunc.C:
7526         * lfuns.h:
7527         * LyXAction.h:
7528         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7529         and the "help" bits as well
7530
7531 2003-04-09  John Levon  <levon@movementarian.org>
7532
7533         * ToolbarBackend.h:
7534         * ToolbarBackend.C: allow multiple toolbars
7535
7536 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * undo_funcs.C (setCursorParUndo): adjust
7539
7540         * text_funcs.C (transposeChars): adjust
7541
7542         * text3.C (gotoNextInset): adjust
7543         (dispatch): adjust
7544
7545         * text2.C (setLayout): adjust
7546         (changeDepth): adjust
7547         (setFont): adjust
7548         (redoParagraphs): adjust
7549         (selectionAsString): adjust
7550         (setParagraph): adjust
7551         (insertInset): adjust
7552         (cutSelection): adjust
7553         (copySelection): adjust
7554         (pasteSelection): adjust
7555         (insertStringAsLines): adjust
7556         (updateInset): adjust
7557         (setCursor): change to take a ParagraphList::iterator parameter
7558         (setCursorIntern): change to take a ParagraphList::iterator parameter
7559         (setCurrentFont): adjust
7560         (cursorLeft): adjust
7561         (cursorRight): adjust
7562         (deleteEmptyParagraphMechanism): adjust
7563
7564         * text.C (breakParagraph): adjust
7565         (insertChar): adjust
7566         (acceptChange): adjust
7567         (rejectChange): adjust
7568         (selectNextWordToSpellcheck): adjust
7569         (changeCase): adjust
7570         (Delete): adjust
7571         (backspace): adjust
7572
7573         * lyxfind.C (SearchForward): adjust
7574         (SearchBackward): adjust
7575         (nextChange): adjust
7576
7577         * lyxcursor.C (par): adjust
7578
7579         * lyxcursor.h: store a ParagraphList::iterator instead of a
7580         Paragraph*
7581
7582         * lyx_cb.C (getPossibleLabel): adjust
7583
7584         * bufferview_funcs.C (toggleAndShow): adjust
7585
7586         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7587         (dispatch): adjust
7588
7589         * BufferView.C (removeAutoInsets): adjust
7590         (lockedInsetStoreUndo): adjust
7591
7592 2003-04-09  John Levon  <levon@movementarian.org>
7593
7594         * ToolbarBackend.C: try icon without argument
7595         if with argument fails
7596
7597 2003-04-08  John Levon  <levon@movementarian.org>
7598
7599         * ToolbarBackend.h:
7600         * ToolbarBackend.C: add getIcon(), handle tooltip,
7601         and change from "Icon" to "Item".
7602
7603 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7604
7605         * BufferView.C (lockInset): another bad getchar crunched
7606
7607 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7608
7609         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7610         again)
7611
7612 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7613
7614         * lyxfind.C (searchForward, searchBackwards): bug 782
7615
7616 2003-04-07  John Levon  <levon@movementarian.org>
7617
7618         * paragraph.C: remove dead comment
7619
7620         * text.C: remove troublesome depth-fiddling code
7621         in leftMargin() and rightMargin() (bug 1017)
7622
7623         * text.C: fix breaking of rows in nested lists
7624         (bug 1004)
7625
7626         * text2.C (updateCounters): fix up depth values
7627         (bug 1013)
7628
7629 2003-04-07  John Levon  <levon@movementarian.org>
7630
7631         * BufferView_pimpl.C: clear message when doc finishes resizing,
7632         and after a mouse event
7633
7634         * lyxfunc.C: clear message after exiting inset
7635
7636 2003-04-07  John Levon  <levon@movementarian.org>
7637
7638         * bufferview_funcs.C: show math status not outside
7639         status in the statusbar
7640
7641 2003-04-07  John Levon  <levon@movementarian.org>
7642
7643         * lyxfunc.C: note status changed after a depth change
7644
7645 2003-04-04  Angus Leeming  <leeming@lyx.org>
7646
7647         * LaTeX.h: move AuxInfo operator==, != out of line.
7648         Remove LaTeX virtual destructor; nothing derives from it.
7649         Move operator()() out of public area and rename it startscript().
7650         Change protected for private.
7651
7652 2003-04-04  Angus Leeming  <leeming@lyx.org>
7653
7654         * lyxfunc.C:
7655         * text2.C: remove unneeded #includes.
7656
7657 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7658
7659         * text2.C (dEPM): fix the heigth of the next row
7660
7661 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7662
7663         * text.C: squashed an invalid getChar requester + some ws changes
7664
7665 2003-04-03  John Levon  <levon@movementarian.org>
7666
7667         * bufferview_funcs.h:
7668         * bufferview_funcs.C:
7669         * lyxfunc.C:
7670         * lyxtext.h:
7671         * text2.C: make getStatus work for the env depth lfuns
7672
7673 2003-04-03  John Levon  <levon@movementarian.org>
7674
7675         * bufferview_funcs.h:
7676         * bufferview_funcs.C:
7677         * lyxfunc.C:
7678         * lyxtext.h:
7679         * text2.C: parlistize decDepth(), by merging it with incDepth()
7680
7681 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * lyxrow.h: store a ParagraphList::iterator instead of a
7684         Paragraph* and adjust other class functions to suit.
7685
7686         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7687         above.
7688
7689 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7690
7691         * text2.C (setCursor): do not anchor to cursor row for the time being
7692
7693 2003-04-02  John Levon  <levon@movementarian.org>
7694
7695         * LyXAction.C:
7696         * lfuns.h:
7697         * lyx_main.C:
7698         * lyxtext.h:
7699         * text.C:
7700         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7701
7702 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * paragraph.h: make ParagraphList and ParagraphList::iterator
7705         friends of Paragraph.
7706
7707         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7708
7709         * ParagraphList.C: Use the private next_ and previous_ from
7710         Paragraph.
7711
7712 2003-04-01  John Levon  <levon@movementarian.org>
7713
7714         * ToolbarBackend.h:
7715         * ToolbarBackend.C:
7716         * Makefile.am: rename, remove defaults gunk
7717
7718         * MenuBackend.h:
7719         * MenuBackend.C: remove defaults gunk
7720
7721         * Languages.h:
7722         * Languages.C: remove defaults gunk
7723
7724         * lyx_main.h:
7725         * lyx_main.C: error out if files couldn't be found.
7726
7727 2003-04-02  John Levon  <levon@movementarian.org>
7728
7729         * text2.C: make incDepth() use parlist
7730
7731 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * undo_funcs.C (firstUndoParagraph): adjust
7734
7735         * text3.C (gotoInset): adjust
7736         (dispatch): adjust, and rewrite loop.
7737
7738         * text2.C (init): adjust, and rewrite loop.
7739         (redoParagraphs): adjust
7740         (updateInset): adjust, and rewrite loop.
7741         (deleteEmptyParagraphMechanism): adjust
7742
7743         * tabular.C (LyXTabular): adjust
7744         (SetMultiColumn): adjust
7745         (TeXRow): adjust
7746
7747         * lyxtext.[Ch] (ownerParagraph): delete function
7748         (ownerParagraphs): new function returns a ParagraphList.
7749
7750         * BufferView.C (removeAutoInsets): adjust
7751         (insertErrors): adjust
7752         (setCursorFromRow): adjust
7753
7754 2003-04-01  Angus Leeming  <leeming@lyx.org>
7755
7756         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7757         in the frontends.
7758
7759 2003-04-02  John Levon  <levon@movementarian.org>
7760
7761         * lyxtext.h:
7762         * text.C:
7763         * Makefile.am:
7764         * text_funcs.h:
7765         * text_funcs.C: make transposeChars a free function
7766
7767         * lyxrow_funcs.C: remove wrong comment
7768
7769 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * lyxtext.h: adjust
7772         * rowpainter.C: adjust
7773         * text.C: adjust
7774         * text2.C: adjust
7775         * text3.C: adjust
7776
7777         * lyxrow_funcs. [Ch]: new files
7778
7779         * lyxrow.[Ch]: remove next and previous pointers
7780         (next,previous): remove accessor functions
7781         (isParEnd): move to lyxrow_funcs
7782         (lastPos): move to lyxrow_funcs
7783         (nextRowIsAllInset): move to lyxrow_funcs
7784         (lastPrintablePos): move to lyxrow_funcs
7785         (numberOfSeparators): move to lyxrow_funcs
7786         (numberOfHfills): move to lyxrow_funcs
7787         (numberOfLabelHfills): move to lyxrow_funcs
7788         (hfillExpansion): move to lyxrow_funcs
7789
7790         * lyxfunc.C: adjust
7791
7792         * bufferview_funcs.C (toggleAndShow): adjust
7793
7794         * RowList.h: Remove class RowList from file leave just a
7795         std::list<Row>.
7796
7797         * RowList.C: delete file
7798
7799         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7800         and lyxrow_funcs.h
7801
7802 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * text3.C (cursorPrevious): adjust
7805         (cursorNext): adjust
7806         (dispatch): adjust
7807
7808         * text2.C (redoHeightOfParagraph): adjust
7809         (redoDrawingOfParagraph): adjust
7810         (setCursor): adjust
7811
7812         * text.C (breakParagraph): adjust
7813         (insertChar): adjust
7814         (backspace): adjust
7815
7816         * rowpainter.C (RowPainter): adjust
7817         (leftMargin): simplify and adjust
7818         (most rowpainter functions): adjust.
7819
7820         * rowpainter.h: store the row as RowList::iterator not as Row*
7821
7822         * lyxcursor.C (row): taka RowList::iterator as arg
7823         (irow): ditto
7824
7825         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7826         of Row*.
7827
7828 2003-04-01  Angus Leeming  <leeming@lyx.org>
7829
7830         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7831         stuff like bool Bool.
7832
7833 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7834
7835         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7836         rewrite a loop
7837
7838 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7839
7840         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7841         RowList::iterator.
7842
7843         * lyxtext.h (rows): drop one version and leve a const variant that
7844         returns a RowList::iterator.
7845
7846 2003-03-31  Angus Leeming  <leeming@lyx.org>
7847
7848         * text.C (fill): ensure that the signature is the same as that in the
7849         header file.
7850
7851 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * text2.C (redoParagraphs): adjust
7854         (updateCounters): adjust
7855         (checkParagraph): adjust
7856         (getColumnNearX): adjust and reformat a bit.
7857
7858         * text.C (top_y): adjust
7859         (workWidth): adjust
7860         (leftMargin): adjust
7861         (prepareToPrint): adjust
7862         (getRow): adjust
7863         (getRowNearY): adjust
7864
7865         * lyxtext.h: make rowlist_ mutable.
7866
7867         * RowList.h: add const_iterator
7868         * RowList.C: adjust for RowList::const_iterator.
7869
7870         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7871         adjust.
7872
7873 2003-03-31  John Levon  <levon@movementarian.org>
7874
7875         * lyxrc.h:
7876         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7877
7878         * lyx_main.C: set default fonts from using lyx_gui funcs
7879
7880         * exporter.C: pdf_mode moved from lyxrc
7881
7882         * lyx_cb.C:
7883         * lyxfunc.C: changes from above
7884
7885 2003-03-31  John Levon  <levon@movementarian.org>
7886
7887         * lyx_main.C: fix to the last fix
7888
7889 2003-03-31  John Levon  <levon@movementarian.org>
7890
7891         * bufferlist.C: "Load original" -> "Load Original"
7892
7893         * converter.C:
7894         * exporter.C:
7895         * importer.C:
7896         * lyx_main.C:
7897         * format.C: more Alert cleanups
7898
7899 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * text2.C (removeParagraph): make it take a RowList::iterator as
7902         arg, adjust.
7903         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7904         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7905
7906         * text.C (anchor_row): make it take a RowList::iterator as arg,
7907         adjust.
7908         (computeBidiTables): make it take a const reference to Row instead
7909         of Row pointer, adjust.
7910         (leftMargin): make it take a RowList::iterator as arg, adjust.
7911         (rowBreakPoint): adjust
7912         (breakAgainOneRow): make it take a RowList::iterator as arg,
7913         adjust.
7914         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7915
7916         * bufferview_funcs.C (toggleAndShow): adjust
7917
7918 2003-03-30  John Levon  <levon@movementarian.org>
7919
7920         * Makefile.am:
7921         * BoostFormat.h:
7922         * boost-inst.C: moved to support
7923
7924         * several files: changes as a result
7925
7926 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7927
7928         * text2.C (LyXText): adjust.
7929         (init): adjust
7930         (removeRow): make it take a RowList::iterator as arg, adjust.
7931         (fullRebreak): adjust
7932         (deleteEmptyParagraphMechanism): adjust
7933         (clearPaint): adjust
7934         (postPaint): adjust
7935
7936         * text.C (top_y): adjust
7937         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7938         (breakAgain): make it take a RowList::iterator as arg, adjust.
7939         (breakParagraph): adjust
7940         (insertChar): adjust
7941         (backspace): adjust
7942
7943         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7944         need_break_row, and refresh_row.
7945
7946         * text3.C (dispatch): adjust
7947
7948         * text2.C (checkParagraph): adjust
7949         (setCursor): adjust
7950         (setCursorFromCoordinates): adjust
7951
7952         * text.C (top_y): adjust
7953         (workWidth): adjust
7954         (getRow): make it return a RowList::iterator, adjust
7955         (getRowNearY): make it return a RowList::iterator, adjust
7956
7957         * text2.C (init): adjust
7958         (insertRow): remove function
7959         (insertParagraph): adjust
7960         (redoParagraphs): adjust
7961         (fullRebreak): adjust
7962         (updateCounters): adjust
7963
7964         * text.C (top_y): rewrite to use RowList iterators.
7965         (top_y): adjust
7966         (setHeightOfRow): rewrite to sue RowList iterators.
7967         (appendParagraph): adjust
7968         (breakAgain): adjust
7969         (breakAgainOneRow): adjust
7970         (breakParagraph): adjust
7971         (getRow): adjust
7972         (getRowNearY): adjust, and remove commented code.
7973
7974         * lyxtext.h (firstRow): delete function
7975         (lastRow): delete function
7976         (rows): new function (const and non-const versions.)
7977         (insertRow): delete function
7978
7979         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7980
7981 2003-03-29  John Levon  <levon@movementarian.org>
7982
7983         * BufferView_pimpl.C: always update scrollbar top
7984         because pasting text when we're anchored could mean we
7985         miss an update altogether
7986
7987 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * text2.C (init): use rowlist_.end() and not 0.
7990         (insertRow): change to take a RowList::iterator as arg, adjust
7991         for this.
7992         (insertParagraph): change to take a RowList::iterator as arg,
7993         adjust for this.
7994         (redoParagraphs): remove some debug msgs.
7995
7996         * text.C (appendParagraph): change to take a RowList::iterator
7997         arg, adjust for this.
7998         (breakAgain): add an assert
7999         (breakAgainOneRow): ditto
8000
8001 2003-03-29  John Levon  <levon@movementarian.org>
8002
8003         * text2.C: do not clear selection after inc/decDepth
8004         (bug 550)
8005
8006 2003-03-29  John Levon  <levon@movementarian.org>
8007
8008         * BufferView.C:
8009         * buffer.C: fix broken strerrors according to Lars
8010
8011 2003-03-29  John Levon  <levon@movementarian.org>
8012
8013         * converters.C: more Alert cleanups
8014
8015 2003-03-29  John Levon  <levon@movementarian.org>
8016
8017         * bufferview_funcs.C: remove pointless Alert
8018
8019         * buffer.C: fix confusing error message when
8020         a template is chmoded 000
8021
8022 2003-03-29  John Levon  <levon@movementarian.org>
8023
8024         * BufferView.C:
8025         * BufferView.h:
8026         * BufferView_pimpl.C: Alert fixes
8027
8028         * Makefile.am:
8029         * tabular.C:
8030         * tabular-old.C: remove unused table compat reading
8031
8032 2003-03-29  John Levon  <levon@movementarian.org>
8033
8034         * BufferView.C:
8035         * buffer.C:
8036         * lyx_cb.h:
8037         * lyx_cb.C: more Alert cleanups
8038
8039         * lyxfunc.C: don't allow chktex if not latex document
8040
8041 2003-03-29  John Levon  <levon@movementarian.org>
8042
8043         * lyx_cb.C:
8044         * BufferView.C:
8045         * buffer.C: warnings pushed down from support/,
8046         kill err_alert
8047
8048 2003-03-29  John Levon  <levon@movementarian.org>
8049
8050         * lyxfunc.C: safety check for C-r (revert)
8051
8052 2003-03-29  John Levon  <levon@movementarian.org>
8053
8054         * bufferlist.h:
8055         * bufferlist.C: several UI fixes using Alert::prompt.
8056         Fix the pointless looping quit code. Fix stupid revert
8057         behaviour (bug 938)
8058
8059         * lyxvc.h:
8060         * lyxvc.C:
8061         * lyx_cb.C: use Alert::prompt
8062
8063         * lyx_main.C: remove a silly question
8064
8065         * lyxfunc.C: remove a couple of silly questions,
8066         use Alert::prompt
8067
8068 2003-03-28  John Levon  <levon@movementarian.org>
8069
8070         * text2.C: fix bug 974 (End on empty par)
8071
8072 2003-03-28  John Levon  <levon@movementarian.org>
8073
8074         * BufferView_pimpl.C:
8075         * LyXAction.C:
8076         * lfuns.h: remove do-nothing math greek lfuns
8077
8078 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * lyxgluelength.h (isValidGlueLength): add default arg on
8081         parameter 2. Remove default arg from friend in class.
8082
8083         * lyxlength.h (isValidLength): add default arg on parameter 2.
8084         Remove default arg from friend in class.
8085
8086         * text2.C (LyXText): adjust, initialize refresh_row.
8087         (init): adjust
8088         (removeRow): adjust
8089         (insertRow): adjust
8090         (insertParagraph): adjst
8091         (redoParagraphs): adjust
8092         (fullRebreak): adjust
8093         (updateCounters): adjust
8094         (deleteEmptyParagraphMechanism): first attempt at fixing a
8095         crashing bug.
8096
8097         * text.C (top_y): adjust
8098         (setHeightOfRow): adjust
8099         (getRow): adjust
8100         (getRowNearY): adjust
8101
8102         * lyxtext.h: include RowList.h
8103         (~LyXText): not needed anymore, deleted.
8104         (firstRow): modify for RowList
8105         (lastRow): new function
8106         Delete firstrow and lastrow class variables, add a Rowlist
8107         rowlist_ class variable.
8108
8109         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8110         paragraph is empty.
8111
8112         * RowList.C (insert): fix case where it == begin().
8113
8114 2003-03-26  Angus Leeming  <leeming@lyx.org>
8115
8116         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8117         the thesaurus dialog.
8118
8119 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8122
8123         * RowList.[Ch]: new files
8124
8125         * ParagraphList.C (erase): handle the case where it == begin
8126         correctly.
8127
8128 2003-03-25  John Levon  <levon@movementarian.org>
8129
8130         * Makefile.am:
8131         * aspell_local.h:
8132         * aspell.C: add new aspell support
8133
8134         * lyxrc.h:
8135         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8136         have it accessible.
8137
8138 2003-03-25  Angus Leeming  <leeming@lyx.org>
8139
8140         * lfuns.h:
8141         * LyXAction.C (init): new LFUN_INSET_INSERT.
8142
8143         * BufferView_pimpl.C (dispatch): split out part of the
8144         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8145
8146         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8147         LFUN_INSET_APPLY.
8148
8149 2003-03-25  Angus Leeming  <leeming@lyx.org>
8150
8151         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8152
8153 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8154
8155         * text2.C:
8156         * text3.C: remove useless row->height(0)
8157
8158 2003-03-25  John Levon  <levon@movementarian.org>
8159
8160         * lyxtext.h:
8161         * text2.C:
8162         * text3.C: rename the refreshing stuff to better names
8163
8164 2003-03-24  John Levon  <levon@movementarian.org>
8165
8166         * BufferView_pimpl.h:
8167         * BufferView_pimpl.C: update layout choice on a mouse
8168         press/release
8169
8170 2003-03-23  John Levon  <levon@movementarian.org>
8171
8172         * Makefile.am: fix commandtags.h reference
8173
8174 2003-03-22  John Levon  <levon@movementarian.org>
8175
8176         * BufferView_pimpl.C:
8177         * lyxtext.h:
8178         * rowpainter.C:
8179         * rowpainter.h:
8180         * text.C:
8181         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8182
8183 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8184
8185         * lyxtext.h:
8186         * text.C: take the rtl methods out of line
8187
8188 2003-03-21 André Pönitz <poenitz@gmx.net>
8189
8190         * metricsinfo.[Ch]: new files containing structures to be passed around
8191         during the two-phase-drawing...
8192
8193 2003-03-21 André Pönitz <poenitz@gmx.net>
8194
8195         * lyxtextclass.C: read 'environment' tag.
8196
8197 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8198
8199         * text2.C (removeRow): fix bug 964
8200
8201 2003-03-20  John Levon  <levon@movementarian.org>
8202
8203         * rowpainter.C:
8204         * text.C:
8205         * text2.C: paint cleanups. Inset::update() dropped font
8206         parameter
8207
8208 2003-03-19  John Levon  <levon@movementarian.org>
8209
8210         * lyxfunc.C: only fitcursor/markDirty if available()
8211
8212 2003-03-19  John Levon  <levon@movementarian.org>
8213
8214         * commandtags.h: rename to ...
8215
8216         * lfuns.h: ... this, and renumber / cleanup
8217
8218 2003-03-19  John Levon  <levon@movementarian.org>
8219
8220         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8221         fit the cursor after an lfun
8222
8223         * BufferView.h:
8224         * BufferView.C:
8225         * BufferView_pimpl.h:
8226         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8227
8228         * LyXAction.C: layout-character should have ReadOnly
8229
8230         * ParagraphParameters.C:
8231         * buffer.C:
8232         * bufferview_funcs.C:
8233         * lyx_cb.C:
8234         * lyxfind.C:
8235         * lyxtext.h:
8236         * text.C:
8237         * text2.C:
8238         * text3.C:
8239         * undo_funcs.C: changes from above
8240
8241 2003-03-18  John Levon  <levon@movementarian.org>
8242
8243         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8244         remove it from update()
8245
8246         * lyxfunc.C: update layout choice after an lfun
8247
8248         * text3.C: remove extra updateLayoutChoice()s
8249
8250 2003-03-18  John Levon  <levon@movementarian.org>
8251
8252         * text.C: top_y change means full repaint, fix
8253         a drawing bug with cursor movement
8254
8255 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8256
8257         * lyxtext.h:
8258         * text.C:
8259         * text2.C: anchor row on setCursor
8260
8261 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8262
8263         * lyxtext.h: remove almost all mutable keywords
8264         * text.C:
8265         * text2.C:
8266         * text3.C: remove const keywords accordingly
8267
8268 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8271         anon namespace
8272         (TeXEnvironment): ditto
8273         (TeXOnePar): ditto
8274
8275 2003-03-17  John Levon  <levon@movementarian.org>
8276
8277         * text.C (rowBreakPoint): remove attempt to fix displayed
8278         math insets inside a manual label
8279
8280 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * lyxtext.h: remove BufferView* as first arg from almost all class
8283         functions.
8284         * other files: adjust.
8285
8286 2003-03-17  John Levon  <levon@movementarian.org>
8287
8288         * lyxtext.h:
8289         * undo_funcs.C:
8290         * text2.C: more paint cleanups
8291
8292         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8293
8294         * rowpainter.h:
8295         * rowpainter.C: remove "smart" background painting code
8296
8297 2003-03-16  John Levon  <levon@movementarian.org>
8298
8299         * lyxtext.h:
8300         * text.C:
8301         * text2.C:
8302         * text3.C: add helper functions for setting refresh_row/y
8303
8304 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8305
8306         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8307         newline inset which *can* get inserted in the pass_thru layouts.
8308         This is primarily for literate documents.
8309
8310 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8311
8312         * buffer.C: increment LYX_FORMAT to 223
8313
8314 2003-03-14 André Pönitz <poenitz@gmx.net>
8315
8316         * textclass.h: prepare for environment handling, ws changes
8317         * lyxlayout.C: read latexheader and latexfooter tags
8318
8319 2003-03-14  John Levon  <levon@movementarian.org>
8320
8321         * text2.C: rewrite ::status() a bit
8322
8323 2003-03-13  John Levon  <levon@movementarian.org>
8324
8325         * lyxtext.h: add some docs
8326
8327 2003-03-13  John Levon  <levon@movementarian.org>
8328
8329         * lyxtext.h:
8330         * text.C:
8331         * text2.C:
8332         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8333
8334 2003-03-13  John Levon  <levon@movementarian.org>
8335
8336         * text3.C: fix appendix redrawing
8337
8338 2003-03-13  John Levon  <levon@movementarian.org>
8339
8340         * text.C (setHeightOfRow):
8341         * rowpainter.h:
8342         * rowpainter.C: make appendix mark have the text
8343           "Appendix" so the user knows what it is
8344
8345         * LColor.h:
8346         * LColor.C: s/appendixline/appendix/ from above
8347
8348 2003-03-13  John Levon  <levon@movementarian.org>
8349
8350         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8351
8352         * text.C: fix a getChar(pos) bug properly
8353
8354 2003-03-13  Angus Leeming  <leeming@lyx.org>
8355
8356         * commandtags.h:
8357         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8358         Probably only temporary. Let's see how things pan out.
8359
8360         * BufferView.C (unlockInset):
8361         * BufferView_pimpl.C (fitCursor):
8362         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8363
8364         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8365         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8366
8367         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8368         new functions that convert ParagraphParameters to and from a string.
8369
8370         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8371         BufferView::Pimpl's dispatch.
8372         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8373
8374 2003-03-13 André Pönitz <poenitz@gmx.net>
8375
8376         * lyxfunc.C:
8377         * text3.C:
8378         * factory.C: make it aware of InsetEnv
8379
8380 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8381
8382         * text2.C (setCursor): never ask for one past last
8383         (setCursor): add some debugging messages.
8384
8385         * text.C (singleWidth): never ask for one past last
8386         (singleWidth): ditto
8387         (leftMargin): ditto
8388         (rightMargin): ditto
8389         (rowBreakPoint): ditto
8390         (setHeightOfRow): ditto
8391         (prepareToPrint): ditto
8392
8393         * rowpainter.C (paintBackground): never ask for one past last
8394         (paintText): never ask for one past last
8395
8396         * paragraph_pimpl.C (getChar): make the assert stricter, never
8397         allow the one past last pos to be taken
8398
8399         * paragraph.C (getChar): ws changes only
8400
8401         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8402         (numberOfSeparators): ditto
8403         (numberOfHfills): ditto
8404
8405 2003-03-12  John Levon  <levon@movementarian.org>
8406
8407         * author.h:
8408         * author.C:
8409         * bufferparams.h:
8410         * bufferparams.C:
8411         * paragraph_funcs.C: fix per-buffer authorlists
8412
8413 2003-03-12  John Levon  <levon@movementarian.org>
8414
8415         * text.C: fix newline in right address
8416
8417 2003-03-12  Angus Leeming  <leeming@lyx.org>
8418
8419         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8420         duplicate those in LyXFunc::dispatch.
8421
8422         * commandtags.h:
8423         * LyXAction.C:
8424         * ToolbarDefaults.C:
8425         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8426         Add LFUN_FONTFREE_UPDATE.
8427
8428         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8429         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8430
8431         * bufferview_func.[Ch]: several new functions to facilliate
8432         transfer of data to and from the character dialog.
8433
8434 2003-03-12  John Levon  <levon@movementarian.org>
8435
8436         * buffer.C:
8437         * paragraph.h:
8438         * paragraph.C:
8439         * paragraph_funcs.C:
8440         * paragraph_pimpl.C:
8441         * sgml.C:
8442         * tabular.C:
8443         * text.C:
8444         * text3.C: remove META_NEWLINE in favour of an inset
8445
8446         * rowpainter.h:
8447         * rowpainter.C: remove paintNewline (done by inset)
8448
8449 2003-03-12  John Levon  <levon@movementarian.org>
8450
8451         * paragraph_pimpl.C: complain about bad getChar()s
8452         for a while at least
8453
8454 2003-03-12  John Levon  <levon@movementarian.org>
8455
8456         * buffer.h:
8457         * buffer.C: move paragraph read into a separate function,
8458         a little renaming to reflect that.
8459
8460         * bufferparams.h:
8461         * bufferparams.C: remove the author_ids map, not necessary now
8462
8463         * factory.h:
8464         * factory.C: moved Buffer::readInset to here
8465
8466         * paragraph_funcs.h:
8467         * paragraph_funcs.C: readParagraph free function moved from
8468         buffer.C
8469
8470         * tabular.C: name change
8471
8472 2003-03-12  John Levon  <levon@movementarian.org>
8473
8474         * buffer.C:
8475         * ParagraphParameters.C: move par params input to
8476         a read() method
8477
8478         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8479         behave like a normal read from the stream wrt reading
8480         a line vs. a \\token
8481
8482 2003-03-12  John Levon  <levon@movementarian.org>
8483
8484         * paragraph.C:
8485         * ParagraphParameters.h:
8486         * ParagraphParameters.C: move output code to a
8487         ::write() method
8488
8489 2003-03-12  John Levon  <levon@movementarian.org>
8490
8491         * BufferView.C (insertLyXFile):
8492         * buffer.h:
8493         * buffer.C:
8494         * tabular.C: use a parlist iterator for creating the
8495           document.
8496
8497 2003-03-12  John Levon  <levon@movementarian.org>
8498
8499         * buffer.C: make current_change static local not
8500           static file-scope
8501
8502 2003-03-12  John Levon  <levon@movementarian.org>
8503
8504         * buffer.C: fix insertStringAsLines for change tracking
8505
8506 2003-03-12  John Levon  <levon@movementarian.org>
8507
8508         * BufferView.C:
8509         * tabular.C:
8510         * buffer.h:
8511         * buffer.C:
8512         * bufferparams.h:
8513         * bufferparams.C: move author list into params. Rename some
8514           functions. Move the header reading into a separate token
8515           loop. Move the header token reading into BufferParams.
8516
8517 2003-03-12  John Levon  <levon@movementarian.org>
8518
8519         * changes.C: put debug inside lyxerr.debugging() checks
8520
8521 2003-03-11 André Pönitz <poenitz@gmx.net>
8522
8523         * factory.C: make it aware of InsetHFill
8524
8525 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8526
8527         * buffer.C (latexParagraphs): move function from here...
8528         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8529         args.
8530
8531 2003-03-10  Angus Leeming  <leeming@lyx.org>
8532
8533         * LyXAction.C (init): fix bug in poplating array with multiple entries
8534         with the same LFUN (spotted by JMarc).
8535
8536 2003-03-10  John Levon  <levon@movementarian.org>
8537
8538         * text.C:
8539         * text2.C: move getColumnNearX() near its
8540         only call site
8541
8542 2003-03-10  John Levon  <levon@movementarian.org>
8543
8544         * text.C: fix break before a minipage
8545
8546 2003-03-10  John Levon  <levon@movementarian.org>
8547
8548         * text.C: fix the last commit
8549
8550 2003-03-09  John Levon  <levon@movementarian.org>
8551
8552         * lyxtext.h:
8553         * text.C:
8554         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8555         bug 365 (don't break before insets unless needed). Don't
8556         return a value > last under any circumstances.
8557
8558 2003-03-09  Angus Leeming  <leeming@lyx.org>
8559
8560         * BufferView_pimpl.C (trackChanges, dispatch): call
8561         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8562
8563 2003-03-09  Angus Leeming  <leeming@lyx.org>
8564
8565         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8566         than Dialogs::showAboutlyx().
8567
8568 2003-03-09  Angus Leeming  <leeming@lyx.org>
8569
8570         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8571         than Dialogs::showTabularCreate().
8572
8573 2003-03-09  John Levon  <levon@movementarian.org>
8574
8575         * lyxtext.h:
8576         * text.C:
8577         * text2.C: 3rd arg to nextBreakPoint was always the same.
8578           Use references.
8579
8580 2003-03-08  John Levon  <levon@movementarian.org>
8581
8582         * lyxrow.C:
8583         * paragraph.C:
8584         * paragraph.h:
8585         * rowpainter.C:
8586         * text.C:
8587         * text2.C: Remove the "main" bit from the "main body"
8588           notion.
8589
8590 2003-03-08  John Levon  <levon@movementarian.org>
8591
8592         * text.C (leftMargin): The left margin of an empty
8593         manual label paragraph should not include the label width
8594         string length.
8595
8596         * text.C (prepareToPrint): don't attempt to measure hfills
8597         for empty manual label paragraphs - the answer should be 0
8598
8599 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8600
8601         * CutAndPaste.C: remove commented code and reindent.
8602
8603 2003-03-08  John Levon  <levon@movementarian.org>
8604
8605         * lyxfunc.h:
8606         * lyxfunc.C: move reloadBuffer()
8607
8608         * BufferView.h:
8609         * BufferView.C: to here
8610
8611         * lyxvc.C: add comment
8612
8613         * vc-backend.h:
8614         * vc-backend.C: call bv->reload() to avoid
8615           getStatus() check on MENURELOAD
8616
8617 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8618
8619         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8620         to an old format .dep file.
8621
8622 2003-03-07  Angus Leeming  <leeming@lyx.org>
8623
8624         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8625         when the LFUN_MOUSE_RELEASE should have been handled by
8626         inset->localDispatch.
8627
8628 2003-03-07  Angus Leeming  <leeming@lyx.org>
8629
8630         * BufferView_pimpl.C (dispatch):
8631         * LyXAction.C (init):
8632         * ToolbarDefaults.C (init):
8633         * commandtags.h:
8634         * lyxfunc.C (getStatus):
8635         remove LFUN_INSET_GRAPHICS.
8636
8637         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8638
8639 2003-03-07  Angus Leeming  <leeming@lyx.org>
8640
8641         * commandtags.h:
8642         * LyXAction.C (init):
8643         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8644
8645         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8646
8647         * commandtags.h:
8648         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8649
8650         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8651         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8652
8653 2003-03-07  Angus Leeming  <leeming@lyx.org>
8654
8655         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8656         remove "ert".
8657
8658 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8659
8660         * ParagraphList.C (front): new function
8661         (back): implement
8662
8663 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8664
8665         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8666         and top_row_offset_. removed var first_y.
8667         * text.C (top_y):
8668         * text2.C (LyXText, removeRow):
8669         * text3.C:
8670         * BufferView_pimpl.C:
8671         use these methods instead of using first_y
8672
8673 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8674
8675         * text2.C (pasteSelection): adjust for checkPastePossible
8676
8677         * CutAndPaste.C: remove Paragraph * buf and replace with
8678         ParagraphList paragraphs.
8679         (DeleteBuffer): delete
8680         (cutSelection): change the tc type to textclass_type
8681         (copySelection): change the tc type to textclass_type
8682         (copySelection): adjust for ParagraphList
8683         (pasteSelection): change the tc type to textclass_type
8684         (pasteSelection): adjust for Paragraphlist
8685         (nrOfParagraphs): simplify for ParagraphList
8686         (checkPastePossible): simplify for ParagraphList
8687         (checkPastePossible): remove unused arg
8688
8689         * ParagraphList.C (insert): handle the case where there are no
8690         paragraphs yet.
8691
8692         * CutAndPaste.h: make CutAndPaste a namespace.
8693
8694         * text3.C (dispatch): adjust
8695
8696         * text.C (breakParagraph): add a ParagraphList as arg
8697
8698         * paragraph_funcs.C (breakParagraph): change to take a
8699         BufferParams and a ParagraphList as args.
8700         (breakParagraphConservative): ditto
8701         (mergeParagraph): ditto
8702         (TeXDeeper): add a ParagraphList arg
8703         (TeXEnvironment): ditto
8704         (TeXOnePar): ditto
8705
8706         * buffer.C (readLyXformat2): adjust
8707         (insertStringAsLines): adjust
8708         (latexParagraphs): adjust
8709
8710         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8711         (cutSelection): adjust
8712         (pasteSelection): adjust
8713
8714         * BufferView_pimpl.C (insertInset): adjust
8715
8716 2003-03-05  Angus Leeming  <leeming@lyx.org>
8717
8718         * commandtags.h:
8719         * LyXAction.C (init):
8720         * BufferView_pimpl.C (dispatch):
8721         * lyxfunc.C (getStatus):
8722         remove LFUN_CHILD_INSERT.
8723
8724         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8725
8726 2003-03-05  Angus Leeming  <leeming@lyx.org>
8727
8728         * commandtags.h:
8729         * LyXAction.C (init):
8730         * src/factory.C (createInset):
8731         * lyxfunc.C (getStatus):
8732         * text3.C (dispatch):
8733         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8734
8735         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8736
8737 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8738
8739         * ParagraphList.C (insert): handle insert right before end()
8740         (erase): fix cases where it can be first or last paragraph.
8741
8742 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8743
8744         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8745         Paragraph::next and Paragraph::previous
8746         (TeXOnePar): ditto
8747
8748         * text.C (breakParagraph): adjust
8749
8750         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8751         BufferParams& as arg.
8752         (breakParagraph): use ParagraphList::insert
8753         (breakParagraphConservative): take a Buffer* instead of a
8754         BufferParams& as arg.
8755         (breakParagraphConservative): use ParagraphList::insert.
8756
8757         * buffer.C (insertStringAsLines): un-const it
8758         (insertStringAsLines): adjust
8759
8760         * ParagraphList.C (insert): new function
8761
8762         * CutAndPaste.C (pasteSelection): adjust
8763
8764         * text.C (backspace): adjust
8765
8766         * tabular.C (SetMultiColumn): adjust
8767
8768         * CutAndPaste.C (cutSelection): adjust
8769         (pasteSelection): adjust
8770
8771         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8772         Buffer const * as arg
8773
8774         * ParagraphList.C (erase): new function
8775         * paragraph_funcs.C (mergeParagraph): use it
8776         (mergeParagraph): make it take a Buffer* instead of a
8777         BufferParams* as arg
8778
8779         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8780         as arg
8781         (breakParagraphConservative): ditto
8782
8783         * paragraph.h: remove the breakParagraph friend
8784
8785         * paragraph.C (eraseIntern): new function
8786         (setChange): new function
8787
8788         * paragraph_funcs.C (mergeParagraph): make it take a
8789         ParagraphList::iterator instead of a Paragraph *, adjust
8790         accordingly.
8791
8792         * paragraph.h: move an #endif so that the change tracking stuff
8793         also works in the NO_NEXT case.
8794
8795 2003-03-04  Angus Leeming  <leeming@lyx.org>
8796
8797         * commandtags.h:
8798         * LyXAction.C: new LFUN_INSET_MODIFY.
8799
8800         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8801         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8802
8803 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8804
8805         * several files: ws changes only
8806
8807         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8808         (TeXEnvironment): ditto
8809         (TeXDeeper): ditto
8810
8811         * buffer.C (makeLaTeXFile): adjust
8812         (latexParagraphs): make it take ParagraphList::iterator as args
8813
8814 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * buffer.C (latexParagraphs): adjust
8817
8818         * paragraph.C (TeXOnePar): move function...
8819         (optArgInset): move function...
8820         (TeXEnvironment): move function...
8821         * paragraph_pimpl.C (TeXDeeper): move function...
8822         * paragraph_funcs.C: ...here
8823
8824         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8825
8826 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8827
8828         * buffer.C (readInset): remove compability code for old Figure and
8829         InsetInfo insets
8830
8831 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * buffer.C: ws changes
8834         (readInset):
8835
8836         * BufferView_pimpl.C: ditto
8837         * author.C: ditto
8838         * buffer.h: ditto
8839         * bufferlist.h: ditto
8840         * changes.h: ditto
8841         * lyxfunc.C: ditto
8842
8843 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8844
8845         * converter.[Ch]: split into itself +
8846         * graph.[Ch]
8847         * format.[Ch]
8848         * Makefile.am: += graph.[Ch] + format.[Ch]
8849         * MenuBackend.C
8850         * buffer.C
8851         * exporter.C
8852         * importer.C
8853         * lyx_main.C
8854         * lyxfunc.C
8855         * lyxrc.C: added #include "format.h"
8856
8857 2003-02-27  Angus Leeming  <leeming@lyx.org>
8858
8859         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8860           a label.
8861
8862         * factory.C (createInset): add "label" to the factory.
8863
8864         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8865           string and do no more.
8866
8867 2003-02-27  Angus Leeming  <leeming@lyx.org>
8868
8869         * commandtags.h:
8870         * LyXAction.C (init):
8871         * factory.C (createInset):
8872         * BufferView_pimpl.C (dispatch):
8873           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8874
8875         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8876
8877         * lyxfunc.C (dispatch):
8878         * text3.C (dispatch): pass name to params2string.
8879
8880 2003-02-26  Angus Leeming  <leeming@lyx.org>
8881
8882         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8883           blocks together.
8884           Rearrange the ~includes. Strip out the unnecessary ones.
8885
8886         * factory.C (createInset): reformat.
8887           create new insets for the various LFUN_XYZ_APPLY lfuns.
8888
8889 2003-02-26  John Levon  <levon@movementarian.org>
8890
8891         * lyxrow.h:
8892         * lyxrow.C: add isParStart,isParEnd helpers
8893
8894         * paragraph.h: make isInserted/DeletedText take refs
8895
8896         * paragraph_funcs.h:
8897         * paragraph_funcs.C: remove #if 0'd code
8898
8899         * lyxtext.h:
8900         * text3.C:
8901         * text2.C:
8902         * text.C: use lyxrow helpers above.
8903           Move draw and paint routines to RowPainter.
8904           Make several methods use refs not pointers.
8905           Make backgroundColor() const.
8906           Add markChangeInDraw(), isInInset().
8907           Merge changeRegionCase into changeCase.
8908           Make workWidth() shouldn't-happen code into an Assert.
8909
8910         * rowpainter.h:
8911         * rowpainter.C: new class for painting a row.
8912
8913         * vspace.h:
8914         * vspace.C: make inPixels take a ref
8915
8916 2003-02-26  Angus Leeming  <leeming@lyx.org>
8917
8918         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8919         LFUN_REF_APPLY.
8920
8921 2003-02-25  John Levon  <levon@movementarian.org>
8922
8923         * ispell.C: give the forked command a more accurate name
8924
8925 2003-02-22  John Levon  <levon@movementarian.org>
8926
8927         * toc.h:
8928         * toc.C: make TocItem store an id not a Paragraph *
8929           (bug #913)
8930
8931 2003-02-21  Angus Leeming  <leeming@lyx.org>
8932
8933         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8934           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8935           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8936           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8937           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8938           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8939
8940         * BufferView_pimpl.C (dispatch):
8941         * LyXAction.C (init):
8942         * factory.C (createInset):
8943         * lyxfunc.C (getStatus, dispatch):
8944         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8945
8946 2003-02-21  Angus Leeming  <leeming@lyx.org>
8947
8948         * BufferView_pimpl.C (MenuInsertLyXFile):
8949         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8950         * lyxfunc.C (menuNew, open, doImport):
8951           no longer pass a LyXView & to fileDlg.
8952
8953 2003-02-21  Angus Leeming  <leeming@lyx.org>
8954
8955         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8956         * LyXAction.C: change, BIBKEY to BIBITEM.
8957         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8958         Change InsetBibKey to InsetBibitem.
8959         Change BIBKEY_CODE to BIBITEM_CODE.
8960         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8961         * factory.C: replace insetbib.h with insetbibitem.h.
8962         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8963         * paragraph.C: replace insetbib.h with insetbibitem.h.
8964         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8965         Change bibkey() to bibitem().
8966         * text.C: remove insetbib.h.
8967         * text2.C: replace insetbib.h with insetbibitem.h.
8968         change bibkey() to bibitem().
8969         * text3.C: remove insetbib.h.
8970         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8971
8972 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8973
8974         * lyxrc.C (output): enclose user email in quotes (in case there are
8975         several words)
8976
8977 2003-02-18  John Levon  <levon@movementarian.org>
8978
8979         * buffer.h: add std::
8980
8981 2003-02-17  John Levon  <levon@movementarian.org>
8982
8983         * SpellBase.h:
8984         * ispell.h:
8985         * ispell.C:
8986         * pspell.h:
8987         * pspell.C: reworking. Especially in ispell, a large
8988           number of clean ups and bug fixes.
8989
8990         * lyxfunc.C: fix revert to behave sensibly
8991
8992 2003-02-17 André Pönitz <poenitz@gmx.net>
8993
8994         * LyXAction.C:
8995         * commandtags.h: new LFUN_INSERT_BIBKEY
8996
8997         * layout.h:
8998         * lyxlayout.C:
8999         * buffer.C:
9000         * factory.C:
9001         * text.C:
9002         * text2.C:
9003         * text3.C:
9004         * paragraph.[Ch]:
9005         * paragraph_func.C: remove special bibkey handling
9006
9007 2003-02-17  John Levon  <levon@movementarian.org>
9008
9009         * text.C (Delete): fix case where delete at the end of
9010           the very first paragraph would not merge the pars
9011
9012 2003-02-17  John Levon  <levon@movementarian.org>
9013
9014         * lyxrow.C: fix lastPrintablePos()
9015
9016 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9017
9018         * bufferparams.C (writeLaTeX): add a std:here
9019
9020         * buffer.C: and remove a using directive there
9021
9022 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9023
9024         * buffer.C (makeLaTeXFile): move the code that generates the
9025           preamble...
9026
9027         * bufferparams.C (writeLaTeX): ... in this new method
9028
9029         * LaTeXFeatures.C (getEncodingSet): make const
9030           (getLanguages): make const
9031
9032         * MenuBackend.C (binding): returns the binding associated to this
9033           action
9034           (add): sets the status of each item by calling getStatus. Adds
9035           some intelligence.
9036           (read): add support for OptSubMenu
9037           (expand): remove extra separator at the end of expanded menu
9038
9039 2003-02-15  John Levon  <levon@movementarian.org>
9040
9041         * BufferView.C:
9042         * BufferView_pimpl.C:
9043         * bufferlist.h:
9044         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9045           inset code that had no actual effect. Remove unneeded status
9046           code.
9047
9048 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9049
9050         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9051           in preamble
9052
9053 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9054
9055         * text.C (drawLengthMarker): also draw an arrow marker for
9056           symbolic lengths (medskip...)
9057
9058 2003-02-14  John Levon  <levon@movementarian.org>
9059
9060         * tabular.h:
9061         * tabular.C: better method names
9062
9063 2003-02-14  John Levon  <levon@movementarian.org>
9064
9065         * BufferView_pimpl.C:
9066         * bufferlist.C:
9067         * buffer.C:
9068         * converter.C:
9069         * lyx_cb.C:
9070         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9071           it's a more accurate name. Remove some pointless uses.
9072
9073 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9074
9075         * text2.C (LyXText): change order of initilizers to shut off
9076           warnings
9077
9078 2003-02-14  John Levon  <levon@movementarian.org>
9079
9080         * buffer.C: use ParIterator for getParFromID()
9081
9082         * paragraph.h:
9083         * paragraph.C:
9084         * paragraph_pimpl.h:
9085         * paragraph_pimpl.C: remove unused getParFromID()
9086
9087 2003-02-14  John Levon  <levon@movementarian.org>
9088
9089         * buffer.C: remove some very old #if 0'd parse code
9090
9091 2003-02-13  John Levon  <levon@movementarian.org>
9092
9093         * text.h:
9094         * text.C:
9095         * text2.C: move hfillExpansion(), numberOfSeparators(),
9096           rowLast(), rowLastPrintable(), numberofHfills(),
9097           numberOfLabelHfills() ...
9098
9099         * lyxrow.h:
9100         * lyxrow.C: ... to member functions here.
9101
9102         * paragraph.h:
9103         * paragraph.C:
9104         * lyxtext.h:
9105         * text.C: remove LyXText::beginningOfMainBody(), and call
9106           p->beginningOfMainBody() directly. Move the check for
9107           LABEL_MANUAL into the latter.
9108
9109         * text.h:
9110         * text.C:
9111         * text2.C:
9112         * vspace.C:
9113         * BufferView.h:
9114         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9115
9116         * text.h:
9117         * text.C:
9118         * text2.C:
9119         * text3.C:
9120         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9121           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9122
9123 2003-02-13  John Levon  <levon@movementarian.org>
9124
9125         * CutAndPaste.C: remove debug
9126
9127 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9128
9129         * paragraph.C (asString): remove two unused variables
9130
9131         * lyxtextclass.C (readTitleType):
9132           (Read):
9133           (LyXTextClass): handle new members titletype_ and titlename_
9134
9135         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9136
9137 2003-02-09  John Levon  <levon@movementarian.org>
9138
9139         * buffer.h:
9140         * buffer.C: replace hand-coded list with a map for the dep clean
9141
9142 2003-02-08  John Levon  <levon@movementarian.org>
9143
9144         * LaTeX.C: consolidate code into showRunMessage() helper
9145
9146 2003-02-08  John Levon  <levon@movementarian.org>
9147
9148         * lyxfind.C:
9149         * lyxtext.h:
9150         * text2.C:
9151         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9152           and pass the size in explicitly
9153
9154         * BufferView_pimpl.h:
9155         * BufferView_pimpl.C:
9156         * BufferView.h:
9157         * BufferView.C: add getCurrentChange()
9158
9159         * BufferView_pimpl.h:
9160         * BufferView_pimpl.C: handle change lfuns
9161
9162         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9163           for changes. Mark pasted paragraphs as new.
9164
9165         * support/lyxtime.h:
9166         * support/lyxtime.C:
9167         * DepTable.C: abstract time_t as lyx::time_type
9168
9169         * LColor.h:
9170         * LColor.C: add colours for new text, deleted text, changebars
9171
9172         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9173           package use "usenames" option.
9174
9175         * commandtags.h:
9176         * lyxfunc.C:
9177         * LyXAction.C: add change lfuns
9178
9179         * Makefile.am:
9180         * author.h:
9181         * author.C: author handling
9182
9183         * buffer.h:
9184         * buffer.C: add a per-buffer author list, with first entry as
9185           current author. Handle new .lyx tokens for change tracking. Output
9186           author list to .lyx file. Output dvipost stuff to .tex preamble.
9187           Bump lyx format to 222.
9188
9189         * bufferlist.h:
9190         * bufferlist.C: add setCurrentAuthor() to reset current author details
9191           in all buffers.
9192
9193         * bufferparams.h:
9194         * bufferparams.C: add param for tracking
9195
9196         * bufferview_funcs.C: output change info in minibuffer
9197
9198         * Makefile.am:
9199         * changes.h:
9200         * changes.C: add change-tracking structure
9201
9202         * debug.h:
9203         * debug.C: add CHANGES debug flag
9204
9205         * lyxfind.h:
9206         * lyxfind.C: add code for finding the next change piece
9207
9208         * lyxrc.h:
9209         * lyxrc.C: add user_name and user_email
9210
9211         * lyxrow.h:
9212         * lyxrow.C: add a metric for the top of the text line
9213
9214         * lyxtext.h:
9215         * text.C: implement accept/rejectChange()
9216
9217         * lyxtext.h:
9218         * text.C: paint changebars. Paint new/deleted text in the chosen
9219         colours. Strike through deleted text.
9220
9221         * paragraph.h:
9222         * paragraph.C:
9223         * paragraph_pimpl.h:
9224         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9225           in the current change to the insert functions. Rework erase to
9226           mark text as deleted, adding an eraseIntern() and a range-based
9227           erase(). Implement per-paragraph change lookup and
9228           accept/reject.
9229
9230         * paragraph_funcs.C: Fixup paste for change tracking.
9231
9232         * tabular.C: mark added row/columns as new.
9233
9234         * text.C: fix rowLast() to never return -1. Don't allow
9235           spellchecking of deleted text. Track transpose changes. Don't
9236           allow paragraph break or merge where appropriate.
9237
9238         * text2.C: leave cursor at end of selection after a cut.
9239
9240 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9241
9242         * text.C (getLengthMarkerHeight):
9243         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9244         visible on screen too.
9245
9246 2003-02-07  John Levon  <levon@movementarian.org>
9247
9248         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9249
9250 2003-02-05  Angus Leeming  <leeming@lyx.org>
9251
9252         * lyxserver.C (read_ready): revert my patch of 11 September last year
9253         as it sends PC cpu through the roof. Presumably this means that
9254         the lyxserver will no longer run on an Alpha...
9255
9256 2003-01-30  Angus Leeming  <leeming@lyx.org>
9257
9258         * factory.C (createInset): create an InsetCommandParam of type "index"
9259         and use it to 'do the right thing'.
9260
9261         * text2.C (getStringToIndex): ensure that cursor position is always
9262         reset to the reset_cursor position.
9263
9264 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9265
9266         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9267         disabled.
9268
9269 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9270
9271         * bufferview.C:
9272         * lyxcb.C:
9273         * lyxfunc.C: Output messages with identical spelling, punctuation,
9274         and spaces
9275
9276 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9277
9278         * MenuBackend.C (expandFormats): List only viewable export formats
9279         in "View" menu
9280
9281         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9282         message
9283
9284         * lyxfunc.C (getStatus): Make sure that formats other than
9285         "fax" can also be disabled
9286
9287 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9288
9289         * text3.C (dispatch): put the lfuns that insert insets in 3
9290         groups, and call doInsertInset with appropriate arguments.
9291         (doInsertInset): new function, that creates an inset and inserts
9292         it according to some boolean parameters.
9293
9294 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * buffer.C (readFile): remember to pass on 'par' when calling
9297         readFile recursively.
9298
9299 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9300
9301         * MenuBackend.C (expandFormats): add "..." to import formats.
9302
9303 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9304
9305         * paragraph.C (asString): Remove XForms RTL hacks.
9306
9307 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9308         * buffer.C: fix typo
9309
9310 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9311
9312         * Makefile.am (LIBS): delete var
9313         (lyx_LDADD): add @LIBS@ here instead.
9314
9315 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9316
9317         * Clarify the meaning of "wheel mouse jump"
9318
9319 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9320
9321         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9322         tabular in a float
9323
9324 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9325
9326         * importer.C (Loaders): do not preallocate 3 elements in the
9327         vector, since one ends up with 6 elements otherwise
9328
9329 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9330
9331         * DepTable.C (write): write the file name as last element of the
9332         .dep file (because it may contain spaces)
9333         (read): read info in the right order
9334
9335 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9336
9337         * paragraph_pimpl.C (simpleTeXBlanks):
9338         (simpleTeXSpecialChars):
9339         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9340
9341         * tabular.C (latex): add some missing case statements. Reindent.
9342
9343         * MenuBackend.C (expandToc): remove unused variable.
9344
9345 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9346
9347         * LColor.C:
9348         * LaTeX.C:
9349         * LyXAction.C:
9350         * MenuBackend.C:
9351         * buffer.C:
9352         * exporter.C:
9353         * lyxfunc.C:
9354         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9355         and the like.
9356
9357 2003-01-05  John Levon  <levon@movementarian.org>
9358
9359         * BufferView.h:
9360         * BufferView.C: add getEncoding()
9361
9362         * kbsequence.h:
9363         * kbsequence.C: do not store last keypress
9364
9365         * lyxfunc.h:
9366         * lyxfunc.C: store last keypress here instead. Pass encoding
9367           to getISOEncoded()
9368
9369 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9370
9371         * lyx_main.C (init): remove annoying error message when following
9372         symbolic links (bug #780)
9373
9374 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9375
9376         * text.C (insertChar):
9377         * lyxrc.C (getDescription): remove extra spaces
9378
9379 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9380
9381         * lyxrc.C (getDescription): remove extra spaces
9382
9383 2002-12-20  John Levon  <levon@movementarian.org>
9384
9385         * text3.C: hack fix for page up/down across tall rows
9386
9387 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9388
9389         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9390         not been invoked
9391
9392 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9393
9394         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9395         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9396         thesaurus is not compiled in
9397
9398 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9399
9400         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9401
9402 2002-12-16  Angus Leeming  <leeming@lyx.org>
9403
9404         * lyxrc.[Ch]:
9405         * lyx_main.C (init): remove override_x_deadkeys stuff.
9406
9407 2002-12-12  John Levon  <levon@movementarian.org>
9408
9409         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9410           insert. Only remove shift modifier under strict
9411           circumstances.
9412
9413 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9414
9415         * MenuBackend.C (expandToc): fix crash.
9416
9417 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9418
9419         * MenuBackend.C (expandToc): gettext on float names.
9420
9421 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9422
9423         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9424         implement bool empty() [bug 490]
9425
9426 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9427
9428         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9429
9430 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9431
9432         * several files: ws changes
9433
9434 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9435
9436         * text2.C (setCounter): clean up a bit, use boost.format.
9437         (updateCounters): initialize par upon declaration.
9438
9439         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9440         if the layout exists. We do not just store the layout any more.
9441         (SwitchLayoutsBetweenClasses): use boost.format
9442
9443 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9444
9445         * converter.C (convert): if from and to files are the same, use a
9446         temporary files as intermediary
9447
9448 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9449
9450         * commandtags.h:
9451         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9452
9453 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9454
9455         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9456
9457 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9458
9459         * tabular.C (asciiPrintCell): use string(size, char) instead of
9460         explicit loop.
9461
9462         * sgml.C (openTag): fix order of arguments to string constructor
9463         (closeTag): ditto
9464
9465         * lyxfunc.C (dispatch): use boost.format
9466
9467         * lots of files: change "c" -> 'c'
9468
9469 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9470
9471         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9472
9473 2002-11-25  Angus Leeming  <leeming@lyx.org>
9474
9475         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9476
9477         * lyx_main.C (init): compile fix.
9478
9479 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9480
9481         * lyx_cb.C (start): boost.formatify
9482         do not include <iostream>
9483
9484         * lengthcommon.C: ws only
9485
9486         * boost-inst.C,BoostFormat.h: add more explict instantations
9487
9488 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9489
9490         * lots of files: handle USE_BOOST_FORMAT
9491
9492 2002-11-21  John Levon  <levon@movementarian.org>
9493
9494         * pspell.C: fix compile
9495
9496 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9497
9498         * lyxfunc.C (dispatch): use boost::format
9499         (open): ditto
9500         (doImport): ditto
9501
9502         * lyxfont.C (stateText): use boost::format
9503
9504         * lyx_main.C (LyX): use boost::format
9505         (init): ditto
9506         (queryUserLyXDir): ditto
9507         (readRcFile): ditto
9508         (parse_dbg): ditto
9509         (typedef boost::function): use the recommened syntax.
9510
9511         * importer.C (Import): use boost::format
9512
9513         * debug.C (showLevel): use boost::format
9514
9515         * converter.C (view): use boost::format
9516         (convert): ditto
9517         (move): ditto
9518         (scanLog): ditto
9519
9520         * bufferview_funcs.C (currentState): use boost::format
9521
9522         * bufferlist.C (emergencyWrite): use boost::format
9523
9524         * buffer.C (readLyXformat2): use boost::format
9525         (parseSingleLyXformat2Token): ditto
9526
9527         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9528
9529         * LaTeX.C (run): use boost::format
9530
9531         * Chktex.C (scanLogFile): use boost::format
9532
9533         * BufferView_pimpl.C (savePosition): use boost::format
9534         (restorePosition): ditto
9535         (MenuInsertLyXFile): ditto
9536
9537         * BoostFormat.h: help file for explicit instation.
9538
9539 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9540
9541         * tabular.C (latex): Support for block alignment in fixed width
9542         columns.
9543
9544 2002-11-17  John Levon  <levon@movementarian.org>
9545
9546         * BufferView_pimpl.C:
9547         * lyx_cb.C:
9548         * lyxfunc.C: split filedialog into open/save
9549
9550 2002-11-08  Juergen Vigna  <jug@sad.it>
9551
9552         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9553         by my last patch (hopefully).
9554
9555 2002-11-08  John Levon  <levon@movementarian.org>
9556
9557         * iterators.h:
9558         * iterators.C:
9559         * buffer.h:
9560         * buffer.C:
9561         * paragraph.h:
9562         * paragraph.C:
9563         * toc.h:
9564         * toc.C: ParConstIterator, and use it (from Lars)
9565
9566 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9567
9568         * lyxtextclass.[Ch]: revise and add doxygen comments
9569
9570 2002-11-07  John Levon  <levon@movementarian.org>
9571
9572         * text.C: fix progress value for spellchecker
9573
9574         * toc.C: fix navigate menu for insetwrap inside minipage
9575
9576         * paragraph_funcs.C: added FIXME for suspect code
9577
9578 2002-11-07  John Levon  <levon@movementarian.org>
9579
9580         * BufferView_pimpl.C: fix redrawing of insets
9581           on buffer switch
9582
9583 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9584
9585         * text2.C (updateCounters): fix bug 668
9586
9587 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9588
9589         * text3.C (dispatch): Do not make the buffer dirty when moving the
9590         cursor.
9591
9592 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9593
9594         * vc-backend.C: STRCONV
9595         (scanMaster): ditto
9596
9597         * text2.C (setCounter): STRCONV
9598
9599         * paragraph.C (asString): STRCONV
9600
9601         * lyxlength.C (asString): STRCONV
9602         (asLatexString): ditto
9603
9604         * lyxgluelength.C (asString): STRCONV
9605         (asLatexString): ditto
9606
9607         * lyxfunc.C (dispatch): STRCONV
9608         (open): ditto
9609
9610         * lyxfont.C (stateText): STRCONV
9611
9612         * importer.C (Import): STRCONV
9613
9614         * counters.C (labelItem): STRCONV
9615         (numberLabel): ditto
9616         (numberLabel): remove unused ostringstream o
9617
9618         * chset.C: STRCONV
9619         (loadFile): ditto
9620
9621         * bufferview_funcs.C (currentState): STRCONV
9622
9623         * buffer.C (readFile): STRCONV
9624         (asciiParagraph): ditto
9625         (makeLaTeXFile): ditto
9626
9627         * Spacing.C (writeEnvirBegin): STRCONV
9628
9629         * LaTeXFeatures.C (getLanguages): STRCONV
9630         (getPackages): ditto
9631         (getMacros): ditto
9632         (getBabelOptions): ditto
9633         (getTClassPreamble): ditto
9634         (getLyXSGMLEntities): ditto
9635         (getIncludedFiles): ditto
9636
9637         * LaTeX.C: STRCONV
9638         (run): ditto
9639         (scanAuxFile): ditto
9640         (deplog): ditto
9641
9642         * LString.h: add the STRCONV macros
9643
9644         * BufferView_pimpl.C (savePosition): STRCONV
9645         (restorePosition): ditto
9646         (MenuInsertLyXFile): ditto
9647
9648         * vc-backend.C (scanMaster): change from submatch[...] to
9649         submatch.str(...)
9650
9651         * funcrequest.C: include config.h
9652
9653         * factory.C: include config.h
9654
9655         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9656
9657         * box.C: include config.h
9658
9659         * LaTeX.C (scanAuxFile): change from submatch[...] to
9660         submatch.str(...)
9661         (deplog): ditto
9662
9663 2002-10-25  Angus Leeming  <leeming@lyx.org>
9664
9665         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9666
9667         * ispell.[Ch] (setError): new method.
9668         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9669         Use setError() insetead of goto END.
9670
9671         * lyx_cb.C (AutoSave): move out child process into new class
9672         AutoSaveBuffer.
9673
9674 2002-10-30  John Levon  <levon@movementarian.org>
9675
9676         * text3.C: make start appendix undoable
9677
9678 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9679
9680         * lyxlength.C (inPixels): Fix returned value.
9681
9682         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9683         environment.
9684
9685 2002-10-24  Angus Leeming  <leeming@lyx.org>
9686
9687         * lyxgluelength.h: no need to forward declare BufferParams
9688         or BufferView, so don't.
9689
9690 2002-10-21  John Levon  <levon@movementarian.org>
9691
9692         * BufferView.C: menuUndo ->undo, redo
9693
9694         * BufferView.h: document, remove dead, make some methods private
9695
9696         * paragraph_funcs.h:
9697         * paragraph_funcs.C:
9698         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9699
9700         * buffer.h:
9701         * buffer.C:
9702         * sgml.h:
9703         * sgml.C: move sgml open/close tag into sgml.C
9704
9705         * bufferview_funcs.h: unused prototype
9706
9707         * lyxfunc.h:
9708         * lyxfunc.C: remove unused
9709
9710         * lyxtext.h:
9711         * text.C: remove unused
9712
9713 2002-10-21  John Levon  <levon@movementarian.org>
9714
9715         * BufferView.h:
9716         * BufferView.C:
9717         * BufferView_pimpl.h:
9718         * BufferView_pimpl.C: fix mouse wheel handling based on
9719           patch from Darren Freeman
9720
9721 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9722
9723         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9724
9725 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9726
9727         * lyxlength.C (inPixels): Fix hanfling of negative length.
9728         Fix LyXLength::MU case.
9729
9730 2002-10-16  John Levon  <levon@movementarian.org>
9731
9732         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9733
9734 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9735
9736         * converter.C (view): add support for $$i (file name) and $$p
9737         (file path) for the viewer command. If $$i is not specified, then
9738         it is appended to the command (for compatibility with old syntax)
9739
9740 2002-10-14  Juergen Vigna  <jug@sad.it>
9741
9742         * undo_funcs.C (textHandleUndo): alter the order in which the
9743         new undopar is added to the LyXText, as we have to set first
9744         the right prev/next and then add it as otherwise the rebuild of
9745         LyXText is not correct. Also reset the cursor to the right paragraph,
9746         with this IMO we could remove the hack in "redoParagraphs()".
9747
9748 2002-10-09  Angus Leeming  <leeming@lyx.org>
9749
9750         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9751         to turn off an optimisation if a new inset is to be inserted.
9752
9753 2002-10-11 André Pönitz <poenitz@gmx.net>
9754
9755         * lyxtext.h: make some functions public to allow access
9756         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9757
9758 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9759
9760         * text3.C (dispatch): when changing layout, avoid an infinite loop
9761         [bug #652]
9762
9763 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9764
9765         * lyxrc.C (read): treat a viewer or converter command of "none" as
9766         if it were empty.
9767
9768         * MenuBackend.C (expandFormats): for an update, also allow the
9769         formats that are not viewable
9770
9771         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9772         script if it is newer than the lyxrc.defaults in user directory
9773
9774 2002-10-07 André Pönitz <poenitz@gmx.net>
9775
9776         * text.C: Vitaly Lipatov's small i18n fix
9777
9778 2002-09-25  Angus Leeming  <leeming@lyx.org>
9779
9780         * ispell.h: doxygen fix.
9781
9782 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9783
9784         * buffer.h (readFile): Add a new argument to the method, to allow
9785         reading of old-format templates.
9786
9787 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9788
9789         * toc.C (getTocList): Get TOC from InsetWrap.
9790
9791 2002-09-16  John Levon  <levon@movementarian.org>
9792
9793         * lyxfunc.C: check tabular for cut/copy too
9794
9795 2002-09-12  John Levon  <levon@movementarian.org>
9796
9797         * LyXAction.C: tidy
9798
9799         * factory.h:
9800         * factory.C: add header
9801
9802         * paragraph_funcs.h:
9803         * paragraph_funcs.C: cleanup
9804
9805 2002-09-11  John Levon  <levon@movementarian.org>
9806
9807         * PrinterParams.h: odd/even default to true
9808
9809 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9810
9811         * PrinterParams.h: update printer parameters for new xforms dialog
9812
9813 2002-09-11  Angus Leeming  <leeming@lyx.org>
9814
9815         * lyxserver.C (read_ready): re-write to make it more transparent
9816         and to make it work in coherent fashion under Tru64 Unix.
9817
9818 2002-09-11  André Pönitz <poenitz@gmx.net>
9819
9820         * commandtags.h:
9821         * LyXAction.C:
9822         * text3.C: implement LFUN_WORDSEL
9823
9824 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9825
9826         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9827         make floatlist_ a boost::shared_ptr<FloatList>
9828
9829         * lyxtextclass.C: include FloatList.h
9830         (LyXTextClass): initialize floatlist_
9831         (TextClassTags): add TC_NOFLOAT
9832         (Read): match "nofloat" to TC_NOFLOAT and use it.
9833         (readFloat): modify call to floatlist_
9834         (floats): ditto
9835         (floats): ditto
9836
9837         * FloatList.[Ch] (FloatList): remove commented out float
9838         initialization.
9839         (erase): new function
9840
9841 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9842
9843         * MenuBackend.C (expandToc): fix crash when there is no document
9844         open
9845
9846 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * many files: Add insetwrap.
9849
9850 2002-09-09  John Levon  <levon@movementarian.org>
9851
9852         * text2.C: remove confusing and awkward depth wraparound
9853
9854 2002-09-09  John Levon  <levon@movementarian.org>
9855
9856         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9857
9858         * buffer.h:
9859         * buffer.C: remove getIncludeonlyList()
9860
9861         * paragraph.C:
9862         * lyxfunc.C: remove headers
9863
9864 2002-09-09  Juergen Vigna  <jug@sad.it>
9865
9866         * text.C (getColumnNearX): fix form Michael this is most
9867         probably a cut&paste bug.
9868
9869 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9870
9871         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9872
9873         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9874         references, ws changes.
9875
9876         * text2.C (init): update counters after init
9877         (insertParagraph): no need to set counter on idividual paragraphs.
9878         (setCounter): access the counters object in the textclass object
9879         on in the buffer object.
9880         (updateCounters): ditto
9881
9882         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9883         shared_ptr<Counters> to avoid loading counters.h in all
9884         compilation units.
9885         (LyXTextClass): initialize ctrs_
9886         (TextClassTags): add TC_COUNTER, and ...
9887         (Read): use it here.
9888         (CounterTags): new tags
9889         (readCounter): new function
9890         (counters): new funtion
9891         (defaultLayoutName): return a const reference
9892
9893         * counters.C (Counters): remove contructor
9894         (newCounter): remove a couple of unneeded statements.
9895         (newCounter): simplify a bit.
9896         (numberLabel): some small formatting changes.
9897
9898         * buffer.[Ch]: remove all traces of counters, move the Counters
9899         object to the LyXTextClass.
9900
9901 2002-09-06  Alain Castera  <castera@in2p3.fr>
9902
9903         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9904         package to set the horizontal alignment on fixed width columns.
9905
9906         * lyx_sty.C:
9907         * lyx_sty.h: added tabularnewline macro def.
9908
9909         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9910
9911 2002-09-06  John Levon  <levon@movementarian.org>
9912
9913         * LyXAction.C: tooltips for sub/superscript
9914
9915         * MenuBackend.C: a bit more verbose
9916
9917         * lyxfunc.C: tiny clean
9918
9919         * undo_funcs.C: document undo_frozen
9920
9921 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9922
9923         * counters.C (Counters): add missing algorithm counter.
9924
9925         * text2.C (setCounter): lookup the counter with layouts latexname
9926         instead of by section number.
9927         (setCounter): use a hackish way to lookup the correct enum
9928         counter.
9929         a float name->type change
9930         reset enum couners with counter name directly instead of depth value.
9931
9932         * counters.C (Counters): remove the push_backs, change to use the
9933         float type not the float name.
9934         (labelItem): remove unused string, float name->type change
9935
9936         * counters.h: don't include vector, loose the enums and sects vectors
9937
9938 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9939
9940         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9941         (Read): add float->TC_FLOAT to textclassTags
9942         (Read): and handle it in the switch
9943         (readFloat): new function
9944
9945         * FloatList.C (FloatList): comment out the hardcoded float
9946         definitions.
9947
9948         * lyxlayout.h: ws change.
9949
9950 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9951
9952         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9953
9954 2002-09-03  Angus Leeming  <leeming@lyx.org>
9955
9956         * BufferView_pimpl.h: qualified name is not allowed in member
9957         declaration: WorkArea & Pimpl::workarea() const;
9958
9959         * factory.C: added using std::endl directive.
9960
9961         * text3.C: added using std::find and std::vector directives.
9962
9963 2002-08-29  André Pönitz <poenitz@gmx.net>
9964
9965         * lyxtext.h:
9966         * text2.C: remove unused member number_of_rows
9967
9968         * Makefile.am:
9969         * BufferView2.C: remove file, move contents to...
9970         * BufferView.C: ... here
9971
9972         * BufferView_pimpl.C:
9973         * factory.C: move more inset creation to factory
9974
9975         * vspace.C: avoid direct usage of LyXText, ws changes
9976
9977         * BufferView.[Ch]:
9978                 don't provide direct access to WorkArea, use two simple
9979                 acessors haveSelction() and workHeight() instead
9980
9981
9982 2002-08-29  John Levon  <levon@movementarian.org>
9983
9984         * BufferView_pimpl.C (dispatch): do not continue when
9985           no buffer
9986
9987 2002-08-28  André Pönitz <poenitz@gmx.net>
9988
9989         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9990
9991         * BufferView.h:
9992         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9993
9994 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9995
9996         * buffer.C: increment LYX_FORMAT to 221
9997
9998         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9999         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10000
10001         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10002
10003         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10004
10005 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10006
10007         * factory.C (createInset): use LyXTextClass::floats
10008
10009         * MenuBackend.C (expandFloatListInsert):
10010         (expandFloatInsert):
10011         (expandToc):
10012
10013         * text2.C (setCounter):
10014
10015         * LaTeXFeatures.C (useFloat):
10016         (getFloatDefinitions):
10017
10018         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10019
10020         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10021         floatlist_, with accessor floats().
10022
10023         * FloatList.h: remove global FloatList
10024
10025 2002-08-26  André Pönitz <poenitz@gmx.net>
10026
10027         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10028
10029         * BufferView.h:
10030         * BufferView2.C:
10031         * BufferView_pimpl.C:
10032         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10033
10034 2002-08-25  John Levon  <levon@movementarian.org>
10035
10036         * LyXAction.C: fix margin note description
10037
10038 2002-08-24  John Levon  <levon@movementarian.org>
10039
10040         * buffer.C:
10041         * bufferlist.C:
10042         * bufferview_funcs.C:
10043         * lyxfont.C:
10044         * undo_funcs.C: cleanups
10045
10046         * lyxfunc.C: disable CUT/COPY when no selection
10047
10048 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10049
10050         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10051         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10052
10053         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10054         Add backward compatibility to "mono", "gray" and "no".
10055
10056 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10057
10058         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10059         (and file_format >= 200).
10060
10061 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10064
10065 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10066
10067         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10068
10069 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10070
10071         * BufferView_pimpl.C:
10072         * LyXAction.C:
10073         * buffer.C:
10074         * commandtags.h:
10075         * lyxfunc.C:
10076         * paragraph.[Ch]:
10077         * text2.C:
10078         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10079         inset and code to make it  work with the paragraph code. The inset
10080         can be anywhere in the paragraph, but will only do the expected
10081         thing in LaTeX if the layout file contains the parameter line
10082                         OptionalArgs    1
10083         (or more generally, a nonzero value) for that layout.
10084
10085 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10086
10087         * paragraph.h: remove the declaration of undefined counters class
10088         function.
10089
10090 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10091
10092         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10093         Dr. Richard Hawkins.
10094
10095 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * paragraph_funcs.h: remove some unneeded includes
10098
10099         * text.C (backspace): pasteParagraph now in global scipe
10100
10101         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10102         (pasteSelection): ditto
10103
10104         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10105         * paragraph_funcs.C (pasteParagraph): ... here
10106
10107 2002-08-20  André Pönitz <poenitz@gmx.net>
10108
10109         * commandtags.h: new LFUNs for swapping/copying table row/colums
10110
10111         * LyXAction.C:
10112         * lyxfunc.C: support for new lfuns
10113
10114 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10115
10116         * tabular.C:
10117         * buffer.[Ch]: remove NO_COMPABILITY stuff
10118
10119 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10120
10121         * boost.C (throw_exception): new file, with helper function for
10122         boost compiled without exceptions.
10123
10124         * paragraph.h:
10125         * lyxlength.C:
10126         * buffer.C:
10127         * ParameterStruct.h:
10128         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10129
10130         * bufferlist.C (emergencyWriteAll): use boost bind
10131
10132         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10133
10134         * text.C: include paragraph_funcs.h
10135         (breakParagraph): breakParagraph is now in global scope
10136
10137         * paragraph_funcs.[Ch]: new files
10138
10139         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10140         global scope
10141
10142         * buffer.C: include paragraph_funcs.h
10143         (insertStringAsLines): breakParagraph is now in global scope
10144
10145         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10146         paragraph_funcs.C
10147
10148         * CutAndPaste.C: include paragraph_funcs.h
10149         (cutSelection): breakParagraphConservative is now in global scope
10150         (pasteSelection): ditto
10151
10152         * buffer.h: declare oprator== and operator!= for
10153         Buffer::inset_iterator
10154
10155         * bufferlist.C (emergencyWrite): don't use fmt(...)
10156
10157         * text3.C: add using std::endl
10158
10159         * BufferView.C (moveCursorUpdate): remove default arg
10160
10161 2002-08-20  André Pönitz <poenitz@gmx.net>
10162
10163         * buffer.[Ch]: move inline functions to .C
10164
10165         * BufferView2.C:
10166         * BufferView_pimpl.C:
10167         * text.C:
10168         * buffer.[Ch]: use improved inset_iterator
10169
10170         * buffer.C:
10171         * paragraph.[Ch]: write one paragraph at a time
10172
10173 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10174
10175         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10176         style if style is not specified.
10177
10178 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * text2.C (setCounter): when searching for right label for a
10181         caption, make sure to recurse to parent insets (so that a caption
10182         in a minipage in a figure float works) (bug #568)
10183
10184 2002-08-20  André Pönitz <poenitz@gmx.net>
10185
10186         * text3.C: new file for LyXText::dispatch() and helpers
10187
10188         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10189
10190         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10191
10192 2002-08-19  André Pönitz <poenitz@gmx.net>
10193
10194         * lyxtext.h:
10195         * text.C: new LyXText::dispatch()
10196
10197         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10198
10199 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10200
10201         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10202
10203         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10204         Hebrew text.
10205
10206 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10207
10208         * Makefile.am: use $(variables) instead of @substitutions@
10209
10210 2002-08-15  André Pönitz <poenitz@gmx.net>
10211
10212         * lyxfunc.C:
10213         * BufferView_pimpl.C: streamlining mathed <-> outer world
10214         interaction
10215
10216         * commandtags.h:
10217         * LyXAction.C: remove unused LFUN_MATH
10218
10219 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10220
10221         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10222
10223 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10224
10225         * paragraph.C (Paragraph): reformat a bit
10226         (cutIntoMinibuffer): use builtin InsetList function instad of
10227         doing it manually.
10228         (getInset): ditto
10229
10230         * buffer.C: include boost/bind.hpp, add using std::for_each
10231         (writeFileAscii): use ParagraphList iterators
10232         (validate): use for_each for validate traversal of paragraphs
10233         (getBibkeyList): use ParagraphList iterators
10234         (resizeInsets): use for_each to resizeInsetsLyXText for all
10235         paragraphs.
10236         (getParFromID): use ParagraphList iterators
10237
10238         * BufferView2.C (lockInset): use paragraph list and iterators
10239
10240 2002-08-14  John Levon  <levon@movementarian.org>
10241
10242         * lyxserver.C: remove spurious xforms include
10243
10244 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10245
10246         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10247
10248 2002-08-13  André Pönitz <poenitz@gmx.net>
10249
10250         * LyXAction.[Ch]:
10251         * lyxfunc.C: further cleaning
10252
10253 2002-08-13  André Pönitz <poenitz@gmx.net>
10254
10255         * funcrequest.h: new constructor
10256
10257         * funcrequest.C: move stuff here from .h
10258
10259         * Makefile.am:
10260         * BufferView_pimpl.C:
10261         * LyXAction.C:
10262         * toc.C:
10263         * lyxfunc.C: subsequent changes
10264
10265         * lyxfunc.h: new view() member function
10266
10267         * lyxfunc.C: subsequent changes
10268
10269 2002-08-13  Angus Leeming  <leeming@lyx.org>
10270
10271         * BufferView2.C:
10272         * BufferView_pimpl.C:
10273         * buffer.C:
10274         * converter.C:
10275         * importer.C:
10276         * lyxfunc.C:
10277         * lyxvc.C:
10278         * toc.C:
10279         * vc-backend.C:
10280         changes due to the changed LyXView interface that now returns references
10281         to member variables not pointers.
10282
10283 2002-08-13  Angus Leeming  <leeming@lyx.org>
10284
10285         * WordLangTuple (word, lang_code): return references to strings,
10286         not strings.
10287
10288         * BufferView.h:
10289         * SpellBase.h:
10290         * lyxtext.h: forward-declare WordLangTuple.
10291
10292         * BufferView2.C:
10293         * ispell.C:
10294         * pspell.C:
10295         * text.C: #include "WordLangTuple.h".
10296
10297         * lyxtext.h:
10298         * text.C: (selectNextWordToSpellcheck): constify return type.
10299
10300 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10301
10302         * buffer.C:
10303         * buffer.h:
10304         * lyxtext.h:
10305         * paragraph.C:
10306         * paragraph_pimpl.h:
10307         * text.C:
10308         * text2.C:
10309         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10310         suggested by Angus.
10311         Made updateCounter always count from start of buffer, and removed
10312         second argument (par).
10313         Reverted floats number display to '#'. Perhaps I'll try again when the
10314         code base is sanitized a bit.
10315
10316 2002-08-12  Angus Leeming  <leeming@lyx.org>
10317
10318         * buffer.[Ch] (getLabelList): constify.
10319
10320 2002-08-07  André Pönitz <poenitz@gmx.net>
10321
10322         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10323
10324         * funcrequest.h: extension to keep mouse (x,y) position
10325
10326 2002-08-12  Juergen Vigna  <jug@sad.it>
10327
10328         * BufferView2.C (insertErrors): forbid undo when inserting error
10329         insets.
10330
10331         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10332
10333 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10334
10335         * ParagraphList.[Ch]: new files
10336
10337         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10338
10339         * BufferView2.C (lockInset): ParagraphList changes
10340         * toc.C: ditto
10341         * text2.C: ditto
10342         * bufferlist.C: ditto
10343         * buffer.h: ditto
10344         * buffer.C: ditto
10345
10346 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10347
10348         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10349         unused class variable counter_,
10350
10351         * paragraph.[Ch] (getFirstCounter): delete unused function
10352
10353         * counters.C: include LAssert.h
10354         (reset): add a new function with no arg, change other version to
10355         not have def. arg and to not allow empty arg.
10356
10357         * text2.C (setCounter): remove empty arg from call to Counters::reset
10358
10359 2002-08-11  John Levon  <levon@movementarian.org>
10360
10361         * Makefile.am: add WordLangTuple.h
10362
10363 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10364
10365         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10366         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10367
10368         * insets/insettext.C: InsetList changes
10369
10370         * graphics/GraphicsSupport.C (operator()): InsetList changes
10371
10372         * toc.C (getTocList): InsetList changes
10373
10374         * paragraph_pimpl.[Ch]: InsetList changes
10375
10376         * paragraph.[Ch]: InsetList changes
10377
10378         * buffer.C (inset_iterator): InsetList changes
10379         (setParagraph): ditto
10380         * buffer.h (inset_iterator): ditto
10381         * iterators.C (operator++): ditto
10382         * iterators.h: ditto
10383
10384         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10385
10386         * InsetList.[Ch]: new files, most InsetList handling moved out of
10387         paragraph.C.
10388
10389         * BufferView2.C (removeAutoInsets): InsetList changes
10390         (lockInset): ditto
10391         (ChangeInsets): ditto
10392
10393 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * paragraph_pimpl.h (empty): new function
10396
10397         * paragraph.[Ch] (empty): new function
10398
10399         * other files: use the new Paragraph::empty function
10400
10401 2002-08-09  John Levon  <levon@movementarian.org>
10402
10403         * lyxtext.h: remove unused refresh_height
10404
10405 2002-08-09  John Levon  <levon@movementarian.org>
10406
10407         * Makefile.am:
10408         * sgml.h:
10409         * sgml.C:
10410         * buffer.C:
10411         * paragraph.h:
10412         * paragraph.C: move sgml char escaping out of paragraph
10413
10414         * paragraph.h:
10415         * paragraph.C: remove id setter
10416
10417         * buffer.C:
10418         * paragraph.C:
10419         * paragraph_pimpl.C: remove dead tex_code_break_column
10420
10421         * bufferview_funcs.C: small cleanup
10422
10423         * lyxfunc.C: remove dead proto
10424
10425         * lyxtext.h: make some stuff private. Remove some dead stuff.
10426
10427         * lyxgluelength.C: make as[LyX]String() readable
10428
10429 2002-08-08  John Levon  <levon@movementarian.org>
10430
10431         * LyXAction.h:
10432         * LyXAction.C:
10433         * MenuBackend.C:
10434         * ToolbarDefaults.C:
10435         * lyxfunc.C:
10436         * lyxrc.C:
10437         * toc.C: lyxaction cleanup
10438
10439 2002-08-08  John Levon  <levon@movementarian.org>
10440
10441         * BufferView2.C: small cleanup
10442
10443         * lyxfind.h:
10444         * lyxfind.C: move unnecessary header into the .C
10445
10446 2002-08-08  John Levon  <levon@movementarian.org>
10447
10448         * funcrequest.h: just tedious nonsense
10449
10450         * lyx_main.h:
10451         * lyx_main.C: cleanups
10452
10453         * buffer.C:
10454         * vspace.C: remove dead header lyx_main.h
10455
10456 2002-08-07  Angus Leeming  <leeming@lyx.org>
10457
10458         * Paragraph.[Ch]:
10459         * paragraph_pimpl.h:
10460         Forward declare class Counters in paragraph.h by moving the ctrs member
10461         variable into Paragraph::Pimpl.
10462         (counters): new method, returning a reference to pimpl_->ctrs.
10463
10464         * text2.C: ensuing changes.
10465
10466 2002-08-07  John Levon  <levon@movementarian.org>
10467
10468         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10469
10470         * BufferView_pimpl.C: announce X selection on double/triple
10471           click
10472
10473         * lyx_main.C: use correct bool in batch dispatch
10474
10475         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10476
10477 2002-08-07  André Pönitz <poenitz@gmx.net>
10478
10479         * funcrequest.h: new class to wrap a kb_action and its argument
10480
10481         * BufferView.[Ch]:
10482         * BufferView_pimpl[Ch]:
10483         * LaTeX.C:
10484         * LyXAction.[Ch]:
10485         * lyxfunc.[Ch]:
10486         * lyxrc.C: subsequent changes
10487
10488
10489 2002-08-07  John Levon  <levon@movementarian.org>
10490
10491         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10492           document options change.
10493
10494 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10495
10496         * counters.[Ch]
10497         * text2.C
10498         * paragraph.[Ch]
10499         * makefile.am: move counters functionality over from
10500         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10501
10502 2002-08-06  John Levon  <levon@movementarian.org>
10503
10504         * WordLangTuple.h: new file for word + language code tuple
10505
10506         * SpellBase.h:
10507         * pspell.h:
10508         * pspell.C:
10509         * ispell.h:
10510         * ispell.C:
10511         * lyxtext.h:
10512         * text.C:
10513         * text2.C:
10514         * BufferView.h:
10515         * BufferView2.C: use WordLangTuple
10516
10517         * layout.h:
10518         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10519
10520 2002-08-06  John Levon  <levon@movementarian.org>
10521
10522         * lyx_main.C: fix cmdline batch handling
10523
10524 2002-08-06  André Pönitz <poenitz@gmx.net>
10525
10526         * lyxrc.C: set default for show_banner to true
10527
10528 2002-08-06  John Levon  <levon@movementarian.org>
10529
10530         * pspell.C: fix a crash, and allow new aspell to work
10531
10532 2002-08-06  John Levon  <levon@movementarian.org>
10533
10534         * lyxfunc.C:
10535         * kbmap.C: small cleanup
10536
10537         * vspace.h:
10538         * vspace.C: add const
10539
10540 2002-08-05  John Levon  <levon@movementarian.org>
10541
10542         * LyXAction.C: back to tabular-insert
10543
10544 2002-08-04  John Levon  <levon@movementarian.org>
10545
10546         * BufferView.h:
10547         * BufferView.C: cosmetic change
10548
10549         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10550
10551         * bufferlist.C:
10552         * buffer.h:
10553         * buffer.C:
10554         * lyxcb.h:
10555         * lyxcb.C:
10556         * lyxserver.C:
10557         * lyxvc.C:
10558         * vc-backend.C:
10559         * BufferView2.C: purge all "Lyx" not "LyX" strings
10560
10561         * lyxcursor.h:
10562         * lyxcursor.C: attempt to add some documentation
10563
10564         * lyxfunc.C:
10565         * commandtags.h:
10566         * LyXAction.C:
10567         * ToolbarDefaults.C:
10568         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10569           merge with LFUN_TABULAR_INSERT
10570
10571         * Makefile.am:
10572         * SpellBase.h:
10573         * ispell.h:
10574         * ispell.C:
10575         * pspell.h:
10576         * pspell.C: split up i/pspell implementations into separate
10577           files, many cleanups
10578
10579         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10580
10581         * text2.C: some cleanup
10582
10583         * lyxfunc.C: don't check for isp_command == "none" any more, it
10584           didn't make any sense
10585
10586 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10587
10588         * counters.[Ch]
10589         * text2.C
10590         * paragraph.[Ch]
10591         * makefile.am: move counters functionality over
10592         from text2.C/paragraph.[Ch] to counters.[Ch], and
10593         make proper C++.
10594 2002-08-02  John Levon  <levon@movementarian.org>
10595
10596         * buffer.C: s/lyxconvert/lyx2lyx/
10597
10598 2002-08-02  Angus Leeming  <leeming@lyx.org>
10599
10600         * lyxlex.C: revert John's change as it breaks reading of the user
10601         preamble.
10602
10603 2002-08-02  Angus Leeming  <leeming@lyx.org>
10604
10605         * importer.C (Import):
10606         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10607         changes due to LyXView::view() now returning a boost::shared_ptr.
10608
10609 2002-08-02  John Levon  <levon@movementarian.org>
10610
10611         * lyxlex.C: small cleanup
10612
10613 2002-08-02  John Levon  <levon@movementarian.org>
10614
10615         * text2.C (status): small cleanup, no logic change
10616
10617 2002-08-01  John Levon  <levon@movementarian.org>
10618
10619         * buffer.h:
10620         * buffer.C (writeFile): don't output alerts, caller
10621           handles this
10622
10623         * bufferlist.C:
10624         * lyx_cb.C: from above
10625
10626         * lyxfunc.C: allow to open non-existent files
10627
10628 2002-07-31  John Levon  <levon@movementarian.org>
10629
10630         * lyxserver.C: don't let incidental errors get
10631           in the way (errno)
10632
10633 2002-07-30  John Levon  <levon@movementarian.org>
10634
10635         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10636
10637 2002-07-30  John Levon  <levon@movementarian.org>
10638
10639         * lyxserver.h:
10640         * lyxserver.C: remove I/O callback too
10641
10642 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10645         log.
10646
10647 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10648
10649         * many files: strip,frontStrip -> trim,ltrim,rtrim
10650
10651 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10652
10653         * PrinterParams.h: remove extern containsOnly, and include
10654         support/lstrings.h instead.
10655
10656         * LaTeX.C (scanAuxFile): modify because of strip changes
10657         (deplog): ditto
10658         * buffer.C (makeLaTeXFile): ditto
10659         * bufferparams.C (writeFile): ditt
10660         * lyxfont.C (stateText): ditto
10661         * lyxserver.C (read_ready): ditto
10662         * vc-backend.C (scanMaster): ditto
10663
10664         * BufferView_pimpl.h: ws changes
10665
10666         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10667
10668 2002-07-26  André Pönitz <poenitz@gmx.net>
10669
10670         * kb_sequence.C: remove unnedred usings
10671
10672 2002-07-26  Juergen Vigna  <jug@sad.it>
10673
10674         * lyxfind.C (LyXReplace): we have to check better if the returned
10675         text is not of theLockingInset()->getLockingInset().
10676
10677 2002-07-25  Juergen Vigna  <jug@sad.it>
10678
10679         * lyxfind.C (LyXReplace): don't replace if we don't get the
10680         right LyXText.
10681
10682         * undo_funcs.C (createUndo): remove debugging code.
10683
10684 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * buffer.C (parseSingleLyXformat2Token): Use default placement
10687         when reading old floats.
10688
10689         * FloatList.C (FloatList): Change the default placement of figure
10690         and tables to "tbp".
10691
10692 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * MenuBackend.C: using std::max
10695
10696 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * MenuBackend.C (expandToc):
10699         (expandToc2): code moved from xforms menu frontend. It is now
10700         generic and TOCs are transparent to menu frontends.
10701
10702 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * toc.C (getTocList): protect against buf=0
10705
10706         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10707         Menu as first parameter. Now, this calls itself recursively to
10708         expand a whole tree (this will be useful for TOC handling)
10709         (expandFloatInsert): remove 'wide' version of floats
10710
10711         * MenuBackend.h (submenuname): returns the name of the submenu.
10712         (submenu): returns the submenu itself, provided it has been
10713         created by MenuBackend::expand
10714
10715 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10716
10717         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10718         insets which have noFontChange == true. (bug #172)
10719
10720 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * BufferView_pimpl.C: add connection objects and use them...
10723         (Pimpl): here.
10724
10725 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726
10727         * MenuBackend.C (expandLastfiles):
10728         (expandDocuments):
10729         (expandFormats):
10730         (expandFloatListInsert):
10731         (expandFloatInsert):
10732         (expand): split expand in parts
10733
10734 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * lyx_gui.C: use lyx_gui::exit()
10737
10738 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * LyXAction.C: show the failing pseudo action
10741
10742 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10743
10744         * buffer.C (readFile): Run the lyxconvert script in order to read
10745         old files.
10746
10747 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * LyXAction.C:
10750         * commandtags.h:
10751         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10752
10753 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * LyXAction.C:
10756         * commandtags.h:
10757         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10758
10759 2002-07-22  Herbert Voss  <voss@lyx.org>
10760
10761         * lengthcommon.C:
10762         * lyxlength.[Ch]: add support for the vertical lengths
10763
10764 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * toc.[Ch]: std:: fixes
10767
10768 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10769
10770         * lyxrc.C: do not include lyx_main.h
10771
10772         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10773         for layouts
10774
10775         * lyxrc.C:
10776         * encoding.C:
10777         * bufferlist.C:
10778         * BufferView2.C: include "lyxlex.h"
10779
10780         * tabular.h:
10781         * bufferparams.h: do not #include "lyxlex.h"
10782
10783         * lyxtextclasslist.C (Add): remove method
10784         (classlist): renamed to classlist_
10785
10786         * paragraph_pimpl.C:
10787         * paragraph.C:
10788         * text2.C:
10789         * CutAndPaste.C:
10790         * bufferview_funcs.C:
10791         * bufferlist.C:
10792         * text.C:
10793         * LaTeXFeatures.C:
10794         * buffer.C:
10795         * toc.C (getTocList): use BufferParams::getLyXTextClass
10796
10797         * toc.C (getTocList): use InsetFloat::addToToc
10798
10799         * toc.[Ch]: new files, containing helper functions to handle table
10800         of contents
10801
10802         * lyxfunc.C (dispatch): no need to remove spaces around command
10803         given as a string
10804         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10805         first command of the sequence; it is not very clever, but I do not
10806         have a better idea, actually
10807
10808         * LyXAction.C (LookupFunc): make sure to remove space at the
10809         beginning and end of the command
10810
10811 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10812
10813         * MenuBackend.C (getMenubar): new method: return the menubar of
10814         this menu set
10815         (read): treat differently reading of menu and menubar (in
10816         particular, the menubar has no name now)
10817         (Menu::menubar): remove
10818
10819         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10820         saving is finished
10821
10822 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10823
10824         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10825         a bibitem inset in a RTL paragraph.
10826
10827 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * paragraph_pimpl.C: constify
10830
10831         * BufferView_pimpl.C:
10832         * LaTeX.C:
10833         * lyxfunc.C: fix dispatch in a nicer way
10834
10835 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10836
10837         * lyxfunc.C (dispatch):
10838         * BufferView_pimpl.C:
10839         * BufferView_pimpl.h:
10840         * BufferView.C:
10841         * BufferView.h: rename Dispatch() to dispatch()
10842
10843         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10844
10845         * lyxlayout.C (Read): honor DependsOn tag
10846
10847         * lyxlayout.[Ch] (depends_on): new method
10848
10849         * version.C.in: update lyx_docversion
10850
10851         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10852
10853         * paragraph.C (validate): remove from here...
10854         * paragraph_pimpl.C (validate): ... and move here
10855         (isTextAt): make it const
10856
10857         * buffer.C (getLists): ws cleanup
10858
10859 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10860
10861         * language.C (read): Use iso8859-1 encoding in latex_lang
10862         (this prevents LyX from crashing when using iso10646-1 encoding).
10863
10864 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * text2.C (toggleInset): if cursor is inside an inset, close the
10867         inset and leave cursor _after_ it
10868
10869 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10870
10871         * lyxfunc.C: move minibuffer completion handling out of here
10872
10873 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10874
10875         * BufferView_pimpl.C:
10876         * LaTeX.C: fix dispatch calls
10877
10878 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10879
10880         * text.C (drawChars): Fix Arabic text rendering.
10881
10882 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * LyXAction.C:
10885         * commandtags.h:
10886         * lyxfunc.C: remove message-push/pop
10887
10888         * lyxserver.C:
10889         * lyxfunc.h:
10890         * lyxfunc.C: rationalise some code by removing verboseDispatch
10891           in favour of a bool argument to dispatch()
10892
10893 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10894
10895         * lyx_main.C (init): make sure to read symlinks as absolute paths
10896
10897 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * lyxfunc.h:
10900         * lyxfunc.C: no need for commandshortcut to be a member
10901
10902 2002-07-15  André Pönitz <poenitz@gmx.net>
10903
10904         * converter.C: add support for $$s (scripts from lib/scripts dir)
10905         * lyx_main.C: white space
10906
10907 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * bufferlist.C:
10910         * lyxrc.h:
10911         * lyxrc.C: remove second exit confirmation
10912
10913 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * BufferView.h:
10916         * BufferView.C:
10917         * BufferView2.C:
10918         * BufferView_pimpl.h:
10919         * BufferView_pimpl.C:
10920         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10921
10922 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10923
10924         * MenuBackend.C (expand): add numeric shortcuts to document menu
10925
10926         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10927
10928 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10929
10930         * lyxfont.C (setLyXFamily):
10931         (setLyXSeries):
10932         (setLyXShape):
10933         (setLyXSize):
10934         (setLyXMisc):
10935         (lyxRead):
10936         * debug.C (value):
10937         * buffer.C (asciiParagraph): use ascii_lowercase
10938
10939 2002-07-15  Mike Fabian  <mfabian@suse.de>
10940
10941         * lyxlex_pimpl.C (search_kw):
10942         * lyxlex.C (getLongString):
10943         * converter.h (operator<):
10944         * converter.C (operator<):
10945         * buffer.C (parseSingleLyXformat2Token):
10946         (asciiParagraph):
10947         * ToolbarDefaults.C (read):
10948         * MenuBackend.C (checkShortcuts):
10949         (read):
10950         * LColor.C (getFromGUIName):
10951         (getFromLyXName): use the compare_ascii_no_case instead of
10952         compare_no_case, because in turkish, 'i' is not the lowercase
10953         version of 'I', and thus turkish locale breaks parsing of tags.
10954
10955 2002-07-16  Angus Leeming  <leeming@lyx.org>
10956
10957         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10958         now takes a Buffer const & argument.
10959
10960 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10961
10962         * BufferView.C (resize): check there's a buffer to resize
10963
10964 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10965
10966         * lyxfunc.C: remove dead code
10967
10968         * lyxserver.h:
10969         * lyxserver.C: use lyx_guii::set_read_callback
10970
10971 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10972
10973         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10974         an inset in a RTL paragraph.
10975
10976 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10977
10978         * lyxfunc.C: repaint after a font size update
10979
10980 2002-07-15  André Pönitz <poenitz@gmx.net>
10981
10982         * lyxlength.C: inBP should be able to return negative values
10983
10984 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * lyxfunc.C: use lyx_gui::update_fonts()
10987
10988 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10989
10990         * lyxfunc.C: use lyx_gui::update_color()
10991
10992 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * bufferlist.C:
10995         * lyxfunc.h:
10996         * lyxfunc.C:
10997         * lyxrc.h:
10998         * lyxrc.C: remove file->new asks for name option, and let
10999           buffer-new take an argument
11000
11001 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11002
11003         * BufferView_pimpl.C: remove unneeded extra repaint()
11004
11005 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11006
11007         * LyXAction.C: allow command-sequence with NoBuffer
11008
11009         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11010
11011 2002-07-10  Angus Leeming  <leeming@lyx.org>
11012
11013         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11014
11015 2002-07-09  Angus Leeming  <leeming@lyx.org>
11016
11017         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11018
11019 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11020
11021         * lengthcommon.h: whitespace
11022
11023         * lyxfunc.C: update scrollbar after goto paragraph
11024
11025         * lyxtext.h: factor out page break drawing, and fix it so
11026           page break/added space paints as selected nicely
11027
11028 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11029
11030         * BufferView_pimpl.C: add FIXMEs, clean up a little
11031
11032 2002-07-09  André Pönitz <poenitz@gmx.net>
11033
11034         * lyxfont.[Ch]: support for wasy symbols
11035
11036 2002-07-08  André Pönitz <poenitz@gmx.net>
11037
11038         * BufferView_pimpl.C: apply John's patch for #93.
11039
11040 2002-07-05  Angus Leeming  <leeming@lyx.org>
11041
11042         * BufferView_pimpl.C (buffer): generate previews if desired.
11043
11044         * LColor.h: add "preview" to the color enum.
11045
11046         * LColor.C (LColor): add a corresponding entry to the items array.
11047
11048         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11049         with this buffer.
11050
11051 2002-07-05  Angus Leeming  <leeming@lyx.org>
11052
11053         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11054         The body of the code is now in the method that is passed an ostream &
11055         rather than a file name.
11056         Pass an additional only_preamble parameter, useful for the forthcoming
11057         preview stuff.
11058
11059 2002-07-03  André Pönitz <poenitz@gmx.net>
11060
11061         * lyxfunc.C: simplify getStatus() a bit for math stuff
11062
11063 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11064
11065         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11066
11067 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11068
11069         * text.C (changeRegionCase): do not change case of all the
11070         document when region ends at paragraph end (bug #461)
11071
11072 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11073
11074         * paragraph.C (startTeXParParams):
11075         (endTeXParParams): add \protect when necessary
11076
11077 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11078
11079         * BufferView_pimpl.C (workAreaExpose): remove warning
11080
11081 2002-06-27  Angus Leeming  <leeming@lyx.org>
11082
11083         * Makefile.am: add lyxlayout_ptr_fwd.h.
11084
11085 2002-06-26  André Pönitz <poenitz@gmx.net>
11086
11087         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11088
11089 2002-06-25  Angus Leeming  <leeming@lyx.org>
11090
11091         * lyxfunc.C (dispatch): Comment out the call to
11092         grfx::GCache::changeDisplay. The method no longer exists now that the
11093         pixmap generation part of the graphics loader has been moved into
11094         InsetGraphics.
11095
11096 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11097
11098         * text2.C: layout as layout
11099
11100         * text.C: layout as layout
11101
11102         * tabular.C (OldFormatRead): layout as layout
11103
11104         * paragraph_pimpl.C (TeXDeeper): layout as layout
11105         (realizeFont): layout as layout
11106
11107         * paragraph.C (writeFile): layout as layout
11108         (validate): layout as layout
11109         (getFont): layout as layout
11110         (getLabelFont): layout as layout
11111         (getLayoutFont): layout as layout
11112         (breakParagraph): layout as layout
11113         (stripLeadingSpaces): layout as layout
11114         (getEndLabel): layout as layout
11115         (getMaxDepthAfter): layout as layout
11116         (applyLayout): layout as layout
11117         (TeXOnePar): layout as layout
11118         (simpleTeXOnePar): layout as layout
11119         (TeXEnvironment): layout as layout
11120         (layout): layout as layout
11121         (layout): layout as layout
11122
11123         * lyxtextclass.C (compare_name): new functor to work with
11124         shared_ptr, layout as layout
11125         (Read): layout as layout
11126         (hasLayout): layout as layout
11127         (operator): layout as layout
11128         (delete_layout): layout as layout
11129         (defaultLayout): layout as layout
11130
11131         * lyxlayout_ptr_fwd.h: new file
11132
11133         * lyxlayout.C (Read): layout as layout
11134
11135         * lyx_cb.C (MenuInsertLabel): layout as layout
11136
11137         * bufferlist.C (newFile): layout as layout
11138
11139         * buffer.C (readLyXformat2): layout as layout
11140         (parseSingleLyXformat2Token): layout as layout
11141         (insertStringAsLines): layout as layout
11142         (asciiParagraph): layout as layout
11143         (latexParagraphs): layout as layout
11144         (makeLinuxDocFile): layout as layout
11145         (simpleLinuxDocOnePar): layout as layout
11146         (makeDocBookFile): layout as layout
11147         (simpleDocBookOnePar): layout as layout
11148         (getLists): layout as layout
11149
11150         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11151
11152         * CutAndPaste.C (cutSelection): layout as layout
11153         (pasteSelection): layout as layout
11154         (SwitchLayoutsBetweenClasses): layout as layout
11155
11156         * BufferView_pimpl.C (Dispatch): layout as layout
11157         (smartQuote): layout as layout
11158
11159         * BufferView2.C (unlockInset): layout as layout
11160
11161 2002-06-24  André Pönitz <poenitz@gmx.net>
11162
11163         * lyxfunc.C: fix #487
11164
11165 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * lyxrc.h:
11168         * lyxrc.C:
11169         * lyxfunc.C: remove display_shortcuts, show_banner
11170
11171 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * Buffer_pimpl.C: oops, update on resize
11174
11175 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * buffer.C:
11178         * converter.C:
11179         * exporter.C:
11180         * lyxfunc.C:
11181         * BufferView.h:
11182         * BufferView.C: use repaint()
11183
11184         * BufferView_pimpl.h:
11185         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11186           as it's a clearer description. Remove superfluous
11187           redraws.
11188
11189 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * text.C: fix bug 488. Not ideal, but getting
11192           getWord() to work properly for the insets that
11193           matter is more difficult ...
11194
11195 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11196
11197         * BufferView_pimpl.C:
11198         * LyXAction.C:
11199         * commandtags.h:
11200         * lyxfunc.C: remove the six million index lyxfuncs to just
11201           one, and DTRT (bug 458)
11202
11203 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11204
11205         * BufferView.h:
11206         * BufferView.C:
11207         * BufferView_pimpl.h:
11208         * BufferView_pimpl.C: clean up resize() stuff,
11209           and unnecessary updateScreen()s
11210
11211 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * BufferView.h:
11214         * BufferView.C:
11215         * BufferView_pimpl.h:
11216         * BufferView_pimpl.C:
11217         * lyxfind.h:
11218         * lyxfind.C:
11219         * minibuffer.C: remove focus management of workarea,
11220           not needed. Use screen's greyOut()
11221
11222 2002-06-17  Herbert Voss  <voss@lyx.org>
11223
11224         * converter.C: (convert) do not post a message, when converting
11225         fails, let the calling function decide what to do in this case
11226
11227 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * lyxfunc.C: tidy up a little
11230
11231 2002-06-16    <alstrup@diku.dk>
11232
11233         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11234         Got rid of FORMS_H_LOCATION include. Now we are
11235         GUII.
11236
11237 2002-06-15  LyX Development team  <lyx@rilke>
11238
11239         * buffer.[Ch] (sgmlOpenTag):
11240         (sgmlCloseTag): Added support for avoiding pernicious mixed
11241         content. Return number of lines written.
11242
11243         (makeLinuxDocFile):
11244         (makeDocBookFile): Fixed calls to sgml*Tag.
11245         Simple white space clean.
11246
11247         (simpleDocBookOnePar): Simple white space clean.
11248
11249         * tabular.[Ch] (docBook): Renamed to docbook and got another
11250         argument to related with the pernicious mixed content.
11251
11252         (docbookRow): Fixed calls for docbook inset method.
11253
11254 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11255
11256         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11257         so it's X11 independent.
11258
11259         * kb*.[Ch]: ditto.
11260
11261         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11262
11263 2002-06-15  Lyx Development team  <lyx@electronia>
11264
11265         * intl.h: Renamed getTrans to getTransManager.
11266
11267 2002-06-14  Angus Leeming  <leeming@lyx.org>
11268
11269         * Makefile.am: nuke forgotten stl_string_fwd.h.
11270
11271 2002-06-12  Angus Leeming  <leeming@lyx.org>
11272
11273         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11274
11275 2002-06-13  Angus Leeming  <leeming@lyx.org>
11276
11277         * LaTeX.C:
11278         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11279
11280 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11281
11282         * kbmap.C (getiso): add support for cyrillic and greek
11283
11284 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * BufferView.h:
11287         * BufferView.C:
11288         * BufferView_pimpl.h:
11289         * BufferView_pimpl.C: move bogus scrolling logic
11290           to xforms
11291
11292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * lyxfunc.C:
11295         * BufferView_pimpl.C: view->resize() change
11296
11297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * BufferView_pimpl.C: topCursorVisible
11300           prototype change
11301
11302 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11303
11304         * Makefile.am:
11305         * lyx_gui.h:
11306         * lyx_gui.C: move to frontends/
11307
11308         * main.C:
11309         * lyx_main.h:
11310         * lyx_main.C: changes from above
11311
11312 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * intl.C:
11315         * intl.h:
11316         * kbmap.C:
11317         * kbsequence.C:
11318         * lyx_cb.C:
11319         * lyx_main.C: minor tidy
11320
11321 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * BufferView_pimpl.h:
11324         * BufferView_pimpl.C:
11325         * BufferView.h:
11326         * BufferView.C: make painter() const,
11327           remove dead code
11328
11329         * BufferView2.C: use screen() accessor
11330
11331         * lyx_main.h:
11332         * lyx_main.C: some minor cleanup
11333
11334 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * BufferView_pimpl.h:
11337         * BufferView_pimpl.C: remove enter/leaveView,
11338           use workHeight()
11339
11340 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * BufferView.h:
11343         * BufferView.C:
11344         * BufferView2.C:
11345         * BufferView_pimpl.h:
11346         * BufferView_pimpl.C: only construct screen once,
11347           rename
11348
11349         * lyxrc.C: remove pointless comment
11350
11351 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11352
11353         * BufferView.h:
11354         * BufferView.C: remove active() and belowMouse()
11355
11356         * BufferView_pimpl.h:
11357         * BufferView_pimpl.C: use workarea() not workarea_,
11358           and make it use a scoped_ptr instead
11359
11360 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * lyx_gui.C: add debug message on BadWindow
11363
11364 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * sp_spell.C: fdopen is not part of the C++ standard.
11367
11368         * paragraph.C (InsetIterator): use >= instead of ==
11369
11370 2002-06-07  Angus Leeming  <leeming@lyx.org>
11371
11372         Fixes needed to compile with Compaq cxx 6.5.
11373         * BufferView_pimpl.C:
11374         * DepTable.C:
11375         * buffer.C:
11376         * converter.C:
11377         * encoding.C:
11378         * lyx_gui.C:
11379         * lyx_main.C:
11380         * lyxtextclasslist.C:
11381         * minibuffer.C:
11382         * sp_spell.C:
11383         * tabular_funcs.C:
11384         * vc-backend.C:
11385         all c-library variables have been moved into namespace std. Wrap
11386         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11387
11388         * lyxlength.C:
11389         * tabular-old.C:
11390         * tabular.C:
11391         Add a using std::abs declaration.
11392
11393         * kbmap.h (modifier_pair):
11394         * paragraph.h (InsetTable, InsetList):
11395         * lyxfont.h (FontBits):
11396         type definition made public.
11397
11398         * bufferlist.C (emergencyWriteAll): the compiler complains that
11399         there is more than one possible lyx::class_fun template to choose from.
11400         I re-named the void specialisation as lyx::void_class_fun.
11401
11402         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11403
11404         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11405         the compiler is is unable to find tostr in write_attribute.
11406
11407 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * buffer.C (sgmlError): hide #warning
11410
11411 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * xtl/*: get rid of xtl, which is not in use anyway
11414
11415         * LyXAction.C (init):
11416         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11417         were unimplemented xtl experimentation
11418
11419 2002-06-04  André Pönitz <poenitz@gmx.net>
11420
11421         * lyxfunc.C: disable array operation on simple formulae
11422
11423 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11424
11425         * converter.C: constify a bit
11426
11427 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * lyx_gui.C: check xforms version correctly
11430
11431 2002-04-30  Herbert Voss  <voss@lyx.org>
11432
11433         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11434         "keep" option
11435
11436 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11439           attempt to register it with a VCS)
11440
11441 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11442
11443         * lyx_main.C (init): honor variables LYX_DIR_13x and
11444         LYX_USERDIR_13x
11445
11446 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * buffer.h:
11449         * buffer.C:
11450         * lyx_main.C: fix a crash on bad command line,
11451           and give a useful exit status on error
11452
11453         * lyxfunc.C (doImport): allow -i lyx to work
11454
11455 2002-03-30  André Pönitz <poenitz@gmx.net>
11456
11457         * lyxfunc.C: mathed font changes
11458
11459 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * LaTeX.C:
11462         * importer.h:
11463         * importer.C:
11464         * lyx_sty.h:
11465         * lyx_sty.C:
11466         * lyxlex.C:
11467         * lyxrow.h:
11468         * lyxtext.h:
11469         * paragraph.h:
11470         * paragraph.C:
11471         * texrow.h:
11472         * texrow.C:
11473         * text.C:
11474         * trans_mgr.h: srcdocs, and some minor cleanups
11475
11476 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477
11478         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11479         call getFont all the time)
11480
11481 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * switch from SigC signals to boost::signals
11484
11485 2002-05-29  André Pönitz <poenitz@gmx.net>
11486
11487         * paragraph_pimpl.C (getChar): don't call size() too often...
11488
11489 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * paragraph_pimpl.C (insertChar): do not try to update tables when
11492         appending (pos == size())
11493
11494         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11495         in order to reduce drastically the number of comparisons needed to
11496         parse a large document
11497
11498 2002-05-29  André Pönitz <poenitz@gmx.net>
11499
11500         * text.C:
11501         * text2.C:
11502         * lyxtextclass.C:
11503         * sp_pspell.h:
11504         * textclasslist.[Ch]:
11505         * sp_ispell.h: whitespace change
11506
11507 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11508
11509         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11510         lyxaction directly now.
11511
11512 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * trans.C:
11515         * lyxfont.C:
11516         * lyxvc.C: remove unused headers
11517
11518 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * Makefile.am:
11521         * buffer.h:
11522         * undostack.h:
11523         * undostack.C:
11524         * undo_funcs.h:
11525         * undo_funcs.C: some cleanups. Use shared_ptr
11526           and a template for the undo stacks.
11527
11528 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * BufferView_pimpl.h:
11531         * BufferView_pimpl.C:
11532         * kbmap.h:
11533         * kbmap.C:
11534         * kbsequence.h:
11535         * kbsequence.C:
11536         * lyxfunc.h:
11537         * lyxfunc.C:
11538         * text2.C: use key_state/mouse_state
11539
11540 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11541
11542         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11543         and LSubstring
11544
11545         * chset.C: change include order
11546         (loadFile): use boost regex and get rid of LRegex and LSubstring
11547
11548         * Makefile.am (BOOST_LIBS): new variable
11549         (lyx_LDADD): use it
11550
11551         * LaTeX.C: change include order.
11552         (scanAuxFile): use boost regex and get rid of LRegex and
11553         LSubstring
11554         (deplog): ditto
11555
11556 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * ColorHandler.h:
11559         * ColorHandler.C:
11560         * FontInfo.h:
11561         * FontInfo.C: moved to frontends/xforms/
11562
11563         * FontLoader.h:
11564         * FontLoader.C: moved into frontends for GUIIzation
11565
11566         * Makefile.am:
11567         * lyx_gui.C:
11568         * lyxfont.C:
11569         * lyxfunc.C: changes from above
11570
11571 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * LColor.C: remove spurious X include
11574
11575         * BufferView_pimpl.C:
11576         * Makefile.am:
11577         * font.h:
11578         * font.C:
11579         * text.C:
11580         * text2.C: move font metrics to frontends/
11581
11582 2002-05-24  Juergen Vigna  <jug@sad.it>
11583
11584         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11585         setting the undo_cursor.
11586
11587         * ParagraphParameters.h: include local includes first.
11588
11589 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * BufferView_pimpl.C:
11592         * BufferView_pimpl.h:
11593         * Makefile.am:
11594         * WorkArea.h:
11595         * WorkArea.C:
11596         * screen.C: move WorkArea into frontends/
11597
11598         * lyxscreen.h:
11599         * screen.C:
11600         * text.C:
11601         * BufferView.C:
11602         * BufferView2.C: move LyXScreen into frontends/
11603
11604         * lyxlookup.h:
11605         * lyxlookup.C:
11606         * lyx_gui.C: move lyxlookup into frontends/xforms/
11607
11608 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * BufferView2.C:
11611         * BufferView_pimpl.C:
11612         * FontLoader.C:
11613         * LyXView.h:
11614         * LyXView.C:
11615         * Makefile.am:
11616         * WorkArea.C:
11617         * XFormsView.h:
11618         * XFormsView.C:
11619         * buffer.C:
11620         * bufferlist.C:
11621         * bufferview_funcs.C:
11622         * converter.C:
11623         * importer.C:
11624         * lyx_cb.C:
11625         * lyx_gui.C:
11626         * lyx_main.C:
11627         * lyx_find.C:
11628         * lyxfunc.C:
11629         * lyxvc.C:
11630         * minibuffer.C:
11631         * text.C:
11632         * text2.C:
11633         * trans.C:
11634         * vc-backend.C: move LyX/XFormsView into frontends/
11635
11636 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * Makefile.am:
11639         * PainterBase.C:
11640         * PainterBase.h:
11641         * Painter.C:
11642         * Painter.h:
11643         * WorkArea.C:
11644         * WorkArea.h:
11645         * screen.C:
11646         * tabular.C:
11647         * text.C:
11648         * text2.C: move Painter to frontends/
11649
11650 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * buffer.C: comment out some some code that depend upon lyx_format
11653         < 220
11654
11655         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11656         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11657
11658         * buffer.h (NO_COMPABILITY): turn off compability
11659
11660         * ColorHandler.C: include scoped_array.hpp
11661
11662         * font.C: Use more specific smart_ptr header.
11663         * Painter.C: ditto
11664         * gettext.C: ditto
11665         * ShareContainer.h: ditto
11666         * lyx_main.h: ditto
11667         * kbmap.h: ditto
11668         * FontInfo.h: ditto
11669         * BufferView_pimpl.h: ditto
11670         * ColorHandler.h: ditto
11671
11672         * kbmap.C (defkey): change call to shared_ptr::reset
11673
11674 2002-05-21  Juergen Vigna  <jug@sad.it>
11675
11676         * buffer.C (insertErtContents): fix to insert ert asis if it is
11677         non empty. Skip it completely if it contains only whitespaces.
11678
11679 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * BufferView_pimpl.C:
11682         * BufferView2.C: clear selection on paste (bug 393)
11683
11684 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11685
11686         * DepTable.C: include ctime
11687
11688 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11689
11690         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11691
11692 2002-05-14  Juergen Vigna  <jug@sad.it>
11693
11694         * text.C (breakParagraph): fixed function to honor the keepempty
11695         layout in the right maner and also to permit the right breaking
11696         algorithm on empty or non empyt keepempty paragraphs.
11697
11698         * paragraph.C (breakParagraph): we have to check also if the par
11699         is really empty (!size()) for isempty otherwise we do the wrong
11700         paragraph break.
11701
11702 2002-05-10  Juergen Vigna  <jug@sad.it>
11703
11704         * buffer.[Ch] : The following are only changes to the ert
11705         compatibility read reading old LaTeX layout and font stuff and
11706         convert it to ERTInsets.
11707
11708         * buffer.h: added isErtInset().
11709
11710         * buffer.C (struct ErtComp): add a fromlayout bool to check
11711         if we're inside a LaTeX layout.
11712         (isErtInset): new helper function.
11713         (insertErtContents): look for other ert insets before this one
11714         and insert the contents there, so that we don't have subsequent
11715         ERT insets with nothing between them. This way we create only one
11716         inset with multiple paragraphs. Also check if we don't insert only
11717         spaces ' ' as they are ignored anyway afterwards in the .tex file
11718         so if we have only spaces we will ignore this latex part in the
11719         new file.
11720         (parseSingleLyXformat2Token \\layout): better compatibility when
11721         reading layout-latex stuff.
11722         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11723         language tag.
11724         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11725         stuff after reading the inset only get the information back from
11726         the stack.
11727
11728 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11729
11730         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11731
11732         * LaTeXFeatures.C (getBabelOptions): New method.
11733
11734 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11735
11736         * BufferView_pimpl.C (Dispatch): work around missing argument for
11737         'layout'
11738
11739 2002-05-08  Juergen Vigna  <jug@sad.it>
11740
11741         * text.C (leftMargin): handle paragraph leftindent.
11742
11743         * paragraph.C (writeFile): write the new \\leftindent tag.
11744         (validate): handle leftindent code.
11745         (TeXEnvironment): handle paragraphleftindent code again.
11746
11747         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11748
11749         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11750         for paragrap_extra indent code and new token \\leftindent.
11751         (latexParagraphs): handle the leftindent as environment.
11752
11753         * ParameterStruct.h: added leftindent support.
11754
11755         * ParagraphParameters.C (leftIndent): added support functions for
11756         the paragraph left indent.
11757
11758         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11759         more appropriate.
11760
11761 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11762
11763         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11764         inside insetERT.
11765
11766         * text.C (computeBidiTables): No bidi in insetERT.
11767
11768         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11769         in RTL documents.
11770
11771 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * version.C.in: pre 5
11774
11775 2002-05-02  José Matos  <jamatos@fep.up.pt>
11776         * buffer.C (makeDocBookFile): white space changes, add newline to
11777         command styles.
11778         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11779
11780         * tabular.C (docBook): fix typo.
11781
11782 2002-05-03  Juergen Vigna  <jug@sad.it>
11783
11784         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11785         change in LyXText as we can not be sure it was not freed.
11786         (drawOneRow): remove unused code.
11787
11788         * text.C (drawInset): redo the calculation of the need_break_row as
11789         it could have a row which was already freed.
11790         (draw): look at the return value of drawInset and return false if
11791         it also returned false.
11792         (paintRowText): look at the return value of draw and return false if
11793         it also returned false.
11794
11795         * lyxtext.h: added bool return type to drawInset() and draw() so that
11796         if we have a change in the row so that the rowbreak has to be redone
11797         we abort drawing as it will be called again.
11798
11799 2002-05-02  Juergen Vigna  <jug@sad.it>
11800
11801         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11802         a change in the maintext also if we're inside an inset.
11803         (Dispatch): set the cursor again after a break line and after the
11804         screen has been updated as it could be we're in a different row.
11805
11806         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11807         to set the cursor behind the pargraph with > size().
11808         (setCursor): check also for the same paragraph when checking where
11809         to put the cursor if we have a NFR inset.
11810
11811         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11812         parts of layout read further up as it still was in the wrong
11813         position.
11814
11815 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * screen.C (drawFromTo): change sine fullRebreak always return
11818         true.
11819
11820         * buffer.C (parseSingleLyXformat2Token): reindent some
11821
11822         * BufferView_pimpl.C (update): change since fullRebreak always
11823         return true.
11824         (Dispatch): git rid of the last hardcoded "Standard"s.
11825
11826 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11827
11828         * text2.[Ch] (fullRebreak): make it return void now that we always
11829         returned true.
11830
11831 2002-04-30  Juergen Vigna  <jug@sad.it>
11832
11833         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11834         ert compatibility check for "latex" layout.
11835
11836 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11837
11838         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11839         minipages: use col% instead of p%, and also use the current font.
11840         (makeLaTeXFile): Fix use babel condition.
11841         (parseSingleLyXformat2Token): Correct font when reading old floats.
11842
11843 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11844
11845         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11846         inserting list of floats.
11847
11848 2002-04-25  Herbert Voss  <voss@lyx.org>
11849
11850         * MenuBackend.C (expand): don't add the graphics extensions to the
11851         export menu
11852
11853 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11856         non-existing layout, do not complain if it was the default layout
11857         of the original class (bug #342)
11858
11859 2002-04-24  Juergen Vigna  <jug@sad.it>
11860
11861         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11862         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11863
11864 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * buffer.C (getBibkeyList): If using \bibliography, return the
11867         option field with the reference itself. Enables us to provide natbib
11868         support when using \bibliography.
11869
11870 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11871
11872         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11873
11874         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11875         natbib is provided by the LaTeX class.
11876
11877 2002-04-23  Juergen Vigna  <jug@sad.it>
11878
11879         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11880         Wakeup functions.
11881
11882         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11883
11884 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11885
11886         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11887
11888         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11889         ensuremath around textordmasculine, textordfeminine and
11890         textdegree.
11891
11892 2002-04-19  Juergen Vigna  <jug@sad.it>
11893
11894         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11895         reinitializing the buffer otherwise row-dimensions may be wrong.
11896         (update): reset also the selection cursors if they do exits otherwise
11897         their x/y positions may be wrong.
11898
11899         * text2.C (cursorDown): don't enter the inset if we came from a row
11900         above and are one row over the inset.
11901
11902         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11903         really leaving an inset.
11904
11905 2002-04-18  Juergen Vigna  <jug@sad.it>
11906
11907         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11908         of the selected paragraph does not have the selected layout also if
11909         the last one had!
11910
11911         * text2.C (setLayout): fixed bug which did not change last selected
11912         paragraph.
11913
11914         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11915         changed the read and substituted \\end_float with \\end_inset!
11916
11917         * BufferView_pimpl.C (cursorPrevious):
11918         (cursorNext): fixed to make it work with rows heigher than the work
11919         area without moving the cursor only the draw of the row.
11920         (workAreaMotionNotify): fix jumping over high rows.
11921
11922 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11925         Ressler.
11926
11927 2002-04-16  Juergen Vigna  <jug@sad.it>
11928
11929         * text2.C (setCursor): set also the irow().
11930         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11931         (cursorUp):
11932         (cursorDown): support for locking an inset if the x_fix value goes
11933         inside it. That way I can transverse insets too with cursor up/down.
11934
11935         * lyxrow.h: added irow helper function same as other (i) functions.
11936
11937         * BufferView_pimpl.C (cursorPrevious):
11938         (cursorNext): fixed for insets!
11939
11940 2002-04-15  Juergen Vigna  <jug@sad.it>
11941
11942         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11943         position otherwise it is wrong in some cases.
11944
11945         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11946         inside the inset before the call.
11947
11948 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11949
11950         * buffer.[Ch] (getBibkeyList): make it const.
11951
11952 2002-04-12  Juergen Vigna  <jug@sad.it>
11953
11954         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11955
11956         * text2.C (getCursorX): new helper function
11957         (setCursor): compute also ix_
11958         (setCursorFromCoordinates): set also ix.
11959
11960         * lyxcursor.h: added ix_ and helper functions.
11961
11962         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11963
11964         * buffer.C (insertStringAsLines): dont break paragraph if the this
11965         paragraph is inside an inset which does not permit it!
11966
11967         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11968         also with no chars on this paragraph.
11969         (paintRowText): only paint stuff if it's inside the workarea!
11970
11971         * paragraph.C (breakParagraph): honor keepempty flag and break the
11972         paragraph always below not above.
11973
11974         * BufferView2.C (unlockInset): update the paragraph layout on inset
11975         unlock as we changed paragraph in such a case.
11976
11977         * lyxfind.C (LyXFind): clear the former selection if not found!
11978
11979         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11980         again called in insertChar().
11981
11982         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11983         an inset which uses the whole row!
11984         (rightMargin): ditto.
11985         (insertChar): force a rebreak if we inserted an inset!
11986
11987 2002-03-28  Herbert Voss  <voss@lyx.org>
11988
11989         * lyxlength.[Ch]: add inBP() to get the right PS-point
11990         units (BigPoint). With inPixels we have rounding errors
11991
11992 2002-04-11  Juergen Vigna  <jug@sad.it>
11993
11994         * text2.C (setCursorFromCoordinates): set iy to the right value.
11995         (setCursor): add check if row->previous exists!
11996
11997         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11998         an old float_type as this was the case in the old code!
11999
12000         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12001
12002         * BufferView2.C (showLockedInsetCursor): use iy
12003         (fitLockedInsetCursor): ditto
12004
12005         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12006         locked insets as there we have the right value now.
12007
12008         * lyxcursor.C: added iy_ variable and iy functions to set to the
12009         baseline of cursor-y of the locked inset.
12010
12011         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12012         (setCursor): fixed for insets which need a full row.
12013
12014         * text.C (rowLastPrintable): don't ignore the last space when before
12015         an inset which needs a full row.
12016         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12017         as last character of a row when before a inset which needs a full row.
12018
12019 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * version.C.in: update date
12022
12023         * text2.C (fullRebreak): try to always return true and see what
12024         happens...
12025
12026 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * MenuBackend.C (expand): use Floating::listName
12029
12030         * FloatList.C (FloatList): add listName argument to the built-in
12031         floats
12032
12033         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12034         text associated with the float.
12035
12036 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12039
12040 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * ShareContainer.h: add a couple of missing typenames.
12043
12044 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * lyxrc.C (getDescription): use _() correctly rather than N_().
12047
12048 2002-03-28  Herbert Voss  <voss@lyx.org>
12049
12050         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12051         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12052
12053 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12054
12055         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12056         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12057
12058 2002-03-29  Juergen Vigna  <jug@sad.it>
12059
12060         * lyxfunc.C (dispatch): add a missing fitCursor call.
12061
12062         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12063         it was scrolled by a cursor move, so return the bool status.
12064
12065         * BufferView.C (fitCursor): return the bool flag also to the outside
12066         world as this is needed.
12067
12068         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12069
12070         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12071         call the edit() as it is not needed (and wrong) IMO.
12072         (workAreaButtonPress): set the screen_first variable before evt.
12073         unlock the inset as this may change screen_first and then we have
12074         a wrong y position for the click!
12075
12076 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12077
12078         * MenuBackend.C (expand): another translation that I missed
12079
12080 2002-03-28  Juergen Vigna  <jug@sad.it>
12081
12082         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12083
12084         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12085
12086 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12087
12088         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12089
12090         * MenuBackend.C (expand): fix export/view/update when there is no
12091         document open.
12092
12093 2002-03-27  Herbert Voss  <voss@lyx.org>
12094
12095         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12096         and text%
12097
12098 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * bufferview_funcs.C (currentState): only show paragraph number
12101         for is DEVEL_VERSION is set.
12102
12103         * lyxfunc.C (dispatch): put warning in INFO channel
12104
12105         * MenuBackend.C (expand): translate the name of floats
12106
12107         * FloatList.C (FloatList): mark the float names for translation
12108
12109         * converter.C (convert): use LibScriptSearch
12110
12111 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12112
12113         * MenuBackend.C (defaults): fix default menu (we might as well get
12114         rid of it...)
12115
12116 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12119         directory.
12120
12121 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * lyxvc.C: reorder includes.
12124
12125 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12128           properly
12129
12130 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * CutAndPaste.C: change layouts earlier on paste
12133           to avoid crashing when calling getFont()
12134
12135 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12136
12137         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12138         irritating #error.
12139
12140 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12141
12142         * WorkArea.C: remove 'Pending' debug message.
12143
12144         * most files: ws cleanup
12145
12146         * buffer.[Ch]: ws changes
12147
12148         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12149
12150 2002-03-21  Juergen Vigna  <jug@sad.it>
12151
12152         * tabular.C (SetMultiColumn): collapse also the contents of the
12153         cells and set the last border right. Added a Buffer const * param.
12154
12155 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12158         linking or not.
12159
12160 2002-03-19  Juergen Vigna  <jug@sad.it>
12161
12162         * text2.C (clearSelection): reset also xsel_cache.
12163
12164         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12165         where it needs to be called (John tells us to do so too :)
12166         (selectionLost): reset sel_cache.
12167
12168         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12169
12170 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12171
12172         * text2.C (setCursorIntern): put debuging code in INSETS channel
12173
12174 2002-03-19  André Pönitz <poenitz@gmx.net>
12175
12176         * lyxfunc.C: tiny whitespace change
12177
12178 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12179
12180         * ToolbarDefaults.C (init):
12181         * LyXAction.C (init):
12182         * commandtags.h:
12183         * BufferView_pimpl.C (Dispatch):
12184         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12185
12186 2002-03-19  Allan Rae  <rae@lyx.org>
12187
12188         * exporter.C (Export): removeAutoInsets before doing anything else.
12189         While I've just introduced a dependency on BufferView this really is
12190         the best place to clean the buffer otherwise you need to cleanup in
12191         a dozen places before calling export or cleanup in a dozen functions
12192         that export calls.
12193
12194         * converter.C (runLaTeX):
12195         (scanLog): Better handling of removeAutoInsets and screen updates.
12196
12197         * lyxfunc.C (dispatch): small whitespace changes
12198
12199 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12200
12201         * WorkArea.C (C_WorkAreaEvent): return a value.
12202         (event_cb): return 1 if we handled the event, 0 otherwise.
12203
12204         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12205
12206 2002-03-18  Juergen Vigna  <jug@sad.it>
12207
12208         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12209         (GetAdditionalWidth): ditto.
12210         (RightLine): ditto.
12211         (LeftLine): ditto.
12212
12213         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12214         inset if we're there actually (probably not used right now but this
12215         is the direction to go for unifying code).
12216         (paste): disable code to clear the selection.
12217
12218         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12219         inside an InsetText and move the check further up as it is in the
12220         wrong place.
12221
12222         * text2.C (pasteSelection): set a selection over the pasted text.
12223
12224 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12225
12226         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12227         and libgraphics to build on Cygwin.
12228
12229 2002-03-15  Juergen Vigna  <jug@sad.it>
12230
12231         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12232         inserting an Inset into the paragraph. I know this is not the best
12233         fix but we already use current_view in CutAndPaste so we will remove
12234         all of it's using at the same time.
12235
12236         * buffer.C (sgmlError): deactivated function till it is rewritten in
12237         the right mode, now it can create problems.
12238
12239         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12240         before accessing it.
12241
12242 2002-03-14  Juergen Vigna  <jug@sad.it>
12243
12244         * undo_funcs.C (textHandleUndo): do the right thing when updating
12245         the inset after the undo/redo.
12246
12247         * text2.C (setCursor): just some testcode for #44 not ready yet.
12248
12249         * undo_funcs.C (textHandleUndo): set the next() and previous()
12250         pointers of the paragraph to 0 before deleting otherwise we have
12251         problems with the Paragraph::[destructor].
12252
12253         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12254         on a paragraph insertion.
12255
12256 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12257
12258         * buffer.C (asciiParagraph): use += operator for char append to
12259         string.
12260
12261         * paragraph.C (getFontSettings): compare >= not just >
12262         (highestFontInRange): ditto
12263         (setFont): ditto
12264
12265 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * paragraph.C: change several algorithm to be more appripriate for
12268         the problem domain. This is lookip in FontList and in the InsetList.
12269
12270 2002-03-13  André Pönitz <poenitz@gmx.net>
12271
12272         * commandtags.h:
12273         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12274
12275 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * commandtags.h:
12278         * LyXAction.C:
12279         * lyxfunc.C:
12280         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12281
12282 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * Painter.C (display): anon helper function, adjust code for this
12285         change.
12286         (pixmap): remove function.
12287
12288         * Painter.h: remove private display variable.
12289
12290         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12291
12292 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * WorkArea.[Ch]: remove figinset_canvas cruft.
12295
12296 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12297
12298         * lyxtextclass.C (operator): add one item cache optimization.
12299
12300         * bufferlist.h: doxy changes
12301
12302         * bufferlist.C: ws changes
12303
12304         * DepTable.[Ch] (ext_exist): place const in the right spot.
12305
12306         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12307         call resizeInsets.
12308         (workAreaExpose): call resizeInsets when the with BufferView changes.
12309         (Dispatch): adjust for protectedBlank removal
12310         (specialChar): call updateInset if the insert went ok.
12311
12312         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12313         specialChar instead.
12314
12315         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12316
12317         * BufferView.h: doxy change
12318
12319         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12320
12321         * lyxtextclass.C (operator[]): remove non-const version
12322         (defaultLayout): remove non-const version
12323
12324 2002-03-12  Juergen Vigna  <jug@sad.it>
12325
12326         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12327         did resize the LyXText too.
12328
12329         * buffer.C (readLyXformat2): set layout information on newly allocated
12330         paragraphs.
12331
12332         * tabular.C (OldFormatRead): set layout information on the paragraph.
12333
12334 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12335
12336         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12337
12338 2002-03-11  Juergen Vigna  <jug@sad.it>
12339
12340         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12341         plainly wrong.
12342         (resizeCurrentBuffer): force also the insets to resize themselfes.
12343         (moveCursorUpdate): fixed up for InsetText.
12344
12345 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12346
12347         * commandtags.h:
12348         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12349         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12350         value of Dialogs::tooltipsEnabled().
12351         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12352
12353 2002-03-08  Juergen Vigna  <jug@sad.it>
12354
12355         * BufferView_pimpl.C (updateInset): update inset inside inset also
12356         if it isn't inside theLockingInset().
12357
12358 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12359
12360         * buffer.C (asciiParagraph): redo some of the word and line length
12361         handling.
12362         (getLists): look for Caption instead of caption.
12363
12364 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12365
12366         * buffer.C (Buffer): initialize niceFile to true
12367         (makeLaTeXFile):
12368         (makeLinuxDocFile):
12369         (makeDocBookFile): make sure niceFile is true on exit
12370
12371 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12372
12373         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12374
12375 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12376
12377         * LyXSendto.C: remove.
12378         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12379         * lyx_gui.C: remove now-redundant comment.
12380         * ColorHandler.h: remove forward declaration of class WorkArea.
12381         * lyxfunc.C: remove #include "WorkArea.h".
12382
12383 2002-03-07  Juergen Vigna  <jug@sad.it>
12384
12385         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12386         got moved away with the DEPM and also set the inset_owner always
12387         right which before could have been omitted.
12388
12389 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12390
12391         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12392         wanted layout is not found.
12393
12394 2002-03-07  Juergen Vigna  <jug@sad.it>
12395
12396         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12397
12398 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12399
12400         * paragraph.C (breakParagraph): use default layout not layout of
12401         prev paragraph.
12402         (Paragraph): clear ParagraphParameters.
12403
12404 2002-03-06  Juergen Vigna  <jug@sad.it>
12405
12406         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12407         otherwise it would not be a valid lenght. Fixed a special case in
12408         the minipage compatibility read where we end the document with a
12409         minipage.
12410
12411         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12412         was set as it could be 0 for InsetTexts first entry.
12413
12414 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12415
12416         * paragraph.C (writeFile): if layout is empty write out
12417         defaultLayoutName().
12418
12419         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12420         file without named layout we set layout to defaultLayoutName().
12421
12422 2002-03-06  Juergen Vigna  <jug@sad.it>
12423
12424         * CutAndPaste.C (copySelection): set layout for new paragraph.
12425
12426         * text.C (prepareToPrint): leave ERT inset left aligned
12427         (leftMargin): don't indent paragraphs inside ERT insets
12428
12429 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12430
12431         * paragraph.C (breakParagraph): dont call clear do the work manually
12432
12433         * paragraph.[Ch] (clear): remove function
12434
12435 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * paragraph.C (Paragraph): dont call clear, the work has already
12438         been done.
12439
12440         * lyxtextclass.C (operator): assert if n is empty
12441
12442         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12443         work manually instead.
12444
12445 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * BufferView_pimpl.C: protect selectionLost against text == 0
12448
12449 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12450
12451         * text.C (breakParagraph): fix a setting layout to '0' problem.
12452
12453 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12454
12455         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12456         final location of file, for the included files, and graphics.
12457
12458 2002-03-05  Juergen Vigna  <jug@sad.it>
12459
12460         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12461
12462 2002-03-04  Juergen Vigna  <jug@sad.it>
12463
12464         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12465
12466         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12467         last column of multicolumn cells.
12468         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12469
12470 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12471
12472         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12473         file if it doesn't go to a temporary file.
12474
12475         * buffer.C (sgmlOpenTag):
12476         (sgmlCloseTag):  remove extra newline insertion.
12477
12478 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12479
12480         * text.C (getRowNearY): comment out debug msg
12481
12482 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * text2.C: first -> first_y
12485
12486         * text.C (getRowNearY): add some attemts at a possible
12487         optimization, not working.
12488
12489         * tabular.[Ch]: add BufferParams to several function so that newly
12490         created paragraph can be initialized to he default layotu for the
12491         buffers textclass.
12492
12493         * tabular-old.C (ReadOld): add buf->params to call of Init
12494
12495         * screen.C: rename text->first to text->first_y
12496
12497         * paragraph.C (breakParagraph): always set layout in the broken
12498         paragraph
12499
12500         * lyxtextclass.C (Read): remove lowercase
12501         (hasLayout): ditto
12502         (operator): ditto
12503         (delete_layout): ditto
12504
12505         * lyxtext.h: rename first -> first_y
12506
12507         * lyxlayout.C (Read): remove lowercase
12508         (name): ditto
12509         (setName): ditto
12510         (obsoleted_by): ditto
12511
12512         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12513
12514         * buffer.C (insertErtContents): add params are to InsetERT
12515         (parseSingleLyXformat2Token): add code to check if a paragraphs
12516         layout really exist.
12517         (parseSingleLyXformat2Token): add params to several inset
12518         constructors
12519         (asciiParagraph): remove lowercase, do the layout comparisons with
12520         no_case
12521
12522         * BufferView_pimpl.C (cursorNext): first -> first_y
12523         (resizeCurrentBuffer): first -> first_y
12524         (updateScrollbar): first -> first_y
12525         (scrollCB): first -> first_y
12526         (workAreaMotionNotify): first -> first_y
12527         (workAreaButtonPress): first -> first_y
12528         (checkInsetHit): first -> first_y
12529         (cursorPrevious): first -> first_y
12530         (cursorNext): first -> first_y
12531         (Dispatch): add buffer_->params to severl inset contructors
12532
12533 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * lyxlayout.C (Read): remove some debug info that I forgot.
12536
12537         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12538         clean up the code slightly.
12539         (makeLinuxDocFile): ditto
12540         (makeDocBookFile): ditto
12541
12542         * text2.C: layout as string
12543
12544         * text.C: layout as string
12545
12546         * paragraph_pimpl.C: layout as string
12547
12548         * paragraph.[Ch]: layout as string
12549
12550         * lyxtextclasslist.[Ch]: layout as string
12551
12552         * lyxtextclass.[Ch]: layout as string
12553
12554         * lyxtext.h: layout as string
12555
12556         * lyxlayout.[Ch]: layout as string
12557
12558         * lyx_cb.C: layout as string
12559
12560         * bufferview_funcs.C: layout as string
12561
12562         * bufferparams.C: layout as string
12563
12564         * buffer.C: layout as string
12565
12566         * LyXView.[Ch]: layout as string
12567
12568         * LaTeXFeatures.[Ch]: layout as string
12569
12570         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12571
12572         * BufferView_pimpl.C: change current_layout to string, remove
12573         lyx::layout_type.
12574         (Dispatch):
12575         (smartQuote):
12576         (insertInset):
12577         (workAreaButtonRelease): layout as string
12578
12579         * BufferView2.C (unlockInset): adjust
12580
12581         * vspace.C (asLatexCommand): use an explict temp variable.
12582
12583 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * Makefile.am: use FRONTEND_*
12586
12587 2002-03-01  Juergen Vigna  <jug@sad.it>
12588
12589         * tabular.C (SetWidthOfMulticolCell): changed to something better
12590         I hope but still work in progress.
12591         (recalculateMulticolumnsOfColumn): renamed function from
12592         recalculateMulticolCells as it is more appropriate now.
12593         (SetWidthOfCell): calculate multicols better.
12594
12595 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12596
12597         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12598
12599         * lyxfunc.C (processKeySym): print sequence also if it is
12600         `deleted' (complete)
12601
12602         * kbsequence.C (print): print sequence even if it is deleted
12603         (complete would be a better word, actually).
12604
12605         * lyxfunc.C (dispatch): print complete options after a prefix key
12606
12607         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12608
12609 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12610
12611         * text2.C (setCharFont): eliminate setCharFont code duplication.
12612
12613 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12614
12615         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12616         LFUN_TABULAR_FEATURE (bug #177)
12617
12618 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12619
12620         * Makefile.am: remove figure.h
12621
12622 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12623
12624         * Bufferview_pimpl.C:
12625         * CutAndPasteC:
12626         * LaTeX.C:
12627         * LyXSendto.C:
12628         * buffer.C:
12629         * bufferlist.C:
12630         * converter.C:
12631         * language.C:
12632         * lyxfunc.C:
12633         * lyxvc.C:
12634         * paragraph.C:
12635         * text.C:
12636         * text2.C: remove #include "lyx_gui_misc.h".
12637
12638         * LaTeX.C: added #include <cstdio>
12639
12640 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12641
12642         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12643         that the paragraph following this one can have.
12644
12645         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12646
12647         * vspace.C (asLatexCommand): fix bogus gcc warning
12648
12649         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12650
12651 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12652
12653         * text2.C (setLayout): get rid of redundant code
12654
12655 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12656
12657         * text2.C (incDepth): make sure depth cannot be increased beyond
12658         reasonable values.
12659
12660 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12661
12662         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12663         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12664
12665         * PainterBase.h (image):
12666         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12667         a LyXImage const *.
12668
12669 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12670
12671         * BufferView.C:
12672         * BufferView.h:
12673         * BufferView_pimpl.C:
12674         * BufferView_pimpl.h:
12675         * LaTeXFeatures.C:
12676         * LyXAction.C:
12677         * LyXView.C:
12678         * Makefile.am:
12679         * UpdateList.h:
12680         * UpdateList.C:
12681         * buffer.C:
12682         * figure.h:
12683         * figureForm.C:
12684         * figureForm.h:
12685         * figure_form.C:
12686         * figure_form.h:
12687         * lyx_cb.C:
12688         * lyx_gui.C:
12689         * lyx_gui_misc.C:
12690         * lyxfunc.C:
12691         * sp_base.h:
12692         * sp_ispell.h:
12693         * sp_pspell.h:
12694         * sp_spell.C: remove fig inset, and the crap house of
12695           cards that follows it
12696
12697 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * Makefile.am:
12700         * lyxserver.C:
12701         * os2_defines.h:
12702         * os2_errortable.h:
12703         * nt_defines.h: move .h into support/
12704
12705         * vms_defines.h: remove
12706
12707         * WorkArea.C: add space in debug output
12708
12709         * text2.C:
12710         * paragraph.C:
12711         * buffer.C: add WITH_WARNINGS
12712
12713         * vc-backend.h:
12714         * vc-backend.C:
12715         * bufferlist.C: s/retrive/retrieve/, add docs
12716
12717         * vspace.h:
12718         * vspace.C:
12719         * kbmap.h:
12720         * lyxlength.h:
12721         * lyxgluelength.h:
12722         * length_common.h:
12723         * chset.h:
12724         * chset.C: add docs
12725
12726         * lyxgui.C: add ID to X error handler
12727
12728         * lyxtestclass.c: fix typo
12729
12730 2002-02-26  Juergen Vigna  <jug@sad.it>
12731
12732         * tabular_funcs.C (write_attribute): changed so that some default
12733         attributes are not written at all.
12734         (getTokenValue): set default values before trying to read the
12735         value so we have the return value always set as default if we don't
12736         find the token we search for.
12737
12738         * tabular.C (Write): write bools as bools not as strings!
12739
12740 2002-02-22  Juergen Vigna  <jug@sad.it>
12741
12742         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12743         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12744
12745         * text.C (leftMargin): don't add an indent for paragraphs inside
12746         tabular cells (fix #208).
12747
12748 2002-02-21  José Matos  <jamatos@fep.up.pt>
12749
12750         * tabular.C (docBook): fixed support for long tables.
12751
12752 2002-02-20  Juergen Vigna  <jug@sad.it>
12753
12754         * text2.C (getFont): get the drawing font of the Inset if this
12755         paragraph is inside an inset (only important for InsetERT for now).
12756
12757         * buffer.C (insertErtContents): use new lanugage params in ERT
12758         constructor.
12759
12760         * CutAndPaste.C: commenting out seemingly uneeded code.
12761
12762 2002-02-19  Allan Rae  <rae@lyx.org>
12763
12764         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12765         Iterators might be simple to use but they also get invalidated.
12766         (removeAutoInsets): renamed saved cursor tracking variables and added
12767         some comments to clarify what everything does.
12768
12769 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12770
12771         * Chktex.C:
12772         * LaTeX.C:
12773         * LyXSendto.C:
12774         * converter.C:
12775         * lyx_cb.C:
12776         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12777         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12778
12779         * lyxfunc.C:
12780         * vc-backend.h: remove #include "support/syscall.h"
12781
12782         * LaTeX.C:
12783         * LyXSendto.C:
12784         * converter.C: rearrange #includes in Lars' approved fashion.
12785
12786         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12787         forward declare class Timeout in the header file.
12788
12789         * XFormsView.C: changes due to the above.
12790
12791         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12792         similar to LyXView.
12793
12794         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12795         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12796
12797 2002-02-18  José Matos  <jamatos@fep.up.pt>
12798
12799         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12800         insets contents.
12801
12802 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12803
12804         * a lot of small ws changes
12805         * add a lot of using std::XXX
12806         * use std construcs some places where approp.
12807         * use some exisint stuff from lyxfunctional where approp.
12808         * Make file changes to use partial linking (lets test this now...)
12809
12810 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12811
12812         * Chktex.C:
12813         * buffer.C:
12814         remove #include "support/syscontr.h" as it's redundant. Always has been.
12815
12816         * Chktex.C:
12817         * LaTeX.C:
12818         * LyXSendto.C:
12819         * converter.C:
12820         * lyx_cb.C:
12821         * vc-backend.C:
12822         change Systemcalls::System to Systemcalls::Wait and
12823         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12824         No change of functionality, just reflects the stripped down Systemcalls
12825         class.
12826
12827 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12828
12829         * debug.[Ch]: add a GRAPHICS type to the enum.
12830
12831 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12832
12833         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12834
12835         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12836         there is an inset.
12837
12838 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12839
12840         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12841         match the changes below.
12842
12843         * text2.C (toggleInset): if there is not editable inset at cursor
12844         position, try to see if cursor is _inside_ a collapsable inset
12845         and close it.
12846
12847 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12850         document menu has a nice checkbox
12851
12852 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12853
12854         * lyxlength.C (asLatexString): change PW to output as percent of
12855         \textwidth.
12856
12857         * lengthcommon.C: change '%' to 't%'
12858
12859         * lyxfunc.C (dispatch): a few comments from Martin
12860
12861 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * WorkArea.h:
12864         * WorkArea.C:
12865         * BufferView_pimpl.h:
12866         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12867           the X selection.
12868
12869 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12870
12871         * vspace.C (inPixels): fix compiler warning
12872
12873 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * lyxfunc.C (getStatus): fix status message for disabled commands.
12876
12877 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * BufferView_pimpl.C: fix crash on close buffer
12880         during selection (#227)
12881
12882 2002-01-27  Herbert Voss  <voss@lyx.org>
12883
12884         * buffer.C: link old Figure to new graphic inset
12885
12886 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12887
12888         * FontLoader.C (getFontinfo): Change the latex font names in order
12889         to match the names of type1inst.
12890
12891 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12894
12895         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12896         (extchanged): ditto
12897         (ext_exist): ditto
12898         (remove_files_with_extension): ditto
12899         (remove_file): ditto
12900         (write): ditto
12901
12902         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12903         document is smaller than the work area height. Do not initialize
12904         static variables to 0.
12905
12906 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12907
12908         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12909
12910         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12911         LFUN_LAYOUT_PARAGRAPHS.
12912
12913         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12914         tabular. It is possible to provide a possible cell, which will
12915         typically be the actcell from the corresponding insettabular
12916
12917         * lyxfunc.C (getStatus): small cleanup; disable
12918         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12919         true
12920
12921 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12922
12923         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12924
12925         * paragraph.C (startTeXParParams):
12926         (endTeXParParams): new methods. The LaTeX code to
12927         start/end paragraph formatting
12928         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12929         empty (fixes bug #200)
12930
12931         * vspace.C (inPixels): adapt to the change below
12932         (inPixels): [later] more cleanups (remove unused variables)
12933
12934         * lyxlength.C (inPixels): change to use a width and a height as
12935         parameter.
12936
12937 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12938
12939         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12940         Replaced with \paperwidth
12941
12942         * DepTable.C (insert): add std:: qualifier
12943
12944 2002-01-18  Allan Rae  <rae@lyx.org>
12945
12946         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12947         updated also?
12948
12949         * text.C (drawInset): Turned out I didn't know enough about how
12950         rebreaking worked.  This fixes most of the redraw problems.  I see
12951         an occasional cursor trail when a line is broken now and the cursor
12952         placement can seem out by a few pixels also after a rebreak.
12953
12954 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12955
12956         * buffer.C (parseSingleLyXformat2Token): update because minipage
12957         width is now a LyXLength
12958
12959         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12960
12961         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12962         math insets
12963
12964 2002-01-17  Juergen Vigna  <jug@sad.it>
12965
12966         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12967
12968         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12969         is set correctly and the inset is updated correctly.
12970
12971 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12972
12973         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12974         the beginning of the loop.
12975
12976 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12977
12978         * lyxrc.C: improve help for use_scalable_fonts
12979
12980 2002-01-17  Allan Rae  <rae@lyx.org>
12981
12982         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12983
12984 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12985
12986         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12987         make sure to set their inset_owner to the right value (bug #171)
12988
12989 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12990
12991         * DepTable.h
12992         * DepTable.C: Implement mtime checking to reduce time spent doing
12993         CRCs.
12994
12995 2002-01-16  Juergen Vigna  <jug@sad.it>
12996
12997         * tabular.C (GetAdditionalHeight): one of error fixed.
12998
12999         * lyxrc.C (output): small fix in writing use_pspell.
13000
13001 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13002
13003         * sp_base.h: #include LString.h
13004
13005 2002-01-16  Allan Rae  <rae@lyx.org>
13006
13007         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13008         Can someone check this please?
13009
13010         * text.C (drawInset): It was possible that p.row would be removed by
13011         breakAgainOneRow upsetting a few other settings.  There may be another
13012         small tweak possible by setting need_break_row = 0 when p.row has been
13013         removed but I don't know enough about the logic here.
13014
13015 2002-01-15  Allan Rae  <rae@lyx.org>
13016
13017         * text.C (insertChar): removed conditional truism.
13018
13019         * BufferView2.C (removeAutoInsets): More tweaks.
13020         cur_par_prev could be a stray pointer.  Check for trailing empty line
13021         in case last line was cur_par and only had an error inset on it.
13022
13023 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13024
13025         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13026         absolute
13027
13028         * vc-backend.C (most methods):
13029         * exporter.C (Export):
13030         * converter.C (convert):
13031         (runLaTeX):
13032         * LyXSendto.C (SendtoApplyCB):
13033         * lyxfunc.C (dispatch):
13034         (menuNew):
13035         (open):
13036         (doImport):
13037         * lyx_cb.C (AutoSave):
13038         (InsertAsciiFile):
13039         * BufferView_pimpl.C (MenuInsertLyXFile):
13040         * buffer.C (runChktex): use Buffer::filePath().
13041
13042         * buffer.h: rename filename to filename_; rename filepath to
13043         filepath_ and make it private
13044         (filePath): new method
13045
13046         * buffer.C (writeFile): use fileName()
13047         (getLatexName):
13048
13049         * lyx_main.C (init): fix starting  of LyX when the binary is a
13050         link from so,ewhere else.
13051
13052         * minibuffer.C: include <cctype> for isprint
13053
13054 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13055
13056         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13057         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13058         name clash with InsetCollapsable's width function.
13059
13060 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13061
13062         * lastfiles.C: include <iterator>
13063
13064 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13065
13066         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13067         std::count.
13068
13069         * buffer.C (makeLaTeXFile): ditto.
13070         Also make loop operation more transparent.
13071
13072 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * ToolbarDefaults.C: remove trailing comma closing namespace.
13075
13076         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13077
13078         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13079         as in WorkArea.
13080
13081         * trans.C (Load): comment out unused variable, allowed.
13082
13083 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13084
13085         * minibuffer.[Ch] (append_char): new method to recieve input from the
13086         drop-down completion browser. If a key was pressed, then recieve this
13087         char and append it to the existing string.
13088         (peek_event): modify the positioning data passed to the completion
13089         browser so that it can be placed above the minibuffer rather than below.
13090 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * LyXAction.C (init): alloe error-next for readonly documents.
13093
13094         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13095         count.
13096
13097 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13098
13099         * bufferlist.C (readFile): create the buffer _after_ checking that
13100         the file exists.
13101
13102         * lyxfunc.C (verboseDispatch): fix handling of arguments
13103
13104         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13105
13106         * lyxrc.C: use string::erase() instead of initializing to "".
13107
13108
13109 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13110
13111         * BufferView_pimpl.h:
13112         * BufferView_pimpl.C:
13113         * WorkArea.h:
13114         * WorkArea.C:
13115         * text2.C: tell X when we have made a selection for copying
13116
13117 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13118
13119         * BufferView_pimpl.C (MenuInsertLyXFile):
13120         * lyxfunc.C (menuNew):
13121         (open):
13122         (doImport): add shortcuts to directory buttons
13123
13124         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13125         open a float)
13126
13127         * lyxfunc.C (setStatusMessage):
13128         (getStatusMessage): new methods
13129         (getStatus):use setStatusMessage instead of setErrorMessage
13130         (dispatch): when function is disabled, set error message here
13131         [instead of in getStatus previously]
13132
13133         * BufferView_pimpl.C (workAreaButtonRelease): update
13134         toolbar/menubar here too.
13135
13136 2002-01-13  Allan Rae  <rae@lyx.org>
13137
13138         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13139         Now seems indestructible.  Remaining task is to audit all other
13140         code affected by deleteEmptyParagraphMechanism.  One small quirk
13141         left is that an empty document with an error in the preamble can
13142         be made to report an error but no error box appears.  I don't know
13143         where it goes.
13144         (removeAutoInsets): Improved comments.
13145
13146 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13147
13148         * Thesaurus.h:
13149         * Thesaurus.C: update for Aiksaurus 0.14
13150
13151 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * text2.C (firstParagraph): removed member function, all uses
13154         replaces with ownerParagraph
13155         (redoParagraphs): here
13156         (updateInset): here
13157         (toggleAppendix): here
13158         * BufferView2.C (insertErrors): here
13159         (setCursorFromRow): here
13160
13161 2002-01-13  Allan Rae  <rae@lyx.org>
13162
13163         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13164         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13165         There is still a way to segfault this although you may have to do this
13166         multiple times: Have an InsetERT with an unknown command in it.
13167         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13168         <down-arrow>, <Enter> again, View->DVI, BANG!
13169
13170         * text2.C (setCursor):
13171         (deleteEmptyParagraphMechanism):
13172         * lyxtext.h (setCursor):
13173         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13174         Making use of the return value may help fix other bugs.
13175
13176 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13179
13180         * LyXView.C (updateMenubar): call MenuBar::update here
13181         (updateToolbar): but not here
13182         (showState): do not update toolbar/menubar
13183
13184         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13185         should need to care about that.
13186
13187         * lyxfunc.C (verboseDispatch): simplify a bit
13188         (getStatus): have a version which takes a pseudoaction, and
13189         another which requires a (kb_action,string).
13190
13191         * LyXAction.C (retrieveActionArg): make it work also when action
13192         is not a pseudo-action.
13193         (getActionName): simplify a bit
13194         (helpText):
13195
13196 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13197
13198         * lyxfunc.C (verboseDispatch): new families of methods with
13199         several ways to specify a command and a bool to indicate whether
13200         the command name and shortcut should be displayed in minibuffer
13201         (eventually, we could extend that to a finer bitmask like
13202         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13203         (dispatch): the pristine dispatch command which just, well,
13204         dispatchs! Note it still sets its result to minibuffer; I'm not
13205         sure we want that.
13206
13207         * lyxfunc.h: remove setHintMessage
13208
13209         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13210
13211 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13212
13213         * BufferView_pimpl.C (specialChar): delete new inset if we have
13214         not been able to insert it.
13215
13216         * kbmap.C: revert to using int instead of kb_action, since all we
13217         are dealing with is pseudo-actions.
13218
13219         * LyXAction.C (searchActionArg): change to return int instead of
13220         kb_action, since the result is a pseudoaction.
13221
13222 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13223
13224         * buffer.C (insertErtContents): Fix (partially) the font bug.
13225
13226 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13227
13228         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13229         as the other one is broken on my machine!
13230
13231 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13232
13233         * commandtags.h:
13234         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13235
13236 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13237
13238         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13239         reflect their actual use. Provide compatibility code for older lyxrc
13240         files.
13241
13242         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13243         FL_NORMAL_STYLE.
13244         change names of popup font variables in line with the changes to lyxrc.C
13245
13246 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13247
13248         * buffer.C (asciiParagraph): avoid outputing a word twice after
13249         an inset.
13250
13251         * lyxrc.C (getDescription): document that document_path and
13252         template_path can be empty.
13253
13254 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13255
13256         * LaTeXFeatures.C (getMacros):
13257         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13258
13259         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13260
13261         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13262         getPackages.
13263         (getPackages): rename feature "floats" to "float". Use an array to
13264         iterate over 'simple' features (i.e. just a \usepackage). Add
13265         handling of "amsmath" (renamed from "amsstyle").
13266
13267 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13268
13269         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13270         features list.
13271
13272 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13273
13274         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13275         FuncStaus::FuncStatus & FuncStaus::some_method().
13276
13277 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13278
13279         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13280         of the func_satus stuff. Edited and massaged in various ways by
13281         JMarc.
13282
13283         * lyxfunc.C (getStatus): use FuncStatus
13284
13285 2002-01-08  Juergen Vigna  <jug@sad.it>
13286
13287         * text.C (nextBreakPoint): use function Inset::isChar().
13288
13289         * paragraph.C (TeXOnePar): use function
13290         Inset::forceDefaultParagraphs.
13291
13292         * buffer.C (latexParagraphs): use function
13293         Inset::forceDefaultParagraphs.
13294
13295 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13296
13297         * lyx_gui.C (init): set the style of the menu popups to
13298         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13299
13300 2002-01-07  Juergen Vigna  <jug@sad.it>
13301
13302         * text.C (setHeightOfRow): small fix
13303         (prepareToPrint): don't look at alignment if we don't have the place
13304         for doing it.
13305
13306 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13307
13308         * box.C: New file. Move the Box methods and functions out of box.h,
13309         following Lars' suggestion.
13310
13311 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * box.h: #include "support/LOstream.h", needed for inlined function.
13314
13315         * lyxtextclass.C:
13316         * lyxtextclasslist.C: added some using std declarations.
13317
13318 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13319
13320         * box.h: make signed dimensions to allow insets wider than
13321           the screen (bug #162)
13322
13323         * BufferView_pimpl.C: add some insetHit debug
13324
13325 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13326
13327         * vc-backend.C: add FIXME
13328
13329 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13330
13331         * lyxfunc.C (getStatus): enable code for showing math font status
13332         in toolbar/menu.
13333
13334 2002-01-07  Juergen Vigna  <jug@sad.it>
13335
13336         * text.C (nextBreakPoint): removed debug output not needed anymore.
13337
13338 2002-01-06  Juergen Vigna  <jug@sad.it>
13339
13340         * text.C (nextBreakPoint): fixed up this function we had this bug
13341         since ever but now hopefully we break row better.
13342         (insertChar): we have to check if an inset is the next char as it
13343         could now happen that a large inset is causing a break.
13344
13345 2002-01-05  Juergen Vigna  <jug@sad.it>
13346
13347         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13348         if it doesn't like to be drawed.
13349
13350 2002-01-04  Juergen Vigna  <jug@sad.it>
13351
13352         * BufferView2.C (lockInset): forgot to set a cursor.
13353
13354         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13355
13356 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13357
13358         * FormMathsPanel.C:
13359         * FormMathsPanel.h
13360         * MathsSymbols.C:
13361         * form_maths_panel.C:
13362         * form_maths_panel.h:
13363         * form_maths_panel.fd: implemented sub- and super- buttons in math
13364         panel.
13365
13366         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13367         (or ^ space) to be used as in TeX (req'd by André).
13368
13369         * lyxfunc.C: Allow ^ and _ again to be used both as
13370         super/subscript (mathed) and as themselves (in text).
13371
13372 2002-01-03  Allan Rae  <rae@lyx.org>
13373
13374         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13375         "LyX" or the filename of the current buffer if it has one.  This is a
13376         modified form of John Levon's patch.
13377
13378         * XFormsView.C (setWindowTitle): also set icon title.
13379
13380         * LyXView.h (setWindowTitle): signature changed.
13381         * XFormsView.h (setWindowTitle): ditto.
13382
13383 2002-01-02  Juergen Vigna  <jug@sad.it>
13384
13385         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13386
13387 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * screen.C (topCursorVisible): introduce a temp var for
13390         text->cursor.row(), handle the case where this row is null. (kindo
13391         hachish)
13392
13393         * text2.C (setCursor): add a couple of asserts.
13394
13395         * paragraph.h (inset_iterator): add -> operator
13396
13397         * paragraph.[Ch] (autoDeleteInsets): remove member function
13398
13399         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13400         cursor pos correctly and handle inset deletion by itself.
13401         (insertErrors): move iterator declaration out of for expression
13402
13403         * lyxtextclass.C: add <algorithm>
13404
13405         * Makefile.am: added the new files to sources, removed layout.C
13406
13407         * layout.C: removed file
13408
13409         * layout.h: remove LYX_DUMMY_LAYOUT
13410
13411         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13412         layout.
13413
13414         * lyxlayout.[Ch]:
13415         * lyxtextclass.[Ch]:
13416         * lyxtextclasslist.[Ch]: new files
13417
13418         * include order changes to a lot of files, also changes because of
13419         the six new files.
13420
13421 2001-12-27  Juergen Vigna  <jug@sad.it>
13422
13423         * buffer.C (asciiParagraph): more fixes.
13424
13425         * tabular.C (ascii): make ascii export support export of only the
13426         data separated by a column-delimiter.
13427         (ascii): better support for ascii export.
13428
13429         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13430
13431 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13432
13433         * tabular_funcs.C: use a "using std::getline" instead of the
13434         previous fix from Angus (necessary for cxx + lyxstring)
13435
13436 2001-12-24  Juergen Vigna  <jug@sad.it>
13437
13438         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13439
13440         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13441         problems. First check a minipage also if we have some ert-contents
13442         (not only on par->size(), second set the right depth of the paragraph
13443         on the relink to the root-paragraph-list!
13444
13445         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13446         which then did not anymore update the main paragraphs on undo/redo!
13447
13448 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13449
13450         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13451         code. Support all font-changing funcs (even those which are not in
13452         menu currently). Support for reporting font settings in
13453         mathed (disabled until Andre provides a function on mathed's side).
13454
13455         * func_status.h (toggle): small helper function to set toggle
13456         state on a flag.
13457
13458 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13459
13460         * tabular_funcs.C: getline -> std::getline
13461
13462 2001-12-21  Juergen Vigna  <jug@sad.it>
13463
13464         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13465         accessed and could be 0 (I couldn't generate this but it seems
13466         Michael could!).
13467
13468 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13471         * tabular_funcs.h: here and include iosfwd
13472
13473 2001-12-20  Juergen Vigna  <jug@sad.it>
13474
13475         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13476         inside inset but undo_par was.
13477
13478 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13479
13480         * Thesaurus.C: always include <config.h> in sources.
13481
13482         * Painter.h:
13483         * lyxlookup.h:
13484         * box.h: do not include <config.h> in header files
13485
13486         * text.C (paintLastRow): remove unused variable
13487
13488         * text.C (transformChar):
13489         (insertChar):
13490         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13491
13492         * Painter.C (text):
13493         * font.C (width): rewrite to use uppercase() instead of
13494         islower/toupper.
13495
13496         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13497
13498 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13499
13500         * lyxfind.C: clean up of find failure position change
13501
13502 2001-12-20  Juergen Vigna  <jug@sad.it>
13503
13504         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13505
13506         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13507         (TeXRow): added to LaTeX a single tabular row.
13508         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13509         (Latex): simplified and finally good LT-h/f support.
13510         (various_functions): just small adaptions for LT-h/f support.
13511
13512         * tabular_funcs.[hC]: added and moved here all not classfunctions
13513         of LyXTabular.
13514
13515 2001-12-19  Juergen Vigna  <jug@sad.it>
13516
13517         * tabular.[Ch]: better support for longtabular options (not finished
13518         yet!)
13519
13520 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13521
13522         * text.C (paintLastRow): use the label font instead of the font of
13523         the last character to compute the size of *_BOX. This makes more
13524         sense and avoids a crash with empty paragraphs.
13525         Use Painter::rectangle to draw EMPTY_BOX.
13526
13527 2001-12-19  Juergen Vigna  <jug@sad.it>
13528
13529         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13530         the paragraphs if the replaced paragraph is not the first one!
13531         Tried to delete not used paragraphs but does not work yet so for
13532         now it's inside #ifdef's and by default off!
13533
13534 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13535
13536         * MenuBackend.C: include "lyx_main.h" instead of declaring
13537         lastfiles (actually was declared as LastFiles* instead of a
13538         scoped_ptr).
13539
13540 2001-12-17  Juergen Vigna  <jug@sad.it>
13541
13542         * tabular.C (AppendColumn): applied John's fix
13543
13544 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13545
13546         * BufferView.h:
13547         * BufferView.C:
13548         * BufferView_pimpl.h:
13549         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13550
13551         * Makefile.am:
13552         * box.h: new start of class for above
13553
13554         * lyxfunc.C: ignore space-only minibuffer dispatches.
13555           Show the command name when it doesn't exist
13556
13557         * minibuffer.C: don't add empty lines to the history
13558
13559         * minibuffer.C: add a space on dropdown completion
13560
13561 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * text.C: fix line above/below drawing in insets
13564
13565 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * lyxlength.C (LyXLength): Initialize private variables.
13568
13569 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13570
13571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13572         when inserting error insets.
13573
13574 2001-12-13  Juergen Vigna  <jug@sad.it>
13575
13576         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13577         actually sometimes the before-paragraph.
13578         (setUndo): don't clear the redostack if we're not actually undoing!
13579
13580 2001-12-06  Juergen Vigna  <jug@sad.it>
13581
13582         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13583         and fixed redoing of main paragraph, so we can use it now ;)
13584
13585         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13586
13587 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13588
13589         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13590         Juergen's request
13591
13592 2001-12-13  André Pönitz <poenitz@gmx.net>
13593
13594         * undostack.[Ch]:
13595         * undo_func.C: minor cleanup
13596
13597 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13598
13599         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13600         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13601         font in urw-fonts package which is marked as -urw-fontspecific and
13602         does not work (incidentally, changing the encoding in the
13603         fonts.dir of this package to -adobe-fontspecific fixes the
13604         problem).
13605
13606         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13607         is a crash when undoing first paragraph (Juergen, please take a
13608         look). THis does not mean the undo fix is wrong, just that it
13609         uncovers problems.
13610
13611         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13612         the (Paragraph*) version when needed instead of duplicating the
13613         code.
13614
13615         * text.C (workWidth): use Inset::parOwner to find out where the
13616         inset has been inserted. This is a huge performance gain for large
13617         documents with lots of insets. If Inset::parOwner is not set, fall
13618         back on the brute force method
13619
13620         * paragraph_pimpl.C (insertInset):
13621         * paragraph.C (Paragraph):
13622         (cutIntoMinibuffer): set parOwner of insets when
13623         inserting/removing them
13624
13625         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13626
13627 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13628
13629         * commandtags.h:
13630         * LyXAction.C:
13631         * lyx_main.C:
13632         * lyxfunc.C:
13633         * mathed/formulabase.C:
13634         * mathed/math_cursor.[Ch]:
13635         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13636
13637
13638 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13639
13640         * lyxlength.[Ch] (operator!=): new function
13641
13642 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13643
13644         * text.C (workWidth): use Inset::parOwner to find out where the
13645         inset has been inserted. This is a huge performance gain for large
13646         documents with lots of insets. If Inset::parOwner is not set, fall
13647         back on the brute force method
13648
13649         * paragraph_pimpl.C (insertInset):
13650         * paragraph.C (Paragraph):
13651         (cutIntoMinibuffer): set parOwner of insets when
13652         inserting/removing them
13653
13654         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13655
13656 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13657
13658         * tabular-old.C (getTokenValue):
13659         * tabular.C (getTokenValue):
13660         (write_attribute): new versions for LyXLength
13661         (everywhere): adjust the use of widths
13662
13663         * tabular.h: change the type of widths from string to LyXLength
13664
13665 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13666
13667         * paragraph.C: fixed missing line number count when exporting
13668         Environments to LaTeX file
13669
13670         * buffer.C: added informational message for checking line numbers.
13671
13672 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13673
13674         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13675         paragraph, do the 'double space' part, but not the 'empty
13676         paragraph' one.
13677
13678         * text.C (workWidth): small optimization
13679         (getLengthMarkerHeight): use minimal size for negative lengths.
13680
13681 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13682
13683         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13684
13685         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13686
13687 2001-12-11  André Pönitz <poenitz@gmx.net>
13688
13689         * FontLoader.C:
13690         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13691
13692 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13693
13694         * text2.C: keep selection on a setFont()
13695
13696 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13697
13698         * lyx_cb.C: another bv->text misuse, from insert label
13699
13700 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13701
13702         * kbsequence.h:
13703         * kbsequence.C: re-instate nmodifier mask
13704
13705 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13706
13707         * lyx_main.h: make lyxGUI private.
13708
13709 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * lyxfind.C: place the cursor correctly on failed search
13712
13713 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13714
13715         * text.C (getLengthMarkerHeight): for small heights, the arrows
13716         are not always on top/bottom of the text
13717         (drawLengthMarker): smaller arrows; take the left margin in
13718         account; draw also vfills.
13719         (paintFirstRow):
13720         (paintLastRow): remove special code for vfill and standard spaces,
13721         since everything is handled in drawLengthMarker now.
13722
13723 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13724
13725         * buffer.C (insertErtContents): try to handle font and language
13726         interaction a bit better.g
13727
13728         * ColorHandler.C (updateColor): change the hash to cover the whole
13729         LColor enum, ws cleanup
13730         (getGCLinepars): ditto
13731         (getGCLinepars): only lookup in the linecache once.
13732
13733 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13734
13735         * iterators.C (operator++): Make the iterator more robust
13736
13737         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13738         (John's patch)
13739         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13740
13741 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13742
13743         * lyxtext.h:
13744         * text.C: better added space drawing
13745
13746 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13747
13748         * LyXView.C:
13749         * BufferView2.C: fix layout combo update on inset unlock
13750
13751 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * Makefile.am: don't compile unused files
13754
13755 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * lyxfunc.C:
13758         * commandtags.h:
13759         * LyXAction.C: remove old LFUN_LAYOUTNO
13760
13761 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13762
13763         * paragraph_pimpl.h:
13764         * paragraph_pimpl.C: isTextAt() doesn't need font param
13765
13766 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13767
13768         * lyxlex.h:
13769         * lyxlex.C: little cleanup
13770
13771 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13772
13773         * BufferView_pimpl.C: fix insertAscii for insets
13774
13775 2001-12-05  Juergen Vigna  <jug@sad.it>
13776
13777         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13778         set the right font on the "multi" paragraph paste!
13779
13780 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13781
13782         * trans_decl.h:
13783         * trans_mgr.[Ch]:
13784         * trans.[Ch]:
13785         * lyxgluelength.C:
13786         * lyxlength.C: remove out-commented code.
13787
13788         * BufferView_pimpl:
13789         * CutAndPaste.C:
13790         * DepTable.C:
13791         * buffer.C:
13792         * chset.C:
13793         * lastfiles.C:
13794         * lyxlex.C:
13795         * lyxlex_pimpl.C:
13796         * lyxserver.C:
13797         * screen.C:
13798         * tabular-old.C:
13799         * tabular.C:
13800         * text.C:
13801         * trans_mgr.C:
13802         * vc-backend.C: change "while(" to "while ("
13803
13804         * lyxlength.[Ch]: add zero function to check if length is zero or
13805         not
13806         * lyxgluelength.C: use it
13807
13808 2001-12-05  Allan Rae  <rae@lyx.org>
13809
13810         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13811         Works for 2.95.3, from what I understand of Garst's reports this should
13812         work for other g++ versions.  We're screwed if the abs(int) definition
13813         changed between bugfix releases of gcc.
13814
13815 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13816
13817         * text.C: fix chapter label offset !
13818
13819 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13820
13821         * lyxtext.h:
13822         * text.C: fix hfill at end of line, clean up
13823
13824 2001-12-04  Juergen Vigna  <jug@sad.it>
13825
13826         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13827         that we force an update of the inset and it's owners if neccessary.
13828
13829 2001-12-03  Juergen Vigna  <jug@sad.it>
13830
13831         * text.C (rowLast): simplified code
13832
13833 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13834
13835         * lyxfunc.C: fix show options on timeout
13836
13837 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13838
13839         * screen.C (topCursorVisible): scroll half a page when the cursor
13840         reached top of bottom of screen
13841
13842 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * minibuffer.C: deactivate on loss of focus
13845
13846 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * vspace.[Ch] (operator!=): add operator.
13849
13850 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13851
13852         * BufferView_pimpl.C: refuse to open an inset when
13853         there's a selection.
13854
13855 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13856
13857         * BufferView_pimpl.C: allow to click on RHS of full row insets
13858
13859 2001-11-30  Juergen Vigna  <jug@sad.it>
13860
13861         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13862         insets for undo reasons.
13863
13864 2001-11-28  André Pönitz <poenitz@gmx.net>
13865
13866         * vspace.[Ch]: cosmetical changes
13867
13868 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * LyXAction.h:
13871         * LyXAction.C:
13872         * lyxfunc.h:
13873         * lyxfunc.C:
13874         * kbmap.h:
13875         * kbmap.C:
13876         * lyxrc.C:
13877         * kbsequence.h:
13878         * kbsequence.C: part re-write of old kb code
13879
13880         * Painter.C:
13881         * WorkArea.C: remove Lgb_bug_find_hack
13882
13883 2001-11-30  José Matos <jamatos@fep.up.pt>
13884
13885         * buffer.C (makeDocBookFile): add a comment to point a hack.
13886         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13887         Fixed a double write of labels.
13888
13889 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13890
13891         * LaTeX.C:
13892         * LaTeX.h Fixed bug in LaTeX class where it would not
13893         re-run latex if no depfiles were changed, but the .dvi was removed.
13894
13895 2001-11-28  André Pönitz <poenitz@gmx.net>
13896
13897         * all the files from the change on 2001/11/26:
13898         use lyx::layout_type instead of LyXTextClass::size_type
13899         use lyx::textclass_type instead of LyXTextClassList::size_type
13900
13901 2001-11-29  Juergen Vigna  <jug@sad.it>
13902
13903         * text.C: added support for paragraph::isFreeSpacing()
13904
13905         * buffer.C: same as above
13906
13907         * paragraph.h: inserted isFreeSpacing() function to enable
13908         FreeSpacing inside InsetERT.
13909
13910         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13911         of the paragraph's in the cut/copy buffer to 0!
13912
13913         * text2.C (removeRow): remove the assert as it can!
13914
13915         * lyxtext.h: added helper function firstRow returning firstrow and
13916         made firstrow private again.
13917
13918         * BufferView2.C (lockInset): don't relock if we're already locked!
13919
13920         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13921         the only paragraph.
13922         (removeRow): added Assert::(firstrow)
13923
13924         * debug.C: forgot to add INSETTEXT here.
13925
13926 2001-11-28  Juergen Vigna  <jug@sad.it>
13927
13928         * sp_spell.C (initialize): changed error text to more general
13929         spellchecker command use (not only ispell!)
13930
13931         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13932
13933         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13934
13935 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * vspace.C: initialise lyxgluelength on failure
13938
13939 2001-11-28  Allan Rae  <rae@lyx.org>
13940
13941         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13942         declaration & definition that looks like a function declaration.
13943
13944 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13945
13946         * BufferView2.C (copy):
13947         (copyEnvironment): do not clear the selection when doing a copy.
13948
13949         * text.C (paintFirstRow): compilation fix
13950
13951 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13952
13953         * tabular.C (Latex): correct line count when writing latex.
13954
13955 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13956
13957         * paragraph_pimpl.h:
13958         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13959           bug a bit
13960
13961 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13962
13963         * text.C:
13964         * LColor.h:
13965         * LColor.C: change vfillline->added_space
13966
13967         * text.C: add markers and text for added space
13968
13969         * vspace.C: fix comment
13970
13971 2001-11-28  André Pönitz <poenitz@gmx.net>
13972
13973         * paragraph.C: whitespace changes
13974         * all the other files from the change on 2001/11/26:
13975         change *::pos_type into lyx::pos_type
13976
13977 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13978
13979         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13980         language of the document when inserting error insets.
13981
13982 2001-11-26  André Pönitz <poenitz@gmx.net>
13983
13984         * BufferView_pimpl.[Ch]:
13985         *       CutAndPaste.C:
13986         * buffer.[Ch]:
13987         * lyxcursor.[Ch]:
13988         * lyxfind.C:
13989         * lyxfunc.C:
13990         * lyxrow.[Ch]:
13991         * paragraph.[Ch]:
13992         * paragraph_pimpl.[Ch]:
13993         * sp_spell.C:
13994         * text.C:
13995         * text2.C: reduce header dependencies, introduce type for positions
13996
13997 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13998
13999         * <various>: change to use Alert.h
14000
14001 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14002
14003         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14004         when encountering an unknown token.
14005         (readLyXformat2): Show an error message if there were unknown tokens.
14006
14007 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14008
14009         * BufferView2.C:
14010         * BufferView_pimpl.C:
14011         * buffer.C:
14012         * paragraph.h:
14013         * text.C:
14014         * text2.C: use par->isInset()
14015
14016 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * paragraph_pimpl.h:
14019         * paragraph_pimpl.C: cleanup
14020
14021 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * text2.C (removeRow):
14024         * text.C (setHeightOfRow): remove useless (and costly) call to
14025         getRow.
14026
14027 2001-11-20  Allan Rae  <rae@lyx.org>
14028
14029         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14030         Now need Inset*::checkInsertChar() to return true for appropriate
14031         cases so that the characters in the minibuffer will actually be
14032         inserted.
14033
14034 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * text.C: change the order of the includes.
14037         (workWidth): initialize it at once.
14038         (workWidth): make maxw unsigned
14039         (setHeightOfRow): remove unused variable (inset)
14040         (selectSelectedWord): remove unused variable (inset)
14041         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14042
14043 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14044
14045         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14046         server is not running.
14047         (openConnection):
14048         (closeConnection): add debug info when server is disabled.
14049
14050         * ColorHandler.C (getGCForeground): send debug message to GUI
14051         channel.
14052
14053         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14054
14055         * kbmap.C (bind): modify because return conventions of
14056         kb_sequence::parse have changed.
14057
14058         * kbsequence.C (parse): only ignore spaces and not any stupid
14059         control character. This avoids tests like s[i] <= ' ', which are
14060         guaranteed to fail with 8bit characters and signed chars.
14061         Change return code to string::npos when there have been no error
14062         (0 was a bad idea when error is at first character)
14063
14064 2001-11-14  José Matos  <jamatos@fep.up.pt>
14065
14066         * buffer.h:
14067         * buffer.C (simpleDocBookOnePar): removed unused argument.
14068
14069 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14070
14071         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14072         insets which are part of a word. Paragraph::isLetter takes care of
14073         that now. Use Paragraph::isInset to identify insets.
14074         (selectSelectedWord): do not test for hyphenation break.
14075
14076         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14077         that protected spaces are considered as spaces.
14078
14079         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14080         Inset::isLetter.
14081
14082 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14083
14084         * lyxserver.h:
14085         * lyxserver.C: fix it. and small cleanup.
14086
14087 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14088
14089         * BufferView_pimpl.C: use inline helpers
14090
14091         * LaTeXFeatures.h:
14092         * LaTeXFeatures.C: fix typos
14093
14094         * Spacing.h:
14095         * Spacing.C: move spacing_string into class
14096
14097         * ToolbarDefaults.C: move stuff into namespace anon
14098
14099         * layout.h: update enum
14100
14101         * lyxfunc.C: use better debug
14102
14103         * minibuffer.h: fix typo
14104
14105         * debug.h:
14106         * debug.C:
14107         * WorkArea.C: add and use Debug::WORKAREA
14108
14109         * lyxtext.h:
14110         * text.C:
14111         * text2.C: code re-organisation, inline helpers
14112
14113 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14114
14115         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14116         std::vector.empty().
14117
14118 2001-11-09  Allan Rae  <rae@lyx.org>
14119
14120         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14121         '\n's after tables.  Tabular and ERT inset work now makes this no
14122         longer necessary.
14123
14124 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * minibuffer.h:
14127         * minibuffer.C: fix crash, improve drop-down completion
14128
14129 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * lyxserver.h:
14132         * lyxserver.C: invalidate fd's when doing endPipe()
14133
14134 2001-11-08  José Matos  <jamatos@fep.up.pt>
14135
14136         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14137         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14138
14139         * paragraph.h:
14140         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14141
14142 2001-11-07  José Matos  <jamatos@fep.up.pt>
14143
14144         * buffer.h:
14145         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14146         const qualifier.
14147
14148         * buffer.C (sgmlOpenTag):
14149         * buffer.C (sgmlCloseTag): removed debug info.
14150
14151         * buffer.h (sgmlOpenTag):
14152         * buffer.h (sgmlCloseTag): made public.
14153
14154 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14155
14156         * buffer.C (saveParamsAsDefaults):
14157         * lyx_cb.C (MenuLayoutSave): remove
14158
14159         * LyXAction.C (init):
14160         * commandtags.h:
14161         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14162
14163 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14164
14165         * buffer.C (setPaperStuff): removed from here...
14166
14167         * bufferparams.C (setPaperStuff): ... and moved there.
14168
14169 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14170
14171         * minibuffer.h:
14172         * minibuffer.C:
14173         * XFormsView.C: add support for drop-down completion
14174
14175 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14176
14177         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14178         commands.
14179
14180 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14183         disabled.
14184
14185 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14186
14187         * lyx_main.C: change ref to known bugs
14188
14189 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14190
14191         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14192         to work around older babel problems.
14193
14194 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14195
14196         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14197
14198 2001-10-24  Juergen Vigna  <jug@sad.it>
14199
14200         * tabular-old.C (ReadOld): below variable changes reflected.
14201
14202         * tabular.[Ch]: added ltType struct for longtable header/footer
14203         defines and changed all instances where they are used. Added
14204         future support for double top/bottom rows.
14205
14206 2001-10-24  José Matos  <jamatos@fep.up.pt>
14207
14208         * buffer.h (docbookHandleCaption):
14209         * buffer.C (docbookHandleCaption): removed unused function.
14210         (makeDocBookFile): moved docbook supported version to v4.1.
14211
14212 2001-10-24  José Matos  <jamatos@fep.up.pt>
14213
14214         * tabular.h:
14215         * tabular.C (docbookRow): new function to export docbook code of a row.
14216         (DocBook): now honors the longtable flags.
14217
14218 2001-10-23  José Matos  <jamatos@fep.up.pt>
14219
14220         * LaTeXFeatures.h:
14221         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14222         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14223
14224         * buffer.C (makeLinuxDocFile):
14225         (makeDocBookFile): reworked the preamble, more clean, and with
14226         support for lyx defined entities. Changed the document declaration
14227         to be more XML friendly.
14228
14229         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14230         if we need to output XML that should be done with a filter.
14231
14232 2001-10-22  Juergen Vigna  <jug@sad.it>
14233
14234         * sp_pspell.h (class PSpell): add alive function needed in the
14235         controller to see if the spellchecker could be started.
14236
14237 2001-10-22  Juergen Vigna  <jug@sad.it>
14238
14239         * buffer.C (insertStringAsLines): modify the font for inserting
14240         chars in certain conditions by calling checkInsertChar(font).
14241
14242 2001-10-19  Juergen Vigna  <jug@sad.it>
14243
14244         * text.C (workWidth): use getRow instead of wrong algorithm.
14245         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14246
14247 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14248
14249         * lyxserver.h:
14250         * lyxserver.C:
14251         * lyx_main.h:
14252         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14253
14254 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14255
14256         * text.C (workWidth): do not search for the exact row when
14257         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14258         optimization for big documents.
14259
14260 2001-10-18  Juergen Vigna  <jug@sad.it>
14261
14262         * text.C (workWidth): new function with added Inset * parameter.
14263
14264 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14265
14266         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14267
14268         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14269         change return type of getColumnNearX.
14270
14271
14272         * text.C (changeRegionCase): use uppercase/lowercase instead of
14273         toupper/tolower.
14274         (leftMargin):
14275         (rightMargin): simplify code by factoring out the uses of
14276         textclasslist.
14277         (labelFill):
14278         (numberOfHfills):
14279         (setHeightOfRow):
14280         (appendParagraph): use Paragraph::size_type
14281
14282 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14283
14284         * vspace.C (asLatexString): add a missing break
14285
14286 2001-10-15  Herbert Voss  <voss@perce.de>
14287
14288         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14289
14290 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14293         is not available.
14294
14295 2001-10-10  André Pönitz <poenitz@gmx.net>
14296
14297         * lyxfunc.C: removed greek_kb_flag.
14298
14299 2001-10-10  Herbert Voss  <voss@perce.de>
14300
14301         * lyx_main.C: delete global string help_lyxdir.
14302
14303 2001-10-09  Herbert Voss  <voss@perce.de>
14304
14305         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14306
14307         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14308
14309         * lyx_main.C: added global string help_lyxdir.
14310
14311         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14312
14313 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14314
14315         * lyxrc.C (set_font_norm_type): support iso8859-4
14316
14317 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14318
14319         * LaTeX.C (deplog): add another regex for MikTeX
14320
14321 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14322
14323         * lyxrc.C (set_font_norm_type): support iso8859-3
14324
14325 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14326
14327         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14328
14329         * LaTeXFeatures.C: remove special case of french and index
14330
14331         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14332         before \begin{document}). This solves several incompatibilities.
14333
14334 2001-10-03  Garst Reese  <reese@isn.net>
14335
14336         * lyx_cb.C: change CheckTex error msg.
14337
14338 2001-10-03  José Matos  <jamatos@fep.up.pt>
14339
14340         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14341
14342 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14343
14344         * .cvsignore: update
14345
14346         * lyx_main.C (commandLineVersionInfo): use new style version info.
14347
14348         * buffer.C (writeFile):
14349         (makeLaTeXFile):
14350         (makeLinuxDocFile):
14351         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14352
14353         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14354
14355         * version.h: update to use stuff in version.C
14356
14357         * version.C.in: new file. Contains version information determined
14358         at compile time. This is a merging of version.h and
14359         version_info.h.in.
14360
14361 2001-10-03  Juergen Vigna  <jug@sad.it>
14362
14363         * BufferView_pimpl.C (update): don't change "dirty" status in
14364         updateInset call.
14365
14366 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14367
14368         * WorkArea.C (c-tor): re-position version string slightly.
14369
14370 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14373         revert to previous code.
14374
14375         WorkArea.[Ch]: (show, destroySplash): methods removed.
14376
14377         WorkArea.C: rework code so that it's an amalgam of the codes before and
14378         after the splash screen was moved to WorkArea.
14379
14380 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14381
14382         * lyxrc.C (read):
14383         * vspace.C (inPixels):
14384         (lyx_advance):
14385         * kbmap.C (bind):
14386         * buffer.C (insertStringAsLines):
14387         (asciiParagraph): fix types to be large enough
14388
14389         * lyxlex_pimpl.h: change member status from short to int
14390
14391         * layout.h: fix type of endlabeltype
14392
14393         * kbmap.C (bind):
14394         * kbsequence.C (parse): change return type to string::size_type
14395
14396         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14397         variable
14398
14399         * Bullet.C (bulletSize):
14400         (bulletEntry): do not use short ints as parameters
14401
14402         * BufferView2.C (insertLyXFile): change a char to an int.
14403
14404         * WorkArea.C (WorkArea): remove unneeded floats in computation
14405
14406 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14407
14408         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14409
14410         * paragraph.C (asString): Do not ignore newline/hfill chars when
14411         copying to the clipboard.
14412
14413 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14416         after a multi-line inset.
14417
14418 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14419
14420         * paragraph.C (validate): Set NeedLyXFootnoteCode
14421
14422 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14423
14424         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14425         and decrease-error to decrease.
14426
14427 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14428
14429         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14430         it more readable (should be equivalent)
14431
14432 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14433
14434         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14435
14436 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14437
14438         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14439         of a cursor (row, etc.) after a character has been deleted
14440         (deleteEmptyParagraphMechanism): call the method above on _all_
14441         cursors held by the LyXText when a double space has been
14442         detected/deleted.
14443
14444 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14445
14446         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14447         pixmap.
14448         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14449
14450         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14451         background. Use greyOut() and the new show() methods to toggle between
14452         the foreground and background. Add code to remove the splash after
14453         its initial showing.
14454
14455         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14456         (create_forms): no longer call Dialogs::showSplash.
14457
14458 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459
14460         * .cvsignore: add version_info.h
14461
14462 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14463
14464         * version_info.h.in: new file
14465
14466         * Makefile.am: add version_info.h.in
14467
14468         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14469         version_info.h instead of VERSION_INFO
14470
14471 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14474         The ERT inset now returns string().
14475
14476 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14477
14478         * lyxtext.h, text.C (selectNextWord): renamed as
14479         selectNextWordToSpellcheck.
14480
14481         * text.C (selectNextWordToSpellcheck): Modified to not select
14482         words inside an ERT inset.
14483
14484 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14485
14486         * lyx_cb.C (MenuLayoutSave): change a bit the question
14487
14488         * sp_base.h: include <sys/types.h>
14489
14490 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14491
14492         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14493
14494 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14495
14496         * several files: fix typos in user-visible strings
14497
14498 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14499
14500         * text2.C (pasteSelection): do not set the selection, since it
14501         will be cleared later. Actually, the intent was to fix the way the
14502         selection was set, but I figured rmoving the code was just as good.
14503
14504 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14505
14506         * FontLoader.C (available): Check if font is available without
14507         loading the font.
14508
14509 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14510
14511         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14512
14513 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14514
14515         * lyxrc.[Ch]: added display_graphics variable and associated code.
14516
14517 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14518
14519         * bufferparams.C (hasClassDefaults): new method. Returns true if
14520         the buffer parameters correspond to known class defaults
14521
14522 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14523
14524         * XFormsView.C (show): set minimum size to the main window.
14525
14526 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14527
14528         * text2.C (copySelection):
14529         (cutSelection):
14530         * lyxfind.C (LyXReplace):
14531         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14532         LyXText::selectionAsString.
14533
14534         * paragraph.C (asString): add "label" argument to the second form
14535
14536         * text2.C (selectionAsString): add "label" argument and pass it to
14537         Paragraph::asString.
14538
14539 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14540
14541         * lyx_main.C (commandLineHelp): remove version information
14542
14543 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14544
14545         * lyx_main.C: add -version commandline option
14546
14547 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14548
14549         * paragraph.h: make the optional constructor arg required instead.
14550         some modifications to other files because of this.
14551
14552         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14553
14554         * lyxserver.C (C_LyXComm_callback): make it static
14555
14556         * lyx_main.C (error_handler): make it static
14557
14558         * lyx_gui.C (LyX_XErrHandler): make it static
14559
14560         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14561
14562         * WorkArea.C: make the extern "C" methods static.
14563
14564         * Makefile.am (lyx_LDADD): simplify
14565
14566 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14567
14568         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14569         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14570
14571         * LyXAction.C (init):
14572         * lyxfunc.C (dispatch): associated code removal.
14573
14574 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14575
14576         * lyxfont.h (isSymbolFont): shut off warning
14577
14578         * text.C (setHeightOfRow):
14579         (getVisibleRow): fix crash with empty paragraphs which have a
14580         bottom line
14581
14582 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14583
14584         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14585         code.
14586
14587 2001-09-04  José Matos  <jamatos@fep.up.pt>
14588         * buffer.C
14589         * buffer.h
14590         * tabular.C (docbook): rename docBook method to docbook.
14591
14592 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * Makefile.am: add dependencies to main.o.
14595
14596 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14597
14598         * FontLoader.C (available): Return false if !lyxrc.use_gui
14599
14600 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14601
14602         * FontInfo.C (query):
14603         * converter.C (view):
14604         * importer.C (Import):
14605         * exporter.C (Export): Can not -> cannot.
14606
14607 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14608
14609         * BufferView_pimpl.C: allow to create index inset even if
14610           string is empty
14611
14612 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14613
14614         * buffer.C (getLists): replace boost::tie code with an explicit pair
14615         as boost::tie can break some compilers.
14616
14617         * iterators.h: Added a std:: declaration to the return type of
14618         ParIterator::size.
14619
14620 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14621
14622         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14623           case.
14624
14625 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14626
14627         * iterators.[Ch]: New files. Provide paragraph iterators.
14628
14629         * buffer.C (changeLanguage): Use paragraph iterators.
14630         (isMultiLingual): ditto
14631
14632         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14633
14634 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14635
14636         * FontLoader.C: Support for cmr font.
14637
14638 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14639
14640         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14641         (available): New method.
14642
14643         * FontInfo.C (getFontname): Use scalable fonts even when
14644         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14645         found.
14646
14647 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14648
14649         * converter.C (Formats::view): reverted! Incorrect fix.
14650
14651 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14652
14653         * converter.C (Formats::view): only output the -paper option
14654         if the dvi viewer is xdvi, thereby fixing bug #233429.
14655
14656 2001-08-23  Herbert Voss  <voss@perce>
14657
14658         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14659
14660 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14661
14662         * Spacing.h (Spacing): Set space to Default on in the default
14663         constructor.
14664
14665 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14666
14667         * vc-backend.h (RCS::versionString): add RCS to version
14668         (CVS::versionString): add CVS to version
14669
14670         * vc-backend.C (scanMaster): do not add CVS to version.
14671         (scanMaster): do not add RCS to version
14672
14673         * lyxvc.C (versionString): new method
14674
14675         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14676
14677 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14678
14679         * Spacing.C (set): initialize fval
14680
14681 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14682
14683         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14684         " or \.
14685
14686 2001-08-16  Juergen Vigna  <jug@sad.it>
14687
14688         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14689
14690 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * BufferView_pimpl.C:
14693         * figureForm.C:
14694         * lyxtext.h:
14695         * text2.C: setParagraph takes linespacing now
14696
14697 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * LyxAction.C: add internal LFUN_CITATION_INSERT
14700
14701         * LyXView.C: actually apply fix
14702
14703         * bufferlist.C: fix open non-existent file
14704
14705         * lyxfind.C: fix indentation
14706
14707         * lyxfunc.C: remove unneeded assert, fix typo
14708
14709 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * MenuBackend.C: use "Floatname List"
14712
14713 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14716         when converting LaTeX layout to insetERT.
14717         Generate a non-collapsed float when reading old float
14718
14719 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14720
14721         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14722         ERT insets.
14723
14724 2001-08-13  Juergen Vigna  <jug@sad.it>
14725
14726         * text.C (fill): return 0 instead of 20 as this seems to be the more
14727         correct value.
14728
14729 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14730
14731         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14732         lyxrc.font_norm.
14733
14734 2001-08-13  Juergen Vigna  <jug@sad.it>
14735
14736         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14737         casesensitive off.
14738         (SearchBackward): comment out the unlocking of the inset_owner this
14739         should not be needed!
14740
14741 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14742
14743         * Many files: Remove inherit_language, and add latex_language
14744
14745         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14746         collapsible insets.
14747
14748 2001-08-10  Juergen Vigna  <jug@sad.it>
14749
14750         * text.C (prepareToPrint): fixed hfill-width in draw!
14751
14752         * BufferView2.C (selectLastWord): save the selection cursor as this
14753         now is cleared in the function LyXText::clearSelection!
14754
14755 2001-08-08  Juergen Vigna  <jug@sad.it>
14756
14757         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14758         BACKSPACE type functions.
14759
14760         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14761         is only cutted from the document but not put in the cut-buffer, where
14762         still the old stuff should be.
14763
14764         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14765
14766         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14767
14768         * tabular.C (SetWidthOfCell): fixed special case where the width
14769         was not updated!
14770         (LeftLine): handle '|' in align_special.
14771         (RightLine): ditto
14772         (LeftAlreadyDrawed): ditto
14773         (SetWidthOfCell): ditto
14774
14775 2001-08-07  Juergen Vigna  <jug@sad.it>
14776
14777         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14778
14779 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14780
14781         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14782         * lyxlex.[hC]: ditto
14783
14784 2001-08-06  Juergen Vigna  <jug@sad.it>
14785
14786         * text.C (getVisibleRow): fix up row clearing a bit.
14787
14788 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14789
14790         * minibuffer.C: make sure the X server sees the changes in the input.
14791
14792 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14793
14794         * paragraph.C (getFont): split into...
14795         (getLabelFont): this
14796         (getLayoutFont): and this
14797         * paragraph_pimpl.C (realizeFont): calling this
14798
14799         * text2.C (getFont): split into...
14800         (getLayoutFont): this
14801         (getLabelFont): and this
14802         (realizeFont): all three calling this
14803
14804         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14805         files where used.
14806
14807 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14810
14811 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14812
14813         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14814         layouts from the Quote inset insertion.
14815
14816 2001-08-03  Juergen Vigna  <jug@sad.it>
14817
14818         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14819
14820         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14821         only if status not is already CHANGED_IN_DRAW (second level).
14822
14823         * text.C (draw): don't set the need_break_row when inside an
14824         InsetText LyXText.
14825
14826 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14827
14828         * buffer.C (parseSingleLyXformat2Token): handle more latex
14829         conversion cases.
14830
14831         * bufferview_funcs.[hC]: change function names to
14832         begin with small char, adjust other files.
14833
14834 2001-08-02  André Pönitz <poenitz@gmx.net>
14835
14836         * lyxfunc.C:
14837         BufferView_pimpl.C: remove broken special code for math-greek
14838
14839 2001-08-02  Juergen Vigna  <jug@sad.it>
14840
14841         * BufferView_pimpl.C (update): redone this function so that we
14842         update the text again if there was a CHANGE_IN_DRAW.
14843
14844         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14845         (drawFromTo): added a new internal bool which is used by draw() and
14846         redraw() function.
14847         (general): some cursor drawing problems fixed.
14848
14849 2001-08-01  Juergen Vigna  <jug@sad.it>
14850
14851         * lyxfind.C (LyXFind): fixed
14852         (SearchForward): ditto
14853         (SearchBackward): ditto
14854
14855         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14856         spurius drawing of the cursor in the main area.
14857
14858         * text2.C (status): small fix which could lead to a segfault!
14859         (clearSelection): remove unneeded BufferView param.
14860
14861 2001-08-01  André Pönitz <poenitz@gmx.net>
14862
14863         * lyxfunc.C: small change due to changed mathed interface
14864
14865 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14866
14867         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14868
14869 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * lyxfunc.c: fail gracefully if file doesn't exist
14872
14873         * LyXSendto.C:
14874         * buffer.C:
14875         * lyxfunc.C:
14876         * BufferView_pimpl.C: IsDirWriteable() proto changed
14877
14878         * LyXView.C: fix updateWindowTitle() to store the last title
14879
14880 2001-07-31  Juergen Vigna  <jug@sad.it>
14881
14882         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14883         the font (wrong since using of Paragraph::highestFontInRange).
14884
14885         * paragraph.C (highestFontInRange): added a default_size parameter.
14886
14887         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14888         (setHeightOfRow): reformat
14889
14890 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * converter.[hC] + affected files: move to (inital-char)lowercase
14893         function names.
14894
14895         * ParagraphParameters.C (ParagraphParameters): remove commented code
14896
14897         * PainterBase.[Ch]: remove commented code
14898
14899         * LaTeXFeatures.h: add "bool floats" for float.sty
14900
14901         * LaTeXFeatures.C (LaTeXFeatures): init floats
14902         (require): handle float
14903         (getPackages): do it with floats
14904
14905 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14906
14907         * BufferView_pimpl.C (Dispatch): improve handling of
14908         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14909
14910         * commandtags.h: #include lyxfont.h here temporarily to avoid
14911         keybinding bug.
14912
14913         * bufferlist.h: include LString.h here.
14914
14915 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14916
14917         * text2.C (getStringToIndex): new method.
14918
14919 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14920
14921         * *: Reduced header file dependencies all over.
14922
14923 2001-07-30  Baruch Even  <baruch@lyx.org>
14924
14925         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14926
14927 2001-07-29  Baruch Even  <baruch@lyx.org>
14928
14929         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14930
14931 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14932
14933         * ParameterStruct.h (endif): add a default constructor to make
14934         sure that all variables is initialized.
14935
14936         * ParagraphParameters.C (ParagraphParameters): adjust
14937
14938 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14941         index; also, check that there is something to index, and that it
14942         does not span over several paragraphs.
14943         (doubleClick): use WHOLE_WORD_STRICT for double click.
14944
14945         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14946
14947         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14948         scheme.
14949
14950 2001-07-26  Baruch Even  <baruch@lyx.org>
14951
14952         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14953         an InsetFig figure, backwards compatible reading of old figure code.
14954
14955 2001-07-27  Juergen Vigna  <jug@sad.it>
14956
14957         * text2.C: font.realize function adaption.
14958
14959         * text.C (draw): add a warnings lyxerr text if needed.
14960
14961         * layout.C: font.realize function adaption.
14962
14963         * language.C: add inherit_language and implement it's handlings
14964
14965         * bufferview_funcs.C (StyleReset): remove language parameter from
14966         font creation (should be language_inherit now).
14967
14968         * bufferparams.C (writeFile): handle ignore_language.
14969
14970         * paragraph.C (getFontSettings): the language has to be resolved
14971         otherwise we have problems in LyXFont!
14972
14973         * lyxfont.C (lyxWriteChanges): added document_language parameter
14974         (update): removed unneeded language parameter
14975
14976         * paragraph.C (validate): fixed wrong output of color-package when
14977         using interface colors for certain fonts in certain environments,
14978         which should not seen as that on the final output.
14979
14980 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * BufferView_pimpl.C:
14983         * Thesaurus.h:
14984         * Thesaurus.C:
14985         * Makefile.am:
14986         * commandtags.h:
14987         * LyXAction.C: add thesaurus support
14988
14989         * lyxfind.h:
14990         * lyxfind.C: add "once" parameter, for thesaurus, to not
14991           move to the next match
14992
14993 2001-07-26  Juergen Vigna  <jug@sad.it>
14994
14995         * lyxfont.C (realize): honor ignore_language too!
14996         (resolved): ditto.
14997
14998         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14999
15000         * text.C (draw): one place more for ignore_language to not draw
15001         itself!
15002
15003 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15004
15005         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15006
15007 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15008
15009         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15010         the minipage conversion problem.
15011
15012 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15013
15014         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15015         insert an inset.
15016
15017 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * BufferView.h: don't forward declare WorkArea
15020
15021         * BufferView.C: don't include WorkArea.h
15022
15023 2001-07-25  André Pönitz <poenitz@gmx.net>
15024
15025         * commandtags.h:
15026         * LyXAction.C:
15027         * lyxfunc.C:  new LFUN 'math-space'
15028
15029         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15030
15031 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15032
15033         * text2.C (toggleInset): call open/close
15034
15035 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15036
15037         * lyxfunc.C (dispatch): add debug for the disabled case
15038
15039         * font.C (buttonText): make similar to rectText
15040
15041         * buffer.C (readInset): comment out parsing of insetlist and
15042         insttheorem
15043
15044         * PainterBase.C (rectText): small correction
15045
15046         * BufferView_pimpl.C: comment out insettheorem and insetlist
15047         * LyXAction.C: ditto
15048         * commandtags.h: ditto
15049
15050 2001-07-24  Juergen Vigna  <jug@sad.it>
15051
15052         * text.C (draw): honor the ignore_language.
15053
15054         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15055
15056 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15059         char inset.
15060
15061 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15062
15063         * lyxtext.h: remove unused (and unimplemented) methods
15064
15065 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15066
15067         * text.C (getVisibleRow): honor background color
15068
15069         * PainterBase.h:
15070         * Painter.h: remove default color argument for fillRectangle
15071
15072         * text.C (backgroundColor): new method
15073
15074 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15075
15076         * text.C (getVisibleRow): adjust
15077
15078         * font.[Ch] (rectText): new method, metrics
15079         (buttonText): new method, metrics
15080
15081         * PainterBase.[hC]: make rectText and buttonText always draw and take
15082         fewer paramteres.
15083
15084 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15085
15086         * ToolbarDefaults.C (read):
15087         * MenuBackend.C (read): allow escaping in all strings
15088
15089         * BufferView_pimpl.C (insertAndEditInset): new method.
15090         (Dispatch): use insertAndEditInset whenever appropriate.
15091
15092         * BufferView_pimpl.C (insertNote): removed
15093
15094         * BufferView_pimpl.C (smartQuote): new method, moved from
15095         BufferView; if an insetquote cannot be inserted, insert a '"'
15096         character instead.
15097
15098         * BufferView2.C: remove insertCorrectQuote();
15099
15100         * lyxfunc.C (getStatus): Add support for all remaingin
15101         inset-insert lfuns.
15102
15103         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15104
15105         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15106         command (necessary to pass " as parameter of self-insert.
15107
15108         * text.C (selectWordWhenUnderCursor):
15109         (selectWord): add word_location parameter
15110         (selectWordWhenUnderCursor): same + remove special code for word
15111         boundary.
15112         (selectNextWord): use kind() to guess type of insetspecialchar,
15113         not latex().
15114
15115         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15116         (insertErtContents): create ert insets as collapsed.
15117         (readInset): better compatibility code for Info inset.
15118
15119 2001-07-20  Juergen Vigna  <jug@sad.it>
15120
15121         * lyxfunc.C (dispatch): use always LyXFind now!
15122
15123         * text2.C (init): add a reinit flag so that the LyXText can be
15124         reinited instead of deleted and reallocated (used in InsetText).
15125
15126         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15127
15128         * text.C: ditto
15129
15130         * text2.C: ditto
15131
15132 2001-07-18  Juergen Vigna  <jug@sad.it>
15133
15134         * text.C (selectNextWord): handle insets inside inset by calling
15135         always the bv->text functions so that we can go up the_locking_inset!
15136
15137         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15138         in strange locations when inside an inset!
15139
15140         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15141         handling to include insets.
15142
15143         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15144
15145 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15146
15147         * LyXAction.C (init):
15148         * commandtags.h:
15149         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15150         LIGATURE_BREAK, since the name is so stupid.
15151
15152 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15153
15154         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15155         InsetInfos.
15156
15157         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15158
15159         * sp_form.[Ch]: remove.
15160
15161         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15162
15163         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15164         InsetInfo.
15165
15166         * src/buffer.C (readInset): ditto.
15167
15168 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15169
15170         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15171         menuSeparator(), endOfSentenceDot(), ldots() and
15172         hyphenationPoint(), which are therefore removed.
15173         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15174
15175         * LyXAction.C (init):
15176         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15177
15178         * paragraph.C (getWord): removed.
15179
15180         * BufferView_pimpl.C (Dispatch): use last word or selection for
15181         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15182
15183         * lyx_main.C (queryUserLyXDir): do not ask before creating
15184         user_dir, except if it has been named explicitely.
15185
15186 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15187
15188         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15189         a document of zero size.
15190
15191 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15192
15193         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15194         approriately in the c-tor and in require().
15195         (getPackages): output the appropriate LaTeX for natbib support.
15196
15197         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15198         variables "use_natbib" and "use_numerical_citations" when reading the
15199         LyX file.
15200         (readInset): read the various natbib cite commands.
15201         (validate): white-space change.
15202
15203         * bufferparams.[Ch]: new variables "bool use_natbib" and
15204         "bool use_numerical_citations".
15205         (writeFile): output them in the LyX file.
15206
15207 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15208
15209         * lyxfunc.C (getStatus): add support for all the inset insertion
15210         commands.
15211
15212         * text2.C (insertInset):
15213         * paragraph.C (insetAllowed):
15214         * BufferView_pimpl.C (insertInset): update to take in account the
15215         renaming of insertInsetAllowed
15216
15217         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15218
15219         * text2.C (getInset): new method. returns inset at cursor position.
15220
15221         * BufferView_pimpl.C (Dispatch): changes because of this.
15222
15223         * LyXAction.C (init): rename open-stuff to inset-toggle.
15224
15225         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15226
15227         * text2.C (toggleInset): renamed from openStuff; use
15228         Inset::open().
15229
15230 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15231
15232         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15233
15234         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15235
15236 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15237
15238         * buffer.C (readLyXformat2): Add filename to the error dialog
15239
15240 2001-07-18  Juergen Vigna  <jug@sad.it>
15241
15242         * tabular.C (GetCellNumber): put an assert here instead of the check!
15243
15244 2001-07-17  Juergen Vigna  <jug@sad.it>
15245
15246         * BufferView_pimpl.C (toggleSelection): adapted too.
15247
15248         * text.C (selectNextWord): adapted for use with insets.
15249         (selectSelectedWord): ditto
15250
15251 2001-07-17  Juergen Vigna  <jug@sad.it>
15252
15253         * sp_spell.C (PSpell): fix initialitation order.
15254
15255 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15256
15257         * paragraph.C: spacing
15258
15259 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15260
15261         * sp_spell.C: repair language selection for pspell
15262
15263 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15264
15265         * lyxfunc.h: change more methods to begin with lower char.
15266
15267 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15268
15269         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15270         for unknown layouts.
15271
15272 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * buffer.C (readLyXformat2): Generate an error dialog if there are
15275         unknown layouts.
15276
15277 2001-07-16  Juergen Vigna  <jug@sad.it>
15278
15279         * sp_spell.C: always compile ISpell part.
15280
15281         * lyxrc.C: added use_pspell entry and it's handling.
15282
15283 2001-07-13  Juergen Vigna  <jug@sad.it>
15284
15285         * sp_spell.C: removed double includes.
15286
15287 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15288
15289         Consistent use of Lsstream.h:
15290         * Lsstream.h: added using std::stringstream for consistencies sake.
15291
15292         * buffer.C: removed using std::stringstream
15293
15294         * lyxfont.C (stateText):
15295         * paragraph.C (asString):
15296         * text.C (selectNextWord, selectSelectedWord):
15297         * text2.C (setCounter):
15298         * vspace.C (asString, asLatexString):
15299         std::ostringstream -> ostringstream.
15300
15301 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15302
15303         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15304         * commandtags.h: add LFUN_HELP_ABOUTLYX
15305         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15306
15307 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15308
15309         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15310         cursorToggle()
15311         * lyx_gui_misc.C: remove spellchecker
15312         * lyxfunc.C: showSpellchecker
15313         * sp_base.h: added
15314         * sp_ispell.h: added
15315         * sp_pspell.h: added
15316         * sp_spell.C: added
15317         * sp_form.[Ch]: removed
15318         * spellchecker.[Ch]: removed
15319
15320 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15321
15322         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15323         is set.
15324         (simpleTeXSpecialChars): Simply print the input character without
15325         any special translation if pass_thru is set.
15326
15327         * layout.h: Added bool pass_thru to layout class for being able to
15328         implement pass through of a paragraph for Literate Programming.
15329
15330         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15331         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15332         * layout.C (Read): add "passthru" to list of layout tags and add
15333         code to set the pass_thru boolean when it is read.
15334
15335 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * trans_decl.h: remove allowed from KmodInfo
15338
15339         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15340         remove allowed code
15341         (Load): adjust
15342
15343         * paragraph_pimpl.C (erase): use boost::prior
15344
15345         * Painter.C (text): use data() instead of c_str() when length is
15346         also provided.
15347         * WorkArea.C (putClipboard): ditto
15348         * font.h (width): ditto
15349
15350         * BufferView2.C: use it-> instead of (*it). for iterators
15351         * texrow.C: ditto
15352         * paragraph_pimpl.C: ditto
15353         * paragraph.C: ditto
15354         * minibuffer.C: ditto
15355         * language.C: ditto
15356         * kbmap.C: ditto
15357         * encoding.C: ditto
15358         * counters.C: ditto
15359         * converter.C: ditto
15360         * chset.C: ditto
15361         * Variables.C: ditto
15362         * TextCache.C: ditto
15363         * MenuBackend.C: ditto
15364         * LyXAction.C: ditto
15365         * LColor.C: ditto
15366         * FloatList.C: ditto
15367         * DepTable.C: ditto
15368         * ColorHandler.C (LyXColorHandler): ditto
15369
15370 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15373
15374         * text2.C (openStuff): reintroduce this method (which had been
15375         nuked in NEW_INSETS frenzy).
15376
15377         * lyxfunc.C (Dispatch): when an action has not been handled, use
15378         its name in the error message, not its number.
15379
15380         * paragraph.C (inInset): change method name to begin with lowercase.
15381
15382         * undo_funcs.C:
15383         * text2.C: updates because of this.
15384
15385 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * ToolbarDefaults.C (add): add spaces in error message
15388
15389 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15390
15391         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15392         (readLyXformat2): rename return_par to first_par, use lyxlex's
15393         pushToken and remove the manual push handling.
15394         (parseSingleLyXformat2Token): add another ert comp. variable:
15395         in_tabular, rename return_par to first_par. handle newlines better
15396
15397 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15398
15399         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15400
15401 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15402
15403         * text2.C (getParFromID): removed
15404
15405         * buffer.C (getParFromID): new method moved form lyxtext.
15406         * BufferView2.C (insertErrors): adjust
15407         (setCursorFromRow): adjust
15408         * BufferView_pimpl.C (restorePosition): adjust
15409         * lyxfunc.C (Dispatch): adjust
15410         * undo_funcs.C (textUndo): adjust
15411         (textRedo): adjust
15412         (textHandleUndo): adjust
15413         (textHandleUndo): adjust
15414
15415 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15416
15417         * buffer.C: up' the LYX_FORMAT
15418
15419         * lyxfont.h: turn NO_LATEX on as default
15420
15421         * buffer.C (insertErtContents): new methods of tex style compability.
15422         (parseSingleLyXformat2Token): use it several places.
15423         * tabular.C (OldFormatRead): and here
15424
15425 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * text2.C: remove some commented code.
15428         reindent file.
15429
15430         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15431         * trans.C: changes because of the above.
15432
15433 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15434
15435         * text2.C (setCounter): Fix counters bug with bibliography layout.
15436
15437 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15440         own member functions
15441         (simpleTeXSpecialChars): ditto
15442
15443 2001-07-06  Juergen Vigna  <jug@sad.it>
15444
15445         * a lot of files: changed the access to LyXText::status and the
15446         call of undo-functions.
15447
15448         * undo.[Ch]: added a inset_id to the undo informations.
15449
15450         * undo_funcs.[Ch]: added and moved here all undo functions.
15451
15452         * lyxtext.h: give the status enum a weight, made status_ a private
15453         variable and made accessor functions for it, removed the whole bunch
15454         of undo-functions as they are now in their own file, make some
15455         functions publically available. Added function ownerParagraph with
15456         int parameter.
15457
15458         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15459         made InInset() a const function, added getParFromID() function.
15460
15461         * buffer.[Ch]: added const version for inset_iterator functions,
15462         added getInsetFromID() function.
15463
15464         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15465         changed undo functions for new version.
15466
15467 2001-07-05  Juergen Vigna  <jug@sad.it>
15468
15469         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15470         unknow mechanism does not call the proper constructor but only this
15471         one also if I request the other!?
15472
15473 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15474
15475         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15476
15477         * text2.C (LyXText): use initialization lists.
15478
15479         * lyxtext.h (Selection): initialize set_ and mark_
15480         (init): remove method
15481
15482 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15483
15484         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15485
15486 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15487
15488         * screen.[Ch]: change method names to begin with lowercase
15489
15490         * BufferView_pimpl.C (updateScrollbar): simplify further and
15491         hopefully make it a bit faster.
15492
15493 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15496         calling directly xforms functions.
15497
15498         * Painter.C (Painter):
15499         * lyx_cb.C (MenuWrite):
15500         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15501         fl_display.
15502
15503         * lyx_gui.C: remove bogus guiruntime extern declaration.
15504
15505 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15506
15507         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15508         in NEW_INSETS
15509         (redoDrawingOfParagraph): ditto
15510         (redoParagraphs): ditto
15511         (cutSelection): don't create a object for CutAndPaste use the
15512         static method directly
15513         (pasteSelection): ditto
15514
15515         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15516         LyXview (+ rename)
15517
15518 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15519
15520         * modifications to some other files because of this.
15521
15522         * Makefile.am (lyx_SOURCES): add XFormsView
15523
15524         * XFormsView.[Ch]: new files
15525
15526         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15527         the main window. Move the gui dependent stuff to XFormsView
15528
15529 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * tabular.C (GetCellInset): update cur_cell also in the row/col
15532         version of this function.
15533
15534         * lyxfunc.C: no need to include figure_form.h here.
15535
15536         * FontLoader.h:
15537         * lyxfunc.h:
15538         * lyxscreen.h:
15539         * text2.C:
15540         * lyxvc.C: no need to include forms.h here.
15541
15542 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15543
15544         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15545
15546         * lyxfunc.C (Dispatch):
15547         * Spacing.C (set):
15548         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15549         constructor argument.
15550
15551 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * paragraph.C (Paragraph): dont't clear, and just set layout.
15554         (makeSameLayout): use params's copy contructor.
15555
15556         * ParagraphParameters.[Ch] (makeSame): delete method
15557
15558 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15559
15560         * Variables.[Ch]: fix indentation, rename set to isSet
15561
15562 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15563
15564         * lyxfunc.C (Dispatch): fix typo
15565
15566 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15567
15568         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15569         upper_bound.
15570
15571         * bufferlist.C: include assert.h for emergencyWrite().
15572
15573 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15574
15575         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15576           give up at last (bug #425202) !
15577
15578 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15579
15580         * lyx_gui_misc.C:
15581         * sp_form.h:
15582         * sp_form.C:
15583         * spellchecker.h:
15584         * spellchecker.C: strip spellchecker options and bring up
15585           preferences tab instead
15586
15587 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15588
15589         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15590         the istringstream constructor
15591
15592 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * paragraph.C (getLayout): fix return value
15595
15596         * paragraph.h: do not declare getLayout as inline.
15597
15598         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15599
15600 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15601
15602         * lyxcursor.h (operator<): new func
15603         (operator>): new func
15604         (operator>=): new func
15605         (operator<=): new func
15606
15607         * text.C (changeCase): use selection.start and selection.end
15608         (changeRegionCase): require from to be <= to. Require par to be a
15609         valid paragraph.
15610
15611         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15612
15613 2001-06-27  Juergen Vigna  <jug@sad.it>
15614
15615         * text.C (cursorLeftOneWord): changed to return the cursor and added
15616         overlay with BufferView * parameter which calls this one.
15617         (getWord): added
15618         (selectWord): use new getWord function.
15619         (changeCase): renamed from changeWordCase as and extended to work
15620         also on selections.
15621
15622         * lyxtext.h: added enum word_location
15623
15624         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15625         changeCase as this operates now also on selections.
15626
15627 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15628
15629         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15630
15631         * many files: send debug output to Debug::INFO instead of
15632         Debug::ANY.
15633
15634         * converter.C (View):
15635         (Convert):
15636         (Move): send debug output to Debug::FILES instead of console.
15637
15638 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15639
15640         * lyxfunc.C (getStatus): use func_status
15641
15642         * func_status.h: new header, describing the results of
15643         LyXFunc::getStatus;
15644
15645         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15646         LFUN_MATH_HALIGN.
15647
15648 2001-06-25  The LyX Project  <jug@sad.it>
15649
15650         * buffer.C (sgmlOpenTag):
15651         (sgmlCloseTag):
15652         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15653
15654 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * text2.C: remove some dead code
15657
15658         * tabular.C (GetCellInset): store the last cell checked (gotten)
15659
15660         * tabular.h: add the helper for the speedup
15661
15662         * lyxtext.h: remove some dead code
15663
15664 2001-06-26  The LyX Project  <Asger>
15665
15666         * paragraph.C: Change export to LaTeX of alignment to
15667         \begin{center} and family for better roundtrip work with reLyX.
15668
15669         * Tune the math drawing a bit.
15670
15671 2001-06-25  The LyX Project  <Asger>
15672
15673         * LColor.C (LColor): New color for math background. New color
15674         for buttons.
15675
15676 2001-06-25  The LyX Project  <jug@sad.it>
15677
15678         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15679
15680         * lyxfunc.C (Open):
15681         * bufferlist.C (newFile): do not restrict to files ending with
15682         .lyx
15683
15684         * BufferView_pimpl.C (MenuInsertLyXFile):
15685
15686 2001-06-24  The LyX Project  <jug@sad.it>
15687
15688         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15689         of compare_no_case
15690
15691 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15692
15693         * lyxtext.h: rename most methods to begin with a small char.
15694         Lots of changes because of this.
15695
15696         * paragraph.C (Paragraph): do not call fitToSize
15697         (erase): call Pimpl::erase
15698         (insertChar): call Pimpl::insertChar
15699         (insertInset): call Pipl::insertInset
15700         (breakParagraph): do not call fitToSize
15701         (breakParagraphConservative): do not call fitToSize
15702         (fitToSize): remove method
15703
15704         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15705
15706 2001-06-24  The LyX Project  <Asger>
15707
15708         * Fix Qt compilation^2
15709
15710 2001-06-24  The LyX Project  <jug@sad.it>
15711
15712         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15713         depthHook(getDepth()-1).
15714
15715         * paragraph.h:
15716         * ParagraphParameters.h:
15717         * ParameterStruct.h: change type of depth to unsigned int ==
15718         depth_type. Many adaptations to other files before of that.
15719
15720 2001-06-24  The LyX Project  <Asger>
15721
15722         * Fix Qt compilation.
15723
15724 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15725
15726         * paragraph.h: renamed several methods to begin with small letter.
15727         several changes to many parts of the code because of this.
15728
15729 2001-06-23  The LyX Project  <jug@sad.it>
15730
15731         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15732         rewritten to discard all double spaces when KeepEmpty is off
15733         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15734         to only handle newlines but not fiddle with spaces and friends.
15735
15736         * lyxfunc.C (MenuNew): when doing 'new from template', use
15737         template_path as default directory
15738
15739 2001-06-23  The LyX Project  <Asger>
15740
15741         * Clean-up of header file includes all over
15742         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15743
15744 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15745
15746         * paragraph.h: renamed from lyxparagraph.h
15747
15748 2001-06-23  Asger  <lyx@violet.home.sad.it>
15749
15750         * Buffer.h: Removed Buffer::resize
15751         * BufferList.h: Removed BufferList::resize
15752         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15753         the document lazily when we change the width, or the font settings.
15754
15755 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15756
15757         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15758
15759 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15760
15761         * buffer.h: remove out of date comment
15762
15763 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15764
15765         * lyxscreen.h:
15766         * screen.C: fix "theoretical" GC leak
15767
15768 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15769
15770         * LaTeX.C (scanAuxFile):
15771         (deplog): remove trailing \r when reading stream (useful under
15772         win32)
15773
15774 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15775
15776         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15777         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15778         and BufferView::theLockingInset(Inset*), so should use them and not
15779         access bv_->text->the_locking_inset directly.
15780
15781         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15782
15783 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15784
15785         * Makefile.am:
15786         * tex-defs.h: remove old unused file
15787
15788 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15789
15790         * BufferView_pimpl.C: fix typo, remove minibuffer message
15791           when buffer has loaded
15792
15793 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15794
15795         * lyxfunc.C (Dispatch): use stringstream
15796         (MenuNew): use stringstream
15797         (Open): use stringstream
15798
15799         * importer.C (Import): use stringstream
15800
15801         * bufferview_funcs.C (CurrentState): use stringstream
15802
15803         * LaTeX.C (run): use stringstream
15804
15805         * BufferView_pimpl.C (savePosition): use stringstream
15806         (restorePosition): use stringstream
15807         (MenuInsertLyXFile): use stringstream
15808
15809 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15810
15811         * BufferView.C:
15812         * Bullet.C:
15813         * ColorHandler.C:
15814         * FontInfo.C:
15815         * FontLoader.C:
15816         * LColor.C:
15817         * LaTeXFeatures.C:
15818         * Painter.C:
15819         * gettext.C:
15820         * lyx_gui_misc.C:
15821         * lyxserver.C:
15822         * vspace.C: removed // -*- C++ -*- as first line.
15823
15824         * lyxfind.h:
15825         * version.h: added // -*- C++ -*- as first line.
15826
15827 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15828
15829         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15830
15831         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15832         of string
15833
15834 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15835
15836         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15837         of floats.
15838
15839 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15840
15841         * gettext.C: include LString.h even when --disable-nls is on.
15842
15843 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15844
15845         * converter.h (Get): changed argument type from int to
15846         FormatList::size_type to avoid unnecessary conversion.
15847
15848         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15849         before using it.
15850
15851 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15852
15853         * gettext.h: include LString.h even when --disable-nls is on.
15854
15855 2001-06-07  Juergen Vigna  <jug@sad.it>
15856
15857         * text.C (BreakAgain): subst spaces with tabs.
15858
15859         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15860         (resizeInsetsLyXText): set force on resizeLyXText.
15861
15862 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15863
15864         * gettext.h (gettext_init):
15865         (locale_init): use a real definition instead of a macro
15866
15867 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15868
15869         * Bufferview_pimpl.C:
15870         * LColor.h:
15871         * LColor.C: further lcolor tidies
15872
15873 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15874
15875         * BufferView_pimpl.C (updateScrollbar): simplify.
15876
15877         * BufferView2.C: don't include insets/insetinfo.h, change
15878         prototype for insertInset and call the Pimpl version. let
15879         updateInset call Pimpl version.
15880
15881         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15882         gotoInset to BufferView::Pimpl
15883
15884 2001-06-01  Juergen Vigna  <jug@sad.it>
15885
15886         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15887         inside a LockingInset (is the update needed at all?).
15888
15889 2001-05-31  Juergen Vigna  <jug@sad.it>
15890
15891         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15892         here not the old one otherwise how should we compare it afterwards
15893         if it's the same!
15894
15895 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15896
15897         * lyxfont.C:
15898         * tabular.C:
15899         * tabular-old.C:
15900         * FontInfo.C: bring C functions into global namespace when
15901         necessary
15902
15903 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15904
15905         * LString.h: make sure config.h has been loaded before LString.h.
15906
15907         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15908         (one for each char read by EatLine!).
15909
15910         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15911         variables.
15912
15913 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15914
15915         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15916         to the same as the par we break from
15917
15918 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15921
15922         * MenuBackend.C (expand): also create menu entries for wide
15923         versions of the floats.
15924
15925         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15926
15927         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15928
15929         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15930         frontends/Makefile.am
15931
15932         * text2.C: adjust
15933         * text.C: adjust
15934
15935
15936         * tabular.C (getTokenValue): add std::
15937
15938         * tabular-old.C (getTokenValue): add std::
15939         (getTokenValue): ditto
15940         (getTokenValue): ditto
15941
15942         * screen.C (ToggleSelection): adjust
15943
15944         * lyxtext.h: put selection cursors inside a Selection struct.
15945
15946         * lyxfunc.C (moveCursorUpdate): adjust
15947
15948         * lyxfont.C (latexWriteStartChanges): add std::
15949
15950         * lyxfind.C: adjust
15951
15952         * font.h: delete with(char const *, LyXFont const &)
15953
15954         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15955
15956         * FontInfo.C (getFontname): add std::
15957
15958         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15959         (workAreaButtonPress): adjust
15960         (tripleClick): adjust
15961         (update): adjust
15962         (moveCursorUpdate): adjust
15963         (Dispatch): adjust
15964
15965         * BufferView2.C (gotoInset): adjust
15966
15967 2001-05-30  Juergen Vigna  <jug@sad.it>
15968
15969         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15970         to check pspell I add this as default as I now have new pspell
15971         libraries and they seem to use this.
15972
15973 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15974
15975         * text2.C (CutSelection): make the cursor valid before the call to
15976         ClearSelection.
15977
15978 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15979
15980         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15981         relied on 0 terminated strings and other horrors. Bug found due to
15982         the new assert in lyxstring!
15983
15984         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15985         KP_ keys.
15986
15987 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15988
15989         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15990         to latinkeys.bind.
15991
15992         * lyxfunc.C (processKeySym): change method of getting to the
15993         self-insert char.
15994
15995         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15996         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15997         * BufferView_pimpl.[Ch]: here as private methods.
15998
15999 2001-05-28  Juergen Vigna  <jug@sad.it>
16000
16001         * text.C (SetHeightOfRow): added the update() call again as it is
16002         needed to initialize inset dimensions!
16003
16004 2001-05-16  Juergen Vigna  <jug@sad.it>
16005
16006         * text2.C (SetCharFont): Add new function with BufferView * and
16007         bool toggleall parameters for setting insets internal fonts.
16008         (SetFont): Freeze the undo as we may change fonts in Insets and
16009         all this change should be inside only one Undo!
16010
16011         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16012         setting font's in insets as for them we have the SetFont function!
16013
16014 2001-05-15  Juergen Vigna  <jug@sad.it>
16015
16016         * text2.C (ClearSelection): to be sure we REALLY don't have any
16017         selection anymore!
16018
16019         * tabular.C (TeXCellPreamble): fixed the left border problem for
16020         multicolumn cells.
16021
16022 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16023
16024         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16025         dependancy file
16026
16027 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16028
16029         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16030         LFUN_BREAKPARAGRAPH.
16031
16032         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16033         help test to "internal only", similar for LFUN_INSERT_URL
16034
16035         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16036         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16037         auto_region_delete and deadkeys.
16038
16039 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16040
16041         * LColor.h:
16042         * LColor.C: remove some dead entries, tidy a little
16043
16044 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16047         commented code.
16048         (Dispatch): implement LFUN_ESCAPE
16049
16050         * commandtags.h: add LFUN_ESCAPE
16051
16052         * LyXAction.C (init): add entry for LFUN_ESCAPE
16053
16054         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16055         Remove commented code.
16056         (insertNote): moved here
16057         (open_new_inset): moved here
16058
16059         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16060         BufferView_pimpl
16061
16062 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16063
16064         * kbmap.C (findbinding): clean it up and make it work correctly.
16065
16066         * lyx_main.C (init): do not pass argc and argv as parameters
16067
16068 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16069
16070         * buffer.C: fix path for OS/2 & Win32
16071
16072         * lyx_gui.C:
16073         * lyx_main:
16074         * lyx_main.C: Added os:: class.
16075
16076         * os2_defines.h: update
16077
16078 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16079
16080         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16081         better by trying again with reduced state.
16082
16083 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16084
16085         * lyxrc.C (read): print error about invalid key sequence only when
16086         debugging (because not all latinX keysyms are known to some X
16087         servers)
16088
16089         * kbsequence.C (getiso): add a few std:: qualifiers
16090         (getiso): comment out extra return statement.
16091
16092 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16093
16094         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16095         handling.
16096         (Dispatch): enhance the accent inset a bit. (not perfect)
16097
16098 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16101
16102 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16103
16104         * bufferlist.C (emergencyWrite): fix assert() call
16105
16106 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16107
16108         * text.C (InsertChar): Added trivial patch to only send the "you
16109         can not do multiple spaces this way" message once during a
16110         session.
16111
16112 2001-05-08  Baruch Even  <baruch@lyx.org>
16113
16114         * Makefile.am: Changed order of libraries to get LyX to link properly
16115         with the gnome frontend.
16116
16117 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16118
16119         * LaTeXFeatures.h: add a std:: qualifier
16120
16121 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16122
16123         * paragraph.C (String): use stringstream
16124
16125 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16126
16127         * paragraph.C (writeFile): remove footflag arg
16128
16129         * buffer.C (makeLaTeXFile): use stringstream
16130         (latexParagraphs): remove footnot gurba
16131
16132         * LaTeXFeatures.C (getPackages): use stringstream
16133         (getMacros): likewise
16134         (getTClassPreamble): likewise
16135         (getFloatDefinitions): new method
16136
16137         * paragraph.C (writeFile): reindent
16138         (Erase): reindent
16139
16140         * WorkArea.h: revert the xpos + etc changes.
16141
16142         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16143
16144         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16145
16146         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16147         (pasteSelection): likewise
16148         * text2.C (CreateUndo): likewise
16149
16150 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * minibuffer.C (peek_event): temporarily reduce the functionality
16153         of the minibuffer (to allow args on lfuns)
16154
16155         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16156         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16157
16158         * buffer.C (readInset): add compability reading of old float
16159         lists, add reading of new style float list.
16160         (readInset): avoid reevaluation of inscmd.getCmdName()
16161         (getLists): reindent
16162
16163         * MenuBackend.C (MenuItem): implement parsing of
16164         md_floatlistinsert and md_floatinsert.
16165         (expand::LastFiles): move initalizaton of iterators out of loop,
16166         avoid reevaluation.
16167         (expand::Documents): introduce typdedef vector<string> Strings,
16168         and use it.
16169         (expand::ExportFormats): introduce typedef vector<Format const *>
16170         Formats, and use it.
16171         (expand): implement FloatListInsert and FloatInsert.
16172
16173         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16174         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16175         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16176
16177         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16178         handling.
16179         (Dispatch::LFUN_FLOAT_LIST): implement
16180
16181 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16182
16183         * LaTeX.C (run): Fix problem with --export code.
16184
16185 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16186
16187         * BufferView.[Ch] (workarea): removed.
16188         (getClipboard) new method; wrapper for workarea()->getClipboard()
16189
16190         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16191         bug.
16192
16193         * WorkArea.h (width, height, xpos, ypos): These methods all
16194         returned the dimensions of the work_area sub-area of WorkArea,
16195         resulting in a position error if the WorkArea were resized. Now
16196         return the dimensions of the entire WorkArea.
16197
16198         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16199
16200 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16201
16202         * LaTeX.C (deplog): correct the syntax of regex reg1
16203
16204 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16205
16206         * undo.C: remove !NEW_INSETS cruft
16207
16208 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16209
16210         * text2.C: remove !NEW_INSETS cruft
16211
16212         * text.C: remove !NEW_INSETS cruft
16213
16214         * tabular.C: remove !NEW_INSETS cruft
16215
16216         * spellchecker.C: remove !NEW_INSETS cruft
16217
16218         * lyxtext.h: remove !NEW_INSETS cruft
16219
16220         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16221
16222         * lyxfunc.C: remove !NEW_INSETS cruft
16223
16224         * lyxfind.C: remove !NEW_INSETS cruft
16225
16226         * lyx_cb.C: remove !NEW_INSETS cruft
16227
16228         * figureForm.C: remove  !NEW_INSETS cruft
16229
16230         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16231
16232         * buffer.[Ch]: remove !NEW_INSETS cruft
16233
16234         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16235
16236         * CutAndPaste.C: remove !NEW_INSETS cruft
16237
16238         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16239
16240         * BufferView2.C: remove !NEW_INSETS cruft
16241
16242         * BufferView.h: remove !NEW_INSETS cruft
16243
16244 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16245
16246         * Lsstream.h: include LString.h before the sstream headers to
16247         fix problem with gcc 2.95.3 and lyxstring
16248
16249 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16250
16251         * lyx_main.C: add using directives when needed for C functions
16252         declared in std:: namespace.
16253
16254 2001-04-27  Juergen Vigna  <jug@sad.it>
16255
16256         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16257         (SetHeightOfRow): comment out the update call should not be needed!
16258
16259 2001-04-13  Juergen Vigna  <jug@sad.it>
16260
16261         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16262         (LyXTabular): tried to minimize operator= operations (and realized
16263         hopfully Lars wish).
16264
16265 2001-04-27  Juergen Vigna  <jug@sad.it>
16266
16267         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16268
16269 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16270
16271         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16272
16273         * buffer.C (readInset): hack to make listof algorithm work
16274
16275         * BufferView_pimpl.C: hack to make listof algorithm work
16276
16277 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16278
16279         * LyXAction.C: removed all !NEW_INSETS cruft
16280         (init): moved lfun_item in method
16281
16282         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16283
16284 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16285
16286         * BufferView2.C (theLockingInset): white space.
16287
16288 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16289
16290         * minibuffer.C: include <iostream>
16291
16292         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16293
16294         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16295
16296         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16297
16298         * text.[Ch] (TransposeChars): new method
16299
16300 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16301
16302         * call message directly through LyXView instead of through LyXFunc
16303         * BufferView2.C: adjust
16304         * BufferView_pimpl.C: adjust
16305         * FontLoader.C: adjust
16306         * buffer.C: adjust
16307         * bufferview_funcs.C: adjust
16308         * converter.C: adjust
16309         * figureForm.C: adjust
16310         * importer.C: adjust
16311         * lyx_cb.C: adjust
16312         * lyx_gui_misc.C: adjust
16313         * lyxfunc.C: adjust
16314         * lyxvc.C: adjust
16315         * text2.C: adjust
16316         + more files in subdirs
16317
16318         * lyxparagraph.h (size): move up int file
16319         (GetLayout): ditto
16320
16321         * adjust all uses of Assert to lyx::Assert.
16322
16323         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16324         lyxfunctional in namespace lyx
16325         * layout.C (hasLayout): ditto
16326         (GetLayout): ditto
16327         (GetLayout): ditto
16328         (delete_layout): ditto
16329         (NumberOfClass): ditto
16330         * converter.C (GetFormat): ditto
16331         (GetNumber): ditto
16332         (Add): ditto
16333         (Delete): ditto
16334         (SetViewer): ditto
16335         * bufferlist.C (getFileNames): ditto
16336         (emergencyWriteAll): ditto
16337         (exists): ditto
16338         (getBuffer): ditto
16339         * MenuBackend.C (hasSubmenu): ditto
16340         (hasMenu): ditto
16341         (getMenu): ditto
16342         * BufferView_pimpl.C (getInsetByCode): ditto
16343
16344 2001-04-18  Juergen Vigna  <jug@sad.it>
16345
16346         * vspace.C (asLatexString): fixed the 100% problem.
16347
16348 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16349
16350         * lyxfunc.C (Dispatch):
16351         * minibuffer.C:
16352         * minibuffer.h: add a few std:: qualifiers
16353
16354 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16355
16356         * minibuffer.[Ch]: reimplement so that commands is initiated and
16357         run from lyxfunc, simplified som handling, and made the completion
16358         and history code for complete. wip.
16359
16360         * lyxfunc.C (processKeySym): call message
16361         (miniDispatch): new temporary method
16362         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16363         (LFUN_MESSAGE): implement
16364         (LFUN_MESSAGE_PUSH): implement
16365         (LFUN_MESSAGE_POP): implement
16366         (initMiniBuffer): the initial/defualt minibuffer message.
16367
16368         * lyxfont.[Ch]: inline some more getters
16369
16370         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16371
16372         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16373
16374         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16375         (AutoSave): use LFUN_MESSAGE
16376         (Reconfigure): ditto
16377
16378         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16379
16380         * figureForm.C: use LFUN_MESSAGE
16381
16382         * converter.C (runLaTeX): use LFUN_MESSAGE
16383
16384         * bufferview_funcs.C: use LFUN_MESSAGE
16385         (Melt): ditto
16386         (changeDepth): ditto
16387
16388         * bufferparams.h: use boost::
16389
16390         * bufferlist.h: inherit privately from noncopyable
16391
16392         * bufferlist.C (loadLyXFile): remove some commented code.
16393
16394         * buffer.C (runChktex): use LFUN_MESSAGE
16395
16396         * ShareContainer.h: inherit privately from noncopyable
16397
16398         * ParagraphParameters.[hC] (depth): inline it.
16399
16400         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16401         methods.
16402         (message): new method
16403         (messagePush): ditto
16404         (messagePop): ditto
16405         (show): init minibuffer
16406         (showState): direct call
16407
16408         * LaTeX.[Ch]: inherit privately from noncopyable
16409         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16410         instead of WriteStatus.
16411
16412         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16413
16414         * BufferView_pimpl.C (buffer): don't init minibuffer
16415         (workAreaButtonPress): use LFUN_MESSAGE
16416         (workAreaButtonRelease): ditto
16417         (savePosition): ditto
16418         (restorePosition): ditto
16419         (MenuInsertLyXFile): ditto
16420         (workAreaExpose): don't init minibuffer
16421         (update): remove commented code, simplify
16422
16423         * BufferView2.C (openStuff): use LFUN_MESSAGE
16424         (toggleFloat): ditto
16425         (menuUndo): ditto
16426         (menuRedo): ditto
16427         (copyEnvironment): ditto
16428         (pasteEnvironment): ditto
16429         (copy): ditto
16430         (cut): ditto
16431         (paste): ditto
16432         (gotoInset): ditto
16433         (updateInset): remove some commented code
16434
16435         * lastfiles.h: inherit privately from noncopyable
16436         * layout.h: ditto
16437         * lyx_gui.h: ditto
16438         * lyx_main.h: ditto
16439         * lyxlex.h: ditto
16440         * lyxlex_pimpl.h: ditto
16441
16442         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16443         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16444         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16445
16446         * LyXAction.h: inherit privately from noncopyable, add methods
16447         func_begin, func_end, returning iterators to the func map.
16448
16449         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16450         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16451         (func_begin): new method
16452         (func_end): new method
16453
16454         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16455         and not)
16456         (copySelection): ditto
16457         (pasteSelection): ditto
16458
16459         * BufferView.C: whitespace change
16460         * BufferView.h: inherit privately from noncopyable
16461
16462 2001-04-16  Allan Rae  <rae@lyx.org>
16463
16464         * tabular-old.C (l_getline):
16465         * spellchecker.C (sc_check_word):
16466         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16467         an unrecognised preprocessor directive.  So ensure they're wrapped.
16468
16469 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16470
16471         * src/exporter.C (Export): Give an error message when path to file
16472         contains spaces.
16473
16474 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16475
16476         * LaTeX.C (deplog): Always check that foundfile exists.
16477
16478 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16479
16480         * lyx_main.h:
16481         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16482
16483 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16484
16485         * tabular.[Ch] (getLabelList): implement new method
16486
16487         * minibuffer.h: comment ouf setTiimer
16488
16489         * minibuffer.C (ExecutingCB): constify res
16490         (peek_event): constify s
16491         (Set): constify ntext
16492         (Init): constify nicename
16493
16494         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16495
16496         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16497         (savePosition): use two params to Minibuffer::Set
16498         (restorePosition): ditto
16499
16500 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16501
16502         * lyx_main.C: include language.h
16503
16504         * Makefile.am (lyx_main.o): add language.h
16505
16506 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16507
16508         * exporter.C:
16509         * paragraph.C:
16510         * screen.C:
16511         * tabular.C:
16512         * CutAndPaste.C: include gettext.h
16513
16514         * lyxfont.h: remove old hack with ON and OFF.
16515
16516         * lyxparagraph.h:
16517         * lyxfont.h: do not include language.h...
16518
16519         * BufferView2.C:
16520         * LaTeXFeatures.C:
16521         * Painter.C:
16522         * bufferview_funcs.C:
16523         * font.C:
16524         * lyxfont.C:
16525         * text.C:
16526         * text2.C:
16527         * trans_mgr.C:
16528         * paragraph.C: ... but do it here instead
16529
16530 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16531
16532         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16533
16534         * tabular.C: small reformat
16535
16536         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16537         NEW_INSETS version
16538         (GetChar): ditto
16539         (BreakParagraph): ditto
16540         (SetOnlyLayout): ditto
16541         (SetLayout): ditto
16542
16543         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16544         with one arg less.
16545
16546         * lastfiles.C: removed most using decl, add std:: where needed
16547
16548         * buffer.C: ws changes
16549
16550         * MenuBackend.C (class compare_format): put into anon namespace
16551         (expand): constify label, names, action, action2
16552         (expand):
16553
16554         * text.C (SingleWidth): constify font
16555         (IsBoundary): constify rtl2
16556         (GetVisibleRow): constify ww
16557
16558         * LaTeX.C (deplog): constify logfile
16559
16560         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16561         start_x, end_x
16562         (workAreaExpose): constify widthChange, heightChange
16563
16564         * lyxrow.C (par): moved
16565         (height): moved
16566         (next): moved
16567         * lyxrow.h: as inlines here
16568
16569         * lyxfont.h (shape): moved from lyxfont.C
16570         (emph): moved from lyxfont.C
16571
16572         * lyxfont.C (LyXFont): use initialization list for all
16573         constructors
16574         (shape): move to lyxfont.h as inline
16575         (emph): move to lyxfont.h as inline
16576
16577
16578 2001-04-04  Juergen Vigna  <jug@sad.it>
16579
16580         * vspace.C: had to include stdio.h for use of sscanf
16581
16582 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16583
16584         * BufferView.h:
16585         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16586         independent of xforms.
16587
16588 2001-04-02  Juergen Vigna  <jug@sad.it>
16589
16590         * spellchecker.C: fixed namespace placing!
16591
16592 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16593
16594         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16595         the LyXParagraph * is 0.
16596
16597 2001-03-29  Juergen Vigna  <jug@sad.it>
16598
16599         * vspace.C: added support for %, c%, p%, l%.
16600         (stringFromUnit): added helper function.
16601         (asLatexString): changed to give right results for the %-values.
16602
16603         * buffer.C: convert the widthp in a width%.
16604
16605 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16606
16607         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16608         figureForm.[Ch].
16609
16610         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16611         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16612
16613         * lyx_cb.[Ch]: see above.
16614
16615         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16616         form1.[Ch].
16617
16618         * form1.[Ch]:
16619         * lyx.[Ch]: replaced by figure_form.[Ch].
16620
16621         * lyx_gui.C:
16622         * lyx_gui_misc.C:
16623         * lyxfunc.C: changed headers associated with above changes.
16624
16625 2001-03-27  Juergen Vigna  <jug@sad.it>
16626
16627         * BufferView_pimpl.C: set the temporary cursor right!
16628
16629 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16630
16631         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16632
16633 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16634
16635         * LString.h: removed "using std::getline"!
16636
16637         * BufferView_pimpl.C (Dispatch): changes due to changes in
16638         InsetInclude::Params.
16639
16640         * buffer.C (tag_name): removed redundant break statements as they were
16641         producing lots of warnings with my compiler.
16642
16643 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16644
16645         * LString.h: add "using std::getline" when using the real <string>.
16646
16647 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16648
16649         * buffer.C: removed bitset usage.
16650         PAR_TAG moved to an anonymous name space.
16651         (tag_name): new funtion, also in the anonymous namespace.
16652         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16653         (makeDocBookFile): clean code. Completed transition from string arrays
16654         to string vectors.
16655         (SimpleDocBookOnePar): code clean.
16656
16657 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16658
16659         * tabular.C: add some comments.
16660
16661 2001-03-22  Juergen Vigna  <jug@sad.it>
16662
16663         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16664         compatibility read a bit and fixed bug with minipage in different
16665         depth.
16666
16667 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16668
16669         * buffer.C (pop_tag): removed.
16670         (push_tag): removed.
16671         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16672         array replaced with vector. Added support for CDATA sections.
16673         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16674         at any nest level.
16675         (makeDocBookFile): XML conformant declaration of CDATA section,
16676         fixed bug related to <emphasis> in the first paragraph char.
16677         (sgmlOpenTag): exclude empty tags.
16678         (sgmlCloseTag): ditto.
16679
16680         * buffer.h (pop_tag): removed.
16681         (push_tag): removed.
16682
16683 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16684
16685         * language.h (Languages): added size_type and size().
16686
16687 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16688
16689         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16690         response on compability reading of minipages. One probliem is that
16691         the old usage of minipages was «flertydig»
16692
16693         * several files here and in subdirs: don't use static at file
16694         scope use anon namespaces instead.
16695
16696 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16697
16698         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16699         LaTeX output. This is necessary for Literate document
16700         processing.
16701
16702 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16703
16704         * buffer.C: insert hfill when needed.
16705
16706         * tabular.C (l_getline): use string::erase, small whitespace change.
16707
16708         * BufferView_pimpl.C: try the anon namespace.
16709         * WorkArea.C: ditto
16710
16711 2001-03-16  Juergen Vigna  <jug@sad.it>
16712
16713         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16714         otherwise it won't open options-dialogs.
16715
16716         * buffer.C: honor pextraWidth(p) on converting minipages.
16717
16718         * tabular.C (l_getline): changed the functions to strip trailing \r.
16719
16720 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16721
16722         * BufferView_pimpl.C:
16723         * minibuffer..C: added "using SigC::slot" declaration.
16724
16725 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16726
16727         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16728
16729         * text2.C: ditto
16730
16731         * text.C: ditto
16732
16733         * paragraph.C: ditto
16734
16735         * lyxtext.h: NO_PEXTRA
16736
16737         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16738
16739         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16740         * ParameterStruct.h: ditto
16741         * ParagraphParameters.h: ditto
16742         * lyxparagraph.h: ditto
16743
16744 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16745
16746         * buffer.C: add compability for minipage alignment.
16747         (latexParagraphs): remove unwanted pextra check.
16748
16749         * several files: remove CXX_WORKING_NAMESPACES
16750
16751         * buffer.C (pop_tag): tie is in namespace boost
16752
16753         * BufferView.h: noncopyable is in namespace boost
16754         * lyxlex.h: ditto
16755         * lyx_main.h: ditto
16756         * lyx_gui.h: ditto
16757         * layout.h: ditto
16758         * lastfiles.h: ditto
16759         * bufferlist.h: ditto
16760         * ShareContainer.h: ditto
16761         * LyXView.h: ditto
16762         * LyXAction.h: ditto
16763         * LaTeX.h: ditto
16764
16765 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16766
16767         * Merging changes from BRANCH_MVC back into HEAD.
16768
16769         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16770
16771 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16772
16773         * BufferView_pimpl.C: change from intl.C
16774
16775         * combox.h:
16776         * combox.C:
16777         * Makefile.am: move combox.*
16778
16779         * form1.h:
16780         * form1.C:
16781         * lyx_gui.C:
16782         * intl.h:
16783         * intl.C: remove dialog (covered by prefs)
16784
16785 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16786
16787         * lyxfunc.C (Dispatch): removed redundant break statement.
16788
16789 2001-03-14  Juergen Vigna  <jug@sad.it>
16790
16791         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16792
16793 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16794
16795         * buffer.C: add hack to fix compability reading of minipages.
16796
16797 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16798
16799         * buffer.C (getLists): Cleanup.
16800
16801 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16802
16803         * lyxfont.C (update): don't honor toggleall on font size.
16804
16805 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16806
16807         * bmtable.c:
16808         * bmtable.h:
16809         * Makefile.am: moved to frontends/xforms/
16810
16811         * lyx_gui_misc.C:
16812         * lyxfunc.C:
16813         * BufferView_pimpl.C: changes for moved mathpanel
16814
16815 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16816
16817         * gettext.h: fix gettext_init() in --disable-nls
16818
16819 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16820
16821         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16822
16823 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16824
16825         * lyx.C:
16826         * lyx.h: strip external form
16827
16828 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16829
16830         * BufferView_pimpl.C: add comment, destroySplash()
16831
16832 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16833
16834         * BufferView_pimpl.C:
16835         * LyXAction.C:
16836         * buffer.C:
16837         * commandtags.h:
16838         * lyxfunc.C: use re-worked insetinclude
16839
16840 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16841
16842         * buffer.C: add using std::stringstream.
16843
16844         * lyx_cb.C: readd using std::ios.
16845
16846         * buffer.C: add using std::map.
16847
16848         * BufferView_pimpl.C: add using std::vector.
16849
16850         * ShareContainer.h: add std:: to swap.
16851
16852         * buffer.h: add some typedefs
16853         * buffer.C (getLists): use them
16854         (getLists): renamed from getTocList.
16855         add a counter for the different float types and use it in the
16856         generated string.
16857         (getLists): use the same counter for the NEW_INSETS and the "non"
16858         NEW_INSETS
16859
16860         * lyx_cb.h: remove unused items, includes, using etc.
16861
16862         * ShareContainer.h: remove some commented code, add more comments
16863         and "documentation".
16864
16865 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16866
16867         * buffer.C (getTocList): make the list also when NEW_INSETS is
16868         defined.
16869
16870         * buffer.h: remove TocType
16871
16872         * buffer.C (getTocList): change to return a map<string,
16873         vector<TocItem> >, implement for dynamic number of list.
16874
16875         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16876         * text2.C (PasteSelection): adjust
16877         * CutAndPaste.C (pasteSelection): adjust
16878
16879         * FloatList.C (FloatList): update from the new_insets branch.
16880         * Floating.[Ch]: ditto
16881         * LaTeXFeatures.C: ditto
16882         * buffer.C: ditto
16883         * lyxlex_pimpl.C: ditto
16884
16885         * paragraph.C (Last): remove when NEW_INSETS is defined.
16886
16887         * other file: changes because of the above.
16888
16889 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16890
16891         * lyxparagraph.h: rename next to next_, previous to previous_,
16892         make them private for NEW_INSETS. Rename Next() to next(),
16893         Previous() to previous().
16894
16895         * other files: changes because of the above.
16896
16897 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16898
16899         * BufferView.h:
16900         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16901         problem.
16902
16903 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16904
16905         * main.C (main): pass lyx_localedir to gettext_init().
16906
16907         * gettext.h: remove locale_init and gettext_init macros
16908
16909         * gettext.C (locale_init): new function
16910         (gettext_init): new function
16911
16912         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16913         setlocale().
16914
16915 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16916
16917         * Moved credits to frontends:
16918         * credits.[Ch]: removed
16919         * credits_form.[Ch]: removed
16920         * lyx_gui_misc.C: remove credits stuff
16921         * Makefile.am:
16922
16923 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16924
16925         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16926
16927         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16928         unneeded destructor.
16929
16930         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16931         a standalone pointer again.
16932
16933         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16934
16935 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16936
16937         * Makefile.am:
16938         * filedlg.h:
16939         * filedlg.C:
16940         * LyXAction.C:
16941         * ToolbarDefaults.C:
16942         * bufferlist.C:
16943         * commandtags.h:
16944         * form1.C:
16945         * form1.h:
16946         * lyx_cb.C:
16947         * lyx_cb.h:
16948         * lyxfunc.h:
16949         * lyxfunc.C:
16950         * BufferView_pimpl.C: use new file dialog in GUII
16951
16952         * lyx_cb.h:
16953         * lyx_cb.C: remove LayoutsCB to Toolbar
16954
16955 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16956
16957         * ShareContainer.h (get): add std:: qualifier
16958
16959 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16960
16961         * ShareContainer.h: define a proper ShareContainer::value_type
16962         type (and use typename to please compaq cxx)
16963
16964 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16965
16966         * lyxparagraph.h: move serveral local vars to
16967         ParameterStruct/ParagraphParameters., use ShareContainer in
16968         FontTable., make vars in FontTable private and add getter and
16969         setter.
16970
16971         * paragraph.C: changes because of the above.
16972
16973         * lyxfont.h: remove copy constructor and copy assignment. (the
16974         default ones is ok), move number inside FontBits. move inlines to
16975         lyxfont.C
16976
16977         * lyxfont.C: add number to initializaton of statics, move several
16978         inlines here. constify several local vars. some whitespace
16979         cleanup. Dont hide outerscope variables.
16980
16981         * Spacing.h: add two new constructors to match the set methods.
16982
16983         * ShareContainer.h: new file, will perhaps be moved to support
16984
16985         * ParameterStruct.h: new file
16986
16987         * ParagraphParameters.h: new file
16988
16989         * ParagraphParameters.C: new file
16990
16991         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16992         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16993
16994         * BufferView_pimpl.C: ParagraphParameter changes.
16995         * buffer.C: Likewise.
16996         * bufferview_funcs.C: Likewise.
16997         * text.C: Likewise.
16998         * text2.C: Likewise.
16999
17000 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17001
17002         * lyxfind.C (LyXReplace): do not redefine default argument in
17003         implementation.
17004         (IsStringInText): ditto
17005         (SearchForward): ditto
17006         (SearchBackward): ditto
17007
17008 2001-03-06  Juergen Vigna  <jug@sad.it>
17009
17010         * lyxfind.C (IsStringInText): put parentes around expressions.
17011
17012 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17013
17014         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17015
17016 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17017
17018         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17019
17020         * stl_string_fwd.h: add comment
17021
17022         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17023
17024         * tabular.h:
17025         * tabular.C: remove unused DocBook methods
17026
17027         * intl.C:
17028         * language.C:
17029         * paragraph.C:
17030         * buffer.C:
17031         killed DO_USE_DEFAULT_LANGUAGE
17032
17033 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17034
17035         * lyx_gui.C: do not include language.h.
17036
17037         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17038         arguments in function implementation.
17039
17040 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17041
17042         * BufferView_pimpl.C: add <ctime>
17043
17044 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17045
17046         * BufferView_pimpl.C: add using std::find_if
17047
17048 2001-02-27  José Matos  <jamatos@fep.up.pt>
17049
17050         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17051         by OnlyPath.
17052
17053 2001-02-11  José Matos  <jamatos@fep.up.pt>
17054
17055         * buffer.C (makeDocBookFile): command styles now have a parameter as
17056         "title" by default.
17057
17058 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17059
17060         * layout_forms.[Ch]: removed
17061         * lyx_cb.[Ch]: out character
17062         * lyx_gui.C: out character
17063         * lyx_gui_misc.C: out character
17064         * bufferview_funcs.C: : out character,
17065         added toggleall as parameter in ToggleAndShow
17066
17067 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17068
17069         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17070
17071         * text2.C (SetCurrentFont): Disable number property at boundary.
17072
17073 2001-02-26  Juergen Vigna  <jug@sad.it>
17074
17075         * lyxfunc.C (getStatus): added a string argument override function so
17076         that this is correctly called from LyXFunc::Dispatch if it contains a
17077         do_not_use_argument which is used!
17078         (Dispatch): added check for "custom" export and call appropriate func.
17079
17080 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17081
17082         * lyxrc.C: Add language_command_local, language_use_babel and
17083         language_global_options.
17084
17085         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17086
17087         * buffer.C (makeLaTeXFile): Use language_use_babel and
17088         language_global_options.
17089
17090 2001-02-23  Juergen Vigna  <jug@sad.it>
17091
17092         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17093         which works with LyXText and putted it inside BufferView. Here now we
17094         only call for that part the BufferView::Dispatch() function.
17095
17096         * BufferView.C (Dispatch): added.
17097
17098         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17099         functions which needs to use a LyXText over from LyXFunc.
17100         (MenuInsertLyXFile): added
17101         (getInsetByCode): added
17102         (moveCursorUpdate): added
17103         (static TEXT): added
17104
17105 2001-02-22  Juergen Vigna  <jug@sad.it>
17106
17107         * BufferView_pimpl.C (update): call a status update to see if LyXText
17108         needs it.
17109
17110 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17111
17112         * vc-backend.C (revert): implement for CVS
17113         (getLog): implement for CVS
17114
17115 2001-02-20  Juergen Vigna  <jug@sad.it>
17116
17117         * text2.C (ClearSelection): added BufferView param for inset_owner call
17118
17119         * lyxfunc.C (TEXT): added this function and use it instead of
17120         directly owner->view()-text of getLyXText().
17121
17122 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17123
17124         * src/layout_forms.C: out preamble
17125         * src/layout_forms.h: out preamble
17126         * src/lyx_cb.C: out preamble
17127         * src/lyx_cb.h: out preamble
17128         * src/lyx_gui.C: out preamble
17129         * src/lyx_gui_misc.C: out preamble
17130         * src/lyxfunc.C: connect with guii preamble
17131
17132 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17133
17134         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17135
17136 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17137
17138         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17139         whether to run bibtex.
17140
17141 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17142
17143         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17144
17145 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17146
17147         * Makefile.am (lyx_SOURCES): removed bibforms.h
17148
17149         * vspace.h: doxygen
17150
17151         * text.C (GetVisibleRow): make several local vars const
17152
17153         * tabular.C: small cleanup.
17154
17155         * lyxserver.C (callback): use compare instead of strncmp
17156
17157         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17158         inlines to after class or to paragraph.C
17159
17160         * lyxfont.h: remove friend operator!=
17161
17162         * converter.h: move friend bool operator< to non friend and after
17163         class def.
17164
17165         * combox.h: small cleanup
17166
17167         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17168         to inlines after class def.
17169
17170         * buffer.C (pop_tag): use string operations instead of strcmp
17171
17172         * bmtable.c: doxygen, small cleanup
17173
17174         * LaTeX.h: remove friend operator==
17175
17176 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17177
17178         * screen.C:
17179         * lyxrc.[Ch]:
17180         * lyxfunc.C:
17181         * lyxfont.[Ch]:
17182         * lyx_cb.C:
17183         * intl.[Ch]:
17184         * commandtags.h:
17185         * buffer.C:
17186         * WorkArea.[Ch]:
17187         * LyXAction.C:
17188         * BufferView_pimpl.C:
17189         * BufferView.[Ch]: remove cruft
17190
17191 2001-02-14  Juergen Vigna  <jug@sad.it>
17192
17193         * lyxfunc.C: removed #if 0 unused code
17194
17195         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17196
17197         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17198
17199         * text2.C (SetSelection): added a BufferView * parameter
17200
17201 2001-02-13  Juergen Vigna  <jug@sad.it>
17202
17203         * lyxfunc.C (Dispatch): fixed protected blank problem.
17204         * BufferView2.C (protectedBlank): added LyxText * parameter.
17205
17206         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17207         (AppendColumn): same as above for column_info.
17208
17209         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17210         (moveCursorUpdate): use a LyXText param for support of InsetText.
17211
17212         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17213         (tripleClick): ditto
17214
17215         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17216
17217         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17218
17219         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17220
17221         * text2.C (SetSelection): set correct update status if inset_owner
17222         (ToggleFree): ditto
17223
17224 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17225
17226         * tabular.C: remove some commented code.
17227
17228 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17229
17230         * BufferView_pimpl.C: call hideSplash()
17231
17232         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17233
17234         * include_form.h:
17235         * bibforms.h: remove
17236
17237         * lyxfunc.C:
17238         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17239           add LFUN_CHILD_CREATE
17240
17241         * counters.h: fix tiny typo
17242
17243         * lyx_cb.C:
17244         * lyx.h:
17245         * lyx_gui.C:
17246         * lyx.C: move splash to frontends/xforms/
17247
17248         * lyx_gui_misc.C: move Include and Bibform to frontends
17249
17250         * lyxvc.h: clarify comment
17251
17252         * vspace.C: tiny housekeeping
17253
17254 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17255
17256         * text.C (PrepareToPrint): RTL Fix.
17257
17258         * paragraph.C (GetUChar): New method.
17259         (String):  Use GetUChar.
17260
17261         * buffer.C (asciiParagraph): Use GetUChar.
17262
17263 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17264
17265         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17266
17267 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17268
17269         * buffer.h:
17270         * buffer.C: rename to getLogName(), handle
17271           build log / latex log nicely
17272
17273 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17274
17275         * MenuBackend.C:
17276         * MenuBackend.h: remove support for reference menuitem type.
17277
17278 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17279
17280         * BufferView_pimpl.C: housekeeping
17281         * BufferView_pimpl.h:
17282         * LyXView.h:
17283         * Makefile.am:
17284         * Timeout.C:
17285         * Timeout.h:
17286         * minibuffer.h: move Timeout GUI-I
17287
17288 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17289
17290         * lyxrc.C (read): Update converters data-structures.
17291
17292 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17293
17294         * LaTeX.h (operator!=): add operator != for Aux_Info
17295
17296 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17297
17298         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17299
17300         * LaTeXLog.C: deleted, useful code moved to Buffer
17301
17302         * buffer.h:
17303         * buffer.C: new function getLatexLogName()
17304
17305         * lyx_gui_misc.C:
17306         * lyx_gui.C:
17307         * lyxvc.C:
17308         * lyxvc.h:
17309         * lyxfunc.C: use frontends for LaTeX and VC logs
17310
17311 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17312
17313         * LaTeX.h: yet another std:: that Allan forgot.
17314
17315         * Variables.C (set): renamed from isset(), because this clashes
17316         with some HP-UX macros (grr).
17317
17318 2001-02-06  Allan Rae  <rae@lyx.org>
17319
17320         * LaTeX.h: Another bug fix.  Missing std:: this time.
17321
17322 2001-02-04  Allan Rae  <rae@lyx.org>
17323
17324         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17325         floats problem. I've left it commented out because it's not quite
17326         correct.  It should also test that the current object is a table or
17327         figure inset.  But I haven't gotten around to figuring out how to do
17328         that.  I *think* it'll be something like: "table" == inset.type()
17329
17330         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17331         bool.
17332
17333 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17334
17335         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17336         all the citation/databases/styles in the auxilary file.
17337         (run): Rerun latex if there was a babel language error.
17338
17339 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17340
17341         * text.C (Backspace): Preserve the font when changing newline char
17342         with a space.
17343         (BreakParagraph): If the cursor is before a space, delete the space.
17344
17345         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17346
17347 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17348
17349         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17350         new argument (code).
17351         (ChangeCitationsIfUnique): New method.
17352
17353         * paragraph.C (GetPositionOfInset): Handle bibkey.
17354
17355 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17356
17357         * BufferView_pimpl.h: change type of Position::par_pos to
17358         LyXParagraph::size_type.
17359
17360 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17361
17362         * BufferView_pimpl.C (savePosition, restorePosition): Write
17363         messages to minibuffer.
17364
17365 2001-01-28  José Matos  <jamatos@fep.up.pt>
17366
17367         * buffer.C (makeDocBookFile): adds support for document language.
17368         A silly restriction on the name of LatexCommand types where removed.
17369         Added support for CDATA sections, allows to chars unescaped, used
17370         among others in code, to avoid escape < and >.
17371
17372 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17373
17374         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17375         saved positions instrad of a stack. Furthermore, a position is
17376         stored using paragraph id/paragraph position.
17377
17378         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17379         Remove LFUN_REF_BACK.
17380
17381 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17382
17383         * converter.C (dvipdfm_options): New method.
17384
17385 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17386
17387         * vspace.C (isValidLength): Fix for empty input string.
17388
17389 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17390
17391         * LyXAction.C (init): change description of LFUN_FIGURE to
17392         "Insert Graphics"
17393
17394 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17395
17396         * LaTeX.C: add using directive
17397
17398 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17399
17400         * MenuBackend.C (expand): Fix the sorting of the formats.
17401
17402 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17403
17404         * lyx_main.C: tiny error message fix
17405
17406 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17407
17408         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17409         calling fl_initialize(). This fixes the problem with ',' as
17410         decimal separator in text files.
17411
17412 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17413
17414         * trans.C (process): Fix the keymap bug.
17415
17416 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17417
17418         * LaTeX.C (scanAuxFiles): New method. Provides support for
17419         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17420         (scanLogFile) Scan for "run BibTeX" messages.
17421
17422         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17423         OT1 font encoding. Also, load the aecompl package if the ae
17424         package is loaded.
17425
17426         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17427
17428 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17429
17430         * texrow.C (increasePos): turn two error messages into debug
17431         messages.
17432
17433 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17434
17435         * LaTeX.C (scanAux): Handle the \@input macro.
17436         (runBibTeX): Use scanAux().
17437
17438         * language.C (latex_options_): New field.
17439
17440         * LaTeXFeatures.C (getMacros): Add language macros.
17441
17442         * buffer.C (makeLaTeXFile): Small fix.
17443
17444 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17445
17446         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17447
17448         * text2.C: add a using directive.
17449
17450 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17451
17452         * BufferView2.C:
17453         * lyx_gui_misc.h:
17454         * lyxfr1.C:
17455         * lyxfunc.C: kill LyXBell.
17456
17457 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17458
17459         * text.C (IsBoundary): Remove the error message
17460
17461         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17462
17463         * lyxrc.C (setDefaults): Correct initialization value for
17464         font_norm_type.
17465
17466 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17467
17468         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17469         gotoError().
17470
17471         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17472         and GotoNextNote().
17473
17474         * src/LyXAction.C: Added reference-next.
17475
17476         * text.C (InsertChar): Use contains instead of strchr.
17477
17478         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17479
17480 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17481
17482         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17483         alignment commands (when needed).
17484
17485         * text.C (InsertChar): Add ':' to number separator chars.